:root {
    --brand-blue: #0693e3;
    --brand-blue-hover: #0084cc;
    --brand-blue-glow: rgba(6, 147, 227, 0.35);
    --brand-blue-subtle: rgba(6, 147, 227, 0.12);
    
    --brand-black: #0a0a0a;
    --brand-dark-gray: #121214;
    --brand-card: #18181b;
    --brand-card-hover: #222226;
    --brand-border: rgba(255, 255, 255, 0.08);
    --brand-border-glow: rgba(6, 147, 227, 0.4);
    
    --brand-white: #ffffff;
    --text-primary: #f4f4f5;
    --text-secondary: #a1a1aa;
    --text-muted: #71717a;
    
    --tag-green: #10b981;
    --tag-amber: #f59e0b;
    
    --font-main: 'DIN Pro', 'DIN', 'Barlow', 'Helvetica Neue', Arial, sans-serif;
    --font-heading: 'DIN Pro', 'DIN', 'Barlow Semi Condensed', 'Barlow', 'Helvetica Neue', Arial, sans-serif;
    
    --radius-sm: 6px;
    --radius-md: 12px;
    --radius-lg: 18px;
    --radius-pill: 9999px;
    
    --shadow-soft: 0 10px 30px -10px rgba(0, 0, 0, 0.5);
    --shadow-glow: 0 0 25px var(--brand-blue-glow);
}

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

html {
    scroll-behavior: smooth;
    scrollbar-width: none; /* Firefox */
    -ms-overflow-style: none; /* IE / Edge */
}

body {
    font-family: var(--font-main);
    background-color: var(--brand-black);
    color: var(--text-primary);
    line-height: 1.6;
    overflow-x: clip;
    scrollbar-width: none; /* Firefox */
    -ms-overflow-style: none; /* IE / Edge */
    -webkit-font-smoothing: antialiased;
}

/* Accessibility Skip-to-Content Link */
.skip-link {
    position: absolute;
    top: -120px;
    left: 1.5rem;
    background: var(--brand-blue);
    color: var(--brand-white);
    padding: 0.65rem 1.25rem;
    font-size: 0.9rem;
    font-weight: 700;
    border-radius: var(--radius-sm);
    z-index: 999999;
    text-decoration: none;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.5);
    transition: top 0.2s ease;
}

.skip-link:focus {
    top: 1.5rem;
    outline: 2px solid #ffffff;
    outline-offset: 2px;
}

/* Hide scrollbar across all WebKit browsers (Chrome, Edge, Safari) */
html::-webkit-scrollbar,
body::-webkit-scrollbar,
.summerween-dialog::-webkit-scrollbar,
.schedule-container::-webkit-scrollbar,
.offcanvas-panel::-webkit-scrollbar {
    display: none !important;
    width: 0 !important;
    height: 0 !important;
}

/* Hide scrollbar for modals and scrollable panels */
.summerween-dialog,
.schedule-container,
.offcanvas-panel {
    scrollbar-width: none;
    -ms-overflow-style: none;
}

a {
    text-decoration: none;
    color: inherit;
    transition: all 0.25s ease;
}

.container {
    max-width: 1240px;
    margin: 0 auto;
    padding: 0 1.5rem;
}

/* Accessibility: Skip to Content Link */
.skip-to-content {
    position: absolute;
    top: -9999px;
    left: 1rem;
    background: var(--brand-blue);
    color: var(--brand-white);
    padding: 0.6rem 1.2rem;
    border-radius: var(--radius-sm);
    font-weight: 700;
    font-size: 0.95rem;
    z-index: 99999;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.6);
    transition: top 0.2s ease;
}

.skip-to-content:focus {
    top: 1rem;
    outline: 2px solid #ffffff;
}

/* Accessibility: Respect Reduced Motion Preferences */
@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;
    }
}

/* ==========================================================================
   Static Sticky Header (Full Logo & Zero-Scroll CTAs)
   ========================================================================== */
.site-header {
    position: sticky;
    top: 0;
    width: 100%;
    z-index: 1000;
    background: rgba(10, 10, 10, 0.94);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    padding: 0.75rem 0;
    transition: all 0.3s ease;
}

.nav-container {
    max-width: 1240px;
    margin: 0 auto;
    padding: 0 1.5rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 1.5rem;
}

/* Full Logo (Fan Icon + Prominent Wordmark) */
.brand-logo-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    line-height: 1;
}
.brand-logo {
    display: flex;
    align-items: center;
    gap: 0.85rem;
    text-decoration: none;
    flex-shrink: 0;
}

.nav-logo-icon, .nav-logo-img {
    height: 48px;
    max-height: 48px;
    width: auto;
    max-width: 160px;
    object-fit: contain;
    display: block;
    transform-origin: 33% 80%;
    filter: drop-shadow(0 2px 8px rgba(6, 147, 227, 0.3));
    transition: transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
    cursor: pointer;
    user-select: none;
    will-change: transform;
}

.fan-logo-btn {
    background: transparent;
    border: none;
    padding: 0;
    margin: 0;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    outline: none;
    line-height: 1;
    -webkit-tap-highlight-color: transparent;
}

.fan-logo-btn:focus-visible .nav-logo-icon {
    outline: 2px solid var(--brand-electric-blue);
    outline-offset: 4px;
    border-radius: 4px;
}

.brand-name-link {
    display: inline-flex;
    align-items: center;
    text-decoration: none;
    cursor: pointer;
    transform-origin: bottom left;
    will-change: transform;
    transition: filter 0.2s ease;
}

.brand-name-link:hover .brand-name {
    text-shadow: 0 0 16px rgba(6, 147, 227, 0.65), 0 0 28px rgba(6, 147, 227, 0.35);
}

.brand-name-link:active:not(.is-blown):not(.is-fluttered) {
    transform: scale(0.97);
}

/* Wind Gust animations: text pushed to the right by the fan's air */
@keyframes windFlutter {
    0% { transform: translateX(0); }
    35% { transform: translateX(3px) skewX(-2deg); }
    70% { transform: translateX(-1px); }
    100% { transform: translateX(0); }
}

@keyframes windBlow {
    0%, 46% {
        transform: translateX(0) skewX(0deg) rotate(0deg);
    }
    53% {
        /* Explosive gust blast knocks text far to the right */
        transform: translateX(34px) skewX(-11deg) rotate(1.5deg);
    }
    64% {
        /* Air drag catches the text, beginning a natural deceleration */
        transform: translateX(22px) skewX(-6deg) rotate(0.8deg);
    }
    76% {
        /* Smoothly gliding back into place */
        transform: translateX(7px) skewX(-2deg);
    }
    88% {
        /* Gentle soft cushion overshoot */
        transform: translateX(-2px) skewX(0.5deg);
    }
    95% {
        transform: translateX(0.5px);
    }
    100% {
        transform: translateX(0) skewX(0deg) rotate(0deg);
    }
}

.brand-name-link.is-fluttered {
    animation: windFlutter 0.82s cubic-bezier(0.25, 1, 0.5, 1) both;
}

.brand-name-link.is-blown {
    animation: windBlow 1.48s cubic-bezier(0.16, 1, 0.3, 1) both;
}

.fan-logo-btn:hover .nav-logo-icon:not(.is-flapping), 
.fan-logo-btn:hover .nav-logo-img:not(.is-flapping),
.nav-logo-icon:hover:not(.is-flapping) {
    transform: rotate(8deg) scale(1.08);
}

.fan-logo-btn:active .nav-logo-icon:not(.is-flapping),
.nav-logo-icon:active:not(.is-flapping) {
    transform: rotate(-3deg) scale(0.96);
}

/* Fan Flap / Flutter Keyframe Animation */
@keyframes fanFlap {
    0% {
        transform: perspective(600px) rotate(0deg) rotateY(0deg) scale(1);
    }
    15% {
        transform: perspective(600px) rotate(-18deg) rotateY(-36deg) scale(1.08);
        filter: drop-shadow(0 4px 16px rgba(6, 147, 227, 0.75));
    }
    32% {
        transform: perspective(600px) rotate(16deg) rotateY(34deg) scale(1.06);
        filter: drop-shadow(-3px 2px 12px rgba(6, 147, 227, 0.5));
    }
    48% {
        transform: perspective(600px) rotate(-12deg) rotateY(-24deg) scale(1.03);
        filter: drop-shadow(0 3px 14px rgba(6, 147, 227, 0.6));
    }
    64% {
        transform: perspective(600px) rotate(8deg) rotateY(16deg) scale(1.01);
    }
    80% {
        transform: perspective(600px) rotate(-4deg) rotateY(-8deg) scale(1);
    }
    92% {
        transform: perspective(600px) rotate(1.5deg) rotateY(3deg) scale(1);
    }
    100% {
        transform: perspective(600px) rotate(0deg) rotateY(0deg) scale(1);
    }
}

.nav-logo-icon.is-flapping,
.nav-logo-img.is-flapping {
    animation: fanFlap 0.82s cubic-bezier(0.25, 1, 0.5, 1) both;
}

/* 5th Click Easter Egg: Circular Pie Close & Whip-Open Fan Snap */
@keyframes fanPieSnap {
    0% {
        transform: perspective(600px) rotate(0deg) scale(1);
        clip-path: polygon(33.0% 80.0%, -18.9% -3.1%, 17.3% -16.7%, 56.0% -15.3%, 91.2% 1.1%, 117.2% 29.8%, 130.0% 66.4%, 33.0% 80.0%);
    }
    /* PHASE 1: Pie slice folds shut like an origami fan */
    10% {
        transform: perspective(600px) rotate(10deg) scale(1.02);
        clip-path: polygon(33.0% 80.0%, -18.9% -3.1%, 5.9% -14.2%, 32.9% -18.0%, 59.8% -14.3%, 84.7% -3.3%, 105.6% 14.2%, 33.0% 80.0%);
    }
    20% {
        transform: perspective(600px) rotate(-6deg) scale(1.02);
        clip-path: polygon(33.0% 80.0%, -18.9% -3.1%, -6.9% -9.5%, 5.9% -14.2%, 19.3% -17.0%, 32.9% -18.0%, 46.5% -17.1%, 33.0% 80.0%);
    }
    28% {
        /* Fully folded closed pie slice */
        transform: perspective(600px) rotate(-16deg) scale(1);
        clip-path: polygon(33.0% 80.0%, -18.9% -3.1%, -17.9% -3.7%, -16.9% -4.3%, -15.9% -4.9%, -14.9% -5.5%, -13.9% -6.1%, 33.0% 80.0%);
    }
    /* PHASE 2: Held closed, cocking wrist back */
    38% {
        transform: perspective(600px) rotate(-32deg) translateY(-4px);
        clip-path: polygon(33.0% 80.0%, -18.9% -3.1%, -17.9% -3.7%, -16.9% -4.3%, -15.9% -4.9%, -14.9% -5.5%, -13.9% -6.1%, 33.0% 80.0%);
    }
    /* PHASE 3: Whip-Snap: Pie slice cracks wide open in ~80ms! */
    46% {
        transform: perspective(600px) rotate(4deg) scale(1.08);
        clip-path: polygon(33.0% 80.0%, -18.9% -3.1%, -3.3% -11.0%, 13.5% -16.0%, 30.9% -18.0%, 48.4% -16.8%, 65.4% -12.5%, 33.0% 80.0%);
    }
    52% {
        transform: perspective(600px) rotate(32deg) scale(1.18) translateY(0);
        clip-path: polygon(33.0% 80.0%, -18.9% -3.1%, 17.3% -16.7%, 56.0% -15.3%, 91.2% 1.1%, 117.2% 29.8%, 130.0% 66.4%, 33.0% 80.0%);
        filter: drop-shadow(0 3px 10px rgba(6, 147, 227, 0.45));
    }
    /* PHASE 4: Con-hall recoil shudder */
    62% {
        transform: perspective(600px) rotate(-16deg) scale(0.95);
        clip-path: polygon(33.0% 80.0%, -18.9% -3.1%, 17.3% -16.7%, 56.0% -15.3%, 91.2% 1.1%, 117.2% 29.8%, 130.0% 66.4%, 33.0% 80.0%);
        filter: drop-shadow(0 2px 8px rgba(6, 147, 227, 0.3));
    }
    72% {
        transform: perspective(600px) rotate(12deg) scale(1.04);
        clip-path: polygon(33.0% 80.0%, -18.9% -3.1%, 17.3% -16.7%, 56.0% -15.3%, 91.2% 1.1%, 117.2% 29.8%, 130.0% 66.4%, 33.0% 80.0%);
    }
    82% {
        transform: perspective(600px) rotate(-5deg) scale(0.99);
        clip-path: polygon(33.0% 80.0%, -18.9% -3.1%, 17.3% -16.7%, 56.0% -15.3%, 91.2% 1.1%, 117.2% 29.8%, 130.0% 66.4%, 33.0% 80.0%);
    }
    92% {
        transform: perspective(600px) rotate(2deg) scale(1);
        clip-path: polygon(33.0% 80.0%, -18.9% -3.1%, 17.3% -16.7%, 56.0% -15.3%, 91.2% 1.1%, 117.2% 29.8%, 130.0% 66.4%, 33.0% 80.0%);
    }
    100% {
        transform: perspective(600px) rotate(0deg) scale(1);
        clip-path: polygon(33.0% 80.0%, -18.9% -3.1%, 17.3% -16.7%, 56.0% -15.3%, 91.2% 1.1%, 117.2% 29.8%, 130.0% 66.4%, 33.0% 80.0%);
        filter: drop-shadow(0 2px 8px rgba(6, 147, 227, 0.3));
    }
}

.nav-logo-icon.is-snapping,
.nav-logo-img.is-snapping {
    animation: fanPieSnap 1.35s cubic-bezier(0.18, 0.9, 0.32, 1) both;
}

/* Guidebook Action Button */
.btn-guidebook {
    display: inline-flex;
    align-items: center;
    gap: 0.6rem;
    padding: 0.75rem 1.6rem;
    background: linear-gradient(135deg, #10b981 0%, #059669 100%);
    color: var(--brand-white);
    font-weight: 700;
    font-size: 0.95rem;
    border-radius: var(--radius-pill);
    box-shadow: 0 4px 18px rgba(16, 185, 129, 0.35);
    transition: all 0.25s ease;
    margin: 1rem auto 2rem;
    text-transform: uppercase;
    letter-spacing: 0.04em;
}

.btn-guidebook:hover {
    background: linear-gradient(135deg, #34d399 0%, #10b981 100%);
    transform: translateY(-2px);
    box-shadow: 0 6px 22px rgba(16, 185, 129, 0.5);
    color: var(--brand-white);
}

.btn-guidebook svg {
    flex-shrink: 0;
}

.brand-name {
    font-family: var(--font-main);
    font-weight: 500; /* DIN Pro Medium */
    font-style: italic; /* Italic */
    font-size: 2.15rem;
    letter-spacing: -0.02em;
    color: var(--brand-white); /* Pure crisp flat white */
    text-transform: none; /* Mixed case: Otakon */
    line-height: 1;
}

.trademark-symbol {
    font-size: 0.75rem;
    vertical-align: super;
    font-style: normal;
    font-weight: 600;
    margin-left: 2px;
    opacity: 0.85;
    display: inline-block;
    line-height: 1;
}

/* Desktop Links */
.nav-links {
    display: flex;
    align-items: center;
    gap: 2rem;
}

.nav-links a {
    font-size: 0.95rem;
    font-weight: 500;
    color: var(--text-secondary);
    position: relative;
    padding: 0.25rem 0;
}

.nav-links a:hover {
    color: var(--brand-white);
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--brand-blue);
    transition: width 0.25s ease;
}

.nav-links a:hover::after {
    width: 100%;
}

/* Actions & Zero-Scroll CTAs */
.nav-actions {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.header-cta-group {
    display: flex;
    align-items: center;
    gap: 0.6rem;
}

.btn-header {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.55rem 1.15rem;
    font-size: 0.88rem;
    font-weight: 700;
    letter-spacing: 0.03em;
    border-radius: var(--radius-pill);
    text-transform: uppercase;
    transition: all 0.25s ease;
    white-space: nowrap;
}

.btn-header-register {
    background: var(--brand-blue);
    color: var(--brand-white);
    box-shadow: 0 2px 12px rgba(6, 147, 227, 0.35);
    border: 1px solid rgba(255, 255, 255, 0.15);
}

.btn-header-register:hover {
    background: var(--brand-blue-hover);
    transform: translateY(-1px);
    box-shadow: 0 4px 18px rgba(6, 147, 227, 0.55);
}

.btn-header-hotel {
    background: rgba(255, 255, 255, 0.08);
    color: var(--brand-white);
    border: 1px solid rgba(255, 255, 255, 0.18);
    backdrop-filter: blur(8px);
}

.btn-header-hotel:hover {
    background: rgba(255, 255, 255, 0.15);
    border-color: rgba(255, 255, 255, 0.35);
    transform: translateY(-1px);
}

/* Hamburger Trigger - Clean Triple Lines without Visible Button Box */
.hamburger-btn {
    background: transparent;
    border: none;
    outline: none;
    box-shadow: none;
    cursor: pointer;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 6px;
    width: 38px;
    height: 38px;
    padding: 0;
    transition: transform 0.2s ease;
}

.hamburger-btn:hover {
    background: transparent;
    border: none;
    box-shadow: none;
}

.hamburger-btn:hover span {
    background-color: var(--brand-blue);
}

.hamburger-btn:focus-visible {
    outline: 2px solid var(--brand-blue);
    outline-offset: 4px;
    border-radius: 4px;
}

.hamburger-btn span {
    display: block;
    width: 26px;
    height: 2.5px;
    background-color: var(--brand-white);
    border-radius: 2px;
    transition: background-color 0.2s ease, transform 0.25s ease;
}

/* ==========================================================================
   Mobile Off-Canvas Navigation Drawer
   ========================================================================== */
.offcanvas-menu {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    z-index: 2000;
    pointer-events: none;
    display: flex;
    justify-content: flex-end;
    overflow: hidden;
    visibility: hidden;
}

.offcanvas-menu.active {
    pointer-events: auto;
    visibility: visible;
}

.offcanvas-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.65);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.offcanvas-menu.active .offcanvas-overlay {
    opacity: 1;
    backdrop-filter: blur(8px);
}

.offcanvas-panel {
    position: relative;
    width: 100%;
    max-width: 420px;
    height: 100%;
    background-color: var(--brand-dark-gray);
    box-shadow: -10px 0 35px rgba(0, 0, 0, 0.7);
    transform: translateX(100%);
    transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1);
    display: flex;
    flex-direction: column;
    border-left: 1px solid var(--brand-border);
}

.offcanvas-menu.active .offcanvas-panel {
    transform: translateX(0);
}

.offcanvas-header {
    padding: 1.25rem 1.75rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px solid var(--brand-border);
}

.close-btn {
    background: none;
    border: none;
    color: var(--text-secondary);
    font-size: 2.2rem;
    cursor: pointer;
    line-height: 1;
    transition: color 0.2s;
}

.close-btn:hover {
    color: var(--brand-white);
}

.offcanvas-content {
    flex: 1;
    overflow-y: auto;
    display: flex;
    flex-direction: column;
    padding: 1.5rem 1.75rem calc(1.5rem + env(safe-area-inset-bottom, 0px));
}

.offcanvas-footer {
    margin-top: auto;
    padding-top: 1.25rem;
    border-top: 1px solid var(--brand-border);
    text-align: center;
}

.offcanvas-footer-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    color: var(--text-secondary);
    font-size: 0.95rem;
    font-weight: 600;
    text-decoration: none;
    padding: 0.5rem 1rem;
    border-radius: var(--radius-sm);
    transition: color 0.2s, background-color 0.2s;
}

.offcanvas-footer-link:hover {
    color: var(--brand-blue);
    background-color: rgba(255, 255, 255, 0.04);
}

.offcanvas-cta-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.75rem;
    margin-bottom: 1.5rem;
    padding-bottom: 1.5rem;
    border-bottom: 1px solid var(--brand-border);
}

.offcanvas-nav {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.dropdown-btn {
    background: none;
    border: none;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    text-align: left;
    width: 100%;
    cursor: pointer;
    font-family: inherit;
    font-size: 1.15rem;
    font-weight: 700;
    color: var(--brand-white);
    padding: 1rem 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: color 0.2s;
}

.dropdown-btn:hover {
    color: var(--brand-blue);
}

.nav-tab-link {
    display: flex;
    align-items: center;
    width: 100%;
    padding: 1rem 0;
    font-size: 1.15rem;
    font-weight: 700;
    color: var(--brand-white);
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    text-decoration: none;
    transition: color 0.2s, padding-left 0.2s;
}

.nav-tab-link:hover {
    color: var(--brand-blue);
    padding-left: 4px;
}

.dropdown-content {
    display: none;
    flex-direction: column;
    gap: 0.6rem;
    padding: 0.5rem 0 1rem 1rem;
}

.dropdown-content.open {
    display: flex;
}

.dropdown-content a {
    color: var(--text-secondary);
    font-size: 1rem;
    padding: 0.35rem 0;
}

.dropdown-content a:hover {
    color: var(--brand-blue);
    padding-left: 4px;
}

.arrow {
    font-size: 0.75rem;
    color: var(--text-muted);
    transition: transform 0.25s ease;
}

.dropdown-btn[aria-expanded="true"] .arrow {
    transform: rotate(180deg);
    color: var(--brand-blue);
}

/* Submenu inside Dropdown */
.dropdown-sub-container {
    width: 100%;
}

.dropdown-sub-btn {
    border-bottom: none;
    font-size: 1rem;
    font-weight: 500;
    color: var(--text-secondary);
    padding: 0.35rem 0;
}

.dropdown-sub-btn:hover {
    color: var(--brand-blue);
}

.dropdown-sub-content {
    padding: 0.25rem 0 0.5rem 0.85rem;
    border-left: 1px solid rgba(255, 255, 255, 0.08);
    margin-left: 0.2rem;
    gap: 0.45rem;
}

/* ==========================================================================
   Hero Section: Atmospheric Night Sky & Universal Full-Reel Presentation
   (Full 16:9 uncropped video on all screens, wide twinkling starfield)
   ========================================================================== */
.hero-scroll-track {
    position: relative;
    height: auto;
    background: #0a0a0a;
}

.hero {
    position: relative;
    width: 100%;
    height: auto;
    min-height: unset;
    max-height: none;
    overflow: visible;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    padding: 1.25rem 0 0;
    background-color: #0a0a0a;
    background-image: none;
}

/* ==========================================================================
   Wide Twinkling Sky Starfield (Organic Pinprick Constellations, Zero Motion)
   ========================================================================== */
.hero-sky-stars {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 70%;
    pointer-events: none;
    overflow: hidden;
    z-index: 1;
    mask-image: linear-gradient(to bottom, rgba(0, 0, 0, 1) 0%, rgba(0, 0, 0, 1) 50%, rgba(0, 0, 0, 0) 100%);
    -webkit-mask-image: linear-gradient(to bottom, rgba(0, 0, 0, 1) 0%, rgba(0, 0, 0, 1) 50%, rgba(0, 0, 0, 0) 100%);
}

.sky-star-layer {
    position: absolute;
    inset: 0;
    pointer-events: none;
    background-repeat: repeat;
    will-change: opacity;
}

/* Layer 1: Cool Azure and Pure White Twinkling Pinpricks */
.sky-stars-1 {
    background-image:
        radial-gradient(1px 1px at 35px 25px, rgba(255, 255, 255, 0.85), transparent),
        radial-gradient(1.2px 1.2px at 115px 80px, rgba(186, 230, 253, 0.8), transparent),
        radial-gradient(1px 1px at 190px 40px, rgba(255, 255, 255, 0.7), transparent),
        radial-gradient(1.5px 1.5px at 280px 110px, rgba(233, 213, 255, 0.75), transparent),
        radial-gradient(1px 1px at 70px 160px, rgba(186, 230, 253, 0.65), transparent),
        radial-gradient(1px 1px at 160px 200px, rgba(255, 255, 255, 0.8), transparent),
        radial-gradient(1.2px 1.2px at 245px 170px, rgba(186, 230, 253, 0.75), transparent),
        radial-gradient(1px 1px at 320px 60px, rgba(255, 255, 255, 0.9), transparent),
        radial-gradient(1.5px 1.5px at 340px 210px, rgba(255, 255, 255, 0.7), transparent);
    background-size: 360px 240px;
    animation: skyTwinkle1 4.2s ease-in-out infinite alternate;
}

/* Layer 2: Ethereal Lavender and Sky Blue Twinkling Pinpricks (Non-synchronized cycle) */
.sky-stars-2 {
    background-image:
        radial-gradient(1.2px 1.2px at 55px 45px, rgba(186, 230, 253, 0.75), transparent),
        radial-gradient(1px 1px at 140px 120px, rgba(255, 255, 255, 0.85), transparent),
        radial-gradient(1.5px 1.5px at 235px 30px, rgba(255, 255, 255, 0.8), transparent),
        radial-gradient(1px 1px at 310px 190px, rgba(233, 213, 255, 0.65), transparent),
        radial-gradient(1px 1px at 90px 230px, rgba(255, 255, 255, 0.7), transparent),
        radial-gradient(1.2px 1.2px at 185px 275px, rgba(186, 230, 253, 0.85), transparent),
        radial-gradient(1px 1px at 270px 140px, rgba(255, 255, 255, 0.9), transparent),
        radial-gradient(1.5px 1.5px at 380px 85px, rgba(186, 230, 253, 0.6), transparent),
        radial-gradient(1px 1px at 410px 260px, rgba(255, 255, 255, 0.75), transparent);
    background-size: 430px 310px;
    animation: skyTwinkle2 6.5s ease-in-out infinite alternate;
}

/* Layer 3: Soft Deep Horizon Sparkles */
.sky-stars-3 {
    background-image:
        radial-gradient(1px 1px at 80px 75px, rgba(255, 255, 255, 0.65), transparent),
        radial-gradient(1.5px 1.5px at 170px 160px, rgba(233, 213, 255, 0.75), transparent),
        radial-gradient(1.2px 1.2px at 260px 60px, rgba(186, 230, 253, 0.8), transparent),
        radial-gradient(1px 1px at 365px 230px, rgba(255, 255, 255, 0.75), transparent),
        radial-gradient(1.2px 1.2px at 120px 290px, rgba(186, 230, 253, 0.65), transparent),
        radial-gradient(1px 1px at 220px 340px, rgba(255, 255, 255, 0.85), transparent),
        radial-gradient(1.5px 1.5px at 320px 110px, rgba(255, 255, 255, 0.7), transparent),
        radial-gradient(1px 1px at 440px 175px, rgba(186, 230, 253, 0.75), transparent),
        radial-gradient(1.2px 1.2px at 480px 310px, rgba(255, 255, 255, 0.8), transparent);
    background-size: 510px 370px;
    animation: skyTwinkle3 8.7s ease-in-out infinite alternate;
}

/* Twinkle Keyframes: Gentle organic opacity shimmer (Zero spatial movement) */
@keyframes skyTwinkle1 {
    0%, 100% { opacity: 0.95; }
    40% { opacity: 0.35; }
    75% { opacity: 0.8; }
}

@keyframes skyTwinkle2 {
    0%, 100% { opacity: 0.4; }
    35% { opacity: 1; }
    80% { opacity: 0.55; }
}

@keyframes skyTwinkle3 {
    0%, 100% { opacity: 0.75; }
    50% { opacity: 0.2; }
    85% { opacity: 0.9; }
}

/* ==========================================================================
   Hero Content & Full Video Reel
   ========================================================================== */
.hero-content {
    order: 1;
    position: relative;
    z-index: 2;
    text-align: center;
    width: 100%;
    max-width: 900px;
    margin: 0 auto 0.85rem;
    padding: 0 1rem;
}

/* 1080p & Large Desktop: Stop adding extra top stars so video isn't pushed down.
   Title and buttons sit directly in the video's open starry night sky. */
.hero-video-wrapper {
    order: 2;
    position: relative;
    width: 100%;
    max-width: 100%;
    margin: 0;
    display: block;
    z-index: 1;
    overflow: hidden;
    background: transparent;
}

/* Soft Sky Dissolve: Liberally blends top of artwork sky into the twinkling night sky */
.hero-video-wrapper::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 52%;
    background: linear-gradient(
        to bottom,
        #0a0a0a 0%,
        rgba(10, 10, 10, 0.94) 18%,
        rgba(10, 10, 10, 0.65) 48%,
        rgba(10, 10, 10, 0.22) 78%,
        rgba(10, 10, 10, 0) 100%
    );
    z-index: 3;
    pointer-events: none;
}

/* Subtle Artist Credit Overlay (Bottom Right Ground) */
.hero-artist-credit {
    position: absolute;
    bottom: 12px;
    right: 22px;
    font-size: 0.72rem;
    font-weight: 600;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.32);
    text-decoration: none;
    z-index: 5;
    pointer-events: auto;
    user-select: none;
    transition: all 0.25s ease;
}

.hero-artist-credit:hover {
    color: rgba(255, 255, 255, 0.85);
    text-decoration: underline;
    text-underline-offset: 2px;
}

.hero-video-bg {
    position: relative;
    width: 100%;
    height: auto;
    display: block;
    filter: none;
    opacity: 1;
    z-index: 1;
}

.hero-overlay {
    display: none !important;
    opacity: 0 !important;
    visibility: hidden !important;
    pointer-events: none !important;
}

/* 1080p & Desktop 16:9: Pin video to bottom of window so mascots' feet are at bottom */
/* Widescreen Desktop (>= 16:9):
   When screen is wide enough that video fills the sky, float title and pin video to bottom with dolly zoom */
@media (min-width: 768px) {
    .hero {
        padding: 0;
        height: calc(100vh - 72px);
        min-height: 560px;
        position: relative;
        overflow: hidden;
    }

    /* Subtle stars & dissolve persist on all desktop sizes */

    .hero-content {
        position: absolute;
        top: 0.75rem;
        left: 50%;
        transform: translateX(-50%);
        z-index: 4;
        margin: 0;
        width: 100%;
        max-width: 900px;
        padding: 0 1.5rem;
    }

    /* Restore meticulous 52% Atmospheric Top Dissolve & 18px Ground Feather */
    .hero-video-wrapper {
        position: absolute;
        bottom: 0;
        left: 0;
        right: 0;
        top: auto;
        height: auto;
        overflow: hidden;
    }

    .hero-video-bg {
        position: relative;
        bottom: auto;
        left: 0;
        width: 100%;
        height: auto;
        display: block;
        margin: 0;
        transform: translateY(0) scale(1);
        transform-origin: center 40%;
        transition: transform 1.8s cubic-bezier(0.25, 1, 0.5, 1);
    }

    .hero-video-bg.crab-focus {
        transform: translateY(185px) scale(1.045);
    }
}

/* True Ultrawide Desktop Monitors (e.g. 21:9 at 2560x1080 or 3440x1440):
   Only apply on large displays to prevent false triggers on short laptop viewports */
@media (min-aspect-ratio: 21/10) and (min-width: 1921px) and (min-height: 800px) {
    .hero-video-bg {
        transform: translateY(135px) scale(1);
        transform-origin: center 25%;
    }

    .hero-video-bg.crab-focus {
        transform: translateY(calc(56.25vw - (100vh - 72px))) scale(1.06);
        transform-origin: center top;
    }
}



/* Summerween Thematic Typography */
.summerween-title-group {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-bottom: 0.5rem;
    user-select: none;
    -webkit-user-select: none;
}

.summerween-presents {
    font-family: var(--font-primary, 'Barlow', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif);
    font-size: clamp(1.05rem, 1.8vw, 1.45rem);
    font-weight: 600;
    text-transform: uppercase;
    color: #ffffff;
    letter-spacing: 0.16em;
    text-shadow: 0 2px 14px rgba(0, 0, 0, 0.95), 0 0 24px rgba(255, 255, 255, 0.35);
    margin-bottom: 0.3rem;
    display: block;
}

.summerween-title {
    font-family: 'Cinzel', 'Barlow Semi Condensed', Georgia, serif;
    font-size: clamp(2.2rem, 4.4vw, 3.8rem);
    font-weight: 900;
    color: #ffffff;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    line-height: 1;
    margin-bottom: 0.35rem;
    text-shadow: 0 0 25px rgba(255, 255, 255, 0.5), 0 0 50px rgba(6, 147, 227, 0.35), 0 4px 20px rgba(0, 0, 0, 0.9);
}

.summerween-date-hud {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    font-family: var(--font-main);
    font-size: clamp(0.92rem, 1.25vw, 1.12rem);
    color: #f1f5f9;
    font-weight: 700;
    letter-spacing: 0.04em;
    background: rgba(18, 18, 20, 0.75);
    border: 1px solid rgba(255, 255, 255, 0.14);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    padding: 0.45rem 1.4rem;
    border-radius: var(--radius-pill);
    box-shadow: 0 6px 25px rgba(0, 0, 0, 0.6);
}

.hud-divider {
    color: rgba(255, 255, 255, 0.25);
}

.hud-countdown {
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
    color: var(--brand-blue);
    font-weight: 700;
}

.hud-countdown strong {
    color: var(--brand-white);
}

.hero-buttons {
    display: flex;
    gap: 0.85rem;
    justify-content: center;
    flex-wrap: wrap;
}

.btn-summerween {
    padding: 0.7rem 1.75rem;
    font-size: 0.92rem;
    font-weight: 800;
    letter-spacing: 0.05em;
    border-radius: var(--radius-pill);
    text-transform: uppercase;
}

/* Minimalist Scroll Cue (Disabled for clean uncropped parade presentation) */
.hero-scroll-hint {
    display: none !important;
}

/* First-Time Desktop Cinematic Reveal */
@media (min-width: 1024px) and (min-aspect-ratio: 16/9) {
    html.hero-intro-pending .hero-content .summerween-presents,
    html.hero-intro-pending .hero-content .summerween-title,
    .hero-content.intro-mode .summerween-presents,
    .hero-content.intro-mode .summerween-title {
        opacity: 0;
        transform: translateY(-10px);
        transition: opacity 1.2s ease, transform 1.2s cubic-bezier(0.16, 1, 0.3, 1);
    }

    html.hero-intro-pending .hero-content .summerween-date-hud,
    html.hero-intro-pending .hero-content .hero-buttons,
    .hero-content.intro-mode .summerween-date-hud,
    .hero-content.intro-mode .hero-buttons {
        opacity: 0;
        transform: translateY(12px);
        pointer-events: none;
        transition: opacity 1.2s ease, transform 1.2s cubic-bezier(0.16, 1, 0.3, 1);
    }

    html.hero-intro-pending .hero-content.show-title .summerween-presents,
    html.hero-intro-pending .hero-content.show-title .summerween-title,
    .hero-content.intro-mode.show-title .summerween-presents,
    .hero-content.intro-mode.show-title .summerween-title {
        opacity: 1;
        transform: translateY(0);
    }

    html.hero-intro-pending .hero-content.show-all .summerween-date-hud,
    html.hero-intro-pending .hero-content.show-all .hero-buttons,
    .hero-content.intro-mode.show-all .summerween-date-hud,
    .hero-content.intro-mode.show-all .hero-buttons {
        opacity: 1;
        transform: translateY(0);
        pointer-events: auto;
    }
}

/* General Buttons */
.btn-primary, .btn-secondary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.85rem 1.75rem;
    border-radius: var(--radius-sm);
    font-weight: 700;
    font-size: 0.95rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    cursor: pointer;
    transition: all 0.25s ease;
    border: none;
}

.btn-primary {
    background: var(--brand-blue);
    color: var(--brand-white);
    box-shadow: 0 4px 18px rgba(6, 147, 227, 0.35);
}

.btn-primary:hover {
    background: var(--brand-blue-hover);
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(6, 147, 227, 0.55);
}

.btn-secondary {
    background: rgba(255, 255, 255, 0.08);
    color: var(--brand-white);
    border: 1px solid rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(10px);
}

.btn-secondary:hover {
    background: rgba(255, 255, 255, 0.16);
    border-color: rgba(255, 255, 255, 0.4);
    transform: translateY(-2px);
}

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

/* ==========================================================================
   Modern Quick-Hits Bento Tile Grid (Replaces Old AX-Emulation Widget)
   ========================================================================== */
.quick-hits-section {
    padding: 1.5rem 0 6rem;
    background: #0a0a0a;
    position: relative;
    border-top: none;
}

.section-header-compact {
    text-align: center;
    max-width: 680px;
    margin: 0 auto 3.5rem;
}

.section-tag {
    display: inline-block;
    font-size: 0.8rem;
    font-weight: 800;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: var(--brand-blue);
    background: var(--brand-blue-subtle);
    padding: 0.35rem 0.9rem;
    border-radius: var(--radius-pill);
    margin-bottom: 0.75rem;
    border: 1px solid rgba(6, 147, 227, 0.25);
}

.section-heading {
    font-size: clamp(2rem, 3.5vw, 2.75rem);
    font-weight: 900;
    color: var(--brand-white);
    letter-spacing: -0.02em;
    margin-bottom: 0.75rem;
}

.section-subtext {
    font-size: 1.1rem;
    color: var(--text-secondary);
}

/* Bento Grid */
.tiles-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
}

.bento-tile {
    background-color: #0b0c10;
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 20px;
    padding: 2.25rem 1.85rem;
    position: relative;
    display: flex;
    flex-direction: column;
    transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1), 
                box-shadow 0.35s cubic-bezier(0.16, 1, 0.3, 1), 
                border-color 0.3s ease,
                background-color 0.3s ease;
    /* Neon Floor Underglow */
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.85), 
                0 24px 50px -12px var(--card-neon, rgba(6, 147, 227, 0.55));
    overflow: hidden;
}

.bento-tile::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: var(--card-neon-top, linear-gradient(90deg, transparent, var(--brand-blue), transparent));
    opacity: 0.85;
    transition: opacity 0.3s ease;
}

/* Subtle ambient underglow reflection line at bottom */
.bento-tile::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 10%;
    right: 10%;
    height: 2px;
    background: var(--card-neon-top, linear-gradient(90deg, transparent, var(--brand-blue), transparent));
    opacity: 0.8;
    filter: blur(1px);
    transition: opacity 0.3s ease, height 0.3s ease;
}

.bento-tile:hover {
    transform: translateY(-8px);
    background-color: #10121a;
    border-color: var(--card-border-hover, rgba(6, 147, 227, 0.6));
    /* High-vibrancy Neon Underglow Bloom */
    box-shadow: 0 20px 45px rgba(0, 0, 0, 0.9), 
                0 42px 75px -15px var(--card-neon-hover, rgba(6, 147, 227, 0.85));
}

.bento-tile:hover::before {
    opacity: 1;
}

.bento-tile:hover::after {
    opacity: 1;
    height: 2px;
}

/* Individual Neon Color Palettes (Zero Ugly Orange) */
.tile-register {
    --card-neon: rgba(6, 147, 227, 0.55);
    --card-neon-hover: rgba(6, 147, 227, 0.85);
    --card-border-hover: rgba(6, 147, 227, 0.65);
    --card-neon-top: linear-gradient(90deg, transparent, #0693e3, transparent);
}

.tile-hotels {
    /* Spectral Jade / Emerald Chōchin Lantern */
    --card-neon: rgba(16, 185, 129, 0.55);
    --card-neon-hover: rgba(16, 185, 129, 0.85);
    --card-border-hover: rgba(16, 185, 129, 0.65);
    --card-neon-top: linear-gradient(90deg, transparent, #10b981, transparent);
}

.tile-guests {
    /* Celestial Ice Blue */
    --card-neon: rgba(56, 189, 248, 0.5);
    --card-neon-hover: rgba(56, 189, 248, 0.85);
    --card-border-hover: rgba(56, 189, 248, 0.65);
    --card-neon-top: linear-gradient(90deg, transparent, #38bdf8, transparent);
}

.tile-market {
    /* Midnight Amethyst Violet */
    --card-neon: rgba(168, 85, 247, 0.55);
    --card-neon-hover: rgba(168, 85, 247, 0.9);
    --card-border-hover: rgba(168, 85, 247, 0.7);
    --card-neon-top: linear-gradient(90deg, transparent, #a855f7, transparent);
}

.tile-events {
    /* Festival Sakura Rose */
    --card-neon: rgba(244, 63, 94, 0.5);
    --card-neon-hover: rgba(244, 63, 94, 0.85);
    --card-border-hover: rgba(244, 63, 94, 0.65);
    --card-neon-top: linear-gradient(90deg, transparent, #f43f5e, transparent);
}

.tile-venue {
    /* Metro Cyan Transit */
    --card-neon: rgba(6, 147, 227, 0.35);
    --card-neon-hover: rgba(6, 147, 227, 0.85);
    --card-border-hover: rgba(6, 147, 227, 0.65);
    --card-neon-top: linear-gradient(90deg, transparent, #38bdf8, transparent);
}

/* Status Badges */
.tile-badge-tag {
    position: absolute;
    top: 1.5rem;
    right: 1.5rem;
    font-size: 0.72rem;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    padding: 0.3rem 0.65rem;
    border-radius: var(--radius-pill);
}

.tag-open {
    background: rgba(6, 147, 227, 0.15);
    color: #38bdf8;
    border: 1px solid rgba(6, 147, 227, 0.4);
    box-shadow: 0 0 12px rgba(6, 147, 227, 0.25);
}

.tag-hotels {
    /* Spectral Jade (No Orange!) */
    background: rgba(16, 185, 129, 0.15);
    color: #34d399;
    border: 1px solid rgba(16, 185, 129, 0.4);
    box-shadow: 0 0 12px rgba(16, 185, 129, 0.25);
}

.tag-guests {
    background: rgba(56, 189, 248, 0.15);
    color: #7dd3fc;
    border: 1px solid rgba(56, 189, 248, 0.4);
    box-shadow: 0 0 12px rgba(56, 189, 248, 0.2);
}

.tag-market {
    background: rgba(168, 85, 247, 0.15);
    color: #d8b4fe;
    border: 1px solid rgba(168, 85, 247, 0.4);
    box-shadow: 0 0 12px rgba(168, 85, 247, 0.25);
}

.tag-events {
    background: rgba(244, 63, 94, 0.15);
    color: #fda4af;
    border: 1px solid rgba(244, 63, 94, 0.4);
    box-shadow: 0 0 12px rgba(244, 63, 94, 0.25);
}

.tag-metro {
    background: rgba(6, 147, 227, 0.15);
    color: #38bdf8;
    border: 1px solid rgba(6, 147, 227, 0.4);
    box-shadow: 0 0 12px rgba(6, 147, 227, 0.25);
}

/* Custom Anime Festival Emblem Circles */
.tile-icon-circle {
    width: 54px;
    height: 54px;
    border-radius: 14px;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.09);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
    transition: all 0.35s ease;
}

.icon-badges { color: #38bdf8; }
.icon-hotels { color: #34d399; }
.icon-guests { color: #60a5fa; }
.icon-market { color: #c084fc; }
.icon-events { color: #fb7185; }
.icon-venue  { color: #38bdf8; }

.bento-tile:hover .tile-icon-circle {
    transform: scale(1.1) rotate(2deg);
    border-color: currentColor;
    background: rgba(255, 255, 255, 0.08);
    box-shadow: 0 0 20px currentColor;
}

.tile-body {
    flex: 1;
}

.tile-body h3 {
    font-family: 'Cinzel', 'Barlow Condensed', Georgia, serif;
    font-size: 1.45rem;
    font-weight: 800;
    color: #ffffff;
    letter-spacing: 0.03em;
    margin-bottom: 0.65rem;
    text-shadow: 0 0 18px rgba(255, 255, 255, 0.2);
}

.tile-body p {
    font-size: 0.94rem;
    color: #cbd5e1;
    line-height: 1.6;
    margin-bottom: 1.75rem;
}

.tile-footer {
    display: flex;
    align-items: center;
}

.tile-cta-btn {
    width: 100%;
    text-align: center;
    padding: 0.8rem 1.4rem;
    font-size: 0.88rem;
    font-weight: 800;
    letter-spacing: 0.04em;
    border-radius: var(--radius-pill);
    text-transform: uppercase;
    transition: all 0.25s ease;
}

.tile-footer-dual {
    display: flex;
    gap: 0.5rem;
    width: 100%;
    flex-wrap: wrap;
}

.tile-footer-dual .tile-cta-btn {
    flex: 1 1 120px;
    padding: 0.75rem 0.5rem;
    font-size: 0.78rem;
    white-space: nowrap;
    text-align: center;
    letter-spacing: 0.02em;
}

.tile-link-text {
    font-size: 0.92rem;
    font-weight: 700;
    color: var(--brand-blue);
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    transition: color 0.2s, transform 0.2s;
}

.tile-link-text:hover {
    color: #38bdf8;
    transform: translateX(4px);
}

/* ==========================================================================
   Schedule & Live Leap Sync Section
   ========================================================================== */
.schedule-section {
    padding: 3.5rem 0 5.5rem;
    background-color: #0a0a0a;
    border-top: none;
}

.section-title-wrap {
    text-align: center;
    margin-bottom: 3rem;
}

.section-title {
    font-size: 2.5rem;
    font-weight: 800;
    letter-spacing: -0.02em;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.85rem;
    flex-wrap: wrap;
    margin-bottom: 0.5rem;
}

.section-subtitle {
    color: var(--text-secondary);
    font-size: 1.05rem;
}

.badge {
    font-size: 0.8rem;
    background: var(--brand-blue-subtle);
    padding: 0.3rem 0.85rem;
    border-radius: var(--radius-pill);
    color: var(--brand-blue);
    border: 1px solid rgba(6, 147, 227, 0.4);
    font-weight: 700;
    letter-spacing: 0.05em;
    text-transform: uppercase;
}

.schedule-container {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    max-width: 840px;
    margin: 0 auto;
}

.schedule-item {
    background: var(--brand-card);
    border: 1px solid var(--brand-border);
    border-radius: var(--radius-md);
    padding: 1.5rem 1.75rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: all 0.25s ease;
}

.schedule-item:hover {
    transform: translateX(6px);
    border-color: var(--brand-blue);
    box-shadow: -4px 0 0 var(--brand-blue), var(--shadow-soft);
}

.schedule-info h3 {
    margin-bottom: 0.4rem;
    font-size: 1.15rem;
    font-weight: 700;
}

.schedule-meta {
    font-size: 0.9rem;
    color: var(--text-secondary);
    display: flex;
    gap: 1.25rem;
    flex-wrap: wrap;
}

.schedule-time {
    color: var(--brand-blue);
    font-weight: 700;
    font-size: 0.95rem;
    white-space: nowrap;
}

/* ==========================================================================
   Gallery Section
   ========================================================================== */
.gallery-section {
    padding: 6rem 0;
    background-color: var(--brand-black);
    border-top: 1px solid var(--brand-border);
}

.masonry-grid {
    column-count: 3;
    column-gap: 1.5rem;
}

.masonry-item {
    break-inside: avoid;
    margin-bottom: 1.5rem;
    border-radius: var(--radius-md);
    overflow: hidden;
    position: relative;
    cursor: pointer;
    background-color: var(--brand-card);
}

.masonry-item img {
    width: 100%;
    display: block;
    border-radius: var(--radius-md);
    transition: transform 0.5s ease;
}

.masonry-item:hover img {
    transform: scale(1.04);
}

.masonry-item::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(6, 147, 227, 0.4) 0%, transparent 60%);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.masonry-item:hover::after {
    opacity: 1;
}

/* ==========================================================================
   Footer
   ========================================================================== */
footer {
    background-color: #080808;
    border-top: 1px solid var(--brand-border);
    padding: 5rem 0 2.5rem;
}

.footer-content {
    display: grid;
    grid-template-columns: 1.4fr 0.9fr 1.3fr;
    gap: 3.5rem;
    margin-bottom: 3.5rem;
    align-items: start;
}

.footer-brand p {
    color: var(--text-secondary);
    margin-top: 0.5rem;
    font-size: 0.95rem;
    line-height: 1.6;
    max-width: 380px;
}

.footer-brand-logo-img {
    height: 46px;
    max-height: 46px;
    width: auto;
    max-width: 220px;
    object-fit: contain;
    display: block;
    filter: drop-shadow(0 2px 10px rgba(6, 147, 227, 0.25));
    transition: transform 0.25s ease, filter 0.25s ease;
}

.footer-brand-logo-img:hover {
    transform: translateY(-1px);
    filter: drop-shadow(0 4px 14px rgba(6, 147, 227, 0.4));
}

.footer-tagline {
    color: var(--brand-white) !important;
    font-size: 0.98rem !important;
    font-weight: 600;
    margin-top: 0.75rem !important;
    line-height: 1.45;
}

.otakorp-badge-wrap {
    margin-top: 1.35rem;
    padding-top: 1.15rem;
    border-top: 1px solid var(--brand-border);
    display: flex;
    flex-direction: column;
    gap: 0.65rem;
}

.otakorp-corp-link {
    display: inline-block;
    width: fit-content;
    transition: opacity 0.25s, transform 0.25s;
}

.otakorp-corp-link:hover {
    opacity: 0.85;
    transform: translateY(-1px);
}

.otakorp-logo-img {
    height: 38px;
    width: auto;
    max-width: 140px;
    display: block;
    filter: brightness(1.15) drop-shadow(0 2px 8px rgba(6, 147, 227, 0.2));
}

.otakorp-legal-text {
    color: var(--text-secondary);
    font-size: 0.86rem !important;
    line-height: 1.55 !important;
    max-width: 360px;
    margin-top: 0 !important;
}

.footer-venue-note {
    margin-top: 1rem !important;
    color: var(--text-muted) !important;
    font-size: 0.82rem !important;
    font-weight: 500;
}

.footer-links h4, .footer-info h4 {
    color: var(--brand-white);
    margin-bottom: 1.15rem;
    font-size: 1rem;
    font-weight: 700;
}

.footer-info h4.footer-connect-title {
    margin-top: 1.6rem;
    margin-bottom: 0.85rem;
}

.footer-venue-dates {
    color: var(--brand-white);
    font-weight: 700;
    font-size: 0.98rem;
    margin-bottom: 0.35rem;
}

.footer-venue-loc {
    color: var(--text-secondary);
    font-size: 0.92rem;
    line-height: 1.5;
    margin-bottom: 0;
}

.footer-map-link {
    display: inline-block;
    transition: color 0.2s ease;
}

.footer-map-link:hover {
    color: var(--brand-white) !important;
    text-decoration: underline !important;
}

.footer-links a {
    display: block;
    color: var(--text-secondary);
    margin-bottom: 0.65rem;
    font-size: 0.95rem;
}

.footer-links a:hover {
    color: var(--brand-blue);
    padding-left: 2px;
}

.social-icons {
    display: flex;
    gap: 0.75rem;
    flex-wrap: wrap;
}

.social-icons a {
    width: 42px;
    height: 42px;
    background: var(--brand-card);
    border: 1px solid var(--brand-border);
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: var(--radius-sm);
    font-weight: 700;
    font-size: 0.9rem;
    transition: all 0.25s ease;
}

/* Brand Colored Social Icons */
.social-icons a svg {
    width: 20px;
    height: 20px;
    display: block;
    transition: transform 0.2s ease;
}

.social-icons a:hover svg {
    transform: scale(1.12);
}

.social-icons a.social-linktree {
    background: #43E660;
    color: #000000;
    border-color: #43E660;
}
.social-icons a.social-linktree:hover {
    background: #36c551;
    border-color: #36c551;
    box-shadow: 0 4px 16px rgba(67, 230, 96, 0.55);
    transform: translateY(-2px);
}

.social-icons a.social-discord {
    background: #5865F2;
    color: #ffffff;
    border-color: #5865F2;
}
.social-icons a.social-discord:hover {
    background: #4752c4;
    border-color: #4752c4;
    box-shadow: 0 4px 16px rgba(88, 101, 242, 0.55);
    transform: translateY(-2px);
}

.social-icons a.social-ig {
    background: linear-gradient(45deg, #f09433 0%, #e6683c 25%, #dc2743 50%, #cc2366 75%, #bc1888 100%);
    color: #ffffff;
    border: none;
}
.social-icons a.social-ig:hover {
    box-shadow: 0 4px 16px rgba(220, 39, 67, 0.55);
    transform: translateY(-2px);
}

.social-icons a.social-fb {
    background: #1877F2;
    color: #ffffff;
    border-color: #1877F2;
}
.social-icons a.social-fb:hover {
    background: #0b61d4;
    border-color: #0b61d4;
    box-shadow: 0 4px 16px rgba(24, 119, 242, 0.55);
    transform: translateY(-2px);
}

.social-icons a.social-tumblr {
    background: #001935;
    color: #ffffff;
    border-color: #36465D;
}
.social-icons a.social-tumblr:hover {
    background: #36465D;
    border-color: #526581;
    box-shadow: 0 4px 16px rgba(54, 70, 93, 0.65);
    transform: translateY(-2px);
}

.social-icons a.social-x {
    background: #000000;
    color: #ffffff;
    border-color: rgba(255, 255, 255, 0.25);
}
.social-icons a.social-x:hover {
    background: #111111;
    border-color: #ffffff;
    box-shadow: 0 4px 14px rgba(255, 255, 255, 0.35);
    transform: translateY(-2px);
}

.footer-bottom {
    border-top: 1px solid var(--brand-border);
    padding-top: 2rem;
    text-align: center;
    color: var(--text-muted);
    font-size: 0.88rem;
}

.footer-bottom a {
    color: var(--text-secondary);
    text-decoration: underline;
    text-underline-offset: 3px;
    transition: color 0.2s ease;
}

.footer-bottom a:hover {
    color: var(--brand-blue);
}

/* ==========================================================================
   Responsive Breakpoints (Mobile-First Polish)
   ========================================================================== */
@media (max-width: 1024px) {
    .tiles-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .footer-content {
        grid-template-columns: 1fr 1fr;
    }
}

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

    /* Keep header CTAs compact on mobile for 100% no-scroll access */
    .btn-header {
        padding: 0.45rem 0.85rem;
        font-size: 0.78rem;
    }
    
    .brand-name {
        font-size: 1.45rem;
        letter-spacing: 2px;
    }
    
    .nav-logo-icon {
        height: 38px;
    }

    body {
        background-color: #0a0a0a !important;
    }

    .site-header {
        background: #0a0a0a !important;
        border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    }

    .hero-scroll-track {
        height: auto;
        background: #0a0a0a !important;
    }

    /* Mobile Hero Refinements: Proportional typography and tight button layout */
    .hero {
        padding: 1.25rem 0 0;
    }

    .hero-content {
        max-width: 360px;
        padding: 0 0.5rem;
    }

    .quick-hits-section {
        padding: 1.25rem 0 4rem;
    }

    .section-header-compact {
        margin-bottom: 2rem;
    }

    .summerween-presents {
        font-size: 1.15rem;
        font-weight: 600;
        letter-spacing: 0.14em;
        margin-bottom: 0.25rem;
    }

    .summerween-title {
        font-size: clamp(2rem, 7.8vw, 2.75rem);
        letter-spacing: 0.1em;
        margin-bottom: 0.5rem;
    }

    .summerween-date-hud {
        flex-direction: column;
        gap: 0.25rem;
        padding: 0.45rem 1rem;
        border-radius: var(--radius-md);
        margin-bottom: 0.85rem;
        font-size: 0.86rem;
    }

    .hud-divider {
        display: none;
    }

    /* Side-by-Side Mobile CTAs */
    .hero-buttons {
        display: flex;
        flex-direction: row;
        width: 100%;
        max-width: 330px;
        margin: 0 auto;
        gap: 0.5rem;
        background: transparent !important;
        padding: 0;
        border-radius: 0;
    }

    .section-header-compact {
        margin-bottom: 2rem;
    }

    .summerween-presents {
        font-size: 1.15rem;
        font-weight: 600;
        letter-spacing: 0.14em;
        margin-bottom: 0.25rem;
    }

    .summerween-title {
        font-size: clamp(2rem, 7.8vw, 2.75rem);
        letter-spacing: 0.1em;
        margin-bottom: 0.5rem;
    }

    .summerween-date-hud {
        flex-direction: column;
        gap: 0.25rem;
        padding: 0.45rem 1rem;
        border-radius: var(--radius-md);
        margin-bottom: 0.85rem;
        font-size: 0.86rem;
    }

    .hud-divider {
        display: none;
    }

    .hero-scroll-hint {
        display: none;
    }

    /* Side-by-Side Mobile CTAs: Natural buttons on solid true black hero canvas */
    .hero-buttons {
        display: flex;
        flex-direction: row;
        width: 100%;
        max-width: 330px;
        margin: 0 auto;
        gap: 0.5rem;
        background: transparent !important;
        padding: 0;
        border-radius: 0;
    }

    .hero-buttons a {
        flex: 1;
        text-align: center;
        padding: 0.65rem 0.4rem;
        font-size: 0.78rem;
        letter-spacing: 0.02em;
        white-space: nowrap;
    }

    /* ==========================================================================
       High-Vibrancy Neon Underglow & Glow Borders for Mobile Bento Cards
       ========================================================================== */
    .tiles-grid {
        grid-template-columns: 1fr;
        gap: 1.6rem;
    }

    .bento-tile {
        background-color: #0d0f17 !important;
        border-radius: 20px;
        padding: 1.85rem 1.45rem;
        position: relative;
    }

    /* Active 360° Neon Bloom & Themed Hairline Borders */
    .tile-register {
        border: 1.5px solid #0693e3 !important;
        box-shadow: 0 0 24px rgba(6, 147, 227, 0.45), 
                    0 14px 35px rgba(0, 0, 0, 0.95),
                    inset 0 0 16px rgba(6, 147, 227, 0.12) !important;
    }

    .tile-hotels {
        /* Spectral Jade / Emerald (Zero Orange) */
        border: 1.5px solid #10b981 !important;
        box-shadow: 0 0 24px rgba(16, 185, 129, 0.45), 
                    0 14px 35px rgba(0, 0, 0, 0.95),
                    inset 0 0 16px rgba(16, 185, 129, 0.12) !important;
    }

    .tile-guests {
        /* Celestial Ice Blue */
        border: 1.5px solid #38bdf8 !important;
        box-shadow: 0 0 24px rgba(56, 189, 248, 0.45), 
                    0 14px 35px rgba(0, 0, 0, 0.95),
                    inset 0 0 16px rgba(56, 189, 248, 0.12) !important;
    }

    .tile-market {
        /* Midnight Amethyst */
        border: 1.5px solid #c084fc !important;
        box-shadow: 0 0 24px rgba(192, 132, 252, 0.45), 
                    0 14px 35px rgba(0, 0, 0, 0.95),
                    inset 0 0 16px rgba(192, 132, 252, 0.12) !important;
    }

    .tile-events {
        /* Festival Sakura Rose */
        border: 1.5px solid #f43f5e !important;
        box-shadow: 0 0 24px rgba(244, 63, 94, 0.45), 
                    0 14px 35px rgba(0, 0, 0, 0.95),
                    inset 0 0 16px rgba(244, 63, 94, 0.12) !important;
    }

    .tile-venue {
        /* Metro Cyan Transit */
        border: 1.5px solid #0693e3 !important;
        box-shadow: 0 0 24px rgba(6, 147, 227, 0.45), 
                    0 14px 35px rgba(0, 0, 0, 0.95),
                    inset 0 0 16px rgba(6, 147, 227, 0.12) !important;
    }

    .bento-tile::before {
        opacity: 1 !important;
        height: 2px !important;
    }

    .bento-tile::after {
        opacity: 1 !important;
        height: 2px !important;
        box-shadow: 0 0 14px currentColor !important;
    }

    .tile-icon-circle {
        border-color: currentColor !important;
        background: rgba(255, 255, 255, 0.08) !important;
        box-shadow: 0 0 18px currentColor !important;
    }

    .tile-body h3 {
        font-size: 1.38rem;
        text-shadow: 0 0 20px rgba(255, 255, 255, 0.35);
    }

    .tile-cta-btn.btn-primary {
        box-shadow: 0 0 18px rgba(6, 147, 227, 0.55) !important;
    }

    .tile-cta-btn.btn-secondary {
        border-color: rgba(255, 255, 255, 0.28) !important;
        background: rgba(255, 255, 255, 0.08) !important;
        color: #ffffff !important;
    }

    /* Active Neon for Mascot Spotlight Cards on Mobile */
    .mascot-spotlight-card {
        border: 1.5px solid rgba(6, 147, 227, 0.5) !important;
        box-shadow: 0 0 24px rgba(6, 147, 227, 0.35), 0 12px 35px rgba(0, 0, 0, 0.9) !important;
        background: #0f1016 !important;
    }

    .spotlight-avatar-frame {
        border-color: var(--brand-blue) !important;
        box-shadow: 0 0 22px rgba(6, 147, 227, 0.55) !important;
    }

    .btn-spotlight-guide {
        background: rgba(6, 147, 227, 0.2) !important;
        border-color: var(--brand-blue) !important;
        color: #ffffff !important;
        box-shadow: 0 0 14px rgba(6, 147, 227, 0.4) !important;
    }

    .masonry-grid {
        column-count: 2;
    }

    .schedule-item {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.75rem;
    }

    .footer-content {
        grid-template-columns: 1fr;
        gap: 2.5rem;
        text-align: center;
    }

    .footer-brand {
        display: flex;
        flex-direction: column;
        align-items: center;
    }

    .footer-tagline {
        text-align: center;
        margin-left: auto;
        margin-right: auto;
    }

    .otakorp-badge-wrap {
        width: 100%;
        max-width: 360px;
        margin-left: auto;
        margin-right: auto;
        align-items: flex-start;
        text-align: left;
    }

    .otakorp-corp-link {
        margin: 0;
        align-self: flex-start;
    }

    .otakorp-legal-text {
        margin-left: 0;
        margin-right: auto;
        text-align: left;
    }

    .footer-links {
        text-align: left;
        max-width: 360px;
        margin: 0 auto;
        width: 100%;
    }

    .footer-info {
        text-align: left;
        max-width: 360px;
        margin: 0 auto;
        width: 100%;
    }

    .footer-info .footer-dates-title {
        text-align: center;
    }

    .footer-info .footer-connect-title {
        text-align: center;
    }

    .footer-info .social-icons {
        justify-content: center;
    }
}

@media (max-width: 480px) {
    .header-cta-group .btn-header-hotel {
        display: none; /* Show primary Register in header, both in off-canvas and hero */
    }

    .brand-name {
        font-size: 1.3rem;
    }

    .masonry-grid {
        column-count: 1;
    }

    .footer-content {
        grid-template-columns: 1fr;
    }
}

/* ==========================================================================
   PATRON BENTO CARDS: MASCOT PEEKERS & QUOTE BUBBLES
   ========================================================================== */

.patron-card {
    position: relative;
    overflow: visible !important;
}

.mascot-peeker {
    position: absolute;
    top: -40px;
    right: 22px;
    width: 82px;
    height: 82px;
    border-radius: 50%;
    border: 3px solid #20222a;
    box-shadow: 0 10px 26px rgba(0, 0, 0, 0.8), 0 0 18px rgba(6, 147, 227, 0.3);
    overflow: hidden;
    background: #0d0e12;
    z-index: 10;
    cursor: pointer;
    transition: transform 0.35s cubic-bezier(0.34, 1.56, 0.64, 1), box-shadow 0.3s ease, border-color 0.3s ease;
}

.mascot-peeker img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.35s ease;
}

.patron-card:hover .mascot-peeker,
.mascot-peeker:hover {
    transform: translateY(-8px) scale(1.12) rotate(2deg);
    border-color: var(--brand-blue);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.9), 0 0 28px rgba(6, 147, 227, 0.6);
}

.patron-card:hover .mascot-peeker img,
.mascot-peeker:hover img {
    transform: scale(1.08);
}

.mascot-name-tag {
    position: absolute;
    bottom: -8px;
    left: 50%;
    transform: translateX(-50%);
    background: #06070a;
    border: 1px solid rgba(6, 147, 227, 0.5);
    color: #60a5fa;
    font-size: 0.65rem;
    font-weight: 800;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    padding: 0.15rem 0.6rem;
    border-radius: var(--radius-pill);
    white-space: nowrap;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.9);
    pointer-events: none;
}

.mascot-quote-bubble {
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.09);
    border-radius: var(--radius-pill);
    padding: 0.35rem 0.85rem;
    font-size: 0.82rem;
    color: var(--text-secondary);
    margin-bottom: 0.95rem;
    width: fit-content;
    cursor: pointer;
    transition: all 0.25s ease;
}

.mascot-quote-bubble:hover,
.patron-card:hover .mascot-quote-bubble {
    background: rgba(6, 147, 227, 0.12);
    border-color: rgba(6, 147, 227, 0.4);
    color: #ffffff;
    box-shadow: 0 0 15px rgba(6, 147, 227, 0.25);
}

.mascot-quote-bubble strong {
    color: var(--brand-white);
}

.tile-footer {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    flex-wrap: wrap;
}

.btn-card-guide {
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.12);
    color: #e2e8f0;
    padding: 0.55rem 1rem;
    font-size: 0.82rem;
    font-weight: 700;
    border-radius: var(--radius-pill);
    cursor: pointer;
    transition: all 0.25s ease;
}

.btn-card-guide:hover {
    background: rgba(6, 147, 227, 0.2);
    border-color: var(--brand-blue);
    color: #ffffff;
    box-shadow: 0 0 14px rgba(6, 147, 227, 0.4);
}

/* ==========================================================================
   SECTION 2: DEDICATED MASCOT SHOWCASE (MEET THE SUMMERWEEN PATROL)
   ========================================================================== */

.mascots-showcase-section {
    padding: 5rem 0 3.5rem;
    background: #06070a;
    position: relative;
    overflow: hidden;
}

/* Deep Shadow Melts: Smoothly transitions into and out of Summerween Patrol starlight */
.mascots-showcase-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 80px;
    background: linear-gradient(to bottom, #0a0a0a 0%, rgba(6, 7, 10, 0) 100%);
    z-index: 2;
    pointer-events: none;
}

.mascots-showcase-section::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 70px;
    background: linear-gradient(to bottom, rgba(6, 7, 10, 0) 0%, #0a0a0a 100%);
    z-index: 2;
    pointer-events: none;
}

/* Floating Night Starlight Backdrop */
.patrol-stars-backdrop {
    position: absolute;
    inset: 0;
    pointer-events: none;
    overflow: hidden;
    z-index: 1;
}

.patrol-star-layer {
    position: absolute;
    top: -50px;
    left: 0;
    right: 0;
    bottom: -50px;
    pointer-events: none;
    will-change: transform;
}

.patrol-stars-1 {
    background-image:
        radial-gradient(1px 1px at 45px 35px, rgba(255, 255, 255, 0.75), transparent),
        radial-gradient(1px 1px at 120px 85px, rgba(186, 230, 253, 0.65), transparent),
        radial-gradient(1.5px 1.5px at 210px 45px, rgba(255, 255, 255, 0.85), transparent),
        radial-gradient(1px 1px at 310px 145px, rgba(233, 213, 255, 0.55), transparent),
        radial-gradient(1px 1px at 85px 185px, rgba(255, 255, 255, 0.5), transparent),
        radial-gradient(1.2px 1.2px at 175px 235px, rgba(186, 230, 253, 0.5), transparent),
        radial-gradient(1px 1px at 265px 210px, rgba(255, 255, 255, 0.65), transparent),
        radial-gradient(1.5px 1.5px at 350px 75px, rgba(255, 255, 255, 0.7), transparent);
    background-size: 380px 290px;
    background-repeat: repeat;
    animation: patrolFloatSlow 24s ease-in-out infinite alternate;
}

.patrol-stars-2 {
    background-image:
        radial-gradient(1px 1px at 75px 65px, rgba(255, 255, 255, 0.6), transparent),
        radial-gradient(1.2px 1.2px at 180px 140px, rgba(233, 213, 255, 0.6), transparent),
        radial-gradient(1px 1px at 290px 40px, rgba(186, 230, 253, 0.7), transparent),
        radial-gradient(1.5px 1.5px at 390px 210px, rgba(255, 255, 255, 0.8), transparent),
        radial-gradient(1px 1px at 130px 250px, rgba(255, 255, 255, 0.45), transparent),
        radial-gradient(1px 1px at 230px 310px, rgba(186, 230, 253, 0.5), transparent),
        radial-gradient(1.2px 1.2px at 340px 160px, rgba(255, 255, 255, 0.75), transparent),
        radial-gradient(1px 1px at 50px 300px, rgba(233, 213, 255, 0.5), transparent);
    background-size: 430px 360px;
    background-repeat: repeat;
    animation: patrolFloatCounter 32s ease-in-out infinite alternate;
}

@keyframes patrolFloatSlow {
    0% { transform: translate3d(0, 0, 0); }
    50% { transform: translate3d(18px, -24px, 0); }
    100% { transform: translate3d(-14px, -38px, 0); }
}

@keyframes patrolFloatCounter {
    0% { transform: translate3d(0, 0, 0); }
    50% { transform: translate3d(-20px, -22px, 0); }
    100% { transform: translate3d(16px, -34px, 0); }
}

.mascots-showcase-section .container {
    max-width: min(1560px, 92vw);
    position: relative;
    z-index: 2;
}

.mascot-showcase-grid {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 1.35rem;
    margin-top: 2.75rem;
}

@media (max-width: 1400px) {
    .mascot-showcase-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 1.5rem;
    }
}

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

@media (max-width: 520px) {
    .mascot-showcase-grid {
        grid-template-columns: 1fr;
    }
}

.mascot-spotlight-card {
    background: #111217;
    border: 1px solid rgba(255, 255, 255, 0.07);
    border-radius: var(--radius-lg);
    padding: 1.6rem 1.2rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    position: relative;
    cursor: pointer;
    transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1), border-color 0.3s ease, box-shadow 0.3s ease;
}

.mascot-spotlight-card:hover {
    transform: translateY(-8px);
    border-color: rgba(6, 147, 227, 0.5);
    box-shadow: 0 18px 45px rgba(0, 0, 0, 0.85), 0 0 25px rgba(6, 147, 227, 0.35);
}

.spotlight-avatar-frame {
    width: 104px;
    height: 104px;
    border-radius: 50%;
    border: 3px solid rgba(255, 255, 255, 0.12);
    overflow: hidden;
    background: #050608;
    position: relative;
    margin-bottom: 1.1rem;
    box-shadow: 0 10px 24px rgba(0, 0, 0, 0.7), 0 0 16px rgba(6, 147, 227, 0.2);
    transition: border-color 0.3s ease, box-shadow 0.3s ease, transform 0.3s ease;
}

.spotlight-avatar-frame img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.35s ease;
}

.mascot-spotlight-card:hover .spotlight-avatar-frame {
    border-color: var(--brand-blue);
    transform: scale(1.06);
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.85), 0 0 25px rgba(6, 147, 227, 0.55);
}

.spotlight-species-badge {
    position: absolute;
    bottom: -6px;
    left: 50%;
    transform: translateX(-50%);
    background: #08090d;
    border: 1px solid rgba(255, 255, 255, 0.15);
    color: #94a3b8;
    font-size: 0.6rem;
    font-weight: 700;
    letter-spacing: 0.03em;
    text-transform: uppercase;
    padding: 0.1rem 0.5rem;
    border-radius: var(--radius-pill);
    white-space: nowrap;
    pointer-events: none;
}

.spotlight-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 100%;
    flex-grow: 1;
}

.spotlight-header {
    margin-bottom: 0.65rem;
}

.spotlight-role-tag {
    display: block;
    font-size: 0.72rem;
    font-weight: 800;
    color: #38bdf8;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    margin-bottom: 0.2rem;
}

.spotlight-name {
    font-size: 1.25rem;
    font-weight: 800;
    color: #ffffff;
    letter-spacing: -0.01em;
}

.spotlight-bio {
    font-size: 0.84rem;
    color: var(--text-secondary);
    line-height: 1.5;
    margin-bottom: 1.25rem;
    flex-grow: 1;
}

.spotlight-action {
    width: 100%;
}

.btn-spotlight-guide {
    width: 100%;
    background: rgba(6, 147, 227, 0.1);
    border: 1px solid rgba(6, 147, 227, 0.35);
    color: #38bdf8;
    font-size: 0.8rem;
    font-weight: 700;
    padding: 0.55rem 0.85rem;
    border-radius: var(--radius-pill);
    cursor: pointer;
    transition: all 0.25s ease;
}

.btn-spotlight-guide:hover,
.mascot-spotlight-card:hover .btn-spotlight-guide {
    background: var(--brand-blue);
    border-color: var(--brand-blue);
    color: #ffffff;
    box-shadow: 0 0 16px rgba(6, 147, 227, 0.5);
}

/* ==========================================================================
   SUMMERWEEN THEMED MODALS (Glassmorphism & Starlight Accents)
   ========================================================================== */

.summerween-modal-overlay {
    position: fixed;
    inset: 0;
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 1.5rem;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: opacity 0.3s cubic-bezier(0.16, 1, 0.3, 1), visibility 0.3s ease;
}

.summerween-modal-overlay.active {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
}

.modal-backdrop-blur {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.88);
    backdrop-filter: blur(24px);
    -webkit-backdrop-filter: blur(24px);
}

.summerween-dialog {
    position: relative;
    z-index: 10;
    max-width: 820px;
    width: 100%;
    max-height: 90vh;
    overflow-y: auto;
    background: #09090b;
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-top: 2px solid var(--brand-blue);
    border-radius: 20px;
    box-shadow: 0 30px 90px rgba(0, 0, 0, 0.98);
    display: none;
    transform: scale(0.94) translateY(18px);
    transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.3s ease;
}

.summerween-dialog.active-dialog {
    display: block;
    transform: scale(1) translateY(0);
}

.modal-close-btn {
    position: absolute;
    top: 1.25rem;
    right: 1.25rem;
    width: 38px;
    height: 38px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.12);
    color: #e2e8f0;
    font-size: 1.5rem;
    line-height: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.2s ease;
    z-index: 20;
}

.modal-close-btn:hover {
    background: rgba(239, 68, 68, 0.2);
    border-color: rgba(239, 68, 68, 0.5);
    color: #ffffff;
    transform: scale(1.1);
}

.modal-body-grid {
    display: grid;
    grid-template-columns: 270px 1fr;
    gap: 2.25rem;
    padding: 2.5rem;
}

@media (max-width: 768px) {
    .modal-body-grid {
        grid-template-columns: 1fr;
        padding: 1.75rem 1.25rem;
        gap: 1.5rem;
    }
}

.modal-mascot-col {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    background: #0d0e11;
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: 16px;
    padding: 1.75rem 1.25rem;
}

.modal-avatar-halo {
    width: 130px;
    height: 130px;
    border-radius: 50%;
    border: 2px solid var(--brand-blue);
    overflow: hidden;
    background: #000000;
    margin-bottom: 1rem;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.8);
}

.modal-avatar-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.modal-mascot-role {
    font-size: 0.72rem;
    font-weight: 800;
    color: #38bdf8;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: 0.2rem;
}

.modal-mascot-name {
    font-size: 1.45rem;
    font-weight: 800;
    color: #ffffff;
    margin-bottom: 1rem;
}

.modal-quote-card {
    background: #14151a;
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 14px;
    padding: 0.95rem;
    position: relative;
}

.modal-quote-icon {
    font-size: 1.25rem;
    display: block;
    margin-bottom: 0.35rem;
}

.modal-quote-text {
    font-size: 0.82rem;
    font-style: italic;
    color: #cbd5e1;
    line-height: 1.5;
}

.modal-info-col {
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.modal-eyebrow {
    font-family: 'Cinzel', serif;
    font-size: 0.78rem;
    letter-spacing: 0.16em;
    color: #38bdf8;
    text-transform: uppercase;
    font-weight: 700;
    margin-bottom: 0.35rem;
}

.modal-zone-title {
    font-family: 'Cinzel', 'Barlow Semi Condensed', Georgia, serif;
    font-size: clamp(1.6rem, 2.4vw, 2.2rem);
    font-weight: 900;
    color: #ffffff;
    line-height: 1.15;
    margin-bottom: 0.85rem;
    text-shadow: 0 0 20px rgba(255, 255, 255, 0.25);
}

.modal-lead-text {
    font-size: 0.95rem;
    color: var(--text-secondary);
    line-height: 1.6;
    margin-bottom: 1.25rem;
}

.modal-perks-list {
    list-style: none;
    padding: 0;
    margin: 0 0 1.75rem 0;
    display: flex;
    flex-direction: column;
    gap: 0.85rem;
}

.modal-perks-list li {
    font-size: 0.88rem;
    color: #cbd5e1;
    line-height: 1.55;
    padding-left: 1.4rem;
    position: relative;
}

.modal-perks-list li::before {
    content: '✦';
    position: absolute;
    left: 0;
    color: var(--brand-blue);
    font-size: 0.9rem;
}

.modal-perks-list strong {
    color: #ffffff;
}

.modal-actions-bar {
    display: flex;
    align-items: center;
    gap: 0.85rem;
    flex-wrap: wrap;
}

.modal-action-btn {
    padding: 0.75rem 1.6rem;
    font-size: 0.92rem;
    font-weight: 800;
    border-radius: var(--radius-pill);
    text-transform: uppercase;
    letter-spacing: 0.04em;
}

.modal-cancel-btn {
    padding: 0.75rem 1.4rem;
    font-size: 0.88rem;
    font-weight: 700;
    border-radius: var(--radius-pill);
    background: transparent;
    border: 1px solid rgba(255, 255, 255, 0.15);
    color: #cbd5e1;
    cursor: pointer;
    transition: all 0.2s ease;
}

.modal-cancel-btn:hover {
    background: rgba(255, 255, 255, 0.08);
    color: #ffffff;
    border-color: rgba(255, 255, 255, 0.3);
}


/* ==========================================================================
   Gothic Typography Polish: Artist Signature & Thinner Summerween Title
   ========================================================================== */
.footer-bottom .artist-sig {
    font-family: inherit;
    font-weight: 600;
    letter-spacing: 0.04em;
    color: var(--text-primary);
    text-transform: uppercase;
}

.footer-bottom .copyright-line,
.footer-bottom .artist-credit-line {
    display: inline;
}

.footer-bottom .footer-sep {
    display: inline;
    margin: 0 0.35rem;
}

@media (max-width: 768px) {
    .footer-bottom .copyright-line,
    .footer-bottom .artist-credit-line {
        display: block;
    }
    .footer-bottom .footer-sep {
        display: none;
    }
    .footer-bottom .artist-credit-line {
        margin-top: 0.35rem;
    }
}

/* Thinner, sharper chiselled cut for Summerween Title */
.summerween-title {
    font-weight: 700;
    letter-spacing: 0.16em;
}


/* ==========================================================================
   Seamless Starfield Sky Blend (Activates AFTER Cinematic Intro)
   ========================================================================== */
/* Default ambient state (after intro, or on repeat visits): smooth star blend */
.hero-sky-stars {
    z-index: 2;
    height: 48%;
    opacity: 1;
    transition: opacity 1.8s ease-in-out, height 1.8s ease-in-out;
    mask-image: linear-gradient(
        to bottom,
        rgba(0, 0, 0, 1) 0%,
        rgba(0, 0, 0, 1) 32%,
        rgba(0, 0, 0, 0.4) 75%,
        rgba(0, 0, 0, 0) 100%
    );
    -webkit-mask-image: linear-gradient(
        to bottom,
        rgba(0, 0, 0, 1) 0%,
        rgba(0, 0, 0, 1) 32%,
        rgba(0, 0, 0, 0.4) 75%,
        rgba(0, 0, 0, 0) 100%
    );
}

/* While the first-time cinematic intro plays: tuck stars completely behind the video
   so the crab monster animation, camera dolly, and zoom are 100% clean and unobstructed */
html.hero-intro-pending .hero-sky-stars {
    z-index: 1 !important;
    height: 25% !important;
    opacity: 0.4;
    mask-image: linear-gradient(to bottom, rgba(0, 0, 0, 1) 0%, rgba(0, 0, 0, 0) 100%);
    -webkit-mask-image: linear-gradient(to bottom, rgba(0, 0, 0, 1) 0%, rgba(0, 0, 0, 0) 100%);
}
