/* ==========================================================================
   CSS VARIABLES & DESIGN SYSTEM (CYBERNOVA V2)
   ========================================================================== */
:root {
    /* ==========================================================================
       TECHYON 2K26 OFFICIAL COLOUR PALETTE
       1. Electric Cyan:   #00E0F0 (Primary accent)
       2. Electric Blue:   #0060FF (Secondary accent)
       3. Neon Violet:     #6010E0 (Purple highlights)
       4. Neon Magenta:    #D020F0 (Glow and gradients)
       5. Icy Lavender:    #B0B0D0 (Metallic surfaces)
       6. Ice White:       #F0F0F0 (Text and highlights)
       7. Midnight Navy:   #080820 (Base background)
       ========================================================================== */
    --color-cyan: #00E0F0;
    --color-electric-cyan: #00E0F0;
    --color-blue: #0060FF;
    --color-electric-blue: #0060FF;
    --color-purple: #6010E0;
    --color-neon-violet: #6010E0;
    --color-violet: #6010E0;
    --color-magenta: #D020F0;
    --color-neon-magenta: #D020F0;
    --color-lavender: #B0B0D0;
    --color-icy-lavender: #B0B0D0;
    --color-silver: #B0B0D0;
    --color-gold: #FFB800;
    --color-orange: #FF8A3D;

    --text-primary: #F0F0F0;
    --text-ice-white: #F0F0F0;
    --text-secondary: #B0B0D0;
    --text-muted: #6C7494;

    --bg-main: #080820;
    --bg-midnight-navy: #080820;
    --bg-surface: #0e0e30;
    --bg-glass: rgba(14, 14, 48, 0.6);
    --bg-glass-heavy: rgba(8, 8, 32, 0.88);

    /* Typography */
    --font-display: 'Orbitron', sans-serif;
    --font-heading: 'Rajdhani', sans-serif;
    --font-body: 'Inter', sans-serif;
    --font-mono: monospace;

    /* FX */
    --transition-fast: 0.2s cubic-bezier(0.25, 1, 0.5, 1);
    --transition-smooth: 0.4s cubic-bezier(0.25, 1, 0.5, 1);
    --transition-slow: 0.8s cubic-bezier(0.25, 1, 0.5, 1);

    --border-glow: 0 0 14px rgba(0, 224, 240, 0.35);
    --border-hologram: 1px solid rgba(0, 224, 240, 0.22);

    --header-height: 100px;
}

/* ==========================================================================
   RESET & BASE
   ========================================================================== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    /* Native cursor remains available until the custom pointer initializes. */
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
    background-color: var(--bg-main);
    overflow-x: hidden;
    max-width: 100%;
}

body {
    background-color: var(--bg-main);
    color: var(--text-primary);
    font-family: var(--font-body);
    line-height: 1.6;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
}

body.loading {
    overflow: hidden;
}

a,
button {
    text-decoration: none;
    color: inherit;
    outline: none;
    background: none;
    border: none;
}

.container {
    width: 100%;
    max-width: 1440px;
    margin: 0 auto;
    padding: 0 40px;
    box-sizing: border-box;
    position: relative;
    z-index: 2;
}

/* ==========================================================================
   CUSTOM CURSOR
   ========================================================================== */
#cursor-dot,
#cursor-ring {
    position: fixed;
    top: 0;
    left: 0;
    transform: translate(-50%, -50%);
    border-radius: 50%;
    pointer-events: none;
    z-index: 200000;
}

#cursor-dot {
    width: 6px;
    height: 6px;
    background-color: var(--color-cyan);
    box-shadow: 0 0 10px var(--color-cyan);
    transition: width 0.2s, height 0.2s, background-color 0.2s;
}

#cursor-ring {
    width: 36px;
    height: 36px;
    border: 1px solid rgba(0, 224, 240, 0.45);
    background-color: transparent;
    transition: width 0.2s, height 0.2s, border-color 0.2s;
    /* Smooth follow handled by JS */
}

body:hover #cursor-dot,
body:hover #cursor-ring {
    opacity: 1;
}

.cursor-hover #cursor-dot {
    background-color: transparent;
}

.cursor-hover #cursor-ring {
    width: 44px;
    height: 44px;
    border-color: var(--color-cyan);
    background-color: transparent;
    /* Transparent so it never overlays or washes out buttons */
    border-width: 1px;
}

@media (pointer: coarse) {
    * {
        cursor: auto !important;
    }

    #cursor-dot,
    #cursor-ring {
        display: none !important;
    }
}

/* ==========================================================================
   LOADING SCREEN
   ========================================================================== */
.loader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: var(--bg-main);
    z-index: 10000;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: opacity 0.8s ease, visibility 0.8s;
}

.loader-content {
    text-align: center;
    width: 300px;
}

.loader-title {
    font-family: var(--font-display);
    font-size: 2rem;
    letter-spacing: 4px;
    color: var(--text-primary);
    margin-bottom: 5px;
}

.loader-subtitle {
    font-family: var(--font-mono);
    font-size: 0.75rem;
    color: var(--color-cyan);
    letter-spacing: 2px;
    margin-bottom: 30px;
}

.loader-bar-container {
    width: 100%;
    height: 2px;
    background: rgba(255, 255, 255, 0.1);
    position: relative;
    overflow: hidden;
}

.loader-bar {
    position: absolute;
    top: 0;
    left: 0;
    height: 100%;
    width: 0%;
    background: var(--color-cyan);
    box-shadow: 0 0 10px var(--color-cyan);
    transition: width 0.1s linear;
}

.loader-percentage {
    font-family: var(--font-mono);
    font-size: 0.85rem;
    margin-top: 15px;
    color: var(--text-secondary);
}

/* ==========================================================================
   SYSTEM STATUS & BACKGROUND
   ========================================================================== */
#bg-canvas {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    z-index: 0;
    pointer-events: none;
}

.system-status {
    position: fixed;
    bottom: 30px;
    left: 30px;
    z-index: 100;
    display: flex;
    align-items: center;
    gap: 10px;
    font-family: var(--font-mono);
    font-size: 0.7rem;
    color: var(--text-muted);
    letter-spacing: 1px;
}

.status-dot {
    width: 6px;
    height: 6px;
    background: var(--color-cyan);
    border-radius: 50%;
    box-shadow: 0 0 8px var(--color-cyan);
    animation: blink 2s infinite;
}

@keyframes blink {

    0%,
    100% {
        opacity: 1;
    }

    50% {
        opacity: 0.3;
    }
}

/* ==========================================================================
   TYPOGRAPHY
   ========================================================================== */
.text-cyan {
    color: var(--color-cyan);
    text-shadow: 0 0 10px rgba(0, 224, 240, 0.3);
}

.text-gold {
    color: var(--color-gold);
}

.text-gradient-cyan {
    background: linear-gradient(90deg, var(--color-cyan), var(--color-blue));
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.text-gradient-purple {
    background: linear-gradient(90deg, var(--color-purple), var(--color-cyan));
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.text-gradient-orange {
    background: linear-gradient(90deg, var(--color-orange), var(--color-magenta));
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.text-gradient-magenta {
    background: linear-gradient(135deg, #D020F0, #ff5500);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.section-label {
    font-family: var(--font-mono);
    font-size: 0.8rem;
    color: var(--text-secondary);
    letter-spacing: 4px;
    margin-bottom: 15px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.section-label::before {
    content: '';
    display: inline-block;
    width: 20px;
    height: 1px;
    background: var(--color-cyan);
}

.section-label.center {
    justify-content: center;
}

.section-label.center::after {
    content: '';
    display: inline-block;
    width: 20px;
    height: 1px;
    background: var(--color-cyan);
}

.section-title {
    font-family: var(--font-display);
    font-size: clamp(1.6rem, 5vw, 3.5rem);
    line-height: 1.1;
    margin-bottom: 40px;
    letter-spacing: 2px;
    overflow-wrap: break-word;
    word-break: normal;
}

.section-title.center {
    text-align: center;
}

/* ==========================================================================
   HUD NAVBAR
   ========================================================================== */
.hud-navbar {
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1000;
    padding: 20px 0;
    background: rgba(3, 6, 12, 0.70);
    backdrop-filter: blur(20px) saturate(130%);
    -webkit-backdrop-filter: blur(20px) saturate(130%);
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    box-shadow: 0 10px 35px rgba(0, 0, 0, 0.35);
    transition: var(--transition-smooth);
    height: var(--header-height);
    display: flex;
    align-items: center;
}

.hud-navbar.scrolled {
    padding: 15px 0;
    background: rgba(5, 8, 15, 0.85);
    border-bottom: 1px solid rgba(0, 243, 255, 0.2);
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.5), 0 0 20px rgba(0, 243, 255, 0.05);
    height: 80px;
}

.nav-container {
    width: 100%;
    max-width: 100%;
    padding: 0 clamp(16px, 2.5vw, 40px);
    display: flex;
    justify-content: flex-start;
    align-items: center;
    gap: clamp(10px, 1.4vw, 24px);
    box-sizing: border-box;
}

.logo-container {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.3s ease, filter 0.3s ease;
    text-decoration: none;
    flex-shrink: 0;
    max-width: 170px;
    overflow: hidden;
}

.logo-container:hover {
    transform: translateY(-2px);
    filter: drop-shadow(0 0 10px rgba(0, 224, 240, 0.4)) brightness(1.2);
}

.logo-placeholder {
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: var(--font-display);
    line-height: 0;
}

/* Official College Logo in Navbar (compact, proportional, vertically centered) */
.nav-pcce-logo {
    height: 48px;
    width: auto;
    max-height: 50px;
    max-width: 145px;
    object-fit: contain;
    display: block;
    flex-shrink: 0;
    filter: drop-shadow(0 2px 10px rgba(0, 0, 0, 0.55));
    transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1), filter 0.3s ease;
}

.hud-navbar.scrolled .nav-pcce-logo {
    height: 42px;
    max-height: 44px;
    max-width: 130px;
}

.logo-container:hover .nav-pcce-logo {
    transform: scale(1.04);
    filter: drop-shadow(0 0 16px rgba(0, 224, 240, 0.6)) brightness(1.15);
}

@media (max-width: 1024px) {
    .nav-pcce-logo {
        height: 46px;
        max-height: 48px;
        max-width: 135px;
    }

    .hud-navbar.scrolled .nav-pcce-logo {
        height: 38px;
        max-height: 40px;
        max-width: 115px;
    }
}

@media (max-width: 768px) {
    .nav-pcce-logo {
        height: 42px;
        max-height: 44px;
        max-width: 120px;
    }

    .hud-navbar.scrolled .nav-pcce-logo {
        height: 34px;
        max-height: 36px;
        max-width: 95px;
    }
}

.logo-main {
    font-size: 1.5rem;
    font-weight: 700;
    letter-spacing: 2px;
    line-height: 1;
}

.logo-sub {
    font-family: var(--font-mono);
    font-size: 0.55rem;
    color: var(--color-cyan);
    letter-spacing: 4px;
    margin-top: 2px;
}

.nav-links {
    display: flex;
    align-items: center;
    gap: clamp(10px, 1.2vw, 18px);
    background: rgba(0, 0, 0, 0.2);
    padding: 8px clamp(12px, 1.2vw, 18px);
    border-radius: 40px;
    border: 1px solid rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(10px);
    flex-shrink: 1;
}

.nav-techyon-brand {
    margin-left: auto;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    flex-shrink: 0;
    padding: 2px 6px;
    margin-right: clamp(14px, 1.8vw, 32px);
    /* Shift TECHYON logo leftward from OFFICIAL WEBSITE button */
    transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1), filter 0.3s ease;
}

.nav-register {
    margin-left: 0;
    flex-shrink: 0;
}

.nav-item {
    font-family: var(--font-heading);
    font-size: clamp(0.82rem, 0.9vw, 0.95rem);
    font-weight: 600;
    letter-spacing: 1px;
    color: var(--text-secondary);
    display: flex;
    align-items: center;
    gap: 6px;
    position: relative;
    transition: color 0.3s;
    white-space: nowrap;
}

.nav-num {
    font-family: var(--font-mono);
    font-size: 0.65rem;
    color: var(--text-muted);
}

.nav-item:hover,
.nav-item.active {
    color: #fff;
}

.nav-item::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 1px;
    background: var(--color-cyan);
    transition: width 0.3s;
}

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

.mobile-menu-btn {
    display: none;
    width: 44px;
    height: 44px;
    padding: 0;
    background: transparent;
    border: none;
    cursor: pointer;
    position: relative;
    z-index: 1001;
    box-sizing: border-box;
}

.mobile-menu-btn span {
    position: absolute;
    height: 2px;
    width: 26px;
    left: 9px;
    background: #fff;
    transition: var(--transition-smooth);
}

.mobile-menu-btn span:nth-child(1) {
    top: 13px;
}

.mobile-menu-btn span:nth-child(2) {
    top: 21px;
}

.mobile-menu-btn span:nth-child(3) {
    top: 29px;
}

/* ==========================================================================
   BUTTON SYSTEM (PRIMARY CTA, SECONDARY NAV, STATUS BADGES)
   ========================================================================== */

/* Universal button base */
.btn {
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-family: var(--font-heading, 'Rajdhani', sans-serif);
    font-weight: 700;
    text-transform: uppercase;
    text-decoration: none;
    line-height: 1;
    border-radius: 6px;
    transition: all 0.25s cubic-bezier(0.2, 0.8, 0.2, 1);
    box-sizing: border-box;
    overflow: hidden;
    /* Clips flares and pseudo-elements strictly within button boundaries */
    cursor: pointer;
    border: none;
    outline: none;
    -webkit-appearance: none;
    appearance: none;
}

.btn:focus-visible {
    outline: 2px solid var(--color-cyan, #00E0F0);
    outline-offset: 3px;
}

.btn:active {
    transform: translateY(1px) scale(0.98);
}

.btn-magnetic {
    border-radius: 30px;
}

.btn-magnetic .btn-text,
.btn .btn-text {
    position: relative;
    z-index: 2;
}

/* Nav specific register button (OFFICIAL WEBSITE) - comfortable, substantial size */
.nav-register {
    padding: 9px 22px;
    font-size: 0.85rem;
    letter-spacing: 1.3px;
    background: transparent;
    border-radius: 26px;
    color: #fff;
    white-space: nowrap;
    flex-shrink: 0;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition-smooth);
}

.nav-register .btn-text {
    white-space: nowrap;
}

.nav-register .btn-border {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    border-radius: 26px;
    border: 1px solid rgba(0, 224, 240, 0.4);
    transition: var(--transition-smooth);
}

.nav-register:hover .btn-border {
    border-color: var(--color-cyan);
    box-shadow: inset 0 0 15px rgba(0, 224, 240, 0.2), 0 0 15px rgba(0, 224, 240, 0.2);
}

.hud-navbar.scrolled .nav-register {
    padding: 7px 18px;
    font-size: 0.8rem;
}

/* Primary CTA Button (REGISTER NOW) */
.btn-primary,
.event-reg-btn {
    background: linear-gradient(135deg, #00E0F0 0%, #0088ff 100%) !important;
    color: #030a16 !important;
    /* Deep navy text for maximum contrast on bright cyan/blue */
    padding: 14px 34px;
    min-height: 48px;
    font-size: 0.95rem;
    letter-spacing: 2px;
    font-weight: 700;
    border: 1px solid rgba(0, 224, 240, 0.9) !important;
    box-shadow: 0 4px 18px rgba(0, 224, 240, 0.35);
    z-index: 5;
}

.btn-primary:hover,
.event-reg-btn:hover {
    background: linear-gradient(135deg, #33eeff 0%, #00aaff 100%) !important;
    color: #020710 !important;
    box-shadow: 0 6px 26px rgba(0, 224, 240, 0.55), inset 0 0 10px rgba(255, 255, 255, 0.3);
    transform: translateY(-2px);
}

/* Subtle, contained shimmer on primary button */
.btn-primary::before,
.event-reg-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 60%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.25), transparent);
    transform: translateX(-150%) skewX(-20deg);
    transition: transform 0.6s ease;
    pointer-events: none;
    z-index: 1;
}

.btn-primary:hover::before,
.event-reg-btn:hover::before {
    transform: translateX(250%) skewX(-20deg);
}

/* Secondary Navigation Buttons (← ALL EVENTS / ← BACK TO DIRECTORY) */
.btn-secondary-nav,
.btn-outline,
#hero-back-events {
    background: rgba(10, 14, 23, 0.85) !important;
    color: var(--color-cyan, #00E0F0) !important;
    border: 1px solid rgba(0, 224, 240, 0.45) !important;
    padding: 14px 28px;
    min-height: 48px;
    font-size: 0.9rem;
    letter-spacing: 1.5px;
    font-weight: 600;
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    z-index: 5;
}

.btn-secondary-nav:hover,
.btn-outline:hover,
#hero-back-events:hover {
    background: rgba(0, 224, 240, 0.12) !important;
    border-color: var(--color-cyan, #00E0F0) !important;
    color: #ffffff !important;
    box-shadow: 0 4px 18px rgba(0, 224, 240, 0.2);
    transform: translateY(-2px);
}

/* Non-clickable status buttons (Disabled / Pending / Closed) */
.btn-status,
button.btn:disabled,
button.btn[disabled] {
    background: rgba(10, 14, 23, 0.65) !important;
    color: rgba(255, 255, 255, 0.55) !important;
    border: 1px dashed rgba(255, 255, 255, 0.22) !important;
    padding: 14px 28px;
    min-height: 48px;
    font-size: 0.85rem;
    letter-spacing: 1.5px;
    font-weight: 600;
    cursor: not-allowed !important;
    pointer-events: none !important;
    box-shadow: none !important;
    transform: none !important;
}

.btn-status.btn-status-closed {
    border-color: rgba(255, 255, 255, 0.18) !important;
    color: rgba(255, 255, 255, 0.45) !important;
    background: rgba(255, 255, 255, 0.04) !important;
}

.btn-status.btn-status-soon {
    border-color: rgba(123, 0, 255, 0.4) !important;
    color: #c48eff !important;
    background: rgba(123, 0, 255, 0.08) !important;
}

.btn-status.btn-status-pending {
    border-color: rgba(0, 224, 240, 0.25) !important;
    color: rgba(0, 224, 240, 0.75) !important;
    background: rgba(0, 224, 240, 0.05) !important;
}

/* ==========================================================================
   HERO SECTION & HOLOGRAPHIC PANELS
   ========================================================================== */
.hero {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    position: relative;
    padding-top: 150px;
    padding-bottom: 50px;
}

.holo-panel {
    position: absolute;
    background: var(--bg-glass);
    border: var(--border-hologram);
    backdrop-filter: blur(5px);
    -webkit-backdrop-filter: blur(5px);
    padding: 15px 20px;
    border-radius: 4px;
    z-index: 3;
    pointer-events: none;
}

.holo-panel::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 10px;
    height: 10px;
    border-top: 2px solid var(--color-cyan);
    border-left: 2px solid var(--color-cyan);
}

.holo-panel::after {
    content: '';
    position: absolute;
    bottom: 0;
    right: 0;
    width: 10px;
    height: 10px;
    border-bottom: 2px solid var(--color-cyan);
    border-right: 2px solid var(--color-cyan);
}

.holo-header {
    font-family: var(--font-mono);
    font-size: 0.65rem;
    color: var(--text-secondary);
    margin-bottom: 8px;
    letter-spacing: 2px;
}

.holo-body {
    font-family: var(--font-heading);
    font-size: 1rem;
    font-weight: 600;
    color: #fff;
    letter-spacing: 1px;
}

.holo-body.holo-large {
    font-family: var(--font-display);
    font-size: 1.8rem;
    color: var(--color-cyan);
    text-shadow: 0 0 10px rgba(0, 224, 240, 0.4);
}

.holo-top-left {
    top: 25%;
    left: 8%;
}

.holo-bottom-right {
    bottom: 20%;
    right: 8%;
}

.events-holo-left {
    top: 30%;
    left: clamp(2%, 4vw, 6%);
}

.events-holo-right {
    top: 65%;
    right: clamp(2%, 4vw, 6%);
}

@media (max-width: 1200px) {
    .events-holo-left {
        top: 20%;
        left: 2%;
        transform: scale(0.85);
        transform-origin: left center;
    }

    .events-holo-right {
        top: 70%;
        right: 2%;
        transform: scale(0.85);
        transform-origin: right center;
    }
}

@media (max-width: 768px) {

    .events-holo-left,
    .events-holo-right {
        position: relative;
        top: auto;
        left: auto;
        right: auto;
        transform: none;
        margin: 10px auto;
        width: fit-content;
        display: inline-block;
    }

    #home.hero {
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: center;
    }
}



.hero-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 16px;
    text-align: center;
    position: relative;
    z-index: 10;
    padding: 0 20px;
    width: 100%;
}

.title-group {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0;
    margin-bottom: 12px;
}

.hero-title {
    font-family: var(--font-display);
    font-size: clamp(3rem, 7.5vw, 6.5rem);
    /* Reduced ~20% from 8rem */
    line-height: 1;
    margin-bottom: 0;
    background: linear-gradient(180deg, #ffffff 0%, #b3b3b3 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    text-shadow: 0 0 30px rgba(0, 243, 255, 0.4);
    font-weight: 900;
    letter-spacing: 2px;
}

/* Glitch Effect (Restored from Git Baseline) */
.glitch {
    position: relative;
    display: inline-block;
    z-index: 10;
}

.glitch::before,
.glitch::after {
    content: attr(data-text);
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0.85;
    z-index: 5;
    pointer-events: none;
    background: transparent;
}

.glitch::before {
    left: 2px;
    -webkit-text-fill-color: var(--color-magenta, #D020F0);
    color: var(--color-magenta, #D020F0);
    text-shadow: -2px 0 var(--color-magenta, #D020F0), 0 0 14px rgba(208, 32, 240, 0.6);
    clip: rect(44px, 9999px, 56px, 0);
    animation: glitch-anim 5s infinite linear alternate-reverse;
}

.glitch::after {
    left: -2px;
    -webkit-text-fill-color: var(--color-cyan, #00E0F0);
    color: var(--color-cyan, #00E0F0);
    text-shadow: 2px 0 var(--color-cyan, #00E0F0), 0 0 14px rgba(0, 224, 240, 0.6);
    clip: rect(44px, 9999px, 56px, 0);
    animation: glitch-anim2 5s infinite linear alternate-reverse;
}

@keyframes glitch-anim {
    0% {
        clip: rect(78px, 9999px, 86px, 0);
    }

    5% {
        clip: rect(10px, 9999px, 84px, 0);
    }

    10% {
        clip: rect(31px, 9999px, 66px, 0);
    }

    15% {
        clip: rect(61px, 9999px, 52px, 0);
    }

    20% {
        clip: rect(30px, 9999px, 42px, 0);
    }

    25% {
        clip: rect(46px, 9999px, 78px, 0);
    }

    30% {
        clip: rect(57px, 9999px, 12px, 0);
    }

    35% {
        clip: rect(21px, 9999px, 58px, 0);
    }

    40% {
        clip: rect(49px, 9999px, 71px, 0);
    }

    45% {
        clip: rect(58px, 9999px, 48px, 0);
    }

    50% {
        clip: rect(18px, 9999px, 13px, 0);
    }

    55% {
        clip: rect(93px, 9999px, 11px, 0);
    }

    60% {
        clip: rect(60px, 9999px, 8px, 0);
    }

    65% {
        clip: rect(76px, 9999px, 25px, 0);
    }

    70% {
        clip: rect(27px, 9999px, 7px, 0);
    }

    75% {
        clip: rect(79px, 9999px, 98px, 0);
    }

    80% {
        clip: rect(54px, 9999px, 54px, 0);
    }

    85% {
        clip: rect(79px, 9999px, 2px, 0);
    }

    90% {
        clip: rect(75px, 9999px, 99px, 0);
    }

    95% {
        clip: rect(89px, 9999px, 32px, 0);
    }
}

@keyframes glitch-anim2 {
    0% {
        clip: rect(45px, 9999px, 67px, 0);
    }

    5% {
        clip: rect(7px, 9999px, 19px, 0);
    }

    10% {
        clip: rect(77px, 9999px, 11px, 0);
    }

    15% {
        clip: rect(48px, 9999px, 90px, 0);
    }

    20% {
        clip: rect(96px, 9999px, 100px, 0);
    }

    25% {
        clip: rect(7px, 9999px, 93px, 0);
    }

    30% {
        clip: rect(74px, 9999px, 47px, 0);
    }

    35% {
        clip: rect(38px, 9999px, 20px, 0);
    }

    40% {
        clip: rect(76px, 9999px, 18px, 0);
    }

    45% {
        clip: rect(66px, 9999px, 15px, 0);
    }

    50% {
        clip: rect(15px, 9999px, 91px, 0);
    }

    55% {
        clip: rect(46px, 9999px, 21px, 0);
    }

    60% {
        clip: rect(12px, 9999px, 63px, 0);
    }

    65% {
        clip: rect(81px, 9999px, 36px, 0);
    }

    70% {
        clip: rect(59px, 9999px, 22px, 0);
    }

    75% {
        clip: rect(79px, 9999px, 5px, 0);
    }

    80% {
        clip: rect(98px, 9999px, 48px, 0);
    }

    85% {
        clip: rect(27px, 9999px, 12px, 0);
    }

    90% {
        clip: rect(32px, 9999px, 4px, 0);
    }

    95% {
        clip: rect(46px, 9999px, 57px, 0);
    }
}

.title-2k26 {
    display: block;
    font-family: var(--font-display);
    font-size: clamp(2.8rem, 7vw, 5.5rem);
    letter-spacing: 6px;
    color: #ccf2ff;
    text-shadow: 0 0 15px rgba(0, 224, 240, 0.3);
    font-weight: 900;
    line-height: 1;
    margin-top: -5px;
}

.hero-subtitle {
    font-family: var(--font-heading);
    font-size: clamp(0.85rem, 2vw, 1.25rem);
    color: var(--color-cyan);
    letter-spacing: 6px;
    margin: 0;
}

.hero-tagline {
    font-family: var(--font-body);
    font-size: 1rem;
    color: var(--text-secondary);
    margin: 0 0 12px 0;
}

.hero-stats {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 20px;
    margin-bottom: 16px;
    flex-wrap: wrap;
}

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

.stat-divider {
    width: 1px;
    height: 36px;
    background: rgba(255, 255, 255, 0.15);
}

.stat-val {
    font-family: var(--font-display);
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--color-cyan);
    text-shadow: 0 0 10px rgba(0, 224, 240, 0.3);
    line-height: 1.1;
}

.stat-label {
    font-family: var(--font-heading);
    font-size: 0.75rem;
    letter-spacing: 2px;
    color: var(--text-secondary);
}

/* Hero Prize Pool Callout */
.hero-prize-callout {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    padding: 8px 20px;
    border: 1px solid rgba(255, 170, 0, 0.25);
    border-radius: 4px;
    background: rgba(255, 170, 0, 0.05);
    margin-bottom: 28px;
}

.prize-callout-label {
    font-family: var(--font-mono);
    font-size: 0.7rem;
    letter-spacing: 3px;
    color: var(--text-secondary);
}

.prize-callout-val {
    font-family: var(--font-display);
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--color-gold);
    text-shadow: 0 0 10px rgba(255, 170, 0, 0.3);
}

/* Secondary badge — sits below CTA as atmospheric tagline */
.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 6px 14px;
    background: rgba(0, 0, 0, 0.3);
    border: 1px solid rgba(255, 255, 255, 0.07);
    border-radius: 30px;
    font-family: var(--font-mono);
    font-size: 0.65rem;
    color: var(--text-muted);
    letter-spacing: 3px;
    margin-top: 20px;
    backdrop-filter: blur(4px);
}

.badge-icon {
    width: 6px;
    height: 6px;
    background: var(--color-orange);
    border-radius: 50%;
    box-shadow: 0 0 8px var(--color-orange);
}

/* ==========================================================================
   MISSION TIMER
   ========================================================================== */
.mission-timer-section {
    padding: 40px 0;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    background: linear-gradient(90deg, transparent, rgba(0, 224, 240, 0.02), transparent);
}

/* ==========================================================================
   EVENT STATUS MODULE (HERO)
   ========================================================================== */
.event-status-module {
    background: rgba(5, 8, 15, 0.4);
    border: 1px solid rgba(0, 224, 240, 0.1);
    border-radius: 8px;
    padding: 20px 30px;
    width: 100%;
    max-width: 500px;
    margin: 0 auto;
    position: relative;
    overflow: hidden;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    display: flex;
    flex-direction: column;
    gap: 20px;
    box-shadow: 0 0 20px rgba(0, 0, 0, 0.5), inset 0 0 30px rgba(0, 224, 240, 0.02);
    transition: transform 0.4s ease-out, box-shadow 0.4s ease, border-color 0.4s ease;
}

.event-status-module:hover {
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.6), inset 0 0 40px rgba(0, 224, 240, 0.05);
    border-color: rgba(0, 224, 240, 0.3);
}

.module-border-sweep {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    border-radius: 8px;
    pointer-events: none;
    z-index: 1;
    background:
        linear-gradient(90deg, transparent, rgba(0, 224, 240, 0.6), transparent) 0 0 / 200% 1px no-repeat,
        linear-gradient(180deg, transparent, rgba(0, 224, 240, 0.6), transparent) 100% 0 / 1px 200% no-repeat,
        linear-gradient(270deg, transparent, rgba(0, 224, 240, 0.6), transparent) 100% 100% / 200% 1px no-repeat,
        linear-gradient(0deg, transparent, rgba(0, 224, 240, 0.6), transparent) 0 100% / 1px 200% no-repeat;
    animation: borderSweep 8s linear infinite;
    opacity: 0;
    transition: opacity 1s ease;
}

section.is-visible .module-border-sweep {
    opacity: 1;
}

@keyframes borderSweep {
    0% {
        background-position: 200% 0, 100% -200%, -200% 100%, 0 200%;
    }

    100% {
        background-position: -200% 0, 100% 200%, 200% 100%, 0 -200%;
    }
}

.module-scanline {
    position: absolute;
    top: -20%;
    left: 0;
    right: 0;
    height: 10%;
    background: linear-gradient(to bottom, transparent, rgba(0, 224, 240, 0.1), transparent);
    z-index: 2;
    pointer-events: none;
    opacity: 0;
    transition: opacity 0.4s ease;
}

section.is-visible .module-scanline {
    animation: scanSweep 4s linear infinite;
    opacity: 0.5;
}

.event-status-module:hover .module-scanline {
    opacity: 0.8;
}

@keyframes scanSweep {
    0% {
        top: -20%;
    }

    100% {
        top: 120%;
    }
}

/* Top HUD */
.module-top-hud {
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    padding-bottom: 10px;
    z-index: 3;
    font-family: var(--font-mono);
    font-size: 0.65rem;
    letter-spacing: 2px;
    color: var(--text-secondary);
    opacity: 0;
    transition: opacity 1s ease 0.2s;
}

section.is-visible .module-top-hud {
    opacity: 1;
}

.hud-status {
    display: flex;
    align-items: center;
    gap: 8px;
    color: rgba(255, 255, 255, 0.5);
}

.status-dot-pulse {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--color-cyan);
    box-shadow: 0 0 8px var(--color-cyan);
    opacity: 0;
}

section.is-visible .status-dot-pulse {
    animation: pulseDot 2s infinite ease-in-out 0.5s;
}

@keyframes pulseDot {

    0%,
    100% {
        opacity: 0.2;
        transform: scale(0.8);
    }

    50% {
        opacity: 1;
        transform: scale(1.5);
        box-shadow: 0 0 12px var(--color-cyan);
    }
}

/* Center Content */
.module-center-content {
    text-align: center;
    padding: 10px 0;
    z-index: 3;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    opacity: 0;
    transform: translateY(10px);
    transition: opacity 0.8s ease 0.4s, transform 0.8s ease 0.4s;
}

section.is-visible .module-center-content {
    opacity: 1;
    transform: translateY(0);
}

.date-label {
    font-family: var(--font-display);
    font-size: 1.8rem;
    color: #fff;
    letter-spacing: 4px;
    text-shadow: 0 0 15px rgba(255, 255, 255, 0.1);
}

.date-value {
    font-family: var(--font-mono);
    font-size: 0.85rem;
    color: var(--color-cyan);
    letter-spacing: 4px;
}

.awaiting-badge {
    margin-top: 15px;
    display: inline-flex;
    align-items: center;
    gap: 15px;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.1);
    padding: 8px 20px;
    border-radius: 4px;
    font-family: var(--font-mono);
    font-size: 0.75rem;
    color: var(--text-secondary);
    letter-spacing: 2px;
}

.holographic-ring {
    position: relative;
    width: 14px;
    height: 14px;
    display: flex;
    justify-content: center;
    align-items: center;
    opacity: 0;
}

section.is-visible .holographic-ring {
    opacity: 1;
    transition: opacity 0.5s ease 0.8s;
}

.ring-outer {
    position: absolute;
    width: 100%;
    height: 100%;
    border-radius: 50%;
    border: 1px dashed var(--color-cyan);
    animation: spin 6s linear infinite;
    opacity: 0.5;
}

.ring-dot {
    width: 3px;
    height: 3px;
    background: var(--color-cyan);
    border-radius: 50%;
    box-shadow: 0 0 5px var(--color-cyan);
    animation: pulseDot 2s infinite;
}

/* Bottom HUD */
.module-bottom-hud {
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    padding-top: 10px;
    z-index: 3;
    font-family: var(--font-mono);
    font-size: 0.55rem;
    letter-spacing: 3px;
    color: var(--text-muted);
    opacity: 0;
    transition: opacity 1s ease 0.6s;
}

section.is-visible .module-bottom-hud {
    opacity: 1;
}

/* ==========================================================================
   LAYOUT SECTIONS & PROSE
   ========================================================================== */
.section {
    padding: 120px 0;
    scroll-margin-top: 100px;
}

.section-layout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.prose p {
    font-size: 1.1rem;
    color: var(--text-secondary);
    margin-bottom: 20px;
    line-height: 1.8;
}

/* Data Cube */
.data-cube-container {
    perspective: 1000px;
    width: 300px;
    height: 300px;
    margin: 0 auto;
}

.data-cube {
    width: 100%;
    height: 100%;
    position: relative;
    transform-style: preserve-3d;
    animation: rotateCube 20s infinite linear;
}

.cube-face {
    position: absolute;
    width: 200px;
    height: 200px;
    top: 50px;
    left: 50px;
    background: rgba(0, 224, 240, 0.05);
    border: 1px solid rgba(0, 224, 240, 0.3);
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: var(--font-display);
    font-size: 1.5rem;
    color: rgba(255, 255, 255, 0.5);
    backdrop-filter: blur(2px);
}

.face-front {
    transform: translateZ(100px);
}

.face-back {
    transform: rotateY(180deg) translateZ(100px);
}

.face-right {
    transform: rotateY(90deg) translateZ(100px);
}

.face-left {
    transform: rotateY(-90deg) translateZ(100px);
}

.face-top {
    transform: rotateX(90deg) translateZ(100px);
}

.face-bottom {
    transform: rotateX(-90deg) translateZ(100px);
}

@keyframes rotateCube {
    0% {
        transform: rotateX(0deg) rotateY(0deg);
    }

    100% {
        transform: rotateX(360deg) rotateY(360deg);
    }
}

/* ==========================================================================
   HOLOGRAM CARDS (HACKATHON DETAILS)
   ========================================================================== */
.hologram-cards-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(min(100%, 260px), 1fr));
    gap: 30px;
    margin-top: 60px;
    perspective: 1000px;
}

.holo-card {
    position: relative;
    background: var(--bg-glass);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 12px;
    padding: 40px 30px;
    transform-style: preserve-3d;
    transition: border-color 0.3s;
}

.holo-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.05) 0%, transparent 100%);
    border-radius: 12px;
    pointer-events: none;
}

.card-inner {
    transform: translateZ(30px);
}

.card-icon {
    margin-bottom: 25px;
    opacity: 0.8;
}

.card-data {
    font-family: var(--font-heading);
    font-size: 1.8rem;
    font-weight: 700;
    color: #fff;
    margin-bottom: 10px;
}

.card-desc {
    color: var(--text-secondary);
    font-size: 0.95rem;
}

.card-glint {
    position: absolute;
    top: 0;
    left: -100%;
    width: 50%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.1), transparent);
    transform: skewX(-20deg);
    transition: left 0.5s;
    pointer-events: none;
}

.holo-card:hover {
    border-color: rgba(255, 255, 255, 0.2);
}

.holo-card:hover .card-glint {
    left: 200%;
}

/* ==========================================================================
   3D PRIZE PODIUM
   ========================================================================== */
.prize-visualization {
    position: relative;
    min-height: 400px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    margin-top: 60px;
    margin-top: 80px;
}

.bg-holo-text {
    position: absolute;
    top: 0;
    font-family: var(--font-display);
    font-size: 12rem;
    font-weight: 900;
    color: transparent;
    -webkit-text-stroke: 1px rgba(255, 255, 255, 0.03);
    z-index: 0;
    pointer-events: none;
}

.prize-pyramid {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 40px;
    z-index: 2;
    perspective: 1000px;
}

.prize-tier-row {
    display: flex;
    justify-content: center;
    gap: 40px;
    flex-wrap: wrap;
    margin-top: -20px;
}

.prize-tier {
    display: flex;
    flex-direction: column;
    align-items: center;
    position: relative;
    transform-style: preserve-3d;
}

.hologram-beam {
    position: absolute;
    bottom: 50%;
    width: 100px;
    height: 150px;
    background: linear-gradient(to top, rgba(160, 170, 181, 0.2), transparent);
    clip-path: polygon(20% 100%, 80% 100%, 100% 0, 0 0);
    z-index: 1;
    pointer-events: none;
    animation: pulse-beam 4s infinite alternate;
}

.beam-gold {
    background: linear-gradient(to top, rgba(255, 170, 0, 0.2), transparent);
    height: 200px;
}

.beam-blue {
    background: linear-gradient(to top, rgba(0, 224, 240, 0.2), transparent);
    height: 150px;
}

.beam-bronze {
    background: linear-gradient(to top, rgba(205, 127, 50, 0.2), transparent);
    height: 140px;
}

@keyframes pulse-beam {
    0% {
        opacity: 0.5;
    }

    100% {
        opacity: 1;
    }
}

.podium-card {
    background: var(--bg-glass-heavy);
    border: 1px solid var(--color-silver);
    padding: 30px;
    border-radius: 8px;
    text-align: center;
    transform: translateZ(50px);
    z-index: 2;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.5);
    margin-bottom: 20px;
    min-width: 220px;
}

.card-gold {
    border-color: var(--color-gold);
    box-shadow: 0 15px 35px rgba(255, 170, 0, 0.1);
    transform: translateZ(60px);
    padding: 40px;
}

.card-silver {
    border-color: var(--color-silver, #a0aab5);
    box-shadow: 0 15px 35px rgba(160, 170, 181, 0.15);
}

.card-bronze {
    border-color: #cd7f32;
    box-shadow: 0 15px 35px rgba(205, 127, 50, 0.15);
}

.card-blue {
    border-color: var(--color-cyan);
    box-shadow: 0 15px 35px rgba(0, 224, 240, 0.1);
}

.medal-icon {
    font-size: 2.5rem;
    margin-bottom: 10px;
}

.podium-card h3 {
    font-family: var(--font-display);
    font-size: 2.5rem;
    color: #fff;
    margin-bottom: 5px;
}

.card-gold h3 {
    color: var(--color-gold);
    text-shadow: 0 0 15px rgba(255, 170, 0, 0.3);
    font-size: 3rem;
}

.card-silver h3 {
    color: var(--color-silver, #e0e6ed);
    text-shadow: 0 0 15px rgba(160, 170, 181, 0.3);
}

.card-bronze h3 {
    color: #e59866;
    text-shadow: 0 0 15px rgba(205, 127, 50, 0.3);
}

.card-blue h3 {
    color: var(--color-cyan);
    text-shadow: 0 0 15px rgba(0, 224, 240, 0.3);
}

.podium-card span {
    font-family: var(--font-mono);
    font-size: 0.8rem;
    color: var(--text-secondary);
    letter-spacing: 2px;
}

/* ==========================================================================
   MISSION TIMELINE (FLOW)
   ========================================================================== */
.timeline-container {
    position: relative;
    margin-top: 60px;
}

.timeline-line {
    position: absolute;
    top: 20px;
    left: 0;
    width: 100%;
    height: 2px;
    background: rgba(255, 255, 255, 0.1);
    z-index: 1;
}

.timeline-progress {
    height: 100%;
    width: 0%;
    background: var(--color-cyan);
    box-shadow: 0 0 10px var(--color-cyan);
    transition: width 0.5s ease;
}

.timeline-nodes {
    display: flex;
    justify-content: space-between;
    position: relative;
    z-index: 2;
}

.timeline-node {
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 150px;
    text-align: center;
}

.node-point {
    width: 16px;
    height: 16px;
    background: var(--bg-main);
    border: 2px solid var(--text-muted);
    border-radius: 50%;
    margin-bottom: 20px;
    transition: var(--transition-smooth);
}

.timeline-node.active .node-point {
    border-color: var(--color-cyan);
    background: var(--color-cyan);
    box-shadow: 0 0 15px var(--color-cyan);
}

.node-point.winner {
    border-radius: 0;
    transform: rotate(45deg);
}

.timeline-node.active .node-point.winner {
    border-color: var(--color-gold);
    background: var(--color-gold);
    box-shadow: 0 0 15px var(--color-gold);
}

.node-content h4 {
    font-family: var(--font-heading);
    font-size: 1.1rem;
    color: var(--text-muted);
    margin-bottom: 5px;
    transition: color 0.3s;
}

.timeline-node.active .node-content h4 {
    color: #fff;
}

.timeline-node.active .node-content h4.text-gold {
    color: var(--color-gold);
}

.node-content p {
    font-size: 0.85rem;
    color: var(--text-secondary);
    opacity: 0;
    transform: translateY(10px);
    transition: opacity 0.3s, transform 0.3s;
}

.timeline-node.active .node-content p {
    opacity: 1;
    transform: translateY(0);
}

/* ==========================================================================
   HOLOGRAPHIC SPONSOR WALL
   ========================================================================== */
.sponsors-hologrid {
    display: flex;
    flex-direction: column;
    gap: 60px;
    margin-top: 60px;
}

.sponsor-tier {
    text-align: center;
}

.sponsor-tier-title {
    font-family: var(--font-mono);
    font-size: 0.85rem;
    color: var(--text-secondary);
    letter-spacing: 4px;
    margin-bottom: 30px;
}

.sponsor-grid {
    display: flex;
    justify-content: flex-start;
    flex-wrap: wrap;
    gap: 20px;
}

.sponsor-card {
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.05);
    padding: 30px;
    border-radius: 4px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition-smooth);
    position: relative;
    overflow: hidden;
}

.sponsor-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(45deg, transparent, rgba(255, 255, 255, 0.05), transparent);
    transform: translateX(-100%);
    transition: transform 0.5s;
}

.sponsor-card:hover {
    background: rgba(255, 255, 255, 0.05);
    border-color: rgba(255, 255, 255, 0.2);
}

.sponsor-card:hover::before {
    transform: translateX(100%);
}

.sponsor-placeholder {
    font-family: var(--font-heading);
    font-weight: 600;
    color: var(--text-muted);
    letter-spacing: 2px;
}

/* ==========================================================================
   FAQ & RULES
   ========================================================================== */
.holo-panel-inline {
    background: var(--bg-glass);
    border: var(--border-hologram);
    padding: 30px;
    position: relative;
    margin-top: 30px;
}

.status-indicator {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-family: var(--font-mono);
    font-size: 0.8rem;
    color: var(--color-orange);
    margin-bottom: 15px;
}

.pulse-dot {
    width: 8px;
    height: 8px;
    background: var(--color-orange);
    border-radius: 50%;
    animation: blink 1s infinite;
}

.faq-accordion {
    display: flex;
    flex-direction: column;
    gap: 15px;
    max-width: 800px;
    margin: 0 auto;
    position: relative;
    z-index: 5;
    background: rgba(5, 8, 15, 0.6);
    /* Subtle background to separate from 3D */
    padding: 30px;
    border-radius: 8px;
    border: 1px solid rgba(0, 224, 240, 0.1);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
}

.faq-item {
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    background: transparent;
    transition: background 0.3s, border-color 0.3s;
}

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

.faq-item:hover {
    background: rgba(0, 224, 240, 0.03);
    border-color: rgba(0, 224, 240, 0.3);
}

.faq-question {
    width: 100%;
    text-align: left;
    padding: 24px 20px;
    font-family: var(--font-heading);
    font-size: clamp(1rem, 2vw, 1.2rem);
    font-weight: 600;
    color: #fff;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: color 0.3s;
    background: transparent;
    border: none;
    cursor: pointer;
    outline: none;
}

.faq-question:hover {
    color: var(--color-cyan);
}

.faq-icon {
    font-family: var(--font-mono);
    font-size: 1.5rem;
    color: var(--text-muted);
    transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1), color 0.3s;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 24px;
    height: 24px;
    font-weight: 300;
}

.faq-item.active .faq-icon {
    transform: rotate(45deg);
    color: var(--color-cyan);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s cubic-bezier(0.4, 0, 0.2, 1), opacity 0.4s ease;
    opacity: 0;
}

.faq-answer p {
    padding: 0 20px 24px 20px;
    color: var(--text-secondary);
    line-height: 1.6;
    margin: 0;
    font-size: 0.95rem;
}

.faq-item.active .faq-answer {
    max-height: 500px;
    opacity: 1;
}

/* ==========================================================================
   CONTACT SECTION
   ========================================================================== */
.contact-section {
    position: relative;
    padding: 100px 0 0;
    /* Final status bar is at the bottom */
    min-height: 70vh;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    background: linear-gradient(to top, rgba(0, 0, 0, 1) 0%, rgba(5, 8, 15, 0.4) 100%);
    overflow: hidden;
}

.relative-z {
    position: relative;
    z-index: 2;
}

/* Holographic Background Art */
.contact-holo-bg {
    display: none !important;
}

.holo-comm-node {
    position: relative;
    width: 100%;
    height: 100%;
}

.holo-ring-outer,
.holo-ring-inner {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    border-radius: 50%;
    border: 1px solid var(--color-cyan);
}

.holo-ring-outer {
    width: 400px;
    height: 400px;
    border-style: dashed;
    animation: spin 30s linear infinite;
}

.holo-ring-inner {
    width: 250px;
    height: 250px;
    border: 2px solid rgba(0, 224, 240, 0.3);
    animation: spin-reverse 20s linear infinite;
}

.holo-center-dot {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 10px;
    height: 10px;
    background: var(--color-cyan);
    border-radius: 50%;
    box-shadow: 0 0 20px var(--color-cyan);
    animation: pulseDot 2s infinite;
}

.holo-connection-line {
    position: absolute;
    background: linear-gradient(to right, var(--color-cyan), transparent);
    height: 1px;
}

.line-left {
    top: 50%;
    right: 50%;
    width: 300px;
    transform: translateY(-50%);
}

.line-right {
    top: 50%;
    left: 50%;
    width: 300px;
    transform: translateY(-50%);
    background: linear-gradient(to left, var(--color-cyan), transparent);
}

.line-bottom {
    top: 50%;
    left: 50%;
    width: 300px;
    transform: translateY(-50%) rotate(90deg);
    transform-origin: left;
}

.holo-satellite-dot {
    position: absolute;
    width: 6px;
    height: 6px;
    background: var(--color-cyan);
    border-radius: 50%;
}

.dot-left {
    top: 50%;
    left: 0;
    transform: translate(-50%, -50%);
}

.dot-right {
    top: 50%;
    right: 0;
    transform: translate(50%, -50%);
}

.dot-bottom {
    bottom: 0;
    left: 50%;
    transform: translate(-50%, 50%);
}

/* Grid Layout */
.contact-grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1.2fr 1fr;
    gap: 50px;
    margin-top: 50px;
    margin-bottom: 80px;
}

/* Branding */
.contact-brand .footer-logo {
    font-family: var(--font-display);
    font-size: 2rem;
    color: #fff;
    margin-bottom: 10px;
}

.contact-brand h2 {
    font-family: var(--font-display);
    font-size: 3rem;
    font-weight: 900;
    line-height: 1.1;
    margin-bottom: 12px;
    letter-spacing: 1px;
}

.contact-brand h2 .text-cyan {
    display: block;
    margin-top: 4px;
}

.cyber-tagline {
    font-family: var(--font-mono);
    font-size: 0.8rem;
    color: var(--text-secondary);
    letter-spacing: 2px;
}

/* Contact Columns */
.contact-col-title {
    font-family: var(--font-mono);
    font-size: 0.9rem;
    font-weight: 800;
    color: #fff;
    letter-spacing: 2.5px;
    margin-bottom: 24px;
    text-transform: uppercase;
}

/* Clean List (Quick Links, Contact, Follow Us) */
.clean-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.clean-list li {
    margin-bottom: 20px;
}

.contact-label-small {
    display: block;
    font-family: var(--font-mono);
    font-size: 0.65rem;
    color: var(--text-muted);
    letter-spacing: 2px;
    margin-bottom: 5px;
}

.contact-value-large {
    color: var(--text-secondary);
    font-family: var(--font-heading);
    font-size: 0.95rem;
    line-height: 1.4;
    display: inline-flex;
    align-items: center;
    transition: var(--transition-smooth);
}

.hover-reveal {
    position: relative;
    display: inline-flex;
    align-items: center;
    color: var(--text-secondary);
    transition: var(--transition-smooth);
}

.hover-reveal::after {
    content: '→';
    margin-left: 10px;
    opacity: 0;
    transform: translateX(-10px);
    transition: opacity 0.3s, transform 0.3s;
    color: var(--color-cyan);
    font-family: var(--font-mono);
}

.hover-reveal:hover {
    color: #fff;
    text-shadow: 0 0 10px rgba(0, 224, 240, 0.4);
}

.hover-reveal:hover::after {
    opacity: 1;
    transform: translateX(0);
}

.clean-list a {
    color: var(--text-secondary);
    font-family: var(--font-heading);
    font-size: 0.95rem;
    display: inline-flex;
    align-items: center;
    transition: var(--transition-smooth);
}

.clean-list a:hover {
    color: var(--color-cyan);
    transform: translateX(5px);
}

.quick-link-num {
    font-family: var(--font-mono);
    font-size: 0.7rem;
    color: var(--text-muted);
    transition: color 0.3s;
    margin-right: 10px;
}

.clean-list a:hover .quick-link-num {
    color: var(--color-cyan);
}

/* Footer Divider */
.footer-divider {
    width: 100%;
    height: 1px;
    background: rgba(255, 255, 255, 0.05);
    margin-bottom: 30px;
    position: relative;
    overflow: hidden;
}

.divider-light {
    position: absolute;
    top: 0;
    left: -100px;
    width: 50px;
    height: 1px;
    background: var(--color-cyan);
    box-shadow: 0 0 10px var(--color-cyan);
    animation: lightTravel 6s infinite ease-in-out;
}

@keyframes lightTravel {
    0% {
        left: -100px;
        opacity: 0;
    }

    10% {
        opacity: 1;
    }

    90% {
        opacity: 1;
    }

    100% {
        left: 100%;
        opacity: 0;
    }
}

/* Final Status Bar */
.final-status-bar {
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 20px;
    padding-bottom: 20px;
}

.status-center {
    font-family: var(--font-mono);
    font-size: 0.75rem;
    color: var(--text-muted);
    letter-spacing: 2px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.status-pulse-dot {
    width: 6px;
    height: 6px;
    background: var(--color-cyan);
    border-radius: 50%;
    box-shadow: 0 0 8px var(--color-cyan);
    animation: pulseDot 2s infinite;
}

.copyright {
    font-family: var(--font-sans);
    font-size: 14px;
    font-weight: 500;
    color: rgba(255, 255, 255, 0.85);
    text-align: center;
    line-height: 1.5;
}

/* ==========================================================================
   CHALLENGE CORE UI
   ========================================================================== */
.challenge-core-ui {
    position: relative;
    width: 300px;
    height: 300px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: center;
}

.core-ring {
    position: absolute;
    border-radius: 50%;
    border: 1px solid transparent;
}

.outer-ring {
    width: 250px;
    height: 250px;
    border-top-color: var(--color-cyan);
    border-bottom-color: var(--color-cyan);
    animation: spin 8s linear infinite;
}

.inner-ring {
    width: 200px;
    height: 200px;
    border-left-color: var(--color-orange);
    border-right-color: var(--color-orange);
    animation: spin-reverse 6s linear infinite;
}

.core-node {
    width: 50px;
    height: 50px;
    background: radial-gradient(circle, rgba(0, 224, 240, 0.8) 0%, transparent 70%);
    border-radius: 50%;
    animation: pulse 2s ease-in-out infinite;
    z-index: 2;
}

.core-status {
    position: absolute;
    bottom: -40px;
    width: 100%;
    text-align: center;
    display: flex;
    flex-direction: column;
    gap: 5px;
}

.core-scan-text {
    font-family: var(--font-mono);
    font-size: 0.75rem;
    color: var(--color-orange);
    letter-spacing: 2px;
    opacity: 0;
    animation: scan-text 6s infinite step-end;
}

.core-scan-text.delay-2 {
    animation-delay: 2s;
}

.core-scan-text.delay-3 {
    animation-delay: 4s;
}

.core-scanline {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 2px;
    background: rgba(0, 224, 240, 0.5);
    box-shadow: 0 0 10px rgba(0, 224, 240, 0.8);
    animation: scan-vertical 4s linear infinite;
    z-index: 3;
}

@keyframes spin {
    100% {
        transform: rotate(360deg);
    }
}

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

@keyframes pulse {

    0%,
    100% {
        transform: scale(1);
        opacity: 0.6;
    }

    50% {
        transform: scale(1.5);
        opacity: 1;
    }
}

@keyframes scan-vertical {
    0% {
        top: 0;
        opacity: 0;
    }

    10% {
        opacity: 1;
    }

    90% {
        opacity: 1;
    }

    100% {
        top: 100%;
        opacity: 0;
    }
}

@keyframes scan-text {
    0% {
        opacity: 1;
    }

    33% {
        opacity: 0;
    }

    100% {
        opacity: 0;
    }
}

/* ==========================================================================
   SCROLL REVEALS & 3D HOVER
   ========================================================================== */
section .section-label,
section .section-title,
section .holo-card,
section .podium-card,
section .timeline-node,
section .faq-item,
section .contact-brand,
section .contact-links,
section .contact-comms,
section .contact-network {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

section.is-visible .section-label,
section.is-visible .section-title,
section.is-visible .holo-card,
section.is-visible .podium-card,
section.is-visible .timeline-node,
section.is-visible .faq-item,
section.is-visible .contact-brand,
section.is-visible .contact-links,
section.is-visible .contact-comms,
section.is-visible .contact-network {
    opacity: 1;
    transform: translateY(0);
}

section.is-visible .holo-card:nth-child(1) {
    transition-delay: 0.1s;
}

section.is-visible .holo-card:nth-child(2) {
    transition-delay: 0.2s;
}

section.is-visible .holo-card:nth-child(3) {
    transition-delay: 0.3s;
}

section.is-visible .holo-card:nth-child(4) {
    transition-delay: 0.4s;
}

section.is-visible .timeline-node:nth-child(1) {
    transition-delay: 0.1s;
}

section.is-visible .timeline-node:nth-child(2) {
    transition-delay: 0.2s;
}

section.is-visible .timeline-node:nth-child(3) {
    transition-delay: 0.3s;
}

section.is-visible .timeline-node:nth-child(4) {
    transition-delay: 0.4s;
}

section.is-visible .timeline-node:nth-child(5) {
    transition-delay: 0.5s;
}

section.is-visible .contact-brand {
    transition-delay: 0.1s;
}

section.is-visible .contact-links {
    transition-delay: 0.2s;
}

section.is-visible .contact-comms {
    transition-delay: 0.3s;
}

section.is-visible .contact-network {
    transition-delay: 0.4s;
}

/* Refined 3D Hover (Reduced rotation) */
[data-tilt] {
    transition: transform 0.3s ease-out;
}

[data-tilt]:hover {
    transform: perspective(1000px) rotateX(2deg) rotateY(-2deg) scale3d(1.02, 1.02, 1.02) !important;
}

/* ==========================================================================
   RESPONSIVE DESIGN
   ========================================================================== */
@media (max-width: 1024px) {
    .container {
        padding: 0 24px;
    }

    .nav-container {
        justify-content: space-between;
        gap: 10px;
        padding: 0 16px;
    }

    .nav-links {
        gap: 8px;
        padding: 6px 10px;
    }

    .nav-item {
        font-size: 0.78rem;
    }

    .nav-register {
        display: none;
    }

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

    .holo-panel {
        display: none;
    }

    /* Hide floating panels on smaller screens */

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

.mobile-only {
    display: none;
}

@media (max-width: 768px) {
    .mobile-only {
        display: block;
    }

    .container {
        padding: 0 20px;
    }

    .nav-links {
        position: fixed;
        top: 0;
        right: 0;
        transform: translateX(100%);
        width: 100%;
        height: 100vh;
        background: var(--bg-main);
        flex-direction: column;
        justify-content: center;
        border-radius: 0;
        border: none;
        transition: transform 0.4s ease, visibility 0.4s ease;
        visibility: hidden;
        pointer-events: none;
        z-index: 999;
    }

    .nav-links.active {
        transform: translateX(0);
        visibility: visible;
        pointer-events: auto;
    }

    .mobile-menu-btn {
        display: block;
    }

    .mobile-menu-btn.active span:nth-child(1) {
        transform: translateY(8px) rotate(45deg);
    }

    .mobile-menu-btn.active span:nth-child(2) {
        opacity: 0;
    }

    .mobile-menu-btn.active span:nth-child(3) {
        transform: translateY(-8px) rotate(-45deg);
    }

    .hero-title .title-line {
        font-size: 3rem;
    }

    .hero-title[style*="font-size"] {
        font-size: clamp(2rem, 8vw, 3.2rem) !important;
        line-height: 1.15;
    }

    .title-2k26 {
        font-size: clamp(1.2rem, 5.5vw, 2.2rem) !important;
        letter-spacing: 3px !important;
        margin-top: 4px !important;
    }

    .bg-holo-text {
        font-size: 6rem;
    }

    .prize-tier-row {
        flex-direction: column;
    }

    .timeline-nodes {
        flex-direction: column;
        align-items: flex-start;
        gap: 30px;
    }

    .timeline-line {
        width: 2px;
        height: 100%;
        top: 0;
        left: 7px;
    }

    .timeline-progress {
        width: 100%;
        height: 0%;
        transition: height 0.5s ease;
    }

    .timeline-node {
        flex-direction: row;
        width: 100%;
        text-align: left;
        gap: 20px;
    }

    .node-point {
        margin-bottom: 0;
    }

    .module-top-hud,
    .module-bottom-hud {
        flex-direction: column;
        gap: 10px;
        align-items: center;
        text-align: center;
    }

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

    .contact-brand {
        text-align: center;
    }

    .final-status-bar {
        flex-direction: column;
        gap: 15px;
        text-align: center;
        padding: 20px;
    }

    .status-left,
    .status-right {
        padding: 0;
        justify-content: center;
    }

    /* Mobile Nav Items & Dropdown Adaptation */
    .nav-links .nav-item {
        font-size: 1.05rem;
        min-height: 48px;
        padding: 10px 16px;
        display: flex;
        align-items: center;
        justify-content: center;
    }

    .dropdown-wrapper {
        width: 100%;
        display: flex;
        flex-direction: column;
        align-items: center;
    }

    .dropdown-toggle {
        font-size: 1.05rem;
        min-height: 48px;
        padding: 10px 16px;
        justify-content: center;
        width: auto;
    }

    .cyber-dropdown {
        position: static;
        width: 90%;
        max-width: 280px;
        margin: 6px auto;
        border-radius: 6px;
        box-shadow: 0 4px 16px rgba(0, 0, 0, 0.4);
        display: none;
        opacity: 0;
        transform: none;
    }

    .cyber-dropdown.show {
        display: flex;
        opacity: 1;
        visibility: visible;
    }

    .cyber-dropdown a {
        min-height: 44px;
        display: flex;
        align-items: center;
        justify-content: center;
        text-align: center;
        padding: 12px 16px;
        font-size: 0.95rem;
    }

    /* Mobile Section Titles Scaling */
    .section-title {
        font-size: clamp(1.35rem, 6.2vw, 2.2rem) !important;
        letter-spacing: 1px !important;
        margin-bottom: 24px;
        overflow-wrap: break-word;
    }

    /* Event Directory Toolbar on Mobile */
    .event-toolbar {
        flex-direction: column !important;
        align-items: stretch !important;
        gap: 12px !important;
    }

    .event-search-wrapper {
        min-width: 0 !important;
        width: 100% !important;
    }

    .filter-dropdown-wrapper {
        width: 100%;
    }

    #filter-dropdown-btn {
        width: 100%;
        justify-content: center;
        min-height: 44px;
    }

    .filter-dropdown-menu {
        left: 0 !important;
        right: 0 !important;
        width: 100% !important;
    }

    .hologram-cards-grid {
        grid-template-columns: 1fr;
        gap: 16px;
        margin-top: 30px;
    }

    .event-card-modern {
        padding: 20px 16px;
    }

    /* Contact Holographic Background Scaling */
    .contact-holo-bg {
    display: none !important;
}

    .holo-ring-outer {
        width: 250px;
        height: 250px;
    }

    .holo-ring-inner {
        width: 160px;
        height: 160px;
    }

    .line-left,
    .line-right {
        width: 120px;
    }
}

/* -------------------------------------------
   DROPDOWN MENU 
   ------------------------------------------- */
.dropdown-wrapper {
    cursor: pointer;
}

.dropdown-toggle {
    background: transparent;
    border: none;
    color: var(--color-white);
    font-family: var(--font-primary);
    font-size: 0.9rem;
    font-weight: 500;
    letter-spacing: 2px;
    cursor: pointer;
    text-transform: uppercase;
    display: flex;
    align-items: center;
    gap: 8px;
    transition: color 0.3s ease;
}

.dropdown-toggle:hover {
    color: var(--color-cyan);
}

.cyber-dropdown {
    position: absolute;
    top: 100%;
    left: 0;
    min-width: 200px;
    background: rgba(5, 8, 15, 0.95);
    border: 1px solid rgba(0, 224, 240, 0.3);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    display: flex;
    flex-direction: column;
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: all 0.3s ease;
    z-index: 100;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5), inset 0 0 10px rgba(0, 224, 240, 0.1);
    padding: 10px 0;
}

.dropdown-wrapper:hover .cyber-dropdown,
.cyber-dropdown.show {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.cyber-dropdown a {
    color: var(--color-text-dim);
    padding: 12px 20px;
    text-decoration: none;
    font-family: var(--font-secondary);
    font-weight: 500;
    font-size: 0.9rem;
    letter-spacing: 1px;
    transition: all 0.2s ease;
    border-left: 2px solid transparent;
}

.cyber-dropdown a:hover {
    color: var(--color-white);
    background: rgba(0, 224, 240, 0.1);
    border-left: 2px solid var(--color-cyan);
}

/* Event Directory Filters */
.event-filters-container {
    margin-top: 40px;
    display: flex;
    flex-direction: column;
    gap: 24px;
    align-items: center;
}

.event-search-wrapper {
    position: relative;
    width: 100%;
    max-width: 400px;
    display: flex;
    align-items: center;
}

.search-icon {
    position: absolute;
    left: 16px;
    color: var(--color-text-dim);
    pointer-events: none;
}

.event-search-input {
    width: 100%;
    padding: 12px 40px 12px 44px;
    background: rgba(10, 14, 23, 0.6);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: var(--color-text);
    font-family: var(--font-secondary);
    font-size: 0.95rem;
    border-radius: 6px;
    transition: all 0.3s ease;
    outline: none;
}

.event-search-input:focus {
    border-color: var(--color-cyan);
    box-shadow: 0 0 10px rgba(0, 224, 240, 0.1);
    background: rgba(10, 14, 23, 0.8);
}

.event-search-input::placeholder {
    color: var(--color-text-dim);
}

.search-clear-btn {
    position: absolute;
    right: 12px;
    background: none;
    border: none;
    color: var(--color-text-dim);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 4px;
    border-radius: 50%;
    transition: color 0.3s;
}

.search-clear-btn:hover {
    color: var(--color-text);
}

.filter-chips {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    justify-content: center;
}

.filter-chip {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: var(--color-text-dim);
    padding: 6px 16px;
    border-radius: 20px;
    cursor: pointer;
    transition: all 0.2s ease;
    font-family: var(--font-secondary);
    font-size: 0.85rem;
    outline: none;
}

.filter-chip:hover {
    background: rgba(255, 255, 255, 0.08);
    color: var(--color-text);
    border-color: rgba(255, 255, 255, 0.2);
}

.filter-chip.active {
    background: rgba(0, 224, 240, 0.1);
    color: var(--color-text);
    border-color: var(--color-cyan);
}


/* Event Cards Redesign */
.event-card-modern {
    background: rgba(10, 16, 28, 0.52);
    border: 1px solid rgba(0, 224, 240, 0.16);
    border-radius: 8px;
    padding: 20px 18px;
    display: flex;
    flex-direction: column;
    gap: 12px;
    transition: all 0.25s cubic-bezier(0.2, 0.8, 0.2, 1);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    width: 100%;
    height: 100%;
    text-decoration: none;
    color: inherit;
    cursor: pointer;
    box-sizing: border-box;
    position: relative;
}

.event-card-modern:hover,
.event-card-modern:focus-visible {
    border-color: rgba(0, 224, 240, 0.55);
    background: rgba(10, 18, 34, 0.75);
    transform: translateY(-3px);
    box-shadow: 0 8px 24px rgba(0, 224, 240, 0.12), inset 0 0 14px rgba(0, 224, 240, 0.05);
    outline: none;
}

.event-card-modern:focus-visible {
    box-shadow: 0 0 0 2px var(--color-cyan, #00E0F0), 0 8px 24px rgba(0, 224, 240, 0.15);
}

.event-card-header {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.event-card-parent {
    font-family: var(--font-secondary);
    font-size: 0.74rem;
    color: var(--color-cyan);
    letter-spacing: 2px;
}

.event-card-title {
    font-family: var(--font-heading);
    font-size: 1.28rem;
    line-height: 1.3;
    color: #ffffff;
    margin: 0;
}

.event-card-body {
    display: flex;
    flex-direction: column;
    gap: 8px;
    flex: 1 1 auto;
}

.event-card-desc {
    font-family: var(--font-body);
    font-size: 0.92rem;
    color: var(--color-text-dim);
    line-height: 1.5;
    margin: 0;
}

.event-card-bottom-info {
    margin-top: auto;
    display: flex;
    flex-direction: column;
    gap: 10px;
    padding-top: 12px;
}

.event-card-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
}

.event-card-tag {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    padding: 3px 8px;
    border-radius: 4px;
    font-size: 0.72rem;
    font-family: var(--font-secondary);
    color: var(--color-text-dim);
    letter-spacing: 0.5px;
}

.event-card-meta {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
    flex-wrap: wrap;
}

.event-card-footer {
    margin-top: 10px;
    padding-top: 10px;
    border-top: 1px solid rgba(0, 224, 240, 0.12);
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.event-card-link {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-family: var(--font-secondary);
    font-size: 0.88rem;
    font-weight: 700;
    letter-spacing: 1.5px;
    color: var(--color-cyan);
    text-transform: uppercase;
    transition: color 0.2s ease;
    min-height: 36px;
    padding: 4px 0;
}

.event-card-link .arrow {
    display: inline-block;
    transition: transform 0.25s cubic-bezier(0.2, 0.8, 0.2, 1);
}

.event-card-modern:hover .event-card-link .arrow,
.event-card-modern:focus-visible .event-card-link .arrow {
    transform: translateX(5px);
}

/* Event Directory Filter Options */
.filter-dropdown-menu {
    box-sizing: border-box;
}

.filter-option {
    display: block;
    width: 100%;
    min-height: 44px;
    padding: 12px 16px;
    background: transparent;
    border: none;
    border-left: 2px solid transparent;
    color: var(--color-text-dim);
    font-family: var(--font-secondary);
    font-size: 0.88rem;
    letter-spacing: 1px;
    text-align: left;
    cursor: pointer;
    transition: all 0.2s ease;
    box-sizing: border-box;
}

.filter-option:hover,
.filter-option.active {
    color: #fff;
    background: rgba(0, 224, 240, 0.12);
    border-left: 2px solid var(--color-cyan);
}

.event-card-link:hover {
    color: white;
}

.event-card-link:hover .arrow {
    transform: translateX(4px);
}



/* Filter Dropdown Styling */
.filter-option {
    display: block;
    width: 100%;
    text-align: left;
    padding: 10px 15px;
    background: transparent;
    border: none;
    color: var(--color-text-main);
    font-family: var(--font-body);
    font-size: 0.85rem;
    cursor: pointer;
    border-radius: 4px;
    transition: all 0.2s ease;
}

.filter-option:hover {
    background: rgba(255, 255, 255, 0.05);
}

.filter-option.active {
    color: var(--color-cyan);
    background: rgba(0, 224, 240, 0.1);
    font-weight: bold;
}


/* ==========================================================================
   DEVELOPER CREDITS
   ========================================================================== */
#developer-credits {
    font-size: 11px;
    font-family: var(--font-body), sans-serif;
    color: rgba(255, 255, 255, 0.4);
    pointer-events: none;
    transition: color 0.3s ease;
    cursor: default;
    z-index: 50;
}

#developer-credits .credits-names {
    color: var(--color-cyan);
    text-shadow: 0 0 6px rgba(0, 224, 240, 0.35);
    pointer-events: auto;
    transition: color 0.3s ease, text-shadow 0.3s ease;
}

#developer-credits:hover .credits-names {
    color: var(--color-cyan);
    text-shadow: 0 0 8px rgba(0, 224, 240, 0.55);
}

/* Mode A: Fixed at bottom-right of viewport */
#developer-credits.credits-fixed {
    position: fixed;
    bottom: 16px;
    right: 16px;
}

/* Mode B: Normal flow at bottom-right of footer */
#developer-credits.credits-footer {
    width: 100%;
    text-align: right;
    margin-top: -10px;
}

@media (max-width: 768px) {
    #developer-credits {
        font-size: 9px;
        opacity: 0.7;
    }

    #developer-credits.credits-fixed {
        bottom: 8px;
        right: 8px;
        background: rgba(2, 6, 15, 0.75);
        padding: 2px 8px;
        border-radius: 4px;
        border: 1px solid rgba(0, 224, 240, 0.15);
        backdrop-filter: blur(4px);
        -webkit-backdrop-filter: blur(4px);
        max-width: calc(100vw - 16px);
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
    }

    #developer-credits.credits-footer {
        text-align: center;
        margin-top: 5px;
    }
}

/* ==========================================================================
   EVENT DETAIL PAGES & DIRECTORY ENHANCEMENTS (TECHYON 2K26)
   ========================================================================== */



/* Event Detail Hero */
.event-detail-hero {
    position: relative;
    padding: 60px 0 75px;
    z-index: 10;
    min-height: 480px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.event-detail-hero .hero-content {
    position: relative;
    z-index: 10;
    max-width: 860px;
    margin: 0 auto;
}

.event-detail-hero .hero-title {
    font-size: clamp(2.4rem, 5.5vw, 4.2rem);
    letter-spacing: 4px;
    margin: 10px 0 16px;
    font-weight: 900;
    line-height: 1.15;
}

.event-detail-hero .hero-tagline {
    max-width: 640px;
    margin: 0 auto;
    font-size: 1.05rem;
    line-height: 1.65;
    color: rgba(255, 255, 255, 0.72);
    font-family: var(--font-body, 'Inter', sans-serif);
}

.event-detail-hero .holo-top-left {
    top: 30px;
    left: 24px;
    z-index: 12;
}

.event-detail-hero .holo-bottom-right {
    bottom: 25px;
    right: 24px;
    z-index: 12;
}

@media (max-width: 992px) {
    .event-detail-hero {
        padding: 40px 0 50px;
        min-height: auto;
    }

    .event-detail-hero .holo-top-left,
    .event-detail-hero .holo-bottom-right {
        position: static;
        margin: 14px auto;
        display: inline-block;
        max-width: 90%;
        text-align: center;
    }
}

.parent-festival-badge {
    font-family: var(--font-secondary, 'Rajdhani', sans-serif);
    font-size: 0.8rem;
    letter-spacing: 3px;
    color: var(--color-cyan, #00E0F0);
    text-transform: uppercase;
    margin-bottom: 12px;
    display: inline-block;
}

.event-dept-badges {
    display: flex;
    gap: 8px;
    justify-content: center;
    flex-wrap: wrap;
}

.event-dept-pill {
    display: inline-flex;
    align-items: center;
    padding: 6px 14px;
    border-radius: 4px;
    font-family: var(--font-secondary, 'Rajdhani', sans-serif);
    font-size: 0.75rem;
    letter-spacing: 2px;
    background: rgba(0, 224, 240, 0.08);
    border: 1px solid rgba(0, 224, 240, 0.25);
    color: var(--color-cyan, #00E0F0);
    text-transform: uppercase;
}

.event-dept-pill.dept-comp {
    background: rgba(123, 0, 255, 0.08);
    border-color: rgba(123, 0, 255, 0.3);
    color: #c48eff;
}

.event-dept-pill.dept-mech {
    background: rgba(255, 85, 0, 0.08);
    border-color: rgba(255, 85, 0, 0.3);
    color: #ff944d;
}

.event-dept-pill.dept-pending {
    background: rgba(255, 255, 255, 0.05);
    border-color: rgba(255, 255, 255, 0.15);
    color: rgba(255, 255, 255, 0.6);
}

/* Status Badges */
.event-status-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 4px 10px;
    border-radius: 4px;
    font-family: var(--font-secondary, 'Rajdhani', sans-serif);
    font-size: 0.75rem;
    letter-spacing: 1.5px;
    text-transform: uppercase;
}

.event-status-badge.status-open {
    background: rgba(0, 224, 240, 0.12);
    border: 1px solid rgba(0, 224, 240, 0.4);
    color: var(--color-cyan, #00E0F0);
}

.event-status-badge.status-soon {
    background: rgba(123, 0, 255, 0.12);
    border: 1px solid rgba(123, 0, 255, 0.4);
    color: #c48eff;
}

.event-status-badge.status-closed {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.15);
    color: rgba(255, 255, 255, 0.5);
}

.event-status-badge.status-pending {
    background: rgba(0, 224, 240, 0.05);
    border: 1px solid rgba(0, 224, 240, 0.2);
    color: rgba(0, 224, 240, 0.7);
}



/* Schedule Pill Badges */
.schedule-pill {
    display: inline-flex;
    align-items: center;
    padding: 3px 8px;
    border-radius: 3px;
    font-family: var(--font-secondary, 'Rajdhani', sans-serif);
    font-size: 0.68rem;
    letter-spacing: 1.5px;
    font-weight: 700;
    vertical-align: middle;
}

.schedule-pill.pill-continuous {
    background: rgba(0, 224, 240, 0.15);
    border: 1px solid rgba(0, 224, 240, 0.45);
    color: var(--color-cyan, #00E0F0);
}

.schedule-pill.pill-multi {
    background: rgba(123, 0, 255, 0.15);
    border: 1px solid rgba(123, 0, 255, 0.45);
    color: #c48eff;
}

.schedule-pill.pill-single {
    background: rgba(0, 255, 170, 0.12);
    border: 1px solid rgba(0, 255, 170, 0.35);
    color: #00ffaa;
}

/* Footer bottom clearance so developer attribution never overlaps links */
.contact-section,
footer,
.footer {
    padding-bottom: 60px !important;
}

/* Event Content Blocks */
.event-section-block {
    margin-bottom: 35px;
}

.event-block-title {
    font-family: var(--font-secondary, 'Rajdhani', sans-serif);
    font-size: 1rem;
    letter-spacing: 3px;
    color: var(--color-cyan, #00E0F0);
    text-transform: uppercase;
    margin-bottom: 15px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.event-block-title::after {
    content: '';
    flex: 1;
    height: 1px;
    background: rgba(0, 224, 240, 0.15);
}

.event-prose {
    font-family: var(--font-body, 'Inter', sans-serif);
    font-size: 1.05rem;
    line-height: 1.7;
    color: rgba(255, 255, 255, 0.85);
    background: rgba(10, 14, 23, 0.4);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 8px;
    padding: 24px;
    backdrop-filter: blur(8px);
}


/* Event Card Meta in Directory */
.event-card-meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 10px;
    margin-top: 10px;
    padding-top: 10px;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    font-family: var(--font-secondary, 'Rajdhani', sans-serif);
    font-size: 0.78rem;
}

.meta-date,
.meta-time {
    color: rgba(255, 255, 255, 0.7);
    letter-spacing: 1px;
}

.meta-prize {
    color: var(--color-gold, #ffaa00);
    letter-spacing: 1px;
    font-weight: 600;
}

/* ==========================================================================
   TECHYON 2K26 — CINEMATIC EVENT PAGES SYSTEM (V3.0)
   Pixel-perfect implementation of the Cyberpunk Reference Design:
   Dual-tone magenta/cyan glowing typography, cyber HUD corner frames,
   angled department badges, animated wing taglines, and 5-card specs HUD.
   ========================================================================== */

/* 1. Event Detail Root & Breadcrumbs (Clearing Fixed Navbar Completely) */
#event-detail-root,
.event-detail-root {
    position: relative;
    padding-top: calc(var(--header-height, 100px) + 20px);
}

.cinematic-breadcrumb-wrapper {
    position: relative;
    z-index: 25;
    padding: 0 0 16px;
}

.cinematic-breadcrumb {
    display: flex;
    align-items: center;
    gap: 8px;
    font-family: var(--font-mono, monospace);
    font-size: 0.72rem;
    letter-spacing: 1.8px;
    text-transform: uppercase;
    font-weight: 500;
    opacity: 0.75;
}

.cinematic-breadcrumb .crumb-link {
    color: var(--color-cyan, #00E0F0);
    text-decoration: none;
    transition: all 0.2s ease;
    opacity: 0.75;
}

.cinematic-breadcrumb .crumb-link:hover {
    opacity: 1;
    text-shadow: 0 0 8px rgba(0, 224, 240, 0.6);
}

.cinematic-breadcrumb .crumb-sep {
    color: rgba(255, 255, 255, 0.25);
    margin: 0 4px;
}

.cinematic-breadcrumb .crumb-current {
    color: rgba(255, 255, 255, 0.65);
    font-weight: 500;
    letter-spacing: 1.5px;
}

/* 2. Cinematic Hero Section */
.cinematic-hero-section {
    position: relative;
    min-height: 520px;
    padding: 10px 0 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10;
}

.cinematic-hero-inner {
    position: relative;
    z-index: 12;
    max-width: 900px;
    margin: 0 auto;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
}

/* 3. Cyber HUD Frames (Top-Left & Top-Right) */
.cinematic-hud-frame {
    position: absolute;
    background: rgba(4, 11, 24, 0.85);
    border: 1px solid rgba(0, 224, 240, 0.35);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    border-radius: 6px;
    padding: 14px 18px;
    z-index: 15;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.7), inset 0 0 16px rgba(0, 224, 240, 0.05);
    will-change: transform;
    transition: box-shadow 0.3s ease, border-color 0.3s ease;
}

.cinematic-hud-frame:hover {
    border-color: rgba(0, 224, 240, 0.6);
    box-shadow: 0 10px 36px rgba(0, 224, 240, 0.15), inset 0 0 20px rgba(0, 224, 240, 0.08);
}

.hud-top-left {
    top: 10px;
    left: 40px;
    min-width: 220px;
    max-width: 300px;
    text-align: left;
}

.hud-top-right {
    top: 10px;
    right: 40px;
    min-width: 260px;
    max-width: 340px;
    text-align: left;
}

/* Corner Brackets for HUD Frames */
.hud-corner-bracket {
    position: absolute;
    width: 8px;
    height: 8px;
    border: 2px solid var(--color-cyan, #00E0F0);
    pointer-events: none;
    box-shadow: 0 0 6px rgba(0, 224, 240, 0.6);
}

.hud-corner-bracket.br-tl {
    top: -1px;
    left: -1px;
    border-right: none;
    border-bottom: none;
}

.hud-corner-bracket.br-tr {
    top: -1px;
    right: -1px;
    border-left: none;
    border-bottom: none;
}

.hud-corner-bracket.br-bl {
    bottom: -1px;
    left: -1px;
    border-right: none;
    border-top: none;
}

.hud-corner-bracket.br-br {
    bottom: -1px;
    right: -1px;
    border-left: none;
    border-top: none;
}

.hud-label-tiny {
    font-family: var(--font-secondary, 'Rajdhani', sans-serif);
    font-size: 0.74rem;
    letter-spacing: 2.5px;
    color: rgba(0, 224, 240, 0.85);
    text-transform: uppercase;
    font-weight: 700;
    margin-bottom: 6px;
}

/* Status Pill in Top-Left HUD */
.hud-status-pill {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-family: var(--font-display, 'Orbitron', sans-serif);
    font-size: 0.95rem;
    font-weight: 700;
    letter-spacing: 1.5px;
    text-transform: uppercase;
}

.hud-status-pill.status-open .hud-status-text {
    color: #00E0F0;
    text-shadow: 0 0 12px rgba(0, 224, 240, 0.7);
}

.hud-status-pill.status-open .hud-status-icon {
    color: #00E0F0;
    animation: statusPulse 1.8s infinite ease-in-out;
}

.hud-status-pill.status-soon .hud-status-text {
    color: #ffaa00;
    text-shadow: 0 0 12px rgba(255, 170, 0, 0.6);
}

.hud-status-pill.status-soon .hud-status-icon {
    color: #ffaa00;
}

.hud-status-pill.status-closed .hud-status-text {
    color: rgba(255, 255, 255, 0.5);
}

.hud-status-pill.status-pending .hud-status-text {
    color: rgba(0, 224, 240, 0.75);
}

.hud-status-sub {
    font-family: var(--font-body, 'Inter', sans-serif);
    font-size: 0.8rem;
    color: rgba(225, 240, 255, 0.68);
    margin-top: 5px;
    line-height: 1.35;
}

@keyframes statusPulse {

    0%,
    100% {
        opacity: 1;
        transform: scale(1);
    }

    50% {
        opacity: 0.5;
        transform: scale(1.2);
    }
}

/* Right HUD Layout */
.hud-right-layout {
    display: flex;
    align-items: center;
    gap: 12px;
}

.hud-dept-icon-box {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 42px;
    height: 42px;
    border-radius: 6px;
    background: rgba(0, 224, 240, 0.08);
    border: 1px solid rgba(0, 224, 240, 0.35);
    box-shadow: 0 0 12px rgba(0, 224, 240, 0.15);
    flex-shrink: 0;
}

.hud-dept-title {
    font-family: var(--font-display, 'Orbitron', sans-serif);
    font-size: 1rem;
    font-weight: 700;
    color: #ffffff;
    letter-spacing: 1.5px;
    margin-bottom: 2px;
}

.hud-dept-tagline {
    font-family: var(--font-mono, monospace);
    font-size: 0.68rem;
    color: var(--color-cyan, #00E0F0);
    letter-spacing: 1.2px;
    opacity: 0.9;
    text-transform: uppercase;
}

/* 4. Main Event Title with Dual-Tone Glow */
.cinematic-title-box {
    position: relative;
    display: inline-block;
    max-width: 680px;
    margin: 8px auto 16px;
}

.cinematic-hero-title {
    font-family: var(--font-display, 'Orbitron', sans-serif);
    font-size: clamp(2.0rem, 4.4vw, 4.2rem);
    font-weight: 900;
    letter-spacing: 2px;
    line-height: 1.15;
    text-transform: uppercase;
    margin: 0 auto;
    max-width: 100%;
    word-break: break-word;
    background: linear-gradient(180deg, #ffffff 0%, #e6f9ff 50%, #b8f0ff 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    filter: drop-shadow(0 0 14px rgba(0, 224, 240, 0.45));
    animation: titleGlitchSoft 6s infinite ease-in-out;
}

@keyframes titleGlitchSoft {

    0%,
    94%,
    100% {
        transform: translate(0, 0);
    }

    95% {
        transform: translate(-2px, 1px);
    }

    97% {
        transform: translate(2px, -1px);
    }
}

/* 5. Angled Cyber Department Badge */
.hero-cyber-dept-pill {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 6px 20px;
    border-radius: 4px;
    border: 1px solid rgba(0, 224, 240, 0.6);
    background: rgba(0, 224, 240, 0.08);
    color: var(--color-cyan, #00E0F0);
    font-family: var(--font-secondary, 'Rajdhani', sans-serif);
    font-size: 0.95rem;
    font-weight: 700;
    letter-spacing: 2.5px;
    text-transform: uppercase;
    margin-bottom: 14px;
    box-shadow: 0 0 20px rgba(0, 224, 240, 0.22);
}

.hero-cyber-dept-pill .cyber-bracket {
    color: rgba(0, 224, 240, 0.5);
    font-weight: 400;
}

/* 6. Refined Festival Tagline with Animated Wings */
.hero-cybernova-tagline {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 16px;
    margin-bottom: 24px;
}

.hero-cybernova-tagline .tagline-text {
    font-family: var(--font-mono, monospace);
    font-size: 0.82rem;
    letter-spacing: 3.5px;
    color: var(--color-cyan, #00E0F0);
    text-transform: uppercase;
    font-weight: 600;
    text-shadow: 0 0 10px rgba(0, 224, 240, 0.6);
    animation: taglineGlowPulse 4s infinite ease-in-out;
}

@keyframes taglineGlowPulse {

    0%,
    100% {
        color: rgba(0, 224, 240, 0.85);
        text-shadow: 0 0 10px rgba(0, 224, 240, 0.5);
    }

    50% {
        color: #ffffff;
        text-shadow: 0 0 18px rgba(0, 224, 240, 0.9), 0 0 30px rgba(0, 224, 240, 0.45);
    }
}

.hero-cybernova-tagline .tagline-wing {
    height: 1px;
    width: 48px;
    flex-shrink: 0;
    animation: wingPulse 4s infinite ease-in-out;
}

@keyframes wingPulse {

    0%,
    100% {
        opacity: 0.45;
        transform: scaleX(0.8);
    }

    50% {
        opacity: 1;
        transform: scaleX(1.15);
    }
}

.hero-cybernova-tagline .tagline-wing.left {
    background: linear-gradient(90deg, transparent, #00E0F0);
    transform-origin: right center;
}

.hero-cybernova-tagline .tagline-wing.right {
    background: linear-gradient(90deg, #00E0F0, transparent);
    transform-origin: left center;
}

@media (max-width: 768px) {
    .hero-cybernova-tagline {
        gap: 12px;
        margin-bottom: 20px;
    }

    .hero-cybernova-tagline .tagline-text {
        font-size: 0.74rem;
        letter-spacing: 2px;
    }

    .hero-cybernova-tagline .tagline-wing {
        width: 32px;
    }
}

@media (max-width: 600px) {
    .cinematic-specs-grid {
        grid-template-columns: 1fr;
        gap: 12px;
    }
}

@media (max-width: 480px) {
    .hero-cybernova-tagline {
        gap: 6px;
        margin-bottom: 16px;
        width: 100%;
        max-width: 100%;
        padding: 0 4px;
        box-sizing: border-box;
    }

    .hero-cybernova-tagline .tagline-text {
        font-size: clamp(0.50rem, 2.3vw, 0.58rem);
        letter-spacing: 1px;
        white-space: nowrap;
        text-align: center;
    }

    .hero-cybernova-tagline .tagline-wing {
        width: 16px;
        flex-shrink: 1;
    }
}

@media (prefers-reduced-motion: reduce) {

    .hero-cybernova-tagline .tagline-text,
    .hero-cybernova-tagline .tagline-wing {
        animation: none;
    }
}

/* 7. Hero Short Description */
.hero-cinematic-desc {
    max-width: 680px;
    margin: 0 auto 30px;
    font-family: var(--font-body, 'Inter', sans-serif);
    font-size: 1.05rem;
    line-height: 1.68;
    color: rgba(225, 240, 255, 0.85);
    text-align: center;
}

/* 8. Hero Cinematic Actions */
.hero-cinematic-actions {
    display: flex;
    gap: 16px;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    margin-bottom: 15px;
    z-index: 15;
    position: relative;
}

/* Button Launch Icons */
.btn-launch-icon {
    flex-shrink: 0;
    transition: transform 0.25s ease;
}

.btn-cinematic-primary:hover .btn-launch-icon {
    transform: translate(2px, -2px);
}

/* Primary Button (REGISTER NOW) */
.btn-cinematic-primary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    background: linear-gradient(135deg, #00f2fe 0%, #4facfe 100%) !important;
    color: #020b18 !important;
    font-family: var(--font-secondary, 'Rajdhani', sans-serif);
    font-size: 1rem;
    font-weight: 800;
    letter-spacing: 2px;
    text-transform: uppercase;
    text-decoration: none;
    padding: 14px 34px;
    min-height: 50px;
    border-radius: 8px;
    border: 1px solid rgba(0, 242, 254, 0.95) !important;
    box-shadow: 0 4px 28px rgba(0, 224, 240, 0.55), inset 0 1px 0 rgba(255, 255, 255, 0.7);
    position: relative;
    overflow: hidden;
    cursor: pointer;
    transition: all 0.25s cubic-bezier(0.2, 0.8, 0.2, 1);
}

.btn-cinematic-primary:hover {
    background: linear-gradient(135deg, #33f6ff 0%, #60b6ff 100%) !important;
    box-shadow: 0 6px 36px rgba(0, 224, 240, 0.8), inset 0 1px 0 rgba(255, 255, 255, 0.9);
    transform: translateY(-2px);
    color: #010712 !important;
}

.btn-cinematic-primary:active {
    transform: translateY(0px) scale(0.98);
}

/* Secondary Button (ALL EVENTS / BACK TO DIRECTORY) */
.btn-cinematic-secondary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    background: rgba(6, 15, 30, 0.85) !important;
    color: var(--color-cyan, #00E0F0) !important;
    font-family: var(--font-secondary, 'Rajdhani', sans-serif);
    font-size: 0.95rem;
    font-weight: 700;
    letter-spacing: 2px;
    text-transform: uppercase;
    text-decoration: none;
    padding: 14px 30px;
    min-height: 50px;
    border-radius: 8px;
    border: 1px solid rgba(0, 224, 240, 0.5) !important;
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    cursor: pointer;
    transition: all 0.25s cubic-bezier(0.2, 0.8, 0.2, 1);
    box-shadow: 0 4px 18px rgba(0, 0, 0, 0.6);
}

.btn-cinematic-secondary:hover {
    background: rgba(0, 224, 240, 0.15) !important;
    border-color: #00E0F0 !important;
    color: #ffffff !important;
    transform: translateY(-2px);
    box-shadow: 0 6px 26px rgba(0, 224, 240, 0.35);
}

.btn-cinematic-secondary:active {
    transform: translateY(0px) scale(0.98);
}

/* Disabled Status Buttons */
.btn-cinematic-soon,
.btn-cinematic-pending,
.btn-cinematic-closed {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    font-family: var(--font-secondary, 'Rajdhani', sans-serif);
    font-size: 0.92rem;
    font-weight: 700;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    padding: 14px 28px;
    min-height: 50px;
    border-radius: 8px;
    cursor: not-allowed !important;
    pointer-events: none !important;
    user-select: none;
}

.btn-cinematic-soon {
    background: rgba(255, 170, 0, 0.12) !important;
    border: 1px dashed rgba(255, 170, 0, 0.65) !important;
    color: #ffaa00 !important;
    box-shadow: 0 0 18px rgba(255, 170, 0, 0.2);
}

.btn-cinematic-pending {
    background: rgba(0, 224, 240, 0.08) !important;
    border: 1px dashed rgba(0, 224, 240, 0.45) !important;
    color: rgba(0, 224, 240, 0.85) !important;
}

.btn-cinematic-closed {
    background: rgba(255, 255, 255, 0.04) !important;
    border: 1px dashed rgba(255, 255, 255, 0.25) !important;
    color: rgba(255, 255, 255, 0.5) !important;
}

/* Specifications HUD Grid — Compact Futuristic Information Dashboard */
.cinematic-specs-section {
    padding: 15px 0 32px;
}

.cinematic-specs-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 15px;
    /* desktop grid gap: 14-16px */
    margin-bottom: 30px;
}

@media (max-width: 992px) {
    .cinematic-specs-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 13px;
        /* tablet gap: 12-14px */
    }
}

@media (max-width: 600px) {
    .cinematic-specs-grid {
        grid-template-columns: 1fr;
        /* mobile gap: 12-14px */
        gap: 12px;
    }
}

.cinematic-spec-card {
    background: rgba(4, 11, 24, 0.78);
    border: 1px solid rgba(0, 224, 240, 0.28);
    border-radius: 8px;
    padding: 16px 18px;
    /* compact padding: 16-18px */
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    position: relative;
    transition: all 0.25s cubic-bezier(0.2, 0.8, 0.2, 1);
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    min-height: 140px;
    /* target card height ~145-165px */
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.6), inset 0 0 16px rgba(0, 224, 240, 0.04);
}

.cinematic-spec-card .card-subtext,
.cinematic-spec-card .card-pills-row {
    margin-top: 4px;
    padding-top: 0;
}

.card-value-display.card-value-venue {
    font-family: var(--font-secondary, 'Rajdhani', sans-serif);
    font-size: 1.0rem;
    font-weight: 600;
    line-height: 1.35;
    letter-spacing: 0.4px;
    color: #ffffff;
}

.card-value-display.card-value-fee {
    font-size: 1.05rem;
    line-height: 1.25;
}

.cinematic-spec-card:hover {
    border-color: rgba(0, 224, 240, 0.65);
    box-shadow: 0 12px 36px rgba(0, 224, 240, 0.16), inset 0 0 20px rgba(0, 224, 240, 0.08);
    transform: translateY(-2px);
}

.card-corner-accent {
    position: absolute;
    width: 8px;
    height: 8px;
    border: 2px solid var(--color-cyan, #00E0F0);
    pointer-events: none;
}

.card-corner-accent.tr {
    top: -1px;
    right: -1px;
    border-left: none;
    border-bottom: none;
}

.card-corner-accent.bl {
    bottom: -1px;
    left: -1px;
    border-right: none;
    border-top: none;
}

.card-icon-circle {
    width: 28px;
    height: 28px;
    border-radius: 6px;
    background: rgba(0, 224, 240, 0.08);
    border: 1px solid rgba(0, 224, 240, 0.35);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 8px;
    /* internal gap 7-10px */
    box-shadow: 0 0 10px rgba(0, 224, 240, 0.12);
    flex-shrink: 0;
}

.card-icon-circle.prize-circle {
    background: rgba(255, 170, 0, 0.08);
    border-color: rgba(255, 170, 0, 0.35);
    box-shadow: 0 0 10px rgba(255, 170, 0, 0.12);
}

.card-icon-circle svg {
    width: 18px;
    height: 18px;
}

.card-label {
    font-family: var(--font-secondary, 'Rajdhani', sans-serif);
    font-size: 0.72rem;
    /* ~11.5px */
    letter-spacing: 1.8px;
    color: rgba(0, 224, 240, 0.85);
    text-transform: uppercase;
    font-weight: 700;
    margin-bottom: 5px;
    /* internal gap 7-10px */
    line-height: 1.1;
}

.card-value-display {
    font-family: var(--font-display, 'Orbitron', sans-serif);
    font-size: 1.15rem;
    /* ~18.4px */
    font-weight: 700;
    color: #ffffff;
    line-height: 1.25;
    margin-bottom: 6px;
    word-break: break-word;
}

.card-subtext {
    font-family: var(--font-body, 'Inter', sans-serif);
    font-size: 0.78rem;
    /* ~12.5px */
    color: rgba(225, 240, 255, 0.65);
    line-height: 1.35;
    margin-top: 0;
    margin-bottom: 0;
}

/* Card Pill Badges */
.card-pills-row {
    display: flex;
    gap: 6px;
    flex-wrap: wrap;
    margin-top: 4px;
}

.spec-pill {
    display: inline-flex;
    align-items: center;
    padding: 2px 7px;
    border-radius: 4px;
    font-family: var(--font-secondary, 'Rajdhani', sans-serif);
    font-size: 0.68rem;
    font-weight: 700;
    letter-spacing: 1.2px;
    text-transform: uppercase;
    line-height: 1.3;
}

.spec-pill.pill-magenta {
    background: rgba(255, 0, 128, 0.18);
    border: 1px solid rgba(255, 0, 128, 0.6);
    color: #ff3399;
}

.spec-pill.pill-cyan {
    background: rgba(0, 224, 240, 0.18);
    border: 1px solid rgba(0, 224, 240, 0.6);
    color: #00E0F0;
}

.spec-pill.pill-blue {
    background: rgba(0, 102, 255, 0.18);
    border: 1px solid rgba(0, 102, 255, 0.6);
    color: #4da6ff;
}

.spec-pill.pill-purple {
    background: rgba(123, 0, 255, 0.18);
    border: 1px solid rgba(123, 0, 255, 0.6);
    color: #c48eff;
}

.spec-pill.pill-muted {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: rgba(255, 255, 255, 0.6);
}

.sessions-chip-list {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.session-compact-chip {
    font-family: var(--font-secondary, 'Rajdhani', sans-serif);
    font-size: 0.88rem;
    color: #ffffff;
    font-weight: 600;
}

.session-compact-chip .chip-day {
    color: var(--color-cyan, #00E0F0);
    font-weight: 700;
}

/* 10. Overview & Rules Panels */
.cinematic-section-heading {
    font-family: var(--font-secondary, 'Rajdhani', sans-serif);
    font-size: 1.15rem;
    letter-spacing: 3px;
    color: var(--color-cyan, #00E0F0);
    text-transform: uppercase;
    font-weight: 700;
    margin-bottom: 16px;
    display: flex;
    align-items: center;
    gap: 12px;
}

.cinematic-section-heading::after {
    content: '';
    flex: 1;
    height: 1px;
    background: linear-gradient(90deg, rgba(0, 224, 240, 0.3), transparent);
}

.cinematic-prose-panel {
    background: rgba(4, 11, 24, 0.65);
    border: 1px solid rgba(0, 224, 240, 0.18);
    border-radius: 8px;
    padding: 26px 28px;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    color: rgba(225, 240, 255, 0.88);
    font-family: var(--font-body, 'Inter', sans-serif);
    font-size: 1.02rem;
    line-height: 1.72;
}


/* 11. Bottom Cinematic Registration Banner */
.cinematic-cta-banner {
    background: rgba(4, 11, 24, 0.85);
    border: 1px solid rgba(0, 224, 240, 0.32);
    border-radius: 10px;
    padding: 50px 30px;
    text-align: center;
    position: relative;
    margin-top: 60px;
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.7), inset 0 0 25px rgba(0, 224, 240, 0.06);
}

.cinematic-cta-title {
    font-family: var(--font-display, 'Orbitron', sans-serif);
    font-size: clamp(1.6rem, 3.8vw, 2.4rem);
    color: #ffffff;
    margin: 12px 0 16px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 2px;
}

.cinematic-cta-desc {
    max-width: 600px;
    margin: 0 auto 30px;
    color: rgba(225, 240, 255, 0.75);
    font-size: 1rem;
    line-height: 1.6;
}

.cinematic-cta-actions {
    display: flex;
    gap: 16px;
    justify-content: center;
    flex-wrap: wrap;
    align-items: center;
}

/* 12. Related Events Grid (Compact 4-Card Desktop Layout) */
.cinematic-related-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 16px;
    align-items: stretch;
}

.cinematic-related-card {
    background: rgba(6, 12, 26, 0.65);
    border: 1px solid rgba(0, 224, 240, 0.18);
    border-radius: 8px;
    padding: 18px 16px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    height: 100%;
    position: relative;
    overflow: hidden;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    text-decoration: none;
    color: inherit;
    cursor: pointer;
    box-sizing: border-box;
    transition: all 0.25s cubic-bezier(0.2, 0.8, 0.2, 1);
}

.cinematic-related-card:hover,
.cinematic-related-card:focus-visible {
    border-color: rgba(0, 224, 240, 0.6);
    background: rgba(10, 20, 40, 0.85);
    transform: translateY(-3px);
    box-shadow: 0 8px 24px rgba(0, 224, 240, 0.14), inset 0 0 12px rgba(0, 224, 240, 0.05);
    outline: none;
}

.cinematic-related-card:focus-visible {
    box-shadow: 0 0 0 2px var(--color-cyan, #00E0F0), 0 8px 24px rgba(0, 224, 240, 0.16);
}

.related-card-header {
    margin-bottom: 6px;
}

.related-parent {
    font-family: var(--font-mono, monospace);
    font-size: 0.68rem;
    letter-spacing: 2px;
    color: var(--color-cyan, #00E0F0);
}

.related-title {
    font-family: var(--font-display, 'Orbitron', sans-serif);
    font-size: 0.98rem;
    font-weight: 700;
    line-height: 1.3;
    margin: 4px 0 0;
    color: #ffffff;
    min-height: 2.6em;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.related-desc {
    font-family: var(--font-body, 'Inter', sans-serif);
    font-size: 0.82rem;
    color: rgba(225, 240, 255, 0.7);
    line-height: 1.45;
    margin: 8px 0 0;
    flex: 1 1 auto;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.related-footer {
    margin-top: 14px;
    padding-top: 10px;
    border-top: 1px solid rgba(0, 224, 240, 0.12);
    display: flex;
    align-items: center;
}

.related-link {
    color: var(--color-cyan, #00E0F0);
    font-family: var(--font-secondary, 'Rajdhani', sans-serif);
    font-weight: 700;
    font-size: 0.82rem;
    letter-spacing: 1.2px;
    text-transform: uppercase;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    transition: color 0.2s ease;
}

.related-link .arrow {
    display: inline-block;
    transition: transform 0.25s ease;
}

.cinematic-related-card:hover .related-link .arrow,
.cinematic-related-card:focus-visible .related-link .arrow {
    transform: translateX(4px);
}

/* Distinct 4th Card: Explore All Events */
.cinematic-related-card.related-card-explore {
    background: linear-gradient(145deg, rgba(14, 22, 44, 0.85) 0%, rgba(26, 12, 46, 0.78) 100%);
    border: 1px solid rgba(180, 75, 255, 0.38);
    box-shadow: 0 4px 20px rgba(180, 75, 255, 0.1), inset 0 0 16px rgba(0, 224, 240, 0.04);
}

.cinematic-related-card.related-card-explore:hover,
.cinematic-related-card.related-card-explore:focus-visible {
    border-color: rgba(0, 224, 240, 0.75);
    background: linear-gradient(145deg, rgba(18, 30, 62, 0.95) 0%, rgba(34, 16, 60, 0.9) 100%);
    box-shadow: 0 8px 28px rgba(180, 75, 255, 0.24), 0 0 14px rgba(0, 224, 240, 0.25), inset 0 0 20px rgba(0, 224, 240, 0.08);
}

.cinematic-related-card.related-card-explore .related-parent {
    color: var(--color-purple, #b44bff);
}

.cinematic-related-card.related-card-explore .related-title {
    background: linear-gradient(135deg, #ffffff 10%, var(--color-cyan, #00E0F0) 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.cinematic-related-card.related-card-explore .explore-icon-corner {
    position: absolute;
    top: 14px;
    right: 14px;
    width: 28px;
    height: 28px;
    border-radius: 50%;
    background: rgba(180, 75, 255, 0.15);
    border: 1px solid rgba(180, 75, 255, 0.45);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--color-cyan);
    pointer-events: none;
    transition: all 0.25s ease;
}

.cinematic-related-card.related-card-explore:hover .explore-icon-corner,
.cinematic-related-card.related-card-explore:focus-visible .explore-icon-corner {
    background: rgba(0, 224, 240, 0.22);
    border-color: var(--color-cyan);
    box-shadow: 0 0 12px rgba(0, 224, 240, 0.5);
    transform: scale(1.1);
}

.cinematic-related-card.related-card-explore .related-footer {
    border-top-color: rgba(180, 75, 255, 0.3);
}

.cinematic-related-card.related-card-explore .related-link {
    color: #ffffff;
}

.cinematic-related-card.related-card-explore:hover .related-link,
.cinematic-related-card.related-card-explore:focus-visible .related-link {
    color: var(--color-cyan);
}

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

@media (max-width: 600px) {
    .cinematic-related-grid {
        grid-template-columns: 1fr;
        gap: 14px;
    }
}

/* 13. Responsive Adaptations */
@media (max-width: 1080px) {

    /* Hide the oversized organizing dept HUD panel on mobile/tablet —
       Department and CYBERNOVA tagline are already displayed directly under the title */
    .hud-top-right {
        display: none !important;
    }

    /* Convert SYS.STATUS from an oversized desktop HUD box into a sleek, compact status chip */
    .cinematic-hud-frame.hud-top-left {
        position: static;
        width: auto;
        min-width: 0;
        max-width: 90%;
        margin: 0 auto 14px auto;
        padding: 6px 18px;
        background: rgba(4, 11, 24, 0.78);
        border: 1px solid rgba(0, 224, 240, 0.38);
        border-radius: 24px;
        display: inline-flex;
        align-items: center;
        justify-content: center;
        text-align: center;
        box-shadow: 0 4px 18px rgba(0, 0, 0, 0.55), inset 0 0 10px rgba(0, 224, 240, 0.05);
        transform: none !important;
        will-change: auto;
    }

    .hud-top-left .hud-corner-bracket {
        display: none !important;
    }

    .hud-top-left .hud-label-tiny {
        display: none !important;
    }

    .hud-top-left .hud-status-content {
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        gap: 3px;
    }

    .hud-top-left .hud-status-pill {
        font-size: 0.82rem;
        letter-spacing: 1.2px;
        gap: 6px;
    }

    .hud-top-left .hud-status-sub {
        font-size: 0.72rem;
        margin-top: 0;
        color: rgba(225, 240, 255, 0.72);
        line-height: 1.2;
    }

    .hud-top-left .hud-status-sub::before {
        display: none !important;
    }

    .cinematic-hero-section {
        flex-direction: column;
        padding: 8px 0 28px;
        min-height: auto;
    }

    .cinematic-specs-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 14px;
    }
}

@media (max-width: 768px) {

    #event-detail-root,
    .event-detail-root {
        padding-top: 114px;
    }

    .cinematic-breadcrumb-wrapper {
        padding: 0 0 10px;
    }

    .cinematic-breadcrumb {
        flex-wrap: wrap;
        justify-content: center;
        text-align: center;
        font-size: 0.65rem;
        letter-spacing: 0.5px;
        gap: 4px;
        white-space: normal;
    }

    .cinematic-breadcrumb .crumb-sep {
        margin: 0 2px;
        opacity: 0.4;
    }

    .cinematic-breadcrumb .crumb-current {
        white-space: normal;
        word-break: normal;
        overflow-wrap: break-word;
        text-align: center;
    }

    .cinematic-title-box {
        margin: 4px auto 12px;
        max-width: 100%;
        width: 100%;
        padding: 0 8px;
        box-sizing: border-box;
    }

    .cinematic-hero-title {
        font-size: clamp(1.4rem, 6.2vw, 2.1rem);
        letter-spacing: 0.8px;
        line-height: 1.18;
        word-break: normal;
        overflow-wrap: break-word;
        hyphens: manual;
        padding: 0 4px;
    }

    .hero-cyber-dept-pill {
        padding: 5px 16px;
        font-size: 0.85rem;
        letter-spacing: 1.8px;
        margin-bottom: 12px;
        max-width: 94%;
        box-sizing: border-box;
    }

    .hero-cinematic-desc {
        font-size: 0.94rem;
        line-height: 1.55;
        margin: 0 auto 20px;
        padding: 0 12px;
        max-width: 580px;
    }

    .hero-cinematic-actions {
        margin-bottom: 15px;
        gap: 12px;
        width: 100%;
        max-width: 360px;
        margin-left: auto;
        margin-right: auto;
        flex-direction: column;
    }

    .hero-cinematic-actions .btn {
        width: 100%;
        text-align: center;
        min-height: 48px;
    }

    .cinematic-specs-section {
        padding: 10px 0 40px;
    }

    .cinematic-specs-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 12px;
        margin-bottom: 35px;
    }

    .cinematic-spec-card {
        padding: 16px 14px;
        min-height: 135px;
    }

    .cinematic-spec-card .card-icon-circle {
        width: 28px;
        height: 28px;
        margin-bottom: 8px;
    }

    .cinematic-spec-card .card-icon-circle svg {
        width: 18px;
        height: 18px;
    }

    .cinematic-spec-card .card-label {
        font-size: 0.68rem;
        letter-spacing: 1.6px;
        margin-bottom: 4px;
    }

    .cinematic-spec-card .card-value-display {
        font-size: 0.95rem;
        line-height: 1.3;
    }
}

@media (max-width: 480px) {

    #event-detail-root,
    .event-detail-root {
        padding-top: 110px;
    }

    .cinematic-breadcrumb {
        font-size: 0.60rem;
        letter-spacing: 0.4px;
        gap: 3px;
    }

    .cinematic-hud-frame.hud-top-left {
        padding: 6px 14px;
        margin-bottom: 10px;
        border-radius: 18px;
    }

    .hud-top-left .hud-status-content {
        gap: 2px;
    }

    .hud-top-left .hud-status-pill {
        font-size: 0.74rem;
        letter-spacing: 1px;
    }

    .hud-top-left .hud-status-sub {
        font-size: 0.68rem;
    }

    .hud-top-left .hud-status-sub::before {
        display: none !important;
    }

    .cinematic-hero-title {
        font-size: clamp(1.25rem, 5.8vw, 1.8rem);
        letter-spacing: 0.5px;
    }

    .hero-cyber-dept-pill {
        padding: 4px 12px;
        font-size: 0.78rem;
        letter-spacing: 1.2px;
        margin-bottom: 10px;
    }

    .hero-cinematic-desc {
        font-size: 0.88rem;
        line-height: 1.5;
        margin-bottom: 16px;
        padding: 0 6px;
    }

    .cinematic-specs-grid {
        grid-template-columns: 1fr;
        gap: 12px;
    }

    .cinematic-spec-card {
        padding: 14px 16px;
        min-height: 125px;
    }

    .cinematic-spec-card .card-value-display {
        font-size: 0.82rem;
        word-break: break-word;
    }

    .cinematic-spec-card .card-pills-row {
        gap: 4px;
    }

    .cinematic-spec-card .spec-pill {
        font-size: 0.58rem;
        padding: 2px 5px;
    }

    .btn-cinematic-primary,
    .btn-cinematic-secondary,
    .btn-status {
        font-size: 0.88rem;
        letter-spacing: 1.5px;
        padding: 12px 20px;
    }
}

@media (max-width: 350px) {
    .cinematic-specs-grid {
        grid-template-columns: 1fr;
    }
}

/* Breadcrumbs Hit Area on Mobile */
.cinematic-breadcrumb a {
    display: inline-flex;
    align-items: center;
    padding: 6px 4px;
    min-height: 32px;
}

/* 14. Accessibility: Visible Keyboard Focus */
a:focus-visible,
button:focus-visible,
input:focus-visible,
[tabindex]:focus-visible {
    outline: 2px solid var(--color-cyan);
    outline-offset: 3px;
}

/* 15. Accessibility: Reduced Motion Support */
@media (prefers-reduced-motion: reduce) {

    *,
    *::before,
    *::after {
        animation-duration: 0.001ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.001ms !important;
        scroll-behavior: auto !important;
    }
}

/* ==========================================================================
   DOOM N DEBUG — FLAGSHIP HACKATHON DESIGN EXTENSIONS
   ========================================================================== */

/* Hero Button Enhancements */
.btn-rulebook-trigger {
    background: rgba(0, 224, 240, 0.08);
    border: 1px solid var(--color-cyan);
    color: var(--color-cyan);
    padding: 12px 28px;
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 0.95rem;
    letter-spacing: 2px;
    border-radius: 4px;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    transition: var(--transition-smooth);
    position: relative;
    overflow: hidden;
    cursor: pointer;
}

.btn-rulebook-trigger:hover {
    background: var(--color-cyan);
    color: #080820;
    box-shadow: 0 0 25px rgba(0, 224, 240, 0.4);
    transform: translateY(-2px);
}

/* ==========================================================================
   COMPACT RULEBOOK PREVIEW & FUTURISTIC DIGITAL RULEBOOK CODEX
   ========================================================================== */

/* Compact Rulebook Preview Section */
.rulebook-intro-text {
    letter-spacing: 1.5px;
    font-weight: 500;
}

.rulebook-preview-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 1fr));
    gap: 22px;
    margin-top: 30px;
}

.rule-category-card {
    background: rgba(8, 12, 22, 0.75);
    border: 1px solid rgba(0, 224, 240, 0.18);
    border-radius: 8px;
    padding: 26px 22px;
    position: relative;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1), border-color 0.3s ease, box-shadow 0.3s ease;
    display: flex;
    flex-direction: column;
}

.rule-category-card.card-alert {
    border-color: rgba(208, 32, 240, 0.28);
}

.rule-category-corner {
    position: absolute;
    width: 8px;
    height: 8px;
    pointer-events: none;
}

.rule-category-corner.tr {
    top: -1px;
    right: -1px;
    border-top: 2px solid var(--color-cyan);
    border-right: 2px solid var(--color-cyan);
}

.rule-category-corner.bl {
    bottom: -1px;
    left: -1px;
    border-bottom: 2px solid var(--color-cyan);
    border-left: 2px solid var(--color-cyan);
}

.card-alert .rule-category-corner.tr,
.card-alert .rule-category-corner.bl {
    border-color: var(--color-magenta);
}

/* Category Card Badges */
.rule-category-badge {
    display: inline-block;
    align-self: flex-start;
    font-family: var(--font-mono);
    font-size: 0.68rem;
    letter-spacing: 2px;
    padding: 3px 9px;
    border-radius: 3px;
    background: rgba(0, 224, 240, 0.08);
    color: var(--color-cyan);
    border: 1px solid rgba(0, 224, 240, 0.25);
    margin-bottom: 12px;
}

.rule-category-badge.badge-success {
    background: rgba(0, 255, 170, 0.1);
    color: #00ffaa;
    border-color: rgba(0, 255, 170, 0.3);
}

.rule-category-badge.badge-danger {
    background: rgba(208, 32, 240, 0.12);
    color: var(--color-magenta);
    border-color: rgba(208, 32, 240, 0.35);
}

.rule-category-title {
    font-family: var(--font-heading);
    font-size: 1.3rem;
    font-weight: 700;
    color: #fff;
    margin-bottom: 8px;
    letter-spacing: 0.5px;
    transition: color 0.2s ease;
}

.rule-category-summary {
    font-size: 0.92rem;
    color: rgba(240, 240, 245, 0.85);
    line-height: 1.6;
    margin-bottom: 14px;
    flex-grow: 1;
}

.rule-category-detail {
    font-size: 0.84rem;
    color: rgba(0, 224, 240, 0.85);
    line-height: 1.5;
    padding-top: 10px;
    border-top: 1px solid rgba(255, 255, 255, 0.07);
    transition: color 0.3s ease, border-color 0.3s ease;
}

.rule-category-detail .detail-tag {
    font-family: var(--font-mono);
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 1.5px;
    color: var(--color-cyan);
    margin-right: 5px;
}

/* Supplementary Desktop Hover Interactions */
@media (hover: hover) and (pointer: fine) {
    .rule-category-card:hover {
        transform: translateY(-4px);
        border-color: rgba(0, 224, 240, 0.5);
        box-shadow: 0 12px 30px rgba(0, 224, 240, 0.15), inset 0 0 15px rgba(0, 224, 240, 0.05);
    }

    .rule-category-card:hover .rule-category-title {
        color: var(--color-cyan);
        text-shadow: 0 0 12px rgba(0, 224, 240, 0.4);
    }

    .rule-category-card:hover .rule-category-detail {
        color: #fff;
        border-top-color: rgba(0, 224, 240, 0.3);
    }

    .rule-category-card.card-alert:hover {
        border-color: var(--color-magenta);
        box-shadow: 0 12px 30px rgba(208, 32, 240, 0.2), inset 0 0 15px rgba(208, 32, 240, 0.06);
    }

    .rule-category-card.card-alert:hover .rule-category-title {
        color: var(--color-magenta);
        text-shadow: 0 0 12px rgba(208, 32, 240, 0.4);
    }
}

/* Category Card Focus */
.rule-category-card:focus-visible {
    outline: 2px solid var(--color-cyan);
    outline-offset: 3px;
}

/* Rulebook CTA Area */
.rulebook-cta-wrapper {
    margin-top: 45px;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 14px;
}

.btn-complete-rulebook {
    padding: 15px 40px;
    font-size: 1rem;
    letter-spacing: 2.5px;
    font-weight: 700;
    min-height: 52px;
}

.rulebook-cta-micro {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-family: var(--font-mono);
    font-size: 0.72rem;
    letter-spacing: 2px;
    color: var(--text-secondary);
}

.pulse-cyan-dot {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--color-cyan);
    box-shadow: 0 0 8px var(--color-cyan);
    animation: blink 1.5s infinite;
}

/* ==========================================================================
   FUTURISTIC DIGITAL RULEBOOK MODAL (DESKTOP & MOBILE CODEX)
   ========================================================================== */

/* Screen Reader Utility */
.sr-only {
    position: absolute !important;
    width: 1px !important;
    height: 1px !important;
    padding: 0 !important;
    margin: -1px !important;
    overflow: hidden !important;
    clip: rect(0, 0, 0, 0) !important;
    white-space: nowrap !important;
    border: 0 !important;
}

.rulebook-modal {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    width: 100vw;
    height: 100dvh;
    max-height: 100dvh;
    z-index: 100000;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    padding: clamp(14px, 2.5vh, 26px) clamp(12px, 2vw, 32px);
    box-sizing: border-box;
    overflow: hidden;
    opacity: 0;
    pointer-events: none;
    overscroll-behavior: contain;
    transition: opacity 0.24s cubic-bezier(0.16, 1, 0.3, 1);
}

.rulebook-modal.active {
    opacity: 1;
    pointer-events: auto;
}

.rulebook-backdrop {
    position: absolute;
    inset: 0;
    background: rgba(2, 3, 7, 0.92);
    backdrop-filter: blur(18px);
    -webkit-backdrop-filter: blur(18px);
    touch-action: none;
}

.rulebook-dialog {
    position: relative;
    z-index: 2;
    width: 100%;
    max-width: 1240px;
    height: min(840px, 100%);
    max-height: 100%;
    margin: auto 0;
    background: #060913;
    border: 1px solid rgba(0, 224, 240, 0.35);
    border-radius: 12px;
    box-shadow: 0 25px 70px rgba(0, 0, 0, 0.95), 0 0 50px rgba(0, 224, 240, 0.16);
    display: flex;
    flex-direction: column;
    min-height: 0;
    overflow: hidden;
    overscroll-behavior: contain;
    box-sizing: border-box;
    transform: scale(0.98);
    transition: transform 0.24s cubic-bezier(0.16, 1, 0.3, 1);
}

.rulebook-modal.active .rulebook-dialog {
    transform: scale(1);
}

/* Dialog Cyber Corner Accents */
.dialog-corner {
    position: absolute;
    width: 14px;
    height: 14px;
    pointer-events: none;
    z-index: 20;
}

.dialog-corner.tl {
    top: -1px;
    left: -1px;
    border-top: 3px solid var(--color-cyan);
    border-left: 3px solid var(--color-cyan);
}

.dialog-corner.tr {
    top: -1px;
    right: -1px;
    border-top: 3px solid var(--color-cyan);
    border-right: 3px solid var(--color-cyan);
}

.dialog-corner.bl {
    bottom: -1px;
    left: -1px;
    border-bottom: 3px solid var(--color-cyan);
    border-left: 3px solid var(--color-cyan);
}

.dialog-corner.br {
    bottom: -1px;
    right: -1px;
    border-bottom: 3px solid var(--color-cyan);
    border-right: 3px solid var(--color-cyan);
}

/* Rulebook Header */
.rulebook-dialog-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 16px 24px;
    background: rgba(8, 14, 26, 0.96);
    border-bottom: 1px solid rgba(0, 224, 240, 0.2);
    flex-shrink: 0;
    z-index: 10;
    gap: 15px;
    box-sizing: border-box;
    width: 100%;
}

.rulebook-header-info {
    flex: 1 1 auto;
    min-width: 0;
    overflow: hidden;
}

.rulebook-header-pre {
    font-family: var(--font-mono);
    font-size: 0.7rem;
    color: var(--color-cyan);
    letter-spacing: 2px;
    margin-bottom: 4px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    max-width: 100%;
}

.rulebook-dialog-title {
    font-family: var(--font-display);
    font-size: clamp(0.95rem, 2vw, 1.35rem);
    color: #fff;
    letter-spacing: 1.5px;
    margin: 0;
    line-height: 1.25;
    word-break: break-word;
    overflow-wrap: break-word;
}

.rulebook-header-status {
    display: flex;
    align-items: center;
    flex-shrink: 0;
    gap: 14px;
}

.status-chip-live {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    font-family: var(--font-mono);
    font-size: 0.7rem;
    color: var(--color-cyan);
    letter-spacing: 1.5px;
    padding: 4px 10px;
    background: rgba(0, 224, 240, 0.08);
    border: 1px solid rgba(0, 224, 240, 0.25);
    border-radius: 4px;
}

.chip-pulse-dot {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--color-cyan);
    box-shadow: 0 0 6px var(--color-cyan);
    animation: blink 1.5s infinite;
}

.rulebook-close-btn {
    min-height: 44px;
    min-width: 44px;
    flex-shrink: 0;
    padding: 8px 18px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    font-family: var(--font-mono);
    font-size: 0.82rem;
    letter-spacing: 2px;
    color: #fff;
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 4px;
    cursor: pointer;
    transition: all 0.2s ease;
}

.rulebook-close-btn:hover {
    background: rgba(208, 32, 240, 0.22);
    border-color: var(--color-magenta);
    color: var(--color-magenta);
    box-shadow: 0 0 18px rgba(208, 32, 240, 0.35);
}

/* Mobile Sticky TOC Horizontal Bar */
.rulebook-mobile-toc {
    display: flex;
    align-items: center;
    gap: 8px;
    overflow-x: auto;
    padding: 10px 18px;
    background: rgba(5, 9, 18, 0.98);
    border-bottom: 1px solid rgba(0, 224, 240, 0.16);
    flex-shrink: 0;
    scrollbar-width: none;
    -webkit-overflow-scrolling: touch;
    overscroll-behavior-x: contain;
    z-index: 9;
}

.rulebook-mobile-toc::-webkit-scrollbar {
    display: none;
}

.mobile-toc-pill {
    min-height: 40px;
    padding: 6px 14px;
    border-radius: 20px;
    font-family: var(--font-heading);
    font-size: 0.82rem;
    font-weight: 700;
    letter-spacing: 1px;
    color: var(--text-secondary);
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.12);
    white-space: nowrap;
    cursor: pointer;
    transition: all 0.2s ease;
    flex-shrink: 0;
}

.mobile-toc-pill.active {
    background: rgba(0, 224, 240, 0.18);
    color: var(--color-cyan);
    border-color: var(--color-cyan);
    box-shadow: 0 0 12px rgba(0, 224, 240, 0.25);
}

.mobile-toc-pill.pill-alert {
    border-color: rgba(208, 32, 240, 0.3);
}

.mobile-toc-pill.pill-alert.active {
    background: rgba(208, 32, 240, 0.2);
    color: var(--color-magenta);
    border-color: var(--color-magenta);
    box-shadow: 0 0 12px rgba(208, 32, 240, 0.3);
}

/* Split Pane Main Layout */
.rulebook-dialog-main {
    display: flex;
    flex: 1 1 auto;
    min-height: 0;
    overflow: hidden;
    position: relative;
    box-sizing: border-box;
}

/* Desktop Sidebar TOC */
.rulebook-toc-sidebar {
    width: 290px;
    flex-shrink: 0;
    min-height: 0;
    background: rgba(4, 7, 14, 0.85);
    border-right: 1px solid rgba(0, 224, 240, 0.14);
    overflow-y: auto;
    overscroll-behavior-y: contain;
    padding: 20px 14px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    scrollbar-width: thin;
    scrollbar-color: var(--color-cyan) rgba(255, 255, 255, 0.05);
    box-sizing: border-box;
}

.toc-sidebar-header {
    display: flex;
    align-items: center;
    gap: 8px;
    font-family: var(--font-mono);
    font-size: 0.72rem;
    letter-spacing: 2px;
    color: var(--color-cyan);
    padding: 0 8px 14px 8px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    margin-bottom: 12px;
}

.toc-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.toc-item {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 14px;
    border-radius: 6px;
    font-family: var(--font-heading);
    font-size: 0.94rem;
    font-weight: 600;
    color: var(--text-secondary);
    text-decoration: none;
    border: 1px solid transparent;
    transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
    cursor: pointer;
}

.toc-item .toc-num {
    font-family: var(--font-mono);
    font-size: 0.75rem;
    color: rgba(255, 255, 255, 0.4);
    transition: color 0.2s ease;
}

.toc-item:hover {
    background: rgba(0, 224, 240, 0.06);
    color: #fff;
    border-color: rgba(0, 224, 240, 0.2);
    transform: translateX(3px);
}

.toc-item:hover .toc-num {
    color: var(--color-cyan);
}

.toc-item.active {
    background: rgba(0, 224, 240, 0.14);
    color: var(--color-cyan);
    border-color: rgba(0, 224, 240, 0.45);
    box-shadow: 0 0 15px rgba(0, 224, 240, 0.15);
    transform: translateX(4px);
}

.toc-item.active .toc-num {
    color: var(--color-cyan);
    font-weight: 700;
}

.toc-item.toc-item-alert:hover,
.toc-item.toc-item-alert.active {
    background: rgba(208, 32, 240, 0.14);
    color: var(--color-magenta);
    border-color: rgba(208, 32, 240, 0.45);
    box-shadow: 0 0 15px rgba(208, 32, 240, 0.2);
}

.toc-item.toc-item-alert:hover .toc-num,
.toc-item.toc-item-alert.active .toc-num {
    color: var(--color-magenta);
}

.toc-sidebar-footer {
    padding: 16px 8px 0 8px;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    margin-top: 16px;
}

.toc-micro-notice {
    font-family: var(--font-mono);
    font-size: 0.65rem;
    letter-spacing: 2px;
    color: var(--text-muted);
    line-height: 1.5;
}

/* Scrollable Article Content Container */
.rulebook-content-scroll {
    flex: 1 1 auto;
    min-height: 0;
    overflow-y: auto;
    overscroll-behavior: contain;
    overscroll-behavior-y: contain;
    padding: 28px 36px 90px 36px;
    box-sizing: border-box;
    scrollbar-width: thin;
    scrollbar-color: var(--color-cyan) rgba(255, 255, 255, 0.05);
    -webkit-overflow-scrolling: touch;
}

.rulebook-content-scroll::-webkit-scrollbar {
    width: 6px;
}

.rulebook-content-scroll::-webkit-scrollbar-thumb {
    background: var(--color-cyan);
    border-radius: 3px;
}

.rulebook-content-scroll::-webkit-scrollbar-track {
    background: rgba(255, 255, 255, 0.05);
}

.rulebook-article-block {
    scroll-margin-top: 18px;
    padding-bottom: 34px;
    margin-bottom: 34px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.07);
    word-break: break-word;
    overflow-wrap: break-word;
}

.rulebook-article-block:last-child {
    border-bottom: none;
    margin-bottom: 0;
    padding-bottom: 24px;
}

.article-meta-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 8px;
    gap: 12px;
    flex-wrap: wrap;
}

.article-tag {
    font-family: var(--font-mono);
    font-size: 0.72rem;
    letter-spacing: 2px;
    color: var(--color-cyan);
    font-weight: 700;
}

.article-tag.tag-danger {
    color: var(--color-magenta);
}

.article-tag.tag-success {
    color: #00ffaa;
}

.article-dept {
    font-family: var(--font-mono);
    font-size: 0.68rem;
    letter-spacing: 2px;
    color: var(--text-muted);
}

.article-title {
    font-family: var(--font-heading);
    font-size: 1.45rem;
    font-weight: 700;
    color: #fff;
    letter-spacing: 0.8px;
    margin-bottom: 12px;
    line-height: 1.3;
}

.article-lead {
    font-size: 0.98rem;
    color: rgba(240, 240, 245, 0.88);
    line-height: 1.75;
    margin-bottom: 16px;
}

.article-points-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.article-points-list li {
    position: relative;
    padding-left: 26px;
    margin-bottom: 14px;
    font-size: 0.94rem;
    line-height: 1.75;
    color: rgba(230, 235, 245, 0.9);
}

.article-points-list li::before {
    content: '◈';
    position: absolute;
    left: 0;
    top: 1px;
    color: var(--color-cyan);
    font-size: 0.82rem;
}

.article-points-list li strong {
    color: #fff;
    font-weight: 600;
}

.article-points-list li code {
    font-family: var(--font-mono);
    background: rgba(0, 224, 240, 0.1);
    color: var(--color-cyan);
    padding: 2px 6px;
    border-radius: 3px;
    font-size: 0.88em;
}

/* Codex Callout Warning */
.codex-callout-warning {
    background: rgba(208, 32, 240, 0.08);
    border: 1px solid rgba(208, 32, 240, 0.35);
    border-radius: 6px;
    padding: 16px 18px;
    margin-bottom: 16px;
}

.callout-warning-header {
    display: flex;
    align-items: center;
    gap: 8px;
    color: var(--color-magenta);
    font-family: var(--font-heading);
    font-size: 1.05rem;
    margin-bottom: 6px;
    letter-spacing: 1px;
}

.codex-callout-warning p {
    font-size: 0.92rem;
    color: rgba(255, 225, 235, 0.92);
    line-height: 1.6;
    margin: 0;
}

/* ==========================================================================
   RULEBOOK REGISTRATION PORTAL BOX & RESPONSIVE BEHAVIOR
   ========================================================================== */
.rulebook-link-box {
    margin-top: 26px;
    margin-bottom: 24px;
    padding: 24px 26px;
    background: linear-gradient(135deg, rgba(0, 224, 240, 0.07) 0%, rgba(8, 14, 26, 0.88) 100%);
    border: 1px solid rgba(0, 224, 240, 0.35);
    border-radius: 10px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.55), inset 0 0 24px rgba(0, 224, 240, 0.04);
    box-sizing: border-box;
    width: 100%;
    max-width: 100%;
    overflow: hidden;
    position: relative;
}

.rulebook-link-box::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 4px;
    height: 100%;
    background: var(--color-cyan, #00E0F0);
    box-shadow: 0 0 10px var(--color-cyan, #00E0F0);
}

.rulebook-link-box.rulebook-link-box-closed {
    background: linear-gradient(135deg, rgba(208, 32, 240, 0.06) 0%, rgba(20, 10, 20, 0.88) 100%);
    border-color: rgba(208, 32, 240, 0.35);
}

.rulebook-link-box.rulebook-link-box-closed::before {
    background: var(--color-magenta, #D020F0);
    box-shadow: 0 0 10px var(--color-magenta, #D020F0);
}

.rulebook-link-box.rulebook-link-box-soon {
    background: linear-gradient(135deg, rgba(255, 170, 0, 0.06) 0%, rgba(25, 18, 10, 0.88) 100%);
    border-color: rgba(255, 170, 0, 0.35);
}

.rulebook-link-box.rulebook-link-box-soon::before {
    background: #ffaa00;
    box-shadow: 0 0 10px #ffaa00;
}

.rulebook-link-header-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 12px;
    margin-bottom: 10px;
    flex-wrap: wrap;
}

.rulebook-link-tag {
    font-family: var(--font-mono, monospace);
    font-size: 0.72rem;
    letter-spacing: 2px;
    color: var(--color-cyan, #00E0F0);
    font-weight: 700;
    text-transform: uppercase;
}

.rulebook-link-box-closed .rulebook-link-tag {
    color: var(--color-magenta, #D020F0);
}

.rulebook-link-box-soon .rulebook-link-tag {
    color: #ffaa00;
}

.rulebook-status-pill {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-family: var(--font-mono, monospace);
    font-size: 0.7rem;
    letter-spacing: 1.5px;
    padding: 3px 10px;
    border-radius: 12px;
    border: 1px solid currentColor;
    font-weight: 600;
}

.rulebook-status-pill.status-open {
    color: #00ffaa;
    background: rgba(0, 255, 170, 0.08);
}

.rulebook-status-pill.status-closed {
    color: var(--color-magenta, #D020F0);
    background: rgba(208, 32, 240, 0.08);
}

.rulebook-status-pill.status-soon {
    color: #ffaa00;
    background: rgba(255, 170, 0, 0.08);
}

.rulebook-status-pill.status-pending {
    color: #7e8c9f;
    background: rgba(126, 140, 159, 0.08);
}

.rulebook-link-lead {
    font-family: var(--font-body, 'Inter', sans-serif);
    font-size: 0.94rem;
    color: #ffffff;
    margin-bottom: 14px;
    line-height: 1.6;
}

.rulebook-link-closed-msg {
    font-family: var(--font-body, 'Inter', sans-serif);
    font-size: 0.92rem;
    color: rgba(220, 225, 235, 0.85);
    margin-bottom: 16px;
    line-height: 1.6;
}

.rulebook-link-url-wrapper {
    margin-bottom: 16px;
    padding: 10px 14px;
    background: rgba(3, 6, 12, 0.85);
    border: 1px solid rgba(0, 224, 240, 0.2);
    border-radius: 6px;
    box-sizing: border-box;
    width: 100%;
    max-width: 100%;
    overflow: hidden;
}

.rulebook-raw-link {
    font-family: var(--font-mono, monospace);
    font-size: 0.82rem;
    color: var(--color-cyan, #00E0F0);
    text-decoration: underline;
    word-break: break-all;
    overflow-wrap: anywhere;
    word-wrap: break-word;
    display: block;
    max-width: 100%;
    line-height: 1.5;
    transition: color 0.2s ease, text-shadow 0.2s ease;
}

.rulebook-raw-link:hover {
    color: #ffffff;
    text-shadow: 0 0 8px var(--color-cyan, #00E0F0);
}

.rulebook-link-action-row {
    display: flex;
    align-items: center;
    gap: 16px;
    flex-wrap: wrap;
}

.rulebook-reg-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 12px 24px;
    font-size: 0.86rem;
    font-weight: 700;
    letter-spacing: 1.5px;
    text-decoration: none;
    box-sizing: border-box;
    max-width: 100%;
    white-space: normal;
    text-align: center;
    transition: all 0.25s ease;
}

.rulebook-reg-meta {
    font-family: var(--font-mono, monospace);
    font-size: 0.74rem;
    letter-spacing: 1px;
    color: var(--text-muted, #7e8c9f);
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

/* Dialog Footer */
.rulebook-dialog-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px 24px;
    background: rgba(4, 7, 14, 0.98);
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    flex-shrink: 0;
    font-family: var(--font-mono);
    font-size: 0.75rem;
    color: var(--text-secondary);
    gap: 12px;
    box-sizing: border-box;
    width: 100%;
}

.footer-codex-info {
    flex: 1 1 auto;
    min-width: 0;
    letter-spacing: 1.2px;
    color: var(--text-muted);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

#rulebook-footer-close-btn {
    flex-shrink: 0;
    white-space: nowrap;
}

/* ==========================================================================
   RULEBOOK MODAL CURSOR SYSTEM
   Restores native OS mouse cursor visibility and appropriate contextual states
   (default, pointer, text, not-allowed) across the entire modal without
   affecting the rest of the site.
   ========================================================================== */

/* 1. Modal Base & Surface Containers: Default Arrow Cursor */
.rulebook-modal,
.rulebook-modal.active,
.rulebook-backdrop,
.rulebook-dialog,
.rulebook-dialog-header,
.rulebook-dialog-footer,
.rulebook-dialog-main,
.rulebook-toc-sidebar,
.rulebook-content-scroll,
.rulebook-article-block,
.rulebook-mobile-toc,
.toc-sidebar-header,
.toc-sidebar-footer,
.rulebook-header-info,
.rulebook-header-status,
.article-meta-row,
.article-tag,
.article-dept,
.dialog-corner,
.card-corner-accent {
    cursor: default !important;
}

/* 2. Interactive & Clickable Elements: Pointer Hand Cursor */
.rulebook-modal a,
.rulebook-modal button,
.rulebook-modal [role="button"],
.rulebook-modal .toc-item,
.rulebook-modal .mobile-toc-pill,
.rulebook-modal .rulebook-close-btn,
.rulebook-modal #rulebook-close-btn,
.rulebook-modal #rulebook-footer-close-btn,
.rulebook-modal .rulebook-reg-btn,
.rulebook-modal .rulebook-raw-link,
.rulebook-modal .btn,
.rulebook-modal .btn-magnetic,
.rulebook-modal .btn-rulebook-trigger,
.rulebook-modal .close-cross,
.rulebook-modal .close-txt,
.rulebook-modal .toc-label,
.rulebook-modal .toc-num {
    cursor: pointer !important;
}

/* 3. Text & Content Elements: I-Beam Text Selection Cursor */
.rulebook-modal p,
.rulebook-modal h1,
.rulebook-modal h2,
.rulebook-modal h3,
.rulebook-modal h4,
.rulebook-modal h5,
.rulebook-modal h6,
.rulebook-modal li,
.rulebook-modal code,
.rulebook-modal pre,
.rulebook-modal strong,
.rulebook-modal em,
.rulebook-modal .article-lead,
.rulebook-modal .rulebook-dialog-title,
.rulebook-modal .rulebook-link-desc,
.rulebook-modal .codex-callout-warning p,
.rulebook-modal .codex-callout-warning strong,
.rulebook-modal .rulebook-header-pre,
.rulebook-modal .footer-codex-info,
.rulebook-modal .modal-awaiting-title,
.rulebook-modal .modal-awaiting-desc,
.rulebook-modal .awaiting-meta-val {
    cursor: text !important;
    user-select: text;
    -webkit-user-select: text;
}

/* 4. Nested Links/Buttons inside Text Elements maintain Pointer Cursor */
.rulebook-modal p a,
.rulebook-modal li a,
.rulebook-modal a *,
.rulebook-modal button *,
.rulebook-modal .rulebook-link-action-row * {
    cursor: pointer !important;
}

/* 5. Disabled / Sold Out / Pending Actions: Not-Allowed Cursor */
.rulebook-modal button:disabled,
.rulebook-modal [disabled],
.rulebook-modal .btn-disabled,
.rulebook-modal .btn-sold-out,
.rulebook-modal .rulebook-link-box-soon .btn-disabled {
    cursor: not-allowed !important;
}

/* ==========================================================================
   INTERACTIVE FOCUS-VISIBLE STATES (ACCESSIBILITY COMPLIANCE)
   ========================================================================== */
.rulebook-close-btn:focus-visible,
#rulebook-footer-close-btn:focus-visible,
.btn-complete-rulebook:focus-visible,
#hero-rulebook-btn:focus-visible {
    outline: 2px solid var(--color-cyan) !important;
    outline-offset: 3px !important;
    box-shadow: 0 0 16px rgba(0, 224, 240, 0.6) !important;
}

.toc-item:focus-visible {
    outline: 2px solid var(--color-cyan) !important;
    outline-offset: 2px !important;
    background: rgba(0, 224, 240, 0.12) !important;
    color: #fff !important;
}

.mobile-toc-pill:focus-visible {
    outline: 2px solid var(--color-cyan) !important;
    outline-offset: 2px !important;
    border-color: var(--color-cyan) !important;
}

.rulebook-content-scroll:focus-visible {
    outline: 1px solid rgba(0, 224, 240, 0.3) !important;
    outline-offset: -1px !important;
}

/* ==========================================================================
   MOBILE & RESPONSIVE BEHAVIOR (DESKTOP & MOBILE CO-DESIGN)
   ========================================================================== */
@media (min-width: 901px) {
    .rulebook-mobile-toc {
        display: none !important;
    }
}

@media (max-width: 900px) {
    .rulebook-modal {
        padding: 0;
        justify-content: flex-start;
    }

    .rulebook-dialog {
        width: 100vw;
        height: 100dvh;
        max-width: 100vw;
        max-height: 100dvh;
        margin: 0;
        border-radius: 0;
        border: none;
        padding-top: env(safe-area-inset-top, 0);
        padding-bottom: env(safe-area-inset-bottom, 0);
    }

    .dialog-corner {
        display: none;
    }

    .rulebook-toc-sidebar {
        display: none !important;
    }

    .rulebook-mobile-toc {
        display: flex;
    }

    .rulebook-content-scroll {
        padding: 20px 16px 90px 16px;
    }

    .rulebook-dialog-header {
        padding: 14px 18px;
    }

    .status-chip-live {
        display: none;
    }

    .footer-codex-info {
        font-size: 0.65rem;
    }

    .rulebook-link-box {
        padding: 18px 16px;
        margin-top: 20px;
        margin-bottom: 20px;
    }

    .rulebook-link-url-wrapper {
        padding: 8px 12px;
    }

    .rulebook-raw-link {
        font-size: 0.78rem;
    }
}

@media (max-width: 600px) {
    .rulebook-dialog-header {
        padding: 12px 14px;
        gap: 8px;
    }

    .status-chip-live {
        display: none !important;
    }

    .rulebook-close-btn {
        min-width: 44px;
        min-height: 44px;
        padding: 6px 10px;
    }

    .rulebook-close-btn .close-txt {
        display: none;
    }

    .rulebook-dialog-footer {
        padding: 10px 14px;
        gap: 8px;
    }

    .footer-codex-info {
        font-size: 0.65rem;
    }

    #rulebook-footer-close-btn {
        padding: 6px 12px;
        font-size: 0.75rem;
    }
}

@media (max-width: 480px) {
    .rulebook-link-action-row {
        flex-direction: column;
        align-items: stretch;
        gap: 10px;
    }

    .rulebook-reg-btn {
        width: 100%;
        padding: 12px 14px;
        font-size: 0.82rem;
        letter-spacing: 1px;
    }

    .rulebook-dialog-title {
        font-size: 1rem;
        letter-spacing: 1px;
    }

    .article-title {
        font-size: 1.25rem;
    }

    .rulebook-close-btn {
        box-sizing: border-box;
        min-width: 44px;
        min-height: 44px;
        width: 44px;
        height: 44px;
        flex-shrink: 0;
        padding: 0;
        font-size: 0.85rem;
    }

    .rulebook-close-btn .close-txt {
        display: none;
    }

    .btn-complete-rulebook {
        padding: 14px 24px;
        font-size: 0.88rem;
        letter-spacing: 1.5px;
        width: 100%;
        max-width: 320px;
    }

    .rulebook-cta-micro {
        font-size: 0.62rem;
        text-align: center;
    }
}

/* ==========================================================================
   UNIVERSAL RULEBOOK SECTION & AWAITING RELEASE STATE
   ========================================================================== */
/* Modal Awaiting Release State (Inside Codex Popup) */
.modal-awaiting-container {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 40px 24px;
    flex: 1;
    min-height: 0;
    overflow-y: auto;
}

.modal-awaiting-card {
    background: rgba(8, 14, 26, 0.7);
    border: 1px dashed rgba(0, 224, 240, 0.35);
    border-radius: 10px;
    padding: 42px 36px;
    max-width: 680px;
    width: 100%;
    text-align: center;
    position: relative;
    box-shadow: 0 16px 45px rgba(0, 0, 0, 0.8), inset 0 0 30px rgba(0, 224, 240, 0.04);
}

.modal-awaiting-title {
    font-family: var(--font-heading);
    font-size: clamp(1.2rem, 2.6vw, 1.55rem);
    letter-spacing: 2px;
    color: #fff;
    margin: 16px 0 12px 0;
}

.modal-awaiting-desc {
    font-size: 0.98rem;
    color: rgba(225, 235, 250, 0.85);
    line-height: 1.75;
    max-width: 540px;
    margin: 0 auto 26px auto;
}

.chip-awaiting {
    color: #ffaa00 !important;
    background: rgba(255, 170, 0, 0.08) !important;
    border-color: rgba(255, 170, 0, 0.3) !important;
}

.dot-amber {
    background: #ffaa00 !important;
    box-shadow: 0 0 8px #ffaa00 !important;
}

.text-amber {
    color: #ffaa00 !important;
}


.awaiting-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-family: var(--font-mono);
    font-size: 0.75rem;
    letter-spacing: 2px;
    color: #ffaa00;
    padding: 6px 14px;
    background: rgba(255, 170, 0, 0.08);
    border: 1px solid rgba(255, 170, 0, 0.3);
    border-radius: 20px;
    margin-bottom: 20px;
}

.awaiting-title {
    font-family: var(--font-heading);
    font-size: clamp(1.15rem, 2.5vw, 1.45rem);
    letter-spacing: 1.5px;
    color: #fff;
    margin-bottom: 14px;
}

.awaiting-desc {
    font-size: 0.98rem;
    color: rgba(225, 235, 250, 0.82);
    line-height: 1.75;
    max-width: 680px;
    margin: 0 auto 26px auto;
}

.awaiting-meta-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(min(100%, 180px), 1fr));
    gap: 16px;
    margin-bottom: 24px;
    padding-top: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.awaiting-meta-item {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.awaiting-meta-item .meta-label {
    font-family: var(--font-mono);
    font-size: 0.65rem;
    letter-spacing: 2px;
    color: var(--text-muted);
}

.awaiting-meta-item .meta-val {
    font-family: var(--font-mono);
    font-size: 0.85rem;
    letter-spacing: 1.2px;
    color: #fff;
    font-weight: 600;
}

.awaiting-footer {
    font-family: var(--font-mono);
    font-size: 0.72rem;
    letter-spacing: 1.5px;
    color: rgba(0, 224, 240, 0.75);
    padding-top: 14px;
    border-top: 1px solid rgba(255, 255, 255, 0.06);
}

@media (max-width: 600px) {
    .awaiting-desc {
        font-size: 0.9rem;
    }

    .awaiting-meta-grid {
        grid-template-columns: 1fr;
        gap: 12px;
    }
}

/* ==========================================================================
   PREFERS-REDUCED-MOTION (PERFORMANCE & ACCESSIBILITY)
   ========================================================================== */
@media (prefers-reduced-motion: reduce) {

    .rulebook-modal,
    .rulebook-dialog,
    .rulebook-backdrop,
    .mobile-toc-pill,
    .toc-item,
    .btn-complete-rulebook,
    .rule-category-card,
    .chip-pulse-dot {
        transition: none !important;
        animation: none !important;
        transform: none !important;
    }

    .rulebook-content-scroll,
    .rulebook-mobile-toc {
        scroll-behavior: auto !important;
    }
}


/* Challenge Tracks Grid */
.challenge-tracks-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(min(100%, 280px), 1fr));
    gap: 24px;
    margin-top: 40px;
}

.challenge-track-card {
    background: rgba(8, 12, 22, 0.65);
    border: 1px solid rgba(255, 85, 0, 0.2);
    border-radius: 8px;
    padding: 28px 24px;
    position: relative;
    backdrop-filter: blur(8px);
    transition: transform 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease;
}

.challenge-track-card:hover {
    border-color: var(--color-orange);
    box-shadow: 0 10px 30px rgba(255, 85, 0, 0.15);
    transform: translateY(-4px);
}

.track-number {
    font-family: var(--font-mono);
    font-size: 0.75rem;
    color: var(--color-orange);
    letter-spacing: 2px;
    margin-bottom: 8px;
}

.track-title {
    font-family: var(--font-heading);
    font-size: 1.35rem;
    font-weight: 700;
    color: #fff;
    margin-bottom: 12px;
}

.track-desc {
    font-size: 0.9rem;
    color: var(--text-secondary);
    line-height: 1.6;
    margin-bottom: 18px;
}

.track-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
}

.track-tag {
    font-family: var(--font-mono);
    font-size: 0.68rem;
    padding: 3px 8px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: rgba(255, 255, 255, 0.7);
    border-radius: 3px;
}

/* Submission Steps */
.submission-pipeline {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(min(100%, 240px), 1fr));
    gap: 20px;
    margin-top: 40px;
}

.submission-step {
    background: rgba(8, 12, 22, 0.6);
    border: 1px solid rgba(123, 0, 255, 0.25);
    border-radius: 8px;
    padding: 24px 20px;
    position: relative;
    backdrop-filter: blur(8px);
    transition: transform 0.3s ease, border-color 0.3s ease;
}

.submission-step:hover {
    border-color: var(--color-purple);
    transform: translateY(-3px);
}

.submission-step-num {
    font-family: var(--font-display);
    font-size: 2rem;
    font-weight: 900;
    color: rgba(123, 0, 255, 0.5);
    line-height: 1;
    margin-bottom: 12px;
}

.submission-step-title {
    font-family: var(--font-heading);
    font-size: 1.15rem;
    font-weight: 700;
    color: #fff;
    margin-bottom: 8px;
}

.submission-step-desc {
    font-size: 0.88rem;
    color: var(--text-secondary);
    line-height: 1.55;
}

/* Criteria Grid */
.criteria-cards-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(min(100%, 220px), 1fr));
    gap: 20px;
    margin-top: 40px;
}

.criteria-card {
    background: rgba(8, 12, 22, 0.6);
    border: 1px solid rgba(0, 224, 240, 0.15);
    border-radius: 8px;
    padding: 24px 20px;
    text-align: center;
    transition: transform 0.3s ease, border-color 0.3s ease;
}

.criteria-card:hover {
    border-color: var(--color-cyan);
    transform: translateY(-3px);
}

.criteria-icon {
    font-size: 2rem;
    margin-bottom: 12px;
}

.criteria-title {
    font-family: var(--font-heading);
    font-size: 1.15rem;
    color: #fff;
    font-weight: 700;
    margin-bottom: 8px;
}

.criteria-desc {
    font-size: 0.85rem;
    color: var(--text-secondary);
    line-height: 1.5;
}

/* Disqualification Warning Banner */
.disqualification-warning-card {
    background: rgba(208, 32, 240, 0.05);
    border: 1px solid rgba(208, 32, 240, 0.35);
    border-radius: 8px;
    padding: 32px 28px;
    margin-top: 40px;
    position: relative;
    backdrop-filter: blur(10px);
}

.disqualification-warning-header {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 20px;
}

.warning-icon {
    font-size: 1.8rem;
}

.warning-title {
    font-family: var(--font-heading);
    font-size: 1.4rem;
    font-weight: 700;
    color: var(--color-magenta);
    letter-spacing: 1px;
}

.disqualification-list {
    list-style: none;
    padding-left: 0;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(min(100%, 280px), 1fr));
    gap: 16px;
}

.disqualification-item {
    background: rgba(3, 3, 5, 0.6);
    border: 1px solid rgba(208, 32, 240, 0.18);
    border-radius: 6px;
    padding: 16px 18px;
    font-size: 0.9rem;
    color: rgba(255, 220, 230, 0.9);
    line-height: 1.55;
    position: relative;
    padding-left: 36px;
}

.disqualification-item::before {
    content: '✕';
    position: absolute;
    left: 14px;
    color: var(--color-magenta);
    font-weight: 900;
}

/* Instructions Checklist */
.instructions-dual-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(min(100%, 320px), 1fr));
    gap: 28px;
    margin-top: 40px;
}

.instructions-column-card {
    background: rgba(8, 12, 22, 0.65);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    padding: 30px 26px;
    backdrop-filter: blur(10px);
}

.instructions-column-card.card-provided {
    border-color: rgba(0, 224, 240, 0.25);
}

.instructions-column-card.card-bring {
    border-color: rgba(255, 170, 0, 0.25);
}

.instruction-col-title {
    font-family: var(--font-heading);
    font-size: 1.3rem;
    font-weight: 700;
    color: #fff;
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.instruction-checklist {
    list-style: none;
    padding-left: 0;
}

.instruction-checklist li {
    padding: 10px 0 10px 32px;
    position: relative;
    font-size: 0.92rem;
    color: rgba(240, 240, 245, 0.85);
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    line-height: 1.55;
}

.instruction-checklist li:last-child {
    border-bottom: none;
}

.card-provided .instruction-checklist li::before {
    content: '✓';
    position: absolute;
    left: 4px;
    color: var(--color-cyan);
    font-weight: 700;
}

.card-bring .instruction-checklist li::before {
    content: '→';
    position: absolute;
    left: 4px;
    color: var(--color-gold);
    font-weight: 700;
}

/* ==========================================================================
   FESTIVAL SCHEDULE COMPONENT (TECHYON 2K26)
   Single source of truth rendered via TECHYON_EVENTS.renderFestivalSchedule
   ========================================================================== */

.festival-schedule-component {
    width: 100%;
    max-width: 1200px;
    margin: 30px auto 0 auto;
    position: relative;
    z-index: 2;
}

/* Day Switcher Navigation */
.schedule-day-tabs {
    display: flex;
    justify-content: center;
    gap: 16px;
    margin-bottom: 36px;
    flex-wrap: wrap;
}

.events-date-selector {
    margin: 15px auto 35px auto;
    max-width: 960px;
    width: 100%;
}

.events-date-selector .schedule-tab-btn {
    flex: 1 1 240px;
    max-width: 310px;
    min-width: 220px;
}

.schedule-tab-btn {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    min-width: 260px;
    padding: 16px 28px;
    background: rgba(10, 16, 28, 0.75);
    border: 1px solid rgba(0, 224, 240, 0.2);
    border-radius: 6px;
    cursor: pointer;
    outline: none;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    transition: all 0.25s cubic-bezier(0.25, 1, 0.5, 1);
}

.schedule-tab-btn:hover {
    border-color: rgba(0, 224, 240, 0.5);
    background: rgba(14, 22, 38, 0.85);
    box-shadow: 0 0 20px rgba(0, 224, 240, 0.15);
    transform: translateY(-2px);
}

.schedule-tab-btn:focus-visible {
    border-color: var(--color-cyan);
    box-shadow: 0 0 0 2px rgba(0, 224, 240, 0.4), 0 0 25px rgba(0, 224, 240, 0.3);
}

.schedule-tab-btn.active {
    background: linear-gradient(135deg, rgba(0, 224, 240, 0.14) 0%, rgba(123, 0, 255, 0.1) 100%);
    border-color: var(--color-cyan);
    box-shadow: 0 0 30px rgba(0, 224, 240, 0.25), inset 0 0 15px rgba(0, 224, 240, 0.08);
}

.tab-badge-num {
    font-family: var(--font-display);
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 2.5px;
    color: var(--color-cyan);
    margin-bottom: 4px;
    text-transform: uppercase;
}

.tab-label-main {
    font-family: var(--font-heading);
    font-size: 1.35rem;
    font-weight: 700;
    letter-spacing: 1.5px;
    color: var(--text-primary);
    text-transform: uppercase;
}

.schedule-tab-btn.active .tab-label-main {
    color: #ffffff;
    text-shadow: 0 0 10px rgba(0, 224, 240, 0.5);
}

.tab-sub-info {
    font-family: var(--font-mono);
    font-size: 0.72rem;
    letter-spacing: 1px;
    color: var(--text-secondary);
    margin-top: 4px;
}

.tab-active-indicator {
    position: absolute;
    bottom: -1px;
    left: 20%;
    right: 20%;
    height: 2px;
    background: transparent;
    transition: all 0.25s ease;
    border-radius: 2px;
}

.schedule-tab-btn.active .tab-active-indicator {
    background: var(--color-cyan);
    box-shadow: 0 0 10px var(--color-cyan);
}

/* Day Panels */
.schedule-panels-container {
    position: relative;
    width: 100%;
}

.schedule-day-panel {
    display: none;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.schedule-day-panel.active {
    display: block;
    opacity: 1;
    animation: schedFadeIn 0.35s ease forwards;
}

@keyframes schedFadeIn {
    from {
        opacity: 0;
        transform: translateY(8px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.schedule-panel-header {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin-bottom: 24px;
    padding-bottom: 16px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.panel-header-pre {
    font-family: var(--font-mono);
    font-size: 0.75rem;
    color: var(--color-cyan);
    letter-spacing: 2px;
    width: 100%;
    margin-bottom: 4px;
}

.panel-header-title {
    font-family: var(--font-display);
    font-size: 1.4rem;
    font-weight: 700;
    color: var(--text-primary);
    letter-spacing: 1.5px;
    margin: 0;
    text-transform: uppercase;
}

.panel-header-badge {
    font-family: var(--font-mono);
    font-size: 0.75rem;
    padding: 6px 14px;
    background: rgba(0, 224, 240, 0.08);
    border: 1px solid rgba(0, 224, 240, 0.3);
    color: var(--color-cyan);
    border-radius: 20px;
    letter-spacing: 1px;
}

/* Schedule Timeline Grid */
.schedule-timeline-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(min(100%, 350px), 1fr));
    gap: 20px;
}

/* Schedule Card */
.schedule-item-card {
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    padding: 22px;
    background: rgba(8, 12, 22, 0.85);
    border: 1px solid rgba(0, 224, 240, 0.15);
    border-radius: 6px;
    overflow: hidden;
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    transition: transform 0.25s cubic-bezier(0.25, 1, 0.5, 1),
        border-color 0.25s ease,
        box-shadow 0.25s ease;
}

.schedule-card-accent {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: linear-gradient(90deg, var(--color-cyan) 0%, transparent 100%);
}

.schedule-item-card.badge-continuous .schedule-card-accent {
    background: linear-gradient(90deg, var(--color-cyan) 0%, var(--color-purple) 100%);
    box-shadow: 0 0 8px rgba(0, 224, 240, 0.4);
}

.schedule-item-card.badge-overnight .schedule-card-accent {
    background: linear-gradient(90deg, var(--color-magenta) 0%, var(--color-purple) 100%);
    box-shadow: 0 0 8px rgba(208, 32, 240, 0.4);
}

.schedule-item-card.badge-pending .schedule-card-accent,
.schedule-item-card.badge-pending-both .schedule-card-accent {
    background: linear-gradient(90deg, var(--color-gold) 0%, transparent 100%);
}

.schedule-item-card.badge-overflow .schedule-card-accent {
    background: linear-gradient(90deg, var(--color-silver) 0%, transparent 100%);
}

.schedule-item-card:hover {
    transform: translateY(-4px);
    border-color: rgba(0, 224, 240, 0.45);
    box-shadow: 0 12px 28px rgba(0, 0, 0, 0.55), 0 0 20px rgba(0, 224, 240, 0.18);
}

/* Card Header */
.schedule-card-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 10px;
    margin-bottom: 16px;
    flex-wrap: wrap;
}

.schedule-time-box {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-family: var(--font-mono);
    font-size: 0.82rem;
    font-weight: 600;
    padding: 5px 10px;
    border-radius: 4px;
    border: 1px solid;
    letter-spacing: 0.5px;
}

.time-confirmed {
    background: rgba(0, 224, 240, 0.1);
    border-color: rgba(0, 224, 240, 0.35);
    color: var(--color-cyan);
}

.time-continuous {
    background: rgba(0, 224, 240, 0.16);
    border-color: var(--color-cyan);
    color: #ffffff;
    box-shadow: 0 0 10px rgba(0, 224, 240, 0.25);
}

.time-overnight {
    background: rgba(208, 32, 240, 0.16);
    border-color: var(--color-magenta);
    color: #ffffff;
    box-shadow: 0 0 10px rgba(208, 32, 240, 0.25);
}

.time-pending {
    background: rgba(255, 170, 0, 0.1);
    border-color: rgba(255, 170, 0, 0.4);
    color: var(--color-gold);
}

.time-overflow {
    background: rgba(160, 170, 181, 0.1);
    border-color: rgba(160, 170, 181, 0.4);
    color: var(--color-silver);
}

.time-clock-icon {
    font-size: 0.82rem;
}

.schedule-status-pill {
    font-family: var(--font-mono);
    font-size: 0.68rem;
    letter-spacing: 0.75px;
    padding: 4px 8px;
    border-radius: 3px;
    text-transform: uppercase;
    font-weight: 700;
}

.badge-confirmed {
    color: #00ff88;
    background: rgba(0, 255, 136, 0.1);
    border: 1px solid rgba(0, 255, 136, 0.3);
}

.badge-continuous {
    color: var(--color-cyan);
    background: rgba(0, 224, 240, 0.12);
    border: 1px solid rgba(0, 224, 240, 0.4);
}

.badge-overnight {
    color: var(--color-magenta);
    background: rgba(208, 32, 240, 0.12);
    border: 1px solid rgba(208, 32, 240, 0.4);
}

.badge-pending,
.badge-pending-both {
    color: var(--color-gold);
    background: rgba(255, 170, 0, 0.12);
    border: 1px solid rgba(255, 170, 0, 0.4);
}

.badge-overflow {
    color: var(--color-silver);
    background: rgba(160, 170, 181, 0.12);
    border: 1px solid rgba(160, 170, 181, 0.4);
}

/* Card Body */
.schedule-card-body {
    flex-grow: 1;
    margin-bottom: 18px;
}

.schedule-item-title {
    font-family: var(--font-display);
    font-size: 1.15rem;
    font-weight: 700;
    margin-bottom: 8px;
    line-height: 1.35;
    letter-spacing: 0.5px;
}

.schedule-card-title-link {
    color: var(--text-primary);
    text-decoration: none;
    transition: color 0.2s ease;
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.schedule-card-title-link:hover {
    color: var(--color-cyan);
    text-shadow: 0 0 8px rgba(0, 224, 240, 0.4);
}

.schedule-card-title-link .title-arrow {
    font-size: 0.9em;
    transition: transform 0.2s ease;
}

.schedule-card-title-link:hover .title-arrow {
    transform: translateX(4px);
}

.schedule-card-title-static {
    color: var(--text-primary);
}

.schedule-item-desc {
    font-family: var(--font-body);
    font-size: 0.86rem;
    color: var(--text-secondary);
    line-height: 1.5;
    margin-bottom: 12px;
}

.schedule-time-note {
    font-family: var(--font-mono);
    font-size: 0.78rem;
    color: var(--color-gold);
    background: rgba(255, 170, 0, 0.08);
    padding: 6px 10px;
    border-radius: 3px;
    border-left: 2px solid var(--color-gold);
    margin-bottom: 12px;
    display: flex;
    align-items: center;
    gap: 6px;
}

.note-bullet {
    font-size: 0.75rem;
    color: var(--color-gold);
}

.schedule-meta-row {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    margin-top: 10px;
    padding-top: 10px;
    border-top: 1px solid rgba(255, 255, 255, 0.06);
}

.schedule-venue-box {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-family: var(--font-mono);
    font-size: 0.8rem;
    max-width: 100%;
}

.venue-confirmed {
    color: var(--text-primary);
}

.venue-pending {
    color: var(--color-gold);
    font-style: italic;
}

.venue-pin-icon {
    font-size: 0.82rem;
}

.schedule-depts-wrap {
    display: flex;
    flex-wrap: wrap;
    gap: 5px;
}

.schedule-dept-pill {
    font-family: var(--font-mono);
    font-size: 0.68rem;
    padding: 2px 7px;
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 2px;
    color: var(--text-secondary);
    letter-spacing: 0.5px;
}

/* Card Footer */
.schedule-card-footer {
    margin-top: auto;
    padding-top: 12px;
    border-top: 1px solid rgba(255, 255, 255, 0.06);
}

.btn-schedule-action {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    width: 100%;
    padding: 8px 16px;
    font-family: var(--font-display);
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 1.5px;
    text-decoration: none;
    color: var(--color-cyan);
    background: rgba(0, 224, 240, 0.06);
    border: 1px solid rgba(0, 224, 240, 0.3);
    border-radius: 4px;
    transition: all 0.2s cubic-bezier(0.25, 1, 0.5, 1);
    cursor: pointer;
}

.btn-schedule-action:hover {
    background: rgba(0, 224, 240, 0.18);
    border-color: var(--color-cyan);
    box-shadow: 0 0 15px rgba(0, 224, 240, 0.3);
    color: #ffffff;
}

.btn-schedule-action .btn-arrow {
    transition: transform 0.2s ease;
}

.btn-schedule-action:hover .btn-arrow {
    transform: translateX(4px);
}

.schedule-badge-nonroute {
    display: block;
    text-align: center;
    font-family: var(--font-mono);
    font-size: 0.72rem;
    letter-spacing: 1.2px;
    color: var(--text-muted);
    padding: 6px 12px;
    background: rgba(255, 255, 255, 0.02);
    border: 1px dashed rgba(255, 255, 255, 0.12);
    border-radius: 4px;
}

/* Responsive Breakpoints */
@media (max-width: 900px) {
    .schedule-timeline-grid {
        grid-template-columns: repeat(auto-fill, minmax(min(100%, 300px), 1fr));
        gap: 16px;
    }
}

@media (max-width: 600px) {
    .schedule-day-tabs {
        flex-direction: column;
        align-items: stretch;
        gap: 10px;
    }

    .schedule-tab-btn {
        min-width: 100%;
        width: 100%;
        max-width: 100%;
        flex: 0 1 auto;
        height: auto;
        padding: 12px 16px;
    }

    .events-date-selector {
        margin: 10px auto 24px auto;
        padding: 0 4px;
    }

    .events-date-selector .schedule-tab-btn {
        flex: 0 1 auto;
        max-width: 100%;
        min-width: 100%;
        height: auto;
    }

    .tab-label-main {
        font-size: 1.15rem;
    }

    .schedule-panel-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 8px;
    }

    .panel-header-title {
        font-size: 1.15rem;
    }

    .panel-header-badge {
        align-self: flex-start;
    }

    .schedule-timeline-grid {
        grid-template-columns: 1fr;
    }

    .schedule-item-card {
        padding: 16px;
    }
}

@media (max-width: 360px) {
    .schedule-item-card {
        padding: 14px 10px;
    }

    .schedule-item-title {
        font-size: 1.05rem;
    }

    .schedule-time-box {
        font-size: 0.75rem;
        padding: 4px 8px;
    }

    .schedule-status-pill {
        font-size: 0.62rem;
        padding: 3px 6px;
    }
}

.confirmed-badge {
    margin-top: 15px;
    display: inline-flex;
    align-items: center;
    gap: 15px;
    background: rgba(0, 224, 240, 0.06);
    border: 1px solid rgba(0, 224, 240, 0.35);
    padding: 8px 20px;
    border-radius: 4px;
    font-family: var(--font-mono);
    font-size: 0.75rem;
    color: var(--color-cyan);
    letter-spacing: 2px;
    box-shadow: 0 0 15px rgba(0, 224, 240, 0.15);
}

/* ==========================================================================
   DYNAMIC PRIZE PENDING STYLING (SINGLE SOURCE OF TRUTH)
   ========================================================================== */

.prize-callout-val.pending-val {
    font-size: 0.95rem;
    letter-spacing: 2px;
    opacity: 0.9;
}

.prizes-pending-container {
    max-width: 680px;
    margin: 40px auto 0;
    padding: 40px 30px;
    background: rgba(10, 16, 28, 0.75);
    border: 1px dashed rgba(255, 170, 0, 0.35);
    border-radius: 8px;
    text-align: center;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    box-shadow: 0 0 25px rgba(255, 170, 0, 0.08);
}

.pending-prize-badge {
    display: inline-block;
    font-family: var(--font-mono);
    font-size: 0.72rem;
    letter-spacing: 2px;
    color: var(--color-gold);
    background: rgba(255, 170, 0, 0.1);
    border: 1px solid rgba(255, 170, 0, 0.3);
    padding: 5px 14px;
    border-radius: 20px;
    margin-bottom: 16px;
}

.pending-prize-title {
    font-family: var(--font-display);
    font-size: 1.35rem;
    font-weight: 700;
    letter-spacing: 1.5px;
    color: #ffffff;
    margin-bottom: 12px;
}

.pending-prize-desc {
    font-family: var(--font-body);
    font-size: 0.92rem;
    line-height: 1.6;
    color: var(--text-secondary);
    max-width: 540px;
    margin: 0 auto 20px;
}

.pending-prize-meta {
    display: flex;
    justify-content: center;
    gap: 16px;
    flex-wrap: wrap;
}

.pending-prize-meta .meta-tag {
    font-family: var(--font-mono);
    font-size: 0.75rem;
    letter-spacing: 0.5px;
    color: rgba(240, 240, 245, 0.75);
}

/* ==========================================================================
   CYBERNOVA CENTRALIZED SPONSORS ARCHITECTURE
   ========================================================================== */
.sponsors-page-wrapper {
    padding-top: 130px;
    padding-bottom: 90px;
    position: relative;
    z-index: 2;
}

.sponsors-hero-header {
    margin-bottom: 40px;
}

.sponsors-hero-subtitle {
    font-family: var(--font-mono);
    font-size: 0.88rem;
    color: var(--color-cyan);
    letter-spacing: 3px;
    margin-top: 10px;
}

.sponsors-category-section {
    padding: 40px 0;
}

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

.category-tag {
    font-family: var(--font-mono);
    font-size: 0.78rem;
    color: var(--text-dim);
    letter-spacing: 3px;
    margin-bottom: 8px;
}

.category-title {
    font-family: var(--font-heading);
    font-size: clamp(1.4rem, 3vw, 2.2rem);
    letter-spacing: 2px;
    color: #ffffff;
}

.dept-block-heading {
    font-family: var(--font-mono);
    font-size: 0.92rem;
    color: var(--color-cyan);
    letter-spacing: 3px;
    text-align: center;
    border-bottom: 1px dashed rgba(0, 224, 240, 0.2);
    padding-bottom: 10px;
    margin-bottom: 25px;
}

/* Pending announcement state on /sponsors/ */
.sponsors-pending-box {
    position: relative;
    background: rgba(10, 16, 28, 0.85);
    border: 1px dashed rgba(0, 224, 240, 0.35);
    border-radius: 8px;
    padding: 45px 35px;
    text-align: center;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.6);
}

.sponsors-pending-title {
    font-family: var(--font-heading);
    font-size: clamp(1.2rem, 2.5vw, 1.6rem);
    letter-spacing: 1.5px;
    color: #ffffff;
    margin-bottom: 14px;
}

.sponsors-pending-desc {
    font-family: var(--font-body);
    font-size: 0.95rem;
    line-height: 1.65;
    color: var(--text-secondary);
    max-width: 620px;
    margin: 0 auto 20px;
}

.sponsors-pending-meta {
    font-family: var(--font-mono);
    font-size: 0.75rem;
    color: var(--color-cyan);
    letter-spacing: 2px;
}

/* Sponsor card enhancements */
.sponsor-card {
    min-width: 180px;
    min-height: 90px;
    background: rgba(10, 16, 28, 0.65);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(0, 224, 240, 0.15);
    border-radius: 6px;
    padding: 22px 28px;
    display: inline-flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    transition: all 0.3s ease;
    cursor: pointer;
}

.sponsor-card.sponsor-card-static {
    cursor: default;
}

.sponsor-card:hover {
    border-color: rgba(0, 224, 240, 0.5);
    background: rgba(15, 25, 45, 0.85);
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(0, 224, 240, 0.15);
}

.sponsor-card.sponsor-card-static:hover {
    transform: none;
    box-shadow: none;
    border-color: rgba(0, 224, 240, 0.25);
}

.sponsor-card-tier-badge {
    font-family: var(--font-mono);
    font-size: 0.68rem;
    color: var(--color-cyan);
    letter-spacing: 2px;
    margin-bottom: 8px;
    text-transform: uppercase;
}

.sponsor-logo-wrap {
    display: flex;
    align-items: center;
    justify-content: center;
    max-width: 220px;
}

.sponsor-logo-img {
    max-height: 60px;
    max-width: 190px;
    object-fit: contain;
    transition: transform 0.3s ease;
}

.sponsor-card:hover .sponsor-logo-img {
    transform: scale(1.04);
}

.sponsor-placeholder.sponsor-text-only {
    font-family: var(--font-heading);
    font-size: 1.05rem;
    letter-spacing: 1.5px;
    color: #ffffff;
    text-align: center;
}

.sponsor-card-desc {
    font-family: var(--font-body);
    font-size: 0.8rem;
    color: var(--text-dim);
    margin-top: 8px;
    text-align: center;
    line-height: 1.4;
}


/* ==========================================================================
   DOOM N DEBUG / CYBERNOVA CHALLENGE ARCHIVE & EVENT PAGE SYSTEM
   ========================================================================== */

#main-content {
    position: relative;
    z-index: 1;
}

.cinematic-hero-section,
.section,
.cinematic-specs-section,
.event-section-block {
    position: relative;
    z-index: 1;
}

/* Challenge Archive Section */
.challenge-section {
    position: relative;
    z-index: 1;
}

.challenges-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(min(100%, 360px), 1fr));
    gap: 28px;
    margin-top: 40px;
}

.challenge-card {
    position: relative;
    background: rgba(10, 16, 28, 0.88);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    border: 1px solid rgba(0, 224, 240, 0.2);
    border-radius: 10px;
    transition: transform 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease;
    overflow: hidden;
}

.challenge-card:hover {
    transform: translateY(-4px);
    border-color: rgba(0, 224, 240, 0.55);
    box-shadow: 0 10px 30px rgba(0, 224, 240, 0.15);
}

.challenge-card-inner {
    padding: 32px 28px;
    position: relative;
    display: flex;
    flex-direction: column;
    height: 100%;
}

/* CyberNova Corner Accents */
.challenge-corner {
    position: absolute;
    width: 8px;
    height: 8px;
    border-color: var(--color-cyan);
    pointer-events: none;
    opacity: 0.7;
}

.challenge-corner.tl {
    top: 8px;
    left: 8px;
    border-top: 2px solid var(--color-cyan);
    border-left: 2px solid var(--color-cyan);
}

.challenge-corner.tr {
    top: 8px;
    right: 8px;
    border-top: 2px solid var(--color-cyan);
    border-right: 2px solid var(--color-cyan);
}

.challenge-corner.bl {
    bottom: 8px;
    left: 8px;
    border-bottom: 2px solid var(--color-cyan);
    border-left: 2px solid var(--color-cyan);
}

.challenge-corner.br {
    bottom: 8px;
    right: 8px;
    border-bottom: 2px solid var(--color-cyan);
    border-right: 2px solid var(--color-cyan);
}

/* Challenge Header */
.challenge-card-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 18px;
}

.challenge-tag {
    font-family: var(--font-display);
    font-size: 0.78rem;
    font-weight: 700;
    color: var(--color-cyan);
    letter-spacing: 1.5px;
    background: rgba(0, 224, 240, 0.1);
    border: 1px solid rgba(0, 224, 240, 0.3);
    padding: 4px 10px;
    border-radius: 4px;
}

.challenge-category-tag {
    font-family: var(--font-mono);
    font-size: 0.72rem;
    color: var(--color-purple);
    background: rgba(123, 0, 255, 0.12);
    border: 1px solid rgba(123, 0, 255, 0.3);
    padding: 3px 8px;
    border-radius: 4px;
    letter-spacing: 1px;
}

.challenge-status {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-family: var(--font-display);
    font-size: 0.72rem;
    color: #00ff88;
    letter-spacing: 1px;
}

.challenge-status-dot {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: #00ff88;
    box-shadow: 0 0 8px #00ff88;
}

/* Challenge Typography */
.challenge-title {
    font-family: var(--font-heading);
    font-size: 1.4rem;
    font-weight: 700;
    color: #ffffff;
    margin-bottom: 8px;
    line-height: 1.3;
}

.challenge-subtitle {
    font-family: var(--font-mono);
    font-size: 0.88rem;
    color: var(--color-cyan);
    margin-bottom: 14px;
    letter-spacing: 0.5px;
}

.challenge-desc {
    font-family: var(--font-body);
    font-size: 0.92rem;
    color: var(--text-secondary);
    line-height: 1.6;
    margin-bottom: 20px;
    flex-grow: 1;
}

/* Tech Stack Pills */
.challenge-tech-stack {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 8px;
    margin-top: auto;
    padding-top: 16px;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.tech-stack-label {
    font-family: var(--font-display);
    font-size: 0.7rem;
    color: rgba(255, 255, 255, 0.5);
    letter-spacing: 1px;
    margin-right: 4px;
}

.tech-tag {
    display: inline-block;
    font-family: var(--font-mono);
    font-size: 0.78rem;
    color: #00E0F0;
    background: rgba(0, 224, 240, 0.08);
    border: 1px solid rgba(0, 224, 240, 0.25);
    padding: 3px 9px;
    border-radius: 4px;
    transition: all 0.2s ease;
}

.tech-tag:hover {
    background: rgba(0, 224, 240, 0.2);
    border-color: rgba(0, 224, 240, 0.5);
}

.challenge-footer-meta {
    margin-top: 12px;
}

.challenge-meta-pill {
    font-family: var(--font-mono);
    font-size: 0.72rem;
    color: var(--color-gold);
    background: rgba(255, 170, 0, 0.1);
    border: 1px solid rgba(255, 170, 0, 0.25);
    padding: 3px 8px;
    border-radius: 4px;
    letter-spacing: 1px;
}

.challenge-accent {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: linear-gradient(90deg, transparent, var(--color-cyan), transparent);
    opacity: 0.4;
}

/* Instructions Cards Unified Styling */
.instructions-cards-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(min(100%, 320px), 1fr));
    gap: 28px;
    margin-top: 40px;
}

.instruction-card {
    background: rgba(10, 16, 28, 0.88);
    border: 1px solid rgba(0, 224, 240, 0.2);
    border-radius: 8px;
    padding: 30px 26px;
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    transition: border-color 0.3s ease;
}

.instruction-card.card-provided {
    border-color: rgba(0, 224, 240, 0.3);
}

.instruction-card.card-bring {
    border-color: rgba(255, 170, 0, 0.3);
}

.instruction-card-header {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 20px;
}

.instruction-icon {
    width: 28px;
    height: 28px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 0.95rem;
}

.card-provided .instruction-icon {
    background: rgba(0, 224, 240, 0.15);
    color: var(--color-cyan);
    border: 1px solid rgba(0, 224, 240, 0.4);
}

.card-bring .instruction-icon {
    background: rgba(255, 170, 0, 0.15);
    color: var(--color-gold);
    border: 1px solid rgba(255, 170, 0, 0.4);
}

.instruction-card-header h3 {
    font-family: var(--font-heading);
    font-size: 1.25rem;
    font-weight: 700;
    color: #fff;
    margin: 0;
    letter-spacing: 1px;
}

/* Responsive Overrides */
@media (max-width: 768px) {
    .challenges-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .challenge-card-inner {
        padding: 24px 20px;
    }

    .challenge-title {
        font-size: 1.25rem;
    }

    .instructions-cards-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
}


/* ==========================================================================
   EVENT DETAIL PAGES - VERTICAL SPACING & DENSITY OPTIMIZATIONS
   Eliminates excessive vertical whitespace, normalizes section padding,
   and tightly resolves the gap before the Prize Pool section.
   ========================================================================== */

.event-detail-page .section {
    padding: 48px 0 38px;
    scroll-margin-top: 80px;
}

.event-detail-page .cinematic-hero-section {
    padding-top: 10px;
    padding-bottom: 38px;
}

.event-detail-page .cinematic-specs-section {
    position: relative;
    z-index: 10;
    padding: 15px 0 25px;
}

.event-detail-page .cinematic-specs-grid {
    margin-bottom: 0;
}

/* Event Briefing panel */
.event-detail-page .cinematic-brief-section {
    padding: 24px 0 20px;
}

.event-detail-page .cinematic-brief-panel {
    background: rgba(10, 16, 28, 0.65);
    border: 1px solid rgba(0, 224, 240, 0.2);
    border-radius: 8px;
    padding: 26px 24px;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.4);
}

.event-detail-page .brief-header {
    margin-bottom: 14px;
}

.event-detail-page .brief-tag {
    font-family: var(--font-mono);
    font-size: 0.72rem;
    letter-spacing: 2px;
    color: var(--color-cyan);
    margin-bottom: 6px;
}

.event-detail-page .brief-title {
    font-family: var(--font-display);
    font-size: 1.45rem;
    letter-spacing: 1.5px;
    color: #ffffff;
    margin: 0;
}

.event-detail-page .brief-body p {
    font-family: var(--font-body);
    font-size: 0.95rem;
    line-height: 1.65;
    color: var(--text-secondary);
    margin: 0;
}

/* Prize Pool Section & Pending Box (eliminates massive 450px void) */
.event-detail-page #prizes.section {
    padding: 38px 0 30px;
}

.event-detail-page .prize-visualization {
    min-height: auto;
    margin-top: 24px;
    margin-bottom: 0;
}

.event-detail-page .prizes-pending-container {
    max-width: 680px;
    margin: 14px auto 0;
    padding: 26px 24px;
}

.event-detail-page .pending-prize-badge {
    margin-bottom: 12px;
}

.event-detail-page .pending-prize-title {
    font-size: 1.25rem;
    margin-bottom: 10px;
}

.event-detail-page .pending-prize-desc {
    margin-bottom: 16px;
    font-size: 0.9rem;
    line-height: 1.55;
}

/* Call-to-Action Banner */
.event-detail-page .cinematic-cta-section {
    margin-top: 30px;
    margin-bottom: 20px;
}

.event-detail-page .cinematic-cta-banner {
    padding: 32px 24px;
    margin-top: 0;
}

/* Related Events Section */
.event-detail-page .cinematic-related-section {
    margin-top: 30px;
    margin-bottom: 40px;
}

.event-detail-page .cinematic-related-card {
    text-decoration: none;
    color: inherit;
    cursor: pointer;
    display: flex;
    flex-direction: column;
}

.event-detail-page .cinematic-related-card:hover {
    border-color: rgba(0, 224, 240, 0.6);
    transform: translateY(-3px);
}

.event-detail-page .cinematic-related-card:hover .related-link .arrow {
    transform: translateX(4px);
}

@media (max-width: 768px) {
    .event-detail-page .section {
        padding: 32px 0 24px;
    }

    .event-detail-page .cinematic-hero-section {
        padding-top: 10px;
        padding-bottom: 28px;
    }

    .event-detail-page .cinematic-brief-panel {
        padding: 20px 16px;
    }

    .event-detail-page .prizes-pending-container {
        padding: 20px 16px;
        margin-top: 10px;
    }

    .event-detail-page .cinematic-cta-banner {
        padding: 24px 16px;
    }

    .event-card-modern {
        padding: 18px 14px;
    }
}

/* Sub-points and nested bullets for Rulebook */
.article-subpoints-list {
    list-style: none !important;
    padding-left: 0 !important;
    margin-top: 10px !important;
}

.article-subpoints-list li {
    position: relative !important;
    padding-left: 22px !important;
    margin-bottom: 8px !important;
    font-size: 0.91rem !important;
    color: rgba(220, 230, 245, 0.85) !important;
    line-height: 1.65 !important;
}

.article-subpoints-list li::before {
    content: '○' !important;
    color: var(--color-purple, #b44bff) !important;
    font-size: 0.85rem !important;
    left: 2px !important;
    top: 0px !important;
}

/* ==========================================================================
   OFFICIAL TECHYON 2K26 WEBSITE-WIDE BRANDING
   ========================================================================== */

/* Hero Section TECHYON Festival Logo */
.brand-techyon-wrap {
    display: flex;
    align-items: center;
    margin-bottom: 20px;
}

.brand-techyon-wrap.center,
.hero-content.center .brand-techyon-wrap,
.cinematic-hero-inner .brand-techyon-wrap {
    justify-content: center;
    margin-left: auto;
    margin-right: auto;
}

.brand-techyon-logo {
    height: clamp(38px, 5vw, 54px);
    width: auto;
    max-width: 100%;
    object-fit: contain;
    display: block;
    filter: drop-shadow(0 0 14px rgba(0, 224, 240, 0.45));
    transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1), filter 0.3s ease;
}

.brand-techyon-logo:hover {
    transform: scale(1.03);
    filter: drop-shadow(0 0 22px rgba(0, 224, 240, 0.75)) brightness(1.1);
}

/* Subtle Section-Level TECHYON Branding (Homepage sections) */
.section-brand-wrap {
    display: flex;
    align-items: center;
    margin-bottom: 12px;
}

.section-brand-wrap.center {
    justify-content: center;
    margin-left: auto;
    margin-right: auto;
}

.section-brand-logo {
    height: 28px;
    width: auto;
    object-fit: contain;
    display: block;
    opacity: 0.85;
    filter: drop-shadow(0 0 8px rgba(0, 224, 240, 0.35));
    transition: opacity 0.3s ease, transform 0.3s ease, filter 0.3s ease;
}

.section-brand-logo:hover {
    opacity: 1;
    transform: translateY(-1px);
    filter: drop-shadow(0 0 14px rgba(0, 224, 240, 0.6));
}

/* Footer & Contact Section Branding */
.footer-brand-logos {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 16px;
    margin-bottom: 22px;
}

.footer-pcce-logo {
    height: 52px;
    width: auto;
    max-height: 52px;
    object-fit: contain;
    filter: drop-shadow(0 2px 10px rgba(0, 0, 0, 0.6));
    transition: transform 0.3s ease, filter 0.3s ease;
}

.footer-pcce-logo:hover {
    transform: translateY(-2px) scale(1.04);
    filter: drop-shadow(0 0 12px rgba(0, 224, 240, 0.5));
}

.footer-techyon-logo {
    height: 42px;
    width: auto;
    max-height: 42px;
    object-fit: contain;
    filter: drop-shadow(0 0 12px rgba(0, 224, 240, 0.35));
    transition: transform 0.3s ease, filter 0.3s ease;
}

.footer-techyon-logo:hover {
    transform: translateY(-2px) scale(1.04);
    filter: drop-shadow(0 0 18px rgba(0, 224, 240, 0.7));
}

/* ==========================================================================
   GLOBAL NAVBAR TECHYON LOGO BRANDING
   ========================================================================== */
.nav-techyon-brand {
    margin-left: auto;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    flex-shrink: 0;
    padding: 2px 6px;
    margin-right: clamp(14px, 1.8vw, 32px);
    /* Move TECHYON logo comfortably leftward from the button */
    transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1), filter 0.3s ease;
}

.nav-techyon-logo {
    height: 60px;
    width: auto;
    max-height: 60px;
    object-fit: contain;
    display: block;
    filter: drop-shadow(0 0 14px rgba(0, 224, 240, 0.7));
    transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1), filter 0.3s ease;
}

.nav-techyon-brand:hover {
    transform: translateY(-1px);
}

.nav-techyon-brand:hover .nav-techyon-logo {
    transform: scale(1.05);
    filter: drop-shadow(0 0 22px rgba(0, 224, 240, 1)) brightness(1.2);
}

.hud-navbar.scrolled .nav-techyon-logo {
    height: 48px;
    max-height: 48px;
}

@media (max-width: 1280px) {
    .nav-container {
        gap: 12px;
    }

    .nav-links {
        padding: 6px 12px;
        gap: 10px;
    }

    .nav-item {
        font-size: 0.82rem;
        gap: 4px;
    }

    .nav-techyon-brand {
        margin-right: 12px;
    }

    .nav-techyon-logo {
        height: 48px;
        max-height: 48px;
    }

    .nav-register {
        padding: 7px 14px;
        font-size: 0.78rem;
    }
}

@media (max-width: 1024px) {
    .nav-techyon-brand {
        margin-left: auto;
        margin-right: 0;
    }

    .nav-techyon-logo {
        height: 38px;
        max-height: 38px;
    }
}

@media (max-width: 768px) {
    .nav-techyon-brand {
        margin-left: auto;
        margin-right: 14px;
    }

    .nav-techyon-logo {
        height: 36px;
        max-height: 36px;
    }

    .hud-navbar.scrolled .nav-techyon-logo {
        height: 30px;
        max-height: 30px;
    }
}

/* ==========================================================================
   BATTLEGRID / GAMING HERO HEADING — SCOPED SINGLE-LINE STYLING
   Scoped exclusively to /events/gaming/ (does not affect navbar or other 14 events)
   ========================================================================== */
.gaming-title-box,
body.event-gaming .cinematic-title-box,
[data-event-id="gaming"] .cinematic-title-box {
    max-width: min(94vw, 920px) !important;
    width: 100% !important;
    margin: 8px auto 16px !important;
    text-align: center !important;
    box-sizing: border-box !important;
}

.gaming-hero-title,
body.event-gaming .cinematic-hero-title,
[data-event-id="gaming"] .cinematic-hero-title {
    font-family: var(--font-display, 'Orbitron', sans-serif) !important;
    font-weight: 900 !important;
    font-size: clamp(1.15rem, 4.4vw, 3.8rem) !important;
    letter-spacing: clamp(0.8px, 0.15vw, 2px) !important;
    line-height: 1.15 !important;
    white-space: nowrap !important;
    word-break: keep-all !important;
    overflow-wrap: normal !important;
    hyphens: none !important;
    text-align: center !important;
    margin: 0 auto !important;
    display: inline-block !important;
    max-width: 100% !important;
    width: auto !important;
    background: linear-gradient(180deg, #ffffff 0%, #e6f9ff 50%, #b8f0ff 100%) !important;
    -webkit-background-clip: text !important;
    background-clip: text !important;
    -webkit-text-fill-color: transparent !important;
    filter: drop-shadow(0 0 14px rgba(0, 224, 240, 0.45)) !important;
}

.gaming-hero-title::before,
.gaming-hero-title::after,
body.event-gaming .cinematic-hero-title::before,
body.event-gaming .cinematic-hero-title::after,
[data-event-id="gaming"] .cinematic-hero-title::before,
[data-event-id="gaming"] .cinematic-hero-title::after {
    white-space: nowrap !important;
    word-break: keep-all !important;
    overflow-wrap: normal !important;
}


/* ==========================================================================
   NOVACANVAS / DESIGN WITH CANVA HERO HEADING — TWO-LINE DELIBERATE LAYOUT
   Scoped exclusively to /events/novacanvas/
   Line 1: NOVACANVAS
   Line 2: DESIGN WITH CANVA
   ========================================================================== */
.canva-title-box,
body.event-design-with-canva .cinematic-title-box,
body.event-novacanvas .cinematic-title-box,
[data-event-id="design-with-canva"] .cinematic-title-box,
[data-event-id="novacanvas"] .cinematic-title-box {
    max-width: 680px !important;
    width: 100% !important;
    margin: 8px auto 18px auto !important;
    text-align: center !important;
    box-sizing: border-box !important;
    padding: 0 10px !important;
}

.canva-hero-title,
body.event-design-with-canva .cinematic-hero-title,
body.event-novacanvas .cinematic-hero-title,
[data-event-id="design-with-canva"] .cinematic-hero-title,
[data-event-id="novacanvas"] .cinematic-hero-title {
    font-family: var(--font-display, 'Orbitron', sans-serif) !important;
    font-weight: 900 !important;
    text-transform: uppercase !important;
    text-align: center !important;
    margin: 0 auto !important;
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    justify-content: center !important;
    max-width: 100% !important;
    width: 100% !important;
    white-space: normal !important;
    animation: titleGlitchSoft 6s infinite ease-in-out !important;
}

/* Base line properties: CyberNova typography, gradient, glow */
.canva-line {
    display: block !important;
    font-family: var(--font-display, 'Orbitron', sans-serif) !important;
    font-weight: 900 !important;
    text-transform: uppercase !important;
    text-align: center !important;
    margin-left: auto !important;
    margin-right: auto !important;
    white-space: nowrap !important;
    word-break: keep-all !important;
    overflow-wrap: normal !important;
    background: linear-gradient(180deg, #ffffff 0%, #e6f9ff 50%, #b8f0ff 100%) !important;
    -webkit-background-clip: text !important;
    background-clip: text !important;
    -webkit-text-fill-color: transparent !important;
    filter: drop-shadow(0 0 16px rgba(0, 224, 240, 0.5)) !important;
    width: fit-content !important;
    max-width: 100% !important;
}

/* Line 1: NOVACANVAS — Main prominent brand name */
.canva-line-1 {
    font-size: clamp(1.75rem, 3.6vw, 3.2rem) !important;
    letter-spacing: clamp(1.5px, 0.22vw, 3px) !important;
    line-height: 1.12 !important;
    margin-bottom: 6px !important;
}

/* Line 2: DESIGN WITH CANVA — Focused descriptor directly underneath */
.canva-line-2 {
    font-size: clamp(1.1rem, 1.9vw, 1.65rem) !important;
    letter-spacing: clamp(1.2px, 0.16vw, 2.2px) !important;
    line-height: 1.15 !important;
    margin-bottom: 0 !important;
    opacity: 0.95 !important;
}

/* Ensure glitch pseudo-elements match the nowrap and exact text size */
.canva-line::before,
.canva-line::after {
    white-space: nowrap !important;
    word-break: keep-all !important;
    overflow-wrap: normal !important;
}

/* Tablet adjustments (768px - 1024px) */
@media (max-width: 1024px) {

    .canva-title-box,
    body.event-design-with-canva .cinematic-title-box,
    [data-event-id="design-with-canva"] .cinematic-title-box {
        max-width: 600px !important;
        margin-bottom: 16px !important;
    }

    .canva-line-1 {
        font-size: clamp(1.75rem, 3.8vw, 2.6rem) !important;
        margin-bottom: 5px !important;
    }

    .canva-line-2 {
        font-size: clamp(1.1rem, 2.2vw, 1.45rem) !important;
    }
}

/* Mobile adjustments (≤ 640px) */
@media (max-width: 640px) {

    .canva-title-box,
    body.event-design-with-canva .cinematic-title-box,
    [data-event-id="design-with-canva"] .cinematic-title-box {
        max-width: 100% !important;
        padding: 0 8px !important;
        margin-bottom: 14px !important;
    }

    .canva-line-1 {
        font-size: clamp(1.5rem, 6.4vw, 1.95rem) !important;
        letter-spacing: clamp(1px, 0.3vw, 2px) !important;
        margin-bottom: 4px !important;
    }

    .canva-line-2 {
        font-size: clamp(1.0rem, 4.3vw, 1.25rem) !important;
        letter-spacing: clamp(0.8px, 0.2vw, 1.4px) !important;
    }
}


/* ==========================================================================
   CYBERPUNK: RISE OF THE MACHINES (ELECTRONIC ARTS) HERO HEADING
   Scoped exclusively to /events/electronic-art/
   Line 1: CYBERPUNK: RISE OF THE MACHINES
   Line 2: (ELECTRONIC ARTS)
   ========================================================================== */
.cyberpunk-title-box,
body.event-electronic-art .cinematic-title-box,
[data-event-id="electronic-art"] .cinematic-title-box {
    max-width: 720px !important;
    width: 100% !important;
    margin: 8px auto 18px auto !important;
    text-align: center !important;
    box-sizing: border-box !important;
    padding: 0 10px !important;
}

.cyberpunk-hero-title,
body.event-electronic-art .cinematic-hero-title,
[data-event-id="electronic-art"] .cinematic-hero-title {
    font-family: var(--font-display, 'Orbitron', sans-serif) !important;
    font-weight: 900 !important;
    text-transform: uppercase !important;
    text-align: center !important;
    margin: 0 auto !important;
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    justify-content: center !important;
    max-width: 100% !important;
    width: 100% !important;
    white-space: normal !important;
    animation: titleGlitchSoft 6s infinite ease-in-out !important;
}

/* Base line properties: CyberNova typography, gradient, glow */
.cyberpunk-line {
    display: block !important;
    font-family: var(--font-display, 'Orbitron', sans-serif) !important;
    font-weight: 900 !important;
    text-transform: uppercase !important;
    text-align: center !important;
    margin-left: auto !important;
    margin-right: auto !important;
    white-space: nowrap !important;
    word-break: keep-all !important;
    overflow-wrap: normal !important;
    background: linear-gradient(180deg, #ffffff 0%, #e6f9ff 50%, #b8f0ff 100%) !important;
    -webkit-background-clip: text !important;
    background-clip: text !important;
    -webkit-text-fill-color: transparent !important;
    filter: drop-shadow(0 0 16px rgba(0, 224, 240, 0.5)) !important;
    width: fit-content !important;
    max-width: 100% !important;
}

/* Line 1: CYBERPUNK: RISE OF THE MACHINES — Primary, larger heading */
.cyberpunk-line-1 {
    font-size: clamp(1.15rem, 1.7vw, 1.75rem) !important;
    letter-spacing: clamp(1.0px, 0.14vw, 1.8px) !important;
    line-height: 1.18 !important;
    margin-bottom: 6px !important;
}

/* Line 2: (ELECTRONIC ARTS) — Slightly smaller but clearly noticeable underneath */
.cyberpunk-line-2 {
    font-size: clamp(0.9rem, 1.3vw, 1.25rem) !important;
    letter-spacing: clamp(0.8px, 0.12vw, 1.6px) !important;
    line-height: 1.15 !important;
    margin-bottom: 0 !important;
    opacity: 0.94 !important;
}

/* Ensure glitch pseudo-elements match the nowrap and exact text size */
.cyberpunk-line::before,
.cyberpunk-line::after {
    white-space: nowrap !important;
    word-break: keep-all !important;
    overflow-wrap: normal !important;
}

/* Tablet adjustments (768px - 1024px) */
@media (max-width: 1024px) {

    .cyberpunk-title-box,
    body.event-electronic-art .cinematic-title-box,
    [data-event-id="electronic-art"] .cinematic-title-box {
        max-width: 650px !important;
        margin-bottom: 16px !important;
    }

    .cyberpunk-line-1 {
        font-size: clamp(1.1rem, 2.2vw, 1.55rem) !important;
        margin-bottom: 5px !important;
    }

    .cyberpunk-line-2 {
        font-size: clamp(0.85rem, 1.5vw, 1.15rem) !important;
    }
}

/* Mobile adjustments (≤ 640px) */
@media (max-width: 640px) {

    .cyberpunk-title-box,
    body.event-electronic-art .cinematic-title-box,
    [data-event-id="electronic-art"] .cinematic-title-box {
        max-width: 100% !important;
        padding: 0 6px !important;
        margin-bottom: 14px !important;
    }

    .cyberpunk-line-1 {
        font-size: clamp(0.68rem, 3.4vw, 1.15rem) !important;
        letter-spacing: clamp(0.4px, 0.12vw, 1px) !important;
        margin-bottom: 4px !important;
    }

    .cyberpunk-line-2 {
        font-size: clamp(0.58rem, 2.4vw, 0.9rem) !important;
        letter-spacing: clamp(0.4px, 0.1vw, 0.8px) !important;
    }
}

/* ==========================================================================
   CYBER DASH – LINE FOLLOWER HERO TITLE STYLES
   ========================================================================== */
.cyber-dash-hero-title,
body.event-line-follower .cinematic-hero-title,
body.event-cyber-dash .cinematic-hero-title,
[data-event-id="line-follower"] .cinematic-hero-title,
[data-event-id="cyber-dash"] .cinematic-hero-title {
    font-family: var(--font-display, 'Orbitron', sans-serif) !important;
    font-weight: 900 !important;
    text-transform: uppercase !important;
    text-align: center !important;
    margin: 0 auto !important;
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    justify-content: center !important;
    max-width: 100% !important;
    width: 100% !important;
    white-space: normal !important;
    animation: titleGlitchSoft 6s infinite ease-in-out !important;
}

.cyber-dash-line {
    display: block !important;
    font-family: var(--font-display, 'Orbitron', sans-serif) !important;
    font-weight: 900 !important;
    text-transform: uppercase !important;
    text-align: center !important;
    margin-left: auto !important;
    margin-right: auto !important;
    white-space: nowrap !important;
    word-break: keep-all !important;
    overflow-wrap: normal !important;
    background: linear-gradient(180deg, #ffffff 0%, #e6f9ff 50%, #b8f0ff 100%) !important;
    -webkit-background-clip: text !important;
    background-clip: text !important;
    -webkit-text-fill-color: transparent !important;
    filter: drop-shadow(0 0 16px rgba(0, 224, 240, 0.5)) !important;
    width: fit-content !important;
    max-width: 100% !important;
}

.cyber-dash-line-1 {
    font-size: clamp(2rem, 4.5vw, 4rem) !important;
    letter-spacing: clamp(2px, 0.3vw, 4px) !important;
    line-height: 1.12 !important;
    margin-bottom: 6px !important;
}

.cyber-dash-line-2 {
    font-size: clamp(1.1rem, 2.2vw, 1.85rem) !important;
    letter-spacing: clamp(1.8px, 0.25vw, 3.5px) !important;
    line-height: 1.15 !important;
    margin-bottom: 0 !important;
    opacity: 0.95 !important;
    color: var(--color-cyan, #00E0F0) !important;
    background: linear-gradient(180deg, #00E0F0 0%, #00b4d8 100%) !important;
    -webkit-background-clip: text !important;
    background-clip: text !important;
    -webkit-text-fill-color: transparent !important;
}

.cyber-dash-line::before,
.cyber-dash-line::after {
    white-space: nowrap !important;
    word-break: keep-all !important;
    overflow-wrap: normal !important;
}

@media (max-width: 1024px) {

    .cyber-dash-title-box,
    body.event-line-follower .cinematic-title-box,
    body.event-cyber-dash .cinematic-title-box,
    [data-event-id="line-follower"] .cinematic-title-box,
    [data-event-id="cyber-dash"] .cinematic-title-box {
        max-width: 600px !important;
        margin-bottom: 16px !important;
    }

    .cyber-dash-line-1 {
        font-size: clamp(1.8rem, 3.8vw, 3rem) !important;
        margin-bottom: 5px !important;
    }

    .cyber-dash-line-2 {
        font-size: clamp(1rem, 1.9vw, 1.5rem) !important;
    }
}

@media (max-width: 640px) {

    .cyber-dash-title-box,
    body.event-line-follower .cinematic-title-box,
    body.event-cyber-dash .cinematic-title-box,
    [data-event-id="line-follower"] .cinematic-title-box,
    [data-event-id="cyber-dash"] .cinematic-title-box {
        max-width: 100% !important;
        padding: 0 6px !important;
        margin-bottom: 14px !important;
    }

    .cyber-dash-line-1 {
        font-size: clamp(1.4rem, 6vw, 2.2rem) !important;
        letter-spacing: clamp(1.2px, 0.2vw, 2px) !important;
        margin-bottom: 4px !important;
    }

    .cyber-dash-line-2 {
        font-size: clamp(0.85rem, 3.5vw, 1.2rem) !important;
        letter-spacing: clamp(1px, 0.15vw, 1.8px) !important;
    }
}

/* ==========================================================================
   NESTED SUBSECTION TOC HIERARCHY (CYBERNOVA STYLING)
   ========================================================================== */
.toc-group {
    display: flex;
    flex-direction: column;
    margin-bottom: 2px;
}

.toc-sub-list {
    list-style: none;
    padding: 3px 0 5px 14px;
    margin: 3px 0 6px 14px;
    display: flex;
    flex-direction: column;
    gap: 3px;
    border-left: 1px solid rgba(0, 224, 240, 0.18);
    position: relative;
}

.toc-sub-entry {
    display: flex;
    flex-direction: column;
}

.toc-sub-item {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 6px 10px;
    border-radius: 4px;
    font-family: var(--font-heading, 'Rajdhani', sans-serif);
    font-size: 0.84rem;
    font-weight: 500;
    color: rgba(255, 255, 255, 0.65);
    text-decoration: none;
    border: 1px solid transparent;
    transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
    cursor: pointer;
    line-height: 1.35;
    word-break: break-word;
    overflow-wrap: break-word;
    white-space: normal;
    position: relative;
}

.toc-sub-item::before {
    content: '';
    position: absolute;
    left: -14px;
    top: 50%;
    width: 10px;
    height: 1px;
    background: rgba(0, 224, 240, 0.2);
    transition: background 0.2s ease, width 0.2s ease;
}

.toc-sub-item:hover {
    background: rgba(0, 224, 240, 0.08);
    color: #ffffff;
    border-color: rgba(0, 224, 240, 0.25);
    transform: translateX(3px);
}

.toc-sub-item:hover::before {
    background: var(--color-cyan, #00E0F0);
    width: 12px;
}

.toc-sub-item.active {
    background: rgba(0, 224, 240, 0.15);
    color: var(--color-cyan, #00E0F0);
    border-color: rgba(0, 224, 240, 0.45);
    font-weight: 600;
    box-shadow: 0 0 10px rgba(0, 224, 240, 0.16);
    transform: translateX(4px);
}

.toc-sub-item.active::before {
    background: var(--color-cyan, #00E0F0);
    box-shadow: 0 0 6px var(--color-cyan, #00E0F0);
    width: 12px;
}

.toc-sub-label {
    display: inline-block;
    letter-spacing: 0.3px;
    transition: color 0.2s ease;
}

@media (max-width: 1024px) {
    .toc-sub-item {
        font-size: 0.8rem;
        padding: 5px 8px;
    }
}

/* ==========================================================================
   EVENTS DIRECTORY & DEPARTMENT EVENTS GRID (2 EVENTS PER ROW, FULL SCREEN)
   ========================================================================== */
#events-directory .container {
    max-width: 1600px;
    width: 100%;
    padding: 0 clamp(20px, 4vw, 56px);
    box-sizing: border-box;
}

#dynamic-directory-events,
#dynamic-events-container {
    display: grid !important;
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    gap: 30px !important;
    width: 100% !important;
    box-sizing: border-box !important;
    margin-top: 32px !important;
}

#dynamic-directory-events .event-card-modern,
#dynamic-events-container .event-card-modern {
    width: 100% !important;
    box-sizing: border-box !important;
    min-height: 280px;
    padding: 24px 26px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

@media (max-width: 900px) {
    #dynamic-directory-events,
    #dynamic-events-container {
        grid-template-columns: 1fr !important;
        gap: 20px !important;
    }

    #dynamic-directory-events .event-card-modern,
    #dynamic-events-container .event-card-modern {
        padding: 20px 18px;
    }
}


/* ==========================================================================
   RETRO SYNTHWAVE EVENT CARDS & HUD HEADER (MATCHING REFERENCE IMAGE)
   ========================================================================== */
.events-hero-badge-wrap {
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    margin-bottom: 14px;
}

.events-hud-crosshair {
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    filter: drop-shadow(0 0 12px rgba(190, 70, 255, 0.65));
}

@media (max-width: 768px) {
    .events-hud-crosshair {
        display: none;
    }
}

.events-category-pill {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(10, 14, 25, 0.85);
    border: 1px solid rgba(0, 224, 240, 0.4);
    border-radius: 999px;
    padding: 6px 18px;
    font-family: var(--font-mono);
    font-size: 0.75rem;
    font-weight: 700;
    color: #ffffff;
    letter-spacing: 2px;
    text-transform: uppercase;
    box-shadow: 0 0 16px rgba(0, 224, 240, 0.2);
}

.pill-glow-dot {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: #00E0F0;
    box-shadow: 0 0 10px #00E0F0, 0 0 18px #00E0F0;
}

.events-main-heading {
    font-family: var(--font-display, 'Orbitron');
    font-size: clamp(2.4rem, 4.5vw, 3.4rem);
    font-weight: 900;
    color: #ffffff;
    text-transform: uppercase;
    letter-spacing: 2px;
    text-align: center;
    margin: 8px 0 12px 0;
    text-shadow: 0 0 25px rgba(190, 70, 255, 0.4);
}

.events-subheading-tags {
    font-family: var(--font-mono);
    font-size: clamp(0.7rem, 1.4vw, 0.85rem);
    letter-spacing: 3px;
    color: rgba(255, 255, 255, 0.72);
    text-transform: uppercase;
    text-align: center;
    margin-bottom: 22px;
}

.events-glow-accent-line {
    width: 60px;
    height: 3px;
    background: linear-gradient(90deg, transparent, #00E0F0, #be46ff, transparent);
    margin: 0 auto 36px;
    border-radius: 2px;
    box-shadow: 0 0 14px rgba(0, 224, 240, 0.8);
}

/* Event Cards Retro Styling with eventbackground.avif */
.event-card-retro {
    background: linear-gradient(180deg, rgba(16, 7, 32, 0.52) 0%, rgba(12, 4, 24, 0.74) 48%, rgba(6, 1, 14, 0.95) 100%),
                url('../assets/eventbackground.avif') center/cover no-repeat !important;
    border: 1.5px solid rgba(195, 80, 255, 0.45) !important;
    border-radius: 18px !important;
    box-shadow: 0 0 25px rgba(160, 40, 240, 0.22), inset 0 0 20px rgba(160, 40, 240, 0.1) !important;
    position: relative !important;
    overflow: hidden !important;
    display: flex !important;
    flex-direction: column !important;
    justify-content: space-between !important;
    padding: 26px 28px 24px !important;
    transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1), border-color 0.3s ease, box-shadow 0.3s ease !important;
}

.event-card-retro:hover {
    border-color: rgba(225, 120, 255, 0.85) !important;
    box-shadow: 0 0 35px rgba(190, 60, 255, 0.45), inset 0 0 30px rgba(190, 60, 255, 0.2) !important;
    transform: translateY(-4px) !important;
}

/* HUD Corner Reticles */
.hud-corner {
    position: absolute;
    width: 14px;
    height: 14px;
    pointer-events: none;
    z-index: 3;
    transition: border-color 0.25s ease;
}

.hud-corner-tl {
    top: 14px;
    left: 14px;
    border-top: 1.5px solid rgba(255, 255, 255, 0.7);
    border-left: 1.5px solid rgba(255, 255, 255, 0.7);
}

.hud-corner-tr {
    top: 14px;
    right: 14px;
    border-top: 1.5px solid rgba(255, 255, 255, 0.7);
    border-right: 1.5px solid rgba(255, 255, 255, 0.7);
}

.hud-corner-bl {
    bottom: 14px;
    left: 14px;
    border-bottom: 1.5px solid rgba(255, 255, 255, 0.7);
    border-left: 1.5px solid rgba(255, 255, 255, 0.7);
}

.hud-corner-br {
    bottom: 14px;
    right: 14px;
    border-bottom: 1.5px solid rgba(255, 255, 255, 0.7);
    border-right: 1.5px solid rgba(255, 255, 255, 0.7);
}

.event-card-retro:hover .hud-corner {
    border-color: rgba(0, 224, 240, 0.9);
}

/* Top Row */
.card-retro-top-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 14px;
    position: relative;
    z-index: 2;
}

.card-badge-category {
    display: inline-flex;
    align-items: center;
    background: rgba(0, 224, 240, 0.12);
    border: 1px solid rgba(0, 224, 240, 0.65);
    color: #00E0F0;
    font-family: var(--font-mono);
    font-size: 0.65rem;
    font-weight: 700;
    letter-spacing: 1.5px;
    padding: 3px 9px;
    border-radius: 4px;
    text-transform: uppercase;
    box-shadow: 0 0 10px rgba(0, 224, 240, 0.25);
}

.card-edition-tag {
    font-family: var(--font-mono);
    font-size: 0.75rem;
    font-weight: 700;
    color: rgba(255, 255, 255, 0.65);
    letter-spacing: 2px;
}

/* Card Content */
.card-retro-content {
    position: relative;
    z-index: 2;
    flex: 1 1 auto;
    display: flex;
    flex-direction: column;
}

.card-parent-label {
    font-family: var(--font-mono);
    font-size: 0.72rem;
    letter-spacing: 2.5px;
    color: rgba(255, 255, 255, 0.7);
    text-transform: uppercase;
    margin-bottom: 4px;
}

.card-retro-title {
    font-family: var(--font-display, 'Orbitron');
    font-size: clamp(1.4rem, 2.2vw, 1.85rem);
    font-weight: 900;
    color: #ffffff;
    letter-spacing: 1px;
    text-transform: uppercase;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.9);
    margin: 2px 0 8px 0;
    line-height: 1.15;
}

.card-title-link {
    color: #ffffff;
    text-decoration: none;
    transition: color 0.2s ease, text-shadow 0.2s ease;
}

.card-title-link:hover {
    color: #00E0F0;
    text-shadow: 0 0 14px rgba(0, 224, 240, 0.8);
}

.card-subpill-tag {
    align-self: flex-start;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: rgba(0, 0, 0, 0.55);
    border: 1px solid rgba(255, 255, 255, 0.22);
    border-radius: 4px;
    padding: 4px 10px;
    font-family: var(--font-mono);
    font-size: 0.68rem;
    font-weight: 600;
    color: #ffffff;
    letter-spacing: 1.2px;
    margin-bottom: 12px;
    text-transform: uppercase;
    backdrop-filter: blur(4px);
}

.subpill-icon {
    color: var(--color-cyan, #00E0F0);
    font-size: 0.75rem;
}

.card-retro-desc {
    font-family: var(--font-body, 'Inter');
    font-size: 0.88rem;
    line-height: 1.55;
    color: rgba(235, 235, 250, 0.88);
    margin-bottom: 16px;
    text-shadow: 0 1px 4px rgba(0, 0, 0, 0.9);
}

/* Card Bottom Group */
.card-retro-bottom-group {
    position: relative;
    z-index: 2;
    margin-top: auto;
    padding-top: 14px;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.card-retro-meta {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    gap: 12px;
    flex-wrap: wrap;
    font-family: var(--font-mono);
    font-size: 0.75rem;
}

.card-retro-meta .meta-item {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    color: rgba(255, 255, 255, 0.8);
}

.card-retro-meta .meta-date {
    color: #ffffff;
    font-weight: 600;
}

.card-retro-meta .meta-prize {
    color: #ffd700;
    font-weight: 700;
    text-shadow: 0 0 10px rgba(255, 215, 0, 0.3);
}

.card-retro-meta .meta-fee {
    color: var(--color-cyan, #00E0F0);
    font-weight: 600;
}

.card-retro-actions {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 12px;
}

.btn-card-info {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(16, 8, 30, 0.7);
    border: 1px solid rgba(255, 255, 255, 0.35);
    color: #ffffff;
    padding: 8px 18px;
    border-radius: 6px;
    font-family: var(--font-display, 'Orbitron');
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    text-decoration: none;
    backdrop-filter: blur(8px);
    transition: all 0.25s ease;
}

.btn-card-info:hover {
    background: rgba(0, 224, 240, 0.16);
    border-color: #00E0F0;
    color: #00E0F0;
    box-shadow: 0 0 16px rgba(0, 224, 240, 0.45);
    transform: translateY(-2px);
}

.btn-card-register {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: #ffffff;
    color: #050505;
    border: 1px solid #ffffff;
    padding: 8px 22px;
    border-radius: 6px;
    font-family: var(--font-display, 'Orbitron');
    font-size: 0.75rem;
    font-weight: 800;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    text-decoration: none;
    transition: all 0.25s ease;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
}

.btn-card-register:hover {
    background: #00E0F0;
    border-color: #00E0F0;
    color: #020b14;
    box-shadow: 0 0 22px rgba(0, 224, 240, 0.75);
    transform: translateY(-2px);
}

.btn-card-register.btn-disabled {
    opacity: 0.5;
    pointer-events: none;
}


/* ==========================================================================
   TECHNIX 2026-INSPIRED HERO & MEWTWO 3D SHOWCASE STYLING
   ========================================================================== */
.hero-technix-style {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    position: relative;
    padding: 130px 20px 100px;
    background: radial-gradient(circle at 50% 45%, rgba(96, 16, 224, 0.18) 0%, rgba(8, 8, 32, 0.95) 75%), #080820;
    overflow: visible;
}

.hero-technix-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 100%;
    max-width: 1560px;
    margin: 0 auto;
    position: relative;
    z-index: 2;
}

/* Massive Top Title (TECHNIX 26' style) */
.technix-top-header {
    text-align: center;
    width: 100%;
    margin-bottom: 20px;
}

.technix-mega-title {
    font-family: var(--font-display, 'Orbitron');
    font-size: clamp(2.2rem, 5.2vw, 4.4rem);
    font-weight: 900;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    background: linear-gradient(180deg, #FFFFFF 0%, #B0B0D0 32%, #00E0F0 68%, #D020F0 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    line-height: 1.1;
    margin: 0 auto;
    max-width: 860px;
    filter: drop-shadow(0 0 35px rgba(0, 224, 240, 0.45));
    transition: filter 0.3s ease;
}

/* Mewtwo Stage Container */
.robot-stage-container {
    position: relative;
    width: 100%;
    max-width: 900px;
    height: 440px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 10px 0 25px;
    perspective: 1200px;
}

/* Ambient Psychic Energy Aura */
.psychic-aura-glow {
    position: absolute;
    border-radius: 50%;
    pointer-events: none;
    z-index: 1;
}

.aura-outer {
    width: 480px;
    height: 480px;
    background: radial-gradient(circle, rgba(96, 16, 224, 0.35) 0%, rgba(208, 32, 240, 0.18) 45%, transparent 70%);
    animation: auraBreath 5s ease-in-out infinite alternate;
}

.aura-inner {
    width: 320px;
    height: 320px;
    background: radial-gradient(circle, rgba(0, 224, 240, 0.3) 0%, rgba(208, 32, 240, 0.25) 50%, transparent 75%);
    animation: auraBreath 3.5s ease-in-out infinite alternate-reverse;
}

@keyframes auraBreath {
    0% { transform: scale(0.92); opacity: 0.7; }
    100% { transform: scale(1.12); opacity: 1; }
}

.psychic-ring-orbit {
    position: absolute;
    border-radius: 50%;
    pointer-events: none;
    z-index: 1;
}

.ring-cyan {
    width: 520px;
    height: 200px;
    border: 1.5px solid rgba(0, 224, 240, 0.6);
    box-shadow: 0 0 30px rgba(0, 224, 240, 0.5);
    transform: rotateX(74deg) rotateZ(-25deg);
    animation: ringOrbitSpin 20s linear infinite;
}

.ring-magenta {
    width: 560px;
    height: 220px;
    border: 1.5px solid rgba(208, 32, 240, 0.6);
    box-shadow: 0 0 30px rgba(208, 32, 240, 0.5);
    transform: rotateX(76deg) rotateZ(35deg);
    animation: ringOrbitSpin 24s linear infinite reverse;
}

@keyframes ringOrbitSpin {
    0% { transform: rotateX(74deg) rotateZ(0deg); }
    100% { transform: rotateX(74deg) rotateZ(360deg); }
}

/* 3D Cylindrical Photo Carousel with Center Depth Sorting */
.carousel-3d-scene {
    position: absolute;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    transform-style: preserve-3d;
    perspective: 1200px;
    pointer-events: none;
    z-index: 5 !important;
}

.carousel-panel {
    position: absolute;
    width: 200px;
    height: 125px;
    left: calc(50% - 100px);
    top: calc(50% - 25px);
    border-radius: 12px;
    overflow: hidden;
    border: 1.5px solid rgba(0, 224, 240, 0.5);
    background: linear-gradient(180deg, rgba(9, 14, 36, 0.72) 0%, rgba(5, 8, 20, 0.96) 100%),
                url('../assets/eventbackground.avif') center/cover no-repeat;
    box-shadow: 0 0 25px rgba(96, 16, 224, 0.4), inset 0 0 15px rgba(0, 224, 240, 0.15);
    backdrop-filter: blur(8px);
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
    pointer-events: auto;
    text-decoration: none;
    cursor: pointer;
    will-change: transform, z-index, opacity;
    transform-origin: center center;
}

.carousel-panel:hover {
    border-color: #D020F0;
    box-shadow: 0 0 35px rgba(208, 32, 240, 0.8), inset 0 0 20px rgba(0, 224, 240, 0.3);
}

.panel-inner {
    width: 100%;
    height: 100%;
    padding: 12px 14px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    background: rgba(5, 8, 20, 0.25);
}

.panel-tag {
    align-self: flex-start;
    font-family: var(--font-mono);
    font-size: 0.62rem;
    font-weight: 700;
    color: #00E0F0;
    background: rgba(0, 224, 240, 0.15);
    border: 1px solid rgba(0, 224, 240, 0.5);
    border-radius: 4px;
    padding: 2px 7px;
    letter-spacing: 1px;
    text-transform: uppercase;
}

.panel-title {
    font-family: var(--font-display, 'Orbitron');
    font-size: 0.85rem;
    font-weight: 800;
    color: #FFFFFF;
    letter-spacing: 1px;
    text-transform: uppercase;
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.9);
}

/* Mewtwo Character Wrapper & Interactive Animation */
.mewtwo-character-wrap {
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    z-index: 10 !important;
    display: inline-flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    animation: mewtwoLevitate 4.5s ease-in-out infinite;
    cursor: pointer;
    transform-style: preserve-3d;
    pointer-events: auto;
    will-change: transform;
}

@keyframes mewtwoLevitate {
    0%, 100% {
        transform: translate(-50%, -50%) translateY(0px) rotate(0deg);
    }
    50% {
        transform: translate(-50%, -50%) translateY(-22px) rotate(1.5deg);
    }
}

.mewtwo-img {
    width: auto;
    height: clamp(240px, 34vw, 360px);
    max-width: 90vw;
    object-fit: contain;
    display: block;
    filter: drop-shadow(0 0 25px rgba(208, 32, 240, 0.85))
            drop-shadow(0 0 55px rgba(96, 16, 224, 0.65))
            drop-shadow(0 0 95px rgba(0, 224, 240, 0.45));
    animation: mewtwoPsychicPulse 3s ease-in-out infinite alternate;
    transition: filter 0.3s ease, transform 0.3s ease;
    user-select: none;
    -webkit-user-drag: none;
}

@keyframes mewtwoPsychicPulse {
    0% {
        filter: drop-shadow(0 0 20px rgba(208, 32, 240, 0.75))
                drop-shadow(0 0 45px rgba(96, 16, 224, 0.55))
                drop-shadow(0 0 75px rgba(0, 224, 240, 0.35));
    }
    100% {
        filter: drop-shadow(0 0 35px rgba(208, 32, 240, 1))
                drop-shadow(0 0 75px rgba(96, 16, 224, 0.85))
                drop-shadow(0 0 115px rgba(0, 224, 240, 0.65))
                brightness(1.1);
    }
}

.mewtwo-character-wrap:hover .mewtwo-img {
    transform: scale(1.07);
    filter: drop-shadow(0 0 45px rgba(208, 32, 240, 1))
            drop-shadow(0 0 90px rgba(0, 224, 240, 0.9))
            brightness(1.18);
}

.mewtwo-shadow {
    width: 150px;
    height: 18px;
    background: radial-gradient(ellipse at center, rgba(208, 32, 240, 0.75) 0%, rgba(0, 224, 240, 0.3) 45%, transparent 75%);
    border-radius: 50%;
    margin-top: 14px;
    animation: mewtwoShadowPulse 4.5s ease-in-out infinite;
}

@keyframes mewtwoShadowPulse {
    0%, 100% { transform: scale(1); opacity: 0.85; }
    50% { transform: scale(0.65); opacity: 0.4; }
}

/* Interactive Shockwave on Click */
.mewtwo-character-wrap.pulse-active .mewtwo-img {
    animation: mewtwoShockwave 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

@keyframes mewtwoShockwave {
    0% { transform: scale(0.92); filter: drop-shadow(0 0 80px #00E0F0) brightness(1.6); }
    50% { transform: scale(1.15); filter: drop-shadow(0 0 120px #D020F0) brightness(1.4); }
    100% { transform: scale(1); }
}

.psychic-click-wave {
    position: absolute;
    width: 80px;
    height: 80px;
    border-radius: 50%;
    border: 3px solid #00E0F0;
    box-shadow: 0 0 35px #00E0F0, inset 0 0 25px #D020F0;
    pointer-events: none;
    z-index: 5;
    animation: clickWaveExpand 0.9s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

@keyframes clickWaveExpand {
    0% { transform: scale(1); opacity: 1; }
    100% { transform: scale(12); opacity: 0; }
}

.mewtwo-power-badge {
    position: absolute;
    bottom: -15px;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(5, 8, 20, 0.85);
    border: 1px solid rgba(0, 224, 240, 0.35);
    border-radius: 999px;
    padding: 5px 16px;
    font-family: var(--font-mono);
    font-size: 0.7rem;
    font-weight: 700;
    color: #B0B0D0;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    box-shadow: 0 0 16px rgba(0, 224, 240, 0.2);
    z-index: 4;
}

.power-dot {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: #00E0F0;
    box-shadow: 0 0 8px #00E0F0, 0 0 16px #00E0F0;
    animation: blinkDot 1.5s infinite;
}

@keyframes blinkDot {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.3; }
}

/* Bottom 3-Column Info Bar */
.technix-bottom-info-bar {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    width: 100%;
    max-width: 1440px;
    margin-top: 45px;
    padding: 22px 0 0;
    border-top: 1px solid rgba(176, 176, 208, 0.18);
    font-family: var(--font-mono);
    font-size: 0.76rem;
    color: #B0B0D0;
    gap: 20px;
    position: relative;
    z-index: 2;
}

.info-bar-label {
    font-size: 0.65rem;
    letter-spacing: 2px;
    color: #00E0F0;
    margin-bottom: 5px;
    font-weight: 700;
}

.info-bar-text {
    line-height: 1.55;
    color: rgba(240, 240, 240, 0.85);
}

.info-bar-copy {
    text-align: center;
    font-size: 0.72rem;
    letter-spacing: 1.5px;
    color: rgba(176, 176, 208, 0.75);
}

.contact-link-pill {
    color: #00E0F0;
    text-decoration: none;
    transition: color 0.2s ease, text-shadow 0.2s ease;
}

.contact-link-pill:hover {
    color: #FFFFFF;
    text-shadow: 0 0 10px #00E0F0;
}

/* Mobile responsive constraints */
@media (max-width: 900px) {
    .technix-mega-title {
        letter-spacing: 0.08em;
    }

    .robot-stage-container {
        height: 380px;
    }

    .carousel-3d-scene {
        transform: none;
    }

    .technix-bottom-info-bar {
        flex-direction: column;
        align-items: center;
        text-align: center;
        gap: 16px;
    }
}

@media (max-width: 600px) {
    .carousel-3d-scene {
        transform: none;
    }
}


/* ==========================================================================
   SCHEDULE TIMELINE & CARDS — RETRO SYNTHWAVE THEME (EVENTBACKGROUND.AVIF)
   ========================================================================== */
.schedule-timeline-grid {
    display: grid !important;
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    gap: 28px !important;
    width: 100% !important;
    box-sizing: border-box !important;
}

@media (max-width: 900px) {
    .schedule-timeline-grid {
        grid-template-columns: 1fr !important;
        gap: 20px !important;
    }
}

.schedule-item-card {
    position: relative !important;
    display: flex !important;
    flex-direction: column !important;
    justify-content: space-between !important;
    padding: 28px 28px 24px !important;
    background: linear-gradient(180deg, rgba(16, 7, 32, 0.52) 0%, rgba(12, 4, 24, 0.74) 48%, rgba(8, 8, 32, 0.95) 100%),
                url('../assets/eventbackground.avif') center/cover no-repeat !important;
    border: 1.5px solid rgba(195, 80, 255, 0.45) !important;
    border-radius: 18px !important;
    box-shadow: 0 0 25px rgba(160, 40, 240, 0.22), inset 0 0 20px rgba(160, 40, 240, 0.1) !important;
    overflow: hidden !important;
    backdrop-filter: blur(10px) !important;
    -webkit-backdrop-filter: blur(10px) !important;
    transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1),
                border-color 0.3s ease,
                box-shadow 0.3s ease !important;
}

.schedule-item-card:hover {
    transform: translateY(-4px) !important;
    border-color: rgba(225, 120, 255, 0.85) !important;
    box-shadow: 0 0 35px rgba(190, 60, 255, 0.45), inset 0 0 30px rgba(190, 60, 255, 0.2) !important;
}

.schedule-item-card:hover .hud-corner {
    border-color: rgba(0, 224, 240, 0.9) !important;
}

.schedule-item-title {
    font-family: var(--font-display, 'Orbitron') !important;
    font-size: 1.25rem !important;
    font-weight: 800 !important;
    letter-spacing: 0.8px !important;
    text-transform: uppercase !important;
    color: #FFFFFF !important;
    margin-bottom: 10px !important;
    line-height: 1.25 !important;
}

.schedule-card-title-link {
    color: #FFFFFF !important;
    text-decoration: none !important;
    transition: color 0.2s ease, text-shadow 0.2s ease !important;
}

.schedule-card-title-link:hover {
    color: var(--color-cyan, #00E0F0) !important;
    text-shadow: 0 0 14px rgba(0, 224, 240, 0.8) !important;
}

.schedule-item-desc {
    font-family: var(--font-body, 'Inter') !important;
    font-size: 0.88rem !important;
    line-height: 1.55 !important;
    color: rgba(235, 235, 250, 0.85) !important;
    margin-bottom: 14px !important;
}

.schedule-time-box {
    background: rgba(0, 0, 0, 0.55) !important;
    border: 1px solid rgba(0, 224, 240, 0.5) !important;
    color: #00E0F0 !important;
    border-radius: 4px !important;
    padding: 5px 10px !important;
    font-family: var(--font-mono) !important;
    font-size: 0.75rem !important;
    font-weight: 700 !important;
    letter-spacing: 0.5px !important;
    box-shadow: 0 0 10px rgba(0, 224, 240, 0.2) !important;
}

.schedule-status-pill {
    background: rgba(96, 16, 224, 0.25) !important;
    border: 1px solid rgba(195, 80, 255, 0.5) !important;
    color: #F0F0F0 !important;
    border-radius: 4px !important;
    padding: 4px 10px !important;
    font-family: var(--font-mono) !important;
    font-size: 0.68rem !important;
    font-weight: 700 !important;
    letter-spacing: 1px !important;
    text-transform: uppercase !important;
}

.schedule-time-note {
    background: rgba(0, 0, 0, 0.45) !important;
    border-left: 3px solid #00E0F0 !important;
    border-radius: 4px !important;
    padding: 6px 12px !important;
    font-family: var(--font-mono) !important;
    font-size: 0.78rem !important;
    color: #ffd700 !important;
    margin-bottom: 12px !important;
}

.schedule-card-footer {
    display: flex !important;
    justify-content: flex-end !important;
    margin-top: auto !important;
    padding-top: 14px !important;
    border-top: 1px solid rgba(255, 255, 255, 0.08) !important;
}

.btn-schedule-action {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 8px !important;
    background: #FFFFFF !important;
    color: #080820 !important;
    padding: 10px 22px !important;
    border-radius: 6px !important;
    font-family: var(--font-display, 'Orbitron') !important;
    font-size: 0.76rem !important;
    font-weight: 800 !important;
    letter-spacing: 1.5px !important;
    text-transform: uppercase !important;
    text-decoration: none !important;
    box-shadow: 0 0 16px rgba(255, 255, 255, 0.3) !important;
    transition: all 0.25s ease !important;
    border: none !important;
    width: auto !important;
}

.btn-schedule-action:hover {
    background: #00E0F0 !important;
    color: #080820 !important;
    box-shadow: 0 0 24px rgba(0, 224, 240, 0.85) !important;
    transform: translateY(-2px) !important;
}

/* ==========================================================================
   LOADING SCREEN (HIGH-TECH BAL.png CYBER AURA)
   ========================================================================== */
.loader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: #080820;
    z-index: 100000;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: opacity 0.6s cubic-bezier(0.25, 1, 0.5, 1), visibility 0.6s;
}

.loader-content {
    text-align: center;
    width: 320px;
    display: flex;
    flex-direction: column;
    align-items: center;
}

/* 3D Ball Container */
.loader-ball-container {
    position: relative;
    width: 190px;
    height: 190px;
    margin: 0 auto 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    perspective: 600px;
    transform-style: preserve-3d;
}

.loader-ball-container::before,
.loader-ball-container::after {
    content: '';
    position: absolute;
    width: 190px;
    height: 150px;
    border: 1px solid #00e0f099;
    border-radius: 50%;
    box-shadow: 0 0 14px #00e0f033, inset 0 0 12px #00e0f022;
    pointer-events: none;
    animation: loaderPsychicOrbit 9s linear infinite;
}
.loader-ball-container::after {
    width: 170px;
    height: 170px;
    border-color: #d020f099;
    box-shadow: 0 0 18px #d020f033;
    animation: loaderPsychicOrbit 12s linear -4s infinite reverse;
}
.loader-ball-ring-outer::before,
.loader-ball-ring-inner::after {
    content: '';
    position: absolute;
    top: -7px;
    left: 50%;
    width: 12px;
    height: 12px;
    background: linear-gradient(135deg, #e5ffff, #00e0f0 45%, #283c99);
    border: 1px solid #baffff;
    transform: rotate(45deg) rotateY(25deg);
    box-shadow: 0 0 12px #00e0f077;
}
.loader-ball-ring-inner::after {
    width: 16px;
    height: 10px;
    background: linear-gradient(135deg, #ffe5ff, #d020f0 55%, #6010e0);
    border-color: #f0a0ff;
    box-shadow: 0 0 12px #d020f077;
}
@keyframes loaderPsychicOrbit {
    from { transform: rotateX(65deg) rotateY(-15deg) rotateZ(0deg); }
    to { transform: rotateX(65deg) rotateY(-15deg) rotateZ(360deg); }
}

.loader-ball-halo {
    position: absolute;
    width: 110px;
    height: 110px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(0, 224, 240, 0.4) 0%, rgba(208, 32, 240, 0.25) 50%, transparent 75%);
    animation: loaderHaloPulse 2.5s ease-in-out infinite alternate;
    pointer-events: none;
}

.loader-ball-ring-outer {
    position: absolute;
    width: 126px;
    height: 126px;
    border-radius: 50%;
    border: 1.5px dashed rgba(0, 224, 240, 0.7);
    animation: loaderSpinRing 6s linear infinite;
    box-shadow: 0 0 15px rgba(0, 224, 240, 0.3);
}

.loader-ball-ring-inner {
    position: absolute;
    width: 108px;
    height: 108px;
    border-radius: 50%;
    border: 1px dotted rgba(208, 32, 240, 0.6);
    animation: loaderSpinRingRev 4.5s linear infinite;
}

.loader-ball-sphere {
    position: relative;
    z-index: 2;
    width: 92px;
    height: 92px;
    object-fit: contain;
    filter: drop-shadow(0 0 20px rgba(0, 224, 240, 0.8)) drop-shadow(0 0 35px rgba(208, 32, 240, 0.5));
    animation: loaderBallFloat 2.6s ease-in-out infinite alternate, loaderBallGlow 3s ease-in-out infinite alternate;
}

@keyframes loaderSpinRing {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

@keyframes loaderSpinRingRev {
    from { transform: rotate(360deg); }
    to { transform: rotate(0deg); }
}

@keyframes loaderBallFloat {
    0% { transform: translateY(0px) scale(0.96); }
    100% { transform: translateY(-8px) scale(1.04); }
}

@keyframes loaderHaloPulse {
    0% { transform: scale(0.9); opacity: 0.6; }
    100% { transform: scale(1.2); opacity: 0.95; }
}

@keyframes loaderBallGlow {
    0% {
        filter: drop-shadow(0 0 16px rgba(0, 224, 240, 0.7)) drop-shadow(0 0 25px rgba(208, 32, 240, 0.35));
    }
    100% {
        filter: drop-shadow(0 0 28px rgba(0, 224, 240, 1)) drop-shadow(0 0 45px rgba(208, 32, 240, 0.7));
    }
}


@media (max-width: 768px), (hover: none) {
    #cursor-dot,
    #cursor-ring {
        display: none !important;
    }
    * {
        cursor: auto !important;
    }
}


/* ==========================================================================
   GALLERY ARCHIVE PLACEHOLDER SECTION
   ========================================================================== */
#gallery {
    position: relative;
    z-index: 2;
    padding: 100px 0;
}

.gallery-placeholder-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(min(100%, 320px), 1fr));
    gap: 26px;
    margin-bottom: 35px;
}

.gallery-card-placeholder {
    position: relative;
    background: linear-gradient(180deg, rgba(16, 7, 32, 0.52) 0%, rgba(12, 4, 24, 0.74) 48%, rgba(8, 8, 32, 0.95) 100%),
                url('../assets/eventbackground.avif') center/cover no-repeat;
    border: 1.5px solid rgba(195, 80, 255, 0.45);
    border-radius: 18px;
    box-shadow: 0 0 25px rgba(160, 40, 240, 0.22), inset 0 0 20px rgba(160, 40, 240, 0.1);
    padding: 28px 24px 22px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    transition: transform 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease;
}

.gallery-card-placeholder:hover {
    transform: translateY(-4px);
    border-color: rgba(225, 120, 255, 0.85);
    box-shadow: 0 0 35px rgba(190, 60, 255, 0.45), inset 0 0 30px rgba(190, 60, 255, 0.2);
}

.gallery-card-placeholder:hover .hud-corner {
    border-color: rgba(0, 224, 240, 0.9);
}

.gallery-card-badge {
    font-family: var(--font-mono);
    font-size: 0.68rem;
    font-weight: 700;
    color: var(--color-cyan, #00E0F0);
    background: rgba(0, 224, 240, 0.12);
    border: 1px solid rgba(0, 224, 240, 0.5);
    border-radius: 4px;
    padding: 3px 8px;
    margin-bottom: 16px;
    letter-spacing: 1px;
}

.gallery-icon-wrap {
    font-size: 2.2rem;
    margin-bottom: 12px;
    filter: drop-shadow(0 0 10px rgba(0, 224, 240, 0.6));
}

.gallery-card-title {
    font-family: var(--font-display, 'Orbitron');
    font-size: 1.15rem;
    font-weight: 800;
    color: #FFFFFF;
    letter-spacing: 1px;
    margin-bottom: 8px;
    text-transform: uppercase;
}

.gallery-card-desc {
    font-family: var(--font-body, 'Inter');
    font-size: 0.86rem;
    line-height: 1.5;
    color: rgba(235, 235, 250, 0.8);
    margin-bottom: 18px;
    flex-grow: 1;
}

.gallery-status-pill {
    font-family: var(--font-mono);
    font-size: 0.68rem;
    font-weight: 700;
    color: #FFB800;
    background: rgba(255, 184, 0, 0.12);
    border: 1px solid rgba(255, 184, 0, 0.4);
    border-radius: 4px;
    padding: 4px 10px;
    letter-spacing: 1px;
    text-transform: uppercase;
}

.gallery-notice-banner {
    display: flex;
    align-items: center;
    gap: 12px;
    background: rgba(14, 14, 48, 0.7);
    border: 1px solid rgba(0, 224, 240, 0.35);
    border-radius: 10px;
    padding: 16px 24px;
    backdrop-filter: blur(8px);
    box-shadow: 0 0 20px rgba(0, 224, 240, 0.15);
}

.gallery-notice-banner .notice-icon {
    font-size: 1.2rem;
    color: #00E0F0;
}

.gallery-notice-banner .notice-text {
    font-family: var(--font-mono);
    font-size: 0.82rem;
    color: #F0F0F0;
    letter-spacing: 0.5px;
    line-height: 1.4;
}


/* ==========================================================================
   CYBER SEARCH DROPDOWN COMPONENT (PALETTE: #080820, #00E0F0, #D020F0)
   ========================================================================== */
.nav-search-wrapper {
    position: relative;
    display: inline-flex;
    align-items: center;
    margin-left: 18px;
}

.nav-search-btn {
    background: transparent;
    border: 1px solid rgba(0, 224, 240, 0.35);
    color: #00E0F0;
    width: 34px;
    height: 34px;
    border-radius: 6px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
    box-shadow: 0 0 8px rgba(0, 224, 240, 0.15);
}

.nav-search-btn:hover,
.nav-search-btn.active {
    border-color: #00E0F0;
    background: rgba(0, 224, 240, 0.12);
    box-shadow: 0 0 16px rgba(0, 224, 240, 0.5), inset 0 0 8px rgba(0, 224, 240, 0.25);
    color: #F0F0F0;
}

.nav-search-dropdown {
    position: absolute;
    top: calc(100% + 14px);
    right: 0;
    width: 400px;
    max-width: 90vw;
    background: rgba(8, 8, 32, 0.98);
    border: 1px solid rgba(0, 224, 240, 0.4);
    box-shadow: 0 18px 45px rgba(0, 0, 0, 0.9), 0 0 25px rgba(0, 224, 240, 0.25), inset 0 0 18px rgba(96, 16, 224, 0.2);
    border-radius: 8px;
    padding: 14px;
    z-index: 10000;
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    display: none;
    flex-direction: column;
    opacity: 0;
    transform: translateY(-8px);
    transition: opacity 0.2s ease, transform 0.2s ease;
}

.nav-search-dropdown.active {
    display: flex;
    opacity: 1;
    transform: translateY(0);
}

.search-input-box {
    display: flex;
    align-items: center;
    gap: 10px;
    background: rgba(14, 14, 44, 0.92);
    border: 1px solid rgba(0, 224, 240, 0.35);
    border-radius: 6px;
    padding: 8px 12px;
    margin-bottom: 10px;
    box-shadow: inset 0 1px 4px rgba(0, 0, 0, 0.5);
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.search-input-box:focus-within {
    border-color: #00E0F0;
    box-shadow: 0 0 12px rgba(0, 224, 240, 0.4), inset 0 1px 4px rgba(0, 0, 0, 0.6);
}

.search-input-icon {
    color: #00E0F0;
    flex-shrink: 0;
}

.nav-search-input {
    flex: 1;
    background: transparent;
    border: none;
    outline: none;
    color: #F0F0F0;
    font-family: 'Rajdhani', sans-serif;
    font-size: 0.95rem;
    font-weight: 600;
    letter-spacing: 0.5px;
}

.nav-search-input::placeholder {
    color: rgba(176, 176, 208, 0.45);
    font-weight: 400;
}

.search-clear-btn {
    background: transparent;
    border: none;
    color: #B0B0D0;
    font-size: 1.2rem;
    line-height: 1;
    cursor: pointer;
    padding: 0 4px;
    transition: color 0.15s ease;
}

.search-clear-btn:hover {
    color: #00E0F0;
}

.search-results-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 4px 6px 8px;
    border-bottom: 1px solid rgba(0, 224, 240, 0.15);
    margin-bottom: 8px;
}

.results-count {
    font-family: 'Orbitron', monospace;
    font-size: 0.68rem;
    color: #00E0F0;
    letter-spacing: 1px;
}

.search-results-container {
    max-height: 380px;
    overflow-y: auto;
    scrollbar-width: thin;
    scrollbar-color: #00E0F0 rgba(8, 8, 32, 0.5);
}

.search-results-container::-webkit-scrollbar {
    width: 5px;
}
.search-results-container::-webkit-scrollbar-thumb {
    background: #00E0F0;
    border-radius: 3px;
}

.search-results-list {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.search-result-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 12px;
    padding: 9px 12px;
    background: rgba(14, 14, 44, 0.55);
    border: 1px solid rgba(0, 224, 240, 0.14);
    border-radius: 5px;
    text-decoration: none;
    transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
}

.search-result-item:hover {
    background: rgba(0, 224, 240, 0.12);
    border-color: #00E0F0;
    box-shadow: 0 0 14px rgba(0, 224, 240, 0.3);
    transform: translateX(3px);
}

.result-info {
    display: flex;
    flex-direction: column;
    gap: 2px;
    min-width: 0;
}

.result-title {
    font-family: 'Orbitron', sans-serif;
    font-size: 0.85rem;
    font-weight: 700;
    color: #F0F0F0;
    letter-spacing: 0.5px;
    transition: color 0.2s ease;
}

.search-result-item:hover .result-title {
    color: #00E0F0;
}

.result-desc {
    font-size: 0.72rem;
    color: #B0B0D0;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    max-width: 240px;
}

.result-meta {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 4px;
    flex-shrink: 0;
}

.result-dept-badge {
    font-family: 'Orbitron', monospace;
    font-size: 0.6rem;
    font-weight: 700;
    color: #D020F0;
    background: rgba(208, 32, 240, 0.15);
    border: 1px solid rgba(208, 32, 240, 0.4);
    padding: 2px 6px;
    border-radius: 3px;
    letter-spacing: 0.5px;
}

.result-prize {
    font-family: 'Rajdhani', sans-serif;
    font-size: 0.75rem;
    font-weight: 700;
    color: #00E0F0;
}

.search-no-results {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 28px 16px;
    gap: 8px;
    text-align: center;
}

.no-results-icon {
    font-size: 1.6rem;
    color: #00E0F0;
}

.no-results-text {
    font-family: 'Rajdhani', sans-serif;
    font-size: 0.95rem;
    color: #B0B0D0;
    letter-spacing: 0.5px;
}

@media (max-width: 768px) {
    .nav-search-dropdown {
        position: fixed;
        top: 70px;
        left: 12px;
        right: 12px;
        width: auto;
        max-width: calc(100vw - 24px);
    }
}


/* Developer Credits Hidden */
#developer-credits,
.credits-fixed,
.credits-footer {
    display: none !important;
    visibility: hidden !important;
    opacity: 0 !important;
    pointer-events: none !important;
}


/* ==========================================================================
   ENHANCED PURPLE THEME & REFINEMENTS (MEWTWO, A.WEBP, NO NUMBERS)
   ========================================================================== */

/* 1. Hide numbering everywhere */
.nav-num,
.quick-link-num {
    display: none !important;
}

/* 2. Vibrant Purple Text Gradients */
.text-gradient-purple {
    background: linear-gradient(135deg, #F080FF 0%, #D020F0 40%, #9D00FF 75%, #6010E0 100%) !important;
    -webkit-background-clip: text !important;
    background-clip: text !important;
    -webkit-text-fill-color: transparent !important;
    display: inline-block;
}

/* 3. Hero Mewtwo Placed in Middle Between Front and Back Carousel Banners */
.carousel-3d-scene {
    z-index: 5 !important;
    pointer-events: none !important;
}

.carousel-panel {
    pointer-events: auto;
}

.mewtwo-character-wrap {
    z-index: 10 !important;
}

/* 4. Mewtwo Ambient Backdrop Behind Gallery Section */
#gallery {
    position: relative;
    overflow: hidden;
}

.gallery-mewtwo-bg {
    position: absolute;
    top: 50%;
    left: 50%;
    width: min(80%, 640px);
    height: calc(100% - 96px);
    max-height: 640px;
    transform: translate(-50%, -50%);
    pointer-events: none;
    z-index: 0;
    opacity: 0.22;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: opacity 0.4s ease;
}

.gallery-mewtwo-watermark {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: contain;
    filter: drop-shadow(0 0 50px rgba(208, 32, 240, 0.8)) drop-shadow(0 0 90px rgba(96, 16, 224, 0.6));
    animation: galleryMewtwoFloat 6s ease-in-out infinite alternate;
}

.gallery-placeholder-grid {
    position: relative;
    z-index: 2;
}

#gallery > .container {
    position: relative;
    isolation: isolate;
}

@keyframes galleryMewtwoFloat {
    0% { transform: translateY(6px); }
    100% { transform: translateY(-6px); }
}

/* 5. Freestanding 3D Holographic Model Stage (a.webp Cutout with Pedestal & Shadows) */
.about-model-stage {
    position: relative;
    width: 100%;
    min-height: 440px;
    display: flex;
    align-items: center;
    justify-content: center;
    perspective: 1200px;
    transform-style: preserve-3d;
}

.model-pedestal-light {
    position: absolute;
    bottom: 25px;
    width: 290px;
    height: 75px;
    border-radius: 50%;
    background: radial-gradient(ellipse at center, rgba(0, 224, 240, 0.55) 0%, rgba(96, 16, 224, 0.35) 45%, transparent 75%);
    filter: blur(14px);
    pointer-events: none;
    z-index: 1;
    animation: pedestalGlowPulse 4s ease-in-out infinite alternate;
}

@keyframes pedestalGlowPulse {
    0% { transform: scale(0.92); opacity: 0.6; }
    100% { transform: scale(1.08); opacity: 0.95; }
}

.model-pedestal-rings {
    position: absolute;
    bottom: 35px;
    width: 260px;
    height: 85px;
    transform: rotateX(72deg);
    pointer-events: none;
    z-index: 2;
}

.pedestal-ring {
    position: absolute;
    border-radius: 50%;
    box-sizing: border-box;
}

.pedestal-ring-outer {
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    border: 2px dashed rgba(0, 224, 240, 0.75);
    box-shadow: 0 0 18px rgba(0, 224, 240, 0.5);
    animation: spinRing 22s linear infinite;
}

.pedestal-ring-inner {
    width: 70%;
    height: 70%;
    top: 15%;
    left: 15%;
    border: 1.5px solid rgba(208, 32, 240, 0.85);
    box-shadow: 0 0 22px rgba(208, 32, 240, 0.65);
    animation: spinRingReverse 15s linear infinite;
}

.pedestal-beam-glow {
    position: absolute;
    width: 140px;
    height: 140px;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background: radial-gradient(circle, rgba(0, 224, 240, 0.45) 0%, transparent 70%);
    filter: blur(12px);
}

@keyframes spinRing {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

@keyframes spinRingReverse {
    0% { transform: rotate(360deg); }
    100% { transform: rotate(0deg); }
}

/* Freestanding 3D Model Wrap */
.about-3d-model-wrap {
    position: relative;
    z-index: 10;
    display: inline-flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    transform-style: preserve-3d;
    cursor: grab;
    user-select: none;
    will-change: transform;
    animation: aboutModelFloat 4.8s ease-in-out infinite alternate;
}

.about-3d-model-wrap:active {
    cursor: grabbing;
}

@keyframes aboutModelFloat {
    0% {
        transform: translateY(0px);
    }
    100% {
        transform: translateY(-20px);
    }
}

.about-model-img {
    width: 320px;
    max-width: 85vw;
    height: auto;
    display: block;
    object-fit: contain;
    filter: drop-shadow(0 20px 28px rgba(96, 16, 224, 0.65))
            drop-shadow(0 35px 55px rgba(0, 224, 240, 0.35))
            drop-shadow(0 0 15px rgba(208, 32, 240, 0.45));
    transition: filter 0.3s ease;
    user-select: none;
    -webkit-user-drag: none;
}

.about-3d-model-wrap:hover .about-model-img {
    filter: drop-shadow(0 25px 42px rgba(208, 32, 240, 0.85))
            drop-shadow(0 42px 75px rgba(0, 224, 240, 0.55))
            drop-shadow(0 0 25px rgba(208, 32, 240, 0.7))
            brightness(1.08);
}

/* Ground shadow under the 3D model */
.model-ground-shadow {
    position: absolute;
    bottom: -32px;
    left: 50%;
    transform: translateX(-50%);
    width: 195px;
    height: 38px;
    border-radius: 50%;
    background: radial-gradient(ellipse at center, rgba(5, 5, 20, 0.88) 0%, rgba(5, 5, 20, 0.5) 45%, transparent 75%);
    filter: blur(8px);
    pointer-events: none;
    animation: modelShadowScale 4.8s ease-in-out infinite alternate;
}

@keyframes modelShadowScale {
    0% { transform: translateX(-50%) scale(1); opacity: 0.85; }
    100% { transform: translateX(-50%) scale(0.8); opacity: 0.4; }
}

/* Interactive click pulse */
.about-3d-model-wrap.model-pulse .about-model-img {
    animation: modelPulseAnim 0.75s cubic-bezier(0.16, 1, 0.3, 1);
}

@keyframes modelPulseAnim {
    0% { transform: scale(1); filter: brightness(1); }
    35% { transform: scale(1.12) translateY(-10px); filter: brightness(1.3) drop-shadow(0 0 45px #00E0F0); }
    100% { transform: scale(1); filter: brightness(1); }
}

/* 6. Rich Purple Elements across the Website */
.hud-navbar {
    border-bottom: 1px solid rgba(160, 40, 240, 0.4) !important;
    box-shadow: 0 4px 25px rgba(96, 16, 224, 0.22) !important;
}

.nav-links .nav-item:hover,
.nav-links .dropdown-toggle:hover {
    color: #E040FB !important;
    text-shadow: 0 0 12px rgba(208, 32, 240, 0.8) !important;
}

.section-label {
    color: #D020F0 !important;
    text-shadow: 0 0 10px rgba(208, 32, 240, 0.4) !important;
}

.hologram-cards-grid .holo-card {
    border-color: rgba(160, 40, 240, 0.38) !important;
    box-shadow: 0 0 20px rgba(96, 16, 224, 0.22) !important;
}

.hologram-cards-grid .holo-card:hover {
    border-color: rgba(225, 120, 255, 0.85) !important;
    box-shadow: 0 0 35px rgba(208, 32, 240, 0.55), inset 0 0 20px rgba(160, 40, 240, 0.25) !important;
}

/* Department illustrations stay behind readable card content. */
.hero-event-orbit {
    display: contents;
}

#departments .hologram-cards-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 22px;
}

.department-card {
    --department-accent: #79e7e0;
    min-height: 300px;
    display: flex;
    align-items: flex-end;
    padding: 28px;
    overflow: hidden;
    isolation: isolate;
    background: #0b1424;
}

.department-card::before {
    background-image: linear-gradient(180deg, rgba(5, 8, 20, 0.02) 0%, rgba(5, 8, 20, 0.2) 35%, #080d1c 88%), var(--department-art);
    background-position: center, 62% center;
    background-size: cover;
    opacity: 0.95;
    transition: opacity 0.3s ease;
}

.department-it-cse { --department-art: url('../assets/departments/it-cse.svg'); }
.department-comp { --department-art: url('../assets/departments/comp.svg'); --department-accent: #d49aff; }
.department-ecomp { --department-art: url('../assets/departments/ecomp.svg'); --department-accent: #ffbc7e; }
.department-mech { --department-art: url('../assets/departments/mech.svg'); --department-accent: #8ad9ff; }

.department-card .card-inner {
    position: relative;
    z-index: 1;
    min-width: 0;
    transform: none;
}

.department-card .card-icon { margin-bottom: 18px; }
.department-card .card-icon svg { stroke: var(--department-accent); }
.department-card .card-data { font-size: clamp(1.4rem, 2.2vw, 1.8rem); }
.department-card .card-desc { color: #d7deee !important; }
.department-card .card-glint { display: none; }
.department-card:hover::before { opacity: 1; }

a:focus-visible, button:focus-visible, input:focus-visible {
    outline: 2px solid var(--color-cyan);
    outline-offset: 5px;
}

@media (max-width: 1100px) {
    #departments .hologram-cards-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .nav-register { display: none; }
    .nav-techyon-brand { margin-left: auto; margin-right: 8px; }
    .mobile-menu-btn { display: block; flex-shrink: 0; }
    .nav-links {
        position: fixed;
        inset: 0;
        width: 100%;
        height: 100vh;
        height: 100dvh;
        padding: 90px 16px 28px;
        flex-direction: column;
        justify-content: flex-start;
        gap: 6px;
        overflow-y: auto;
        overscroll-behavior: contain;
        background: var(--bg-main);
        border: none;
        border-radius: 0;
        z-index: 999;
        transform: translateX(100%);
        visibility: hidden;
        pointer-events: none;
        transition: transform 0.3s ease, visibility 0.3s ease;
    }
    .nav-links.active { transform: none; visibility: visible; pointer-events: auto; }
    .nav-links .nav-item, .nav-links .dropdown-toggle {
        min-height: 44px;
        font-size: 1rem;
        padding: 10px 16px;
        display: flex;
        align-items: center;
        justify-content: center;
    }
    .dropdown-wrapper { width: 100%; display: flex; flex-direction: column; align-items: center; }
    .cyber-dropdown {
        position: static;
        display: none;
        width: min(100%, 300px);
        margin: 4px auto;
        transform: none;
    }
    .cyber-dropdown.show { display: flex; opacity: 1; visibility: visible; }
    .cyber-dropdown a { min-height: 44px; text-align: center; padding: 10px 16px; }
    .mobile-menu-btn.active span:nth-child(1) { transform: translateY(8px) rotate(45deg); }
    .mobile-menu-btn.active span:nth-child(2) { opacity: 0; }
    .mobile-menu-btn.active span:nth-child(3) { transform: translateY(-8px) rotate(-45deg); }
    .nav-search-dropdown { position: fixed; top: 70px; left: 12px; right: 12px; width: auto; max-width: calc(100vw - 24px); }
}

/* Mobile layout and reduced-motion swipe fallback; animated orbit overrides below. */
.hero-mobile-actions, .hero-featured-label { display: none; }
@media (max-width: 900px) {
    #home.hero-technix-style {
        min-height: auto;
        padding: calc(var(--header-height) + 20px) 0 28px;
        overflow: clip;
    }
    #home .hero-technix-content { padding-inline: 16px; max-width: 640px; gap: 0; }
    #home .technix-top-header { margin-bottom: 14px; }
    #home .technix-mega-title {
        font-size: clamp(1.55rem, 7.7vw, 3.2rem);
        letter-spacing: 0;
        line-height: 1.2;
        white-space: nowrap;
        filter: drop-shadow(0 0 14px #00e0f044);
    }
    #home .hero-cybernova-tagline { gap: 8px; margin-top: 10px; }
    #home .hero-cybernova-tagline .tagline-text {
        font-size: clamp(.75rem, 2.8vw, .9rem);
        line-height: 1.6;
        letter-spacing: .07em;
        white-space: normal;
        text-wrap: balance;
    }
    #home .hero-cybernova-tagline .tagline-wing { width: 12px; flex-shrink: 0; }
    #home .holo-bottom-right {
        display: block;
        position: relative;
        order: 0;
        inset: auto;
        margin: 0;
        padding: 7px 14px;
        border-radius: 8px;
        max-width: 100%;
        text-align: center;
        transform: none !important;
        background: #00e0f00a;
    }
    #home .holo-bottom-right .holo-header { display: none; }
    #home .holo-bottom-right .holo-body { font-size: .8rem !important; line-height: 1.6; letter-spacing: .04em; }
    #home .robot-stage-container {
        width: 100%;
        max-width: 100%;
        height: auto;
        min-height: 0;
        display: block;
        margin: 4px 0 0;
        perspective: none;
        transform-style: flat;
        position: relative;
        touch-action: auto;
    }
    #home .carousel-3d-scene {
        position: relative;
        inset: auto;
        display: flex;
        flex-direction: column;
        width: 100%;
        height: auto;
        perspective: none;
        transform-style: flat;
        pointer-events: auto !important;
    }
    #home .robot-character-wrap {
        position: relative !important;
        inset: auto !important;
        width: 100% !important;
        height: clamp(210px, 56vw, 300px) !important;
        transform: none !important;
        flex: none;
        z-index: 1;
        pointer-events: none;
    }
    #home .psychic-aura-glow { width: 220px; height: 220px; left: calc(50% - 110px); top: 0; opacity: .35; animation: none; }
    #home .psychic-ring-orbit { display: none; }
    #home .hero-featured-label {
        display: flex;
        flex-wrap: wrap;
        justify-content: space-between;
        align-items: center;
        gap: 8px;
        width: 100%;
        margin: 0 0 10px;
        font: 600 .75rem/1.5 var(--font-mono);
        letter-spacing: .08em;
        color: var(--text-secondary);
    }
    #hero-swipe-hint { font-size: .75rem; letter-spacing: .03em; color: var(--color-cyan); }
    #home .hero-event-orbit {
        display: grid !important;
        grid-auto-flow: column;
        grid-auto-columns: clamp(168px, 58vw, 240px);
        gap: 12px;
        width: 100%;
        min-width: 0;
        padding: 4px 2px 12px;
        overflow-x: auto;
        overflow-y: hidden;
        overscroll-behavior-x: contain;
        scroll-snap-type: x mandatory;
        scroll-padding-inline: 2px;
        scrollbar-width: thin;
        scrollbar-color: #00e0f077 #ffffff0a;
        touch-action: pan-x pan-y pinch-zoom;
        pointer-events: auto;
    }
    #home .carousel-panel {
        position: relative !important;
        inset: auto !important;
        width: auto !important;
        height: 112px !important;
        min-width: 0;
        border-radius: 12px;
        transform: none !important;
        opacity: 1 !important;
        visibility: visible !important;
        pointer-events: auto !important;
        filter: none !important;
        scroll-snap-align: start;
        box-shadow: inset 0 0 18px #00e0f00a;
        background: linear-gradient(135deg, #12132d, #080c1d);
        backdrop-filter: none;
        will-change: auto;
    }
    #home .panel-inner { padding: 12px 14px; gap: 10px; }
    #home .panel-tag { font-size: .75rem; padding: 3px 6px; letter-spacing: .06em; }
    #home .panel-title { font-size: .9375rem; line-height: 1.4; letter-spacing: .02em; overflow-wrap: break-word; }
    #home .hero-mobile-actions { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; width: 100%; margin-top: 16px; }
    #home .hero-mobile-actions .btn { display: flex; align-items: center; justify-content: center; gap: 8px; min-height: 48px; padding: 12px 8px; margin: 0; font-size: .8125rem; line-height: 1.4; letter-spacing: .04em; border-radius: 8px; }

    /* Departments Section: 2x2 grid matching desktop multi-column structure */
    #departments .hologram-cards-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
        gap: 14px !important;
        margin-top: 24px !important;
    }
    .department-card {
        min-height: 170px !important;
        padding: 18px 14px !important;
        display: flex !important;
        flex-direction: column !important;
        justify-content: space-between !important;
        align-items: flex-start !important;
        border-radius: 14px !important;
    }
    .department-card .card-inner {
        display: flex !important;
        flex-direction: column !important;
        justify-content: space-between !important;
        height: 100% !important;
        width: 100% !important;
        gap: 10px !important;
    }
    .department-card .card-icon {
        width: 32px !important;
        height: 32px !important;
        margin-bottom: auto !important;
    }
    .department-card .card-icon svg {
        width: 32px !important;
        height: 32px !important;
    }
    .department-card .card-data {
        font-size: 1.45rem !important;
        margin-top: 8px !important;
        line-height: 1.15 !important;
    }
    .department-card .card-desc {
        font-size: 0.76rem !important;
        line-height: 1.35 !important;
        color: var(--color-text-dim) !important;
    }

    /* Gallery Section: 2 columns matching desktop multi-column layout */
    #gallery {
        padding: 56px 0;
    }
    .gallery-placeholder-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
        gap: 12px !important;
        margin-bottom: 24px !important;
    }
    .gallery-card-placeholder {
        padding: 16px 12px !important;
        min-height: 155px !important;
        min-width: 0 !important;
        border-radius: 12px !important;
        display: flex !important;
        flex-direction: column !important;
        justify-content: space-between !important;
    }
    .gallery-card-title {
        font-size: 0.84rem !important;
        margin-bottom: 6px !important;
        line-height: 1.25 !important;
        overflow-wrap: anywhere !important;
    }
    .gallery-card-desc {
        font-size: 0.72rem !important;
        line-height: 1.4 !important;
        margin-bottom: 10px !important;
        color: rgba(235, 235, 250, 0.8) !important;
    }
    .gallery-status-pill {
        max-width: 100% !important;
        white-space: normal !important;
        font-size: 0.58rem !important;
        padding: 3px 6px !important;
        letter-spacing: 0.5px !important;
        align-self: flex-start !important;
    }

    /* Schedule Section Day Tabs: Compact horizontal row */
    .schedule-day-tabs {
        flex-direction: row !important;
        align-items: stretch !important;
        gap: 8px !important;
        overflow-x: auto !important;
        padding-bottom: 4px !important;
        scrollbar-width: none !important;
    }
    .schedule-tab-btn {
        flex: 1 1 0 !important;
        min-width: 0 !important;
        max-width: 100% !important;
        height: auto !important;
        padding: 10px 6px !important;
        border-radius: 8px !important;
        display: flex !important;
        flex-direction: column !important;
        align-items: center !important;
        justify-content: center !important;
        text-align: center !important;
    }
    .tab-badge-num {
        font-size: 0.62rem !important;
        letter-spacing: 1px !important;
        padding: 2px 5px !important;
    }
    .tab-label-main {
        font-size: 0.8rem !important;
        white-space: nowrap !important;
    }
    .tab-sub-info {
        font-size: 0.6rem !important;
        white-space: nowrap !important;
        opacity: 0.8 !important;
    }

    /* Schedule Item Cards */
    .schedule-timeline-grid {
        gap: 14px !important;
    }
    .schedule-item-card {
        padding: 16px 14px !important;
        border-radius: 14px !important;
    }
    .schedule-item-title {
        font-size: 1.15rem !important;
        line-height: 1.3 !important;
    }
    .schedule-item-desc {
        font-size: 0.84rem !important;
        line-height: 1.5 !important;
    }
    .schedule-meta-row {
        gap: 8px !important;
        flex-wrap: wrap !important;
    }

    /* Retro Event Cards in Events Directory & Departments */
    .event-card-retro {
        padding: 18px 16px !important;
        border-radius: 14px !important;
    }
    .card-retro-title {
        font-size: 1.25rem !important;
        line-height: 1.25 !important;
    }
    .card-retro-desc {
        font-size: 0.84rem !important;
        line-height: 1.5 !important;
        margin-bottom: 12px !important;
    }
    .card-retro-meta {
        font-size: 0.72rem !important;
        gap: 8px 10px !important;
    }
    .card-retro-actions {
        gap: 8px !important;
    }
    .btn-card-info,
    .btn-card-register {
        padding: 7px 14px !important;
        font-size: 0.72rem !important;
    }

    /* About Section */
    #about .section-layout {
        gap: 20px;
    }
    #about .section-visual-content {
        order: -1;
    }
    .about-model-stage {
        min-height: 260px !important;
    }
    .about-model-img {
        width: 200px !important;
        max-width: 65vw !important;
    }

    .gallery-notice-banner { align-items: flex-start; padding: 16px; }
    .contact-value-large { overflow-wrap: anywhere; }
    .contact-section .container, .contact-grid > *, .section-layout > * { min-width: 0; }
}

@media (pointer: coarse) {
    *, a, button { cursor: auto; }
}

@media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto; }
    *, *::before, *::after { animation-duration: 0.01ms !important; animation-iteration-count: 1 !important; transition-duration: 0.01ms !important; }
}

/* Keep the complete desktop stage inside the hero with one perspective layer. */
@media (min-width: 901px) {
    #home.hero-technix-style {
        min-height: 100svh;
        padding: calc(var(--header-height) + 16px) 24px 20px;
        justify-content: center;
    }
    #home .technix-top-header { margin-bottom: 0; }
    #home .technix-mega-title { font-size: clamp(3rem, 6vw, 6rem); max-width: 1320px; }
    #home .hero-cybernova-tagline { margin: 12px 0 0; }
    #home .robot-stage-container {
        max-width: 1320px;
        height: clamp(340px, calc(100svh - 320px), 680px);
        margin: 14px 0 0;
        perspective: none;
        transform-style: flat;
    }
    #home .carousel-3d-scene { perspective: 1800px; }
    #home .carousel-panel {
        --hero-panel-width: clamp(220px, 17vw, 280px);
        --hero-panel-height: clamp(140px, 10.5vw, 180px);
        width: var(--hero-panel-width);
        height: var(--hero-panel-height);
        left: calc(50% - var(--hero-panel-width) / 2);
        top: calc(50% - var(--hero-panel-height) / 2);
    }
    #home .panel-title { font-size: clamp(0.95rem, 1.1vw, 1.15rem); }
    #home .panel-tag { font-size: clamp(0.65rem, 0.75vw, 0.8rem); }

    /* Desktop Mew Mascot: Dead-center in card cylinder and under headline */
    #home .mewtwo-character-wrap {
        position: absolute !important;
        top: 50% !important;
        /* Optical centering offset: tail extends to left, so head/body center is shifted left to align dead-center */
        left: calc(50% - clamp(16px, 1.8vw, 24px)) !important;
        animation: none !important; /* Prevents conflict with JS 3D tilt */
        display: flex !important;
        flex-direction: column !important;
        align-items: center !important;
        justify-content: center !important;
        z-index: 10 !important;
    }
    #home .mewtwo-img {
        height: clamp(300px, calc(100svh - 350px), 580px);
        width: auto;
        object-fit: contain;
        display: block;
        animation: mewtwoDesktopFloat 4.5s ease-in-out infinite, mewtwoPsychicPulse 3s ease-in-out infinite alternate !important;
    }
    #home .mewtwo-shadow {
        margin-top: 8px;
        animation: mewtwoShadowPulse 4.5s ease-in-out infinite !important;
    }

    #home .holo-bottom-right {
        position: relative;
        inset: auto;
        order: 1;
        margin: 10px auto 0;
        padding: 8px 18px;
        text-align: center;
        transform: none !important;
    }
}

@keyframes mewtwoDesktopFloat {
    0%, 100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-14px);
    }
}

/* Original animated TECHYON robot, centered in the existing event orbit. */
#home .robot-character-wrap {
    position: absolute;
    top: 43%;
    left: 50%;
    width: min(900px, 95vw);
    height: 125%;
    transform: translate(-50%, -50%);
    z-index: 10;
    pointer-events: none;
}
#home #hero-robot { display: block; width: 100%; height: 100%; background: transparent; --poster-color: transparent; }
.robot-loading { display: grid; place-items: center; height: 100%; width: 100%; color: var(--color-cyan); font: .75rem var(--font-mono); letter-spacing: .1em; }
.robot-asset-credit { color: var(--text-muted); font-size: .7rem; text-align: center; }
.robot-asset-credit a { color: inherit; }
@media (min-width: 901px) {
    #home .carousel-panel {
        --hero-panel-width: clamp(160px, 13vw, 210px);
        --hero-panel-height: clamp(100px, 8vw, 130px);
        top: calc(74% - var(--hero-panel-height) / 2);
    }
}

/* A single aligned navigation row, with consistent control sizes. */
@media (min-width: 1101px) {
    :root { --header-height: 88px; }
    .hud-navbar { height: var(--header-height); padding: 0; }
    .hud-navbar.scrolled { height: 76px; padding: 0; }
    .nav-container {
        display: grid;
        grid-template-columns: auto minmax(0, 1fr) auto auto;
        max-width: 1600px;
        margin-inline: auto;
        padding-inline: clamp(20px, 2vw, 36px);
        gap: clamp(12px, 1.4vw, 24px);
    }
    .nav-links {
        justify-content: space-between;
        gap: clamp(8px, 0.6vw, 12px);
        padding: 6px 16px;
        min-width: 0;
        border-radius: 12px;
        background: rgba(12, 16, 30, 0.6);
    }
    .nav-links .nav-item, .nav-links .dropdown-toggle {
        min-height: 38px;
        padding: 0;
        font-family: var(--font-heading);
        font-size: clamp(0.78rem, 0.95vw, 1rem);
        font-weight: 600;
        letter-spacing: 0.07em;
        line-height: 1;
    }
    .nav-pcce-logo { max-width: 120px; height: 46px; }
    .nav-techyon-brand { margin: 0; padding: 0; }
    .nav-techyon-logo { height: 46px; max-height: 46px; }
    .nav-search-wrapper { margin-left: 2px; }
    .nav-search-btn { width: 38px; height: 38px; border-radius: 8px; box-shadow: none; }
    .nav-register { min-height: 40px; padding: 10px 16px; border-radius: 8px; font-size: 0.72rem; letter-spacing: 0.08em; }
}
@media (min-width: 1101px) and (max-width: 1280px) {
    .nav-container { grid-template-columns: auto minmax(0, 1fr) auto; }
    .nav-register { display: none; }
}

/* The flagship shares the hackathon's green and gold identity. */
.event-card-retro.event-card-flagship,
.schedule-item-card.schedule-card-flagship {
    border-color: #c7ab68 !important;
    background: linear-gradient(100deg, #081b11ed, #102b1dc4), url('../assets/departments/hackathon.jpg') center / cover no-repeat, #172b1b !important;
    background-blend-mode: normal, luminosity, normal !important;
    box-shadow: 0 0 28px #c7ab681a, inset 0 0 24px #c7ab6809 !important;
}
.event-card-retro.event-card-flagship:hover,
.schedule-item-card.schedule-card-flagship:hover {
    border-color: #d6c086 !important;
    box-shadow: 0 8px 32px #c7ab6826 !important;
}
.schedule-card-flagship { grid-column: 1 / -1; }
.flagship-label {
    color: #d6c086;
    font: 600 0.72rem/1.7 var(--font-mono);
    letter-spacing: 0.08em;
    margin-bottom: 12px;
    overflow-wrap: anywhere;
}
.event-card-flagship .card-badge-category {
    color: #d6c086 !important;
    background: #c7ab6814 !important;
    border-color: #c7ab6877 !important;
    white-space: normal;
}
.event-card-flagship .card-retro-title,
.event-card-flagship .card-title-link,
.schedule-card-flagship .schedule-card-title-link { color: #e2c989 !important; }
.event-card-flagship .hud-corner,
.schedule-card-flagship .hud-corner { border-color: #c7ab68 !important; }
.schedule-card-flagship .schedule-card-accent { background: linear-gradient(90deg, #c7ab68, #193d29) !important; box-shadow: none !important; }

:is(.event-card-flagship, .schedule-card-flagship) {
    --color-cyan: #c7ab68;
    --color-purple: #193d29;
    --color-magenta: #c7ab68;
}
:is(.event-card-flagship, .schedule-card-flagship) * {
    color: #dfcc9c !important;
    text-shadow: none !important;
}
:is(.event-card-flagship, .schedule-card-flagship)::before,
:is(.event-card-flagship, .schedule-card-flagship)::after {
    background: none !important;
    box-shadow: none !important;
}
:is(.event-card-flagship, .schedule-card-flagship) :is(.schedule-time-box, .schedule-status-pill, .schedule-time-note, .schedule-dept-pill, .event-card-tag, .event-status-badge, .card-subpill-tag, .card-badge-category) {
    background: #0b221be6 !important;
    border-color: #c7ab6866 !important;
    box-shadow: none !important;
}
.schedule-card-flagship .schedule-time-note { border-left-color: #c7ab68 !important; }
.schedule-card-flagship :is(.schedule-meta-row, .schedule-card-footer),
.event-card-flagship .card-retro-bottom-group { border-color: #c7ab6833 !important; }
:is(.event-card-flagship, .schedule-card-flagship) :is(.btn-schedule-action, .btn-card-register) {
    background: #c7ab68 !important;
    border: 1px solid #c7ab68 !important;
    color: #092015 !important;
    box-shadow: 0 4px 16px #081b1166 !important;
}
.event-card-flagship .btn-card-register *,
.schedule-card-flagship .btn-schedule-action * { color: #092015 !important; }
.event-card-flagship .btn-card-info {
    background: #0b221be6 !important;
    border-color: #c7ab68 !important;
    box-shadow: none !important;
}
:is(.event-card-flagship, .schedule-card-flagship) :is(.btn-schedule-action, .btn-card-register):hover {
    background: #e2c989 !important;
    border-color: #e2c989 !important;
    box-shadow: 0 0 18px #c7ab6833 !important;
}
.event-card-flagship .btn-card-info:hover { background: #193d29 !important; }
:is(.event-card-flagship, .schedule-card-flagship) a:hover { text-shadow: none !important; }
:is(.event-card-flagship, .schedule-card-flagship) :focus-visible { outline-color: #e2c989; }

/* Give the flagship's title and details more visual weight. */
.schedule-card-flagship .schedule-item-title,
.event-card-flagship .card-retro-title {
    font-size: clamp(1.6rem, 2.5vw, 2.25rem) !important;
    line-height: 1.3 !important;
}
.schedule-card-flagship .schedule-item-desc,
.event-card-flagship .card-retro-desc {
    font-size: 1.05rem !important;
    line-height: 1.75 !important;
}
.schedule-card-flagship .flagship-label { font-size: 0.82rem; }
.schedule-card-flagship .schedule-time-note { font-size: 0.9rem !important; }
.schedule-card-flagship .schedule-time-box { font-size: 0.85rem !important; }
.schedule-card-flagship .schedule-status-pill { font-size: 0.78rem !important; }
.event-card-flagship .card-retro-meta { font-size: 0.85rem; }

.doom-countdown { width: 100%; max-width: 340px; box-sizing: border-box; margin: 0 0 18px; padding: 12px; background: #081c13dd; border: 1px solid #c7ab6866; border-radius: 8px; }
.doom-countdown-label, .doom-countdown-status { display: block; font: 600 .6rem/1.6 var(--font-mono); letter-spacing: .04em; }
.doom-countdown-digits { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 6px; margin: 10px 0; }
.doom-countdown-digits > span { display: flex; flex-direction: column; align-items: center; gap: 4px; padding: 8px 4px; background: #173323; border: 1px solid #c7ab6833; border-radius: 4px; }
.doom-countdown-digits strong { font: 700 clamp(1.2rem, 3vw, 1.65rem)/1.15 var(--font-display); font-variant-numeric: tabular-nums; }
.doom-countdown-digits small { font: 500 clamp(.5rem, 1.8vw, .65rem)/1.5 var(--font-mono); letter-spacing: .04em; }
.robot-asset-credit summary { cursor: pointer; width: fit-content; margin-inline: auto; }
.robot-asset-credit p { margin-top: 8px; }

.schedule-card-flagship .schedule-prize-pool { margin-bottom: 12px; font: 600 .8rem/1.6 var(--font-mono); letter-spacing: .05em; }
.schedule-prize-pool strong { font-size: 1.15rem; }
@media (min-width: 901px) {
    .schedule-card-flagship .schedule-card-body { display: grid; grid-template-columns: minmax(0, 1fr) minmax(260px, 340px); column-gap: 28px; align-items: start; }
    .schedule-card-flagship .doom-countdown { grid-column: 2; grid-row: 1 / span 4; margin-bottom: 12px; }
    .schedule-card-flagship .flagship-label { grid-column: 1; grid-row: 1; margin-bottom: 8px; }
    .schedule-card-flagship .schedule-item-title { grid-column: 1; grid-row: 2; }
    .schedule-card-flagship .schedule-prize-pool { grid-column: 1; grid-row: 3; }
    .schedule-card-flagship .schedule-item-desc { grid-column: 1; grid-row: 4; margin-bottom: 12px !important; }
    .schedule-card-flagship .schedule-time-note { grid-column: 1 / -1; grid-row: 5; }
    .schedule-card-flagship .schedule-meta-row { grid-column: 1 / -1; grid-row: 6; }
}
@media (max-width: 900px) {
    .schedule-card-flagship .schedule-card-body { display: flex; flex-direction: column; }
    .schedule-card-flagship .flagship-label { order: 0; }
    .schedule-card-flagship .schedule-item-title { order: 1; }
    .schedule-card-flagship .schedule-item-desc { order: 2; }
    .schedule-card-flagship .schedule-prize-pool { order: 3; }
    .schedule-card-flagship .doom-countdown { order: 4; }
    .schedule-card-flagship .schedule-time-note { order: 5; }
    .schedule-card-flagship .schedule-meta-row { order: 6; }
}

@media (max-width: 1100px) {
    .nav-links { align-items: stretch; }
    .nav-links .nav-item, .nav-links .dropdown-toggle { justify-content: flex-start; text-align: left; }
    .nav-links .dropdown-wrapper { align-items: stretch; }
    .nav-links .cyber-dropdown { margin-inline: 16px; }
    .nav-links .cyber-dropdown a { text-align: left; }
}

/* Shared phone layout and touch controls. */
@media (max-width: 900px) {
    :root { --header-height: 72px; }
    html { scroll-padding-top: calc(var(--header-height) + 12px); }
    body.mobile-nav-open { overflow: hidden; }
    #bg-canvas, #cursor-dot, #cursor-ring { display: none; }
    .hud-navbar, .hud-navbar.scrolled { height: var(--header-height); padding: 0; }
    .nav-container { height: 100%; padding-inline: max(16px, env(safe-area-inset-left)); gap: 12px; }
    .nav-pcce-logo, .hud-navbar.scrolled .nav-pcce-logo { height: 38px; width: auto; max-width: 110px; }
    .nav-techyon-logo, .hud-navbar.scrolled .nav-techyon-logo { height: 36px; max-height: 36px; max-width: 110px; }
    .nav-techyon-brand { margin: 0 0 0 auto; padding: 4px; }
    .mobile-menu-btn { position: relative; z-index: 1001; width: 44px; height: 44px; padding: 10px; margin: 0; }
    .mobile-menu-btn span { width: 24px; }
    .nav-links { padding-top: calc(var(--header-height) + 16px); padding-bottom: max(24px, env(safe-area-inset-bottom)); }
    .nav-links .nav-item, .nav-links .dropdown-toggle { min-height: 48px; width: 100%; }
    .nav-search-dropdown { top: calc(var(--header-height) + 8px); max-height: calc(100dvh - var(--header-height) - 24px); overflow-y: auto; }
    input, select, textarea, .nav-search-input { font-size: 16px; }
    .section { padding-block: 52px; }
    .container { padding-inline: 20px; }
    .section-title { font-size: clamp(1.8rem, 7vw, 2.6rem); line-height: 1.25; overflow-wrap: break-word; }
    .section-label { font-size: .68rem; letter-spacing: .12em; }
    .section-layout > *, .contact-grid > *, .cinematic-specs-grid > * { min-width: 0; }
    #about .section-visual-content { order: 0; }
    #about .section-title br { display: none; }
    #about .about-model-stage { min-height: 200px !important; }
    #about .prose { font-size: .95rem; line-height: 1.75; }
    .schedule-day-tabs .tab-label-main, .schedule-day-tabs .tab-sub-info { white-space: normal !important; overflow-wrap: anywhere; line-height: 1.4; }
    .schedule-tab-btn { min-height: 78px; }
    .schedule-card-flagship .schedule-item-title, .event-card-flagship .card-retro-title { font-size: 1.45rem !important; }
    .schedule-card-flagship .schedule-item-desc, .event-card-flagship .card-retro-desc { font-size: .9rem !important; line-height: 1.65 !important; }
    .schedule-card-title-link, .schedule-time-box { overflow-wrap: anywhere; }
    .btn-card-info, .btn-card-register, .btn-schedule-action, .schedule-tab-btn, .teams-filter { min-height: 44px; }
    .card-retro-actions, .schedule-card-footer { flex-wrap: wrap; }
    .contact-grid { gap: 32px; margin-block: 32px; }
    .clean-list li { margin-bottom: 12px; }
    .clean-list a { min-height: 40px; align-items: center; }
    .contact-brand h2 { font-size: 2rem; }
    .event-detail-hero .cinematic-hero-title { font-size: clamp(1.7rem, 7.8vw, 3rem) !important; max-width: 100%; overflow-wrap: break-word; }
    .cinematic-spec-card, .hero-cinematic-desc, .rulebook-article { overflow-wrap: break-word; }
}
@media (max-width: 380px) {
    .gallery-placeholder-grid { grid-template-columns: 1fr !important; }
    .department-card { padding: 14px 10px !important; }
    .department-card .card-data { font-size: 1.2rem !important; }
    .department-card .card-desc { font-size: .75rem !important; }
    #home .hero-mobile-actions { grid-template-columns: 1fr; gap: 8px; }
}

@media (max-width: 1100px) { body.mobile-nav-open { overflow: hidden; } }
@media (max-width: 900px) {
    .hud-navbar { background: #080c1df7; backdrop-filter: none; -webkit-backdrop-filter: none; }
    #home .technix-mega-title::before, #home .technix-mega-title::after { display: none; }
}

.robot-load-button { pointer-events: auto; cursor: pointer; min-height: 44px; padding: 10px 16px; border: 1px solid var(--color-cyan); border-radius: 8px; color: var(--color-cyan); background: #080c1dee; font: 600 .8125rem/1.4 var(--font-body); letter-spacing: .02em; }
.robot-poster-content { display: grid; place-items: center; gap: 12px; text-align: center; max-width: 260px; padding: 16px; }
.robot-load-button[hidden] { display: none; }

/* Mobile uses the same depth-sorted cylinder as desktop, scaled to the viewport. */
@media (max-width: 900px) and (prefers-reduced-motion: no-preference) {
    #home .robot-stage-container { height: clamp(330px, 85vw, 480px); touch-action: pan-y pinch-zoom; }
    #home .carousel-3d-scene { position: absolute; inset: 0; height: 100%; display: block; perspective: 900px; transform-style: preserve-3d; }
    #home .robot-character-wrap { position: absolute !important; top: 39% !important; left: 50% !important; width: 100% !important; height: 100% !important; transform: translate(-50%, -50%) !important; z-index: 10; }
    #home .hero-featured-label { position: absolute; top: 0; left: 0; margin: 0; pointer-events: none; }
    #home .hero-event-orbit { display: contents !important; }
    #home .carousel-panel {
        --mobile-card-width: clamp(92px, 24vw, 140px);
        --mobile-card-height: clamp(66px, 17vw, 92px);
        position: absolute !important; inset: auto !important;
        left: calc(50% - var(--mobile-card-width) / 2) !important;
        top: calc(74% - var(--mobile-card-height) / 2) !important; width: var(--mobile-card-width) !important;
        height: var(--mobile-card-height) !important;
        border-radius: 8px; border-width: 1px;
        transform: var(--orbit-transform) !important; opacity: var(--orbit-opacity, 1) !important;
        pointer-events: var(--orbit-pointer, auto) !important; filter: var(--orbit-filter, none) !important;
        will-change: transform; background: linear-gradient(135deg, #12132df5, #080c1df5);
    }
    #home .panel-inner { padding: 7px; gap: 5px; }
    #home .panel-tag { font-size: .5rem; padding: 2px 3px; letter-spacing: .04em; }
    #home .panel-title { font: 600 .6875rem/1.25 'Inter', system-ui, sans-serif; letter-spacing: 0; overflow-wrap: normal; word-break: normal; }
}

.home-coordinators { background: transparent; }
.home-coordinators .teams-filters { margin-top: 32px; }
.home-coordinators .teams-grid { margin-bottom: 0; }
.home-coordinators .section-title { text-transform: uppercase; }

/* Official full-color sponsor artwork needs a light, consistently sized surface. */
.sponsor-logo-wrap { width: 190px; max-width: 100%; min-height: 92px; padding: 12px; background: #fff; border-radius: 6px; box-sizing: border-box; }
.sponsor-logo-img { display: block; max-width: 100%; max-height: 68px; width: auto; height: auto; }

/* Precision cursor: a crisp point with a restrained interaction halo. */
#cursor-dot, #cursor-ring { opacity: 0 !important; display: none; }
.cursor-enabled.cursor-visible:not(.cursor-native) #cursor-dot,
.cursor-enabled.cursor-visible:not(.cursor-native) #cursor-ring { display: block; opacity: 1 !important; }
.cursor-enabled.cursor-visible:not(.cursor-native),
.cursor-enabled.cursor-visible:not(.cursor-native) * { cursor: none !important; }
#cursor-dot {
    width: 6px; height: 6px; border-radius: 50%; background: #e4fcff;
    border: 1px solid #142b35; box-shadow: 0 0 0 1px #ffffff30;
    transition: width .18s ease, height .18s ease, background .18s ease;
}
#cursor-ring {
    width: 26px; height: 26px; border: 1px solid #b4eaf070;
    background: transparent; box-shadow: none; mix-blend-mode: normal;
    transition: width .2s ease, height .2s ease, border-color .2s ease, background .2s ease;
}
#cursor-ring::before, #cursor-ring::after { content: none; }
.cursor-hover #cursor-dot { width: 4px; height: 4px; background: #b6f5ff; }
.cursor-hover #cursor-ring { width: 36px; height: 36px; border-color: #b6f5ffcc; background: #88e9ff12; }
.cursor-pressed #cursor-ring { width: 20px; height: 20px; background: #88e9ff25; }
.cursor-native input, .cursor-native textarea, .cursor-native [contenteditable="true"] { cursor: text; }
@media (hover:none), (pointer:coarse), (prefers-reduced-motion:reduce) {
    #cursor-dot, #cursor-ring { display:none !important; }
}

/* Cyber Nova: tweak colors, core/ring sizes and trail lifetime in main.js. */
:root { --nova-cyan:#00f0ff; --nova-magenta:#ff2bd6; --nova-violet:#7b2fff; --nova-core:#fff5d6; --nova-space:#05030f; --nova-core-size:7px; --nova-ring-size:36px; --nova-hover-size:60px; }
#cursor-dot { width:var(--nova-core-size); height:var(--nova-core-size); background:var(--nova-core); border:0; box-shadow:0 0 6px var(--nova-cyan),0 0 16px var(--nova-cyan); }
#cursor-ring { width:var(--nova-ring-size); height:var(--nova-ring-size); border:0; background:transparent; }
#cursor-ring::before { content:''; position:absolute; inset:0; border:1px dashed var(--nova-cyan); border-radius:50%; box-shadow:0 0 12px color-mix(in srgb,var(--nova-magenta) 35%,transparent); animation:nova-spin 8s linear infinite; }
.cursor-hover #cursor-ring { width:var(--nova-hover-size); height:var(--nova-hover-size); background:transparent; }
.cursor-hover #cursor-ring::before { border-color:var(--nova-magenta); animation-duration:1.8s; }
.cursor-hover #cursor-dot { width:var(--nova-core-size); height:var(--nova-core-size); animation:nova-core-pulse .8s ease-in-out infinite; }
.cursor-idle #cursor-ring::before { animation:nova-breathe 3s ease-in-out infinite; }
.cursor-text #cursor-dot { width:2px; height:22px; border-radius:1px; background:var(--nova-cyan); animation:none; }
.cursor-text #cursor-ring { opacity:0!important; }
.nova-spark,.nova-wave { position:fixed; top:0; left:0; pointer-events:none!important; z-index:2147483647; border-radius:50%; }
.nova-spark { width:3px; height:3px; background:currentColor; box-shadow:0 0 6px currentColor; }
.nova-wave { width:20px; height:20px; border:1px solid var(--nova-core); box-shadow:0 0 12px var(--nova-magenta); }
#cursor-dot,#cursor-ring { z-index:2147483647; }
@keyframes nova-spin { to { rotate:360deg; } }
/* Animate only the glow: scaling this positioned element also scales its pointer translation. */
@keyframes nova-core-pulse { 50% { filter:brightness(1.6); box-shadow:0 0 9px var(--nova-cyan),0 0 22px var(--nova-cyan); } }
@keyframes nova-breathe { 50% { scale:1.12; opacity:.5; } }
@media (prefers-reduced-motion:reduce) {
    .cursor-enabled.cursor-visible:not(.cursor-native) #cursor-dot,.cursor-enabled.cursor-visible:not(.cursor-native) #cursor-ring { display:block!important; }
    #cursor-ring::before,#cursor-dot { animation:none!important; }
    #cursor-dot,#cursor-ring { transition:none; }
    .nova-spark,.nova-wave { display:none!important; }
}
@media (hover:none),(pointer:coarse) { #cursor-dot,#cursor-ring,.nova-spark,.nova-wave { display:none!important; } }
