/* 
  gamesinvoza Design System
  Visual Direction: Graphic Editorial / Expressive Contemporary
*/

:root {
    /* Color System */
    --bg-base: #1a0f2e;         /* Deep Aubergine */
    --bg-surface: #2a1b42;      /* Lighter Aubergine Panel */
    --bg-light: #e6e0d4;        /* Warm Oatmeal */
    
    --accent-primary: #ccff00;  /* Vivid Lime */
    --accent-secondary: #ff6b6b;/* Terracotta/Salmon */
    --accent-tertiary: #b399ff; /* Soft Lilac */
    
    --text-light: #f5f2eb;
    --text-muted: #a39eb5;
    --text-dark: #1a0f2e;
    
    --border-dark: #3a2a59;
    --border-light: #d1cbbd;
    
    /* Typography System */
    --font-display: 'Outfit', sans-serif;
    --font-body: 'DM Sans', sans-serif;
    
    /* Rhythm */
    --spacing-massive: clamp(6rem, 10vw, 12rem);
    
    /* Borders */
    --br-zero: 0px;
}

/* Typography Base */
body {
    font-family: var(--font-body);
    font-size: 1.1rem;
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    background-color: var(--bg-base);
    color: var(--text-light);
    overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-display);
    font-weight: 700;
    line-height: 1.05;
    letter-spacing: -0.03em;
    margin-bottom: 1rem;
}

.display-massive { font-size: clamp(3.5rem, 8vw, 8rem); font-weight: 900; letter-spacing: -0.04em; }
.display-large { font-size: clamp(3rem, 6vw, 6rem); font-weight: 700; }
.display-medium { font-size: clamp(2.5rem, 4.5vw, 4.5rem); }
.display-small { font-size: clamp(1.75rem, 3vw, 3rem); }

.body-large { font-size: clamp(1.2rem, 1.5vw, 1.5rem); line-height: 1.5; }
.font-weight-medium { font-weight: 500; }
.font-weight-bold { font-weight: 700; }

a { color: inherit; text-decoration: none; transition: 0.3s ease; }
.text-link { border-bottom: 2px solid currentColor; padding-bottom: 2px; font-weight: 600; text-transform: uppercase; font-size: 0.9rem; letter-spacing: 0.05em; }
.text-link:hover { opacity: 0.7; }

/* Utilities */
.py-massive { padding-top: var(--spacing-massive); padding-bottom: var(--spacing-massive); }
.pt-massive { padding-top: var(--spacing-massive); }
.pb-massive { padding-bottom: var(--spacing-massive); }

.theme-dark { background-color: var(--bg-base); color: var(--text-light); }
.theme-light { background-color: var(--bg-light); color: var(--text-dark); }

.text-lime { color: var(--accent-primary) !important; }
.text-salmon { color: var(--accent-secondary) !important; }
.text-lilac { color: var(--accent-tertiary) !important; }
.text-dark { color: var(--text-dark) !important; }
.text-muted { color: var(--text-muted) !important; }

.bg-base { background-color: var(--bg-base) !important; }
.bg-surface { background-color: var(--bg-surface) !important; }
.bg-lime { background-color: var(--accent-primary) !important; }
.bg-salmon { background-color: var(--accent-secondary) !important; }
.bg-lilac { background-color: var(--accent-tertiary) !important; }

.border-top-dark { border-top: 1px solid var(--border-dark); }

/* Header System */
.site-header {
    position: fixed;
    top: 0; width: 100%; z-index: 1000;
    padding: 1.5rem 0;
    transition: background-color 0.3s ease;
}
.site-header.scrolled {
    background-color: rgba(26, 15, 46, 0.95);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--border-dark);
}
.nav-wrapper {
    display: flex; justify-content: space-between; align-items: center;
    padding: 0 3rem;
}
@media (max-width: 768px) { .nav-wrapper { padding: 0 1.5rem; } }

.brand-logo {
    font-family: var(--font-display); font-size: 1.5rem; font-weight: 900;
    text-transform: uppercase; letter-spacing: -0.02em;
}
.main-nav { display: flex; gap: 3rem; }
.main-nav a {
    font-family: var(--font-display); font-size: 0.95rem; font-weight: 600;
    text-transform: uppercase; letter-spacing: 0.05em; color: var(--text-muted);
}
.main-nav a:hover, .main-nav a.active { color: var(--text-light); }
.main-nav a.active { border-bottom: 2px solid var(--accent-primary); }

/* Mobile Menu */
.mobile-nav-toggle {
    background: transparent; border: none; display: flex; flex-direction: column; gap: 6px; cursor: pointer;
}
.mobile-nav-toggle span { display: block; width: 30px; height: 2px; background-color: var(--text-light); }
.mobile-nav-toggle.toggle-dark span { background-color: var(--text-dark); }

.mobile-menu-inner {
    background: var(--bg-surface); padding: 2rem; border-bottom: 1px solid var(--border-dark);
    display: flex; flex-direction: column; gap: 1.5rem;
}
.mobile-menu-inner a {
    font-family: var(--font-display); font-size: 1.5rem; font-weight: 700; color: var(--text-light);
}

/* Button System */
.btn-neo {
    display: inline-block;
    padding: 1rem 2.5rem;
    font-family: var(--font-display);
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    border: none;
    border-radius: var(--br-zero);
    cursor: pointer;
    transition: 0.3s ease;
}
.btn-neo.btn-sm { padding: 0.6rem 1.5rem; font-size: 0.9rem; }
.btn-lime { background-color: var(--accent-primary); color: var(--text-dark); }
.btn-lime:hover { background-color: var(--text-light); }
.btn-dark { background-color: var(--bg-base); color: var(--text-light); }
.btn-dark:hover { background-color: var(--bg-surface); }
.btn-outline-dark { background: transparent; border: 2px solid var(--text-dark); color: var(--text-dark); }
.btn-outline-dark:hover { background: var(--text-dark); color: var(--bg-light); }
.btn-outline-light { background: transparent; border: 1px solid var(--text-muted); color: var(--text-light); }

/* Hero Split (Index) */
.hero-split {
    min-height: 100vh;
    display: flex;
    flex-wrap: wrap;
}
.hero-text-zone {
    flex: 1 1 50%;
    padding: 200px 5rem 5rem;
    display: flex; flex-direction: column; justify-content: center;
}
.hero-visual-zone {
    flex: 1 1 50%;
    position: relative;
    padding-top: 100px;
}
@media (max-width: 992px) {
    .hero-text-zone { flex: 1 1 100%; padding: 150px 2rem 3rem; }
    .hero-visual-zone { flex: 1 1 100%; min-height: 50vh; }
}
.label-vertical {
    font-family: var(--font-display); text-transform: uppercase; letter-spacing: 0.1em;
    font-size: 0.85rem; font-weight: 700; margin-bottom: 2rem;
}
.hero-lead {
    font-size: clamp(1.1rem, 1.5vw, 1.5rem); color: var(--text-muted); max-width: 80%;
    margin-bottom: 3rem; margin-top: 2rem;
}
.image-offset-block {
    position: relative; width: 100%; height: 100%; min-height: 600px;
}
.image-offset-block img {
    position: absolute; top: 10%; right: 10%; width: 80%; height: 80%; object-fit: cover; z-index: 2;
}
.color-accent-block {
    position: absolute; top: 20%; right: 0; width: 70%; height: 80%; z-index: 1;
}

/* Editorial Strip */
.statement-text { font-size: clamp(1.5rem, 2.5vw, 2.5rem); line-height: 1.4; letter-spacing: -0.01em; }
.section-title-sm { font-size: 1rem; text-transform: uppercase; letter-spacing: 0.1em; border-top: 2px solid var(--border-light); padding-top: 1rem; }
.metrics-row { display: flex; gap: 4rem; flex-wrap: wrap; border-top: 1px solid var(--border-light); padding-top: 2rem; }
.metric-item { display: flex; flex-direction: column; }
.metric-value { font-family: var(--font-display); font-size: 3rem; font-weight: 700; line-height: 1; color: var(--accent-secondary); }
.metric-label { font-size: 0.9rem; text-transform: uppercase; letter-spacing: 0.05em; font-weight: 600; margin-top: 0.5rem; }

/* Discovery Asymmetric Grid */
.asymmetric-grid {
    display: grid; grid-template-columns: 1fr; gap: 2rem;
}
@media (min-width: 992px) {
    .asymmetric-grid {
        grid-template-columns: repeat(12, 1fr);
        grid-auto-rows: 350px;
    }
    .item-tall { grid-column: span 4; grid-row: span 2; }
    .item-wide { grid-column: span 8; grid-row: span 1; }
    .item-square { grid-column: span 8; grid-row: span 1; }
}
.grid-item { padding: 3rem; display: flex; flex-direction: column; justify-content: flex-end; }
.grid-item h3 { font-size: 2rem; margin-bottom: 1rem; }
.grid-item p { font-size: 1.1rem; margin-bottom: 0; max-width: 80%; opacity: 0.9; }

/* Community Layered */
.persona-stack { position: relative; }
.persona-card {
    background: var(--bg-surface); padding: 2rem; border: 1px solid var(--border-dark);
    margin-bottom: 1rem; width: 90%;
}
.offset-card { margin-left: 10%; }
.persona-badge { display: inline-block; padding: 0.3rem 0.8rem; font-size: 0.75rem; font-weight: 700; text-transform: uppercase; margin-bottom: 1rem; }
.layered-img { aspect-ratio: 1; object-fit: cover; }

/* Responsible Strip */
.age-stamp {
    font-family: var(--font-display); font-size: 5rem; font-weight: 900; line-height: 1;
    letter-spacing: -0.05em; border-right: 2px solid rgba(0,0,0,0.1); padding-right: 1rem;
}

/* Footer */
.footer-massive-brand {
    font-family: var(--font-display); font-size: clamp(4rem, 12vw, 15rem); font-weight: 900;
    line-height: 0.8; letter-spacing: -0.05em; color: var(--bg-surface); margin-left: -5px;
}
.footer-heading { font-size: 1rem; text-transform: uppercase; letter-spacing: 0.1em; color: var(--text-light); margin-bottom: 1.5rem; }
.footer-nav { list-style: none; padding: 0; margin: 0; }
.footer-nav li { margin-bottom: 0.8rem; }
.footer-nav a { color: var(--text-muted); font-size: 0.95rem; }
.footer-nav a:hover { color: var(--accent-primary); }
.disclaimer-text { font-size: 0.85rem; color: var(--text-muted); border-top: 1px solid var(--border-dark); padding-top: 2rem; margin-bottom: 1rem; }

/* Games Showcase */
.game-showcase-dominant { padding-top: 2rem; }
.dominant-img { height: 70vh; object-fit: cover; }
.floating-game-card {
    position: relative; margin: -100px auto 0; width: 90%; max-width: 800px;
    padding: 4rem; z-index: 10; border-top: 4px solid var(--accent-primary);
}

/* Split Gallery */
.split-game-panel { display: flex; flex-direction: column; }
.img-container { overflow: hidden; width: 100%; }
.img-container img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.6s ease; }
.split-game-panel:hover img { transform: scale(1.05); }
.aspect-portrait { aspect-ratio: 3/4; }
.aspect-landscape { aspect-ratio: 16/9; }

/* Modals */
.game-modal-neo .modal-content { border-radius: 0; border: 1px solid var(--border-dark); }
.game-modal-neo .modal-header { padding: 1rem 1.5rem; }

/* About Manifesto */
.value-row { display: flex; gap: 3rem; margin-bottom: 4rem; border-top: 1px solid var(--border-light); padding-top: 2rem; }
.value-number { font-family: var(--font-display); font-size: 4rem; font-weight: 900; line-height: 1; }
.value-text h3 { font-size: 2rem; margin-bottom: 1rem; }
.value-text p { font-size: 1.2rem; }
@media (max-width: 768px) { .value-row { flex-direction: column; gap: 1rem; } }

/* Contact Split Screen */
.split-screen-layout { display: flex; min-height: 100vh; flex-wrap: wrap; }
.split-side { flex: 1 1 50%; display: flex; flex-direction: column; position: relative; }
.form-side { padding: 120px 5rem 5rem; justify-content: center; }
.info-side { padding: 120px 5rem 5rem; justify-content: flex-end; }
@media (max-width: 992px) { 
    .split-side { flex: 1 1 100%; } 
    .form-side, .info-side { padding: 100px 2rem 4rem; }
}
.split-img-bg { position: absolute; top: 0; left: 0; width: 100%; height: 100%; }
.split-img-bg img { width: 100%; height: 100%; object-fit: cover; opacity: 0.3; }

.neo-form .form-group { margin-bottom: 2rem; }
.neo-form label { display: block; font-family: var(--font-display); font-weight: 700; text-transform: uppercase; font-size: 0.85rem; margin-bottom: 0.5rem; letter-spacing: 0.05em; }
.neo-form input, .neo-form select {
    width: 100%; background: transparent; border: none; border-bottom: 2px solid var(--text-dark);
    padding: 0.5rem 0; font-size: 1.2rem; color: var(--text-dark); border-radius: 0; outline: none; transition: 0.3s ease;
}
.neo-form input:focus, .neo-form select:focus { border-color: #000; }
.custom-check { font-size: 0.9rem; font-weight: 500; }

.corp-info-block { background: rgba(26, 15, 46, 0.85); backdrop-filter: blur(10px); padding: 3rem; border-left: 4px solid var(--accent-secondary); }

/* Header adjustments for split screen */
@media (min-width: 992px) {
    .brand-invert-md { color: var(--text-dark) !important; }
    .nav-invert-md a { color: rgba(0,0,0,0.6) !important; }
    .nav-invert-md a:hover, .nav-invert-md a.active { color: var(--text-dark) !important; border-bottom-color: var(--text-dark); }
}

/* Cookie */
.cookie-bar {
    position: fixed; bottom: 20px; left: 20px; right: 20px; z-index: 9999;
    pointer-events: none;
}
.cookie-inner {
    background: var(--bg-surface); border: 1px solid var(--border-dark);
    padding: 1.5rem; max-width: 600px; display: flex; flex-direction: column; gap: 1rem;
    pointer-events: auto; box-shadow: 0 20px 40px rgba(0,0,0,0.5);
}
.cookie-btns { display: flex; gap: 1rem; }
@media (min-width: 768px) {
    .cookie-inner { flex-direction: row; align-items: center; justify-content: space-between; }
}

/* Animations */
.fade-up { animation: fadeUp 1s cubic-bezier(0.16, 1, 0.3, 1) forwards; }
@keyframes fadeUp {
    from { opacity: 0; transform: translateY(40px); }
    to { opacity: 1; transform: translateY(0); }
}