html {
    scroll-behavior: smooth;
}

:root {
    --color-bg: #070707;
    --color-accent: #32cd32;
    --color-accent-rgb: 50, 205, 50;
    /* Lime Green */
    --color-accent-dim: rgba(var(--color-accent-rgb), 0.3);
    --color-text: #ffffff;
    --color-text-muted: #888888;
    --font-heading: 'Outfit', sans-serif;
    --font-body: 'Space Grotesk', sans-serif;
}

/* Preloader */
.preloader {
    position: fixed;
    inset: 0;
    background: var(--color-bg);
    z-index: 99999;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: opacity 0.6s, visibility 0.6s;
}

.preloader.hidden {
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
}

.preloader-inner {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 20px;
}

.preloader-logo {
    width: 80px;
    height: 80px;
    animation: preloaderPulse 1.5s ease-in-out infinite;
}

.preloader-bar {
    width: 200px;
    height: 2px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 2px;
    overflow: hidden;
}

.preloader-fill {
    height: 100%;
    width: 0%;
    background: var(--color-accent);
    border-radius: 2px;
    animation: preloaderFill 2s ease-out forwards;
    box-shadow: 0 0 10px var(--color-accent);
}

.preloader-text {
    font-family: monospace;
    font-size: 10px;
    letter-spacing: 3px;
    color: var(--color-accent);
    opacity: 0.6;
}

@keyframes preloaderPulse {
    0%, 100% { opacity: 0.5; transform: scale(0.95); }
    50% { opacity: 1; transform: scale(1); }
}

@keyframes preloaderFill {
    0% { width: 0%; }
    60% { width: 70%; }
    100% { width: 100%; }
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    background-color: var(--color-bg);
    color: var(--color-text);
    font-family: var(--font-body);
    overflow-x: hidden;
    cursor: none;
}

::selection {
    background: var(--color-accent);
    color: var(--color-bg);
}

/* Custom Cursor — simple glowing dot + a soft lagging ring */
.cursor {
    position: fixed;
    top: 0;
    left: 0;
    width: 8px;
    height: 8px;
    background: var(--color-accent);
    border-radius: 50%;
    box-shadow: 0 0 10px rgba(var(--color-accent-rgb), 0.9), 0 0 2px rgba(var(--color-accent-rgb), 1);
    pointer-events: none;
    z-index: 99999;
    transform: translate(-50%, -50%);
    transition: opacity 0.2s, transform 0.15s ease;
}

.cursor-follower {
    position: fixed;
    top: 0;
    left: 0;
    width: 34px;
    height: 34px;
    border: 1.5px solid rgba(var(--color-accent-rgb), 0.55);
    border-radius: 50%;
    pointer-events: none;
    z-index: 99998;
    transform: translate(-50%, -50%);
    transition: width 0.25s cubic-bezier(0.25, 1, 0.5, 1), height 0.25s cubic-bezier(0.25, 1, 0.5, 1),
        border-color 0.25s, background-color 0.25s, opacity 0.2s;
}

/* Hover state (set via JS on interactive elements): ring grows and softly fills */
.cursor-follower.cursor-hover {
    width: 54px;
    height: 54px;
    background: rgba(var(--color-accent-rgb), 0.1);
    border-color: rgba(var(--color-accent-rgb), 0.9);
}

/* Click feedback */
.cursor.cursor-active {
    transform: translate(-50%, -50%) scale(0.6);
}

/* Prevent default browser cursor on interactive elements in desktop */
@media (min-width: 769px) {
    a, button, select, input, [role="button"], .portfolio-card, .floating-social-icon, .trailer-placeholder, .press-tab-btn, .press-kit-link, .hamburger {
        cursor: none !important;
    }
}

/* Global Voxel Trail */
#trail-canvas {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    pointer-events: none;
    z-index: 8500;
}

/* Bottom Gradient Canvas */
#bottom-gradient-canvas {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100vw;
    height: 30vh;
    z-index: 8000;
    pointer-events: none;
    /* Seamless fade - masks the top edge so no cutoff is ever visible */
    -webkit-mask-image: linear-gradient(to bottom, transparent 0%, rgba(0,0,0,0.3) 30%, rgba(0,0,0,0.8) 60%, black 100%);
    mask-image: linear-gradient(to bottom, transparent 0%, rgba(0,0,0,0.3) 30%, rgba(0,0,0,0.8) 60%, black 100%);
}

/* ========== SIDE NAVIGATION BAR ========== */
.side-nav {
    position: fixed;
    left: 28px;
    top: 18%;
    bottom: 18%;
    z-index: 9500;
    display: flex;
    align-items: center;
}

.side-nav-track {
    position: absolute;
    left: 18px;
    top: 0;
    bottom: 0;
    width: 2px;
    background: rgba(var(--color-accent-rgb), 0.1);
    border-radius: 2px;
    overflow: hidden;
}

.side-nav-progress {
    width: 100%;
    height: 0%;
    background: linear-gradient(180deg, var(--color-accent), rgba(var(--color-accent-rgb), 0.4));
    border-radius: 2px;
    transition: height 0.3s ease-out;
    box-shadow: 0 0 8px rgba(var(--color-accent-rgb), 0.5);
}

.side-nav-dots {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    height: 100%;
    position: relative;
    z-index: 2;
}

.side-nav-dot {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    border: 2px solid rgba(var(--color-accent-rgb), 0.2);
    background: rgba(10, 10, 10, 0.6);
    backdrop-filter: blur(8px);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: none;
    position: relative;
    transition: all 0.4s cubic-bezier(0.25, 1, 0.5, 1);
    text-decoration: none;
}

.side-nav-dot svg {
    width: 20px;
    height: 20px;
    color: rgba(var(--color-accent-rgb), 0.4);
    transition: all 0.4s cubic-bezier(0.25, 1, 0.5, 1);
}

.side-nav-dot:hover {
    border-color: rgba(var(--color-accent-rgb), 0.6);
    background: rgba(var(--color-accent-rgb), 0.08);
    transform: scale(1.15);
}

.side-nav-dot:hover svg {
    color: var(--color-accent);
}

/* Tooltip */
.side-nav-dot::after {
    content: attr(data-tooltip);
    position: absolute;
    left: calc(100% + 14px);
    top: 50%;
    transform: translateY(-50%) translateX(-5px);
    background: rgba(10, 10, 10, 0.9);
    border: 1px solid rgba(var(--color-accent-rgb), 0.3);
    color: var(--color-accent);
    font-family: monospace;
    font-size: 10px;
    letter-spacing: 2px;
    text-transform: uppercase;
    padding: 6px 12px;
    border-radius: 6px;
    white-space: nowrap;
    opacity: 0;
    pointer-events: none;
    transition: all 0.3s cubic-bezier(0.25, 1, 0.5, 1);
}

.side-nav-dot:hover::after {
    opacity: 1;
    transform: translateY(-50%) translateX(0);
}

/* Active state */
.side-nav-dot.active {
    border-color: var(--color-accent);
    background: rgba(var(--color-accent-rgb), 0.15);
    box-shadow: 0 0 15px rgba(var(--color-accent-rgb), 0.3), 0 0 30px rgba(var(--color-accent-rgb), 0.1), inset 0 0 8px rgba(var(--color-accent-rgb), 0.1);
}

.side-nav-dot.active svg {
    color: var(--color-accent);
    filter: drop-shadow(0 0 4px rgba(var(--color-accent-rgb), 0.6));
}

/* Pulse animation for active dot */
.side-nav-dot.active::before {
    content: '';
    position: absolute;
    inset: -4px;
    border-radius: 50%;
    border: 1px solid var(--color-accent);
    animation: sideNavPulse 2s ease-out infinite;
}

@keyframes sideNavPulse {
    0% {
        transform: scale(1);
        opacity: 0.6;
    }
    100% {
        transform: scale(1.5);
        opacity: 0;
    }
}

/* HUD Overlay Elements */
.hud-overlay {
    position: fixed;
    top: 20px;
    left: 20px;
    right: 20px;
    bottom: 20px;
    pointer-events: none;
    z-index: 9000;
}

.hud-corner {
    position: absolute;
    width: 20px;
    height: 20px;
    border: 2px solid var(--color-accent);
}

.top-left {
    top: 0;
    left: 0;
    border-right: none;
    border-bottom: none;
}

.top-right {
    top: 0;
    right: 0;
    border-left: none;
    border-bottom: none;
}

.bottom-left {
    bottom: 0;
    left: 0;
    border-right: none;
    border-top: none;
}

.bottom-right {
    bottom: 0;
    right: 0;
    border-left: none;
    border-top: none;
}

.hud-text {
    position: absolute;
    font-family: monospace;
    font-size: 10px;
    color: var(--color-accent);
    letter-spacing: 2px;
}

.top-center {
    top: 0;
    left: 50%;
    transform: translateX(-50%);
}

.bottom-center {
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
}

/* HUD Background Layer (Dotted Grid Container) */
.hud-bg-container {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 125vh; /* Taller than viewport for scroll parallax */
    z-index: -2;
    pointer-events: none;
    overflow: hidden;
}

/* Inner Background Grid for Mouse Parallax */
.hud-bg {
    position: absolute;
    top: -10vh;
    left: -10vw;
    width: 120vw;
    height: 145vh; /* Over-sized to prevent clipping on mouse shifts */
    pointer-events: none;
    background-image: radial-gradient(var(--color-accent-dim) 1px, transparent 1px);
    background-size: 40px 40px;
    background-position: 0 0;
    transition: transform 0.1s ease-out; /* Smooth transitions for mouse movement */
}

/* Liquid Background Blobs */
.liquid-blobs {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -3;
    overflow: hidden;
    filter: blur(80px);
    opacity: 0.6;
}

.blob-wrapper {
    position: absolute;
    inset: 0;
    pointer-events: none;
}

.blob {
    position: absolute;
    border-radius: 50%;
    background: radial-gradient(circle, var(--color-accent) 0%, transparent 70%);
}

.blob-1 {
    width: 600px;
    height: 600px;
    top: -100px;
    left: -100px;
    animation: float 12s infinite alternate ease-in-out;
}

.blob-2 {
    width: 500px;
    height: 500px;
    bottom: 10%;
    right: -50px;
    animation: float 18s infinite alternate-reverse ease-in-out;
}

.blob-3 {
    width: 400px;
    height: 400px;
    top: 40%;
    left: 40%;
    animation: float 15s infinite alternate ease-in-out;
    opacity: 0.3;
}

@keyframes float {
    0% {
        transform: translate(0, 0) scale(1);
    }

    100% {
        transform: translate(100px, 150px) scale(1.2);
    }
}

/* LIQUID GLASS EFFECT */
.liquid-glass {
    background: rgba(20, 20, 20, 0.4);
    backdrop-filter: blur(24px) saturate(180%);
    -webkit-backdrop-filter: blur(24px) saturate(180%);
    border: 1px solid rgba(255, 255, 255, 0.08);
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.4), inset 0 1px 0 rgba(255, 255, 255, 0.1);
}

/* Navbar */
.navbar {
    position: fixed;
    top: 30px;
    left: 50%;
    transform: translateX(-50%);
    width: 90%;
    max-width: 1200px;
    padding: 0 40px;
    height: 55px;
    display: flex;
    justify-content: flex-end;
    align-items: center;
    border-radius: 100px;
    z-index: 100;
}

.logo {
    position: absolute;
    left: 40px;
    top: 50%;
    transform: translateY(-50%);
    display: flex;
    align-items: center;
}

.logo img {
    height: 80px;
    width: auto;
    filter: drop-shadow(0 0 10px rgba(var(--color-accent-rgb), 0.3));
}

.nav-links {
    display: flex;
    gap: 40px;
}

.nav-link {
    color: var(--color-text);
    text-decoration: none;
    font-weight: 700;
    text-transform: uppercase;
    font-size: 0.8rem;
    letter-spacing: 2px;
    transition: color 0.3s;
}

.nav-link:hover {
    color: var(--color-accent);
}

/* Main Layout */
section {
    min-height: 100vh;
    padding: 150px 10%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    position: relative;
    z-index: 1;
}

/* Horizontal Section Dividers */
section:not(.hero):not(.newsletter-section)::before {
    content: '';
    position: absolute;
    top: 0;
    left: 10%;
    width: 80%;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--color-accent), transparent);
    opacity: 0.2;
    z-index: 10;
}

.section-header {
    margin-bottom: 60px;
}

.section-title {
    font-family: var(--font-heading);
    font-size: 3rem;
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: 2px;
}

.accent {
    color: var(--color-accent);
}

/* Hero / Canvas Container */
.hero {
    align-items: center;
    text-align: center;
    padding-top: 80px;
}

.canvas-container {
    width: 100%;
    height: 600px;
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    margin-bottom: 0px;
}

.hero-content {
    margin-top: -80px;
}

canvas {
    width: 100%;
    height: 100%;
}

.hero-subtitle {
    font-size: 1.2rem;
    letter-spacing: 10px;
    color: var(--color-text-muted);
    margin-bottom: 40px;
}

.floating-socials {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 5;
    overflow: hidden;
}

.floating-social-icon {
    position: absolute;
    width: 56px;
    height: 56px;
    display: flex;
    justify-content: center;
    align-items: center;
    border-radius: 50%;
    background: rgba(15, 15, 15, 0.7);
    border: 1px solid rgba(var(--color-accent-rgb), 0.3); /* Accent border outline by default */
    backdrop-filter: blur(12px) saturate(180%);
    -webkit-backdrop-filter: blur(12px) saturate(180%);
    color: var(--color-accent);
    opacity: 0.45; /* Slightly more transparent by default */
    pointer-events: auto;
    cursor: pointer;
    box-shadow: 0 8px 32px 0 rgba(0, 0, 0, 0.5), inset 0 1px 0 rgba(255, 255, 255, 0.15); /* Premium liquid glass styling */
    transition: opacity 0.3s, border-color 0.3s, color 0.3s, box-shadow 0.3s, scale 0.3s ease;
    animation: float-vacuum var(--dur) ease-in-out infinite alternate;
    animation-delay: var(--delay, 0s);
}

.floating-social-icon svg {
    width: 22px;
    height: 22px;
    fill: currentColor;
    transition: transform 0.3s;
}

/* Specific outline stroke support for Instagram (since it's a outline icon in index.html) */
.floating-social-icon.insta-icon svg {
    fill: none;
}

.floating-social-icon:hover {
    opacity: 1;
    color: var(--color-accent);
    border-color: var(--color-accent);
    box-shadow: 0 0 25px rgba(var(--color-accent-rgb), 0.65), 0 10px 30px rgba(0, 0, 0, 0.6), inset 0 1px 0 rgba(255, 255, 255, 0.25);
    animation-play-state: paused;
    scale: 1.18;
}

.floating-social-icon:hover svg {
    transform: scale(1.1);
}

@keyframes float-vacuum {
    0% {
        transform: translate(0, 0) rotate(0deg);
    }
    50% {
        transform: translate(var(--drift-x1), var(--drift-y1)) rotate(var(--rot1));
    }
    100% {
        transform: translate(var(--drift-x2), var(--drift-y2)) rotate(var(--rot2));
    }
}

/* Hide on mobile devices to prevent cluttering and overlaps */
@media (max-width: 768px) {
    .floating-socials {
        display: none;
    }
}

.cta-button {
    display: inline-block;
    padding: 15px 30px;
    border: 1px solid var(--color-accent);
    color: var(--color-accent);
    text-decoration: none;
    font-family: monospace;
    font-size: 0.9rem;
    letter-spacing: 3px;
    position: relative;
    overflow: hidden;
    transition: background-color 0.3s, color 0.3s, box-shadow 0.3s, border-color 0.3s, transform 0.3s;
    background: rgba(var(--color-accent-rgb), 0.05);
    border-radius: 10px;
}

.cta-button:hover {
    background: var(--color-accent);
    color: var(--color-bg);
    box-shadow: 0 0 20px rgba(var(--color-accent-rgb), 0.5);
}

.cta-button.secondary-cta {
    border-color: rgba(255, 255, 255, 0.3);
    color: #fff;
    background: rgba(255, 255, 255, 0.02);
    border-radius: 10px;
}

.cta-button.secondary-cta:hover {
    background: #fff;
    color: #000;
    box-shadow: 0 0 20px rgba(255, 255, 255, 0.3);
    border-color: #fff;
}

.pulse-btn {
    animation: cta-pulse 2s infinite ease-in-out;
}

.pulse-btn:hover {
    animation: none !important;
    background: var(--color-accent);
    color: var(--color-bg);
    box-shadow: 0 0 25px rgba(var(--color-accent-rgb), 0.8) !important;
}

@keyframes cta-pulse {
    0%, 100% {
        box-shadow: 0 0 8px rgba(var(--color-accent-rgb), 0.2);
        border-color: rgba(var(--color-accent-rgb), 0.6);
        transform: scale(1);
    }
    50% {
        box-shadow: 0 0 22px rgba(var(--color-accent-rgb), 0.6);
        border-color: var(--color-accent);
        transform: scale(1.025);
    }
}

/* Games Section */
.game-showcase {
    display: flex;
    gap: 40px;
    align-items: center;
    padding: 40px;
    border-radius: 20px;
}

.game-info {
    flex: 1;
}

.game-title {
    font-family: var(--font-heading);
    font-size: 2.5rem;
    margin-bottom: 20px;
}

.game-desc {
    color: var(--color-text-muted);
    line-height: 1.6;
    margin-bottom: 20px;
}

.game-features {
    list-style: none;
    color: var(--color-text);
}

.game-features li {
    margin-bottom: 10px;
    padding-left: 20px;
    position: relative;
}

.game-features li::before {
    content: '>';
    position: absolute;
    left: 0;
    color: var(--color-accent);
    font-family: monospace;
}

/* Steam Tags Badges */
.steam-tags-container {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 25px;
    margin-bottom: 20px;
}

.tag-badge {
    background: rgba(var(--color-accent-rgb), 0.06);
    border: 1px solid rgba(var(--color-accent-rgb), 0.15);
    color: rgba(255, 255, 255, 0.85);
    font-family: monospace;
    font-size: 0.7rem;
    letter-spacing: 1px;
    text-transform: uppercase;
    padding: 4px 10px;
    border-radius: 4px;
    transition: all 0.3s cubic-bezier(0.25, 1, 0.5, 1);
    user-select: none;
}

.tag-badge:hover {
    background: rgba(var(--color-accent-rgb), 0.12);
    border-color: var(--color-accent);
    color: var(--color-accent);
    box-shadow: 0 0 10px rgba(var(--color-accent-rgb), 0.2);
    transform: translateY(-2px);
}

.game-visual {
    flex: 1;
    width: 100%;
}

.game-gifs-container {
    display: flex;
    flex-direction: column;
    gap: 20px;
    width: 100%;
}

.game-gif-wrapper {
    position: relative;
    width: 100%;
    aspect-ratio: 16 / 9;
    border-radius: 10px;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.1);
    background: rgba(var(--color-accent-rgb), 0.03);
    transition: transform 0.4s, border-color 0.4s, box-shadow 0.4s;
}

.game-gif-wrapper:hover {
    transform: translateY(-4px);
    border-color: rgba(var(--color-accent-rgb), 0.35);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
}

.game-gif {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    filter: brightness(1.0) contrast(1.05);
    transition: filter 0.5s, transform 0.5s;
}

.game-gif-wrapper:hover .game-gif {
    filter: brightness(1.05) contrast(1.1);
    transform: scale(1.03);
}

.image-wrapper {
    width: 100%;
    border-radius: 10px;
    overflow: hidden;
    position: relative;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.game-img {
    width: 100%;
    height: auto;
    display: block;
    filter: brightness(1.0) contrast(1.05);
    transition: filter 0.5s, transform 0.5s cubic-bezier(0.25, 1, 0.5, 1);
}

.image-wrapper:hover .game-img {
    filter: brightness(1.05) contrast(1.1);
    transform: scale(1.05);
}

.game-logo-overlay {
    position: absolute;
    bottom: 50%;
    left: 50%;
    transform: translate(-50%, 50%);
    width: 60%;
    height: auto;
    pointer-events: none;
    z-index: 2;
    transition: transform 0.5s cubic-bezier(0.25, 1, 0.5, 1), filter 0.3s ease;
    filter: drop-shadow(0 0 15px rgba(0, 0, 0, 0.8));
}

.image-wrapper:hover .game-logo-overlay {
    transform: translate(-50%, 50%) scale(1.1);
    filter: drop-shadow(0 0 20px rgba(255, 0, 0, 0.5));
    /* Subtle red glow for horror */
}

/* Store Section */
.store-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.store-card {
    padding: 40px;
    border-radius: 20px;
    transition: transform 0.4s, border-color 0.4s;
}

.store-card:hover {
    transform: translateY(-10px);
    border-color: rgba(var(--color-accent-rgb), 0.5);
}

.card-title {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    margin-bottom: 15px;
}

.card-desc {
    color: var(--color-text-muted);
    line-height: 1.6;
    margin-bottom: 25px;
    font-size: 0.95rem;
}

.card-link {
    color: var(--color-accent);
    text-decoration: none;
    font-weight: 700;
    text-transform: uppercase;
    font-size: 0.8rem;
    letter-spacing: 1px;
    font-family: monospace;
}

/* ========== ABOUT ME SECTION ========== */
.about-showcase {
    display: flex;
    gap: 50px;
    align-items: center;
    padding: 50px;
    border-radius: 20px;
}

.about-photo-wrapper {
    flex-shrink: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 20px;
}

.about-photo-frame {
    width: 200px;
    height: 200px;
    border-radius: 50%;
    position: relative;
    overflow: hidden;
    border: 2px solid rgba(var(--color-accent-rgb), 0.3);
    transition: border-color 0.4s;
}

.about-photo-frame:hover {
    border-color: var(--color-accent);
}

.about-photo {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: brightness(0.9) contrast(1.1);
    transition: filter 0.5s, transform 0.5s cubic-bezier(0.25, 1, 0.5, 1);
}

.about-photo-frame:hover .about-photo {
    filter: brightness(1) contrast(1.2);
    transform: scale(1.05);
}

.about-photo-glow {
    position: absolute;
    inset: -20px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(var(--color-accent-rgb), 0.15) 0%, transparent 70%);
    pointer-events: none;
    animation: photoGlow 3s ease-in-out infinite alternate;
}

@keyframes photoGlow {
    0% { opacity: 0.5; transform: scale(1); }
    100% { opacity: 1; transform: scale(1.1); }
}

.about-status {
    display: flex;
    align-items: center;
    gap: 8px;
    font-family: monospace;
    font-size: 10px;
    letter-spacing: 2px;
    color: var(--color-accent);
    text-transform: uppercase;
}

.status-dot {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--color-accent);
    animation: statusPulse 2s ease-in-out infinite;
}

@keyframes statusPulse {
    0%, 100% { opacity: 1; box-shadow: 0 0 4px var(--color-accent); }
    50% { opacity: 0.4; box-shadow: 0 0 8px var(--color-accent); }
}

.about-bio {
    flex: 1;
}

.about-name {
    font-family: var(--font-heading);
    font-size: 2.2rem;
    font-weight: 900;
    margin-bottom: 8px;
}

.about-role {
    color: var(--color-accent);
    font-family: monospace;
    font-size: 0.85rem;
    letter-spacing: 2px;
    margin-bottom: 20px;
    opacity: 0.8;
}

.about-desc {
    color: var(--color-text-muted);
    line-height: 1.7;
    margin-bottom: 30px;
    font-size: 0.95rem;
}

.about-desc strong {
    color: var(--color-accent);
    font-weight: 700;
}

.about-stats {
    display: flex;
    gap: 40px;
}

.stat-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 4px;
}

.stat-number {
    font-family: var(--font-heading);
    font-size: 2rem;
    font-weight: 900;
    color: var(--color-accent);
    line-height: 1;
}

.stat-label {
    font-family: monospace;
    font-size: 10px;
    letter-spacing: 1px;
    text-transform: uppercase;
    color: var(--color-text-muted);
}

/* ========== PORTFOLIO SECTION ========== */
.portfolio-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.portfolio-card {
    border-radius: 20px;
    overflow: hidden;
    transition: transform 0.4s cubic-bezier(0.25, 1, 0.5, 1), border-color 0.4s;
    padding: 0;
    cursor: none;
}

.portfolio-card:hover {
    transform: translateY(-8px);
    border-color: rgba(var(--color-accent-rgb), 0.5);
}

.portfolio-img-wrapper {
    position: relative;
    overflow: hidden;
    aspect-ratio: 16 / 10;
}

.portfolio-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: brightness(1.0) contrast(1.05);
    transition: filter 0.5s, transform 0.5s cubic-bezier(0.25, 1, 0.5, 1);
}

.portfolio-card:hover .portfolio-img {
    filter: brightness(1.05) contrast(1.1);
    transform: scale(1.08);
}

.portfolio-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, transparent 40%, rgba(0, 0, 0, 0.8) 100%);
    display: flex;
    align-items: flex-end;
    justify-content: flex-start;
    padding: 16px;
    opacity: 0;
    transition: opacity 0.4s;
}

.portfolio-card:hover .portfolio-overlay {
    opacity: 1;
}

.portfolio-tag {
    font-family: monospace;
    font-size: 10px;
    letter-spacing: 2px;
    color: var(--color-accent);
    text-transform: uppercase;
    background: rgba(var(--color-accent-rgb), 0.1);
    border: 1px solid rgba(var(--color-accent-rgb), 0.3);
    padding: 4px 10px;
    border-radius: 4px;
}

.portfolio-card-title {
    font-family: var(--font-heading);
    font-size: 1rem;
    padding: 16px 20px;
    color: var(--color-text);
}

/* Portfolio scroll-down hint */
.portfolio-scroll-hint {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 8px;
    margin-top: 30px;
    opacity: 0.5;
}

.portfolio-scroll-hint span {
    font-family: monospace;
    font-size: 10px;
    letter-spacing: 2px;
    color: var(--color-accent);
    text-transform: uppercase;
}

.portfolio-scroll-hint svg {
    width: 16px;
    height: 16px;
    color: var(--color-accent);
    animation: scrollHintBounce 1.5s ease-in-out infinite;
}

@keyframes scrollHintBounce {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(6px); }
}

/* ========== PORTFOLIO LIGHTBOX ========== */
.lightbox-overlay {
    position: fixed;
    inset: 0;
    z-index: 20000;
    background: rgba(0, 0, 0, 0.92);
    backdrop-filter: blur(20px);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.4s, visibility 0.4s;
    cursor: none;
}

.lightbox-overlay.active {
    opacity: 1;
    visibility: visible;
}

.lightbox-container {
    width: 90%;
    max-width: 1100px;
    max-height: 85vh;
    display: flex;
    gap: 0;
    border-radius: 20px;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.08);
    background: rgba(15, 15, 15, 0.8);
    box-shadow: 0 40px 80px rgba(0, 0, 0, 0.6);
    transform: scale(0.9) translateY(20px);
    transition: transform 0.4s cubic-bezier(0.25, 1, 0.5, 1);
}

.lightbox-overlay.active .lightbox-container {
    transform: scale(1) translateY(0);
}

.lightbox-image-area {
    flex: 1.5;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(0, 0, 0, 0.4);
    min-height: 400px;
}

.lightbox-image-area img {
    max-width: 100%;
    max-height: 80vh;
    object-fit: contain;
}

.lightbox-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 44px;
    height: 44px;
    border-radius: 50%;
    border: 1px solid rgba(var(--color-accent-rgb), 0.3);
    background: rgba(10, 10, 10, 0.7);
    backdrop-filter: blur(8px);
    color: var(--color-accent);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: none;
    transition: all 0.3s;
    z-index: 5;
}

.lightbox-nav:hover {
    background: rgba(var(--color-accent-rgb), 0.15);
    border-color: var(--color-accent);
    box-shadow: 0 0 15px rgba(var(--color-accent-rgb), 0.3);
}

.lightbox-nav svg {
    width: 20px;
    height: 20px;
}

.lightbox-prev {
    left: 16px;
}

.lightbox-next {
    right: 16px;
}

.lightbox-info {
    flex: 0.7;
    padding: 40px 30px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 16px;
    border-left: 1px solid rgba(255, 255, 255, 0.06);
}

.lightbox-title {
    font-family: var(--font-heading);
    font-size: 1.6rem;
    font-weight: 900;
    color: var(--color-text);
}

.lightbox-desc {
    color: var(--color-text-muted);
    font-size: 0.9rem;
    line-height: 1.7;
}

.lightbox-programs-label {
    font-family: monospace;
    font-size: 10px;
    letter-spacing: 2px;
    color: var(--color-accent);
    text-transform: uppercase;
    margin-top: 8px;
}

.lightbox-programs {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.lightbox-program-tag {
    font-family: monospace;
    font-size: 11px;
    letter-spacing: 1px;
    color: var(--color-text);
    background: rgba(var(--color-accent-rgb), 0.08);
    border: 1px solid rgba(var(--color-accent-rgb), 0.2);
    padding: 5px 12px;
    border-radius: 6px;
}

.lightbox-counter {
    font-family: monospace;
    font-size: 11px;
    letter-spacing: 2px;
    color: var(--color-text-muted);
    margin-top: auto;
}

.lightbox-close {
    position: absolute;
    top: 20px;
    right: 20px;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    border: 1px solid rgba(255, 255, 255, 0.15);
    background: rgba(10, 10, 10, 0.7);
    backdrop-filter: blur(8px);
    color: var(--color-text);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: none;
    transition: all 0.3s;
    z-index: 6;
}

.lightbox-close:hover {
    border-color: rgba(255, 80, 80, 0.6);
    color: #ff5050;
    background: rgba(255, 80, 80, 0.1);
}

.lightbox-close svg {
    width: 18px;
    height: 18px;
}

.lightbox-dots {
    display: flex;
    gap: 8px;
    justify-content: center;
    margin-top: 12px;
}

.lightbox-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.2);
    transition: all 0.3s;
    cursor: none;
}

.lightbox-dot.active {
    background: var(--color-accent);
    box-shadow: 0 0 8px rgba(var(--color-accent-rgb), 0.5);
}

/* ========== CONTACT SECTION ========== */
.contact-section {
    min-height: auto;
}

.contact-wrapper {
    display: flex;
    gap: 30px;
    align-items: flex-start;
}

/* Contact Form Card */
.contact-form-card {
    flex: 1.5;
    padding: 40px;
    border-radius: 20px;
}

.contact-form-heading {
    font-family: var(--font-heading);
    font-size: 1.6rem;
    font-weight: 900;
    margin-bottom: 6px;
}

.contact-form-subtext {
    color: var(--color-text-muted);
    font-size: 0.85rem;
    margin-bottom: 30px;
    line-height: 1.5;
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.form-row {
    display: flex;
    gap: 20px;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 6px;
    flex: 1;
}

.form-group label {
    font-family: monospace;
    font-size: 10px;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: var(--color-accent);
    opacity: 0.7;
}

.form-group input,
.form-group select,
.form-group textarea {
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 10px;
    padding: 14px 16px;
    color: var(--color-text);
    font-family: var(--font-body);
    font-size: 0.9rem;
    transition: border-color 0.3s, box-shadow 0.3s, background 0.3s;
    outline: none;
    cursor: none;
}

.form-group input::placeholder,
.form-group textarea::placeholder {
    color: rgba(255, 255, 255, 0.2);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    border-color: var(--color-accent);
    box-shadow: 0 0 0 3px rgba(var(--color-accent-rgb), 0.08), 0 0 20px rgba(var(--color-accent-rgb), 0.06);
    background: rgba(var(--color-accent-rgb), 0.03);
}

.form-group select {
    appearance: none;
    -webkit-appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' fill='%2332cd32' viewBox='0 0 16 16'%3E%3Cpath d='M8 11L3 6h10z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 16px center;
    padding-right: 40px;
}

.form-group select option {
    background: #111;
    color: var(--color-text);
}

.form-group textarea {
    resize: vertical;
    min-height: 120px;
}

.form-submit {
    align-self: flex-start;
    margin-top: 5px;
    position: relative;
    overflow: hidden;
    cursor: none;
}

.form-submit.sending {
    pointer-events: none;
    border-color: rgba(var(--color-accent-rgb), 0.5);
    animation: submitPulse 1s ease-in-out infinite;
}

.form-submit.done {
    background: var(--color-accent);
    color: var(--color-bg);
    border-color: var(--color-accent);
}

@keyframes submitPulse {
    0%, 100% { box-shadow: 0 0 10px rgba(var(--color-accent-rgb), 0.2); }
    50% { box-shadow: 0 0 25px rgba(var(--color-accent-rgb), 0.5); }
}

/* Contact Info Sidebar */
.contact-info-card {
    flex: 0.8;
    padding: 40px 30px;
    border-radius: 20px;
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.contact-info-heading {
    font-family: var(--font-heading);
    font-size: 1.3rem;
    font-weight: 900;
}

.contact-detail {
    display: flex;
    align-items: flex-start;
    gap: 14px;
}

.contact-detail svg {
    width: 20px;
    height: 20px;
    color: var(--color-accent);
    flex-shrink: 0;
    margin-top: 2px;
}

.contact-detail-label {
    display: block;
    font-family: monospace;
    font-size: 9px;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: var(--color-text-muted);
    margin-bottom: 2px;
}

.contact-detail a,
.contact-detail span {
    color: var(--color-text);
    text-decoration: none;
    font-size: 0.9rem;
    transition: color 0.3s;
}

.contact-detail a:hover {
    color: var(--color-accent);
}

.contact-socials-divider {
    width: 100%;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(var(--color-accent-rgb), 0.2), transparent);
    margin: 4px 0;
}

.contact-socials-title {
    font-family: monospace;
    font-size: 10px;
    letter-spacing: 3px;
    text-transform: uppercase;
    color: var(--color-accent);
    opacity: 0.6;
}

/* Social Links */
.social-links {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
}

.social-link {
    width: 44px;
    height: 44px;
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    background: rgba(255, 255, 255, 0.03);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--color-text-muted);
    transition: all 0.35s cubic-bezier(0.25, 1, 0.5, 1);
    cursor: none;
    text-decoration: none;
}

.social-link svg {
    width: 18px;
    height: 18px;
}

.social-link:hover {
    border-color: var(--color-accent);
    color: var(--color-accent);
    background: rgba(var(--color-accent-rgb), 0.08);
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(var(--color-accent-rgb), 0.15);
}

/* Footer */
.footer {
    padding: 30px 10%;
    margin: 0 5% 30px 5%;
    border-radius: 20px;
    background: rgba(15, 15, 15, 0.4);
    border: 1px solid rgba(255, 255, 255, 0.04);
}

.footer-content {
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 14px;
}

.footer-logo-img {
    height: 50px;
    width: auto;
    opacity: 0.6;
    filter: drop-shadow(0 0 10px rgba(var(--color-accent-rgb), 0.15));
    transition: opacity 0.3s;
}

.footer-logo-img:hover {
    opacity: 1;
}

.footer-social-row {
    display: flex;
    gap: 16px;
    align-items: center;
}

.footer-social-row a {
    color: var(--color-text-muted);
    transition: color 0.3s, transform 0.3s;
    display: flex;
    cursor: none;
}

.footer-social-row a svg {
    width: 16px;
    height: 16px;
}

.footer-social-row a:hover {
    color: var(--color-accent);
    transform: translateY(-2px);
}

.footer-copy {
    color: var(--color-text-muted);
    font-size: 0.75rem;
    opacity: 0.4;
}

/* ========== TRAILER ========== */
.trailer-section {
    margin-top: 40px;
    text-align: center;
}

.trailer-heading {
    font-family: var(--font-heading);
    font-size: 1.2rem;
    font-weight: 700;
    letter-spacing: 3px;
    margin-bottom: 20px;
}

.trailer-wrapper {
    border-radius: 20px;
    padding: 6px;
    overflow: hidden;
}

.trailer-embed {
    position: relative;
    padding-bottom: 56.25%; /* 16:9 */
    height: 0;
    overflow: hidden;
    border-radius: 16px;
}

.trailer-embed iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border-radius: 16px;
}

.trailer-placeholder {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    cursor: pointer;
    background-color: #000;
}

.trailer-thumb {
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.6;
    transition: opacity 0.3s ease, transform 0.3s ease;
}

.trailer-placeholder:hover .trailer-thumb {
    opacity: 0.8;
    transform: scale(1.01);
}

.play-button-overlay {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 70px;
    height: 70px;
    background: rgba(50, 205, 50, 0.15);
    border: 2px solid var(--color-accent);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    box-shadow: 0 0 20px rgba(50, 205, 50, 0.3);
}

.play-button-overlay svg {
    width: 28px;
    height: 28px;
    color: var(--color-accent);
    margin-left: 3px;
    transition: transform 0.3s ease;
}

.trailer-placeholder:hover .play-button-overlay {
    background: var(--color-accent);
    box-shadow: 0 0 30px var(--color-accent);
    transform: translate(-50%, -50%) scale(1.08);
}

.trailer-placeholder:hover .play-button-overlay svg {
    color: #000;
    transform: scale(1.05);
}

/* ========== STEAM WIDGET ========== */
.steam-widget-wrapper {
    margin-top: 30px;
    border-radius: 14px;
    overflow: hidden;
    position: relative;
}

/* Transparent overlay to prevent cross-origin iframe from stealing cursor */
.steam-widget-wrapper::after,
.trailer-embed::after {
    content: '';
    position: absolute;
    inset: 0;
    z-index: 10;
    cursor: none;
    background: transparent;
}

/* Remove overlay once trailer is playing so YouTube controls are fully interactive */
.trailer-embed.playing::after {
    display: none;
}

/* Show pointer-style follower on hover so users know it's clickable */
.steam-widget-wrapper:hover .cursor-follower,
.trailer-embed:hover .cursor-follower {
    background-color: rgba(50, 205, 50, 0.1);
}

/* ========== PRESS KIT ========== */
.press-kit-desc {
    color: var(--color-text-muted);
    font-size: 0.9rem;
    text-align: center;
    max-width: 600px;
    margin: 0 auto 40px;
    line-height: 1.6;
}

/* Press Kit Tabs */
.press-tabs-container {
    max-width: 900px;
    margin: 0 auto 50px;
    padding: 30px;
    border-radius: 20px;
}

.press-tab-buttons {
    display: flex;
    justify-content: center;
    gap: 15px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    padding-bottom: 20px;
    margin-bottom: 30px;
    flex-wrap: wrap;
}

.press-tab-btn {
    background: transparent;
    border: none;
    color: var(--color-text-muted);
    font-family: var(--font-heading);
    font-size: 0.85rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    padding: 10px 20px;
    cursor: pointer;
    transition: color 0.3s, text-shadow 0.3s;
    border-radius: 8px;
    border: 1px solid transparent;
}

.press-tab-btn:hover {
    color: var(--color-text);
}

.press-tab-btn.active {
    color: var(--color-accent);
    border-color: rgba(var(--color-accent-rgb), 0.2);
    background: rgba(var(--color-accent-rgb), 0.04);
    text-shadow: 0 0 10px rgba(var(--color-accent-rgb), 0.3);
}

.press-tab-content {
    display: none;
    animation: fadeIn 0.4s ease forwards;
}

.press-tab-content.active {
    display: block;
}

/* Factsheet Tab Grid */
.press-factsheet-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 20px;
}

.press-fact-item {
    display: flex;
    flex-direction: column;
    gap: 5px;
    padding-bottom: 15px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.04);
}

.press-fact-lbl {
    font-size: 0.75rem;
    color: var(--color-text-muted);
    text-transform: uppercase;
    letter-spacing: 0.08em;
}

.press-fact-val {
    font-size: 0.9rem;
    color: var(--color-text);
    font-weight: 500;
}

/* Description Tab Styling */
.press-description-content {
    line-height: 1.7;
    font-size: 0.9rem;
    color: var(--color-text);
}

.press-desc-text {
    margin-bottom: 25px;
}

.press-section-sub {
    font-family: var(--font-heading);
    font-size: 0.85rem;
    color: var(--color-accent);
    margin-bottom: 15px;
    letter-spacing: 0.08em;
    text-shadow: 0 0 8px rgba(var(--color-accent-rgb), 0.2);
}

.press-features-list {
    list-style-type: none;
    padding-left: 0;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.press-features-list li {
    position: relative;
    padding-left: 20px;
}

.press-features-list li::before {
    content: "■";
    position: absolute;
    left: 0;
    color: var(--color-accent);
    font-size: 0.65rem;
    top: 2px;
}

/* Quote Tab Styling */
.press-quote {
    border-left: 3px solid var(--color-accent);
    padding: 10px 0 10px 25px;
    margin: 0;
}

.press-quote-text {
    font-size: 1.05rem;
    line-height: 1.7;
    color: var(--color-text);
    font-style: italic;
    margin-bottom: 15px;
}

.press-quote-author {
    font-size: 0.85rem;
    color: var(--color-text-muted);
    font-weight: 700;
    letter-spacing: 0.05em;
}

/* Press Release Tab Styling */
.press-release-content {
    line-height: 1.8;
    font-size: 0.9rem;
}

.press-release-badge {
    display: inline-block;
    background: rgba(var(--color-accent-rgb), 0.1);
    color: var(--color-accent);
    font-size: 0.7rem;
    font-weight: 700;
    padding: 4px 10px;
    border-radius: 4px;
    letter-spacing: 0.1em;
    margin-bottom: 20px;
    border: 1px solid rgba(var(--color-accent-rgb), 0.2);
}

.press-release-title {
    font-family: var(--font-heading);
    font-size: 1.4rem;
    font-weight: 800;
    line-height: 1.4;
    margin-bottom: 10px;
    color: var(--color-text);
}

.press-release-date {
    display: block;
    font-size: 0.8rem;
    color: var(--color-text-muted);
    margin-bottom: 25px;
    font-weight: 600;
}

.press-release-content p {
    margin-bottom: 20px;
    color: rgba(255, 255, 255, 0.9);
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(5px); }
    to { opacity: 1; transform: translateY(0); }
}

/* ========== PRESS KIT FULL-WIDTH CARD ========== */
.press-kit-full {
    padding: 40px 48px;
    border-radius: 20px;
    transition: box-shadow 0.3s;
}

.press-kit-full:hover {
    box-shadow: 0 16px 50px rgba(var(--color-accent-rgb), 0.10);
}

/* Outer horizontal split wrapper */
.press-kit-split {
    display: flex;
    align-items: stretch;
    gap: 0;
}

/* LEFT column — icon, title, subtitle, button stacked */
.press-kit-left {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 14px;
    min-width: 260px;
    width: 260px;
    flex-shrink: 0;
    padding-right: 40px;
}

.press-kit-hero-icon svg {
    width: 48px;
    height: 48px;
    color: var(--color-accent);
    filter: drop-shadow(0 0 10px rgba(var(--color-accent-rgb), 0.4));
}

.press-kit-hero-title {
    font-family: var(--font-heading);
    font-size: 1.15rem;
    font-weight: 800;
    letter-spacing: 2px;
    color: var(--color-text);
    line-height: 1.2;
}

.press-kit-hero-subtitle {
    font-size: 0.78rem;
    color: var(--color-accent);
    opacity: 0.85;
    font-style: italic;
    line-height: 1.4;
}

.press-hero-btn {
    width: 100%;
    text-align: center;
    font-size: 0.82rem;
    padding: 12px 20px;
    margin-top: auto;
    white-space: nowrap;
}

/* Vertical divider between left and right */
.press-kit-split-divider {
    width: 1px;
    align-self: stretch;
    background: linear-gradient(180deg, transparent, rgba(var(--color-accent-rgb), 0.25), transparent);
    flex-shrink: 0;
}

/* RIGHT column — contents list */
.press-kit-right {
    flex: 1;
    padding-left: 40px;
}

.press-kit-contents-heading {
    font-family: var(--font-heading);
    font-size: 0.75rem;
    letter-spacing: 2px;
    color: var(--color-text-muted);
    text-transform: uppercase;
    margin-bottom: 16px;
}

.press-kit-contents-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

/* 2-column override */
.press-kit-contents-2col {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
}

.press-kit-contents-list li {
    display: flex;
}

.press-kit-link {
    display: flex;
    align-items: center;
    width: 100%;
    gap: 10px;
    padding: 10px 14px;
    border-radius: 10px;
    background: rgba(var(--color-accent-rgb), 0.03);
    border: 1px solid rgba(var(--color-accent-rgb), 0.07);
    font-size: 0.84rem;
    color: var(--color-text-muted);
    text-decoration: none;
    line-height: 1.4;
    transition: background 0.2s, border-color 0.2s, color 0.2s;
    cursor: pointer;
}

.press-kit-link:hover {
    background: rgba(var(--color-accent-rgb), 0.07);
    border-color: rgba(var(--color-accent-rgb), 0.18);
    color: var(--color-text);
}

/* SVG icons inside list items */
.pk-svg {
    width: 16px;
    height: 16px;
    flex-shrink: 0;
    color: var(--color-accent);
    opacity: 0.8;
    transition: opacity 0.2s;
}

.press-kit-link:hover .pk-svg {
    opacity: 1;
}

.press-kit-contents-list code {
    font-family: monospace;
    font-size: 0.79rem;
    color: var(--color-text-muted);
    word-break: break-all;
}

.press-kit-contents-list strong {
    color: var(--color-text);
    font-weight: 600;
}

.press-download {
    padding: 8px 20px;
    font-size: 0.7rem;
    margin-top: auto;
}

/* Inline game title link */
.game-link-inline {
    color: var(--color-accent);
    text-decoration: none;
    border-bottom: 1px solid rgba(var(--color-accent-rgb), 0.4);
    transition: border-color 0.2s, text-shadow 0.2s;
}

.game-link-inline:hover {
    border-bottom-color: var(--color-accent);
    text-shadow: 0 0 8px rgba(var(--color-accent-rgb), 0.3);
}

/* ========== NEWSLETTER ========== */
.newsletter-section {
    padding: 60px 5%;
    min-height: auto;
}

.newsletter-card {
    padding: 50px 40px;
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 40px;
}

.newsletter-heading {
    font-family: var(--font-heading);
    font-size: 1.8rem;
    font-weight: 900;
    margin-bottom: 8px;
}

.newsletter-desc {
    color: var(--color-text-muted);
    font-size: 0.85rem;
    max-width: 400px;
    line-height: 1.5;
}

.newsletter-form {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.newsletter-input-group {
    display: flex;
    gap: 10px;
}

.newsletter-input-group input {
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 10px;
    padding: 14px 18px;
    color: var(--color-text);
    font-family: var(--font-body);
    font-size: 0.9rem;
    outline: none;
    width: 280px;
    transition: border-color 0.3s, box-shadow 0.3s;
    cursor: none;
}

.newsletter-input-group input:focus {
    border-color: var(--color-accent);
    box-shadow: 0 0 0 3px rgba(var(--color-accent-rgb), 0.08);
}

.newsletter-input-group input::placeholder {
    color: rgba(255, 255, 255, 0.2);
}

.newsletter-submit {
    white-space: nowrap;
    cursor: none;
}

.newsletter-privacy {
    font-size: 0.7rem;
    color: var(--color-text-muted);
    opacity: 0.5;
}

/* ========== BACK TO TOP ========== */
.back-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 44px;
    height: 44px;
    border-radius: 12px;
    border: 1px solid rgba(var(--color-accent-rgb), 0.2);
    background: rgba(10, 10, 10, 0.8);
    backdrop-filter: blur(10px);
    color: var(--color-accent);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: none;
    z-index: 9000;
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px);
    transition: all 0.35s cubic-bezier(0.25, 1, 0.5, 1);
}

.back-to-top.visible {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.back-to-top:hover {
    background: var(--color-accent);
    color: var(--color-bg);
    border-color: var(--color-accent);
    box-shadow: 0 0 20px rgba(var(--color-accent-rgb), 0.3);
}

.back-to-top svg {
    width: 20px;
    height: 20px;
}

/* ========== RESPONSIVE ========== */

/* === Hamburger Menu Button (mobile only) === */
.hamburger {
    display: none;
    flex-direction: column;
    justify-content: center;
    gap: 5px;
    width: 32px;
    height: 32px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 4px;
    z-index: 110;
}

.hamburger span {
    display: block;
    width: 100%;
    height: 2px;
    background: var(--color-accent);
    border-radius: 2px;
    transition: all 0.3s;
}

.hamburger.active span:nth-child(1) { transform: rotate(45deg) translate(5px, 5px); }
.hamburger.active span:nth-child(2) { opacity: 0; }
.hamburger.active span:nth-child(3) { transform: rotate(-45deg) translate(5px, -5px); }

/* === TABLET (max-width: 1024px) === */
@media (max-width: 1024px) {
    section {
        padding: 120px 6%;
    }

    .section-title {
        font-size: 2.4rem;
    }

    .game-showcase {
        flex-direction: column;
        padding: 30px;
    }

    .game-title {
        font-size: 2rem;
    }

    .about-showcase {
        flex-direction: column;
        text-align: center;
        padding: 35px;
    }

    .about-stats {
        justify-content: center;
    }

    .portfolio-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }

    .lightbox-container {
        flex-direction: column;
        max-height: 90vh;
        overflow-y: auto;
    }

    .lightbox-image-area {
        min-height: 250px;
    }

    .lightbox-info {
        border-left: none;
        border-top: 1px solid rgba(255, 255, 255, 0.06);
        padding: 25px 20px;
    }

    .lightbox-title {
        font-size: 1.3rem;
    }

    .nav-links {
        gap: 25px;
    }

    .nav-link {
        font-size: 0.7rem;
    }

    .side-nav {
        left: 12px;
    }

    .side-nav-dot {
        width: 36px;
        height: 36px;
    }

    .side-nav-dot svg {
        width: 16px;
        height: 16px;
    }

    /* Hide gravitational lens on tablets (no precision hover) */
    .cursor-warp {
        display: none;
    }

    .blob-1 { width: 400px; height: 400px; }
    .blob-2 { width: 350px; height: 350px; }
    .blob-3 { width: 250px; height: 250px; }

    .contact-wrapper {
        flex-direction: column;
    }

    .contact-form-card,
    .contact-info-card {
        padding: 30px;
    }
}

/* === MOBILE (max-width: 768px) === */
@media (max-width: 768px) {
    body {
        cursor: auto;
        background-size: 30px 30px;
    }

    .cursor,
    .cursor-follower,
    .cursor-warp {
        display: none !important;
    }

    .side-nav {
        display: none;
    }

    /* Navbar → hamburger */
    .navbar {
        width: 92%;
        padding: 0 20px;
        height: 50px;
        border-radius: 16px;
        top: 16px;
    }

    .logo {
        left: 20px;
    }

    .logo img {
        height: 55px;
    }

    .hamburger {
        display: flex;
    }

    .nav-links {
        display: none;
        position: absolute;
        top: calc(100% + 10px);
        right: 0;
        background: rgba(10, 10, 10, 0.95);
        backdrop-filter: blur(20px);
        border: 1px solid rgba(var(--color-accent-rgb), 0.15);
        border-radius: 16px;
        padding: 20px 30px;
        flex-direction: column;
        gap: 18px;
        min-width: 200px;
    }

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

    .nav-link {
        font-size: 0.85rem;
    }

    /* Hero */
    section {
        padding: 100px 5%;
        min-height: auto;
    }

    .hero {
        padding-top: 60px;
        min-height: 100vh;
    }

    .canvas-container {
        height: 350px;
    }

    .hero-content {
        margin-top: -40px;
    }

    .hero-subtitle {
        font-size: 0.7rem;
        letter-spacing: 5px;
    }

    .cta-button {
        padding: 12px 24px;
        font-size: 0.75rem;
        letter-spacing: 2px;
    }

    .section-title {
        font-size: 1.8rem;
    }

    .section-header {
        margin-bottom: 30px;
    }

    /* Game showcase */
    .game-showcase {
        flex-direction: column;
        padding: 20px;
        gap: 25px;
    }

    .game-title {
        font-size: 1.6rem;
    }

    .game-desc {
        font-size: 0.9rem;
    }

    /* About */
    .about-showcase {
        flex-direction: column;
        text-align: center;
        padding: 25px 20px;
        gap: 30px;
    }

    .about-photo-frame {
        width: 150px;
        height: 150px;
    }

    .about-name {
        font-size: 1.8rem;
    }

    .about-stats {
        justify-content: center;
        gap: 25px;
    }

    .stat-number {
        font-size: 1.6rem;
    }

    /* Portfolio */
    .portfolio-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 15px;
    }

    .portfolio-card-title {
        font-size: 0.85rem;
        padding: 12px 14px;
    }

    /* Lightbox - full screen on mobile */
    .lightbox-container {
        width: 96%;
        flex-direction: column;
        max-height: 92vh;
        border-radius: 14px;
        overflow-y: auto;
    }

    .lightbox-image-area {
        min-height: 200px;
    }

    .lightbox-info {
        border-left: none;
        border-top: 1px solid rgba(255, 255, 255, 0.06);
        padding: 20px 16px;
    }

    .lightbox-title {
        font-size: 1.2rem;
    }

    .lightbox-desc {
        font-size: 0.8rem;
    }

    .lightbox-nav {
        width: 36px;
        height: 36px;
    }

    .lightbox-nav svg {
        width: 16px;
        height: 16px;
    }

    .lightbox-prev { left: 8px; }
    .lightbox-next { right: 8px; }

    /* Store */
    .store-grid {
        grid-template-columns: 1fr;
        gap: 16px;
    }

    .store-card {
        padding: 25px;
    }

    /* Contact */
    .contact-wrapper {
        flex-direction: column;
    }

    .contact-form-card {
        padding: 24px 20px;
    }

    .contact-info-card {
        padding: 24px 20px;
    }

    .form-row {
        flex-direction: column;
        gap: 16px;
    }

    .contact-form-heading {
        font-size: 1.3rem;
    }

    .form-group input,
    .form-group select,
    .form-group textarea {
        cursor: auto;
    }

    .form-submit {
        cursor: auto;
        width: 100%;
        text-align: center;
    }

    .social-link {
        cursor: auto;
    }

    /* Footer */
    .footer {
        margin: 0 3% 20px 3%;
        padding: 30px 5%;
    }

    .footer-logo-img {
        height: 45px;
    }

    /* HUD */
    .hud-overlay {
        top: 10px;
        left: 10px;
        right: 10px;
        bottom: 10px;
    }

    .hud-corner {
        width: 14px;
        height: 14px;
    }

    .hud-text {
        font-size: 7px;
        letter-spacing: 1px;
    }

    /* Blobs smaller */
    .blob-1 { width: 250px; height: 250px; }
    .blob-2 { width: 200px; height: 200px; }
    .blob-3 { width: 150px; height: 150px; }
    .liquid-blobs { filter: blur(60px); opacity: 0.4; }

    /* Bottom gradient smaller on mobile */
    #bottom-gradient-canvas {
        height: 20vh;
    }
}

/* === SMALL PHONE (max-width: 480px) === */
@media (max-width: 480px) {
    section {
        padding: 80px 4%;
    }

    .hero {
        padding-top: 50px;
    }

    .canvas-container {
        height: 250px;
    }

    .hero-subtitle {
        font-size: 0.6rem;
        letter-spacing: 3px;
    }

    .section-title {
        font-size: 1.4rem;
    }

    .game-title {
        font-size: 1.3rem;
    }

    .game-showcase,
    .about-showcase {
        padding: 16px;
    }

    .about-photo-frame {
        width: 120px;
        height: 120px;
    }

    .about-name {
        font-size: 1.4rem;
    }

    .about-role {
        font-size: 0.75rem;
    }

    .about-desc {
        font-size: 0.85rem;
    }

    .about-stats {
        gap: 16px;
    }

    .stat-number {
        font-size: 1.3rem;
    }

    /* Portfolio: single column on very small screens */
    .portfolio-grid {
        grid-template-columns: 1fr;
        gap: 12px;
    }

    .store-card {
        padding: 20px;
    }

    .card-title {
        font-size: 1.2rem;
    }

    .footer {
        margin: 0 2% 16px 2%;
        padding: 24px 4%;
    }

    .cta-button {
        padding: 10px 20px;
        font-size: 0.7rem;
    }

    .lightbox-close {
        top: 10px;
        right: 10px;
        width: 34px;
        height: 34px;
    }
}

/* ========== DEVLOG SECTION ========== */
.devlog-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.devlog-card {
    border-radius: 20px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    transition: transform 0.4s cubic-bezier(0.25, 1, 0.5, 1), border-color 0.4s;
    padding: 0;
}

.devlog-card:hover {
    transform: translateY(-8px);
    border-color: rgba(var(--color-accent-rgb), 0.5);
}

.devlog-img-wrapper {
    position: relative;
    overflow: hidden;
    aspect-ratio: 16 / 9;
}

.devlog-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: brightness(0.7) contrast(1.1);
    transition: filter 0.5s, transform 0.5s cubic-bezier(0.25, 1, 0.5, 1);
}

.devlog-card:hover .devlog-img {
    filter: brightness(0.9) contrast(1.2);
    transform: scale(1.05);
}

.devlog-date {
    position: absolute;
    bottom: 12px;
    right: 12px;
    background: rgba(10, 10, 10, 0.85);
    border: 1px solid rgba(var(--color-accent-rgb), 0.3);
    color: var(--color-accent);
    font-family: monospace;
    font-size: 10px;
    padding: 4px 8px;
    border-radius: 4px;
    letter-spacing: 1px;
}

.devlog-info {
    padding: 24px;
    display: flex;
    flex-direction: column;
    gap: 12px;
    flex: 1;
}

.devlog-tag {
    font-family: monospace;
    font-size: 10px;
    letter-spacing: 2px;
    color: var(--color-accent);
    text-transform: uppercase;
    align-self: flex-start;
    border: 1px solid rgba(var(--color-accent-rgb), 0.3);
    background: rgba(var(--color-accent-rgb), 0.05);
    padding: 3px 8px;
    border-radius: 4px;
}

.devlog-card-title {
    font-family: var(--font-heading);
    font-size: 1.15rem;
    font-weight: 700;
    line-height: 1.4;
    color: var(--color-text);
}

.devlog-excerpt {
    color: var(--color-text-muted);
    font-size: 0.88rem;
    line-height: 1.6;
    margin-bottom: 10px;
}

.devlog-btn {
    align-self: flex-start;
    padding: 8px 18px;
    font-size: 0.75rem;
    margin-top: auto;
}

/* ========== DEVLOG LIGHTBOX MODAL ========== */
.devlog-lightbox-overlay {
    position: fixed;
    inset: 0;
    z-index: 20000;
    background: rgba(0, 0, 0, 0.92);
    backdrop-filter: blur(20px);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.4s, visibility 0.4s;
}

.devlog-lightbox-overlay.active {
    opacity: 1;
    visibility: visible;
}

.devlog-lightbox-container {
    width: 90%;
    max-width: 800px;
    max-height: 80vh;
    border-radius: 20px;
    overflow-y: auto;
    padding: 40px;
    display: flex;
    flex-direction: column;
    gap: 20px;
    transform: scale(0.9) translateY(20px);
    transition: transform 0.4s cubic-bezier(0.25, 1, 0.5, 1);
}

.devlog-lightbox-overlay.active .devlog-lightbox-container {
    transform: scale(1) translateY(0);
}

.devlog-lightbox-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.devlog-lightbox-tag {
    font-family: monospace;
    font-size: 11px;
    letter-spacing: 2px;
    color: var(--color-accent);
    text-transform: uppercase;
    border: 1px solid rgba(var(--color-accent-rgb), 0.3);
    background: rgba(var(--color-accent-rgb), 0.05);
    padding: 4px 10px;
    border-radius: 4px;
}

.devlog-lightbox-date {
    font-family: monospace;
    font-size: 11px;
    color: var(--color-text-muted);
}

.devlog-lightbox-title {
    font-family: var(--font-heading);
    font-size: 1.8rem;
    font-weight: 900;
    color: var(--color-text);
}

.devlog-lightbox-content {
    color: var(--color-text-muted);
    font-size: 0.95rem;
    line-height: 1.8;
}

.devlog-lightbox-content p {
    margin-bottom: 16px;
}

.devlog-lightbox-content h4 {
    color: var(--color-text);
    font-size: 1.15rem;
    font-weight: 700;
    margin: 24px 0 12px;
}

.devlog-lightbox-close {
    position: absolute;
    top: 20px;
    right: 20px;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    border: 1px solid rgba(255, 255, 255, 0.15);
    background: rgba(10, 10, 10, 0.7);
    backdrop-filter: blur(8px);
    color: var(--color-text);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s;
    z-index: 6;
}

.devlog-lightbox-close:hover {
    border-color: rgba(255, 80, 80, 0.6);
    color: #ff5050;
    background: rgba(255, 80, 80, 0.1);
}

.devlog-lightbox-close svg {
    width: 18px;
    height: 18px;
}

/* ========== FLOATING SETTINGS & CONFIG PANEL ========== */
.settings-toggle {
    position: fixed;
    left: 28px;
    bottom: 30px;
    width: 44px;
    height: 44px;
    border-radius: 12px;
    border: 1px solid rgba(var(--color-accent-rgb), 0.2);
    background: rgba(10, 10, 10, 0.8);
    backdrop-filter: blur(10px);
    color: var(--color-accent);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 9500;
    transition: all 0.35s cubic-bezier(0.25, 1, 0.5, 1);
}

.settings-toggle:hover {
    background: var(--color-accent);
    color: var(--color-bg);
    border-color: var(--color-accent);
    box-shadow: 0 0 20px rgba(var(--color-accent-rgb), 0.3);
    transform: rotate(45deg);
}

.settings-toggle svg {
    width: 20px;
    height: 20px;
}

/* Tooltip for settings toggle */
.settings-toggle::after {
    content: attr(data-tooltip);
    position: absolute;
    left: calc(100% + 14px);
    top: 50%;
    transform: translateY(-50%) translateX(-5px);
    background: rgba(10, 10, 10, 0.9);
    border: 1px solid rgba(var(--color-accent-rgb), 0.3);
    color: var(--color-accent);
    font-family: monospace;
    font-size: 10px;
    letter-spacing: 2px;
    text-transform: uppercase;
    padding: 6px 12px;
    border-radius: 6px;
    white-space: nowrap;
    opacity: 0;
    pointer-events: none;
    transition: all 0.3s cubic-bezier(0.25, 1, 0.5, 1);
}

.settings-toggle:hover::after {
    opacity: 1;
    transform: translateY(-50%) translateX(0);
}

.settings-panel {
    position: fixed;
    left: 28px;
    bottom: 84px;
    width: 320px;
    border-radius: 20px;
    z-index: 9500;
    padding: 24px;
    transform: translateX(-400px);
    opacity: 0;
    visibility: hidden;
    transition: all 0.4s cubic-bezier(0.25, 1, 0.5, 1);
}

.settings-panel.active {
    transform: translateX(0);
    opacity: 1;
    visibility: visible;
}

.settings-panel-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
    border-bottom: 1px solid rgba(var(--color-accent-rgb), 0.15);
    padding-bottom: 12px;
}

.settings-panel-title {
    font-family: monospace;
    font-size: 11px;
    letter-spacing: 2px;
    color: var(--color-accent);
    font-weight: 700;
}

.settings-panel-close {
    background: none;
    border: none;
    color: var(--color-text-muted);
    font-size: 20px;
    cursor: none;
    transition: color 0.3s;
}

.settings-panel-close:hover {
    color: var(--color-accent);
}

.settings-group {
    display: flex;
    flex-direction: column;
    gap: 8px;
    margin-bottom: 20px;
}

.settings-group:last-child {
    margin-bottom: 0;
}

.settings-label {
    font-family: monospace;
    font-size: 9px;
    letter-spacing: 2px;
    color: var(--color-text-muted);
}

.settings-options {
    display: flex;
    gap: 8px;
}

.settings-btn {
    flex: 1;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 8px;
    padding: 8px 12px;
    color: var(--color-text);
    font-family: monospace;
    font-size: 10px;
    letter-spacing: 1px;
    cursor: none;
    transition: all 0.3s;
}

.settings-btn:hover {
    border-color: rgba(var(--color-accent-rgb), 0.4);
    background: rgba(var(--color-accent-rgb), 0.04);
}

.settings-btn.active {
    background: var(--color-accent);
    color: var(--color-bg);
    border-color: var(--color-accent);
    font-weight: 700;
}

.palette-options {
    display: flex;
    gap: 12px;
}

.palette-btn {
    width: 32px;
    height: 32px;
    border-radius: 8px;
    border: 2px solid transparent;
    cursor: none;
    transition: all 0.3s;
}

.palette-btn:hover {
    transform: scale(1.1);
}

.palette-btn.active {
    border-color: var(--color-text);
    box-shadow: 0 0 10px var(--color-accent);
    transform: scale(1.1);
}

/* ========== REAL-TIME HUD STATISTICS ========== */
.hud-stats-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
    margin-top: 30px;
    border-top: 1px dashed rgba(var(--color-accent-rgb), 0.2);
    padding-top: 24px;
}

.hud-stat-card {
    background: rgba(255, 255, 255, 0.01);
    border: 1px solid rgba(var(--color-accent-rgb), 0.08);
    border-radius: 12px;
    padding: 14px;
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.hud-stat-label {
    font-family: monospace;
    font-size: 9px;
    letter-spacing: 2px;
    color: var(--color-text-muted);
}

.hud-stat-value {
    font-family: var(--font-heading);
    font-size: 1.3rem;
    font-weight: 700;
    color: var(--color-text);
    transition: color 0.3s;
}

.hud-stat-value.text-accent {
    color: var(--color-accent);
    text-shadow: 0 0 10px rgba(var(--color-accent-rgb), 0.2);
}

.hud-stat-sublabel {
    font-family: monospace;
    font-size: 8px;
    letter-spacing: 1.5px;
    color: var(--color-accent);
    opacity: 0.7;
    text-transform: uppercase;
}

/* ========== RESPONSIVE OVERRIDES ========== */
@media (max-width: 1024px) {
    .devlog-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }
    .press-kit-full {
        padding: 32px 32px;
    }
    .press-kit-split {
        flex-direction: column;
        gap: 28px;
    }
    .press-kit-left {
        width: 100%;
        flex-direction: row;
        align-items: center;
        flex-wrap: wrap;
        gap: 16px;
        padding-right: 0;
    }
    .press-kit-left .press-kit-hero-icon { display: none; }
    .press-kit-split-divider {
        width: 100%;
        height: 1px;
        background: linear-gradient(90deg, transparent, rgba(var(--color-accent-rgb), 0.25), transparent);
    }
    .press-kit-right {
        padding-left: 0;
    }
}

@media (max-width: 768px) {
    .devlog-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    .press-kit-full {
        padding: 24px 20px;
    }
    .press-kit-left {
        flex-direction: column;
        align-items: flex-start;
    }
    .press-kit-contents-2col {
        grid-template-columns: 1fr;
    }
    
    .hud-stats-grid {
        grid-template-columns: 1fr;
        gap: 12px;
    }
    
    .settings-panel {
        left: 20px;
        bottom: 74px;
        width: calc(100% - 40px);
        max-width: 320px;
    }
    
    .settings-toggle {
        left: 20px;
        bottom: 20px;
    }
}

/* Ensure relative positioning for elements animated via GSAP top-parallax offset */
.devlog-card, .portfolio-card, .store-card, .press-kit-full, .about-photo-wrapper, .about-bio {
    position: relative !important;
}

/* ========== TOOLS GRID (Hub) ========== */
.tools-subtitle {
    margin-top: 14px;
    color: var(--color-text-muted);
    font-family: var(--font-body);
    font-size: 1rem;
}

.tools-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 26px;
    overflow: visible;
}

.tool-tile {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 16px;
    height: 180px;
    padding: 30px 22px;
    border-radius: 24px;
    text-decoration: none;
    color: var(--color-text);
    cursor: none;
    overflow: visible;
    z-index: 1;
    transition: transform 0.4s cubic-bezier(0.25, 1, 0.5, 1), border-color 0.4s, box-shadow 0.4s;
}

.tool-tile:hover,
.tool-tile.expanded {
    transform: translateY(-6px) scale(1.03);
    border-color: rgba(var(--color-accent-rgb), 0.6);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.5), 0 0 30px rgba(var(--color-accent-rgb), 0.25), inset 0 1px 0 rgba(255, 255, 255, 0.1);
    z-index: 5;
}

.tool-tile-icon {
    width: 42px;
    height: 42px;
    color: var(--color-accent);
    transition: transform 0.4s;
}

.tool-tile-icon svg {
    width: 100%;
    height: 100%;
}

.tool-tile:hover .tool-tile-icon,
.tool-tile.expanded .tool-tile-icon {
    transform: scale(1.1) translateY(-2px);
}

.tool-tile-title {
    font-family: var(--font-heading);
    font-size: 1rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    text-align: center;
}

.tool-tile-tab {
    position: absolute;
    left: 0;
    right: 0;
    top: 100%;
    margin-top: 10px;
    padding: 0 22px;
    max-height: 0;
    opacity: 0;
    overflow: hidden;
    pointer-events: none;
    transform: translateY(-6px);
    background: rgba(15, 15, 15, 0.85);
    backdrop-filter: blur(24px) saturate(180%);
    -webkit-backdrop-filter: blur(24px) saturate(180%);
    border: 1px solid rgba(var(--color-accent-rgb), 0.3);
    border-radius: 16px;
    transition: max-height 0.4s ease, opacity 0.3s ease, transform 0.4s ease, padding 0.4s ease;
    z-index: 4;
}

.tool-tile:hover .tool-tile-tab,
.tool-tile.expanded .tool-tile-tab {
    max-height: 220px;
    opacity: 1;
    padding: 18px 22px 20px;
    transform: translateY(0);
    pointer-events: auto;
}

.tool-tile-desc {
    font-family: var(--font-body);
    font-size: 0.85rem;
    line-height: 1.5;
    color: var(--color-text-muted);
    margin-bottom: 12px;
}

.tool-tile-cta {
    display: inline-block;
    font-family: monospace;
    font-size: 0.75rem;
    letter-spacing: 2px;
    color: var(--color-accent);
}

@media (max-width: 1024px) {
    .tools-grid {
        grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
        gap: 20px;
    }
}

@media (max-width: 768px) {
    .tools-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 16px;
    }

    .tool-tile {
        height: 160px;
        padding: 24px 16px;
    }
}

@media (max-width: 480px) {
    .tools-grid {
        grid-template-columns: 1fr;
    }
}

/* ========== HUB COMPACT LAYOUT ========== */
.hero {
    min-height: 0;
    padding: 130px 10% 20px;
}

.hub-intro {
    padding: 0 10% 40px;
    text-align: center;
}

.hub-intro p {
    max-width: 680px;
    margin: 0 auto;
    color: var(--color-text-muted);
    font-family: var(--font-body);
    font-size: 1.05rem;
    line-height: 1.7;
}

.tools {
    min-height: 0;
    padding: 20px 10% 120px;
}

@media (max-width: 768px) {
    .hero {
        padding: 100px 6% 10px;
    }

    .hub-intro {
        padding: 0 6% 30px;
    }

    .hub-intro p {
        font-size: 0.95rem;
    }

    .tools {
        padding: 10px 6% 90px;
    }
}

/* ========== NAVBAR SUPPORT BUTTON ========== */
.navbar-support-btn {
    display: inline-flex;
    align-items: center;
    padding: 8px 18px;
    margin-left: 30px;
    border-radius: 100px;
    background: rgba(var(--color-accent-rgb), 0.12);
    border: 1px solid rgba(var(--color-accent-rgb), 0.4);
    color: var(--color-accent);
    text-decoration: none;
    font-weight: 700;
    text-transform: uppercase;
    font-size: 0.75rem;
    letter-spacing: 1.5px;
    white-space: nowrap;
    transition: background 0.3s, transform 0.3s, box-shadow 0.3s;
}

.navbar-support-btn:hover {
    background: rgba(var(--color-accent-rgb), 0.25);
    transform: translateY(-2px);
    box-shadow: 0 0 18px rgba(var(--color-accent-rgb), 0.35);
}

@media (max-width: 768px) {
    .navbar-support-btn {
        display: none;
    }
}

/* ========== SUPPORT SECTION ========== */
.support-section {
    min-height: 0;
    padding: 40px 10% 120px;
}

.support-content {
    display: block;
    width: 100%;
    max-width: 1600px;
    margin: 0 auto;
    text-align: left;
}

.support-pitch {
    font-family: var(--font-body);
    color: var(--color-text-muted);
    font-size: 1.05rem;
    line-height: 1.7;
    margin: 0 auto 40px;
    max-width: 720px;
    text-align: center;
}

/* CSS Grid, not flex+gap — with two equal 1fr columns the boundary between them
   lands at exactly 50% of the section. Spacing comes from padding *inside* each
   column, not from a gap, so it never shifts that boundary off-center. */
.support-columns {
    display: grid;
    grid-template-columns: 1fr 1fr;
    align-items: start;
    text-align: left;
}

.support-col-main {
    min-width: 0;
    padding-right: 40px;
    text-align: center;
}

.support-col-side {
    min-width: 0;
    padding-top: 4px;
}

.support-progress-wrap {
    margin-bottom: 40px;
}

.support-progress-labels {
    display: flex;
    justify-content: space-between;
    font-family: monospace;
    font-size: 0.8rem;
    letter-spacing: 1px;
    color: var(--color-text-muted);
    margin-bottom: 12px;
    text-transform: uppercase;
}

#support-progress-percent {
    color: var(--color-accent);
    font-weight: 700;
}

.support-progress-track {
    width: 100%;
    height: 14px;
    border-radius: 100px;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(var(--color-accent-rgb), 0.2);
    overflow: hidden;
}

.support-progress-track-big {
    height: 36px;
    border-radius: 18px;
}

.support-progress-fill {
    height: 100%;
    width: 0%;
    border-radius: inherit;
    background: linear-gradient(90deg, rgba(var(--color-accent-rgb), 0.6), var(--color-accent));
    box-shadow: 0 0 16px rgba(var(--color-accent-rgb), 0.6);
    transition: width 1.2s cubic-bezier(0.25, 1, 0.5, 1);
}

.support-progress-goal {
    margin-top: 12px;
    font-size: 0.85rem;
    color: var(--color-text-muted);
    font-family: var(--font-body);
}

.support-bmc-btn {
    display: inline-block;
    padding: 18px 42px;
    border-radius: 100px;
    background: var(--color-accent);
    color: #070707;
    text-decoration: none;
    font-family: var(--font-heading);
    font-weight: 800;
    font-size: 1.05rem;
    letter-spacing: 0.5px;
    box-shadow: 0 0 25px rgba(var(--color-accent-rgb), 0.65), 0 10px 30px rgba(0, 0, 0, 0.4);
    transition: transform 0.3s, box-shadow 0.3s;
}

.support-bmc-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 0 40px rgba(var(--color-accent-rgb), 0.9), 0 14px 34px rgba(0, 0, 0, 0.45);
}

/* ========== PERSISTENT SUPPORT BAR (floating island, monthly-cycle progress) ========== */
.support-bar {
    position: fixed;
    left: 50%;
    bottom: 20px;
    transform: translateX(-50%);
    width: 88%;
    max-width: 760px;
    padding: 16px 26px 18px;
    background: rgba(10, 10, 10, 0.85);
    backdrop-filter: blur(20px) saturate(180%);
    -webkit-backdrop-filter: blur(20px) saturate(180%);
    border: 1px solid rgba(var(--color-accent-rgb), 0.25);
    border-radius: 26px;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.4);
    z-index: 8000;
    transition: opacity 0.4s ease, visibility 0.4s ease, transform 0.4s ease;
}

.support-bar.hidden {
    opacity: 0;
    visibility: hidden;
    transform: translateX(-50%) translateY(20px);
    pointer-events: none;
}

.support-bar-top {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-bottom: 10px;
}

.support-bar-text {
    flex: 1;
    min-width: 0;
    font-family: var(--font-body);
    font-size: 0.85rem;
    color: var(--color-text);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.support-bar-day {
    flex-shrink: 0;
    font-family: monospace;
    font-size: 0.75rem;
    letter-spacing: 0.5px;
    color: var(--color-accent);
    white-space: nowrap;
}

.support-bar-close {
    flex-shrink: 0;
    background: none;
    border: none;
    color: var(--color-text-muted);
    font-size: 1.4rem;
    line-height: 1;
    cursor: pointer;
    padding: 0 0 0 4px;
    transition: color 0.3s;
}

.support-bar-close:hover {
    color: var(--color-text);
}

.support-bar-progress-track {
    width: 100%;
    height: 10px;
    border-radius: 100px;
    background: rgba(255, 255, 255, 0.1);
    overflow: hidden;
}

.support-bar-progress-fill {
    height: 100%;
    width: 0%;
    border-radius: 100px;
    background: var(--color-accent);
    box-shadow: 0 0 10px rgba(var(--color-accent-rgb), 0.5);
    transition: width 1.2s cubic-bezier(0.25, 1, 0.5, 1);
}

/* ========== FLOATING SUPPORT BUTTON ========== */
.support-float-btn {
    position: fixed;
    left: 24px;
    bottom: 30px;
    display: inline-flex;
    align-items: center;
    padding: 18px 30px;
    border-radius: 100px;
    background: var(--color-accent);
    color: #070707;
    text-decoration: none;
    font-family: var(--font-heading);
    font-weight: 800;
    font-size: 0.95rem;
    letter-spacing: 0.5px;
    white-space: nowrap;
    box-shadow: 0 0 25px rgba(var(--color-accent-rgb), 0.65), 0 10px 30px rgba(0, 0, 0, 0.4);
    z-index: 9500;
    transition: bottom 0.35s cubic-bezier(0.25, 1, 0.5, 1), transform 0.3s, box-shadow 0.3s;
}

.support-float-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 0 40px rgba(var(--color-accent-rgb), 0.9), 0 14px 34px rgba(0, 0, 0, 0.45);
}

/* Stack settings-toggle above the support button; push both above the bottom bar */
.settings-toggle {
    bottom: 96px;
    transition: bottom 0.35s cubic-bezier(0.25, 1, 0.5, 1), background 0.35s, transform 0.35s, box-shadow 0.35s;
}

body.has-support-bar .support-float-btn {
    bottom: 104px;
}

body.has-support-bar .settings-toggle {
    bottom: 170px;
}

body.has-support-bar .back-to-top {
    bottom: 104px;
}

/* Wide screens only: there's enough side margin next to the (narrower, 760px-capped) bar
   for the button to sit at the same bottom offset as the bar — reads as one row instead
   of floating above it. Narrower than this, they'd visually overlap, so keep them stacked. */
@media (min-width: 1320px) {
    body.has-support-bar .support-float-btn,
    body.has-support-bar .back-to-top {
        bottom: 20px;
    }

    body.has-support-bar .settings-toggle {
        bottom: 88px;
    }
}

@media (max-width: 768px) {
    .support-content {
        padding: 0 4px;
    }

    .support-columns {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .support-col-main {
        padding-right: 0;
    }

    .support-col-side {
        border-left: none;
        padding-left: 0;
        border-top: 1px solid rgba(255, 255, 255, 0.08);
        padding-top: 30px;
        width: 100%;
    }

    .support-progress-track-big {
        height: 26px;
        border-radius: 13px;
    }

    .support-bmc-btn {
        padding: 15px 30px;
        font-size: 0.95rem;
    }

    .support-bar {
        padding: 10px 5% 12px;
    }

    .support-bar-day {
        display: none;
    }

    .support-float-btn {
        left: 16px;
        bottom: 20px;
        padding: 14px 22px;
        font-size: 0.8rem;
    }

    .settings-toggle {
        bottom: 78px;
    }

    body.has-support-bar .support-float-btn {
        bottom: 108px;
    }

    body.has-support-bar .settings-toggle {
        bottom: 166px;
    }

    body.has-support-bar .back-to-top {
        bottom: 108px;
    }
}

/* ========== RECENT SUPPORTERS LIST ========== */
.support-col-side {
    border-left: 1px solid rgba(255, 255, 255, 0.08);
    padding-left: 40px;
}

.support-supporters-heading {
    font-family: var(--font-heading);
    font-size: 1.1rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 20px;
}

.support-supporters-list {
    position: relative;
    display: flex;
    flex-direction: column;
    gap: 12px;
    min-height: 220px;
}

/* Live Ko-fi Stream Alerts overlay — invisible until a real donation fires an
   animated alert, then plays on top of this panel. Doesn't affect layout or
   existing content (absolutely positioned, no ancestor clips overflow).
   Sized bigger than its visible footprint and scaled back down: gives the
   alert graphic more internal room so it doesn't look cramped/oversized,
   while still landing at a modest on-page size. */
.support-alert-overlay {
    position: absolute;
    top: 50%;
    left: 0;
    width: 900px;
    height: 480px;
    transform: translateY(-50%) scale(0.6);
    transform-origin: left center;
    border: none;
    background: transparent;
    pointer-events: none;
}

@media (max-width: 768px) {
    .support-alert-overlay {
        width: 500px;
        height: 320px;
        transform: translateY(-50%) scale(0.55);
    }
}

.support-supporters-empty {
    font-family: var(--font-body);
    color: var(--color-text-muted);
    font-size: 0.95rem;
}

.support-supporter-item {
    display: flex;
    align-items: baseline;
    flex-wrap: wrap;
    gap: 10px;
    padding: 14px 18px;
    border-radius: 14px;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.06);
    text-align: left;
}

.support-supporter-name {
    font-family: var(--font-heading);
    font-weight: 700;
    color: var(--color-text);
    font-size: 0.9rem;
}

.support-supporter-amount {
    font-family: monospace;
    font-size: 0.8rem;
    color: var(--color-accent);
    font-weight: 700;
}

.support-supporter-message {
    font-family: var(--font-body);
    font-size: 0.85rem;
    color: var(--color-text-muted);
    font-style: italic;
    flex-basis: 100%;
}
/* ========== FAQ SECTION (Hub) ========== */
.faq-section {
    min-height: 0;
    padding: 40px 10% 120px;
}

.faq-list {
    display: flex;
    align-items: flex-start;
    gap: 30px;
    width: 100%;
    max-width: 1100px;
    margin: 0 auto;
}

.faq-col {
    flex: 1 1 0;
    min-width: 0;
    width: 100%;
}

.faq-item {
    width: 100%;
    box-sizing: border-box;
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 16px;
    padding: 4px 24px;
    margin-bottom: 14px;
    background: rgba(255, 255, 255, 0.02);
    transition: border-color 0.3s;
}

.faq-item[open] {
    border-color: rgba(var(--color-accent-rgb), 0.4);
}

.faq-item summary {
    cursor: pointer;
    padding: 20px 0;
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 1.05rem;
    color: var(--color-text);
    list-style: none;
    position: relative;
    padding-right: 32px;
}

.faq-item summary::-webkit-details-marker {
    display: none;
}

.faq-item summary::after {
    content: "+";
    position: absolute;
    right: 4px;
    top: 50%;
    transform: translateY(-50%);
    font-size: 1.6rem;
    color: var(--color-accent);
    transition: transform 0.25s;
}

.faq-item[open] summary::after {
    content: "\2013";
}

.faq-item > p {
    padding: 0 0 20px;
    margin: 0;
    font-family: var(--font-body);
    color: var(--color-text-muted);
    line-height: 1.7;
}

@media (max-width: 768px) {
    .faq-section {
        padding: 20px 6% 90px;
    }

    .faq-list {
        flex-direction: column;
        gap: 0;
    }

    .faq-item summary {
        font-size: 0.95rem;
    }
}
