        :root {
            /* Premium Cinematic Dark Theme Palette */
            --site-bg: #060608;
            --glass-bg: rgba(18, 18, 22, 0.65); 
            --glass-border: rgba(255, 255, 255, 0.12);
            --inner-glow: inset 0 1px 1px rgba(255, 255, 255, 0.05);
            
            /* Form Control Fluid Glass Variables */
            --input-glass: rgba(0, 0, 0, 0.5);
            --input-glass-focus: rgba(255, 255, 255, 0.08);
            
            --text-main: #ffffff;
            --text-muted: #e4e4e7;
            --ios-blur: blur(20px) saturate(140%);
        }

        html {
            scroll-behavior: smooth;
            overflow-x: hidden;
            width: 100%;
        }

        * {
            box-sizing: border-box;
            margin: 0;
            padding: 0;
            font-family: -apple-system, BlinkMacSystemFont, "SF Pro Text", "SF Pro Display", "Helvetica Neue", Helvetica, Arial, sans-serif;
        }

        body {
            background-color: var(--site-bg);
            color: var(--text-main);
            line-height: 1.5;
            min-height: 100vh;
            overflow-x: clip; /* clip not hidden — prevents scrollIntoView from using body as scroll target */
            -webkit-font-smoothing: antialiased;
            display: flex;
            flex-direction: column;
            position: relative;
        }

        /* --- SCROLL ANIMATION ENGINE --- */
        .scroll-reveal {
            opacity: 0;
            transform: translateY(80px);
            transition: opacity 0.9s cubic-bezier(0.16, 1, 0.3, 1), transform 0.9s cubic-bezier(0.16, 1, 0.3, 1);
        }
        .scroll-reveal.visible {
            opacity: 1;
            transform: translateY(0);
        }
        .scroll-reveal-left {
            opacity: 0;
            transform: translateX(-120px) scale(0.95);
            transition: opacity 1s cubic-bezier(0.16, 1, 0.3, 1), transform 1s cubic-bezier(0.16, 1, 0.3, 1);
        }
        .scroll-reveal-left.visible {
            opacity: 1;
            transform: translateX(0) scale(1);
        }
        .scroll-reveal-right {
            opacity: 0;
            transform: translateX(120px) scale(0.95);
            transition: opacity 1s cubic-bezier(0.16, 1, 0.3, 1), transform 1s cubic-bezier(0.16, 1, 0.3, 1);
        }
        .scroll-reveal-right.visible {
            opacity: 1;
            transform: translateX(0) scale(1);
        }
        .scroll-reveal-scale {
            opacity: 0;
            transform: scale(0.7) translateY(60px);
            transition: opacity 1s cubic-bezier(0.16, 1, 0.3, 1), transform 1s cubic-bezier(0.16, 1, 0.3, 1);
        }
        .scroll-reveal-scale.visible {
            opacity: 1;
            transform: scale(1) translateY(0);
        }
        .scroll-reveal-blur {
            opacity: 0;
            filter: blur(20px);
            transform: translateY(40px);
            transition: opacity 1.1s cubic-bezier(0.16, 1, 0.3, 1), transform 1.1s cubic-bezier(0.16, 1, 0.3, 1), filter 1.1s cubic-bezier(0.16, 1, 0.3, 1);
        }
        .scroll-reveal-blur.visible {
            opacity: 1;
            filter: blur(0);
            transform: translateY(0);
        }
        /* Staggered delay helpers */
        .delay-1 { transition-delay: 0.1s; }
        .delay-2 { transition-delay: 0.2s; }
        .delay-3 { transition-delay: 0.35s; }
        .delay-4 { transition-delay: 0.5s; }
        .delay-5 { transition-delay: 0.65s; }

        /* Section dividers */
        .section-divider {
            width: 100%;
            height: 1px;
            background: linear-gradient(90deg, transparent 0%, rgba(255,255,255,0.15) 50%, transparent 100%);
            margin: 0;
        }

        /* Cinematic section labels */
        .section-eyebrow {
            display: inline-block;
            font-size: 0.65rem;
            font-weight: 700;
            text-transform: uppercase;
            letter-spacing: 4px;
            color: rgba(255,255,255,0.45);
            margin-bottom: 18px;
            position: relative;
        }
        .section-eyebrow::before {
            content: '';
            display: inline-block;
            width: 30px;
            height: 1px;
            background: rgba(255,255,255,0.4);
            vertical-align: middle;
            margin-right: 12px;
        }

        /* --- Global Fixed Background Framework --- */
        .global-background-overlay {
            position: fixed;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            background-image: url('hero.png');
            background-size: cover;
            background-position: center;
            background-repeat: no-repeat;
            z-index: -3;
        }

        .vignette-overlay {
            position: fixed;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            background: linear-gradient(180deg, rgba(6, 6, 8, 0.5) 0%, rgba(6, 6, 8, 0.75) 100%),
                        radial-gradient(circle at center, transparent 10%, rgba(0, 0, 0, 0.8) 100%);
            z-index: -1;
            pointer-events: none;
        }

        /* --- Header & Navigation --- */
        .site-header-wrapper {
            width: 100%;
            height: 70px;
            background: transparent;
            border-bottom: none;
            position: fixed;
            top: 0;
            left: 0;
            z-index: 1000;
            padding: 20px 40px; 
            display: flex;
            justify-content: space-between;
            align-items: center;
            transition: background 0.4s ease;
        }
        @media (min-width: 769px) {
            .site-header-wrapper .navbar {
                position: absolute;
                left: 50%;
                top: 50%;
                transform: translate(-50%, -50%);
            }
        }

        .brand-logo-area {
            display: flex;
            align-items: center;
            height: 100%;
        }

        .brand-logo-area img {
            max-height: 48px;
            width: auto;
            display: block;
            opacity: 1;
            transform: translateZ(0);
            will-change: transform;
            image-rendering: -webkit-optimize-contrast;
            image-rendering: crisp-edges;
        }

        .menu-toggle-btn {
            display: none;
            background: transparent;
            border: 1px solid rgba(255, 255, 255, 0.2);
            color: #ffffff;
            font-size: 1.3rem;
            padding: 4px 10px;
            border-radius: 6px;
            cursor: pointer;
            z-index: 1100;
            align-items: center;
            justify-content: center;
            transition: background 0.3s ease;
        }
        .menu-toggle-btn:hover {
            background: rgba(255, 255, 255, 0.1);
        }

        .navbar {
            display: flex;
            align-items: center;
            gap: 5px;
            height: 54px;
            padding: 0 8px;
            border-radius: 40px;
            background: rgba(255,255,255,0.06);
            border: 1px solid rgba(255,255,255,0.1);
            backdrop-filter: var(--ios-blur);
            -webkit-backdrop-filter: var(--ios-blur);
        }

        .navbar a {
            color: rgba(255, 255, 255, 0.7);
            text-decoration: none;
            font-size: 0.75rem; 
            font-weight: 600;
            text-transform: uppercase;
            letter-spacing: 1.5px;
            transition: all 0.3s ease;
            cursor: pointer;
            padding: 8px 14px;
            border-radius: 6px;
            position: relative;
        }

        .navbar a:hover {
            color: var(--text-main);
        }

        .navbar a.active {
            color: var(--text-main);
        }

        .navbar a.active::after {
            content: '';
            position: absolute;
            bottom: -2px;
            left: 14px;
            right: 14px;
            height: 2px;
            background: #ffffff;
            border-radius: 2px;
        }

        .nav-more-wrapper { position: relative; display: inline-flex; }
        .nav-more-dropdown {
            display: none;
            position: absolute;
            top: 100%;
            right: 0;
            margin-top: 10px;
            background: rgba(11, 11, 14, 0.98);
            border: 1px solid rgba(255, 255, 255, 0.12);
            border-radius: 10px;
            backdrop-filter: var(--ios-blur);
            -webkit-backdrop-filter: var(--ios-blur);
            min-width: 200px;
            padding: 8px;
            box-shadow: 0 15px 30px rgba(0, 0, 0, 0.6);
            z-index: 1100;
            flex-direction: column;
            gap: 2px;
        }
        .nav-more-dropdown.active { display: flex; }
        .nav-more-dropdown a {
            color: rgba(255, 255, 255, 0.75);
            text-decoration: none;
            font-size: 0.7rem;
            font-weight: 600;
            text-transform: uppercase;
            letter-spacing: 1px;
            padding: 10px 12px;
            border-radius: 6px;
            cursor: pointer;
            transition: all 0.25s ease;
            display: block;
        }
        .nav-more-dropdown a:hover { background: rgba(255, 255, 255, 0.08); color: #ffffff; }

        /* --- HERO SECTION --- */
        #section-home {
            min-height: 100vh;
            width: 100%;
            display: flex;
            flex-direction: column;
            justify-content: center;
            align-items: center;
            text-align: center;
            padding: 120px 8% 60px 8%;
            position: relative;
        }

        .hero-main-body {
            z-index: 3;
            max-width: 650px; 
            width: 100%;
            margin-bottom: 40px;
            display: flex;
            flex-direction: column;
            align-items: center;
            text-align: center;
        }

        .hero-presenter-tag {
            font-size: 0.85rem;
            font-weight: 600;
            text-transform: uppercase;
            letter-spacing: 3px;
            color: rgba(255, 255, 255, 0.8);
            margin: 0 0 12px 0;
        }

        .hero-main-title {
            font-family: 'Dancing Script', cursive;
            font-size: clamp(1.4rem, 6.5vw, 4.6rem);
            font-weight: 700;
            line-height: 1.2;
            text-transform: none;
            letter-spacing: 0.5px;
            margin-bottom: 25px;
            text-shadow: 0 4px 12px rgba(0,0,0,0.5);
            white-space: nowrap;
        }

        .hero-main-title strong {
            font-weight: 700;
            display: inline;
        }

        /* ---- TextAnimate (blurInUp by character) css port ---- */
        .ta-char {
            display: inline-block;
            opacity: 0;
            filter: blur(10px);
            transform: translateY(20px);
            transition: opacity 0.5s ease, filter 0.5s ease, transform 0.5s ease;
            white-space: pre;
        }
        .ta-char.ta-in {
            opacity: 1;
            filter: blur(0);
            transform: translateY(0);
        }

        .association-wrapper {
            display: flex;
            flex-direction: column;
            align-items: center;
            gap: 6px;
            margin-bottom: 25px;
            border-top: 1px solid rgba(255, 255, 255, 0.15);
            border-bottom: 1px solid rgba(255, 255, 255, 0.15);
            padding: 14px 0;
            max-width: max-content;
            margin-left: auto;
            margin-right: auto;
        }

        .association-tag {
            font-size: 0.65rem;
            text-transform: uppercase;
            color: rgba(255, 255, 255, 0.6);
            letter-spacing: 1.5px;
            white-space: nowrap;
        }

        .association-logo-box {
            display: flex;
            align-items: center;
            justify-content: center;
            gap: 10px;
            flex-wrap: wrap;
        }

        .association-main-title {
            font-size: 1.05rem;
            font-weight: 700;
            letter-spacing: 1px;
            color: #ffffff;
            text-transform: uppercase;
        }

        .hero-tagline {
            font-size: 1.05rem;
            color: #ffffff;
            line-height: 1.6;
            margin-bottom: 35px;
            text-shadow: 0 2px 8px rgba(0,0,0,0.6);
        }

        .hero-action-row {
            display: flex;
            align-items: center;
            justify-content: center;
            flex-wrap: wrap;
            gap: 16px;
        }

        .btn-action-primary {
            background: #ffffff;
            color: #000000;
            border: none;
            padding: 16px 32px;
            font-size: 0.85rem;
            font-weight: 700;
            text-transform: uppercase;
            letter-spacing: 1.5px;
            border-radius: 40px;
            cursor: pointer;
            display: flex;
            align-items: center;
            gap: 12px;
            box-shadow: 0 10px 25px rgba(255, 255, 255, 0.15);
            transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
            text-decoration: none;
        }

        .btn-action-primary:hover {
            background: rgba(255, 255, 255, 0.9);
            transform: translateY(-2px);
        }

        .btn-action-secondary {
            background: rgba(0, 0, 0, 0.4);
            color: #ffffff;
            border: 1px solid rgba(255, 255, 255, 0.3);
            backdrop-filter: blur(10px);
            padding: 16px 32px;
            font-size: 0.85rem;
            font-weight: 600;
            text-transform: uppercase;
            letter-spacing: 1.5px;
            border-radius: 40px;
            cursor: pointer;
            display: flex;
            align-items: center;
            gap: 12px;
            transition: all 0.3s ease;
            text-decoration: none;
        }

        .btn-action-secondary:hover {
            background: rgba(255, 255, 255, 0.15);
            border-color: rgba(255, 255, 255, 0.5);
        }

        /* Dual Countdown */
        .countdown-dashboard-container {
            display: grid;
            grid-template-columns: 1fr 1fr;
            gap: 20px;
            margin-bottom: 35px;
            max-width: 600px;
        }

        .countdown-card-block {
            background: rgba(6, 6, 8, 0.75); 
            backdrop-filter: blur(15px);
            -webkit-backdrop-filter: blur(15px);
            border: 1px solid rgba(255, 255, 255, 0.12);
            border-radius: 12px;
            padding: 22px 20px;
            --glow-bg: #060608;
            display: flex;
            flex-direction: column;
            align-items: center;
            justify-content: center;
            text-align: center;
            min-height: 110px;
        }

        .countdown-title-tag {
            font-size: 0.65rem;
            color: rgba(255, 255, 255, 0.7);
            text-transform: uppercase;
            letter-spacing: 1px;
            margin-bottom: 12px;
            font-weight: 600;
            text-align: center;
        }

        .countdown-timer-digits-row {
            display: flex;
            justify-content: center;
            gap: 12px;
        }

        .time-unit-slot {
            display: flex;
            flex-direction: column;
            align-items: center;
        }

        .time-number {
            font-size: 1.35rem;
            font-weight: 700;
            color: #ffffff;
            font-family: monospace, sans-serif;
        }

        .time-label {
            font-size: 0.55rem;
            color: rgba(255, 255, 255, 0.6);
            text-transform: uppercase;
            letter-spacing: 0.5px;
        }

        /* Metric Ribbon */
        .hero-metric-ribbon {
            width: 100%;
            background: rgba(8,8,10,0.9);
            backdrop-filter: var(--ios-blur);
            -webkit-backdrop-filter: var(--ios-blur);
            border: 1px solid rgba(255,255,255,0.09);
            border-radius: 16px;
            padding: 22px 32px;
            display: grid;
            grid-template-columns: repeat(4, 1fr);
            gap: 0;
            z-index: 3;
        }
        .ribbon-item {
            display: flex;
            flex-direction: row;
            align-items: center;
            gap: 16px;
            padding: 0 32px;
            border-right: 1px solid rgba(255,255,255,0.09);
        }
        .ribbon-item:first-child { padding-left: 0; }
        .ribbon-item:last-child { border-right: none; padding-right: 0; }
        .ribbon-icon {
            font-size: 1.8rem;
            flex-shrink: 0;
            line-height: 1;
        }
        .ribbon-text {
            display: flex;
            flex-direction: column;
            align-items: flex-start;
            gap: 3px;
        }
        .ribbon-label {
            font-size: 0.6rem;
            font-weight: 600;
            text-transform: uppercase;
            letter-spacing: 2px;
            color: rgba(255,255,255,0.4);
            white-space: nowrap;
            text-align: left;
        }
        .ribbon-value {
            font-size: 1.1rem;
            font-weight: 700;
            color: #ffffff;
            white-space: nowrap;
            text-align: left;
        }
                /* Scroll indicator */
        .scroll-indicator {
            position: absolute;
            bottom: 30px;
            left: 50%;
            transform: translateX(-50%);
            display: flex;
            flex-direction: column;
            align-items: center;
            gap: 8px;
            opacity: 0.6;
            animation: scrollBounce 2.5s ease-in-out infinite;
        }
        .scroll-indicator span {
            font-size: 0.6rem;
            letter-spacing: 3px;
            text-transform: uppercase;
            color: rgba(255,255,255,0.7);
        }
        .scroll-arrow {
            width: 24px;
            height: 24px;
            border-right: 2px solid rgba(255,255,255,0.6);
            border-bottom: 2px solid rgba(255,255,255,0.6);
            transform: rotate(45deg);
        }
        @keyframes scrollBounce {
            0%, 100% { transform: translateX(-50%) translateY(0); }
            50% { transform: translateX(-50%) translateY(10px); }
        }

        /* ===== SECTIONS SHARED LAYOUT ===== */
        .page-section {
            width: 100%;
            padding: 120px 8%;
            position: relative;
            background-size: cover;
            background-position: center;
            background-repeat: no-repeat;
        }

        .page-section > * { position: relative; z-index: 1; }

        .section-inner {
            max-width: 1100px;
            margin: 0 auto;
        }

        .section-heading {
            font-size: clamp(2rem, 5vw, 3.5rem);
            font-weight: 700;
            text-transform: uppercase;
            letter-spacing: 2px;
            line-height: 1.05;
            margin-bottom: 16px;
        }

        /* Shiny Text Effect — exact port from uploaded file */
        .shiny-text {
            display: inline-block;
            --color: #b5b5b5;
            --shine-color: #ffffff;
            --spread: 120deg;
            --speed: 2s;
            --delay: 0s;
            background-image: linear-gradient(
                var(--spread),
                var(--color) 0%,
                var(--color) 35%,
                var(--shine-color) 50%,
                var(--color) 65%,
                var(--color) 100%
            );
            background-size: 200% auto;
            -webkit-background-clip: text;
            background-clip: text;
            -webkit-text-fill-color: transparent;
            background-position: 150% center;
            animation: shine var(--speed) linear var(--delay) infinite;
        }

        @keyframes shine {
            0%   { background-position: 150% center; }
            100% { background-position: -50% center; }
        }

        /* ===== ABOUT SECTION ===== */
        #section-story {
            background: transparent;
        }

        /* ===== ABOUT / STORY — Numbered Card Layout ===== */
        .story-grid {
            display: flex;
            flex-direction: column;
            gap: 28px;
            margin-top: 60px;
        }

        .story-block {
            position: relative;
            display: grid;
            grid-template-columns: 1fr 1fr;
            align-items: center;
            gap: 0;
            background: rgba(10,10,10,0.72);
            border: 1px solid rgba(255,255,255,0.1);
            border-radius: 18px;
            overflow: hidden;
            min-height: 340px;
            transition: border-color 0.4s ease, box-shadow 0.4s ease;
            --glow-bg: #12121600;
        }
        .story-block:hover {
            border-color: rgba(255,255,255,0.22);
            box-shadow: 0 0 40px rgba(255,255,255,0.04);
        }

        /* Text side */
        .story-block-text {
            padding: 48px 44px;
            position: relative;
            z-index: 2;
        }
        /* Image side */
        .story-block-img {
            position: relative;
            width: 100%;
            height: 100%;
            min-height: 340px;
            overflow: hidden;
        }
        .story-block-img img {
            width: 100%;
            height: 100%;
            object-fit: cover;
            object-position: center top;
            display: block;
            filter: grayscale(30%) brightness(0.85);
            transition: filter 0.5s ease, transform 0.5s ease;
        }
        .story-block:hover .story-block-img img {
            filter: grayscale(0%) brightness(0.95);
            transform: scale(1.03);
        }
        /* Gradient fade img into card */
        .story-block-img::after {
            content: '';
            position: absolute;
            inset: 0;
            background: linear-gradient(to right, rgba(10,10,10,0.55) 0%, transparent 50%);
            pointer-events: none;
        }
        /* Reverse: image left, text right */
        .story-block.reverse {
            direction: rtl;
        }
        .story-block.reverse > * {
            direction: ltr;
        }
        .story-block.reverse .story-block-img::after {
            background: linear-gradient(to left, rgba(10,10,10,0.55) 0%, transparent 50%);
        }

        /* Big background number */
        .story-block-num {
            position: absolute;
            top: -18px;
            left: 28px;
            font-size: 9rem;
            font-weight: 900;
            line-height: 1;
            color: rgba(255,255,255,0.045);
            font-family: var(--font-display, 'SF Pro Display', 'Inter', sans-serif);
            letter-spacing: -4px;
            pointer-events: none;
            user-select: none;
            z-index: 1;
        }
        .story-block.reverse .story-block-num {
            left: auto;
            right: 28px;
        }

        /* Eyebrow */
        .story-block-eyebrow {
            font-size: 0.72rem;
            font-weight: 700;
            letter-spacing: 2.5px;
            text-transform: uppercase;
            color: rgba(255,255,255,0.45);
            margin-bottom: 10px;
            display: block;
        }

        /* Heading */
        .story-block-text h3 {
            font-size: 2rem;
            font-weight: 800;
            line-height: 1.1;
            margin: 0 0 6px;
            color: #fff;
            letter-spacing: -0.5px;
        }

        /* Gold underline accent */
        .story-block-text .story-underline {
            display: block;
            width: 36px;
            height: 3px;
            background: rgba(255,255,255,0.4);
            border-radius: 2px;
            margin: 12px 0 20px;
        }

        .story-block-text p {
            color: rgba(255,255,255,0.78);
            font-size: 0.9rem;
            line-height: 1.75;
            margin: 0;
        }

        /* Placeholder when no image supplied */
        .story-block-img.no-img {
            background: rgba(255,255,255,0.04);
            display: flex;
            align-items: center;
            justify-content: center;
        }
        .story-block-img.no-img::after { display: none; }

        /* Mobile */
        @media (max-width: 768px) {
            .story-block,
            .story-block.reverse {
                grid-template-columns: 1fr;
                direction: ltr;
                min-height: unset;
            }
            .story-block-img { min-height: 220px; order: -1; }
            .story-block.reverse .story-block-img { order: -1; }
            .story-block-img::after,
            .story-block.reverse .story-block-img::after {
                background: linear-gradient(to bottom, transparent 60%, rgba(10,10,10,0.7) 100%);
            }
            .story-block-text { padding: 28px 24px 32px; }
            .story-block-text h3 { font-size: 1.5rem; }
            .story-block-num { font-size: 6rem; top: -10px; left: 16px; }
            .story-block.reverse .story-block-num { right: 16px; left: auto; }
        }

        /* ===== SCROLL STACK EFFECT (ported, site colors) ===== */
        .scroll-stack-inner {
            padding: 6vh 0 20vh;
            max-width: 900px;
            margin: 0 auto;
        }

        .scroll-stack-card {
            transform-origin: top center;
            will-change: transform, filter;
            backface-visibility: hidden;
            transform-style: preserve-3d;
            box-shadow: 0 6px 24px rgba(0, 0, 0, 0.5);
            min-height: 9rem;
            width: 100%;
            padding: 1.2rem 1.4rem;
            border-radius: 18px;
            box-sizing: border-box;
            position: relative;
            background: linear-gradient(135deg, rgba(20,20,26,0.92) 0%, rgba(9,9,12,0.95) 100%);
            border: 1px solid var(--glass-border);
            backdrop-filter: var(--ios-blur);
            -webkit-backdrop-filter: var(--ios-blur);
            display: flex;
            flex-direction: column;
            justify-content: center;
            --glow-bg: #0c0c10;
        }

        .scroll-stack-card .stack-card-index {
            position: absolute;
            top: 1.3rem;
            right: 1.6rem;
            font-size: 0.7rem;
            letter-spacing: 2px;
            text-transform: uppercase;
            color: rgba(255,255,255,0.35);
            font-weight: 600;
        }

        .scroll-stack-card .stack-emoji { font-size: 2.6rem; margin-bottom: 0.7rem; }

        .scroll-stack-card .stack-card-title {
            font-size: 1.6rem;
            font-weight: 700;
            text-transform: uppercase;
            letter-spacing: 1px;
            color: #ffffff;
            margin: 0 0 0.5rem 0;
            line-height: 1.1;
        }

        .scroll-stack-card .stack-card-sub {
            color: rgba(255,255,255,0.6);
            font-size: 0.9rem;
            letter-spacing: 0.5px;
        }

        .scroll-stack-card .stack-card-media {
            width: 100%;
            height: 9rem;
            border-radius: 14px;
            overflow: hidden;
            margin-bottom: 1.1rem;
            background: rgba(255,255,255,0.03);
            border: 1px solid rgba(255,255,255,0.08);
            display: flex;
            align-items: center;
            justify-content: center;
        }
        .scroll-stack-card .stack-card-media img { width: 100%; height: 100%; object-fit: cover; }
        .scroll-stack-card .stack-media-placeholder {
            display: flex; flex-direction: column; align-items: center; gap: 8px;
            font-size: 2.4rem; color: rgba(255,255,255,0.35);
        }
        .scroll-stack-card .stack-media-placeholder span { font-size: 0.72rem; text-transform: uppercase; letter-spacing: 1.5px; }

        .scroll-stack-end { width: 100%; height: 1px; }

        @media (max-width: 768px) {
            .scroll-stack-inner { padding: 4vh 5% 15vh; }
            .scroll-stack-card { min-height: 13rem; padding: 1.5rem; border-radius: 20px; }
            .scroll-stack-card .stack-card-title { font-size: 1.3rem; }
            .scroll-stack-card .stack-emoji { font-size: 2.2rem; }
        }

        /* ===== CATEGORY COVERFLOW CAROUSEL ===== */
        .category-carousel-wrapper {
            position: relative;
            width: 100vw;
            max-width: 100vw;
            margin-left: calc(50% - 50vw);
            margin-right: calc(50% - 50vw);
            margin-top: 4vh;
            margin-bottom: 2vh;
            height: 340px;
            display: flex;
            align-items: center;
            justify-content: center;
        }

        .category-carousel-track {
            position: relative;
            width: 100%;
            height: 100%;
            display: flex;
            align-items: center;
            justify-content: center;
            perspective: 1200px;
        }

        .category-carousel-card {
            position: absolute !important;
            width: 17rem;
            height: 18rem;
            display: flex;
            flex-direction: column;
            align-items: center;
            justify-content: center;
            text-align: center;
            padding: 1.5rem 1.2rem;
            border-radius: 22px;
            background: linear-gradient(135deg, rgba(20,20,26,0.92) 0%, rgba(9,9,12,0.95) 100%);
            border: 1px solid var(--glass-border);
            backdrop-filter: var(--ios-blur);
            -webkit-backdrop-filter: var(--ios-blur);
            box-shadow: 0 20px 45px rgba(0,0,0,0.6);
            transition: transform 0.28s ease-out, opacity 0.28s ease-out, filter 0.28s ease-out;
        }

        .category-carousel-card .stack-card-index {
            position: absolute;
            top: 1.1rem;
            right: 1.3rem;
            font-size: 0.68rem;
            letter-spacing: 2px;
            text-transform: uppercase;
            color: rgba(255,255,255,0.35);
            font-weight: 600;
        }

        .category-carousel-card .stack-emoji { font-size: 3rem; margin-bottom: 0.9rem; }
        .category-carousel-card .stack-card-svg-icon {
            width: 56px; height: 56px; margin-bottom: 0.9rem;
            color: rgba(255,255,255,0.85);
        }
        .category-carousel-card .stack-card-svg-icon svg { width: 100%; height: 100%; }

        .category-carousel-card .stack-card-media {
            width: 100px; height: 100px; margin-bottom: 0.9rem;
            display: flex; align-items: center; justify-content: center;
        }
        .category-carousel-card .stack-card-media img {
            width: 100%; height: 100%; object-fit: contain;
            filter: brightness(1.1);
        }

        .category-carousel-card .stack-card-title {
            font-size: clamp(0.9rem, 1.8vw, 1.1rem);
            font-weight: 700;
            text-transform: uppercase;
            letter-spacing: 0.3px;
            color: #ffffff;
            margin: 0 0 0.5rem 0;
            line-height: 1.25;
            word-break: normal;
            overflow-wrap: normal;
            hyphens: none;
            max-width: 100%;
        }

        .category-carousel-card .stack-card-sub {
            color: rgba(255,255,255,0.6);
            font-size: 0.85rem;
            letter-spacing: 0.5px;
        }

        .category-carousel-btn {
            position: absolute;
            top: 50%;
            transform: translateY(-50%);
            width: 42px;
            height: 42px;
            border-radius: 50%;
            display: flex;
            align-items: center;
            justify-content: center;
            background: rgba(9,9,12,0.55);
            border: 1px solid var(--glass-border);
            backdrop-filter: var(--ios-blur);
            -webkit-backdrop-filter: var(--ios-blur);
            color: #ffffff;
            cursor: pointer;
            z-index: 20;
            transition: opacity 0.2s ease, transform 0.2s ease;
        }
        .category-carousel-btn:hover { opacity: 0.75; }
        .category-carousel-btn.prev { left: clamp(8px, 2vw, 32px); }
        .category-carousel-btn.next { right: clamp(8px, 2vw, 32px); }
        .category-carousel-btn svg { width: 20px; height: 20px; }

        .all-categories-inline {
            max-width: 100%;
            margin: 0 auto 2vh;
            animation: allCatsFadeIn 0.4s ease;
        }
        @keyframes allCatsFadeIn {
            from { opacity: 0; transform: translateY(-10px); }
            to { opacity: 1; transform: translateY(0); }
        }

        .all-categories-grid {
            display: flex;
            flex-wrap: nowrap;
            gap: 16px;
            overflow-x: auto;
            padding: 4px 8px 12px;
            scroll-snap-type: x proximity;
            -webkit-overflow-scrolling: touch;
            scrollbar-width: thin;
            scrollbar-color: rgba(255,255,255,0.2) transparent;
            -webkit-mask-image: linear-gradient(to right, transparent 0, #000 40px, #000 calc(100% - 40px), transparent 100%);
            mask-image: linear-gradient(to right, transparent 0, #000 40px, #000 calc(100% - 40px), transparent 100%);
        }
        .all-categories-grid::-webkit-scrollbar { height: 4px; }
        .all-categories-grid::-webkit-scrollbar-track { background: transparent; }
        .all-categories-grid::-webkit-scrollbar-thumb { background: rgba(255,255,255,0.2); border-radius: 4px; }

        .all-categories-grid .category-grid-item {
            position: relative;
            flex: 0 0 180px;
            padding: 1.4rem 1rem;
            border-radius: 16px;
            text-align: center;
            background: linear-gradient(135deg, rgba(20,20,26,0.92) 0%, rgba(9,9,12,0.95) 100%);
            border: 1px solid var(--glass-border);
            scroll-snap-align: center;
        }
        .all-categories-grid .category-grid-item .grid-item-index {
            font-size: 0.65rem;
            letter-spacing: 2px;
            text-transform: uppercase;
            color: rgba(255,255,255,0.35);
            font-weight: 600;
            display: block;
            margin-bottom: 0.4rem;
        }
        .all-categories-grid .category-grid-item .grid-item-emoji { font-size: 2rem; margin-bottom: 0.5rem; }
        .all-categories-grid .category-grid-item .grid-item-svg-icon {
            width: 40px; height: 40px; margin: 0 auto 0.5rem;
            color: rgba(255,255,255,0.85);
        }
        .all-categories-grid .category-grid-item .grid-item-svg-icon svg { width: 100%; height: 100%; }
        .all-categories-grid .category-grid-item .grid-item-img {
            width: 64px; height: 64px; margin: 0 auto 0.5rem;
        }
        .all-categories-grid .category-grid-item .grid-item-img img {
            width: 100%; height: 100%; object-fit: contain;
            filter: brightness(1.1);
        }
        .all-categories-grid .category-grid-item .grid-item-title {
            font-size: 0.95rem;
            font-weight: 700;
            text-transform: uppercase;
            letter-spacing: 0.5px;
            color: #ffffff;
            margin: 0;
            line-height: 1.2;
        }

        @media (max-width: 768px) {
            .all-categories-grid .category-grid-item { flex: 0 0 140px; }
            .all-categories-grid .category-grid-item .grid-item-svg-icon { width: 32px; height: 32px; }
            .all-categories-grid .category-grid-item .grid-item-img { width: 48px; height: 48px; }
        }

        @media (max-width: 768px) {
            .category-carousel-wrapper { height: 280px; overflow: hidden; }
            .category-carousel-card { width: 14rem; height: 16rem; padding: 1.2rem; }
            .category-carousel-card .stack-card-title { font-size: clamp(0.82rem, 3vw, 0.95rem); hyphens: none; word-break: normal; }
            .category-carousel-card .stack-emoji { font-size: 2.4rem; }
            .category-carousel-card .stack-card-svg-icon { width: 44px; height: 44px; }
            .category-carousel-card .stack-card-media { width: 72px; height: 72px; }
            .category-carousel-btn { width: 44px; height: 44px; }
            .category-carousel-btn.prev { left: clamp(4px, 1.5vw, 16px); }
            .category-carousel-btn.next { right: clamp(4px, 1.5vw, 16px); }
        }

        /* ===== FULL-PAGE CLOCK BACKGROUND ===== */
        :root { --clock-size: 150vmax; }

        #clock-bg-wrapper {
            position: fixed;
            inset: 0;
            z-index: -2;
            display: flex;
            align-items: center;
            justify-content: center;
            overflow: hidden;
            pointer-events: none;
        }

        .clock-face-bg {
            position: relative;
            width: var(--clock-size);
            height: var(--clock-size);
            border-radius: 50%;
            overflow: hidden;
            display: flex;
            align-items: center;
            justify-content: center;
            flex-shrink: 0;
        }

        .clock-bg-img {
            position: absolute;
            inset: 0;
            width: 100%;
            height: 100%;
            object-fit: contain;
            transform: scale(1.0);
            pointer-events: none;
            z-index: 0;
            opacity: 0.13;
        }

        .clock-hand-container {
            position: absolute;
            inset: 0;
            display: flex;
            align-items: center;
            justify-content: center;
            z-index: 3;
            opacity: 0.55;
        }

        .clock-second {
            position: relative;
            width: 10px;
            height: 10px;
            background: #ffffff;
            border-radius: 50%;
            border: 1px solid #eee;
            animation: watch-reverse 60s linear infinite;
        }

        .clock-second::before {
            content: "";
            position: absolute;
            width: 5px;
            height: calc(var(--clock-size) / 2);
            left: 1.5px;
            bottom: -10px;
            background: #ffffff;
            border-radius: 3px;
        }

        .clock-second::after {
            content: "";
            position: absolute;
            width: 4px;
            height: 4px;
            left: 2px;
            top: 2px;
            background: #fff;
            border-radius: 50%;
        }

        @keyframes watch-reverse {
            0%   { transform: rotate(0deg); }
            100% { transform: rotate(-360deg); }
        }



        /* Wrapper section */
        .gallery-select-wrap {
            position: relative;
            padding: 0 !important;
            overflow: hidden;
            min-height: 100svh;
            min-height: 100dvh;
        }

        /* Hidden radios — kept for fallback, JS takes over */
        .gallery-select-wrap input[type="radio"] {
            position: fixed;
            top: 0;
            left: -9999px;
            opacity: 0;
            pointer-events: none;
        }

        /* Aside strip at bottom */
        .gallery-select-aside {
            position: absolute;
            width: 100%;
            left: 0;
            bottom: 0;
            z-index: 10;
            background: linear-gradient(transparent, rgba(6,6,8,0.92) 35%);
            padding: 90px 0 16px;
            overflow: visible;
            overflow-x: clip; /* prevent strip overflow from reaching document */
        }

        /* Strip — always horizontal scroll, centered */
        .gallery-select-strip {
            display: flex;
            flex-wrap: nowrap;
            gap: 10px;
            list-style: none;
            padding: 12px 20px 4px;  /* top padding absorbs the translateY lift */
            margin: 0 auto;
            overflow-x: auto;
            overflow-y: visible;
            scroll-snap-type: x proximity;
            -webkit-overflow-scrolling: touch;
            touch-action: pan-x;
            scrollbar-width: none; /* visually hidden, keep touch/mouse scroll */
            scrollbar-color: transparent transparent;
            justify-content: center;
        }
        .gallery-select-strip::-webkit-scrollbar { display: none; }
        .gallery-select-strip {
            -webkit-mask-image: linear-gradient(to right, transparent 0, #000 60px, #000 calc(100% - 60px), transparent 100%), linear-gradient(to bottom, #000 0, #000 calc(100% - 14px), transparent 100%);
            -webkit-mask-composite: source-in;
            mask-image: linear-gradient(to right, transparent 0, #000 60px, #000 calc(100% - 60px), transparent 100%), linear-gradient(to bottom, #000 0, #000 calc(100% - 14px), transparent 100%);
            mask-composite: intersect;
        }

        .gallery-select-strip li {
            flex: 0 0 130px;
            scroll-snap-align: start;
            transition: transform 0.13s ease, border-color 0.13s ease, box-shadow 0.13s ease, opacity 0.13s ease, z-index 0s;
            cursor: pointer;
            transform-origin: center bottom;
            border-radius: 10px;
            overflow: visible;   /* was hidden — caused top crop */
            border: 2px solid rgba(255,255,255,0.08);
        }

        /* Clip only the image for border-radius, not the li card */
        .gallery-select-strip li label {
            display: block;
            cursor: pointer;
            position: relative;
            border-radius: 8px;
            overflow: visible;
        }

        .gallery-select-strip li label img {
            width: 100%;
            aspect-ratio: 16/10;
            object-fit: cover;
            display: block;
            border-radius: 8px;
            /* Default: grayscale. Color reveals on hover or when selected */
            filter: grayscale(1);
            transition: filter 0.15s ease;
        }

        .gallery-select-strip li label span:not(.thumb-placeholder) {
            display: block;
            font-size: 0.6rem;
            text-transform: uppercase;
            letter-spacing: 1px;
            color: rgba(255,255,255,0.5);
            text-align: center;
            padding: 4px 2px;
            background: rgba(0,0,0,0.4);
        }

        .thumb-placeholder {
            width: 100%;
            aspect-ratio: 16/10;
            background: rgba(255,255,255,0.03);
            display: flex;
            align-items: center;
            justify-content: center;
            font-size: 1.4rem;
            color: rgba(255,255,255,0.25);
            border-radius: 8px;
        }

        /* Hover: scale only, no translateY (overflow-x:auto clips translateY) */
        .gallery-select-strip li:hover {
            transform: scale(1.1);
            z-index: 15;
            border-color: rgba(255,255,255,0.4);
        }
        .gallery-select-strip li:hover label img {
            filter: grayscale(0);
        }

        /* Others fade when any is hovered */
        .gallery-select-strip:has(li:hover) li:not(:hover) {
            opacity: 0.4;
        }

        /* Selected state + visible figure — generated dynamically by renderGallery() JS */

        /* Stage — figures sit here, covers full section */
        .gallery-select-stage {
            position: absolute;
            inset: 0;
            z-index: 1;
        }

        /* All figures hidden by default */
        .gs-fig {
            position: absolute;
            width: 100%;
            height: 100%;
            display: none;
            z-index: 2;
            opacity: 0;
            transition: opacity 0.18s ease-out;
        }
        .gs-fig.gs-visible {
            display: block;
            opacity: 1;
        }


        /* Blurred backdrop layer (covers full stage, blurs the image) */
        .gs-fig .gs-backdrop {
            position: absolute;
            inset: 0;
            width: 100%;
            height: 100%;
            object-fit: cover;
            opacity: 0.35;
            filter: blur(28px) brightness(0.5) saturate(1.4);
            transform: scale(1.08); /* prevent blur edge artifacts */
            z-index: 0;
        }

        /* Main photo — covers stage consistently for all images */
        .gs-fig img:not(.gs-backdrop) {
            position: absolute;
            inset: 0;
            width: 100%;
            height: 100%;
            object-fit: cover;
            object-position: center center;
            opacity: 0.92;
            z-index: 1;
        }

        /* Figcaption — cinematic positioning, safe from thumbnail strip */
        .gs-fig figcaption {
            position: absolute;
            bottom: clamp(170px, 22vh, 220px);
            left: 6%;
            right: 6%;
            z-index: 5;
            max-width: 60%;
        }
        .gs-fig figcaption h3 {
            font-size: clamp(1.4rem, 3.5vw, 3.2rem);
            font-weight: 700;
            text-transform: uppercase;
            letter-spacing: 2px;
            color: #ffffff;
            text-shadow: 0 4px 24px rgba(0,0,0,0.9);
            margin: 0 0 8px 0;
            line-height: 1.1;
        }
        .gs-fig figcaption h3 em { font-style: normal; color: rgba(255,255,255,0.7); }
        .gs-fig figcaption p {
            font-size: clamp(0.65rem, 1.2vw, 0.85rem);
            text-transform: uppercase;
            letter-spacing: 3px;
            color: rgba(255,255,255,0.55);
        }

        .gs-placeholder {
            position: absolute;
            inset: 0;
            display: flex;
            flex-direction: column;
            align-items: center;
            justify-content: center;
            gap: 12px;
            font-size: 4rem;
            opacity: 0.2;
            color: #fff;
        }
        .gs-placeholder span { font-size: 0.85rem; text-transform: uppercase; letter-spacing: 3px; }

        /* Heading overlay — top-left like uploaded file's figcaption position */
        .gallery-select-header {
            position: relative;
            padding: 60px 6% 24px;
            z-index: 20;
        }
        .gallery-select-header .section-eyebrow { display: block; margin-bottom: 6px; }
        .gallery-select-header .section-heading { margin-bottom: 0; }

        @media (max-width: 768px) {
            /* Gallery restructure: remove cinematic 100dvh; use flow layout on mobile */
            .gallery-select-wrap {
                min-height: auto !important;
                overflow: visible;
                display: flex;
                flex-direction: column;
            }
            /* Stage: position:relative with defined height so image centers within it */
            .gallery-select-stage {
                position: relative;
                width: 100%;
                height: 56vw;
                min-height: 200px;
                max-height: 260px;
                flex-shrink: 0;
            }
            /* Aside: pull out of absolute-bottom; flow after stage */
            .gallery-select-aside {
                position: relative;
                bottom: auto;
                left: auto;
                width: 100%;
                background: linear-gradient(rgba(6,6,8,0.6), rgba(6,6,8,0.97) 30%);
                padding: 14px 0 calc(10px + env(safe-area-inset-bottom, 0px));
                overflow: visible;
                overflow-x: clip; /* prevent strip from bleeding to document */
            }
            /* Strip: left-aligned so all thumbs reachable; remove fading mask edges */
            .gallery-select-strip {
                justify-content: flex-start;
                padding: 8px 16px 4px;
                -webkit-mask-image: none;
                mask-image: none;
                overscroll-behavior-x: contain;
            }
            .gallery-select-strip li {
                flex: 0 0 110px;
                overflow: visible;
            }
            .gallery-select-strip li label img,
            .thumb-placeholder { aspect-ratio: 16/10; }
            .gallery-select-strip li label span:not(.thumb-placeholder) { font-size: 0.55rem; }
            /* Caption: compact overlay at bottom of stage */
            .gs-fig figcaption {
                bottom: 10px;
                left: 5%;
                right: 5%;
                max-width: 90%;
            }
            .gs-fig figcaption h3 { font-size: clamp(1rem, 4.5vw, 1.4rem); letter-spacing: 1px; }
            .gs-fig figcaption p { font-size: clamp(0.6rem, 2.5vw, 0.72rem); letter-spacing: 2px; }
            .gallery-select-header { padding: 32px 5% 10px; }
            /* Reduce heavy backdrop blur on mobile for GPU savings */
            .gs-fig .gs-backdrop { filter: blur(14px) brightness(0.5) saturate(1.2); }
            /* Hover effects only on real pointer devices */
            .gallery-select-strip li:hover { transform: none; }
        }

        @media (hover: hover) and (pointer: fine) {
            .gallery-select-strip li:hover { transform: translateY(-4px) scale(1.04); }
        }

        @media (max-width: 430px) {
            .gallery-select-strip li { flex: 0 0 96px; }
            .gallery-select-stage { height: 58vw; }
        }

        /* ===== CATEGORIES SECTION ===== */
        #section-categories {
            text-align: center;
        }

        .categories-star-divider {
            display: flex;
            align-items: center;
            justify-content: center;
            gap: 15px;
            color: rgba(255, 255, 255, 0.5);
            margin-bottom: 50px;
        }

        .categories-star-divider::before,
        .categories-star-divider::after {
            content: '';
            width: 60px;
            height: 1px;
            background: rgba(255, 255, 255, 0.3);
        }

        .categories-star-divider span {
            font-size: 1rem;
            color: rgba(255, 255, 255, 0.9);
        }

        .categories-grid-matrix {
            display: grid;
            grid-template-columns: repeat(5, 1fr);
            gap: 16px;
            margin-bottom: 50px;
            perspective: 1200px;
        }

        /* ===== BORDER GLOW ENGINE — shared .glow-card utility ===== */
        .glow-card {
            --edge-proximity: 0;
            --cursor-angle: 45deg;
            --edge-sensitivity: 30;
            --color-sensitivity: calc(var(--edge-sensitivity) + 20);
            --glow-padding: 30px;
            --cone-spread: 25;
            --fill-opacity: 0.5;
            --glow-bg: #060608;

            position: relative;
            isolation: isolate;
            transform: translate3d(0, 0, 0.01px);
            overflow: visible !important;
        }

        .glow-card::before,
        .glow-card::after {
            content: "";
            position: absolute;
            inset: 0;
            border-radius: inherit;
            transition: opacity 0.25s ease-out;
            z-index: 0;
            pointer-events: none;
        }

        .glow-card:not(:hover):not(.sweep-active)::before,
        .glow-card:not(:hover):not(.sweep-active)::after,
        .glow-card:not(:hover):not(.sweep-active) > .edge-light { opacity: 0; transition: opacity 0.75s ease-in-out; }

        .glow-card::before {
            border: 1px solid transparent;
            background:
                linear-gradient(var(--glow-bg) 0 100%) padding-box,
                linear-gradient(rgb(255 255 255 / 0%) 0% 100%) border-box,
                var(--gradient-one) border-box, var(--gradient-two) border-box,
                var(--gradient-three) border-box, var(--gradient-four) border-box,
                var(--gradient-five) border-box, var(--gradient-six) border-box,
                var(--gradient-seven) border-box, var(--gradient-base) border-box;
            opacity: calc((var(--edge-proximity) - var(--color-sensitivity)) / (100 - var(--color-sensitivity)));
            -webkit-mask-image: conic-gradient(from var(--cursor-angle) at center, black calc(var(--cone-spread)*1%), transparent calc((var(--cone-spread)+15)*1%), transparent calc((100 - var(--cone-spread) - 15)*1%), black calc((100 - var(--cone-spread))*1%));
            mask-image: conic-gradient(from var(--cursor-angle) at center, black calc(var(--cone-spread)*1%), transparent calc((var(--cone-spread)+15)*1%), transparent calc((100 - var(--cone-spread) - 15)*1%), black calc((100 - var(--cone-spread))*1%));
        }

        .glow-card::after {
            border: 1px solid transparent;
            background:
                var(--gradient-one) padding-box, var(--gradient-two) padding-box,
                var(--gradient-three) padding-box, var(--gradient-four) padding-box,
                var(--gradient-five) padding-box, var(--gradient-six) padding-box,
                var(--gradient-seven) padding-box, var(--gradient-base) padding-box;
            -webkit-mask-image:
                linear-gradient(to bottom, black, black),
                radial-gradient(ellipse at 50% 50%, black 40%, transparent 65%),
                radial-gradient(ellipse at 66% 66%, black 5%, transparent 40%),
                radial-gradient(ellipse at 33% 33%, black 5%, transparent 40%),
                radial-gradient(ellipse at 66% 33%, black 5%, transparent 40%),
                radial-gradient(ellipse at 33% 66%, black 5%, transparent 40%),
                conic-gradient(from var(--cursor-angle) at center, transparent 5%, black 15%, black 85%, transparent 95%);
            mask-image:
                linear-gradient(to bottom, black, black),
                radial-gradient(ellipse at 50% 50%, black 40%, transparent 65%),
                radial-gradient(ellipse at 66% 66%, black 5%, transparent 40%),
                radial-gradient(ellipse at 33% 33%, black 5%, transparent 40%),
                radial-gradient(ellipse at 66% 33%, black 5%, transparent 40%),
                radial-gradient(ellipse at 33% 66%, black 5%, transparent 40%),
                conic-gradient(from var(--cursor-angle) at center, transparent 5%, black 15%, black 85%, transparent 95%);
            -webkit-mask-composite: xor;
            mask-composite: subtract, add, add, add, add, add;
            opacity: calc(var(--fill-opacity) * (var(--edge-proximity) - var(--color-sensitivity)) / (100 - var(--color-sensitivity)));
            mix-blend-mode: soft-light;
        }

        .glow-card > .edge-light {
            position: absolute;
            inset: calc(var(--glow-padding) * -1);
            border-radius: inherit;
            transition: opacity 0.25s ease-out;
            pointer-events: none;
            z-index: 1;
            -webkit-mask-image: conic-gradient(from var(--cursor-angle) at center, black 2.5%, transparent 10%, transparent 90%, black 97.5%);
            mask-image: conic-gradient(from var(--cursor-angle) at center, black 2.5%, transparent 10%, transparent 90%, black 97.5%);
            opacity: calc((var(--edge-proximity) - var(--edge-sensitivity)) / (100 - var(--edge-sensitivity)));
            mix-blend-mode: plus-lighter;
        }

        .glow-card > .edge-light::before {
            content: "";
            position: absolute;
            inset: var(--glow-padding);
            border-radius: inherit;
            box-shadow:
                inset 0 0 0 1px var(--glow-color),
                inset 0 0 1px 0 var(--glow-color-60),
                inset 0 0 3px 0 var(--glow-color-50),
                inset 0 0 6px 0 var(--glow-color-40),
                inset 0 0 15px 0 var(--glow-color-30),
                inset 0 0 25px 2px var(--glow-color-20),
                inset 0 0 50px 2px var(--glow-color-10),
                0 0 1px 0 var(--glow-color-60),
                0 0 3px 0 var(--glow-color-50),
                0 0 6px 0 var(--glow-color-40),
                0 0 15px 0 var(--glow-color-30),
                0 0 25px 2px var(--glow-color-20),
                0 0 50px 2px var(--glow-color-10);
        }

        /* inner content z-index so it stays above glow layers */
        .glow-card > *:not(.edge-light) { position: relative; z-index: 2; }

        /* ===== BORDER GLOW ENGINE (category cards) ===== */
        .category-asset-card {
            --edge-proximity: 0;
            --cursor-angle: 45deg;
            --edge-sensitivity: 30;
            --color-sensitivity: calc(var(--edge-sensitivity) + 20);
            --border-radius: 12px;
            --glow-padding: 30px;
            --cone-spread: 25;
            --card-bg: #060608;
            --fill-opacity: 0.5;

            position: relative;
            border-radius: var(--border-radius);
            isolation: isolate;
            transform: translate3d(0, 0, 0.01px);
            display: flex;
            flex-direction: column;
            align-items: center;
            justify-content: center;
            gap: 14px;
            padding: 28px 12px;
            border: 1px solid rgb(255 255 255 / 12%);
            background: var(--card-bg);
            overflow: visible;
            transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
        }

        .category-asset-card:hover { transform: translateY(-6px) scale(1.02); }

        .category-asset-card::before,
        .category-asset-card::after {
            content: "";
            position: absolute;
            inset: 0;
            border-radius: inherit;
            transition: opacity 0.25s ease-out;
            z-index: -1;
        }

        .category-asset-card:not(:hover):not(.sweep-active)::before,
        .category-asset-card:not(:hover):not(.sweep-active)::after,
        .category-asset-card:not(:hover):not(.sweep-active) > .edge-light { opacity: 0; transition: opacity 0.75s ease-in-out; }

        .category-asset-card::before {
            border: 1px solid transparent;
            background:
                linear-gradient(var(--card-bg) 0 100%) padding-box,
                linear-gradient(rgb(255 255 255 / 0%) 0% 100%) border-box,
                var(--gradient-one) border-box,
                var(--gradient-two) border-box,
                var(--gradient-three) border-box,
                var(--gradient-four) border-box,
                var(--gradient-five) border-box,
                var(--gradient-six) border-box,
                var(--gradient-seven) border-box,
                var(--gradient-base) border-box;
            opacity: calc((var(--edge-proximity) - var(--color-sensitivity)) / (100 - var(--color-sensitivity)));
            -webkit-mask-image: conic-gradient(from var(--cursor-angle) at center, black calc(var(--cone-spread) * 1%), transparent calc((var(--cone-spread) + 15) * 1%), transparent calc((100 - var(--cone-spread) - 15) * 1%), black calc((100 - var(--cone-spread)) * 1%));
            mask-image: conic-gradient(from var(--cursor-angle) at center, black calc(var(--cone-spread) * 1%), transparent calc((var(--cone-spread) + 15) * 1%), transparent calc((100 - var(--cone-spread) - 15) * 1%), black calc((100 - var(--cone-spread)) * 1%));
        }

        .category-asset-card::after {
            border: 1px solid transparent;
            background:
                var(--gradient-one) padding-box, var(--gradient-two) padding-box,
                var(--gradient-three) padding-box, var(--gradient-four) padding-box,
                var(--gradient-five) padding-box, var(--gradient-six) padding-box,
                var(--gradient-seven) padding-box, var(--gradient-base) padding-box;
            -webkit-mask-image:
                linear-gradient(to bottom, black, black),
                radial-gradient(ellipse at 50% 50%, black 40%, transparent 65%),
                radial-gradient(ellipse at 66% 66%, black 5%, transparent 40%),
                radial-gradient(ellipse at 33% 33%, black 5%, transparent 40%),
                radial-gradient(ellipse at 66% 33%, black 5%, transparent 40%),
                radial-gradient(ellipse at 33% 66%, black 5%, transparent 40%),
                conic-gradient(from var(--cursor-angle) at center, transparent 5%, black 15%, black 85%, transparent 95%);
            mask-image:
                linear-gradient(to bottom, black, black),
                radial-gradient(ellipse at 50% 50%, black 40%, transparent 65%),
                radial-gradient(ellipse at 66% 66%, black 5%, transparent 40%),
                radial-gradient(ellipse at 33% 33%, black 5%, transparent 40%),
                radial-gradient(ellipse at 66% 33%, black 5%, transparent 40%),
                radial-gradient(ellipse at 33% 66%, black 5%, transparent 40%),
                conic-gradient(from var(--cursor-angle) at center, transparent 5%, black 15%, black 85%, transparent 95%);
            -webkit-mask-composite: xor;
            mask-composite: subtract, add, add, add, add, add;
            opacity: calc(var(--fill-opacity) * (var(--edge-proximity) - var(--color-sensitivity)) / (100 - var(--color-sensitivity)));
            mix-blend-mode: soft-light;
        }

        .category-asset-card > .edge-light {
            content: "";
            position: absolute;
            inset: calc(var(--glow-padding) * -1);
            border-radius: inherit;
            transition: opacity 0.25s ease-out;
            pointer-events: none;
            z-index: 1;
            -webkit-mask-image: conic-gradient(from var(--cursor-angle) at center, black 2.5%, transparent 10%, transparent 90%, black 97.5%);
            mask-image: conic-gradient(from var(--cursor-angle) at center, black 2.5%, transparent 10%, transparent 90%, black 97.5%);
            opacity: calc((var(--edge-proximity) - var(--edge-sensitivity)) / (100 - var(--edge-sensitivity)));
            mix-blend-mode: plus-lighter;
        }

        .category-asset-card > .edge-light::before {
            content: "";
            position: absolute;
            inset: var(--glow-padding);
            border-radius: inherit;
            box-shadow:
                inset 0 0 0 1px var(--glow-color),
                inset 0 0 1px 0 var(--glow-color-60),
                inset 0 0 3px 0 var(--glow-color-50),
                inset 0 0 6px 0 var(--glow-color-40),
                inset 0 0 15px 0 var(--glow-color-30),
                inset 0 0 25px 2px var(--glow-color-20),
                inset 0 0 50px 2px var(--glow-color-10),
                0 0 1px 0 var(--glow-color-60),
                0 0 3px 0 var(--glow-color-50),
                0 0 6px 0 var(--glow-color-40),
                0 0 15px 0 var(--glow-color-30),
                0 0 25px 2px var(--glow-color-20),
                0 0 50px 2px var(--glow-color-10);
        }

        .category-asset-card .card-inner-content {
            position: relative;
            z-index: 2;
            display: flex;
            flex-direction: column;
            align-items: center;
            gap: 14px;
        }

        .category-asset-card .icon-placeholder {
            width: 45px;
            height: 45px;
            display: flex;
            align-items: center;
            justify-content: center;
        }

        .category-asset-card .category-icon-img {
            width: 100%;
            height: 100%;
            object-fit: contain;
        }

        .category-asset-card .category-emoji { font-size: 2rem; }

        .category-asset-card p {
            font-size: 0.78rem;
            font-weight: 600;
            color: #ffffff;
            line-height: 1.3;
            letter-spacing: 0.5px;
            text-transform: uppercase;
            text-align: center;
        }

        .rules-guidelines-trigger-row {
            display: flex;
            justify-content: center;
            margin-top: 10px;
        }

        .btn-rules-guidelines {
            background: rgba(6, 6, 8, 0.8);
            backdrop-filter: blur(10px);
            color: #ffffff;
            border: 1px solid rgba(255, 255, 255, 0.3);
            padding: 14px 28px;
            font-size: 0.75rem;
            font-weight: 600;
            text-transform: uppercase;
            letter-spacing: 1.5px;
            border-radius: 30px;
            cursor: pointer;
            display: flex;
            align-items: center;
            gap: 14px;
            transition: all 0.3s ease;
        }

        .btn-rules-guidelines:hover {
            background: rgba(255, 255, 255, 0.1);
            border-color: rgba(255, 255, 255, 0.5);
        }

        /* Rules Modal */
        .rules-modal-overlay {
            display: none;
            position: fixed;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            background: rgba(0, 0, 0, 0.85);
            backdrop-filter: blur(15px);
            -webkit-backdrop-filter: blur(15px);
            z-index: 2000;
            align-items: center;
            justify-content: center;
            opacity: 0;
            transition: opacity 0.3s ease;
        }

        .rules-modal-overlay.active {
            display: flex;
            opacity: 1;
        }

        .rules-modal-container {
            background: #121215;
            border: 1px solid rgba(255, 255, 255, 0.15);
            max-width: 550px;
            width: 90%;
            max-height: 80vh;
            border-radius: 16px;
            padding: 30px;
            overflow-y: auto;
            position: relative;
            box-shadow: 0 25px 60px rgba(0,0,0,0.6);
            transform: translateY(20px);
            transition: transform 0.3s ease;
        }

        .rules-modal-overlay.active .rules-modal-container {
            transform: translateY(0);
        }

        .rules-modal-close {
            position: absolute;
            top: 20px;
            right: 20px;
            background: transparent;
            border: none;
            color: rgba(255,255,255,0.6);
            font-size: 1.5rem;
            cursor: pointer;
            line-height: 1;
        }

        .rules-modal-close:hover { color: #ffffff; }

        .rules-modal-title {
            font-size: 1.25rem;
            text-transform: uppercase;
            letter-spacing: 1px;
            margin-bottom: 20px;
            border-bottom: 1px solid rgba(255,255,255,0.15);
            padding-bottom: 10px;
        }

        .rules-list-content {
            text-align: left;
            display: flex;
            flex-direction: column;
            gap: 16px;
        }

        .rule-item-box {
            background: rgba(255, 255, 255, 0.04);
            border: 1px solid rgba(255, 255, 255, 0.1);
            border-radius: 10px;
            padding: 14px 16px;
            --glow-bg: #0d0d10;
        }

        .rule-item-box h4 {
            font-size: 0.9rem;
            color: #ffffff;
            margin-bottom: 4px;
            font-weight: 600;
        }

        .rule-item-box p {
            font-size: 0.85rem;
            color: #e4e4e7;
            line-height: 1.5;
        }

        /* ===== GALLERY SECTION ===== */
        #section-gallery {
            text-align: center;
        }

        .gallery-filter-row {
            display: flex;
            align-items: center;
            gap: 10px;
            margin-bottom: 40px;
            overflow-x: auto;
            width: 100%;
            justify-content: center;
        }
        .gallery-filter-row::-webkit-scrollbar { display: none; }
        .gallery-filter-row { -ms-overflow-style: none; scrollbar-width: none; }

        .btn-gallery-pill {
            background: rgba(0, 0, 0, 0.4);
            border: 1px solid rgba(255, 255, 255, 0.2);
            color: #e4e4e7;
            padding: 8px 20px;
            border-radius: 30px;
            font-size: 0.65rem;
            font-weight: 600;
            text-transform: uppercase;
            letter-spacing: 1.5px;
            cursor: pointer;
            transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
            white-space: nowrap;
        }
        .btn-gallery-pill:hover:not(.active) {
            background: rgba(255, 255, 255, 0.1);
            color: #ffffff;
            border-color: rgba(255, 255, 255, 0.4);
        }
        .btn-gallery-pill.active {
            background: #ffffff !important;
            color: #000000 !important;
            border-color: #ffffff !important;
            font-weight: 700;
            box-shadow: 0 0 16px rgba(255, 255, 255, 0.35);
        }

        .gallery-photo-grid {
            display: flex;
            flex-wrap: nowrap;
            gap: 24px;
            margin-bottom: 40px;
            overflow-x: auto;
            overflow-y: hidden;
            scroll-snap-type: x proximity;
            -webkit-overflow-scrolling: touch;
            padding: 4px 4px 22px 4px;
            scrollbar-width: thin;
            scrollbar-color: rgba(255, 255, 255, 0.25) transparent;
        }
        .gallery-photo-grid::-webkit-scrollbar { height: 6px; }
        .gallery-photo-grid::-webkit-scrollbar-track { background: transparent; }
        .gallery-photo-grid::-webkit-scrollbar-thumb { background: rgba(255, 255, 255, 0.25); border-radius: 10px; }
        .gallery-photo-grid::-webkit-scrollbar-thumb:hover { background: rgba(255, 255, 255, 0.4); }

        .gallery-photo-frame {
            background: rgba(6, 6, 8, 0.6);
            border: 1px solid rgba(255, 255, 255, 0.15);
            border-radius: 12px;
            overflow: hidden;
            position: relative;
            transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1), border-color 0.3s ease;
            display: flex;
            flex-direction: column;
            flex: 0 0 260px;
            scroll-snap-align: start;
        }
        
        .gallery-image-container {
            width: 100%;
            aspect-ratio: 4 / 3;
            overflow: hidden;
            background: rgba(0,0,0,0.3);
            position: relative;
        }

        .gallery-photo-frame img {
            width: 100%;
            height: 100%;
            object-fit: cover;
            display: block;
            transition: transform 0.4s ease;
        }
        .gallery-photo-frame:hover {
            transform: translateY(-4px);
        }
        .gallery-photo-frame:hover img {
            transform: scale(1.05);
        }

        .gallery-photo-details {
            padding: 14px;
            background: rgba(6, 6, 8, 0.8);
            border-top: 1px solid rgba(255, 255, 255, 0.1);
        }

        .gallery-photo-title {
            font-size: 0.85rem;
            color: #ffffff;
            font-weight: 600;
            margin-bottom: 2px;
        }

        .gallery-photo-sub {
            font-size: 0.72rem;
            color: rgba(255, 255, 255, 0.7);
            text-transform: uppercase;
            letter-spacing: 0.5px;
        }

        .placeholder-empty-graphic {
            width: 100%;
            height: 100%;
            display: flex;
            flex-direction: column;
            align-items: center;
            justify-content: center;
            color: rgba(255,255,255,0.2);
            font-size: 2.2rem;
            border: 2px dashed rgba(255,255,255,0.1);
            border-radius: 8px;
        }
        .placeholder-empty-graphic span {
            font-size: 0.7rem;
            text-transform: uppercase;
            letter-spacing: 1px;
            margin-top: 8px;
            color: rgba(255,255,255,0.6);
        }

        .gallery-scroll-hint {
            font-size: 0.7rem;
            text-transform: uppercase;
            letter-spacing: 1.5px;
            color: rgba(255, 255, 255, 0.4);
            margin-bottom: 18px;
        }

        /* ===== PREMIUM INFO MODAL — two-column shell ===== */

        /* Override container sizing for info modal */
        .rules-modal-overlay .info-modal-container {
            max-width: min(90vw, 1280px);
            width: 90vw;
            max-height: 88vh;
            padding: 0;
            overflow: hidden;
            border-radius: 18px;
            display: flex;
            flex-direction: row;
            background: #0a0a0c;
            border: 1px solid rgba(255,255,255,0.1);
        }

        /* LEFT SIDEBAR — scoped to .info-modal-container to prevent global collisions */
        .info-modal-container .ims-sidebar {
            width: 240px;
            flex: 0 0 240px;
            background: #0d0d0f;
            border-right: 1px solid rgba(255,255,255,0.07);
            display: flex;
            flex-direction: column;
            padding: 28px 0 20px;
            overflow: hidden;
        }
        .info-modal-container .ims-logo {
            padding: 0 22px 24px;
            border-bottom: 1px solid rgba(255,255,255,0.06);
            margin-bottom: 16px;
        }
        .info-modal-container .ims-logo img {
            max-height: 52px;
            width: auto;
            max-width: 100%;
            object-fit: contain;
            display: block;
        }
        .info-modal-container .ims-nav {
            flex: 1;
            display: flex;
            flex-direction: column;
            gap: 2px;
            padding: 0 10px;
            overflow-y: auto;
        }
        .info-modal-container .ims-nav::-webkit-scrollbar { width: 3px; }
        .info-modal-container .ims-nav::-webkit-scrollbar-thumb { background: rgba(255,255,255,0.12); border-radius: 2px; }
        .info-modal-container .ims-nav-btn {
            background: transparent;
            border: 1px solid transparent;
            border-radius: 9px;
            color: rgba(255,255,255,0.46);
            font-size: 0.78rem;
            font-weight: 500;
            padding: 10px 12px;
            text-align: left;
            display: flex;
            align-items: center;
            gap: 10px;
            cursor: pointer;
            transition: background .15s, color .15s, border-color .15s;
            letter-spacing: 0.2px;
            width: 100%;
        }
        .info-modal-container .ims-nav-btn:hover {
            background: rgba(255,255,255,0.05);
            color: rgba(255,255,255,0.75);
        }
        .info-modal-container .ims-nav-btn.active {
            background: rgba(255,255,255,0.08);
            border-color: rgba(255,255,255,0.14);
            color: #ffffff;
            font-weight: 600;
        }
        .info-modal-container .ims-nav-icon {
            width: 18px;
            height: 18px;
            flex: 0 0 18px;
            opacity: 0.6;
            display: flex;
            align-items: center;
            justify-content: center;
            font-style: normal;
            font-size: 0.82rem;
        }
        .info-modal-container .ims-nav-btn.active .ims-nav-icon { opacity: 1; }
        .info-modal-container .ims-cinematic {
            padding: 20px 22px 0;
            border-top: 1px solid rgba(255,255,255,0.06);
            margin-top: 12px;
        }
        .info-modal-container .ims-cinematic-text {
            font-size: 0.65rem;
            line-height: 1.6;
            color: rgba(255,255,255,0.22);
            letter-spacing: 0.5px;
            font-style: italic;
        }

        /* RIGHT CONTENT AREA — scoped to .info-modal-container */
        .info-modal-container .ims-content {
            flex: 1;
            min-width: 0;
            display: flex;
            flex-direction: column;
            overflow: hidden;
        }
        .info-modal-container .ims-content-header {
            padding: 28px 32px 20px;
            border-bottom: 1px solid rgba(255,255,255,0.07);
            position: relative;
            flex: 0 0 auto;
        }
        .info-modal-container .ims-eyebrow {
            font-size: 0.62rem;
            text-transform: uppercase;
            letter-spacing: 2.5px;
            color: rgba(255,255,255,0.35);
            margin-bottom: 6px;
        }
        .info-modal-container .ims-heading {
            font-size: 1.7rem;
            font-weight: 700;
            color: #ffffff;
            letter-spacing: -0.5px;
            margin-bottom: 8px;
        }
        .info-modal-container .ims-desc {
            font-size: 0.82rem;
            color: rgba(255,255,255,0.42);
            line-height: 1.6;
            max-width: 520px;
        }
        .info-modal-container .ims-close {
            position: absolute;
            top: 22px;
            right: 24px;
            background: rgba(255,255,255,0.06);
            border: 1px solid rgba(255,255,255,0.1);
            color: rgba(255,255,255,0.55);
            width: 32px;
            height: 32px;
            border-radius: 8px;
            font-size: 0.9rem;
            cursor: pointer;
            display: flex;
            align-items: center;
            justify-content: center;
            transition: background .15s, color .15s;
            line-height: 1;
        }
        .info-modal-container .ims-close:hover { background: rgba(255,255,255,0.12); color: #fff; }
        .info-modal-container .ims-panes {
            flex: 1;
            overflow-y: auto;
            padding: 24px 32px 32px;
            scrollbar-width: thin;
            scrollbar-color: rgba(255,255,255,0.15) transparent;
        }
        .info-modal-container .ims-panes::-webkit-scrollbar { width: 4px; }
        .info-modal-container .ims-panes::-webkit-scrollbar-thumb { background: rgba(255,255,255,0.15); border-radius: 4px; }
        .info-modal-container .ims-panes::-webkit-scrollbar-track { background: transparent; }

        /* ── UPDATE CARDS — scoped to .info-modal-container ── */
        .info-modal-container .upd-list { display: flex; flex-direction: column; gap: 10px; }
        .info-modal-container .upd-card {
            display: flex;
            align-items: flex-start;
            gap: 0;
            background: #111113;
            border: 1px solid rgba(255,255,255,0.08);
            border-radius: 12px;
            padding: 18px 20px;
            transition: border-color .15s, background .15s;
        }
        .info-modal-container .upd-card:hover { border-color: rgba(255,255,255,0.15); background: #141416; }
        .info-modal-container .upd-date-block {
            flex: 0 0 56px;
            text-align: center;
            padding-right: 18px;
            border-right: 1px solid rgba(255,255,255,0.07);
            margin-right: 20px;
            display: flex;
            flex-direction: column;
            align-items: center;
            justify-content: center;
            min-height: 52px;
        }
        .info-modal-container .upd-month {
            display: block;
            font-size: 0.58rem;
            font-weight: 700;
            letter-spacing: 1.5px;
            color: rgba(255,255,255,0.4);
            text-transform: uppercase;
        }
        .info-modal-container .upd-day {
            display: block;
            font-size: 1.5rem;
            font-weight: 700;
            color: #ffffff;
            line-height: 1.1;
        }
        .info-modal-container .upd-year {
            display: block;
            font-size: 0.6rem;
            color: rgba(255,255,255,0.3);
            letter-spacing: 0.5px;
        }
        .info-modal-container .upd-date-plain {
            font-size: 0.65rem;
            font-weight: 600;
            color: rgba(255,255,255,0.4);
            text-transform: uppercase;
            letter-spacing: 1px;
            text-align: center;
        }
        .info-modal-container .upd-body { flex: 1; min-width: 0; }
        .info-modal-container .upd-top { display: flex; align-items: center; gap: 10px; margin-bottom: 6px; flex-wrap: wrap; }
        .info-modal-container .upd-badge {
            padding: 2px 8px;
            border-radius: 5px;
            font-size: 0.6rem;
            font-weight: 700;
            letter-spacing: 1px;
            text-transform: uppercase;
        }
        .info-modal-container .upd-badge-new     { border: 1px solid rgba(255,255,255,0.4); color: #fff; }
        .info-modal-container .upd-badge-important { border: 1px solid rgba(255,255,255,0.25); color: rgba(255,255,255,0.8); background: rgba(255,255,255,0.05); }
        .info-modal-container .upd-badge-info    { border: 1px solid rgba(255,255,255,0.12); color: rgba(255,255,255,0.45); }
        .info-modal-container .upd-title-text { font-size: 0.94rem; font-weight: 600; color: #ffffff; }
        .info-modal-container .upd-body-text { font-size: 0.82rem; color: rgba(255,255,255,0.55); line-height: 1.6; }
        .info-modal-container .upd-arrow {
            flex: 0 0 auto;
            font-size: 1.1rem;
            color: rgba(255,255,255,0.2);
            padding-left: 14px;
            align-self: center;
        }
        .info-modal-container .upd-empty {
            text-align: center;
            padding: 48px 20px;
            color: rgba(255,255,255,0.3);
        }
        .info-modal-container .upd-empty-icon { font-size: 2rem; margin-bottom: 14px; opacity: 0.4; display: block; }
        .info-modal-container .upd-empty h3 { font-size: 0.95rem; color: rgba(255,255,255,0.6); margin-bottom: 6px; font-weight: 600; }
        .info-modal-container .upd-empty p { font-size: 0.8rem; }

        /* ── MOBILE: stack sidebar above content ── */
        @media (max-width: 720px) {
            .rules-modal-overlay .info-modal-container {
                flex-direction: column;
                width: 95vw;
                max-height: 92vh;
                border-radius: 14px;
            }
            .info-modal-container .ims-sidebar {
                width: 100%;
                flex: 0 0 auto;
                border-right: none;
                border-bottom: 1px solid rgba(255,255,255,0.07);
                padding: 16px 12px 0;
            }
            .info-modal-container .ims-logo { display: none; }
            .info-modal-container .ims-cinematic { display: none; }
            .info-modal-container .ims-nav {
                flex-direction: row;
                overflow-x: auto;
                gap: 6px;
                padding: 0 0 12px;
                scrollbar-width: none;
            }
            .info-modal-container .ims-nav::-webkit-scrollbar { display: none; }
            .info-modal-container .ims-nav-btn {
                white-space: nowrap;
                flex: 0 0 auto;
                padding: 7px 13px;
                font-size: 0.72rem;
                border-radius: 20px;
            }
            .info-modal-container .ims-nav-icon { display: none; }
            .info-modal-container .ims-content-header { padding: 18px 18px 14px; }
            .info-modal-container .ims-heading { font-size: 1.2rem; }
            .info-modal-container .ims-desc { display: none; }
            .info-modal-container .ims-close { top: 14px; right: 14px; }
            .info-modal-container .ims-panes { padding: 16px 16px 24px; }
            .info-modal-container .upd-card { padding: 14px 14px; }
            .info-modal-container .upd-date-block { flex: 0 0 46px; padding-right: 12px; margin-right: 14px; }
            .info-modal-container .upd-arrow { display: none; }
        }

        /* ===== INFO MODALS (Privacy / Guidelines / Updates / Jury / How-To) ===== */
        .jury-panel-grid {
            display: grid;
            grid-template-columns: repeat(2, 1fr);
            gap: 14px;
            text-align: center;
        }
        .jury-card {
            background: rgba(255, 255, 255, 0.04);
            border: 1px solid rgba(255, 255, 255, 0.12);
            border-radius: 12px;
            padding: 20px 12px;
            --glow-bg: #0d0d10;
        }
        .jury-avatar-placeholder {
            width: 56px;
            height: 56px;
            border-radius: 50%;
            background: rgba(255, 255, 255, 0.06);
            border: 1px dashed rgba(255, 255, 255, 0.25);
            display: flex;
            align-items: center;
            justify-content: center;
            margin: 0 auto 12px auto;
            font-size: 1.3rem;
            color: rgba(255, 255, 255, 0.4);
        }
        .jury-card h4 { font-size: 0.82rem; color: #ffffff; margin-bottom: 4px; font-weight: 600; }
        .jury-card p { font-size: 0.68rem; color: rgba(255, 255, 255, 0.55); text-transform: uppercase; letter-spacing: 0.5px; }
        .jury-panel-note {
            margin-top: 18px;
            font-size: 0.8rem;
            color: rgba(255, 255, 255, 0.6);
            text-align: center;
            line-height: 1.5;
        }

        .updates-timeline { display: flex; flex-direction: column; gap: 18px; }
        .update-entry { border-left: 2px solid rgba(255, 255, 255, 0.2); padding-left: 16px; position: relative; }
        .update-entry::before {
            content: '';
            position: absolute;
            left: -5px;
            top: 5px;
            width: 8px;
            height: 8px;
            border-radius: 50%;
            background: #ffffff;
        }
        .update-date { font-size: 0.66rem; text-transform: uppercase; letter-spacing: 1px; color: rgba(255, 255, 255, 0.5); margin-bottom: 4px; }
        .update-title { font-size: 0.9rem; font-weight: 600; color: #ffffff; margin-bottom: 4px; }
        .update-text { font-size: 0.83rem; color: #e4e4e7; line-height: 1.5; }

        .rules-modal-container .modal-link-cta {
            display: inline-block;
            margin-top: 18px;
            font-size: 0.78rem;
            font-weight: 600;
            text-transform: uppercase;
            letter-spacing: 1px;
            color: #ffffff;
            text-decoration: underline;
            text-underline-offset: 4px;
            cursor: pointer;
        }

        .info-modal-container .info-tab-row {
            display: flex;
            gap: 8px;
            overflow-x: auto;
            margin-bottom: 26px;
            padding-bottom: 4px;
        }
        .info-modal-container .info-tab-row::-webkit-scrollbar { display: none; }
        .info-modal-container .info-tab-row { -ms-overflow-style: none; scrollbar-width: none; }
        .info-tab-pane { display: none; }
        .info-tab-pane.active { display: block; }

        .support-footer-links { flex-wrap: wrap; row-gap: 8px; }
        .support-footer-links-secondary { margin-top: -5px; }

        /* ===== REGISTRATION SECTION ===== */
        #section-registration {
            text-align: center;
        }

        .portal-form-wrapper {
            max-width: 650px;
            width: 100%;
            margin: 60px auto 0 auto;
            text-align: left;
        }

        .portal-glass-card {
            background: var(--glass-bg);
            backdrop-filter: var(--ios-blur);
            -webkit-backdrop-filter: var(--ios-blur);
            border: 1px solid var(--glass-border);
            border-radius: 20px;
            padding: 40px;
            box-shadow: 0 20px 50px rgba(0,0,0,0.6);
        }

        .portal-main-heading {
            text-align: center;
            font-size: 1.6rem;
            font-weight: 600;
            text-transform: uppercase;
            letter-spacing: 2px;
            margin-bottom: 35px;
            color: #ffffff;
        }

        .step-pipeline-container {
            display: flex;
            justify-content: space-between;
            align-items: flex-start;
            position: relative;
            margin-bottom: 45px;
            padding: 0 10px;
        }

        .step-pipeline-line {
            position: absolute;
            top: 16px;
            left: 30px;
            right: 30px;
            height: 1px;
            background: rgba(255, 255, 255, 0.2);
            z-index: 1;
        }

        .step-pipeline-line-progress {
            position: absolute;
            top: 0;
            left: 0;
            height: 100%;
            width: 0%;
            background: #ffffff;
            transition: width 0.4s ease;
        }

        .pipeline-node {
            display: flex;
            flex-direction: column;
            align-items: center;
            position: relative;
            z-index: 2;
            width: 70px;
        }

        .node-circle {
            width: 32px;
            height: 32px;
            border-radius: 50%;
            background: #0b0b0d;
            border: 1px solid rgba(255, 255, 255, 0.4);
            color: rgba(255,255,255,0.6);
            display: flex;
            align-items: center;
            justify-content: center;
            font-size: 0.85rem;
            font-weight: 600;
            margin-bottom: 12px;
            transition: all 0.3s ease;
        }

        .pipeline-node.active .node-circle {
            background: #ffffff;
            border-color: #ffffff;
            color: #000000;
            box-shadow: 0 0 15px rgba(255, 255, 255, 0.4);
        }

        .pipeline-node.completed .node-circle {
            background: rgba(255, 255, 255, 0.2);
            border-color: #ffffff;
            color: #ffffff;
        }

        .node-label {
            font-size: 0.65rem;
            color: rgba(255,255,255,0.7);
            text-align: center;
            line-height: 1.2;
            text-transform: uppercase;
            letter-spacing: 0.5px;
            transition: color 0.3s ease;
        }

        .pipeline-node.active .node-label {
            color: #ffffff;
            font-weight: 600;
        }

        .wizard-step-panel {
            display: none;
        }

        .wizard-step-panel.active {
            display: block;
            animation: panelFade 0.4s ease;
        }

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

        .wizard-step-subheading {
            font-size: 0.9rem;
            color: #ffffff;
            text-transform: uppercase;
            letter-spacing: 1px;
            margin-bottom: 25px;
            font-weight: 600;
            border-left: 3px solid #ffffff;
            padding-left: 10px;
        }

        .form-group { margin-bottom: 28px; }
        .form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }

        label { 
            display: block; 
            margin-bottom: 8px; 
            font-size: 0.82rem; 
            color: #ffffff; 
            font-weight: 500;
        }

        input[type="text"], 
        input[type="email"], 
        input[type="tel"], 
        input[type="number"], 
        input[type="url"], 
        select {
            width: 100%;
            padding: 14px 16px;
            background: rgba(6, 6, 8, 0.8);
            border: 1px solid rgba(255, 255, 255, 0.2);
            border-radius: 8px;
            color: var(--text-main);
            font-size: 0.95rem;
            outline: none;
            transition: all 0.25s ease;
        }

        select option { background-color: #121214; color: var(--text-main); }
        input:focus, select:focus { 
            background: #000000;
            border-color: rgba(255, 255, 255, 0.6);
        }

        .wizard-nav-row {
            display: flex;
            gap: 12px;
            margin-top: 35px;
        }

        .btn-wizard-action {
            width: 100%;
            padding: 16px;
            border-radius: 8px;
            font-size: 0.85rem;
            font-weight: 600;
            text-transform: uppercase;
            letter-spacing: 1.5px;
            cursor: pointer;
            transition: all 0.25s ease;
            display: flex;
            align-items: center;
            justify-content: center;
            gap: 10px;
            border: none;
        }

        .btn-wizard-action.continue {
            background: #ffffff;
            color: #000000;
        }

        .btn-wizard-action.continue:hover {
            background: rgba(255, 255, 255, 0.9);
        }

        .btn-wizard-action.back {
            background: rgba(0, 0, 0, 0.4);
            color: #ffffff;
            border: 1px solid rgba(255,255,255,0.3);
            max-width: 120px;
        }

        .btn-wizard-action.back:hover {
            background: rgba(255, 255, 255, 0.1);
            border-color: rgba(255,255,255,0.5);
        }

        .review-data-matrix {
            display: flex;
            flex-direction: column;
            gap: 12px;
            background: rgba(0,0,0,0.4);
            padding: 20px;
            border-radius: 10px;
            border: 1px solid rgba(255,255,255,0.1);
            max-height: 300px;
            overflow-y: auto;
            margin-bottom: 20px;
        }

        .review-row {
            display: flex;
            justify-content: space-between;
            font-size: 0.88rem;
            padding-bottom: 8px;
            border-bottom: 1px solid rgba(255,255,255,0.08);
        }

        .review-row span:first-child { color: rgba(255,255,255,0.7); }
        .review-row span:last-child { color: #ffffff; font-weight: 500; }

        .closed-state-card {
            text-align: center;
            padding: 40px 20px;
        }
        .closed-state-icon {
            font-size: 3.5rem;
            margin-bottom: 15px;
        }

        .file-upload-wrapper {
            position: relative;
            border: 1px dashed rgba(255, 255, 255, 0.3);
            border-radius: 8px;
            padding: 24px;
            text-align: center;
            background: rgba(0, 0, 0, 0.4);
            cursor: pointer;
        }
        .file-upload-wrapper input[type="file"] { position: absolute; top: 0; left: 0; width: 100%; height: 100%; opacity: 0; cursor: pointer; }
        .file-upload-text { color: rgba(255,255,255,0.8); font-size: 0.85rem; }
        .file-uploaded-name { display: none; margin-top: 8px; font-size: 0.85rem; color: #30d158; font-weight: 600; }
        .payment-view { background: rgba(0, 0, 0, 0.4); padding: 20px; border-radius: 10px; border: 1px solid rgba(255, 255, 255, 0.12); text-align: center; }
        .qr-box { width: 160px; height: 160px; background: #fff; padding: 8px; margin: 15px auto; border-radius: 10px; }
        .qr-box img { width: 100%; height: 100%; object-fit: contain; }
        .payment-amount { font-size: 2rem; font-weight: 700; letter-spacing: 0.5px; margin: 4px 0; }
        .payment-pay-btn { width: 100%; max-width: 320px; margin: 18px auto 0 auto; display: block; }
        .payment-retry-btn { width: 100%; max-width: 320px; margin: 12px auto 0 auto; display: block; }
        .payment-status-box { margin: 16px auto 4px auto; padding: 12px 14px; border-radius: 10px; font-size: 0.85rem; line-height: 1.5; text-align: left; max-width: 340px; border: 1px solid rgba(255,255,255,0.14); }
        .payment-status-box.is-pending { background: rgba(255, 214, 10, 0.08); border-color: rgba(255, 214, 10, 0.4); color: #ffd60a; }
        .payment-status-box.is-success { background: rgba(48, 209, 88, 0.08); border-color: rgba(48, 209, 88, 0.45); color: #30d158; }
        .payment-status-box.is-error { background: rgba(255, 69, 58, 0.08); border-color: rgba(255, 69, 58, 0.45); color: #ff6961; }
        /* Hide registration card until live config resolves — prevents open/closed flash */
        #registrationCardContent { opacity: 0; transition: opacity 0.25s ease; }
        body.cfg-ready #registrationCardContent { opacity: 1; }

        .success-screen-inner { text-align: center; padding: 60px 20px; }
        .success-icon { width: 64px; height: 64px; background: rgba(48, 209, 88, 0.1); border: 1px solid #30d158; color: #30d158; border-radius: 50%; display: flex; align-items: center; justify-content: center; margin: 0 auto 20px auto; font-size: 1.8rem; }

        /* ===== CONTACT SECTION ===== */
        #section-contact {
            text-align: center;
        }

        .contact-card-body {
            text-align: center;
            max-width: 600px;
            margin: 50px auto 0 auto;
        }

        .contact-channel-grid {
            display: flex;
            justify-content: center;
            gap: 60px;
            flex-wrap: wrap;
            margin: 10px 0 0 0;
        }

        .contact-channel-row {
            margin: 0;
            min-width: 220px;
        }

        .contact-channel-row label {
            color: rgba(255,255,255,0.5);
            font-size: 0.72rem;
            text-transform: uppercase;
            letter-spacing: 1.5px;
            display: block;
            margin-bottom: 8px;
        }

        .contact-channel-row p {
            font-size: 1.15rem;
            font-weight: 600;
            margin-top: 5px;
        }

        .contact-channel-row .phone-line {
            white-space: nowrap;
        }

        .phone-sep {
            margin: 0 10px;
            color: rgba(255,255,255,0.3);
        }

        .contact-channel-row a {
            color: #ffffff;
            text-decoration: none;
            transition: opacity 0.2s ease;
        }

        .contact-channel-row a:hover {
            opacity: 0.7;
        }

        .social-links-grid {
            display: flex;
            justify-content: center;
            align-items: center;
            gap: 25px;
            margin-top: 15px;
        }

        .social-link-icon-anchor {
            display: inline-block;
            transition: transform 0.25s cubic-bezier(0.175, 0.885, 0.32, 1.275);
        }

        .social-link-icon-anchor:hover {
            transform: scale(1.15);
        }

        .social-link-icon-anchor img {
            width: 38px;
            height: 38px;
            object-fit: contain;
            display: block;
        }

        /* ===== WHATSAPP FLOATING BUTTON ===== */
        .whatsapp-float-btn {
            position: fixed;
            bottom: 24px;
            right: 24px;
            width: 56px;
            height: 56px;
            background: #25D366;
            border-radius: 50%;
            display: flex;
            align-items: center;
            justify-content: center;
            box-shadow: 0 6px 20px rgba(0, 0, 0, 0.45);
            z-index: 1500;
            transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.3s ease;
        }
        .whatsapp-float-btn svg {
            width: 28px;
            height: 28px;
            fill: #ffffff;
        }
        .whatsapp-float-btn::before {
            content: '';
            position: absolute;
            inset: 0;
            border-radius: 50%;
            box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.55);
            animation: whatsappPulse 2.6s infinite;
            pointer-events: none;
        }
        .whatsapp-float-btn:hover {
            transform: scale(1.08);
            box-shadow: 0 8px 26px rgba(0, 0, 0, 0.55);
        }
        @keyframes whatsappPulse {
            0% { box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.55); }
            70% { box-shadow: 0 0 0 14px rgba(37, 211, 102, 0); }
            100% { box-shadow: 0 0 0 0 rgba(37, 211, 102, 0); }
        }
        @media (max-width: 600px) {
            .whatsapp-float-btn {
                width: 50px;
                height: 50px;
                bottom: calc(18px + env(safe-area-inset-bottom, 0px));
                right: calc(18px + env(safe-area-inset-right, 0px));
            }
            .whatsapp-float-btn svg { width: 25px; height: 25px; }
        }
        @media (prefers-reduced-motion: reduce) {
            .whatsapp-float-btn::before { animation: none; }
            .gs-fig { transition: opacity 0.05s; }
            .gallery-select-strip li { transition: none; }
        }

        /* ===== FOOTER ===== */
        .support-footer {
            padding: 70px 8% 30px 8%;
            border-top: 1px solid rgba(255, 255, 255, 0.1);
            background: rgba(6, 6, 8, 0.85);
            backdrop-filter: blur(10px);
            font-size: 0.85rem;
            color: rgba(255, 255, 255, 0.7);
            line-height: 1.6;
            position: relative;
            z-index: 2;
        }

        .footer-columns {
            display: grid;
            grid-template-columns: repeat(4, 1fr);
            gap: 30px;
            max-width: 1200px;
            margin: 0 auto 50px auto;
            text-align: left;
        }

        .footer-col {
            display: flex;
            flex-direction: column;
        }

        .footer-col h4 {
            color: #ffffff;
            font-size: 0.95rem;
            font-weight: 700;
            margin-bottom: 18px;
        }

        .footer-col a {
            color: rgba(255, 255, 255, 0.65);
            text-decoration: none;
            font-size: 0.85rem;
            margin-bottom: 14px;
            transition: color 0.2s ease;
            cursor: pointer;
        }

        .footer-col a:hover { color: #ffffff; }

        .footer-static-text {
            color: rgba(255, 255, 255, 0.6);
            font-size: 0.85rem;
            line-height: 1.7;
        }

        .footer-bottom-bar {
            max-width: 1200px;
            margin: 0 auto;
            padding-top: 25px;
            border-top: 1px solid rgba(255, 255, 255, 0.1);
            display: flex;
            justify-content: space-between;
            align-items: center;
            flex-wrap: wrap;
            gap: 20px;
            text-align: left;
        }

        .footer-bottom-left p {
            font-size: 0.75rem;
            color: rgba(255, 255, 255, 0.45);
            margin-top: 6px;
        }

        .footer-brand-mark {
            font-size: 0.9rem;
            font-weight: 700;
            color: #ffffff;
            letter-spacing: 1px;
        }

        .footer-social-grid {
            position: relative;
            display: flex;
            align-items: center;
            gap: 2px;
            padding: 6px;
            border-radius: 16px;
            background: #0a0a0a;
            border: 1px solid rgba(255,255,255,0.08);
            margin-top: 0;
        }

        .footer-social-grid .social-link-icon-anchor {
            position: relative;
            display: flex;
            align-items: center;
            justify-content: center;
            width: 40px;
            height: 40px;
            border-radius: 10px;
        }

        .footer-social-grid .social-link-icon-anchor .social-icon-bg {
            position: absolute;
            inset: 4px;
            border-radius: 8px;
            background: rgba(255,255,255,0.08);
            opacity: 0;
            transform: scale(0.9);
            transition: all 0.3s ease-out;
        }

        .footer-social-grid .social-link-icon-anchor:hover .social-icon-bg {
            opacity: 1;
            transform: scale(1);
        }

        .footer-social-grid .social-link-icon-anchor img {
            position: relative;
            z-index: 1;
            width: 18px;
            height: 18px;
            opacity: 0.55;
            filter: grayscale(1) brightness(1.6);
            transition: all 0.3s ease-out;
        }

        .footer-social-grid .social-link-icon-anchor:hover img {
            opacity: 1;
            filter: none;
            transform: scale(1.1);
        }

        .footer-social-grid .social-icon-underline {
            position: absolute;
            bottom: 6px;
            left: 50%;
            transform: translateX(-50%);
            height: 2px;
            width: 0;
            border-radius: 2px;
            background: #ffffff;
            opacity: 0;
            transition: all 0.3s ease-out;
        }
        .footer-social-grid .social-link-icon-anchor:hover .social-icon-underline {
            width: 12px;
            opacity: 1;
        }

        .footer-social-grid .social-icon-tooltip {
            position: absolute;
            bottom: calc(100% + 10px);
            left: 50%;
            transform: translateX(-50%) translateY(4px);
            padding: 5px 10px;
            border-radius: 8px;
            background: #ffffff;
            color: #0a0a0a;
            font-size: 11px;
            font-weight: 600;
            white-space: nowrap;
            opacity: 0;
            pointer-events: none;
            transition: all 0.3s ease-out;
        }
        .footer-social-grid .social-icon-tooltip::after {
            content: "";
            position: absolute;
            top: 100%;
            left: 50%;
            transform: translateX(-50%) rotate(45deg);
            width: 8px;
            height: 8px;
            background: #ffffff;
            margin-top: -4px;
        }
        .footer-social-grid .social-link-icon-anchor:hover .social-icon-tooltip {
            opacity: 1;
            transform: translateX(-50%) translateY(0);
        }

        /* ===== RESPONSIVE ===== */
        @media (max-width: 992px) {
            .categories-grid-matrix { grid-template-columns: repeat(3, 1fr); }
        }

        @media (max-width: 768px) {
            .hero-main-title { white-space: normal; }
            .global-background-overlay {
                background-size: contain;
                background-position: top center;
                background-color: var(--site-bg);
            }

            .site-header-wrapper { 
                height: 60px;
                padding: 0 20px; 
                justify-content: space-between;
                background: rgba(6, 6, 8, 0.95);
            }

            .brand-logo-area img { max-height: 38px; }
            
            .menu-toggle-btn { display: flex; }

            .navbar { 
                display: none; 
                flex-direction: column;
                position: absolute;
                top: 100%;
                left: 0;
                width: 100%;
                height: auto;
                background: rgba(11, 11, 14, 0.98);
                backdrop-filter: blur(25px);
                -webkit-backdrop-filter: blur(25px);
                padding: 15px 0;
                gap: 0;
                border-bottom: 1px solid rgba(255, 255, 255, 0.1);
                box-shadow: 0 15px 30px rgba(0, 0, 0, 0.8);
            }
            
            .navbar.active { display: flex; }
            
            .navbar a {
                width: 100%;
                text-align: center;
                padding: 14px 0;
                font-size: 0.85rem;
                letter-spacing: 1.5px;
                border-radius: 0;
                color: rgba(255, 255, 255, 0.7);
                border-bottom: 1px solid rgba(255, 255, 255, 0.03);
            }
            .navbar a:last-child { border-bottom: none; }
            .navbar a:hover, .navbar a.active {
                background: rgba(255, 255, 255, 0.05);
                color: #ffffff;
            }
            .navbar a.active::after { display: none; }

            .nav-more-wrapper { width: 100%; display: flex; flex-direction: column; }
            .nav-more-dropdown {
                position: static;
                width: 100%;
                margin-top: 0;
                border: none;
                border-radius: 0;
                background: rgba(255, 255, 255, 0.03);
                box-shadow: none;
                backdrop-filter: none;
                -webkit-backdrop-filter: none;
                padding: 0;
            }
            .nav-more-dropdown a {
                border-bottom: 1px solid rgba(255, 255, 255, 0.03);
                text-align: center;
                padding: 12px 0;
                border-radius: 0;
            }

            #section-home { padding: 100px 5% 50px 5%; }
            .page-section { padding: 80px 5%; }
            .form-grid { grid-template-columns: 1fr; gap: 0; }
            .contact-channel-grid { flex-direction: row; gap: 20px; }
            .contact-channel-row { min-width: 0; flex: 1 1 0; }
            .footer-columns { grid-template-columns: repeat(2, 1fr); gap: 35px; }
            .footer-bottom-bar { flex-direction: column; align-items: flex-start; }
            .footer-social-grid { justify-content: flex-start; }
            .countdown-dashboard-container { grid-template-columns: 1fr; gap: 12px; }
            .hero-metric-ribbon { grid-template-columns: repeat(2, 1fr); padding: 16px; } .ribbon-item { padding: 12px; border-right: none; border-bottom: 1px solid rgba(255,255,255,0.1); } .ribbon-item:nth-child(odd) { border-right: 1px solid rgba(255,255,255,0.1); }
            .categories-grid-matrix { grid-template-columns: repeat(2, 1fr); gap: 12px; }
            .gallery-photo-frame { flex-basis: 220px; }
            .portal-glass-card { padding: 24px; }
            .step-pipeline-container { display: none; }
            .social-links-grid { gap: 20px; }
            .btn-wizard-action { padding: 14px; font-size: 0.8rem; }
        }

        @media (max-width: 480px) {
            .hero-main-title { white-space: normal; font-size: clamp(1.6rem, 9vw, 2.6rem); }
            .hero-metric-ribbon { grid-template-columns: 1fr; padding: 16px; } .ribbon-item { padding: 12px 0; border-right: none; border-bottom: 1px solid rgba(255,255,255,0.1); } .ribbon-item:last-child { border-bottom: none; }
            .categories-grid-matrix { grid-template-columns: 1fr; }
            .gallery-photo-frame { flex-basis: 190px; }
            .btn-action-primary, .btn-action-secondary { padding: 14px 22px; font-size: 0.75rem; }
            .hero-presenter-tag { letter-spacing: 2px; }
            .footer-columns { grid-template-columns: 1fr 1fr; gap: 25px; }
            .contact-channel-row .phone-line { white-space: normal; }
            .phone-sep { display: none; }
            .contact-channel-row .phone-line a { display: block; margin-bottom: 4px; }
        }

        /* ===== SMALL MOBILE: 320px – 390px ===== */
        @media (max-width: 390px) {
            body { overflow-x: hidden; }
            .site-header-wrapper { padding: 0 14px; }
            #section-home { padding: 90px 4% 40px 4%; }
            .page-section { padding: 60px 4%; }
            .hero-main-title { font-size: clamp(1.4rem, 8.5vw, 2.2rem); }
            .portal-glass-card { padding: 18px; }
            .contact-channel-grid { flex-direction: column; }
            .footer-columns { grid-template-columns: 1fr; gap: 28px; }
            .btn-wizard-action { width: 100%; min-width: 0; font-size: 0.78rem; padding: 14px 12px; }
            .wizard-nav-row { flex-direction: column; gap: 10px; }
            .form-group input, .form-group select, .form-group textarea { font-size: 0.9rem; }
        }

        /* ===== PERFORMANCE: prefers-reduced-motion ===== */
        @media (prefers-reduced-motion: reduce) {
            *, *::before, *::after {
                animation-duration: 0.01ms !important;
                animation-iteration-count: 1 !important;
                transition-duration: 0.01ms !important;
                scroll-behavior: auto !important;
            }
            .gs-backdrop { filter: brightness(0.35); }
            .whatsapp-float-btn::before { animation: none; }
        }

        /* ===== TOUCH TARGET IMPROVEMENTS ===== */
        @media (hover: none) and (pointer: coarse) {
            .navbar a { padding: 16px 14px; }
            .gallery-select-strip li { flex: 0 0 90px; }
            .category-carousel-btn { width: 44px; height: 44px; }
            .btn-action-primary, .btn-action-secondary { padding: 16px 28px; }
        }

        /* ===== VIDEOS & MEDIA UPDATES SECTION ===== */
        .vid-section {
            padding: 100px 5% 80px;
            position: relative;
            overflow: hidden;
        }
        .vid-inner { max-width: 1320px; margin: 0 auto; }
        /* Header */
        .vid-header {
            display: flex;
            justify-content: space-between;
            align-items: flex-start;
            gap: 40px;
            margin-bottom: 44px;
        }
        .vid-header-left { flex: 1; }
        .vid-line-accent {
            width: 60px; height: 2px;
            background: rgba(255,255,255,0.3);
            margin-bottom: 18px;
        }
        .vid-heading {
            font-size: clamp(1.8rem, 4.5vw, 3.2rem);
            font-weight: 800;
            letter-spacing: 0.04em;
            line-height: 1.15;
            color: #fff;
            margin: 8px 0 12px;
        }
        .vid-sub {
            color: rgba(255,255,255,0.42);
            font-size: 0.95rem;
            letter-spacing: 0.06em;
        }
        .vid-header-right {
            flex: 0 0 auto;
            max-width: 280px;
            padding-top: 20px;
        }
        .vid-quote {
            position: relative;
            padding-left: 20px;
            border-left: 2px solid rgba(255,255,255,0.15);
        }
        .vid-quote-mark {
            position: absolute;
            top: -24px; left: 0;
            font-size: 3rem;
            color: rgba(255,255,255,0.12);
            font-family: Georgia, serif;
            line-height: 1;
        }
        .vid-quote p {
            font-size: 1.15rem;
            font-style: italic;
            color: rgba(255,255,255,0.55);
            line-height: 1.6;
        }
        /* Category filter tabs */
        .vid-filters {
            display: flex;
            gap: 10px;
            margin-bottom: 36px;
            overflow-x: auto;
            -webkit-overflow-scrolling: touch;
            scrollbar-width: none;
            padding-bottom: 4px;
        }
        .vid-filters::-webkit-scrollbar { display: none; }
        .vid-filter-btn {
            display: inline-flex;
            align-items: center;
            gap: 8px;
            padding: 10px 22px;
            background: transparent;
            border: 1px solid rgba(255,255,255,0.14);
            border-radius: 100px;
            color: rgba(255,255,255,0.6);
            font-size: 0.85rem;
            letter-spacing: 0.04em;
            cursor: pointer;
            white-space: nowrap;
            transition: all 0.25s ease;
            flex-shrink: 0;
        }
        .vid-filter-btn:hover {
            background: rgba(255,255,255,0.06);
            border-color: rgba(255,255,255,0.28);
            color: #fff;
        }
        .vid-filter-btn.active {
            background: rgba(255,255,255,0.1);
            border-color: rgba(255,255,255,0.35);
            color: #fff;
        }
        .vid-filter-icon { font-size: 1rem; }
        /* Carousel */
        .vid-carousel-wrap {
            position: relative;
            display: flex;
            align-items: center;
            gap: 12px;
            margin-bottom: 12px;
        }
        .vid-carousel {
            flex: 1;
            overflow-x: auto;
            overflow-y: hidden;
            -webkit-overflow-scrolling: touch;
            overscroll-behavior-x: contain;
            scrollbar-width: none;
        }
        .vid-carousel::-webkit-scrollbar { display: none; }
        .vid-track {
            display: flex;
            gap: 18px;
            padding: 8px 2px 16px;
            width: max-content;
        }
        .vid-arrow {
            flex: 0 0 44px;
            width: 44px; height: 44px;
            border-radius: 50%;
            background: rgba(255,255,255,0.06);
            border: 1px solid rgba(255,255,255,0.14);
            color: #fff;
            font-size: 1.5rem;
            cursor: pointer;
            display: flex; align-items: center; justify-content: center;
            transition: background 0.2s, border-color 0.2s;
            flex-shrink: 0;
        }
        .vid-arrow:hover {
            background: rgba(255,255,255,0.12);
            border-color: rgba(255,255,255,0.28);
        }
        /* Video card */
        .vid-card {
            flex: 0 0 260px;
            background: rgba(14,14,18,0.85);
            border: 1px solid rgba(255,255,255,0.08);
            border-radius: 12px;
            overflow: hidden;
            cursor: pointer;
            transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
        }
        .vid-card:hover {
            transform: translateY(-6px) scale(1.02);
            box-shadow: 0 16px 48px rgba(0,0,0,0.6), 0 0 24px rgba(255,255,255,0.04);
            border-color: rgba(255,255,255,0.18);
        }
        .vid-card.featured {
            flex: 0 0 380px;
        }
        .vid-card-thumb {
            position: relative;
            aspect-ratio: 16/9;
            background: #0a0a0c;
            overflow: hidden;
        }
        .vid-card-thumb img {
            width: 100%; height: 100%;
            object-fit: cover;
            display: block;
            transition: transform 0.4s ease;
        }
        .vid-card:hover .vid-card-thumb img { transform: scale(1.06); }
        .vid-card-overlay {
            position: absolute;
            inset: 0;
            display: flex;
            align-items: center;
            justify-content: center;
            background: rgba(0,0,0,0.25);
            transition: background 0.3s;
        }
        .vid-card:hover .vid-card-overlay { background: rgba(0,0,0,0.15); }
        .vid-play-icon {
            width: 52px; height: 52px;
            background: rgba(255,255,255,0.12);
            backdrop-filter: blur(8px);
            -webkit-backdrop-filter: blur(8px);
            border: 1px solid rgba(255,255,255,0.2);
            border-radius: 50%;
            display: flex; align-items: center; justify-content: center;
            transition: transform 0.25s, background 0.25s;
        }
        .vid-card:hover .vid-play-icon {
            transform: scale(1.12);
            background: rgba(255,255,255,0.2);
        }
        .vid-play-icon svg { width: 20px; height: 20px; fill: #fff; margin-left: 3px; }
        .vid-card.featured .vid-play-icon { width: 64px; height: 64px; }
        .vid-card.featured .vid-play-icon svg { width: 26px; height: 26px; margin-left: 4px; }
        .vid-duration {
            position: absolute;
            bottom: 8px; left: 10px;
            background: rgba(0,0,0,0.75);
            color: #fff;
            font-size: 0.72rem;
            font-weight: 600;
            padding: 2px 7px;
            border-radius: 4px;
            letter-spacing: 0.04em;
        }
        .vid-featured-badge {
            position: absolute;
            top: 10px; left: 10px;
            background: rgba(255,255,255,0.12);
            backdrop-filter: blur(6px);
            -webkit-backdrop-filter: blur(6px);
            border: 1px solid rgba(255,255,255,0.2);
            color: #fff;
            font-size: 0.65rem;
            font-weight: 700;
            letter-spacing: 0.12em;
            padding: 4px 10px;
            border-radius: 4px;
            text-transform: uppercase;
        }
        .vid-card-body { padding: 14px 16px 16px; }
        .vid-card-title {
            font-size: 0.9rem;
            font-weight: 600;
            color: #fff;
            line-height: 1.35;
            display: -webkit-box;
            -webkit-line-clamp: 2;
            -webkit-box-orient: vertical;
            overflow: hidden;
            margin-bottom: 6px;
        }
        .vid-card.featured .vid-card-title { font-size: 1.05rem; }
        .vid-card-desc {
            font-size: 0.78rem;
            color: rgba(255,255,255,0.45);
            line-height: 1.5;
            display: -webkit-box;
            -webkit-line-clamp: 2;
            -webkit-box-orient: vertical;
            overflow: hidden;
            margin-bottom: 8px;
        }
        .vid-card-meta {
            display: flex;
            align-items: center;
            gap: 6px;
            font-size: 0.7rem;
            color: rgba(255,255,255,0.35);
            letter-spacing: 0.06em;
            text-transform: uppercase;
        }
        .vid-card-meta span { white-space: nowrap; }
        .vid-card-meta .vid-meta-sep { opacity: 0.4; }
        /* Expanded grid */
        .vid-all-grid {
            display: grid;
            grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
            gap: 20px;
            margin-bottom: 24px;
        }
        .vid-all-grid .vid-card {
            flex: none;
        }
        .vid-all-grid .vid-card.featured { flex: none; }
        /* VIEW ALL button */
        .vid-cta-wrap {
            text-align: center;
            margin: 32px 0 48px;
        }
        .vid-cta-btn {
            display: inline-flex;
            align-items: center;
            gap: 12px;
            padding: 16px 40px;
            background: transparent;
            border: 1px solid rgba(255,255,255,0.18);
            border-radius: 100px;
            color: #fff;
            font-size: 0.9rem;
            font-weight: 600;
            letter-spacing: 0.1em;
            cursor: pointer;
            transition: all 0.3s ease;
        }
        .vid-cta-btn:hover {
            background: rgba(255,255,255,0.08);
            border-color: rgba(255,255,255,0.4);
            box-shadow: 0 0 30px rgba(255,255,255,0.06);
        }
        .vid-cta-btn svg { width: 16px; height: 16px; }
        .vid-cta-arrow { font-size: 1.1rem; transition: transform 0.2s; }
        .vid-cta-btn:hover .vid-cta-arrow { transform: translateX(4px); }
        /* Bottom tagline */
        .vid-bottom-tagline {
            display: flex;
            align-items: center;
            justify-content: center;
            gap: 20px;
            color: rgba(255,255,255,0.2);
            font-size: 0.72rem;
            letter-spacing: 0.25em;
            text-transform: uppercase;
        }
        .vid-tagline-line {
            width: 60px; height: 1px;
            background: rgba(255,255,255,0.15);
        }
        /* YouTube modal */
        .yt-modal-backdrop {
            position: fixed;
            inset: 0;
            background: rgba(0,0,0,0.88);
            z-index: 9000;
            display: none;
            align-items: center;
            justify-content: center;
            backdrop-filter: blur(6px);
            -webkit-backdrop-filter: blur(6px);
        }
        .yt-modal-backdrop.open {
            display: flex;
        }
        .yt-modal-box {
            position: relative;
            width: min(90vw, 900px);
            background: #0a0a0c;
            border: 1px solid rgba(255,255,255,0.12);
            border-radius: 12px;
            overflow: hidden;
            box-shadow: 0 20px 80px rgba(0,0,0,0.8);
        }
        .yt-modal-frame {
            position: relative;
            padding-bottom: 56.25%;
            height: 0;
        }
        .yt-modal-frame iframe {
            position: absolute;
            inset: 0;
            width: 100%; height: 100%;
            border: none;
        }
        .yt-modal-close {
            position: absolute;
            top: 10px; right: 12px;
            z-index: 10;
            background: rgba(0,0,0,0.6);
            border: 1px solid rgba(255,255,255,0.18);
            border-radius: 50%;
            width: 36px; height: 36px;
            color: #fff;
            font-size: 1.3rem;
            cursor: pointer;
            display: flex; align-items: center; justify-content: center;
            line-height: 1;
        }
        .yt-modal-close:hover { background: rgba(255,255,255,0.12); }
        /* Videos responsive */
        @media (max-width: 900px) {
            .vid-header { flex-direction: column; gap: 20px; }
            .vid-header-right { max-width: none; padding-top: 0; }
            .vid-card { flex: 0 0 220px; }
            .vid-card.featured { flex: 0 0 280px; }
        }
        @media (max-width: 768px) {
            .vid-section { padding: 60px 4% 60px; }
            .vid-heading { letter-spacing: 0.02em; }
            .vid-arrow { display: none; }
            .vid-carousel-wrap { gap: 0; }
            .vid-card { flex: 0 0 200px; }
            .vid-card.featured { flex: 0 0 240px; }
            .vid-play-icon { width: 44px; height: 44px; }
            .vid-play-icon svg { width: 16px; height: 16px; }
            .vid-card.featured .vid-play-icon { width: 52px; height: 52px; }
            .vid-cta-btn { padding: 14px 32px; font-size: 0.82rem; }
            .vid-all-grid { grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 14px; }
        }
