/* ============================================
   BLITZ CLUB — IMMERSIVE 3D THEME
   ============================================ */

/* Base Variables - Main Mission Inspired Theme */
:root {
    --bg-color: #000000;
    --bg-secondary: #09090b;
    --bg-card: #18181b;
    --text-primary: #ffffff;
    --text-secondary: #a1a1aa;
    --accent-primary: #ff6a00;
    --accent-hover: #ff8533;
    --accent-secondary: #ee0979;
    --border-color: #27272a;
    --font-heading: system-ui, -apple-system, sans-serif;
    --font-main: system-ui, -apple-system, sans-serif;
    --shadow-brutalist: 4px 4px 0px rgba(255, 106, 0, 0.2);
    --transition-fast: 0.2s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    --glass-border: #27272a;
}

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

body {
    font-family: var(--font-main);
    background-color: var(--bg-color);
    color: var(--text-primary);
    line-height: 1.6;
    overflow-x: hidden;
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}

main {
    flex: 1;
}



h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    text-transform: uppercase;
}

a { text-decoration: none; color: inherit; }
button { cursor: pointer; font-family: var(--font-heading); text-transform: uppercase; }

/* ============================================
   FLOATING GEOMETRIC SHAPES
   ============================================ */
.floating-shapes {
    display: none; /* Hidden for cleaner look */
    position: fixed;
    top: 0; left: 0;
    width: 100%; height: 100%;
    pointer-events: none;
    z-index: 0;
    overflow: hidden;
}

.shape {
    position: absolute;
    opacity: 0.06;
    animation: floatDrift linear infinite;
}

.shape--triangle {
    width: 0; height: 0;
    border-left: 30px solid transparent;
    border-right: 30px solid transparent;
    border-bottom: 52px solid var(--accent-primary);
}

.shape--circle {
    width: 40px; height: 40px;
    border-radius: 50%;
    border: 2px solid var(--accent-secondary);
}

.shape--square {
    width: 30px; height: 30px;
    border: 2px solid var(--accent-primary);
    transform: rotate(45deg);
}

.shape--ring {
    width: 60px; height: 60px;
    border-radius: 50%;
    border: 2px solid var(--accent-secondary);
}

.shape--cross {
    width: 30px; height: 30px;
    position: relative;
}
.shape--cross::before, .shape--cross::after {
    content: '';
    position: absolute;
    background: var(--accent-primary);
}
.shape--cross::before {
    width: 100%; height: 2px;
    top: 50%; left: 0;
    transform: translateY(-50%);
}
.shape--cross::after {
    width: 2px; height: 100%;
    left: 50%; top: 0;
    transform: translateX(-50%);
}

@keyframes floatDrift {
    0% {
        transform: translate(0, 100vh) rotate(0deg);
        opacity: 0;
    }
    10% { opacity: 0.06; }
    90% { opacity: 0.06; }
    100% {
        transform: translate(var(--drift-x, 100px), -100px) rotate(var(--drift-rot, 360deg));
        opacity: 0;
    }
}

/* ============================================
   3D PRELOADER
   ============================================ */
#preloader {
    position: fixed;
    top: 0; left: 0; width: 100%; height: 100%;
    background-color: var(--bg-color);
    display: flex; flex-direction: column; justify-content: center; align-items: center;
    z-index: 9999; opacity: 1; transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}
#preloader.fade-out { opacity: 0; pointer-events: none; transform: scale(1.1) rotateX(10deg); }

.preloader-ring {
    width: 80px; height: 80px;
    position: relative;
    margin-bottom: 2rem;
    transform-style: preserve-3d;
    animation: preloaderSpin 1.5s linear infinite;
}

.preloader-ring::before,
.preloader-ring::after {
    content: '';
    position: absolute;
    width: 100%; height: 100%;
    border-radius: 50%;
    border: 3px solid transparent;
}

.preloader-ring::before {
    border-top-color: var(--accent-primary);
    border-right-color: var(--accent-primary);
    animation: ringPulse 1.5s ease-in-out infinite;
}

.preloader-ring::after {
    border-bottom-color: var(--accent-secondary);
    border-left-color: var(--accent-secondary);
    animation: ringPulse 1.5s ease-in-out infinite reverse;
}

@keyframes preloaderSpin {
    0% { transform: rotateX(0deg) rotateY(0deg); }
    100% { transform: rotateX(360deg) rotateY(180deg); }
}

@keyframes ringPulse {
    0%, 100% { transform: scale(1); opacity: 1; }
    50% { transform: scale(1.15); opacity: 0.7; }
}

.preloader-text {
    color: var(--accent-primary);
    font-family: var(--font-heading);
    font-size: 1rem;
    font-weight: 800;
    letter-spacing: 4px;
    text-transform: uppercase;
    animation: textPulse 1.5s ease-in-out infinite;
}

@keyframes textPulse {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.4; }
}

/* ============================================
   MARQUEE — Enhanced
   ============================================ */
.marquee-container {
    background: linear-gradient(90deg, var(--accent-primary), #FF8533, var(--accent-primary));
    background-size: 200% 100%;
    animation: marqueeGradient 3s linear infinite;
    color: #0a0a0a; padding: 0.6rem 0;
    overflow: hidden; white-space: nowrap; position: relative;
    font-family: var(--font-heading); font-weight: 800; font-size: 0.9rem; letter-spacing: 2px;
    z-index: 1;
}
@keyframes marqueeGradient {
    0% { background-position: 0% 50%; }
    100% { background-position: 200% 50%; }
}
.marquee-content { display: inline-block; animation: marquee 20s linear infinite; }
@keyframes marquee { 0% { transform: translateX(0); } 100% { transform: translateX(-50%); } }

/* ============================================
   NAVBAR — Glassmorphism
   ============================================ */
.navbar {
    background: #000000;
    border-bottom: 1px solid var(--border-color);
    position: sticky; top: 0; z-index: 100;
    transition: all 0.3s ease;
}
.navbar::after {
    content: '';
    position: absolute;
    bottom: 0; left: 0;
    width: 100%; height: 1px;
    background: var(--border-color);
    opacity: 1;
}
.nav-container {
    max-width: 1200px; margin: 0 auto; padding: 1.25rem 2rem;
    display: flex; justify-content: space-between; align-items: center;
}
.nav-brand {
    font-family: var(--font-heading); font-weight: 900; font-size: 1.8rem;
    letter-spacing: -1px; color: var(--text-primary); position: relative;
    transition: transform 0.3s ease, text-shadow 0.3s ease;
}
.nav-brand:hover {
    transform: perspective(500px) rotateY(-5deg) scale(1.02);
    text-shadow: 0 0 20px rgba(255, 94, 0, 0.5);
}
.nav-brand::after {
    content: ''; position: absolute; bottom: -4px; left: 0; width: 100%; height: 3px;
    background: linear-gradient(90deg, var(--accent-primary), var(--accent-secondary));
    transform: scaleX(0); transform-origin: right;
    transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    border-radius: 2px;
    box-shadow: 0 0 10px rgba(255, 94, 0, 0.5);
}
.nav-brand:hover::after { transform: scaleX(1); transform-origin: left; }

.mobile-menu-btn {
    display: none;
    flex-direction: column;
    justify-content: space-around;
    width: 30px;
    height: 25px;
    background: transparent;
    border: none;
    cursor: pointer;
    z-index: 200;
}
.mobile-menu-btn span {
    width: 100%;
    height: 3px;
    background: var(--text-primary);
    border-radius: 10px;
    transition: all 0.3s linear;
    position: relative;
    transform-origin: 1px;
}
.mobile-menu-btn.open span:nth-child(1) { transform: rotate(45deg); }
.mobile-menu-btn.open span:nth-child(2) { opacity: 0; transform: translateX(20px); }
.mobile-menu-btn.open span:nth-child(3) { transform: rotate(-45deg); }

.nav-links { display: flex; gap: 2rem; align-items: center; }
.nav-link {
    font-family: var(--font-heading); font-weight: 700; font-size: 0.9rem;
    letter-spacing: 1px; color: var(--text-secondary);
    transition: all var(--transition-fast);
    position: relative;
    padding-bottom: 4px;
}
.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0; left: 50%;
    width: 0; height: 2px;
    background: var(--accent-primary);
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
    box-shadow: 0 0 8px rgba(255, 94, 0, 0.5);
    border-radius: 2px;
}
.nav-link:hover::after {
    width: 100%;
    left: 0;
}
.nav-link:hover, .nav-link.active { color: var(--accent-primary); }
.admin-link {
    color: #0a0a0a; background-color: var(--accent-primary); padding: 0.5rem 1rem;
    border-radius: 50px; transition: all var(--transition-fast);
}
.admin-link:hover { background-color: var(--text-primary); color: #0a0a0a; }

/* ============================================
   VIEWS — 3D Transitions
   ============================================ */
.view {
    display: none;
    animation: viewEnter3D 0.6s cubic-bezier(0.16, 1, 0.3, 1) forwards;
    position: relative;
    z-index: 1;
}
.view.active { display: block; }

@keyframes viewEnter3D {
    0% {
        opacity: 0;
        transform: perspective(1200px) rotateX(4deg) translateY(40px) scale(0.97);
        filter: blur(4px);
    }
    100% {
        opacity: 1;
        transform: perspective(1200px) rotateX(0deg) translateY(0) scale(1);
        filter: blur(0);
    }
}

/* ============================================
   SCROLL REVEAL ANIMATIONS
   ============================================ */
.reveal {
    opacity: 0;
    transform: translateY(40px);
    transition: opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1), transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}
.reveal.revealed {
    opacity: 1;
    transform: translateY(0);
}

.reveal-left {
    opacity: 0;
    transform: translateX(-60px) rotateY(5deg);
    transition: opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1), transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}
.reveal-left.revealed {
    opacity: 1;
    transform: translateX(0) rotateY(0);
}

.reveal-right {
    opacity: 0;
    transform: translateX(60px) rotateY(-5deg);
    transition: opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1), transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}
.reveal-right.revealed {
    opacity: 1;
    transform: translateX(0) rotateY(0);
}

/* ============================================
   CONTAINERS & SECTION TITLES
   ============================================ */
.container { max-width: 1200px; margin: 0 auto; padding: 4rem 2rem; position: relative; z-index: 1; }
.slim-container { max-width: 600px; }
.section-title {
    font-size: 3rem; font-weight: 900; margin-bottom: 3rem; letter-spacing: -2px;
    position: relative;
}
.section-title .accent,
.section-title span {
    color: var(--accent-primary);
}

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

/* ============================================
   HERO SLIDER — with particles canvas
   ============================================ */
.hero {
    position: relative; height: 80vh; min-height: 500px;
    overflow: hidden; display: flex; align-items: center; justify-content: center;
}

#hero-particles {
    position: absolute;
    top: 0; left: 0;
    width: 100%; height: 100%;
    z-index: 1;
    pointer-events: none;
}

.hero-slide {
    position: absolute; top: 0; left: 0; width: 100%; height: 100%;
    background-size: cover; background-position: center;
    opacity: 0; transition: opacity 1.2s ease-in-out, transform 1.2s ease-in-out;
    display: flex; align-items: center; justify-content: center; text-align: center;
    transform: scale(1.05);
}
.hero-slide.active { opacity: 1; z-index: 1; transform: scale(1); }

.hero-content {
    z-index: 2; position: relative; padding: 0 2rem;
    animation: heroFloat 6s ease-in-out infinite;
}
.hero-content h1 {
    font-size: clamp(3rem, 8vw, 6rem); font-weight: 900; margin-bottom: 1rem;
    letter-spacing: -2px; line-height: 1.1;
    text-shadow: 0 0 40px rgba(255, 94, 0, 0.3), 0 4px 20px rgba(0, 0, 0, 0.5);
    animation: heroTextIn 1s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}
.hero-content p {
    font-size: 1.25rem; color: var(--text-secondary); max-width: 600px; margin: 0 auto;
    animation: heroTextIn 1s 0.2s cubic-bezier(0.16, 1, 0.3, 1) both;
}

@keyframes heroFloat {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-10px); }
}

@keyframes heroTextIn {
    0% {
        opacity: 0;
        transform: perspective(800px) rotateX(10deg) translateY(30px);
        filter: blur(6px);
    }
    100% {
        opacity: 1;
        transform: perspective(800px) rotateX(0) translateY(0);
        filter: blur(0);
    }
}

.hero-nav { position: absolute; bottom: 2rem; z-index: 3; display: flex; gap: 1rem; }
.hero-dot {
    width: 15px; height: 15px;
    background: rgba(255,255,255,0.2); border-radius: 50%;
    cursor: pointer; transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    position: relative;
}
.hero-dot::before {
    content: '';
    position: absolute;
    top: -4px; left: -4px;
    width: calc(100% + 8px); height: calc(100% + 8px);
    border-radius: 50%;
    border: 2px solid var(--accent-primary);
    opacity: 0;
    transform: scale(0.5);
    transition: all 0.4s ease;
}
.hero-dot.active {
    background: var(--accent-primary);
    transform: scale(1.3);
    box-shadow: 0 0 15px rgba(255, 94, 0, 0.6);
}
.hero-dot.active::before {
    opacity: 1;
    transform: scale(1);
    animation: dotPulse 2s ease-in-out infinite;
}
@keyframes dotPulse {
    0%, 100% { transform: scale(1); opacity: 0.6; }
    50% { transform: scale(1.5); opacity: 0; }
}

/* ============================================
   WEATHER WIDGET — 3D Card
   ============================================ */
.weather-widget {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 16px; padding: 1.5rem 2rem;
    display: flex; justify-content: space-between; align-items: center;
    margin-bottom: 2rem;
}
.weather-info { display: flex; align-items: center; gap: 1.5rem; }
.weather-icon {
    font-size: 3rem;
    animation: weatherBounce 3s ease-in-out infinite;
}
@keyframes weatherBounce {
    0%, 100% { transform: translateY(0) rotate(0deg); }
    25% { transform: translateY(-5px) rotate(-5deg); }
    75% { transform: translateY(3px) rotate(3deg); }
}
.weather-info strong { font-size: 1.2rem; display: block; color: var(--accent-primary); margin-bottom: 0.2rem; }
.weather-temp { font-size: 3rem; font-family: var(--font-heading); font-weight: 900; color: var(--accent-secondary); }

/* ============================================
   GALLERY — 3D Hover
   ============================================ */
.gallery-grid {
    column-count: 3;
    column-gap: 1.5rem;
}
@media (max-width: 900px) {
    .gallery-grid { column-count: 2; }
}
@media (max-width: 600px) {
    .gallery-grid { column-count: 1; }
}
.gallery-item {
    break-inside: avoid;
    margin-bottom: 1.5rem;
    border-radius: 16px;
    transition: box-shadow 0.3s ease;
    cursor: pointer;
    position: relative;
    border: 2px solid var(--border-color, #333);
}
.gallery-item img, .gallery-item video {
    width: 100%;
    height: auto;
    display: block;
    transition: transform 0.5s ease;
}
.gallery-item:hover {
    box-shadow: 0 10px 30px rgba(0,0,0,0.8), var(--glow-orange, 0 0 15px rgba(255, 106, 0, 0.4));
}

/* ============================================
   GRID LAYOUT & EVENT CARDS — 3D Tilt
   ============================================ */
.grid-layout {
    display: grid; grid-template-columns: repeat(auto-fill, minmax(320px, 1fr)); gap: 3rem;
    perspective: 1200px;
}

.event-card {
    background: var(--bg-card);
    border-radius: 16px; overflow: hidden;
    display: flex; flex-direction: column;
    border: 1px solid var(--border-color);
}

/* Staggered card entrance */
.event-card:nth-child(1) { animation-delay: 0.05s; }
.event-card:nth-child(2) { animation-delay: 0.1s; }
.event-card:nth-child(3) { animation-delay: 0.15s; }
.event-card:nth-child(4) { animation-delay: 0.2s; }
.event-card:nth-child(5) { animation-delay: 0.25s; }
.event-card:nth-child(6) { animation-delay: 0.3s; }

.event-img {
    width: 100%; height: 240px; object-fit: cover;
    border-bottom: 1px solid var(--border-color);
    transition: transform 0.5s ease;
}
.event-card:hover .event-img { transform: scale(1.05); }

.event-img-placeholder {
    width: 100%; height: 240px; background-color: var(--bg-secondary);
    display: flex; align-items: center; justify-content: center; color: var(--text-secondary);
    font-weight: 700; font-family: var(--font-heading); font-size: 1.5rem; letter-spacing: 2px;
    background: linear-gradient(135deg, var(--bg-secondary), #1a1a1a);
    position: relative;
    overflow: hidden;
}
/* Shimmer animation on placeholder */
.event-img-placeholder::after {
    content: '';
    position: absolute;
    top: 0; left: -100%;
    width: 100%; height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,94,0,0.05), transparent);
    animation: shimmer 3s ease-in-out infinite;
}
@keyframes shimmer {
    0% { left: -100%; }
    100% { left: 100%; }
}

.event-details { padding: 2rem; flex-grow: 1; display: flex; flex-direction: column; }
.event-name { font-family: var(--font-heading); font-size: 1.5rem; font-weight: 800; margin-bottom: 0.5rem; }
.event-meta { color: var(--text-secondary); font-size: 0.9rem; margin-bottom: 1.5rem; font-weight: 700; display: flex; justify-content: space-between; }
.event-cats { display: flex; gap: 0.5rem; flex-wrap: wrap; margin-bottom: 2rem; }
.cat-badge {
    background-color: transparent; color: var(--accent-secondary); border: 1px solid var(--accent-secondary);
    padding: 0.4rem 0.8rem; border-radius: 50px; font-size: 0.75rem; font-weight: 700;
    font-family: var(--font-heading);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}
.cat-badge:hover {
    background-color: var(--accent-secondary);
    color: #0a0a0a;
    box-shadow: var(--glow-cyan);
    transform: scale(1.05);
}

/* ============================================
   BUTTONS — 3D Press + Ripple + Glow
   ============================================ */
.btn {
    padding: 1rem 2rem; border: none; border-radius: 50px; font-weight: 800; font-size: 0.9rem;
    letter-spacing: 1px; transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
    display: inline-block; text-align: center;
    position: relative;
    overflow: hidden;
    transform: translateY(0) translateZ(0);
}
.btn::after {
    content: '';
    position: absolute;
    top: 50%; left: 50%;
    width: 0; height: 0;
    border-radius: 50%;
    background: rgba(255,255,255,0.3);
    transform: translate(-50%, -50%);
    transition: width 0.6s ease, height 0.6s ease, opacity 0.6s ease;
    opacity: 0;
}
.btn:active::after {
    width: 300px; height: 300px;
    opacity: 0;
    transition: 0s;
}
.btn:hover {
    transform: translateY(-3px);
}
.btn:active {
    transform: translateY(1px) scale(0.97);
}

.btn-primary {
    background: linear-gradient(135deg, var(--accent-primary), var(--accent-hover));
    color: #0a0a0a;
    box-shadow: 0 4px 15px rgba(255, 94, 0, 0.3);
}
.btn-primary:hover {
    box-shadow: 0 8px 30px rgba(255, 94, 0, 0.5), var(--glow-orange);
    background: linear-gradient(135deg, var(--accent-hover), var(--accent-primary));
}

/* Pulsing glow on primary buttons */
.btn-primary::before {
    content: '';
    position: absolute; inset: -2px;
    border-radius: 52px;
    background: linear-gradient(135deg, var(--accent-primary), var(--accent-secondary));
    z-index: -1;
    opacity: 0;
    animation: btnGlow 3s ease-in-out infinite;
}
@keyframes btnGlow {
    0%, 100% { opacity: 0; transform: scale(1); }
    50% { opacity: 0.4; transform: scale(1.05); }
}

.btn-secondary {
    background-color: transparent; color: var(--text-primary);
    border: 2px solid var(--border-color);
    transition: all 0.3s ease;
}
.btn-secondary:hover {
    border-color: var(--accent-secondary);
    box-shadow: var(--glow-cyan);
    color: var(--accent-secondary);
}
.btn-full { width: 100%; margin-top: auto; }
.btn-back {
    background: none; border: none; color: var(--accent-primary); font-weight: 800; font-size: 0.9rem;
    margin-bottom: 3rem; display: inline-flex; align-items: center; gap: 0.5rem; letter-spacing: 1px;
    transition: all 0.3s ease;
    position: relative;
}
.btn-back::before {
    content: '';
    position: absolute;
    bottom: -2px; left: 0;
    width: 0; height: 2px;
    background: var(--accent-primary);
    transition: width 0.3s ease;
}
.btn-back:hover {
    color: #fff;
    transform: translateX(-5px);
    text-shadow: 0 0 10px rgba(255, 94, 0, 0.5);
}
.btn-back:hover::before { width: 100%; }

/* ============================================
   FORMS — Enhanced Glass
   ============================================ */
.card-form {
    background: var(--bg-card);
    padding: 3rem; border-radius: 16px;
    border: 1px solid var(--border-color);
}
.form-group { margin-bottom: 2rem; width: 100%; }
.form-row { display: flex; gap: 2rem; }
.form-row > .form-group { flex: 1; }
label {
    display: block; margin-bottom: 0.75rem; font-size: 0.85rem;
    font-weight: 700; color: var(--text-secondary); letter-spacing: 1px;
}
input, select {
    width: 100%; padding: 1rem 1.25rem; background-color: rgba(10,10,10,0.8);
    border: 1px solid var(--border-color);
    color: var(--text-primary); border-radius: 8px; font-family: var(--font-main); font-size: 1rem;
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}
input:focus, select:focus {
    outline: none;
    border-color: var(--accent-primary);
    box-shadow: 0 0 0 3px rgba(255, 94, 0, 0.15), var(--glow-orange);
    transform: translateY(-1px);
}
.promo-box { display: flex; gap: 1rem; }
.promo-box input { flex: 2; }
.promo-box button { flex: 1; padding: 1rem; border-radius: 8px; }
.form-actions { display: flex; justify-content: flex-end; gap: 1rem; margin-top: 3rem; }

/* ============================================
   SEARCH BAR
   ============================================ */
.search-hero { text-align: center; margin-bottom: 4rem; }
.search-hero h2 {
    font-size: 4rem; font-weight: 900; margin-bottom: 1rem; letter-spacing: -2px;
    color: var(--text-primary);
}
.search-hero p { color: var(--text-secondary); margin-bottom: 3rem; font-size: 1.2rem; }

.search-bar {
    display: flex; max-width: 800px; margin: 0 auto; gap: 1rem;
    background: var(--bg-card);
    padding: 1rem; border-radius: 50px;
    border: 1px solid var(--border-color);
}
.search-bar:focus-within {
    box-shadow: 0 8px 32px rgba(0,0,0,0.3), var(--glow-orange);
}
.search-bar select { flex: 1; border: none; background: transparent; padding-left: 1.5rem; }
.search-bar input { flex: 2; border: none; border-left: 1px solid var(--border-color); background: transparent; border-radius: 0; }
.search-bar select:focus, .search-bar input:focus { box-shadow: none; transform: none; }

/* ============================================
   TABLES — Glass Effect
   ============================================ */
table {
    width: 100%; border-collapse: collapse;
    background: linear-gradient(135deg, rgba(28,28,28,0.9), rgba(20,20,20,0.95));
    border-radius: 12px; overflow: hidden;
    border: 1px solid var(--glass-border);
    backdrop-filter: blur(10px);
}
th, td { padding: 1.5rem; text-align: left; border-bottom: 1px solid rgba(255,255,255,0.05); }
th {
    background-color: rgba(20,20,20,0.8); font-family: var(--font-heading);
    font-weight: 800; font-size: 0.85rem; color: var(--text-secondary); letter-spacing: 1px;
}
tr:last-child td { border-bottom: none; }
tr { transition: all 0.3s ease; }
tr:hover td { background-color: rgba(255, 94, 0, 0.05); }
.action-links a { color: var(--accent-primary); margin-right: 1.5rem; font-size: 0.85rem; font-weight: 800; transition: all 0.2s ease; }
.action-links a:hover { color: #fff; text-shadow: 0 0 10px rgba(255, 94, 0, 0.5); }

/* ============================================
   ADMIN DASHBOARD
   ============================================ */
.admin-header { display: flex; justify-content: space-between; align-items: center; margin-bottom: 3rem; border-bottom: 1px solid var(--border-color); padding-bottom: 2rem; }
.admin-header h2 { font-size: 2.5rem; font-weight: 900; }
.admin-layout-container { display: flex; min-height: 85vh; border-top: 1px solid var(--border-color); }
.admin-sidebar {
    width: 280px;
    background: linear-gradient(180deg, rgba(28,28,28,0.95), rgba(15,15,15,0.95));
    backdrop-filter: blur(10px);
    border-right: 1px solid var(--glass-border);
    display: flex; flex-direction: column; padding: 2rem 0;
}
.sidebar-header { padding: 0 2rem 2rem 2rem; border-bottom: 1px solid var(--border-color); margin-bottom: 2rem; }
.sidebar-header h2 { font-size: 1.5rem; color: var(--accent-secondary); }
.sidebar-nav { display: flex; flex-direction: column; gap: 0.5rem; flex-grow: 1; padding: 0 1rem; }
.sidebar-link {
    padding: 1rem 1.5rem; border-radius: 8px; color: var(--text-primary);
    text-decoration: none; font-weight: 700;
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
    position: relative;
    overflow: hidden;
}
.sidebar-link::before {
    content: '';
    position: absolute; left: 0; top: 0;
    width: 3px; height: 100%;
    background: var(--accent-primary);
    transform: scaleY(0);
    transition: transform 0.3s ease;
    border-radius: 0 2px 2px 0;
}
.sidebar-link:hover {
    background-color: rgba(255, 94, 0, 0.1);
    color: var(--accent-primary);
    transform: translateX(4px);
}
.sidebar-link:hover::before { transform: scaleY(1); }
.sidebar-link.active {
    background: linear-gradient(135deg, var(--accent-primary), var(--accent-hover));
    color: #0a0a0a;
    box-shadow: 0 4px 15px rgba(255, 94, 0, 0.3);
}
.sidebar-logout { margin: 2rem 1rem 0 1rem; }

.admin-content { flex-grow: 1; padding: 3rem 4rem; overflow-y: auto; }
.admin-view { display: none; }
.admin-view.active { display: block; animation: fadeIn 0.3s ease; }

.admin-form-box { margin-bottom: 4rem; }
.admin-list-container { overflow-x: auto; }
.admin-filters {
    display: flex; justify-content: space-between; align-items: flex-end;
    margin-bottom: 3rem;
    background: linear-gradient(135deg, rgba(28,28,28,0.8), rgba(20,20,20,0.9));
    backdrop-filter: blur(10px);
    padding: 2rem; border-radius: 16px;
    border: 1px solid var(--glass-border);
}
.admin-filters .form-group { margin-bottom: 0; width: 350px; }

/* ============================================
   CHARTS
   ============================================ */
.charts-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 2rem; }
.chart-box {
    background: linear-gradient(135deg, rgba(28,28,28,0.8), rgba(20,20,20,0.9));
    backdrop-filter: blur(10px);
    padding: 2rem; border-radius: 16px;
    border: 1px solid var(--glass-border);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.chart-box:hover {
    transform: translateY(-4px);
    box-shadow: 0 16px 48px rgba(0,0,0,0.4);
}
.chart-box h4 { margin-bottom: 1.5rem; text-align: center; color: var(--text-secondary); }
@media (max-width: 900px) { .charts-grid { grid-template-columns: 1fr; } }

/* ============================================
   LIVE TRACKING
   ============================================ */
.tracking-header { display: flex; justify-content: space-between; align-items: center; margin-bottom: 2rem; }
.map-container {
    width: 100%; height: 600px; border-radius: 16px; overflow: hidden;
    border: 2px solid var(--glass-border);
    box-shadow: 0 8px 32px rgba(0,0,0,0.4);
}

/* ============================================
   TOASTS — Enhanced
   ============================================ */
.toast-container { position: fixed; bottom: 20px; right: 20px; z-index: 9999; display: flex; flex-direction: column; gap: 10px; }
.toast {
    background: linear-gradient(135deg, var(--accent-primary), var(--accent-hover));
    color: #0a0a0a; padding: 1rem 1.5rem; border-radius: 12px;
    font-weight: 800; font-family: var(--font-heading);
    box-shadow: 0 10px 30px rgba(0,0,0,0.5), var(--glow-orange);
    animation: toastSlideIn 0.4s cubic-bezier(0.16, 1, 0.3, 1) forwards;
    backdrop-filter: blur(10px);
}
@keyframes toastSlideIn {
    from { transform: translateX(120%) rotateY(-10deg); opacity: 0; }
    to { transform: translateX(0) rotateY(0); opacity: 1; }
}

/* ============================================
   ATHLETE PROFILE — 3D Card
   ============================================ */
.athlete-card {
    background: linear-gradient(135deg, rgba(28,28,28,0.9), rgba(20,20,20,0.95));
    backdrop-filter: blur(10px);
    padding: 4rem; border-radius: 24px; text-align: center;
    max-width: 800px; margin: 0 auto;
    border: 1px solid var(--glass-border);
    position: relative; overflow: hidden;
    transform-style: preserve-3d;
    transition: transform 0.3s ease;
}
.athlete-card::before {
    content: ''; position: absolute; top: 0; left: 0;
    width: 100%; height: 6px;
    background: linear-gradient(90deg, var(--accent-primary), var(--accent-secondary));
}
.athlete-name {
    font-size: 4rem; font-weight: 900; margin-bottom: 1rem; letter-spacing: -2px;
    background: linear-gradient(135deg, var(--text-primary), var(--accent-secondary));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}
.athlete-meta { color: var(--text-secondary); font-size: 1.2rem; margin-bottom: 2rem; font-weight: 700; }
.stats-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 2rem; margin-bottom: 3rem; }
.stat-box {
    background-color: rgba(10,10,10,0.6); padding: 2rem 1rem; border-radius: 16px;
    border: 1px solid var(--border-color);
    transition: all 0.3s ease;
    transform-style: preserve-3d;
}
.stat-box:hover {
    transform: translateY(-4px);
    border-color: var(--accent-primary);
    box-shadow: var(--glow-orange);
}
.stat-value { font-family: var(--font-heading); font-size: 3rem; font-weight: 900; color: var(--text-primary); margin-bottom: 0.5rem; }
.stat-label { font-size: 0.85rem; color: var(--accent-primary); font-weight: 800; letter-spacing: 1px; }
.ai-report {
    background: linear-gradient(135deg, rgba(20,20,20,0.8), rgba(15,15,15,0.9));
    padding: 2rem; border-radius: 12px; margin-bottom: 2rem;
    border-left: 4px solid var(--accent-secondary); text-align: left;
    box-shadow: 0 4px 20px rgba(0, 229, 255, 0.1);
}
.ai-report h4 { color: var(--accent-secondary); margin-bottom: 1rem; }

@keyframes authGateIn {
    from { opacity: 0; transform: translateY(24px) scale(0.96); }
    to   { opacity: 1; transform: translateY(0)    scale(1);    }
}

.hidden { display: none !important; }


/* Admin Mode Toggles */
body.admin-mode .marquee-container,
body.admin-mode .navbar {
    display: none !important;
}

/* Language Selector */
.lang-selector { background: transparent; color: var(--text-primary); border: 1px solid var(--border-color); padding: 0.5rem; border-radius: 4px; margin-right: 1rem; cursor: pointer; font-family: var(--font-body); font-weight: 700; outline: none; }
.lang-selector option { background: var(--bg-color); color: var(--text-primary); }

/* ============================================
   LIST / CALENDAR TOGGLES
   ============================================ */
.section-header-flex { display: flex; justify-content: space-between; align-items: center; margin-bottom: 2rem; }
.view-toggles { display: flex; background: #222; border-radius: 8px; overflow: hidden; border: 1px solid var(--border-color); }
.btn-toggle { background: transparent; color: var(--text-secondary); border: none; padding: 0.8rem 1.5rem; cursor: pointer; font-weight: 700; transition: all var(--transition-fast); }
.btn-toggle.active { background: var(--accent-primary); color: #0a0a0a; }

/* Calendar Grid */
.calendar-layout { background: var(--bg-card); border-radius: 16px; padding: 2rem; border: 1px solid var(--border-color); }
.calendar-header { display: flex; justify-content: space-between; align-items: center; margin-bottom: 2rem; }
.calendar-header h3 { font-size: 1.5rem; color: var(--accent-primary); }
.calendar-grid { display: grid; grid-template-columns: repeat(7, 1fr); gap: 10px; }
.cal-day-header { text-align: center; font-weight: 700; color: var(--text-secondary); padding-bottom: 1rem; border-bottom: 1px solid var(--border-color); }
.cal-day { min-height: 80px; padding: 0.5rem; background: #1a1a1a; border-radius: 8px; border: 1px solid transparent; font-size: 0.9rem; font-weight: 700; color: var(--text-secondary); display: flex; flex-direction: column; }
.cal-day.empty { background: transparent; }
.cal-day.has-event { border-color: var(--accent-primary); color: var(--text-primary); background: #222; cursor: pointer; }
.cal-day.has-event:hover { border-color: var(--accent-secondary); }
.cal-event-tag { margin-top: auto; font-size: 0.7rem; background: var(--accent-primary); color: #0a0a0a; padding: 2px 4px; border-radius: 4px; text-transform: uppercase; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }

/* ============================================
   COMMUNITY FORUM
   ============================================ */
.forum-list { display: flex; flex-direction: column; gap: 1.5rem; }
.forum-post {
    background: linear-gradient(135deg, rgba(28,28,28,0.8), rgba(20,20,20,0.9));
    backdrop-filter: blur(10px);
    border-radius: 12px; padding: 2rem;
    border: 1px solid var(--glass-border);
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
    position: relative;
    overflow: hidden;
}
.forum-post::before {
    content: '';
    position: absolute; left: 0; top: 0;
    width: 4px; height: 100%;
    background: linear-gradient(180deg, var(--accent-primary), var(--accent-secondary));
    opacity: 0;
    transition: opacity 0.3s ease;
}
.forum-post:hover {
    border-color: var(--accent-primary);
    transform: translateX(8px) perspective(800px) rotateY(-1deg);
    box-shadow: 0 8px 32px rgba(0,0,0,0.3);
}
.forum-post:hover::before { opacity: 1; }
.forum-meta { display: flex; justify-content: space-between; color: var(--text-secondary); font-size: 0.9rem; margin-bottom: 1rem; border-bottom: 1px solid rgba(255,255,255,0.05); padding-bottom: 0.5rem; }
.forum-author { color: var(--accent-secondary); font-weight: 700; }
.forum-title { font-size: 1.5rem; font-weight: 800; margin-bottom: 1rem; }
.forum-msg { color: var(--text-primary); line-height: 1.6; }

/* ============================================
   CUSTOM SCROLLBAR
   ============================================ */
::-webkit-scrollbar {
    width: 8px;
}
::-webkit-scrollbar-track {
    background: var(--bg-color);
}
::-webkit-scrollbar-thumb {
    background: linear-gradient(180deg, var(--accent-primary), var(--accent-secondary));
    border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover {
    background: var(--accent-primary);
}

/* ============================================
   RESPONSIVE ADJUSTMENTS
   ============================================ */
@media (max-width: 768px) {
    /* Navbar Adjustments */
    .mobile-menu-btn { display: flex; }
    
    .nav-links {
        position: fixed;
        top: 0;
        right: -100%;
        height: 100vh;
        width: 100%;
        max-width: 300px;
        flex-direction: column;
        justify-content: center;
        background: rgba(10, 10, 10, 0.95);
        backdrop-filter: blur(20px);
        -webkit-backdrop-filter: blur(20px);
        border-left: 1px solid var(--glass-border);
        transition: right 0.4s cubic-bezier(0.68, -0.55, 0.265, 1.55);
        z-index: 150;
        box-shadow: -10px 0 30px rgba(0, 0, 0, 0.5);
    }
    
    .nav-links.active { right: 0; }
    
    .nav-link { font-size: 1.2rem; }
    
    /* Layout Adjustments */
    .hero-content h1 { font-size: clamp(2rem, 8vw, 4rem); }
    .section-title { font-size: 2rem; }
    .search-hero h2 { font-size: 2.5rem; }
    
    .form-row { flex-direction: column; gap: 0; }
    
    /* Ensure all grid containers stack vertically */
    .stats-grid, .events-grid, .community-grid, .grid-layout { 
        grid-template-columns: 1fr; 
    }
    
    .admin-layout-container { flex-direction: column; }
    .admin-sidebar { width: 100%; }
    .admin-content { padding: 1rem; }
    
    /* Forms & Modals */
    .modal-content {
        width: 95%;
        margin: 1rem;
        padding: 1.5rem;
    }
    
    .card-form { padding: 1.5rem; }
    
    .floating-shapes { display: none; }
}

/* Responsive Table Wrapper */
.table-responsive {
    width: 100%;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    margin-bottom: 1rem;
}

/* Override existing tables inside responsive wrapper */
.table-responsive table {
    min-width: 600px; /* Forces scrolling on small screens instead of squishing */
}

@media print {
    body * {
        visibility: hidden;
    }
    #certificate-template, #certificate-template * {
        visibility: visible;
    }
    #certificate-template {
        display: block !important;
        position: absolute;
        left: 0;
        top: 0;
        width: 100%;
        height: 100%;
    }
    @page {
        size: landscape;
        margin: 0;
    }
}
/* FitFest5K Specific Styles */
:root {
    --ff-purple: #8e2de2;
    --ff-purple-dark: #4a00e0;
    --ff-bg-card: #18181b;
    --ff-border: 1px solid #333;
}

.ff-section {
    padding: 6rem 0;
    background: #050505; /* matches global dark */
    color: #fff;
    border-bottom: 1px solid #1a1a1a;
}

.ff-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

.ff-split-layout {
    display: flex;
    flex-direction: column;
    gap: 4rem;
    align-items: center;
}

@media (min-width: 900px) {
    .ff-split-layout {
        flex-direction: row;
        justify-content: space-between;
    }
    .ff-split-layout > div {
        flex: 1;
    }
}

.ff-text-content h2 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    font-family: system-ui, -apple-system, sans-serif;
    color: var(--ff-purple);
}

.ff-text-content p {
    font-size: 1.1rem;
    color: #aaa;
    margin-bottom: 2rem;
    line-height: 1.6;
}

.ff-glass-card {
    background: var(--ff-bg-card);
    border: var(--ff-border);
    border-radius: 20px;
    padding: 3rem;
    position: relative;
    overflow: hidden;
}

.ff-glass-card h3 {
    text-align: center;
    font-size: 1.8rem;
    margin-bottom: 2rem;
    border-bottom: 1px solid rgba(255,255,255,0.1);
    padding-bottom: 1rem;
}

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

.ff-list-item {
    display: flex;
    align-items: center;
    margin-bottom: 1rem;
    font-size: 1rem;
    color: #ddd;
}

.ff-list-item .icon {
    font-size: 1.5rem;
    margin-right: 1rem;
    text-shadow: 0 0 10px var(--ff-purple);
}

.btn-ff {
    display: inline-block;
    padding: 1rem 2rem;
    background: var(--ff-purple);
    color: #fff;
    border: none;
    border-radius: 30px;
    font-weight: 700;
    text-decoration: none;
    cursor: pointer;
    transition: all 0.3s ease;
}
.btn-ff:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(142,45,226,0.6);
}

.ff-pricing-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.ff-pricing-card {
    background: rgba(15, 15, 20, 0.8);
    border: 1px solid rgba(255,255,255,0.05);
    border-radius: 15px;
    padding: 2rem;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    display: flex;
    flex-direction: column;
}

.ff-pricing-card:hover {
    transform: translateY(-10px);
    border-color: rgba(142,45,226,0.5);
    box-shadow: 0 10px 30px rgba(142,45,226,0.2);
}

.ff-pricing-card h4 {
    font-size: 1.2rem;
    color: #888;
    margin-bottom: 1rem;
}

.ff-pricing-card .price {
    font-size: 2.5rem;
    font-weight: 900;
    margin-bottom: 0.5rem;
    color: #fff;
}

.ff-pricing-card .eligibility {
    font-size: 0.9rem;
    color: #aaa;
    margin-bottom: 2rem;
    flex-grow: 1;
}

.ff-pricing-card .btn-ff {
    width: 100%;
    text-align: center;
    margin-bottom: 2rem;
}

.ff-pricing-features {
    border-top: 1px solid rgba(255,255,255,0.1);
    padding-top: 1.5rem;
    list-style: none;
    font-size: 0.9rem;
    color: #ccc;
    padding-left: 0;
}
.ff-pricing-features li {
    margin-bottom: 0.8rem;
    display: flex;
    align-items: flex-start;
}
.ff-pricing-features li::before {
    content: '-';
    margin-right: 10px;
    font-size: 1rem;
}

/* Prize Grid */
.ff-prize-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.ff-prize-card {
    background: #18181b;
    border: 1px solid #333;
    border-radius: 15px;
    padding: 2rem;
    text-align: center;
}

.ff-prize-card .icon-wrapper {
    font-size: 3rem;
    margin-bottom: 1rem;
    display: inline-block;
    padding: 1rem;
    background: rgba(0,0,0,0.5);
    border-radius: 50%;
    border: 1px solid #ffd700;
    box-shadow: 0 0 15px rgba(255,215,0,0.2);
}

.ff-prize-card h4 {
    font-size: 1.5rem;
    color: #ffd700;
    margin-bottom: 0.5rem;
}

.ff-prize-card .category {
    font-size: 1.1rem;
    color: #fff;
    margin-bottom: 1rem;
}

.ff-prize-card p {
    font-size: 0.9rem;
    color: #888;
}

/* Admin UI */
.ff-admin-section {
    background: #111;
    padding: 1.5rem;
    border-radius: 8px;
    margin-bottom: 2rem;
    border: 1px solid #333;
}
.ff-admin-section h3 {
    margin-bottom: 1rem;
    border-bottom: 1px solid #333;
    padding-bottom: 0.5rem;
    color: var(--ff-purple);
}

/* ============================================================
   MODERNIZED EVENT REGISTRATION FLOW (BIBEVENTS / BEATHLIT INSPIRED)
   ============================================================ */

/* 1. Stepper Progress Header */
.reg-stepper-header {
    display: flex;
    align-items: center;
    justify-content: center;
    max-width: 650px;
    margin: 0 auto 2.5rem auto;
    padding: 0 1rem;
}

.reg-step-item {
    display: flex;
    align-items: center;
    gap: 10px;
    color: #666;
    font-weight: 600;
    font-size: 0.95rem;
    transition: all 0.3s ease;
}

.reg-step-item .step-num {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: #1f1f23;
    border: 2px solid #333;
    color: #888;
    font-size: 0.85rem;
    font-weight: 700;
    transition: all 0.3s ease;
}

.reg-step-item.active {
    color: #fff;
}

.reg-step-item.active .step-num {
    background: var(--accent-secondary);
    border-color: var(--accent-secondary);
    color: #fff;
    box-shadow: 0 0 15px rgba(238, 9, 121, 0.4);
}

.reg-step-item.completed {
    color: #00E5FF;
}

.reg-step-item.completed .step-num {
    background: #00E5FF;
    border-color: #00E5FF;
    color: #000;
}

.step-connector {
    flex: 1;
    height: 2px;
    background: #27272a;
    margin: 0 15px;
    transition: all 0.3s ease;
}

.step-connector.active {
    background: var(--accent-secondary);
}

/* 2. Main 2-Column Layout */
.reg-main-layout {
    display: grid;
    grid-template-columns: 1.4fr 1fr;
    gap: 2rem;
    align-items: start;
}

.reg-summary-column {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

@media (min-width: 901px) {
    .reg-summary-column {
        position: sticky;
        top: 85px;
    }
}

@media (max-width: 900px) {
    .reg-main-layout {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    .reg-summary-column {
        display: flex;
        flex-direction: column;
        gap: 1.5rem;
    }
    .reg-order-summary-card {
        order: 1;
    }
    .live-bib-card {
        order: 2;
    }
}

.reg-card {
    background: #141417;
    border: 1px solid #27272a;
    border-radius: 16px;
    padding: 2.5rem;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.5);
}

.reg-event-badge {
    margin-bottom: 2rem;
    padding-bottom: 1.5rem;
    border-bottom: 1px solid #27272a;
}

.reg-badge-chip {
    display: inline-block;
    padding: 4px 12px;
    background: rgba(255, 106, 0, 0.15);
    border: 1px solid var(--accent-primary);
    color: var(--accent-primary);
    font-size: 0.72rem;
    font-weight: 800;
    letter-spacing: 1.5px;
    border-radius: 20px;
    margin-bottom: 0.75rem;
    text-transform: uppercase;
}

.reg-event-title {
    font-size: 1.8rem;
    color: #fff;
    font-weight: 800;
    letter-spacing: 0.5px;
    margin-bottom: 0.4rem;
}

.reg-event-meta {
    color: #999;
    font-size: 0.9rem;
}

.form-section-title {
    display: flex;
    align-items: center;
    gap: 10px;
    color: #fff;
    font-size: 1.1rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 1.25rem;
}

.form-section-title span {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 24px;
    height: 24px;
    background: #27272a;
    color: var(--accent-primary);
    border-radius: 50%;
    font-size: 0.8rem;
    font-weight: 800;
}

.reg-input-styled {
    width: 100%;
    background: #09090b;
    border: 1px solid #27272a;
    border-radius: 10px;
    padding: 0.85rem 1rem;
    color: #fff;
    font-size: 0.95rem;
    transition: all 0.2s ease;
}

.reg-input-styled:focus {
    border-color: var(--accent-secondary);
    outline: none;
    box-shadow: 0 0 0 2px rgba(238, 9, 121, 0.2);
}

.input-with-prefix {
    display: flex;
    align-items: center;
    background: #09090b;
    border: 1px solid #27272a;
    border-radius: 10px;
    overflow: hidden;
}

.input-prefix {
    padding: 0 0.75rem;
    color: #aaa;
    font-size: 0.9rem;
    font-weight: 600;
    background: #18181b;
    height: 100%;
    display: flex;
    align-items: center;
    border-right: 1px solid #27272a;
    user-select: none;
}

.reg-input-styled.with-prefix {
    border: none;
    background: transparent;
    border-radius: 0;
}

.form-row-2 {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
}

.form-row-3 {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr 1fr;
    gap: 1rem;
}

@media (max-width: 600px) {
    .form-row-2, .form-row-3 {
        grid-template-columns: 1fr;
    }
}

.form-help-hint {
    display: block;
    color: #71717a;
    font-size: 0.75rem;
    margin-top: 0.35rem;
}

.required-star {
    color: var(--accent-secondary);
}

/* Segmented Control */
.reg-segmented-control {
    display: flex;
    background: #09090b;
    border: 1px solid #27272a;
    border-radius: 10px;
    padding: 4px;
    gap: 4px;
}

.reg-segment-btn {
    flex: 1;
    background: transparent;
    border: none;
    color: #a1a1aa;
    padding: 0.65rem 1rem;
    font-size: 0.85rem;
    font-weight: 700;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.2s ease;
}

.reg-segment-btn.active {
    background: #27272a;
    color: #fff;
    box-shadow: 0 2px 8px rgba(0,0,0,0.4);
}

/* T-shirt size pills */
.tshirt-label-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 0.5rem;
}

.size-guide-link {
    color: #71717a;
    font-size: 0.75rem;
    text-decoration: underline;
}

.size-pills-container {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 8px;
}

@media (max-width: 500px) {
    .size-pills-container {
        grid-template-columns: repeat(3, 1fr);
    }
}

.size-pill {
    background: #09090b;
    border: 1px solid #27272a;
    border-radius: 10px;
    padding: 0.65rem 0.4rem;
    color: #fff;
    font-weight: 800;
    font-size: 0.95rem;
    cursor: pointer;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 2px;
    transition: all 0.2s ease;
}

.size-pill span {
    font-size: 0.65rem;
    color: #71717a;
    font-weight: normal;
}

.size-pill:hover {
    border-color: #555;
}

.size-pill.active {
    border-color: var(--accent-secondary);
    background: rgba(238, 9, 121, 0.12);
    color: #fff;
    box-shadow: 0 0 10px rgba(238, 9, 121, 0.3);
}

.size-pill.active span {
    color: var(--accent-secondary);
    font-weight: 700;
}

/* Form Bottom Bridge to Order Summary & Discounts */
.reg-form-bottom-cue {
    margin-top: 2rem;
    padding-top: 1.5rem;
    border-top: 1px dashed #27272a;
}

.reg-coupon-hint-banner {
    display: flex;
    align-items: center;
    gap: 12px;
    background: rgba(0, 229, 255, 0.06);
    border: 1px solid rgba(0, 229, 255, 0.25);
    border-radius: 12px;
    padding: 0.85rem 1.1rem;
    margin-bottom: 0.5rem;
}

.hint-icon-badge {
    font-size: 1.3rem;
    flex-shrink: 0;
}

.hint-title {
    font-size: 0.88rem;
    font-weight: 800;
    color: #00E5FF;
    letter-spacing: 0.3px;
    margin-bottom: 2px;
}

.hint-desc {
    font-size: 0.8rem;
    color: #a1a1aa;
    line-height: 1.35;
}

.show-on-mobile {
    display: none;
}
.hide-on-mobile {
    display: inline;
}

.btn-mobile-jump-summary {
    display: none;
}

@media (max-width: 900px) {
    .show-on-mobile {
        display: inline;
    }
    .hide-on-mobile {
        display: none;
    }
    .btn-mobile-jump-summary {
        display: flex;
        align-items: center;
        justify-content: center;
        gap: 8px;
        background: rgba(255, 106, 0, 0.12);
        border: 1px solid var(--accent-primary);
        color: var(--accent-primary);
        font-weight: 800;
        font-size: 0.95rem;
        padding: 0.85rem;
        border-radius: 10px;
        margin-top: 1rem;
        cursor: pointer;
        transition: all 0.2s ease;
    }
    .btn-mobile-jump-summary:hover, .btn-mobile-jump-summary:active {
        background: var(--accent-primary);
        color: #fff;
    }
}

.btn-checkout-action {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    box-shadow: 0 4px 20px rgba(255, 106, 0, 0.4);
    transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}

.btn-checkout-action:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 25px rgba(255, 106, 0, 0.6);
}

@keyframes promoHighlightPulse {
    0% {
        box-shadow: 0 0 0 0 rgba(0, 229, 255, 0.7);
        border-color: #00E5FF;
    }
    50% {
        box-shadow: 0 0 20px 4px rgba(0, 229, 255, 0.6);
        border-color: #00E5FF;
        transform: scale(1.02);
    }
    100% {
        box-shadow: 0 0 0 0 rgba(0, 229, 255, 0);
        border-color: #27272a;
        transform: scale(1);
    }
}

.highlight-pulse {
    animation: promoHighlightPulse 1.2s ease-in-out;
}

/* 3. Live Interactive Chest BIB Tag */
.live-bib-card {
    background: #fff;
    color: #000;
    border-radius: 14px;
    padding: 1.5rem 1.8rem;
    position: relative;
    box-shadow: 0 12px 35px rgba(0, 0, 0, 0.6);
    border: 4px solid #111;
    margin-bottom: 1.5rem;
    overflow: hidden;
}

.live-bib-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 8px;
    background: linear-gradient(90deg, #ff6a00, #ee0979);
}

.bib-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 2px solid #e4e4e7;
    padding-bottom: 0.75rem;
    margin-bottom: 1rem;
}

.bib-logo-text {
    font-weight: 900;
    font-size: 0.9rem;
    letter-spacing: 1px;
    color: #111;
}

.bib-category-chip {
    background: #111;
    color: #fff;
    font-size: 0.68rem;
    font-weight: 800;
    padding: 3px 8px;
    border-radius: 6px;
    letter-spacing: 0.5px;
}

.bib-holes {
    display: flex;
    justify-content: space-between;
    position: absolute;
    top: 14px;
    left: 14px;
    right: 14px;
    pointer-events: none;
}

.bib-pin-hole {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #000;
    opacity: 0.2;
}

.bib-center-display {
    text-align: center;
    padding: 1rem 0;
}

.bib-simulated-number {
    font-size: 3.5rem;
    font-weight: 900;
    line-height: 1;
    letter-spacing: 2px;
    color: #09090b;
    font-family: 'Arial Black', Impact, sans-serif;
}

.bib-name-badge {
    margin-top: 0.5rem;
    font-size: 1.2rem;
    font-weight: 800;
    color: #ee0979;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    min-height: 1.6rem;
}

.bib-footer {
    display: flex;
    justify-content: space-between;
    border-top: 2px solid #e4e4e7;
    padding-top: 0.75rem;
    margin-top: 0.5rem;
}

.bib-meta-item {
    display: flex;
    flex-direction: column;
}

.bib-meta-item .lbl {
    font-size: 0.65rem;
    color: #71717a;
    font-weight: 700;
}

.bib-meta-item .val {
    font-size: 0.9rem;
    font-weight: 800;
    color: #18181b;
}

.bib-status-chip {
    color: #059669 !important;
}

/* 4. Order Summary Card */
.reg-order-summary-card {
    background: #141417;
    border: 1px solid #27272a;
    border-radius: 16px;
    padding: 1.8rem;
}

.summary-title {
    font-size: 1.2rem;
    color: #fff;
    font-weight: 800;
    margin-bottom: 1.25rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.summary-line {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 0.95rem;
    color: #a1a1aa;
    margin-bottom: 0.75rem;
}

.summary-line .val {
    color: #fff;
    font-weight: 700;
}

.promo-box-container {
    margin: 1.25rem 0;
}

.promo-input-group {
    display: flex;
    gap: 8px;
}

.promo-input {
    flex: 1;
    background: #09090b;
    border: 1px solid #27272a;
    border-radius: 8px;
    padding: 0.65rem 0.85rem;
    color: #fff;
    font-weight: 700;
    font-size: 0.85rem;
    text-transform: uppercase;
}

.promo-input:focus {
    border-color: var(--accent-secondary);
    outline: none;
}

.promo-msg-text {
    display: block;
    font-size: 0.75rem;
    margin-top: 0.4rem;
    font-weight: 600;
}

.summary-divider {
    height: 1px;
    background: #27272a;
    margin: 1.25rem 0;
}

.summary-total-line {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1.5rem;
}

.summary-total-line .total-lbl {
    font-size: 1.1rem;
    font-weight: 800;
    color: #fff;
    text-transform: uppercase;
}

.summary-total-line .total-val {
    font-size: 1.8rem;
    font-weight: 900;
    color: var(--accent-primary);
}

.summary-perks-box {
    background: #09090b;
    border: 1px solid #27272a;
    border-radius: 12px;
    padding: 1rem 1.2rem;
}

.perks-heading {
    font-size: 0.75rem;
    font-weight: 800;
    text-transform: uppercase;
    color: #a1a1aa;
    margin-bottom: 0.75rem;
    letter-spacing: 0.5px;
}

.perks-mini-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.perks-mini-list li {
    font-size: 0.82rem;
    color: #ccc;
    margin-bottom: 0.45rem;
    display: flex;
    align-items: center;
    gap: 8px;
}

/* 5. OTP Verification, Payment & Success Views */
.reg-otp-view, .reg-pay-view, .reg-success-view {
    max-width: 540px;
    margin: 2rem auto;
}

.reg-otp-card, .reg-pay-card, .reg-success-card {
    background: #141417;
    border: 1px solid #27272a;
    border-radius: 20px;
    padding: 2.5rem 2rem;
    text-align: center;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.7);
}

/* 5b. Razorpay Checkout Step - Compact No-Scroll with Option Switcher */
.compact-checkout-card {
    max-width: 520px;
    margin: 0.5rem auto 1.5rem auto;
    padding: 1.5rem 1.75rem !important;
    background: #141418 !important;
    border: 1px solid rgba(255, 255, 255, 0.12) !important;
    box-shadow: 0 16px 48px rgba(0, 0, 0, 0.7) !important;
    border-radius: 18px !important;
    text-align: center;
}

.pay-compact-header {
    text-align: center;
    margin-bottom: 1.1rem;
}

.rzp-shield-badge {
    display: inline-block;
    padding: 4px 14px;
    background: rgba(35, 113, 236, 0.15);
    border: 1px solid #2563eb;
    color: #60a5fa;
    font-size: 0.7rem;
    font-weight: 800;
    letter-spacing: 1.2px;
    border-radius: 20px;
    margin-bottom: 0.4rem;
    text-transform: uppercase;
}

.pay-compact-title {
    font-size: 1.35rem !important;
    font-weight: 800 !important;
    color: #fff !important;
    margin: 0.2rem 0 0.6rem 0 !important;
    letter-spacing: -0.3px;
}

.pay-runner-pill-row {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: 8px;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 30px;
    padding: 6px 14px;
    font-size: 0.82rem;
    color: #cbd5e1;
}

.pay-runner-meta strong {
    color: #fff;
}

.pay-runner-meta .meta-dot {
    margin: 0 5px;
    color: #64748b;
}

.pay-runner-email-tag {
    color: #94a3b8;
    font-size: 0.78rem;
}

/* Option Switcher Tabs */
.pay-options-nav {
    display: flex;
    background: #09090b;
    border: 1px solid #27272a;
    border-radius: 12px;
    padding: 4px;
    gap: 6px;
    margin-bottom: 1rem;
}

.pay-option-tab {
    flex: 1;
    padding: 10px 12px;
    font-size: 0.88rem;
    font-weight: 700;
    color: #94a3b8;
    background: transparent;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.2s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
}

.pay-option-tab:hover {
    color: #fff;
    background: rgba(255, 255, 255, 0.05);
}

.pay-option-tab.active {
    color: #fff;
    background: linear-gradient(135deg, #2563eb, #1d4ed8);
    box-shadow: 0 4px 14px rgba(37, 99, 235, 0.4);
}

/* Tab Panels */
.pay-tab-panel {
    animation: fadeInPanel 0.2s ease-out;
}

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

/* Fee Callout Box */
.pay-amount-action-card {
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: rgba(34, 197, 94, 0.08);
    border: 1px solid rgba(34, 197, 94, 0.3);
    border-radius: 12px;
    padding: 10px 16px;
    margin-bottom: 0.75rem;
}

.pay-amount-display-box {
    text-align: left;
}

.pay-amount-label {
    display: block;
    font-size: 0.72rem;
    text-transform: uppercase;
    letter-spacing: 0.8px;
    color: #86efac;
    font-weight: 700;
}

.pay-amount-number {
    font-size: 1.55rem;
    font-weight: 900;
    color: #22c55e;
    line-height: 1.1;
}

.locked-fee-pill {
    background: rgba(34, 197, 94, 0.15);
    border: 1px solid rgba(34, 197, 94, 0.4);
    color: #86efac;
    font-size: 0.72rem;
    font-weight: 800;
    padding: 4px 10px;
    border-radius: 20px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.pay-secure-hint {
    font-size: 0.75rem;
    color: #94a3b8;
    margin: 0.6rem 0 0.8rem 0;
    line-height: 1.4;
}

.rzp-fallback-row {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    font-size: 0.75rem;
    color: #64748b;
    margin-top: 0.4rem;
}

.fallback-link {
    color: #38bdf8;
    text-decoration: underline;
    font-weight: 600;
}

.fallback-link:hover {
    color: #60a5fa;
}

.btn-rzp-pay {
    background: linear-gradient(90deg, #2563eb, #1d4ed8) !important;
    border: 1px solid #60a5fa !important;
    color: #fff !important;
    font-weight: 800 !important;
    letter-spacing: 0.5px;
    box-shadow: 0 4px 18px rgba(37, 99, 235, 0.45);
    transition: all 0.25s ease;
    text-decoration: none;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    padding: 0.9rem 1.5rem !important;
    border-radius: 10px;
    font-size: 1.02rem;
}

.btn-rzp-pay:hover {
    background: linear-gradient(90deg, #1d4ed8, #1e40af) !important;
    box-shadow: 0 6px 24px rgba(37, 99, 235, 0.65);
    transform: translateY(-2px);
}

.rzp-link-copy-box {
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: #09090b;
    border: 1px solid #27272a;
    border-radius: 8px;
    padding: 6px 12px;
    margin-top: 0.75rem;
    gap: 8px;
}

.rzp-link-text {
    font-family: monospace;
    font-size: 0.76rem;
    color: #38bdf8;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.btn-copy-link {
    background: #1e293b;
    border: 1px solid #475569;
    color: #f1f5f9;
    font-size: 0.72rem;
    font-weight: 700;
    padding: 4px 10px;
    border-radius: 4px;
    cursor: pointer;
    white-space: nowrap;
    transition: background 0.2s;
}

.btn-copy-link:hover {
    background: #334155;
    color: #38bdf8;
}

/* QR Code Section Compact */
.compact-checkout-card .rzp-qr-wrapper {
    background: #fff;
    padding: 10px;
    border-radius: 12px;
    display: inline-block;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.5);
    margin: 0.25rem auto 0.4rem auto;
}

.compact-checkout-card .rzp-qr-img {
    width: 140px;
    height: 140px;
    display: block;
    image-rendering: pixelated;
}

.compact-checkout-card .rzp-qr-caption {
    font-size: 0.76rem;
    color: #94a3b8;
    margin: 0.3rem 0;
    font-weight: 500;
}

.qr-fee-badge {
    display: inline-block;
    background: rgba(34, 197, 94, 0.12);
    border: 1px solid rgba(34, 197, 94, 0.3);
    color: #86efac;
    padding: 4px 14px;
    border-radius: 20px;
    font-size: 0.8rem;
    margin-top: 0.2rem;
}

.qr-fee-badge strong {
    color: #22c55e;
    font-size: 0.95rem;
}

/* Bottom Action Box */
.pay-final-action-box {
    margin-top: 1rem;
    padding-top: 0.85rem;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.btn-confirm-bib {
    box-shadow: 0 4px 20px rgba(238, 9, 121, 0.35) !important;
    font-weight: 800 !important;
}


.otp-icon-bubble, .success-icon-badge {
    width: 65px;
    height: 65px;
    border-radius: 50%;
    margin: 0 auto 1.5rem auto;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
}

.otp-icon-bubble {
    background: rgba(238, 9, 121, 0.15);
    border: 2px solid var(--accent-secondary);
}

.success-icon-badge {
    background: rgba(0, 229, 255, 0.15);
    border: 2px solid #00E5FF;
}

.otp-subtitle, .success-subtitle {
    color: #a1a1aa;
    font-size: 0.95rem;
    margin: 0.75rem 0 2rem 0;
    line-height: 1.5;
}

.otp-input-wrapper {
    margin-bottom: 2rem;
}

.otp-code-input {
    width: 100%;
    max-width: 260px;
    background: #09090b;
    border: 2px solid #27272a;
    border-radius: 12px;
    padding: 1rem;
    color: #fff;
    font-size: 2rem;
    text-align: center;
    letter-spacing: 10px;
    font-weight: 800;
}

.otp-code-input:focus {
    border-color: var(--accent-secondary);
    outline: none;
    box-shadow: 0 0 15px rgba(238, 9, 121, 0.3);
}

.otp-resend-row {
    margin-top: 1.5rem;
    font-size: 0.85rem;
    color: #71717a;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 8px;
}

.btn-resend-otp {
    background: transparent;
    border: none;
    color: var(--accent-secondary);
    font-weight: 700;
    cursor: pointer;
    text-decoration: underline;
}

.btn-back-link {
    background: transparent;
    border: none;
    color: #a1a1aa;
    font-size: 0.85rem;
    cursor: pointer;
    margin-top: 1.5rem;
    display: inline-block;
}

/* Success Card Elements */
.confirmed-bib-badge {
    background: #fff;
    color: #000;
    border-radius: 12px;
    padding: 1.5rem;
    margin: 2rem 0;
    border: 3px solid #111;
}

.bib-tag-label {
    font-size: 0.7rem;
    letter-spacing: 1.5px;
    font-weight: 900;
    color: #666;
}

.bib-tag-number {
    font-size: 3rem;
    font-weight: 900;
    color: #111;
    font-family: 'Arial Black', Impact, sans-serif;
    line-height: 1.1;
    margin: 0.4rem 0;
}

.bib-tag-name {
    font-size: 1.15rem;
    font-weight: 800;
    color: #ee0979;
    letter-spacing: 1px;
    text-transform: uppercase;
}

.bib-tag-category {
    font-size: 0.75rem;
    font-weight: 800;
    color: #555;
    margin-top: 0.4rem;
}

.confirmation-note {
    color: #a1a1aa;
    font-size: 0.85rem;
    margin-bottom: 2rem;
}

.success-actions-row {
    display: flex;
    gap: 1rem;
    justify-content: center;
}

@media (max-width: 500px) {
    .success-actions-row {
        flex-direction: column;
    }
}

/* 6. Event Details Category Cards (Inspired by BibEvents) */
.category-card-styled {
    background: #141417;
    border: 1px solid #27272a;
    border-radius: 16px;
    padding: 2rem;
    position: relative;
    display: flex;
    flex-direction: column;
    transition: transform 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
}

.category-card-styled:hover {
    transform: translateY(-4px);
    border-color: #3f3f46;
    box-shadow: 0 10px 30px rgba(0,0,0,0.5);
}

.category-card-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1rem;
}

.category-dist-badge {
    background: #27272a;
    color: #fff;
    font-size: 0.78rem;
    font-weight: 800;
    padding: 4px 10px;
    border-radius: 8px;
    letter-spacing: 0.5px;
}

.cat-chip-timed {
    background: rgba(0, 229, 255, 0.15);
    border: 1px solid #00E5FF;
    color: #00E5FF;
    font-size: 0.7rem;
    font-weight: 800;
    padding: 3px 8px;
    border-radius: 20px;
}

.cat-chip-untimed {
    background: rgba(255, 106, 0, 0.15);
    border: 1px solid var(--accent-primary);
    color: var(--accent-primary);
    font-size: 0.7rem;
    font-weight: 800;
    padding: 3px 8px;
    border-radius: 20px;
}

.category-card-title {
    font-size: 1.45rem;
    color: #fff;
    font-weight: 800;
    margin-bottom: 0.4rem;
}

.category-card-price {
    font-size: 2rem;
    font-weight: 900;
    color: var(--accent-primary);
    margin-bottom: 0.25rem;
}

.category-card-eligibility {
    color: #71717a;
    font-size: 0.82rem;
    margin-bottom: 1rem;
}

.category-card-divider {
    height: 1px;
    background: #27272a;
    margin-bottom: 1.25rem;
}

/* Admin Race Category Builder */
.category-builder-row {
    display: flex;
    align-items: center;
    gap: 12px;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 10px;
    padding: 10px 14px;
    transition: all 0.25s ease;
}
.category-builder-row:hover {
    border-color: rgba(255, 94, 0, 0.4);
    background: rgba(255, 94, 0, 0.04);
}
.category-builder-row input,
.category-builder-row select {
    margin-bottom: 0 !important;
    background: rgba(18, 18, 18, 0.9) !important;
    border: 1px solid rgba(255, 255, 255, 0.15) !important;
    color: #fff !important;
    font-size: 0.9rem !important;
    padding: 0.65rem 0.9rem !important;
    border-radius: 8px !important;
}
.category-builder-row input:focus,
.category-builder-row select:focus {
    border-color: var(--accent-primary) !important;
    outline: none !important;
    box-shadow: 0 0 10px rgba(255, 94, 0, 0.25) !important;
}
.btn-del-cat-row {
    background: rgba(255, 68, 68, 0.12) !important;
    border: 1px solid rgba(255, 68, 68, 0.35) !important;
    color: #ff6b6b !important;
    padding: 0.6rem 0.9rem !important;
    border-radius: 8px !important;
    cursor: pointer !important;
    font-size: 0.95rem !important;
    font-weight: 700 !important;
    transition: all 0.2s ease !important;
    white-space: nowrap !important;
}
.btn-del-cat-row:hover {
    background: rgba(255, 68, 68, 0.3) !important;
    color: #fff !important;
    border-color: #ff4444 !important;
    transform: scale(1.05);
}
@media (max-width: 768px) {
    .category-builder-row {
        flex-direction: column;
        align-items: stretch;
        gap: 8px;
    }
}

/* ============================================
   EARLY BIRD URGENCY BAR & COUNTDOWN TIMER
   ============================================ */
.earlybird-urgency-bar {
    background: linear-gradient(135deg, rgba(20, 20, 24, 0.98), rgba(28, 18, 12, 0.98));
    border-bottom: 2px solid rgba(255, 94, 0, 0.4);
    box-shadow: 0 4px 25px rgba(255, 94, 0, 0.18);
    position: sticky;
    top: 65px;
    z-index: 95;
    padding: 0.65rem 1rem;
    backdrop-filter: blur(12px);
    transition: all 0.3s ease;
    display: none;
}

#view-home.active .earlybird-urgency-bar:not(.hidden) {
    display: block;
}

body.admin-mode .earlybird-urgency-bar,
section:not(#view-home) .earlybird-urgency-bar {
    display: none !important;
}

.earlybird-bar-inner {
    max-width: 1280px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1.25rem;
    flex-wrap: wrap;
}

.earlybird-badge-pulse {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: rgba(255, 94, 0, 0.15);
    border: 1px solid rgba(255, 94, 0, 0.45);
    padding: 0.35rem 0.85rem;
    border-radius: 999px;
    white-space: nowrap;
    animation: badgePulseGlow 2s infinite ease-in-out;
}

@keyframes badgePulseGlow {
    0%, 100% { box-shadow: 0 0 0 0 rgba(255, 94, 0, 0.4); }
    50% { box-shadow: 0 0 12px 2px rgba(255, 94, 0, 0.25); }
}

.earlybird-badge-pulse .pulse-fire {
    font-size: 1.1rem;
    animation: fireFlicker 1.5s infinite alternate;
}

@keyframes fireFlicker {
    0% { transform: scale(1) rotate(-3deg); }
    100% { transform: scale(1.15) rotate(4deg); }
}

.earlybird-badge-pulse .pulse-text {
    font-family: var(--font-heading);
    font-weight: 800;
    font-size: 0.8rem;
    letter-spacing: 1.5px;
    color: #ff8533;
    text-transform: uppercase;
}

.earlybird-message-wrap {
    display: flex;
    align-items: center;
    gap: 1rem;
    flex: 1;
    min-width: 280px;
    flex-wrap: wrap;
}

.earlybird-main-msg {
    font-size: 0.95rem;
    color: #f4f4f5;
    line-height: 1.4;
}

.earlybird-main-msg strong {
    color: #00E5FF;
    font-weight: 800;
}

.earlybird-main-msg #earlybird-deadline-date {
    color: #ff9d5c;
    font-weight: 700;
    text-decoration: underline;
    text-underline-offset: 3px;
}

.earlybird-slots-indicator {
    display: inline-flex;
    align-items: center;
    gap: 0.6rem;
    background: rgba(0, 0, 0, 0.4);
    padding: 0.25rem 0.65rem;
    border-radius: 6px;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.slots-pill {
    font-size: 0.8rem;
    font-weight: 700;
    color: #00E5FF;
    white-space: nowrap;
}

.slots-mini-bar {
    width: 60px;
    height: 6px;
    background: rgba(255, 255, 255, 0.12);
    border-radius: 999px;
    overflow: hidden;
}

.slots-mini-fill {
    height: 100%;
    background: linear-gradient(90deg, #FF5E00, #00E5FF);
    border-radius: 999px;
    transition: width 0.4s ease;
}

.earlybird-timer-wrap {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    background: rgba(0, 0, 0, 0.55);
    border: 1px solid rgba(255, 94, 0, 0.3);
    padding: 0.3rem 0.75rem;
    border-radius: 8px;
}

.timer-label {
    font-size: 0.7rem;
    font-family: var(--font-heading);
    font-weight: 800;
    letter-spacing: 1px;
    color: #a1a1aa;
    margin-right: 0.25rem;
}

.timer-unit {
    display: flex;
    flex-direction: column;
    align-items: center;
    min-width: 28px;
}

.timer-num {
    font-family: var(--font-heading);
    font-weight: 900;
    font-size: 1.05rem;
    color: #ffffff;
    line-height: 1;
}

.timer-sub {
    font-size: 0.55rem;
    text-transform: uppercase;
    color: #71717a;
    margin-top: 2px;
}

.timer-colon {
    font-size: 1rem;
    font-weight: 800;
    color: #ff5e00;
    margin-bottom: 8px;
}

.btn-earlybird-claim {
    background: linear-gradient(135deg, #FF5E00, #e65100);
    color: #fff;
    border: none;
    padding: 0.55rem 1.15rem;
    border-radius: 8px;
    font-family: var(--font-heading);
    font-weight: 800;
    font-size: 0.85rem;
    letter-spacing: 0.5px;
    cursor: pointer;
    box-shadow: 0 0 15px rgba(255, 94, 0, 0.4);
    transition: all 0.25s ease;
    white-space: nowrap;
}

.btn-earlybird-claim:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 20px rgba(255, 94, 0, 0.6);
    background: linear-gradient(135deg, #ff7426, #ff5e00);
}

@media (max-width: 900px) {
    .earlybird-urgency-bar {
        position: relative;
        top: 0;
    }
    .earlybird-bar-inner {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.75rem;
    }
    .earlybird-message-wrap {
        width: 100%;
        justify-content: space-between;
    }
    .btn-earlybird-claim {
        width: 100%;
        text-align: center;
    }
}

/* ============================================
   CHECKOUT EARLY BIRD CALLOUT CARD
   ============================================ */
.reg-earlybird-callout-card {
    background: linear-gradient(135deg, rgba(255, 94, 0, 0.08), rgba(0, 229, 255, 0.05));
    border: 1px solid rgba(255, 94, 0, 0.3);
    border-radius: 10px;
    padding: 1rem;
    margin-bottom: 1.25rem;
}

.reg-earlybird-callout-card .callout-top {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 0.5rem;
}

.reg-earlybird-callout-card .badge-fire {
    font-family: var(--font-heading);
    font-weight: 800;
    font-size: 0.75rem;
    letter-spacing: 1px;
    color: #ff8533;
}

.reg-earlybird-callout-card .callout-timer-pill {
    background: rgba(0, 0, 0, 0.5);
    border: 1px solid rgba(255, 255, 255, 0.15);
    padding: 0.2rem 0.5rem;
    border-radius: 4px;
    font-size: 0.75rem;
    font-weight: 700;
    color: #00E5FF;
}

.reg-earlybird-callout-card .callout-msg-text {
    font-size: 0.85rem;
    color: #d4d4d8;
    line-height: 1.4;
    margin-bottom: 0.75rem;
}

.reg-earlybird-callout-card .callout-msg-text span {
    font-weight: 700;
    color: #fff;
}

.reg-earlybird-callout-card .callout-progress-container {
    margin-bottom: 0.85rem;
}

.reg-earlybird-callout-card .callout-progress-text {
    display: flex;
    justify-content: space-between;
    font-size: 0.75rem;
    color: #a1a1aa;
    margin-bottom: 0.35rem;
}

.reg-earlybird-callout-card .callout-progress-bg {
    height: 6px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 999px;
    overflow: hidden;
}

.reg-earlybird-callout-card .callout-progress-bar {
    height: 100%;
    background: linear-gradient(90deg, #FF5E00, #00E5FF);
    border-radius: 999px;
    transition: width 0.4s ease;
}

.btn-quick-apply-code {
    width: 100%;
    background: rgba(0, 229, 255, 0.12);
    border: 1px solid rgba(0, 229, 255, 0.4);
    color: #00E5FF;
    padding: 0.55rem;
    border-radius: 6px;
    font-size: 0.85rem;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.2s ease;
    text-align: center;
}

.btn-quick-apply-code:hover {
    background: rgba(0, 229, 255, 0.25);
    color: #fff;
    border-color: #00E5FF;
    transform: translateY(-1px);
}

/* ============================================
   ADMIN COUPON STATUS BADGES
   ============================================ */
.badge-status-active {
    display: inline-block;
    padding: 0.2rem 0.6rem;
    border-radius: 4px;
    font-size: 0.75rem;
    font-weight: 700;
    background: rgba(34, 197, 94, 0.15);
    color: #4ade80;
    border: 1px solid rgba(34, 197, 94, 0.3);
}

.badge-status-ended {
    display: inline-block;
    padding: 0.2rem 0.6rem;
    border-radius: 4px;
    font-size: 0.75rem;
    font-weight: 700;
    background: rgba(239, 68, 68, 0.15);
    color: #f87171;
    border: 1px solid rgba(239, 68, 68, 0.3);
}

.badge-banner-yes {
    display: inline-block;
    padding: 0.2rem 0.6rem;
    border-radius: 4px;
    font-size: 0.75rem;
    font-weight: 700;
    background: rgba(0, 229, 255, 0.12);
    color: #00E5FF;
    border: 1px solid rgba(0, 229, 255, 0.35);
}

.badge-banner-no {
    display: inline-block;
    padding: 0.2rem 0.6rem;
    border-radius: 4px;
    font-size: 0.75rem;
    color: #71717a;
}


