* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Kufam', sans-serif;
}

html {
    font-size: 16px;
    scroll-behavior: smooth;
}

body {
    overflow-x: hidden;
    height: 100vh;
    width: 100%;
    background-color: #1a1a1a;
}

/* LARGE SCREEN PROTECTION */
.container {
    position: relative;
    width: 100%;
    max-width: 2560px;
    height: 100%;
    margin: 0 auto;
    background: #ebebeb;
    overflow: hidden;
    box-shadow: 0 0 50px rgba(0, 0, 0, 0.5);
}

/* General Layer Settings */
#particle-canvas {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 5;
    /* Above layers (1,2) but below content/nav */
    pointer-events: none;
}

.layer {
    position: absolute;
    top: 0;
    height: 100%;
    overflow: hidden;
}

/* Agency (Base Layer - Left) */
.layer-agency {
    left: 0;
    width: 100%;
    background-color: #ebebeb;
    color: #0c1930;
    z-index: 1;
}

/* Studio (Top Layer - Right) */
.layer-studio {
    right: 0;
    width: 50%;
    background-color: #0c1930;
    color: #ebebeb;
    z-index: 2;
    border-left: 2px solid #00d4ff;
    transition: width 0.1s ease-out;
}

.layer-studio.anim-active {
    animation: breathing-right 8s ease-in-out infinite;
}

@keyframes breathing-right {
    0% {
        width: 50%;
    }

    25% {
        width: 49%;
    }

    75% {
        width: 51%;
    }

    100% {
        width: 50%;
    }
}

/* Content Wrap */
.content-wrap {
    position: absolute;
    top: 0;
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.content-agency {
    left: 0;
    padding-left: 10%;
    padding-right: 50%;
    align-items: flex-start;
    text-align: left;
}

.content-studio {
    right: 0;
    padding-right: 10%;
    padding-left: 50%;
    align-items: flex-end;
    text-align: right;
}

@media (min-width: 769px) {
    .content-studio {
        width: 100vw;
        max-width: 2560px;
    }
}

.content-body {
    max-width: 600px;
    position: relative;
    z-index: 2;
}

/* TAGS */
.tag {
    display: inline-block;
    padding: 8px 16px;
    border-radius: 20px;
    font-size: 0.9rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 20px;
}

.tag-agency {
    background: #ebebeb;
    color: #0c1930;
    border: 1px solid #0c1930;
}

.tag-studio {
    background: #0c1930;
    color: #00d4ff;
    border: 1px solid #00d4ff;
}

/* Logo Wrapper */
.logo-wrapper {
    position: absolute;
    top: 5%;
    z-index: 10;
}

.logo-agency.logo-wrapper {
    width: 25%;
    max-width: 320px;
    min-width: 180px;
}

.logo-agency {
    left: 50%;
    transform: translateX(-50%);
}

.logo-studio-wrapper {
    display: contents;
}

@media (min-width: 769px) {
    .logo-studio-wrapper {
        position: absolute;
        top: 5%;
        right: 0;
        width: 100vw;
        max-width: 2560px;
        display: flex;
        justify-content: center;
        z-index: 10;
        pointer-events: none;
    }
    .logo-studio.logo-wrapper {
        position: relative;
        top: auto;
        width: 25%;
        max-width: 320px;
        min-width: 180px;
        right: auto;
        transform: none;
        pointer-events: auto;
    }
}

.brand-logo {
    width: 100%;
    display: block;
}

/* Buttons */
.btn {
    text-decoration: none;
    display: inline-block;
    margin-top: 20px;
    padding: 12px 30px;
    border: none;
    cursor: pointer;
    font-size: 1rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: all 0.3s ease;
}

.btn-agency {
    background: transparent;
    color: #0c1930;
    border: 2px solid #0c1930;
    border-radius: 4px;
}

.btn-agency:hover {
    background: #0c1930;
    color: #ebebeb;
    box-shadow: 0 0 20px rgba(5, 20, 41, 0.6);
    transform: translateY(-2px);
}

.btn-studio:hover {
    background: transparent;
    color: #00d4ff;
    box-shadow: 0 0 20px rgba(0, 212, 255, 0.4);
}

/* Steam Wishlist Box */
.steam-wishlist-box {
    position: absolute;
    bottom: 100px;
    right: 15%;
    transform: translateX(-50%);
    width: 95%;
    max-width: 500px;
    background: rgba(12, 25, 48, 0.95);
    border: 1px solid rgba(0, 212, 255, 0.4);
    border-radius: 12px;
    backdrop-filter: blur(25px);
    display: flex;
    flex-direction: row;
    overflow: hidden;
    z-index: 20;
    pointer-events: auto;
    box-shadow: 0 25px 60px rgba(0, 0, 0, 0.8);
    animation: fadeUp 1s ease-out 0.8s both;
    transition: transform 0.3s ease, border-color 0.3s ease;
}

.steam-wishlist-box:hover {
    transform: translateX(-50%) translateY(-5px);
    border-color: rgba(0, 212, 255, 1);
}

.steam-capsule {
    width: 55%;
    flex-shrink: 0;
    display: flex;
}

.capsule-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.steam-details {
    padding: 0.8rem 1rem;
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 0.5rem;
    width: 45%;
    text-align: left;
}

.steam-game-info {
    display: flex;
    flex-direction: column;
    gap: 0.1rem;
}

.steam-status {
    font-size: 0.55rem;
    letter-spacing: 1px;
    color: #00d4ff;
    font-weight: 700;
}

.steam-game-name {
    font-size: 0.95rem;
    font-weight: 600;
    color: #ebebeb;
    line-height: 1.2;
}

.status-row {
    margin-top: 2px;
}

.coming-soon {
    font-size: 0.65rem;
    background: rgba(0, 212, 255, 0.1);
    color: #00d4ff;
    padding: 3px 10px;
    border-radius: 4px;
    font-weight: 700;
    letter-spacing: 0.5px;
    border: 1px solid rgba(0, 212, 255, 0.2);
}

.btn-steam-wishlist {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    background: linear-gradient(90deg, #1b2838 0%, #2a475e 100%);
    color: #ebebeb;
    text-decoration: none;
    padding: 0.5rem 0.8rem;
    border-radius: 4px;
    font-weight: 700;
    font-size: 0.75rem;
    transition: all 0.3s ease;
    border: 1px solid rgba(255, 255, 255, 0.1);
    width: 100%;
}

.btn-steam-wishlist:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 212, 255, 0.3);
    border-color: rgba(0, 212, 255, 0.5);
    background: linear-gradient(90deg, #2a475e 0%, #1b2838 100%);
}

.steam-icon {
    width: 20px;
    height: 20px;
    filter: brightness(0) invert(1);
    /* Turns black SVG to white */
}

@keyframes fadeUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* --- Central Projects Hub --- */
.central-projects-hub {
    position: absolute;
    bottom: 80px;
    z-index: 50;
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 10px 24px;
    border-radius: 40px;
    backdrop-filter: blur(20px);
    transition: background 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease;
    white-space: nowrap;
    pointer-events: auto;
}

/* Hub-specific fade-up that preserves translateX(-50%) centering */
@keyframes hubFadeUp {
    from {
        opacity: 0;
        transform: translateX(-50%) translateY(20px);
    }

    to {
        opacity: 1;
        transform: translateX(-50%) translateY(0);
    }
}

/* Agency hub: parent is layer-agency which is left:0, width:100%
   So 50vw from left edge = screen center. translateX(-50%) = hub is centered. */
.hub-agency {
    left: 50%;
    transform: translateX(-50%);
    animation: hubFadeUp 1s ease-out 1.2s both;
    background: rgba(255, 255, 255, 0.85);
    border: 1px solid rgba(12, 25, 48, 0.15);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.1);
}

.hub-agency:hover {
    background: rgba(255, 255, 255, 0.95);
    border-color: rgba(12, 25, 48, 0.4);
    transform: translateX(-50%) translateY(-5px);
}

.hub-studio-wrapper {
    display: contents;
}

@media (min-width: 769px) {
    .hub-studio-wrapper {
        position: absolute;
        bottom: 80px;
        right: 0;
        width: 100vw;
        max-width: 2560px;
        display: flex;
        justify-content: center;
        z-index: 50;
        pointer-events: none;
    }
    .hub-studio {
        position: relative;
        bottom: auto;
        right: auto;
        left: auto;
        transform: none;
        animation: hubFadeUpStudio 1s ease-out 1.2s both;
        background: rgba(12, 25, 48, 0.85);
        border: 1px solid rgba(0, 212, 255, 0.3);
        box-shadow: 0 15px 40px rgba(0, 0, 0, 0.4), 0 0 20px rgba(0, 212, 255, 0.1);
        pointer-events: auto;
    }
    .hub-studio:hover {
        background: rgba(12, 25, 48, 0.95);
        border-color: rgba(0, 212, 255, 0.6);
        box-shadow: 0 20px 50px rgba(0, 0, 0, 0.5), 0 0 30px rgba(0, 212, 255, 0.2);
        transform: translateY(-5px);
    }
}

/* Studio-specific animation that preserves vertical fade-up */
@keyframes hubFadeUpStudio {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.hub-indicator {
    display: flex;
    align-items: center;
    gap: 8px;
}

.hub-pulse {
    width: 6px;
    height: 6px;
    background: #00d4ff;
    border-radius: 50%;
    box-shadow: 0 0 8px #00d4ff;
    animation: pulseActive 2s infinite;
}

@keyframes pulseActive {
    0% {
        box-shadow: 0 0 0 0 rgba(0, 212, 255, 0.7);
    }

    70% {
        box-shadow: 0 0 0 6px rgba(0, 212, 255, 0);
    }

    100% {
        box-shadow: 0 0 0 0 rgba(0, 212, 255, 0);
    }
}

.hub-label {
    font-size: 0.65rem;
    font-weight: 800;
    letter-spacing: 1.5px;
    text-transform: uppercase;
}

.hub-agency .hub-label {
    color: #0c1930;
}

.hub-studio .hub-label {
    color: #00d4ff;
}

.hub-divider {
    width: 1px;
    height: 20px;
}

.hub-agency .hub-divider {
    background: rgba(12, 25, 48, 0.15);
}

.hub-studio .hub-divider {
    background: rgba(255, 255, 255, 0.2);
}

.hub-links {
    display: flex;
    align-items: center;
    gap: 20px;
}

.hub-project {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 0.8rem;
    font-weight: 700;
    text-decoration: none;
    transition: all 0.2s ease;
}

.hub-agency .hub-project {
    color: #0c1930;
    opacity: 0.8;
}

.hub-studio .hub-project {
    color: #ebebeb;
}

.hub-agency .hub-project:hover {
    color: #ff4757;
    opacity: 1;
}

.hub-studio .hub-project:hover {
    color: #00d4ff;
}

.hub-project svg {
    width: 14px;
    height: 14px;
    opacity: 0.7;
    transition: transform 0.2s ease, opacity 0.2s ease;
}

.hub-project:hover svg {
    opacity: 1;
    transform: translate(2px, -2px);
}

.hub-upcoming {
    font-size: 0.55rem;
    background: rgba(255, 71, 87, 0.15);
    color: #ff4757;
    padding: 3px 6px;
    border-radius: 4px;
    font-weight: 800;
    letter-spacing: 0.5px;
    border: 1px solid rgba(255, 71, 87, 0.3);
}

@media (max-width: 768px) {
    .central-projects-hub {
        bottom: 80px;
        flex-direction: column;
        gap: 10px;
        padding: 12px 20px;
        border-radius: 20px;
        width: 90%;
        max-width: 320px;
    }

    .hub-divider {
        width: 100%;
        height: 1px;
    }

    .hub-links {
        flex-direction: column;
        gap: 12px;
        width: 100%;
    }

    .hub-project {
        width: 100%;
        justify-content: space-between;
    }
}

/* --- Section Agency Styles --- */
.btn-studio {
    background: transparent;
    color: #00d4ff;
    /* Cyan */
    border: 2px solid #00d4ff;
    /* Cyan Border */
    border-radius: 4px;
}

.btn-studio:hover {
    background: #00d4ff;
    /* Fill Cyan */
    color: #000;
    /* Text Black */
    box-shadow: 0 0 20px rgba(0, 212, 255, 0.6);
    /* Neon Glow */
    transform: translateY(-2px);
}

/* Typography Updates */
/* Typography Updates - Using REM */
.content-body h2 {
    font-size: clamp(2rem, 4vw, 3.5rem);
    line-height: 1.1;
    margin-bottom: 1.5rem;
    font-weight: 800;
}

.content-body p {
    font-size: clamp(1rem, 1.2vw, 1.2rem);
    margin-bottom: 2rem;
    opacity: 0.8;
    max-width: 60ch;
    text-align: justify;
    text-justify: inter-word;
}

.content-agency p {
    text-align-last: left;
}

.content-studio p {
    text-align-last: right;
}

/* HERO WRAPPER (Groups Image + Button) */
.hero-wrapper {
    position: relative;
    bottom: 0;
    width: 80%;
    max-width: 800px;
    display: flex;
    flex-direction: column;
    align-items: center;
    z-index: 2;
    animation: float 6s ease-in-out infinite;
}

.agency-wrapper {
    left: -10%;
}

.studio-wrapper {
    right: 0%;
}

.hero-image {
    position: relative;
    width: 100%;
    display: block;
    object-fit: contain;
    filter: drop-shadow(0 20px 40px rgba(0, 0, 0, 0.3));
    pointer-events: none;
    /* Animation moved to wrapper */
}

/* Specific Image Tweaks */
.studio-wrapper .hero-image {
    filter: drop-shadow(0 0 20px rgba(0, 212, 255, 0.4));
}

/* Button in Wrapper */
.hero-wrapper .btn {
    margin-top: 10%;
    /* Space between image and button */
    pointer-events: auto;
    /* Ensure clickable */
    z-index: 10;
}

/* Floating Animation (Standard Y-Axis) */
@keyframes float {

    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-20px);
    }
}

.content-wrap {
    justify-content: flex-start;
    padding-top: 15vh;
}

/* HEADER & NAVIGATION */
.nav-wrapper {
    position: absolute;
    top: 3vh;
    z-index: 100;
    width: 30%;
    max-width: 400px;
    min-width: 280px;
}

.nav-agency {
    left: 50%;
    transform: translateX(-50%);
}

.nav-agency .nav-links li a {
    color: #0c1930;
    /* Dark Blue */
}

.nav-agency .nav-links li a:hover,
.nav-agency .nav-links li a.hover-active {
    color: #00d4ff;
    /* Dark Blue */
    border-bottom: 2px solid #00d4ff;
}

.nav-studio-wrapper {
    display: contents;
}

@media (min-width: 769px) {
    .nav-studio-wrapper {
        position: absolute;
        top: 3vh;
        right: 0;
        width: 100vw;
        max-width: 2560px;
        display: flex;
        justify-content: center;
        z-index: 100;
        pointer-events: none;
    }
    .nav-studio {
        position: relative;
        top: auto;
        width: 30%;
        max-width: 400px;
        min-width: 280px;
        right: auto;
        transform: none;
        pointer-events: auto;
    }
}

.nav-studio .nav-links li a {
    color: #00d4ff;
    /* Light Blue / Neon */
}

.nav-studio .nav-links li a:hover,
.nav-studio .nav-links li a.hover-active {
    color: #ebebeb;
    /* Light Blue / Neon */
    border-bottom: 2px solid #ebebeb;
}

.nav-links {
    list-style: none;
    display: flex;
    justify-content: center;
    gap: 40px;
}

.nav-links li a {
    text-decoration: none;
    font-weight: 700;
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    transition: opacity 0.3s;
}

/* =========================================
   THE REACTOR CORE — INTRO ANIMATION
   ========================================= */

/* Overlay: Full-screen black cover */
#intro-overlay {
    position: fixed;
    inset: 0;
    background: #000;
    z-index: 9999;
    overflow: hidden;
    transition: opacity 0.55s ease;
}

/* Inner wrapper: pinned to the split line (50vw) */
#intro-center {
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    height: 100%;
    width: 100%;
    max-width: 2560px; /* Match container max-width */
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

#intro-overlay.fade-out {
    opacity: 0;
    pointer-events: none;
}

/* Binary Rain Canvas */
#binary-rain {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    opacity: 0.07;
    pointer-events: none;
}

/* Energy Beams — vertical neon line at 50vw */
.energy-beam {
    width: 2px;
    height: 0;
    /* solid color so the line looks continuous with the site divider */
    background: #00d4ff;
    box-shadow: 0 0 6px #00d4ff, 0 0 18px #00d4ff, 0 0 36px rgba(0, 212, 255, 0.5);
    transition: height 0.6s cubic-bezier(0.22, 1, 0.36, 1);
    flex-shrink: 0;
    z-index: 25;
    /* Higher than fills (10) */
}

.energy-beam.beam-top {
    /* grows upward: align bottom to logo */
    align-self: center;
    transform-origin: bottom center;
}

.energy-beam.beam-bottom {
    align-self: center;
    transform-origin: top center;
}

.energy-beam.active {
    height: 50vh;
}

/* Intro Logo */
.intro-logo {
    width: clamp(80px, 12vw, 160px);
    height: auto;
    position: relative;
    z-index: 30;
    /* Higher than fills (10) */
    filter: drop-shadow(0 0 20px rgba(0, 212, 255, 0.6));
    animation: reactor-spin 1.0s cubic-bezier(0.4, 0, 0.2, 1) forwards;
}

@keyframes reactor-spin {
    0% {
        transform: rotate(0deg) scale(0.5);
        opacity: 0;
        filter: drop-shadow(0 0 0px rgba(0, 212, 255, 0));
    }

    30% {
        opacity: 1;
    }

    80% {
        transform: rotate(680deg) scale(1.1);
        filter: drop-shadow(0 0 30px rgba(0, 212, 255, 0.9));
    }

    100% {
        transform: rotate(720deg) scale(1);
        filter: drop-shadow(0 0 20px rgba(0, 212, 255, 0.6));
    }
}

/* Match-cut transition: logo slides to header position */
.intro-logo.match-cut {
    position: fixed;
    margin: 0;
    transition: top 1.2s cubic-bezier(0.77, 0, 0.175, 1),
        left 1.2s cubic-bezier(0.77, 0, 0.175, 1),
        width 1.2s cubic-bezier(0.77, 0, 0.175, 1);
}

/* Main container: hidden until intro ends */
.container.intro-hidden {
    opacity: 0;
}

/* Site reveal: clean fade-in as overlay dissolves */
@keyframes glitch-reveal {
    0% {
        opacity: 0;
    }

    100% {
        opacity: 1;
    }
}

.container.glitch-reveal {
    animation: glitch-reveal 0.4s ease forwards;
}

/* =========================================
   INTRO FILL LAYERS (Perde Efekti)
   ========================================= */

.intro-fill {
    position: absolute;
    top: 0;
    width: 50%;
    /* Fixed width */
    height: 0;
    /* Starts at top */
    z-index: 10;
    /* Above rain (0), below logo (20) */
    transition: height 1.2s cubic-bezier(0.77, 0, 0.175, 1);
}

.fill-left {
    right: 50%;
    background-color: #ebebeb;
}

.fill-right {
    left: 50%;
    background-color: #0c1930;
}

.intro-fill.active {
    height: 100vh !important;
    width: 50% !important;
}

/* Binary Fringe - Dijital Saçak Efekti (Perde Alt Kenarı) */
.intro-fill::after {
    content: "0 1 0 1 1 0 0 1 1 1 0 0 1 0 1 0 1 0 1 0 1 0 1 1 0 0 1 1 0 0 1 1 1 1 1 1 0 0 0 0 1 0 1 0 1 0 1 0 0 1 0 1 0 1 0 1 1 1 1 1 1 1 1 0 0 0 0 0 1 0 1 1 0 1 1 0 0 1 1 0 1 0 0 1 1 0 1 0 1 0 1 0 1 1 0 0 1 1 0 0 1 1 0 0 1 0 1 0 1 1 0 1 0 1 1 0 1 0 1 1 1 1 0 0 0 0";
    position: absolute;
    bottom: 0;
    /* Artık alt kenarda */
    left: 0;
    width: 100%;
    height: 40px;
    /* Alttaki parıltı/karakter alanı */
    font-size: 11px;
    line-height: 1;
    overflow: hidden;
    word-break: break-all;
    display: flex;
    flex-wrap: wrap;
    opacity: 0;
    transition: opacity 0.3s ease;
    pointer-events: none;
    font-family: monospace;
    font-weight: bold;
    text-align: center;
    padding-top: 5px;
}

.intro-fill.active::after {
    opacity: 0.6;
}

/* Saçakların Renkleri ve Panel Pozisyonları */
.fill-left {
    left: 0;
    background-color: #ebebeb;
}

.fill-right {
    left: 50%;
    background-color: #0c1930;
}

.fill-left::after {
    color: #e0e0e0;
    text-shadow: 0 0 5px rgba(255, 255, 255, 0.5);
}

.fill-right::after {
    color: #00d4ff;
    text-shadow: 0 0 8px #00d4ff;
}

#intro-center {
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    height: 100%;
    width: 100%;
    max-width: 2560px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    z-index: 20;
    pointer-events: none;
}

/* =========================================
   RESPONSIVE DESIGN 
   ========================================= */

/* TABLET (769px - 1024px) */
@media (min-width: 769px) and (max-width: 1024px) {
    .content-agency {
        padding-left: 8%;
        padding-right: 52%;
        /* Push text further away from center */
    }

    .content-studio {
        padding-right: 8%;
        padding-left: 52%;
    }

    .logo-wrapper {
        width: 150px;
        /* Force smaller size to prevent overlap */
        min-width: unset;
    }

    .nav-wrapper {
        width: 42%;
    }

    .nav-links {
        gap: 15px;
        /* Tighter gap for nav */
    }

    .nav-links a {
        font-size: 0.85rem;
        /* Slightly smaller nav text */
    }

    .content-body h2 {
        font-size: 2.2rem;
        margin-bottom: 0.8rem;
    }

    .content-body p {
        font-size: 0.9rem;
    }

    .hero-image {
        max-height: 38vh;
        /* Scale down hero image for tablet */
    }

    .hero-wrapper .btn {
        margin-top: 5%;
        padding: 10px 20px;
        font-size: 0.85rem;
    }

    /* Reposition Steam Box below button (Mobile-like flow for Tablet) */
    .steam-wishlist-box {
        position: relative;
        bottom: auto;
        top: auto;
        left: auto;
        right: auto;
        transform: none;
        margin: 30px auto 0 auto;
        width: 100%;
        max-width: 450px;
        z-index: 10;
    }
}

/* MOBILE (< 768px) - STACK LAYOUT */
@media (max-width: 768px) {
    body {
        overflow-y: auto;
        /* Allow formatting scroll */
        height: auto;
    }

    .container {
        display: flex;
        flex-direction: column;
        height: auto;
        overflow: visible;
    }

    /* Layers Stack Vertically */
    .layer {
        position: relative;
        width: 100%;
        height: auto;
        min-height: 100vh;
        /* Each section is full screen */
        overflow: hidden;
    }

    /* Agency Layer Adjustments */
    .layer-agency {
        order: 1;
        /* Agency first */
    }

    /* Studio Layer Adjustments */
    .layer-studio {
        order: 2;
        right: auto;
        width: 100%;
        background-color: #0c1930;
        color: #ebebeb;
        z-index: 2;
        border-left: none;
        border-top: 4px solid #00d4ff;
        transition: width 0.1s ease-out;
    }

    /* MOBILE OVERRIDE: Prevent 50% width on mobile during breathing animation */
    .layer-studio.anim-active {
        animation: none;
        /* Disable 50% animation on mobile */
        width: 100% !important;
    }

    /* Content Styling for Mobile */
    .content-wrap {
        position: relative;
        width: 100%;
        height: auto;
        min-height: 100vh;
        padding-top: 100px;
        /* Reduced from 120px */
        padding-bottom: 60px;
        justify-content: flex-start;
    }

    .content-agency,
    .content-studio {
        padding: 0 20px;
        text-align: center;
        align-items: center;
        left: auto;
        right: auto;
    }

    .content-body {
        margin-bottom: 2rem;
        width: 100%;
        max-width: 100%;
    }

    .content-body h2 {
        font-size: 2.2rem;
    }

    /* Logo & Nav Restructuring */
    .logo-wrapper {
        position: relative;
        top: 0;
        left: 0;
        right: 0;
        width: 180px;
        min-width: unset;
        margin: 40px auto 20px auto;
        transform: none;
    }

    .nav-wrapper {
        position: absolute;
        top: 60px;
        width: 100%;
        max-width: none;
        transform: none;
        left: 0;
        right: 0;
    }

    .nav-agency,
    .nav-studio {
        left: 0;
        right: 0;
        transform: none;
    }

    /* HERO VISUALS MOBILE */
    .hero-wrapper {
        position: relative;
        width: 90%;
        margin-top: 20px;
        margin-bottom: 40px;
        bottom: auto;
    }

    .agency-wrapper,
    .studio-wrapper {
        left: auto;
        right: auto;
    }

    .hero-image {
        max-height: 35vh;
        /* Further limited for better fit */
        width: auto;
        margin: 0 auto;
    }

    /* Steam Card Mobile Adjustment */
    .steam-wishlist-box {
        position: relative;
        right: inherit;
        /* Switch to relative for easier flow on mobile stack */
        bottom: auto;
        top: auto;
        left: auto;
        transform: none;
        margin: 20px auto;
        width: 100%;
        max-width: 400px;
        flex-direction: column;
        /* Stack vertically on small screens */
    }

    .steam-wishlist-box:hover {
        transform: translateY(-5px);
        /* Simple lift on mobile */
    }

    .steam-capsule {
        width: 100%;
        height: 150px;
    }

    .steam-details {
        width: 100%;
        padding: 1.2rem;
        text-align: center;
        align-items: center;
    }

    .btn-steam-wishlist {
        max-width: 250px;
    }
}

@media (max-width: 480px) {
    .content-body h2 {
        font-size: 1.8rem;
    }

    .hero-image {
        max-height: 30vh;
    }
}

/* =========================================
   DESKTOP OPTIMIZATION (1920x1080 & Smaller Desktop) 
   ========================================= */

@media (min-width: 1025px) and (max-width: 1920px) {
    .content-wrap {
        padding-top: 10vh;
        /* Reduced from 15vh to gain vertical space */
    }

    .content-body h2 {
        font-size: 2.8rem;
        /* Slightly smaller than 1440p default */
        margin-bottom: 1rem;
    }

    .content-body p {
        font-size: 0.95rem;
        margin-bottom: 1.5rem;
    }

    .hero-wrapper {
        width: 75%;
        /* Tighter for 1080p */
        max-width: 700px;
    }

    .hero-image {
        max-height: 42vh;
        /* Crucial: Prevent overflow on 1080p height */
    }

    .hero-wrapper .btn {
        margin-top: 100px;
        /* Increased from 30px to clear the Steam card overlap */
        padding: 12px 30px;
    }

    /* Steam Card Refinement for 1080p */
    .steam-wishlist-box {
        max-width: 440px;
        bottom: 10%;
        /* Anchored tighter to the bottom of the hero */
    }

    .steam-capsule {
        width: 50%;
    }

    .steam-details {
        width: 50%;
        padding: 0.8rem;
    }

    .steam-game-name {
        font-size: 0.85rem;
    }

    .btn-steam-wishlist {
        padding: 0.4rem 0.6rem;
        font-size: 0.7rem;
    }
}

/* =========================================
   FOOTER & SOCIALS
   ========================================= */
.site-footer {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    padding: 20px 40px;
    z-index: 50;
    /* Above all content */
    pointer-events: none;
    /* Allow clicking through to underlying layers if needed, except for links */
}

.footer-left,
.footer-right {
    pointer-events: auto;
    /* Re-enable for the actual links and text */
}

.social-links {
    display: flex;
    gap: 20px;
    align-items: center;
}

.social-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    color: #0c1930;
    transition: all 0.3s ease;
    opacity: 0.8;
}

/* Global Icon background for both sides */
.site-footer .social-icon {
    background: rgba(255, 255, 255, 0.1);
    /* Slightly higher opacity */
    backdrop-filter: blur(5px);
    border-radius: 50%;
    padding: 5px;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.social-icon svg {
    width: 18px;
    height: 18px;
}

.social-icon:hover {
    color: #00d4ff;
    transform: translateY(-3px);
    opacity: 1;
    border-color: #00d4ff;
    box-shadow: 0 0 15px rgba(0, 212, 255, 0.4);
    background: rgba(0, 212, 255, 0.1);
}

.copyright {
    font-size: 0.75rem;
    font-weight: 500;
    letter-spacing: 0.5px;
    color: #ebebeb;
    opacity: 0.5;
    /* Blend based on background color? Or just keep it generic? 
       For now white works on both as long as it's faint on the white side. */
}

/* Specific background contrast for Agency side (White) */
/* We can use a trick: If the footer spans, we can just keep it white/glass
   which is visible on both. */

/* Responsividade do Footer */
@media (max-width: 768px) {
    .site-footer {
        position: relative;
        flex-direction: column;
        align-items: center;
        gap: 15px;
        padding: 40px 20px;
        /* More padding for mobile */
        background: #060e1a;
        /* Even darker for clear separation */
        text-align: center;
        margin-top: 20px;
        /* Ensure space from container */
        pointer-events: auto;
        /* Ensure clickable full block */
    }

    .social-icon {
        color: #ebebeb;
    }

    .footer-left,
    .footer-right {
        width: 100%;
        display: flex;
        justify-content: center;
    }

    .social-links {
        justify-content: center;
        gap: 25px;
        /* More gap for thumb-friendly clicks */
    }

    .copyright {
        font-size: 0.7rem;
        opacity: 0.4;
    }
}

/* =========================================
   PAGE TRANSITIONS (Gelişmiş Geçiş Sistemi)
   ========================================= */
/* =========================================
   PAGE TRANSITIONS (Gelişmiş Geçiş Sistemi)
   ========================================= */
.page-transition {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 9999;
    pointer-events: none;
    overflow: hidden;
}

/* Base Panel Reset */
.trans-panel {
    position: absolute;
    width: 0;
    height: 0;
    background: #0c1930;
    display: none;
    /* Only show active ones */
}

/* FLASH PROTECTION: Pre-cover screen if transitioning */
html.is-transitioning .page-transition {
    pointer-events: all;
    display: block !important;
}


/* Horizontal Wipe Flash Guard */
html.is-transitioning.slide-left:not(.loaded) .trans-wipe-panel {
    display: block;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    transform: translateX(0);
    /* Full cover for arrival */
    z-index: 10001;
}


/* Vertical Split Flash Guard */
html.is-transitioning.slide-down:not(.loaded) .trans-left-panel,
html.is-transitioning.slide-down:not(.loaded) .trans-right-panel,
html.is-transitioning.slide-down:not(.loaded) .trans-beam {
    display: block;
    top: 0;
    height: 100vh;
    z-index: 10001;
}

html.is-transitioning.slide-down:not(.loaded) .trans-left-panel {
    left: 0;
    width: 50%;
    background: #ebebeb;
}

html.is-transitioning.slide-down:not(.loaded) .trans-right-panel {
    left: 50%;
    width: 50%;
    background: #0c1930;
}

html.is-transitioning.slide-down:not(.loaded) .trans-beam {
    left: 50%;
    transform: translateX(-50%);
}


.trans-beam {
    position: absolute;
    top: 0;
    left: 50%;
    width: 2px;
    height: 0;
    background: #00d4ff;
    box-shadow: 0 0 20px rgba(0, 212, 255, 0.8);
    transform: translateX(-50%);
    z-index: 10000;
    display: none;
}

/* -----------------------------------------
   1. SLIDE LEFT (Horizontal: Index -> About)
   ----------------------------------------- */
.page-transition.slide-left .trans-wipe-panel {
    display: block;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: #0c1930;
    transform: translateX(100%);
}

/* Exit: Slide in from right */
.page-transition.slide-left:not(.loaded) .trans-wipe-panel {
    animation: wipe-exit 0.8s cubic-bezier(0.7, 0, 0.3, 1) forwards;
}

/* Entry: Slide out to left to reveal */
.page-transition.loaded.slide-left .trans-wipe-panel {
    display: block;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: #0c1930;
    animation: wipe-reveal 0.8s cubic-bezier(0.7, 0, 0.3, 1) forwards;
}


@keyframes wipe-exit {
    from {
        transform: translateX(100%);
    }

    to {
        transform: translateX(0);
    }
}

@keyframes wipe-reveal {
    from {
        transform: translateX(0);
    }

    to {
        transform: translateX(-101%);
    }
}

/* -----------------------------------------
   2. SLIDE DOWN (Vertical Curtain: About -> Index)
   ----------------------------------------- */

/* Exit Phase: Both panels drop from top together */
.page-transition.slide-down:not(.loaded) .trans-left-panel,
.page-transition.slide-down:not(.loaded) .trans-right-panel,
.page-transition.slide-down:not(.loaded) .trans-beam {
    display: block;
    top: 0;
    height: 0;
    animation: curtain-drop 0.8s cubic-bezier(0.7, 0, 0.3, 1) forwards;
}

.page-transition.slide-down:not(.loaded) .trans-left-panel {
    left: 0;
    width: 50.35%;
    background: #ebebeb;
}

.page-transition.slide-down:not(.loaded) .trans-right-panel {
    left: 50.35%;
    width: 50%;
    background: #0c1930;
}

.page-transition.slide-down:not(.loaded) .trans-beam {
    left: 50.35%;
    transform: translateX(-50%);
}

/* Entry: Split Reveal to Bottom (White/Navy) */
.page-transition.loaded.slide-down .trans-panel,
.page-transition.loaded.slide-down .trans-beam {
    display: block;
    top: 0;
    height: 100vh;
}

.page-transition.loaded.slide-down .trans-left-panel {
    left: 0;
    width: 50%;
    /* Prevent gap */
    background: #ebebeb;
    animation: curtain-reveal 0.8s cubic-bezier(0.7, 0, 0.3, 1) 0.05s forwards;
}

.page-transition.loaded.slide-down .trans-right-panel {
    left: 50%;
    width: 50%;
    background: #0c1930;
    animation: curtain-reveal 0.8s cubic-bezier(0.7, 0, 0.3, 1) 0.1s forwards;
}

.page-transition.loaded.slide-down .trans-beam {
    animation: curtain-reveal 0.8s cubic-bezier(0.7, 0, 0.3, 1) forwards;
}

@keyframes curtain-drop {
    from {
        height: 0;
    }

    to {
        height: 100vh;
    }
}

@keyframes curtain-reveal {
    from {
        transform: translateY(0);
    }

    to {
        transform: translateY(100vh);
    }
}

html.is-transitioning:not(.loaded) body {
    visibility: hidden !important;
}

html.is-transitioning .page-transition {
    display: block !important;
    opacity: 1 !important;
    visibility: visible !important;
}

/* =========================================
   Language Switcher
   ========================================= */
.lang-switcher {
    position: fixed;
    top: 30px;
    right: 30px;
    z-index: 1000;
    display: flex;
    align-items: center;
    background: rgba(12, 25, 48, 0.6);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(0, 212, 255, 0.3);
    padding: 8px 15px;
    border-radius: 30px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
    transition: all 0.3s ease;
}

.lang-switcher.inline-switcher {
    position: relative;
    top: auto;
    right: auto;
    bottom: auto;
    left: auto;
    z-index: 10;
}

.lang-switcher:hover {
    border-color: rgba(0, 212, 255, 0.8);
    box-shadow: 0 0 15px rgba(0, 212, 255, 0.3);
    transform: translateY(-2px);
}

.lang-btn {
    color: rgba(255, 255, 255, 0.6);
    font-weight: 600;
    cursor: pointer;
    transition: color 0.3s ease, text-shadow 0.3s ease;
    font-size: 0.9rem;
    user-select: none;
}

.lang-btn:hover {
    color: #fff;
}

.lang-btn.active {
    color: #00d4ff;
    text-shadow: 0 0 10px rgba(0, 212, 255, 0.6);
}

.lang-separator {
    color: rgba(255, 255, 255, 0.3);
    margin: 0 8px;
    font-size: 0.8rem;
    user-select: none;
}

/* Mobile Adjustment for Switcher */
@media screen and (max-width: 768px) {
    .lang-switcher {
        top: 20px;
        left: 20px;
        right: auto;
        bottom: auto;
        /* Reset bottom */
        padding: 6px 12px;
    }
}

/* =========================================
   Mobile Hamburger Menu
   ========================================= */
.mobile-menu-btn {
    display: none;
    position: fixed;
    top: 20px;
    right: 20px;
    z-index: 1001;
    /* Above switcher and overlay */
    background: rgba(12, 25, 48, 0.6);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(0, 212, 255, 0.3);
    width: 44px;
    height: 44px;
    border-radius: 50%;
    cursor: pointer;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 5px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
    transition: all 0.3s ease;
}

.mobile-menu-btn:hover {
    border-color: rgba(0, 212, 255, 0.8);
    box-shadow: 0 0 15px rgba(0, 212, 255, 0.3);
}

.mobile-menu-btn span {
    width: 20px;
    height: 2px;
    background-color: #ebebeb;
    transition: all 0.3s ease;
}

.mobile-menu-btn.active span:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
}

.mobile-menu-btn.active span:nth-child(2) {
    opacity: 0;
}

.mobile-menu-btn.active span:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
}

.mobile-nav-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    background: rgba(12, 25, 48, 0.95);
    backdrop-filter: blur(15px);
    z-index: 1000;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.4s ease;
}

.mobile-nav-overlay.active {
    opacity: 1;
    pointer-events: auto;
}

.mobile-nav-links {
    list-style: none;
    text-align: center;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.mobile-nav-links li {
    transform: translateY(20px);
    opacity: 0;
    transition: all 0.4s ease;
}

.mobile-nav-overlay.active .mobile-nav-links li {
    transform: translateY(0);
    opacity: 1;
}

.mobile-nav-links li:nth-child(1) {
    transition-delay: 0.1s;
}

.mobile-nav-links li:nth-child(2) {
    transition-delay: 0.2s;
}

.mobile-nav-links li:nth-child(3) {
    transition-delay: 0.3s;
}

.mobile-nav-links a {
    color: #ebebeb;
    font-size: 2rem;
    font-weight: 800;
    text-transform: uppercase;
    text-decoration: none;
    letter-spacing: 4px;
    transition: color 0.3s ease;
}

.mobile-nav-links a:hover,
.mobile-nav-links a.active {
    color: #00d4ff;
    text-shadow: 0 0 15px rgba(0, 212, 255, 0.5);
}

@media screen and (max-width: 768px) {
    .mobile-menu-btn {
        display: flex;
    }

    /* Hide the desktop nav on index.html on mobile */
    .nav-wrapper,
    .agency-nav-links,
    .studio-nav-links {
        display: none !important;
    }
}