/* =========================================
   DESIGN TOKENS
   ========================================= */
:root {
    --bg-dark:        #0d0d0f;
    --bg-section:     #111113;
    --bg-panel:       rgba(22, 22, 26, 0.75);
    --bg-panel-hover: rgba(32, 32, 38, 0.9);

    --text-main:   #e8e8f0;
    --text-muted:  #9090a8;
    --text-faint:  #555568;

    --copper:       #b87333;
    --copper-light: #d4894a;
    --gold:         #c9a66b;
    --gold-glow:    rgba(201, 166, 107, 0.35);
    --gold-dark:    #8c6f3a;

    --gradient-title: linear-gradient(135deg, var(--copper-light) 0%, var(--gold) 50%, var(--copper) 100%);

    --font-heading: 'Cinzel', serif;
    --font-body:    'Inter', sans-serif;

    --border-copper: 1px solid rgba(184, 115, 51, 0.28);
    --border-gold:   1px solid rgba(201, 166, 107, 0.45);
    --shadow-copper: 0 4px 24px rgba(184, 115, 51, 0.12);
    --transition:    all 0.3s cubic-bezier(0.4, 0, 0.2, 1);

    --nav-h:   70px;
    --max-w:   1200px;
    --radius:  10px;
}

/* =========================================
   RESET & BASE
   ========================================= */
*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
    background-color: var(--bg-dark);
    color: var(--text-main);
    font-family: var(--font-body);
    line-height: 1.65;
    overflow-x: hidden;
}

h1, h2, h3, h4 { font-family: var(--font-heading); letter-spacing: 0.5px; }

a { color: inherit; text-decoration: none; }

img { display: block; max-width: 100%; }

::-webkit-scrollbar { width: 10px; background: var(--bg-dark); }
::-webkit-scrollbar-thumb {
    background: linear-gradient(var(--copper), var(--copper-light));
    border-radius: 5px;
    border: 2px solid var(--bg-dark);
}

/* =========================================
   SHARED UTILITIES
   ========================================= */
.section-container {
    max-width: var(--max-w);
    margin: 0 auto;
    padding: 0 2rem;
}

.section-eyebrow {
    font-family: var(--font-body);
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 3px;
    text-transform: uppercase;
    color: var(--copper-light);
    margin-bottom: 1rem;
}

.section-heading {
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 800;
    line-height: 1.15;
    color: var(--text-main);
    margin-bottom: 1.25rem;
}

.section-divider {
    width: 50px;
    height: 2px;
    background: linear-gradient(90deg, var(--copper), var(--gold));
    margin-bottom: 2rem;
    box-shadow: 0 0 8px var(--copper);
}

.glass-panel {
    background: var(--bg-panel);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    border: var(--border-copper);
    border-radius: var(--radius);
    padding: 2.25rem;
    box-shadow: var(--shadow-copper);
    transition: var(--transition);
}

.glass-panel:hover {
    border-color: var(--copper-light);
    box-shadow: 0 8px 32px rgba(184, 115, 51, 0.2);
}

/* Primary Button */
.btn-primary {
    display: inline-flex;
    align-items: center;
    gap: 0.6rem;
    padding: 0.85rem 2rem;
    background: linear-gradient(135deg, var(--copper) 0%, var(--copper-light) 100%);
    color: #fff;
    font-family: var(--font-heading);
    font-size: 0.95rem;
    font-weight: 600;
    letter-spacing: 1px;
    border-radius: 4px;
    border: none;
    cursor: pointer;
    transition: var(--transition);
    box-shadow: 0 4px 20px rgba(184, 115, 51, 0.35);
    text-transform: uppercase;
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 28px rgba(184, 115, 51, 0.55);
    background: linear-gradient(135deg, var(--copper-light) 0%, var(--gold) 100%);
}

.btn-large {
    padding: 1rem 2.5rem;
    font-size: 1.05rem;
}

/* Tags */
.tag {
    display: inline-block;
    padding: 0.35rem 1rem;
    background: rgba(184, 115, 51, 0.12);
    border: 1px solid rgba(184, 115, 51, 0.35);
    color: var(--gold);
    border-radius: 20px;
    font-size: 0.8rem;
    font-family: var(--font-heading);
    letter-spacing: 0.5px;
    transition: var(--transition);
}

.tag:hover {
    background: var(--copper);
    color: #fff;
    border-color: var(--copper);
}

/* Reveal animation */
.reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.7s ease, transform 0.7s ease;
}

.reveal.visible {
    opacity: 1;
    transform: translateY(0);
}

/* =========================================
   NAVIGATION
   ========================================= */
.site-nav {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: var(--nav-h);
    z-index: 900;
    background: rgba(10, 10, 12, 0.45);
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);
    border-bottom: 1px solid rgba(184, 115, 51, 0.08);
    box-shadow: none;
    transition: background 0.45s ease, backdrop-filter 0.45s ease, border-color 0.45s ease, box-shadow 0.45s ease;
}

.site-nav.scrolled {
    background: rgba(10, 10, 12, 0.97);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(184, 115, 51, 0.2);
    box-shadow: 0 4px 32px rgba(0, 0, 0, 0.7), 0 1px 0 rgba(184, 115, 51, 0.1);
}

.nav-inner {
    max-width: var(--max-w);
    margin: 0 auto;
    padding: 0 2rem;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.nav-logo {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    transition: var(--transition);
}

.nav-logo:hover { opacity: 0.85; }

.nav-logo-img {
    height: 36px;
    width: auto;
    filter: brightness(0) invert(1);
    opacity: 0.88;
    display: block;
    transition: var(--transition);
}

.nav-logo:hover .nav-logo-img {
    opacity: 1;
    filter: brightness(0) invert(1) sepia(1) saturate(2) hue-rotate(5deg);
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 2.5rem;
    list-style: none;
}

.nav-link {
    font-family: var(--font-body);
    font-size: 0.875rem;
    font-weight: 600;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    color: var(--text-muted);
    transition: var(--transition);
    position: relative;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 1px;
    background: var(--gold);
    transition: width 0.3s ease;
}

.nav-link:hover,
.nav-link.active {
    color: var(--gold);
}

.nav-link:hover::after,
.nav-link.active::after {
    width: 100%;
}

.nav-link-cta {
    padding: 0.5rem 1.2rem;
    border: var(--border-gold);
    border-radius: 4px;
    color: var(--gold) !important;
}

.nav-link-cta::after { display: none; }

.nav-link-cta:hover {
    background: rgba(201, 166, 107, 0.12);
    box-shadow: 0 0 12px var(--gold-glow);
}

/* Hamburger */
.nav-hamburger {
    display: none;
    flex-direction: column;
    justify-content: center;
    gap: 5px;
    width: 36px;
    height: 36px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 4px;
}

.nav-hamburger span {
    display: block;
    width: 100%;
    height: 2px;
    background: var(--gold);
    border-radius: 2px;
    transition: var(--transition);
}

.nav-hamburger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-hamburger.open span:nth-child(2) { opacity: 0; }
.nav-hamburger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* =========================================
   HERO
   ========================================= */
.hero-section {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: var(--nav-h) 2rem 4rem;
    overflow: hidden;
}

.hero-bg {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center 30%;
    background-attachment: fixed;
    transform: scale(1.05);
    transition: transform 8s ease;
}

.hero-bg.loaded { transform: scale(1); }

.hero-overlay {
    position: absolute;
    inset: 0;
    background:
        linear-gradient(to bottom,
            rgba(13, 13, 15, 0.45) 0%,
            rgba(13, 13, 15, 0.65) 55%,
            var(--bg-dark) 100%),
        linear-gradient(to right, rgba(13, 13, 15, 0.6) 0%, transparent 25%, transparent 75%, rgba(13, 13, 15, 0.6) 100%),
        radial-gradient(ellipse at 50% 0%, rgba(184, 115, 51, 0.06) 0%, transparent 60%);
    z-index: 1;
}

.hero-particles {
    position: absolute;
    inset: 0;
    z-index: 2;
    pointer-events: none;
}

.hero-content {
    position: relative;
    z-index: 3;
    width: 100%;
    max-width: 820px;
    text-align: center;
    animation: fadeInUp 1s ease-out both;
}

.hero-logo-wrap {
    position: relative;
    display: block;
    width: fit-content;
    max-width: calc(100% - 2rem);
    margin: 0 auto 2rem;
    padding: clamp(1.25rem, 3vw, 2.5rem) clamp(1.5rem, 5vw, 4rem);
    animation: fadeInUp 1s ease-out both;
}

/* Dark frosted backdrop */
.hero-logo-wrap::before {
    content: '';
    position: absolute;
    inset: 0;
    background: rgba(10, 10, 12, 0.55);
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);
    border-radius: 6px;
    border: 1px solid rgba(184, 115, 51, 0.25);
}

/* Decorative top + bottom copper lines */
.hero-logo-wrap::after {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: 6px;
    background:
        linear-gradient(90deg, transparent 5%, var(--copper) 30%, var(--gold) 50%, var(--copper) 70%, transparent 95%) top / 100% 1px no-repeat,
        linear-gradient(90deg, transparent 5%, var(--copper) 30%, var(--gold) 50%, var(--copper) 70%, transparent 95%) bottom / 100% 1px no-repeat;
    opacity: 0.6;
}

/* Radial glow behind the logo */
.hero-logo-glow {
    position: absolute;
    inset: -60px -80px;
    background: radial-gradient(ellipse at 50% 50%,
        rgba(201, 166, 107, 0.22) 0%,
        rgba(184, 115, 51, 0.12) 35%,
        transparent 70%);
    border-radius: 50%;
    pointer-events: none;
    animation: glowPulse 4s ease-in-out infinite;
    z-index: -1;
}

@keyframes glowPulse {
    0%, 100% { opacity: 0.7; transform: scale(1); }
    50%       { opacity: 1;   transform: scale(1.06); }
}

.hero-logo {
    position: relative;
    z-index: 1;
    width: clamp(260px, 55vw, 600px);
    max-width: 100%;
    height: auto;
    display: block;
    filter: brightness(0) invert(1);
}

.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip: rect(0,0,0,0);
    white-space: nowrap;
}

.hero-tagline {
    font-size: clamp(1rem, 2.5vw, 1.3rem);
    color: var(--text-muted);
    font-weight: 300;
    letter-spacing: 2px;
    margin: 1.75rem 0 2.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
}

.hero-tagline::before,
.hero-tagline::after {
    content: '';
    flex: 1;
    max-width: 80px;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--copper));
    opacity: 0.5;
}

.hero-tagline::after {
    background: linear-gradient(90deg, var(--copper), transparent);
}

.hero-cta { font-size: 1rem; }

.hero-scroll-hint {
    position: absolute;
    bottom: 2.5rem;
    left: 50%;
    transform: translateX(-50%);
    z-index: 3;
}

.scroll-arrow {
    width: 24px;
    height: 24px;
    border-right: 2px solid var(--gold-dark);
    border-bottom: 2px solid var(--gold-dark);
    transform: rotate(45deg);
    animation: scrollBounce 1.6s ease-in-out infinite;
}

@keyframes scrollBounce {
    0%, 100% { transform: rotate(45deg) translateY(0); opacity: 0.4; }
    50% { transform: rotate(45deg) translateY(6px); opacity: 1; }
}

/* Particle */
.particle {
    position: absolute;
    border-radius: 50%;
    pointer-events: none;
    background: radial-gradient(circle, rgba(100, 200, 255, 0.85) 0%, rgba(0, 140, 255, 0) 70%);
    box-shadow: 0 0 12px rgba(100, 200, 255, 0.5);
    animation: floatUp linear forwards;
}

@keyframes floatUp {
    0%   { transform: translateY(0) scale(1); opacity: 0; }
    15%  { opacity: 0.8; }
    85%  { opacity: 0.3; }
    100% { transform: translateY(-220px) scale(0.05); opacity: 0; }
}

/* =========================================
   STUDIO SECTION
   ========================================= */
.studio-section {
    padding: 8rem 0;
    background: var(--bg-section);
    position: relative;
}

.studio-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--copper), transparent);
}

.studio-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 5rem;
    align-items: start;
}

.studio-body {
    color: var(--text-muted);
    font-size: 1.05rem;
    margin-bottom: 1.25rem;
    line-height: 1.8;
}

.tech-card {
    background: var(--bg-panel);
    border: var(--border-copper);
    border-radius: var(--radius);
    overflow: hidden;
}

.tech-card-header {
    padding: 1rem 1.5rem;
    background: rgba(184, 115, 51, 0.08);
    border-bottom: var(--border-copper);
    font-family: var(--font-heading);
    font-size: 0.85rem;
    font-weight: 600;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: var(--copper-light);
}

.tech-list {
    list-style: none;
    padding: 0.5rem 0;
}

.tech-item {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    padding: 0.9rem 1.5rem;
    border-bottom: 1px solid rgba(184, 115, 51, 0.08);
    transition: var(--transition);
}

.tech-item:last-child { border-bottom: none; }

.tech-item:hover { background: rgba(184, 115, 51, 0.05); }

.tech-icon {
    color: var(--copper);
    font-size: 0.7rem;
    margin-top: 4px;
    flex-shrink: 0;
}

.tech-item strong {
    display: block;
    font-family: var(--font-heading);
    font-size: 0.95rem;
    color: var(--text-main);
    font-weight: 600;
}

.tech-item span {
    display: block;
    font-size: 0.82rem;
    color: var(--text-muted);
    margin-top: 2px;
}

/* =========================================
   GAME / ECHO HUNTERS SECTION
   ========================================= */
.game-section {
    padding: 8rem 0;
    background: var(--bg-dark);
    position: relative;
}

.game-bg-strip {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--gold-dark), transparent);
}

.game-header {
    text-align: center;
    margin-bottom: 4rem;
}

.game-header .section-eyebrow { text-align: center; }

.game-title {
    font-size: clamp(3rem, 7vw, 6rem);
    font-weight: 800;
    letter-spacing: 4px;
    text-transform: uppercase;
    background: linear-gradient(135deg,
        var(--copper) 0%,
        var(--gold) 30%,
        #fff8ee 50%,
        var(--gold) 70%,
        var(--copper) 100%);
    background-size: 200% auto;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    filter: drop-shadow(0 0 24px rgba(184, 115, 51, 0.35));
    margin-bottom: 0.75rem;
    animation: titleShimmer 5s linear infinite;
}

@keyframes titleShimmer {
    0%   { background-position: 200% center; }
    100% { background-position: -200% center; }
}

.game-subtitle {
    font-size: 1.1rem;
    color: var(--text-muted);
    font-weight: 300;
    letter-spacing: 1px;
    margin-bottom: 2rem;
}

.game-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.6rem;
    justify-content: center;
}

/* Lore */
.lore-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
    margin-bottom: 5rem;
}

.lore-card h3 {
    color: var(--copper-light);
    font-size: 1.4rem;
    margin-bottom: 1rem;
    padding-bottom: 0.75rem;
    border-bottom: 1px solid rgba(255,255,255,0.06);
}

.lore-card p {
    color: var(--text-muted);
    font-size: 1.02rem;
    line-height: 1.8;
}

.lore-card strong { color: var(--text-main); }

/* Gallery */
.gallery-wrapper { margin-bottom: 4rem; }

.gallery-heading {
    font-family: var(--font-heading);
    font-size: 1.6rem;
    color: var(--gold);
    text-align: center;
    margin-bottom: 2rem;
    position: relative;
}

.gallery-heading::after {
    content: '';
    display: block;
    width: 40px;
    height: 1px;
    background: var(--copper);
    margin: 0.75rem auto 0;
    box-shadow: 0 0 6px var(--copper);
}

.carousel-container {
    position: relative;
    max-width: 100%;
    padding: 0 52px;
}

.carousel-track-wrapper {
    overflow: hidden;
    border-radius: var(--radius);
}

.carousel-track {
    display: flex;
    gap: 1.5rem;
    transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

.gallery-item {
    flex: 0 0 calc(33.333% - 1rem);
    position: relative;
    border-radius: var(--radius);
    overflow: hidden;
    aspect-ratio: 16 / 10;
    border: var(--border-copper);
    box-shadow: 0 8px 24px rgba(0,0,0,0.5);
    cursor: pointer;
    transition: var(--transition);
}

.gallery-item:hover {
    border-color: var(--copper-light);
    box-shadow: 0 12px 32px rgba(184, 115, 51, 0.2);
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.gallery-item:hover img { transform: scale(1.08); }

.gallery-caption {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    padding: 2rem 1.25rem 1.25rem;
    background: linear-gradient(to top, rgba(13,13,15,0.97) 0%, rgba(13,13,15,0.6) 60%, transparent 100%);
    transform: translateY(10px);
    opacity: 0;
    transition: var(--transition);
}

.gallery-item:hover .gallery-caption { transform: translateY(0); opacity: 1; }

.gallery-caption h4 {
    color: var(--gold);
    font-size: 1.05rem;
    margin-bottom: 0.25rem;
}

.gallery-caption p {
    font-size: 0.88rem;
    color: var(--text-muted);
}

.carousel-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 42px;
    height: 42px;
    background: rgba(13, 13, 15, 0.9);
    border: var(--border-gold);
    color: var(--gold);
    border-radius: 50%;
    cursor: pointer;
    z-index: 10;
    font-size: 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
    box-shadow: 0 4px 16px rgba(0,0,0,0.5);
}

.carousel-btn:hover {
    background: var(--copper);
    border-color: var(--copper);
    color: #fff;
    box-shadow: 0 0 16px rgba(184, 115, 51, 0.5);
}

.prev-btn { left: 0; }
.next-btn { right: 0; }

.game-cta {
    text-align: center;
    padding-top: 1rem;
}

/* =========================================
   CONTACT SECTION
   ========================================= */
.contact-section {
    padding: 8rem 0;
    background: var(--bg-section);
    position: relative;
}

.contact-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--copper), transparent);
}

.contact-inner {
    max-width: 700px;
    margin: 0 auto;
    text-align: center;
}

.contact-subtext {
    font-size: 1.05rem;
    color: var(--text-muted);
    line-height: 1.8;
    margin-bottom: 3rem;
}

/* Form */
.contact-form {
    text-align: left;
    background: var(--bg-panel);
    border: var(--border-copper);
    border-radius: var(--radius);
    padding: 2.5rem;
    margin-bottom: 2rem;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
    margin-bottom: 1.5rem;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    margin-bottom: 1.5rem;
}

.form-row .form-group { margin-bottom: 0; }

.form-group label {
    font-size: 0.82rem;
    font-weight: 600;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    color: var(--copper-light);
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 0.8rem 1rem;
    background: rgba(255, 255, 255, 0.04);
    border: var(--border-copper);
    border-radius: 6px;
    color: var(--text-main);
    font-family: var(--font-body);
    font-size: 0.95rem;
    transition: var(--transition);
    resize: vertical;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--gold);
    background: rgba(255, 255, 255, 0.06);
    box-shadow: 0 0 0 3px rgba(201, 166, 107, 0.12);
}

.form-group input::placeholder,
.form-group textarea::placeholder { color: var(--text-faint); }

.btn-submit {
    width: 100%;
    justify-content: center;
    font-size: 1rem;
    padding: 1rem;
}

.form-success {
    display: none;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
    margin-top: 1.25rem;
    padding: 1rem;
    background: rgba(100, 200, 150, 0.08);
    border: 1px solid rgba(100, 200, 150, 0.25);
    border-radius: 6px;
    color: #7ed4a0;
    font-size: 0.95rem;
}

.form-success.show { display: flex; }

/* Contact alt */
.contact-alt {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
    font-size: 0.9rem;
    color: var(--text-muted);
    flex-wrap: wrap;
}

.contact-email {
    color: var(--gold);
    border-bottom: 1px solid rgba(201, 166, 107, 0.3);
    transition: var(--transition);
}

.contact-email:hover {
    color: var(--copper-light);
    border-color: var(--copper-light);
}

/* =========================================
   FOOTER
   ========================================= */
.site-footer {
    padding: 0 2rem 2.5rem;
    background: rgba(0, 0, 0, 0.6);
    text-align: center;
}

.footer-line {
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(184, 115, 51, 0.4), var(--gold), rgba(184, 115, 51, 0.4), transparent);
    margin-bottom: 2.5rem;
}

.footer-inner {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.75rem;
}

.footer-icon {
    width: 40px;
    height: 40px;
    object-fit: contain;
    filter: brightness(0) invert(1) sepia(1) saturate(1.2) hue-rotate(5deg);
    opacity: 0.45;
}

.footer-logo {
    font-family: var(--font-heading);
    font-size: 0.8rem;
    font-weight: 600;
    letter-spacing: 4px;
    color: var(--gold-dark);
}

.footer-copy {
    font-size: 0.78rem;
    color: var(--text-faint);
}

/* =========================================
   LIGHTBOX
   ========================================= */
.lightbox {
    display: none;
    position: fixed;
    inset: 0;
    z-index: 1000;
    background: rgba(0, 0, 0, 0.94);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    align-items: center;
    justify-content: center;
    flex-direction: column;
    padding: 3rem;
}

.lightbox.open { display: flex; }

.lightbox-img {
    max-width: 92vw;
    max-height: 78vh;
    border-radius: 8px;
    border: var(--border-gold);
    box-shadow: 0 20px 60px rgba(0,0,0,0.9);
    animation: zoomIn 0.25s ease;
}

.lightbox-caption {
    margin-top: 1.25rem;
    font-family: var(--font-heading);
    font-size: 1.2rem;
    color: var(--gold);
    text-align: center;
}

.lightbox-close {
    position: absolute;
    top: 1.25rem;
    right: 1.75rem;
    background: none;
    border: none;
    color: var(--copper);
    font-size: 2.8rem;
    line-height: 1;
    cursor: pointer;
    transition: color 0.2s ease;
}

.lightbox-close:hover { color: var(--text-main); }

@keyframes zoomIn {
    from { transform: scale(0.93); opacity: 0; }
    to   { transform: scale(1); opacity: 1; }
}

/* =========================================
   ANIMATIONS
   ========================================= */
@keyframes fadeInUp {
    from { opacity: 0; transform: translateY(24px); }
    to   { opacity: 1; transform: translateY(0); }
}

/* =========================================
   RESPONSIVE
   ========================================= */
@media (max-width: 1024px) {
    .studio-grid { grid-template-columns: 1fr; gap: 3rem; }
    .lore-grid   { grid-template-columns: 1fr; }
}

@media (max-width: 900px) {
    .gallery-item { flex: 0 0 calc(50% - 0.75rem); }
    .form-row { grid-template-columns: 1fr; }
}

@media (max-width: 768px) {
    .nav-hamburger { display: flex; }

    .nav-links {
        display: none;
        position: absolute;
        top: var(--nav-h);
        left: 0;
        width: 100%;
        flex-direction: column;
        gap: 0;
        background: rgba(10, 10, 12, 0.98);
        border-bottom: var(--border-copper);
        padding: 1rem 0;
    }

    .nav-links.open { display: flex; }

    .nav-links li { width: 100%; }

    .nav-link {
        display: block;
        padding: 1rem 2rem;
        border-bottom: 1px solid rgba(255,255,255,0.04);
    }

    .nav-link-cta {
        border: none;
        border-radius: 0;
        padding: 1rem 2rem;
    }

    .nav-link::after { display: none; }

    .hero-title { font-size: clamp(3rem, 12vw, 5rem); }

    .section-heading { font-size: 2rem; }
    .game-title { font-size: clamp(2.5rem, 10vw, 4rem); }

    .studio-section,
    .game-section,
    .contact-section { padding: 5rem 0; }

    .contact-form { padding: 1.75rem; }
}

@media (max-width: 600px) {
    .gallery-item { flex: 0 0 100%; }
    .carousel-container { padding: 0 44px; }
    .carousel-btn { width: 36px; height: 36px; font-size: 0.9rem; }
}
