/* ============================================
   CSS Variables & Reset - HPL Theme
   ============================================ */
html {
    scroll-behavior: smooth;
}

:root {
    /* HPL Primary Colors from Logo */
    --color-yellow: #FFEB3B;
    --color-orange: #FF9800;
    --color-orange-light: #FFA500;
    --color-navy: #17072D;
    --color-white: #FFFFFF;
    --color-charcoal: #0F1419;

    /* HPL Extended Palette */
    --color-bg-dark: #17072D;
    --color-bg-surface: #1f0a3b;
    --color-bg-card: #261049;
    --color-bg-hover: #351868;
    --color-border: rgba(255, 255, 255, 0.08);

    /* Text Colors */
    --color-text-primary: #FFFFFF;
    --color-text-secondary: #dec8ff;
    --color-text-muted: #bfa2ec;
    --color-text-dark: #17072D;

    /* Status Colors */
    --color-status-active: #10B981;
    --color-status-upcoming: #FF9800;
    --color-status-ended: #DC2626;
    --color-status-completed: #6B7280;
    --color-status-tbd: #4B5563;

    /* Card Styling */
    --card-bg: #FFFFFF;
    --card-bg-dark: #1f0b38;

    /* Gradients */
    --gradient-primary: linear-gradient(135deg, #FFEB3B 0%, #FF9800 100%);
    --gradient-dark: linear-gradient(180deg, #17072D 0%, #2c0f4f 100%);
    --gradient-cta: linear-gradient(90deg, #FFEB3B 0%, #FFA500 100%);
    --gradient-hover: linear-gradient(135deg, #2f1454 0%, #190638 100%);
    --gradient-purple: linear-gradient(135deg, #9333ea 0%, #7c3aed 50%, #6366f1 100%);

    /* Typography */
    --font-primary: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    --font-heading: 'Montserrat', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    --font-display: 'Poppins', 'Montserrat', sans-serif;

    /* Spacing */
    --spacing-xs: 0.5rem;
    --spacing-sm: 1rem;
    --spacing-md: 2rem;
    --spacing-lg: 3rem;
    --spacing-xl: 4rem;
    --spacing-xxl: 6rem;

    /* Transitions */
    --transition-fast: 0.15s cubic-bezier(0.16, 1, 0.3, 1);
    --transition-base: 0.25s cubic-bezier(0.16, 1, 0.3, 1);
    --transition-slow: 0.5s cubic-bezier(0.16, 1, 0.3, 1);

    /* Shadows */
    --shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.12), 0 1px 2px rgba(0, 0, 0, 0.08);
    --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.15), 0 2px 4px -1px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.2), 0 4px 6px -2px rgba(0, 0, 0, 0.12);
    --shadow-glow-yellow: 0 0 20px rgba(255, 235, 59, 0.3);
    --shadow-glow-yellow-strong: 0 0 40px rgba(255, 235, 59, 0.6);
    --shadow-glow-orange: 0 0 25px rgba(255, 152, 0, 0.4);
}

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

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    font-family: var(--font-primary);
    font-size: 1rem;
    line-height: 1.6;
    color: var(--color-text-primary);
    background-color: var(--color-bg-dark);
    position: relative;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    font-weight: 400;
    letter-spacing: -0.01em;
    text-align: center;
}

body::before {
    content: "";
    position: fixed;
    inset: 0;
    z-index: -1;
    background-color: var(--color-bg-dark);
    background-image:
        linear-gradient(135deg, rgba(23, 7, 45, 0.92), rgba(53, 24, 104, 0.75)),
        url('https://cdn.octathorpeweb.com/v1/webstore/store-bg.webp');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    opacity: 0.95;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition-base);
}

ul {
    list-style: none;
}

button {
    border: none;
    background: none;
    cursor: pointer;
    font-family: inherit;
}

/* ============================================
   Typography
   ============================================ */
h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: var(--font-heading);
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: var(--spacing-sm);
    letter-spacing: -0.02em;
}

h1 {
    font-size: clamp(2.5rem, 5vw, 4.5rem);
    font-family: var(--font-display);
}

h2 {
    font-size: clamp(2rem, 4vw, 3rem);
}

h3 {
    font-size: clamp(1.5rem, 3vw, 2rem);
}

p {
    margin-bottom: var(--spacing-sm);
    color: var(--color-text-secondary);
}

/* ============================================
   Container & Layout
   ============================================ */
.container {
    width: 100%;
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 var(--spacing-md);
    text-align: center;
}

.section {
    padding: var(--spacing-xxl) 0;
    position: relative;
    z-index: 1;
}

.section-header {
    text-align: center;
    margin-bottom: var(--spacing-xl);
}

.section-title {
    font-size: clamp(2rem, 4vw, 3rem);
    margin-bottom: var(--spacing-sm);
    color: var(--color-text-primary);
    position: relative;
}

.title-accent {
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.section-subtitle {
    font-size: 1.125rem;
    color: var(--color-text-primary);
    max-width: 600px;
    margin: 0 auto;
}

/* ============================================
   Header & Navigation
   ============================================ */
.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    background: rgba(15, 20, 25, 0.95);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(255, 235, 59, 0.2);
    transition: background-color 0.3s ease, box-shadow 0.3s ease;
    height: 85px;
    transform: translateZ(0);
    -webkit-transform: translateZ(0);
    will-change: auto;
    -webkit-perspective: 1000;
    -webkit-backface-visibility: hidden;
    backface-visibility: hidden;
}

.header.scrolled {
    box-shadow: var(--shadow-lg);
    background: rgba(15, 20, 25, 0.98);
    transform: translateZ(0) translateY(0);
    -webkit-transform: translateZ(0) translateY(0);
}

.navbar {
    height: 100%;
}

.navbar .container {
    height: 100%;
    display: flex;
    align-items: center;
    padding-left: var(--spacing-md);
    padding-right: var(--spacing-md);
}

.nav-wrapper {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: var(--spacing-md);
    height: 100%;
    width: 100%;
}

.logo {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

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

.logo-img {
    height: 80px;
    width: auto;
    object-fit: contain;
    filter: drop-shadow(0 0 10px rgba(255, 235, 59, 0.3));
    transition: var(--transition-base);
    display: block;
}

.logo-img:hover {
    filter: drop-shadow(0 0 15px rgba(255, 235, 59, 0.5));
    transform: scale(1.05);
}

.nav-menu {
    display: flex;
    align-items: center;
    gap: 0;
    list-style: none;
    margin: 0;
    padding: 0;
    flex: 1;
    justify-content: center;
    min-width: 0;
}

.nav-item {
    margin: 0;
    padding: 0;
}

.nav-logo-mobile {
    display: none;
}

.nav-link {
    position: relative;
    padding: var(--spacing-xs) var(--spacing-md);
    font-weight: 500;
    font-size: 0.9375rem;
    color: rgba(255, 255, 255, 0.8);
    transition: var(--transition-base);
    display: block;
    text-decoration: none;
    white-space: nowrap;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--color-yellow);
    transition: var(--transition-base);
}

.nav-link:hover,
.nav-link.active {
    color: var(--color-yellow);
}

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

.nav-actions {
    display: flex;
    align-items: center;
    gap: var(--spacing-sm);
    flex-shrink: 0;
    margin-left: var(--spacing-md);
}

.nav-actions .btn-primary {
    padding: 0.625rem 1rem;
    font-size: 0.8125rem;
    white-space: nowrap;
    letter-spacing: 0.3px;
    max-width: 100%;
}

/* Ensure button fits on medium screens */
@media (max-width: 1400px) {
    .nav-actions .btn-primary {
        padding: 0.625rem 0.875rem;
        font-size: 0.75rem;
        letter-spacing: 0.2px;
    }
}

@media (max-width: 1200px) {
    .nav-actions .btn-primary {
        padding: 0.5rem 0.75rem;
        font-size: 0.6875rem;
        letter-spacing: 0.1px;
    }
}

.nav-toggle {
    display: none;
    flex-direction: column;
    gap: 4px;
    width: 24px;
    height: 24px;
    padding: 0;
    background: none;
    border: none;
    cursor: pointer;
    z-index: 1000;
    position: relative;
}

.nav-toggle span {
    width: 100%;
    height: 2px;
    background: var(--color-yellow);
    transition: var(--transition-base);
    border-radius: 2px;
}

/* ============================================
   Buttons
   ============================================ */
.btn {
    display: inline-flex;
    align-items: center;
    gap: var(--spacing-xs);
    padding: 0.75rem 1.5rem;
    font-weight: 700;
    font-size: 0.9375rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    border-radius: 8px;
    transition: var(--transition-base);
    cursor: pointer;
    border: none;
    position: relative;
    overflow: hidden;
}

.btn-primary {
    background: var(--gradient-primary);
    color: var(--color-charcoal);
    box-shadow: var(--shadow-glow-yellow);
    font-weight: 700;
}

.btn-primary::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
    transition: var(--transition-slow);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-glow-yellow-strong);
}

.btn-primary:hover::before {
    left: 100%;
}

.btn-secondary {
    background: transparent;
    color: var(--color-yellow);
    border: 2px solid var(--color-yellow);
    box-shadow: 0 0 15px rgba(255, 235, 59, 0.2);
}

.btn-secondary:hover {
    background: rgba(255, 235, 59, 0.1);
    box-shadow: 0 0 25px rgba(255, 235, 59, 0.4);
    transform: translateY(-2px);
}

.btn-large {
    padding: 1rem 2rem;
    font-size: 1rem;
}

/* ============================================
   Hero Section
   ============================================ */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    background: transparent;
    padding-top: 115px;
    padding-bottom: var(--spacing-xl);
}

.hero-wrapper {
    position: relative;
    z-index: 2;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--spacing-xl);
    align-items: center;
    width: 100%;
    max-width: 1400px;
    margin: 0 auto;
}

.hero-video {
    position: relative;
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.video-wrapper {
    position: relative;
    width: 100%;
    max-width: 400px;
    aspect-ratio: 9 / 16;
    border-radius: 16px;
    overflow: visible;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.5), 0 0 0 3px rgba(147, 51, 234, 0.6);
    background: #000;
    margin: 0 auto var(--spacing-lg);
}

.video-wrapper iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: none;
    border-radius: 16px;
    display: block;
}

@media (min-width: 769px) {
    .video-wrapper {
        max-width: 350px;
    }
}

@media (max-width: 768px) {
    .video-wrapper {
        max-width: 100%;
        aspect-ratio: 9 / 16;
    }
}

.hero-content {
    position: relative;
    z-index: 2;
    text-align: left;
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: var(--spacing-md);
}

.hero-title {
    margin-bottom: 0.5rem;
    animation: fadeInUp 0.8s ease 0.2s both;
}

.title-line {
    display: block;
}

.title-line.highlight {
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    text-shadow: 0 0 30px rgba(255, 235, 59, 0.3);
    filter: drop-shadow(0 0 10px rgba(255, 235, 59, 0.2));
}

.hero-subtitle {
    font-size: clamp(1.25rem, 2.5vw, 2rem);
    color: var(--color-text-primary);
    margin-bottom: 0.5rem;
    margin-top: 0.5rem;
    font-weight: 700;
    letter-spacing: 1px;
    animation: fadeInUp 0.8s ease 0.3s both;
    font-family: var(--font-heading);
}

.hero-description {
    font-size: 1rem;
    color: var(--color-text-primary);
    line-height: 1.8;
    max-width: 550px;
    margin-bottom: var(--spacing-md);
    margin-top: 0.5rem;
    animation: fadeInUp 0.8s ease 0.4s both;
}

.hero-actions {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    gap: var(--spacing-md);
    margin-bottom: 0;
    flex-wrap: wrap;
    animation: fadeInUp 0.8s ease 0.5s both;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* ============================================
   Currently Live Section - Two Row Layout
   ============================================ */
.currently-live {
    background: transparent;
    padding: var(--spacing-lg) 0;
}

/* Two Row Banner Container */
.live-two-row-banner {
    background: linear-gradient(135deg, rgba(30, 37, 56, 0.95) 0%, rgba(21, 27, 42, 0.95) 100%);
    border: 2px solid var(--color-status-active);
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(16, 185, 129, 0.3);
    transition: var(--transition-base);
    overflow: hidden;
}

.live-two-row-banner:hover {
    box-shadow: 0 6px 30px rgba(16, 185, 129, 0.4);
    transform: translateY(-2px);
}

/* Row 1: Main Info Bar */
.live-two-row-banner {
    position: relative;
}

.banner-row-main {
    display: flex;
    align-items: center;
    justify-content: space-evenly;
    gap: clamp(1rem, 3vw, 3rem);
    padding: calc(var(--spacing-md) + 2.5rem) clamp(var(--spacing-lg), 4vw, 4rem) var(--spacing-md);
    border-bottom: 1px solid rgba(255, 235, 59, 0.2);
    position: relative;
}

/* Compact version for Head Coach Nominations */
#city-voting .banner-row-main {
    padding: calc(var(--spacing-sm) + 2rem) clamp(var(--spacing-md), 3vw, 3rem) var(--spacing-sm);
    gap: clamp(0.75rem, 2vw, 2rem);
}

.live-indicator {
    position: absolute;
    top: var(--spacing-sm);
    left: var(--spacing-sm);
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 1rem;
    background: var(--color-status-active);
    border-radius: 50px;
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--color-white);
    box-shadow: 0 0 20px rgba(16, 185, 129, 0.5);
    flex-shrink: 0;
    z-index: 10;
}

.live-indicator.is-upcoming {
    background: var(--color-status-upcoming);
    box-shadow: 0 0 20px rgba(255, 152, 0, 0.45);
}

.live-indicator.is-ended {
    background: var(--color-status-ended);
    box-shadow: 0 0 20px rgba(220, 38, 38, 0.5);
}

.live-indicator.is-upcoming {
    background: var(--color-status-upcoming);
    box-shadow: 0 0 20px rgba(255, 152, 0, 0.45);
}

.live-indicator.is-ended {
    background: var(--color-status-ended);
    box-shadow: 0 0 20px rgba(220, 38, 38, 0.5);
}

.phase-title-row {
    display: flex;
    align-items: center;
    gap: var(--spacing-sm);
    flex: 1;
    margin-left: 0;
}

.phase-title-row.phase-upcoming .phase-title-inline {
    color: var(--color-status-upcoming);
}

.phase-title-row.phase-ended .phase-title-inline {
    color: var(--color-status-ended);
}

.phase-title-row.phase-upcoming .phase-date-inline {
    color: rgba(255, 187, 92, 0.9);
}

.phase-title-row.phase-ended .phase-date-inline {
    color: rgba(220, 38, 38, 0.85);
}

.phase-title-row.phase-upcoming .phase-title-inline {
    color: var(--color-status-upcoming);
}

.phase-title-row.phase-ended .phase-title-inline {
    color: var(--color-status-ended);
}

.pulse-dot {
    font-size: 0.5rem;
    animation: pulse 2s cubic-bezier(0.4, 0, 0.6, 1) infinite;
}

@keyframes pulse {

    0%,
    100% {
        opacity: 1;
    }

    50% {
        opacity: 0.5;
    }
}

.phase-icon-small {
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--gradient-primary);
    border-radius: 10px;
    font-size: 1.5rem;
    color: var(--color-charcoal);
    box-shadow: 0 0 15px rgba(255, 235, 59, 0.4);
    flex-shrink: 0;
}

.phase-info-inline {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
    min-width: 200px;
}

.phase-title-inline {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--color-white);
    margin: 0;
    line-height: 1.2;
}

.phase-date-inline {
    font-size: 0.875rem;
    color: var(--color-text-primary);
    margin: 0;
    text-align: left;
}

/* Inline Countdown */
.countdown-inline {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-family: 'Courier New', monospace;
    padding: 0.75rem 1rem;
    background: rgba(255, 235, 59, 0.1);
    border: 1px solid rgba(255, 235, 59, 0.3);
    border-radius: 8px;
    flex-shrink: 0;
    min-width: 180px;
    justify-content: center;
}

.countdown-unit-inline {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.125rem;
}

.countdown-num-inline {
    font-size: 2rem;
    font-weight: 700;
    color: var(--color-yellow);
    line-height: 1;
    min-width: 32px;
    text-align: center;
}

.countdown-lbl-inline {
    font-size: 0.75rem;
    color: var(--color-text-primary);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-top: 0.125rem;
    font-weight: 600;
}

.countdown-sep-inline {
    color: var(--color-yellow);
    font-size: 1.75rem;
    font-weight: 700;
    margin: 0 0.25rem;
    padding-bottom: 0.75rem;
    opacity: 0.8;
}

.countdown-inline.comingsoon {
    border-style: dashed;
    border-color: rgba(255, 235, 59, 0.4);
    background: rgba(23, 7, 45, 0.65);
    min-width: auto;
}

.countdown-comingsoon-label {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.875rem;
    letter-spacing: 1px;
    text-transform: uppercase;
    color: var(--color-text-primary);
    font-weight: 700;
}

.countdown-inline.comingsoon i {
    color: var(--color-status-upcoming);
    font-size: 1rem;
}

/* Countdown items for inline countdown */
.countdown-inline .countdown-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.125rem;
}

.countdown-inline .countdown-value {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--color-yellow);
    line-height: 1;
    min-width: 28px;
    text-align: center;
    font-family: 'Courier New', monospace;
}

.countdown-inline .countdown-label {
    font-size: 0.625rem;
    color: var(--color-text-primary);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    font-weight: 600;
}

.countdown-inline .countdown-separator {
    color: var(--color-yellow);
    font-size: 1.25rem;
    font-weight: 700;
    margin: 0 0.125rem;
    padding-bottom: 0.5rem;
    opacity: 0.8;
    font-family: 'Courier New', monospace;
}

/* Compact version for Head Coach Nominations */
#city-voting .banner-row-content {
    padding: var(--spacing-md) clamp(var(--spacing-md), 3vw, 3rem);
    gap: var(--spacing-md);
}

#city-voting .content-description {
    padding-right: var(--spacing-md);
}

#city-voting .content-stats {
    padding-left: var(--spacing-md);
}

#city-voting .description-heading {
    font-size: 1rem;
}

#city-voting .description-text {
    font-size: 0.875rem;
}

#city-voting .stat-item {
    padding: var(--spacing-xs);
    gap: var(--spacing-sm);
}

#city-voting .stat-value {
    font-size: 1.5rem;
}

#city-voting .stat-label {
    font-size: 0.75rem;
}

/* Info Modal Styles */
.info-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
}

.info-modal.is-visible {
    opacity: 1;
    visibility: visible;
}

.info-modal-backdrop {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.75);
    backdrop-filter: blur(4px);
}

.info-modal-card {
    position: relative;
    background: linear-gradient(135deg, rgba(30, 37, 56, 0.98) 0%, rgba(21, 27, 42, 0.98) 100%);
    border: 2px solid var(--color-yellow);
    border-radius: 16px;
    padding: 2rem;
    max-width: 600px;
    width: 90%;
    max-height: 90vh;
    overflow-y: auto;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5), 0 0 40px rgba(255, 235, 59, 0.3);
    transform: scale(0.9);
    transition: transform 0.3s ease;
    z-index: 1;
}

.info-modal.is-visible .info-modal-card {
    transform: scale(1);
}

.info-modal-card .modal-close-btn {
    position: absolute;
    top: 1rem;
    right: 1rem;
    background: transparent;
    border: none;
    color: var(--color-text-primary);
    font-size: 2rem;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    border-radius: 50%;
    transition: all 0.3s ease;
    z-index: 2;
}

.info-modal-card .modal-close-btn:hover {
    background: rgba(255, 235, 59, 0.2);
    color: var(--color-yellow);
    transform: rotate(90deg);
}

.info-modal-card .modal-icon-wrapper {
    display: flex;
    justify-content: center;
    margin-bottom: 1rem;
}

.info-modal-card .modal-icon-wrapper i {
    font-size: 3rem;
    color: var(--color-yellow);
    opacity: 0.9;
}

.info-modal-card .modal-headline {
    font-size: 1.75rem;
    font-weight: 700;
    color: var(--color-text-primary);
    margin: 0 0 1rem 0;
    text-align: center;
    font-family: var(--font-heading);
}

.info-modal-card .modal-content {
    margin: 1.5rem 0;
}

.info-modal-card .modal-description {
    font-size: 1rem;
    color: var(--color-text-primary);
    line-height: 1.7;
    margin-bottom: 1.5rem;
    text-align: center;
}

.info-modal-card .modal-details {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    margin: 1.5rem 0;
}

.info-modal-card .detail-item {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    padding: 1rem;
    background: rgba(255, 235, 59, 0.05);
    border: 1px solid rgba(255, 235, 59, 0.2);
    border-radius: 12px;
}

.info-modal-card .detail-item i {
    font-size: 1.5rem;
    color: var(--color-yellow);
    flex-shrink: 0;
    margin-top: 0.25rem;
}

.info-modal-card .detail-item div {
    flex: 1;
    color: var(--color-text-primary);
    line-height: 1.6;
}

.info-modal-card .detail-item strong {
    color: var(--color-yellow);
    font-weight: 600;
}

.info-modal-card .modal-note {
    font-size: 0.95rem;
    color: var(--color-text-secondary);
    line-height: 1.6;
    margin-top: 1.5rem;
    padding: 1rem;
    background: rgba(255, 235, 59, 0.05);
    border-left: 3px solid var(--color-yellow);
    border-radius: 8px;
    text-align: left;
}

.info-modal-card .modal-actions {
    display: flex;
    justify-content: center;
    margin-top: 2rem;
}

.info-modal-card .modal-actions .btn {
    min-width: 140px;
}

.info-modal-card .modal-actions .btn i {
    margin-right: 0.5rem;
}

@media (max-width: 768px) {
    .header {
        position: fixed;
        top: 0;
        left: 0;
        transform: translateZ(0) translateY(0) !important;
        -webkit-transform: translateZ(0) translateY(0) !important;
        will-change: auto;
        -webkit-perspective: 1000;
        -webkit-backface-visibility: hidden;
        backface-visibility: hidden;
    }

    .header.scrolled {
        transform: translateZ(0) translateY(0) !important;
        -webkit-transform: translateZ(0) translateY(0) !important;
    }

    .info-modal-card {
        padding: 1.5rem;
        width: 95%;
    }

    .info-modal-card .modal-headline {
        font-size: 1.5rem;
    }

    .info-modal-card .modal-description {
        font-size: 0.95rem;
    }

    .info-modal-card .detail-item {
        padding: 0.875rem;
        gap: 0.75rem;
    }

    .info-modal-card .detail-item i {
        font-size: 1.25rem;
    }
}

#countdown.countdown-pre .countdown-num-inline,
#countdown.countdown-pre .countdown-sep-inline {
    color: var(--color-status-upcoming);
}

#countdown.countdown-completed .countdown-num-inline,
#countdown.countdown-completed .countdown-sep-inline {
    color: var(--color-status-ended);
}

/* Vote Now Button Inline */
.btn-vote-inline {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.875rem 1.75rem;
    background: var(--gradient-primary);
    color: var(--color-charcoal);
    border-radius: 8px;
    font-weight: 700;
    font-size: 0.9375rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    box-shadow: 0 0 20px rgba(255, 235, 59, 0.4);
    transition: var(--transition-base);
    white-space: nowrap;
    flex-shrink: 0;
    height: fit-content;
}

.btn-vote-inline:hover {
    transform: translateY(-2px);
    box-shadow: 0 0 30px rgba(255, 235, 59, 0.6);
}

/* Row 2: Description & Stats (50-50 split) */
.banner-row-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--spacing-md);
    padding: 10px;
    align-items: center;
}

.content-description {
    display: flex;
    flex-direction: column;
    gap: var(--spacing-sm);
    padding-right: var(--spacing-lg);
    border-right: 1px solid rgba(255, 235, 59, 0.2);
}

.description-heading {
    font-size: 1.125rem;
    font-weight: 700;
    color: var(--color-text-primary);
    margin: 0;
    font-family: var(--font-heading);
}

.description-text {
    font-size: 0.9375rem;
    color: var(--color-text-primary);
    line-height: 1.7;
    margin: 0;
}

/* Content Stats */
.content-stats {
    display: flex;
    flex-direction: row;
    gap: var(--spacing-lg);
    padding-left: var(--spacing-lg);
    justify-content: flex-start;
    flex-wrap: nowrap;
    align-items: stretch;
}

.stat-item {
    display: flex;
    align-items: center;
    gap: var(--spacing-md);
    padding: var(--spacing-sm);
    flex: 0 1 auto;
    text-align: left;
    min-width: 0;
    height: 100%;
}

.stat-icon-circle {
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--gradient-primary);
    border-radius: 50%;
    font-size: 1.5rem;
    color: var(--color-charcoal);
    flex-shrink: 0;
    box-shadow: 0 0 20px rgba(255, 235, 59, 0.4);
}

.stat-data {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
    align-items: flex-start;
    justify-content: center;
    min-height: 50px;
}

.stat-value {
    font-family: var(--font-heading);
    font-size: 1.75rem;
    font-weight: 700;
    color: var(--color-yellow);
    line-height: 1;
    margin: 0;
}

.stat-label {
    font-size: 0.75rem;
    color: var(--color-text-primary);
    text-transform: uppercase;
    letter-spacing: 1px;
    font-weight: 500;
    margin: 0;
    line-height: 1.2;
}

/* ============================================
   About Event Section - Redesigned Compact
   ============================================ */
.about-event {
    background: transparent;
    padding: var(--spacing-lg) 0;
}

.about-wrapper-redesigned {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--spacing-lg);
    align-items: start;
}

/* Left Section: Image Only */
.about-visual-area {
    position: relative;
    width: 100%;
}

.about-main-image {
    width: auto;
    height: auto;
    max-height: 760px;
    max-width: 100%;
    object-fit: contain;
    display: block;
    border-radius: 12px;
    border: 2px solid rgba(255, 235, 59, 0.2);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
}

/* Right Section: Content */
.about-content-redesigned {
    display: flex;
    flex-direction: column;
    gap: var(--spacing-md);
}

.about-header {
    margin-bottom: var(--spacing-xs);
}

.about-title-row {
    display: flex;
    align-items: center;
    gap: var(--spacing-md);
    margin-bottom: 0.5rem;
    flex-direction: row;
}

.about-title-row .about-main-title {
    align-self: center;
    flex: 1;
}

.about-logo-inline {
    height: 70px;
    width: auto;
    object-fit: contain;
    filter: drop-shadow(0 0 10px rgba(255, 235, 59, 0.3));
    flex-shrink: 0;
    align-self: center;
    order: -1;
}

.about-main-title {
    font-size: clamp(1.5rem, 3vw, 2.25rem);
    font-weight: 700;
    color: var(--color-text-primary);
    margin: 0;
    line-height: 1.2;
    font-family: var(--font-heading);
}

.about-description {
    margin-bottom: var(--spacing-xs);
    margin-top: 0;
}

.about-text {
    font-size: 0.9375rem;
    line-height: 1.7;
    color: var(--color-text-primary);
    margin: 0;
}

/* Features Grid - Compact Dark Cards */
.features-grid {
    display: flex;
    flex-direction: column;
    gap: var(--spacing-xs);
    margin-top: 0;
}

.feature-card {
    display: flex;
    align-items: center;
    gap: var(--spacing-sm);
    padding: var(--spacing-sm) var(--spacing-md);
    background: linear-gradient(135deg, rgba(30, 37, 56, 0.8) 0%, rgba(21, 27, 42, 0.8) 100%);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    transition: var(--transition-base);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
}

.feature-card:hover {
    background: linear-gradient(135deg, rgba(30, 37, 56, 0.95) 0%, rgba(21, 27, 42, 0.95) 100%);
    border-color: rgba(255, 235, 59, 0.3);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
}

/* Hexagonal Icons - Smaller */
.feature-icon-hex {
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    position: relative;
    clip-path: polygon(30% 0%, 70% 0%, 100% 50%, 70% 100%, 30% 100%, 0% 50%);
    font-size: 1.25rem;
    color: var(--color-white);
}

.feature-icon-hex.green {
    background: linear-gradient(135deg, #10b981 0%, #059669 100%);
    box-shadow: 0 0 15px rgba(16, 185, 129, 0.5);
}

.feature-icon-hex.yellow {
    background: var(--gradient-primary);
    box-shadow: 0 0 15px rgba(255, 235, 59, 0.5);
}

.feature-icon-hex.purple {
    background: linear-gradient(135deg, #9333ea 0%, #7c3aed 100%);
    box-shadow: 0 0 15px rgba(147, 51, 234, 0.5);
}

.feature-content {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
}

.feature-title {
    font-size: 1rem;
    font-weight: 700;
    color: var(--color-text-primary);
    margin: 0;
    line-height: 1.3;
}

.feature-description {
    font-size: 0.8125rem;
    color: var(--color-text-primary);
    line-height: 1.5;
    margin: 0;
}

/* ============================================
   Event Journey Timeline Section
   ============================================ */
.event-journey {
    background: transparent;
    padding: var(--spacing-xl) 0;
}

.timeline-container {
    position: relative;
    max-width: 900px;
    margin: var(--spacing-xl) auto 0;
    padding: 0 var(--spacing-lg);
}

.modules-grid {
    position: relative;
}

.timeline-line {
    position: absolute;
    left: 50%;
    top: 0;
    bottom: 0;
    width: 4px;
    background: linear-gradient(180deg,
            var(--color-status-active) 0%,
            rgba(16, 185, 129, 0.6) 15%,
            rgba(255, 152, 0, 0.4) 50%,
            rgba(156, 163, 175, 0.3) 100%);
    transform: translateX(-50%);
    border-radius: 2px;
    box-shadow: 0 0 20px rgba(16, 185, 129, 0.3);
}

.timeline-item {
    position: relative;
    display: flex;
    align-items: center;
    margin-bottom: 0.5rem;
    opacity: 0;
    animation: fadeInUp 0.6s ease-out forwards;
}

.timeline-item:nth-child(2) {
    animation-delay: 0.1s;
}

.timeline-item:nth-child(3) {
    animation-delay: 0.2s;
}

.timeline-item:nth-child(4) {
    animation-delay: 0.3s;
}

.timeline-item:nth-child(5) {
    animation-delay: 0.4s;
}

.timeline-item:nth-child(6) {
    animation-delay: 0.5s;
}

.timeline-item:nth-child(7) {
    animation-delay: 0.6s;
}

.timeline-item:nth-child(8) {
    animation-delay: 0.7s;
}

.timeline-item:nth-child(9) {
    animation-delay: 0.8s;
}

.timeline-item:nth-child(10) {
    animation-delay: 0.9s;
}

.timeline-item:nth-child(odd) {
    flex-direction: row;
}

.timeline-item:nth-child(even) {
    flex-direction: row-reverse;
}

.timeline-marker {
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 80px;
    z-index: 2;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition-base);
}

.timeline-item:hover .timeline-marker {
    transform: translateX(-50%) scale(1.15);
}

.active-marker {
    width: 90px;
    height: 90px;
    background: linear-gradient(135deg, var(--color-status-active) 0%, #059669 100%);
    border: 4px solid rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    box-shadow:
        0 0 30px rgba(16, 185, 129, 0.6),
        0 0 60px rgba(16, 185, 129, 0.3),
        inset 0 0 20px rgba(255, 255, 255, 0.1);
}

.upcoming-marker {
    width: 70px;
    height: 70px;
    background: linear-gradient(135deg, rgba(255, 152, 0, 0.2) 0%, rgba(255, 152, 0, 0.1) 100%);
    border: 3px solid var(--color-status-upcoming);
    border-radius: 50%;
    box-shadow:
        0 0 20px rgba(255, 152, 0, 0.4),
        inset 0 0 15px rgba(255, 152, 0, 0.1);
}

.tbd-marker {
    width: 70px;
    height: 70px;
    background: linear-gradient(135deg, rgba(156, 163, 175, 0.15) 0%, rgba(156, 163, 175, 0.05) 100%);
    border: 3px solid var(--color-status-tbd);
    border-radius: 50%;
    box-shadow:
        0 0 15px rgba(156, 163, 175, 0.3),
        inset 0 0 10px rgba(156, 163, 175, 0.1);
}

.ended-marker {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, rgba(220, 38, 38, 0.95) 0%, rgba(153, 27, 27, 0.85) 100%);
    border: 4px solid rgba(220, 38, 38, 0.35);
    border-radius: 50%;
    box-shadow:
        0 0 35px rgba(220, 38, 38, 0.55),
        inset 0 0 20px rgba(0, 0, 0, 0.35);
}

.final-marker {
    width: 90px;
    height: 90px;
    background: linear-gradient(135deg, #f59e0b 0%, #dc2626 100%);
    border: 4px solid rgba(255, 255, 255, 0.2);
    box-shadow:
        0 0 40px rgba(245, 158, 11, 0.6),
        0 0 80px rgba(220, 38, 38, 0.4),
        inset 0 0 25px rgba(255, 255, 255, 0.15);
}

.marker-pulse {
    position: absolute;
    width: 100%;
    height: 100%;
    border-radius: 50%;
    background: var(--color-status-active);
    opacity: 0.6;
    animation: pulse 2s ease-in-out infinite;
}

.timeline-item.phase-ended .marker-pulse {
    background: var(--color-status-ended);
    box-shadow: 0 0 20px rgba(220, 38, 38, 0.35);
}

.timeline-item.phase-ended .marker-pulse {
    background: var(--color-status-ended);
    box-shadow: 0 0 20px rgba(220, 38, 38, 0.35);
}

@keyframes pulse {

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

    50% {
        transform: scale(1.4);
        opacity: 0;
    }
}

.marker-icon {
    position: relative;
    z-index: 1;
    font-size: 2rem;
    color: var(--color-white);
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
    transition: var(--transition-base);
}

.timeline-item:hover .marker-icon {
    transform: scale(1.1) rotate(5deg);
}

.upcoming-marker .marker-icon,
.tbd-marker .marker-icon {
    color: var(--color-yellow);
    font-size: 1.75rem;
}

.timeline-content {
    flex: 1;
    max-width: 400px;
    padding: var(--spacing-md);
    background: linear-gradient(135deg, rgba(30, 37, 56, 0.95) 0%, rgba(21, 27, 42, 0.95) 100%);
    border: 2px solid rgba(255, 235, 59, 0.2);
    border-radius: 16px;
    box-shadow:
        0 8px 32px rgba(0, 0, 0, 0.4),
        inset 0 1px 0 rgba(255, 255, 255, 0.1);
    transition: var(--transition-base);
    position: relative;
    overflow: hidden;
}

.timeline-content::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, transparent, var(--color-yellow), transparent);
    opacity: 0;
    transition: var(--transition-base);
}

.timeline-item:hover .timeline-content {
    transform: translateY(-5px);
    border-color: rgba(255, 235, 59, 0.5);
    box-shadow:
        0 12px 40px rgba(0, 0, 0, 0.5),
        0 0 30px rgba(255, 235, 59, 0.2),
        inset 0 1px 0 rgba(255, 255, 255, 0.15);
}

.timeline-item:hover .timeline-content::before {
    opacity: 1;
}

.timeline-item.active .timeline-content {
    border-color: rgba(16, 185, 129, 0.5);
    box-shadow:
        0 8px 32px rgba(0, 0, 0, 0.4),
        0 0 25px rgba(16, 185, 129, 0.3),
        inset 0 1px 0 rgba(255, 255, 255, 0.1);
}

.timeline-item.phase-ended .timeline-content {
    border-color: rgba(220, 38, 38, 0.45);
    background: linear-gradient(145deg, rgba(220, 38, 38, 0.1) 0%, rgba(23, 7, 45, 0.95) 100%);
    box-shadow:
        0 8px 32px rgba(0, 0, 0, 0.4),
        0 0 30px rgba(220, 38, 38, 0.25),
        inset 0 1px 0 rgba(255, 255, 255, 0.05);
}

.timeline-item.phase-ended .timeline-title {
    color: var(--color-status-ended);
}

.timeline-item.phase-ended .timeline-cta {
    opacity: 0.5;
    pointer-events: none;
}

/* Override for active button in phase-ended item */
.timeline-item.phase-ended .timeline-cta.timeline-cta-active {
    opacity: 1;
    pointer-events: auto;
    background: linear-gradient(135deg, var(--color-yellow) 0%, #FF9800 100%);
    color: var(--color-bg-dark);
    border-color: var(--color-yellow);
    box-shadow:
        0 4px 15px rgba(255, 235, 59, 0.3),
        inset 0 1px 0 rgba(255, 255, 255, 0.2);
}

.timeline-item.phase-ended .timeline-cta.timeline-cta-active:hover {
    transform: translateY(-2px);
    box-shadow:
        0 6px 20px rgba(255, 235, 59, 0.4),
        0 0 30px rgba(255, 235, 59, 0.3),
        inset 0 1px 0 rgba(255, 255, 255, 0.3);
    background: linear-gradient(135deg, #FFEB3B 0%, #FF9800 100%);
}

.timeline-item.phase-ended .marker-icon {
    color: var(--color-white);
}

.timeline-item.active:hover .timeline-content {
    box-shadow:
        0 12px 40px rgba(0, 0, 0, 0.5),
        0 0 40px rgba(16, 185, 129, 0.4),
        inset 0 1px 0 rgba(255, 255, 255, 0.15);
}

.timeline-item:nth-child(odd) .timeline-content {
    margin-right: calc(50% + 60px);
    margin-left: 0;
}

.timeline-item:nth-child(even) .timeline-content {
    margin-left: calc(50% + 60px);
    margin-right: 0;
}

.timeline-badge {
    display: inline-block;
    padding: 0.375rem 0.875rem;
    border-radius: 50px;
    font-size: 0.625rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 0.5rem;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
}

.active-badge {
    background: var(--color-status-active);
    color: var(--color-white);
}

.upcoming-badge {
    background: var(--color-status-upcoming);
    color: var(--color-white);
}

.ended-badge {
    background: var(--color-status-ended);
    color: var(--color-white);
    box-shadow: 0 0 15px rgba(220, 38, 38, 0.45);
}

.timeline-date {
    font-size: 0.8125rem;
    color: var(--color-text-primary);
    margin-bottom: 0.5rem;
    font-weight: 500;
    letter-spacing: 0.5px;
}

.selection-confirm {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 1rem;
    padding: 1.5rem 2rem;
    border: 1px solid rgba(16, 185, 129, 0.5);
    border-radius: 20px;
    background: rgba(16, 185, 129, 0.08);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.35);
    margin-bottom: 2.5rem;
}

.selection-confirm.selection-confirm-large {
    max-width: 580px;
    margin-left: auto;
    margin-right: auto;
}

.selection-confirm-icon {
    width: 96px;
    height: 96px;
    border-radius: 50%;
    background: rgba(16, 185, 129, 0.15);
    color: #10b981;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 2.5rem;
    box-shadow: inset 0 0 12px rgba(16, 185, 129, 0.35);
}

.selection-confirm-text {
    font-size: 1.15rem;
    font-weight: 700;
    color: var(--color-text-primary);
    margin: 0;
}

.timeline-title {
    font-size: 1.375rem;
    font-weight: 700;
    color: var(--color-text-primary);
    margin-bottom: 0.5rem;
    line-height: 1.3;
    transition: var(--transition-base);
}

.timeline-item:hover .timeline-title {
    color: var(--color-yellow);
}

.timeline-item.active .timeline-title {
    color: var(--color-status-active);
}

.timeline-description {
    font-size: 0.9375rem;
    color: var(--color-text-primary);
    line-height: 1.6;
    margin-bottom: var(--spacing-sm);
}

.timeline-cta {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.75rem 1.5rem;
    background: linear-gradient(135deg, var(--color-yellow) 0%, #f59e0b 100%);
    color: var(--color-charcoal);
    border: none;
    border-radius: 8px;
    font-size: 0.875rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    transition: var(--transition-base);
    box-shadow:
        0 4px 15px rgba(255, 235, 59, 0.3),
        inset 0 1px 0 rgba(255, 255, 255, 0.2);
    text-decoration: none;
    cursor: pointer;
    pointer-events: auto;
    position: relative;
    z-index: 1;
}

.timeline-cta:hover {
    transform: translateY(-2px);
    box-shadow:
        0 6px 20px rgba(255, 235, 59, 0.4),
        inset 0 1px 0 rgba(255, 255, 255, 0.3);
    background: linear-gradient(135deg, #ffeb3b 0%, #ffc107 100%);
}

.timeline-item.active .timeline-cta {
    background: linear-gradient(135deg, var(--color-status-active) 0%, #059669 100%);
    color: var(--color-white);
    box-shadow:
        0 4px 15px rgba(16, 185, 129, 0.3),
        inset 0 1px 0 rgba(255, 255, 255, 0.2);
}

.timeline-item.active .timeline-cta:hover {
    box-shadow:
        0 6px 20px rgba(16, 185, 129, 0.4),
        inset 0 1px 0 rgba(255, 255, 255, 0.3);
    background: linear-gradient(135deg, #10b981 0%, #047857 100%);
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* ============================================
   Franchises Showcase Section
   ============================================ */
.franchises {
    background: transparent;
    padding: var(--spacing-lg) 0;
}

#franchises .section-header {
    margin-bottom: 1rem;
}

.franchises-coming-soon {
    max-width: 600px;
    margin: 0 auto;
    padding: var(--spacing-md);
    text-align: center;
    background: var(--gradient-hover);
    border: 2px dashed rgba(255, 235, 59, 0.3);
    border-radius: 16px;
}

.coming-soon-icon {
    width: 70px;
    height: 70px;
    margin: 0 auto var(--spacing-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 235, 59, 0.1);
    border-radius: 50%;
    font-size: 2rem;
    color: var(--color-yellow);
    animation: pulse 2s ease-in-out infinite;
}

.coming-soon-title {
    font-size: 1.5rem;
    color: var(--color-yellow);
    margin-bottom: var(--spacing-sm);
}

.coming-soon-text {
    font-size: 1rem;
    color: var(--color-text-primary);
    margin-bottom: var(--spacing-md);
    line-height: 1.6;
}

.franchises-top-cities {
    margin-top: 1rem;
    background: linear-gradient(135deg, rgba(24, 29, 47, 0.9), rgba(13, 16, 28, 0.9));
    border: 1px solid rgba(255, 215, 134, 0.2);
    border-radius: 20px;
    padding: var(--spacing-xl);
    box-shadow: 0 25px 65px rgba(5, 2, 14, 0.65);
}

/* Franchises Leaderboard */
.franchises-leaderboard {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    margin-top: 1.5rem;
}

.leaderboard-item {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    padding: 1rem 1.5rem;
    background: rgba(10, 0, 20, 0.9);
    border: 1px solid rgba(255, 215, 134, 0.2);
    border-radius: 12px;
    transition: all 0.3s ease;
}

.leaderboard-item:hover {
    background: rgba(15, 5, 24, 0.95);
    border-color: rgba(255, 215, 134, 0.4);
    transform: translateX(5px);
}

.leaderboard-rank {
    min-width: 60px;
    width: 60px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, rgba(255, 235, 59, 0.15), rgba(255, 152, 0, 0.15));
    border: 2px solid rgba(255, 235, 59, 0.3);
    border-radius: 12px;
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--color-yellow);
    font-family: var(--font-heading);
}

.leaderboard-city {
    flex: 1;
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--color-text-primary);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

@media (max-width: 768px) {
    .leaderboard-item {
        padding: 0.875rem 1rem;
        gap: 1rem;
    }

    .leaderboard-rank {
        min-width: 50px;
        width: 50px;
        height: 50px;
        font-size: 1.1rem;
    }

    .leaderboard-city {
        font-size: 1.1rem;
    }
}

.franchises-top-header {
    text-align: center;
    margin-bottom: var(--spacing-lg);
}

.franchises-top-header h3 {
    font-size: 2rem;
    margin-bottom: 0.35rem;
}

.franchises-top-header p {
    color: var(--color-text-muted);
    margin: 0 auto;
    max-width: 640px;
}

.top-cities-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: var(--spacing-lg);
}

.city-card {
    background: rgba(10, 0, 20, 0.9);
    border: 1px solid rgba(255, 215, 134, 0.2);
    border-radius: 18px;
    padding: var(--spacing-lg);
    position: relative;
    overflow: hidden;
    box-shadow: 0 20px 50px rgba(4, 0, 12, 0.45);
}

.city-card .city-rank {
    position: absolute;
    top: var(--spacing-sm);
    right: var(--spacing-sm);
    width: 42px;
    height: 42px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 215, 134, 0.12);
    color: var(--color-accent-gold);
    font-weight: 700;
}

.city-card .city-name {
    font-size: 1.25rem;
    font-weight: 700;
    margin-bottom: 0.35rem;
}

.city-card .city-meta {
    color: var(--color-text-muted);
    margin: 0;
}

.city-card .city-tag {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    margin-top: var(--spacing-sm);
    padding: 0.4rem 0.9rem;
    border-radius: 999px;
    background: rgba(255, 215, 134, 0.12);
    font-size: 0.85rem;
}

.home-top-cities-grid .city-card {
    pointer-events: none;
    cursor: default;
}

/* ============================================
   Community Section
   ============================================ */
.community {
    background: transparent;
    padding: var(--spacing-lg) 0;
}

.social-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--spacing-sm);
    max-width: 800px;
    margin: var(--spacing-md) auto 0;
}

.social-card {
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: var(--spacing-sm);
    padding: var(--spacing-sm) var(--spacing-md);
    border-radius: 12px;
    transition: var(--transition-base);
    text-align: left;
    position: relative;
    overflow: hidden;
    background: linear-gradient(135deg, rgba(30, 37, 56, 0.95) 0%, rgba(21, 27, 42, 0.95) 100%);
    border: 2px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
}

.social-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, transparent, currentColor, transparent);
    opacity: 0;
    transition: var(--transition-base);
}

.social-card:hover {
    transform: translateY(-3px);
    border-color: currentColor;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.4), 0 0 20px currentColor;
}

.social-card:hover::before {
    opacity: 1;
}

.social-card.discord {
    color: #5865F2;
    border-color: rgba(88, 101, 242, 0.3);
}

.social-card.discord:hover {
    background: linear-gradient(135deg, rgba(88, 101, 242, 0.15) 0%, rgba(88, 101, 242, 0.05) 100%);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.4), 0 0 25px rgba(88, 101, 242, 0.5);
}

.social-card.instagram {
    color: #E1306C;
    border-color: rgba(225, 48, 108, 0.3);
}

.social-card.instagram:hover {
    background: linear-gradient(135deg, rgba(225, 48, 108, 0.15) 0%, rgba(225, 48, 108, 0.05) 100%);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.4), 0 0 25px rgba(225, 48, 108, 0.5);
}

.social-card.youtube {
    color: #FF0000;
    border-color: rgba(255, 0, 0, 0.3);
}

.social-card.youtube:hover {
    background: linear-gradient(135deg, rgba(255, 0, 0, 0.15) 0%, rgba(255, 0, 0, 0.05) 100%);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.4), 0 0 25px rgba(255, 0, 0, 0.5);
}

.social-card.twitter {
    color: #1DA1F2;
    border-color: rgba(29, 155, 240, 0.3);
}

.social-card.twitter:hover {
    background: linear-gradient(135deg, rgba(29, 155, 240, 0.15) 0%, rgba(29, 155, 240, 0.05) 100%);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.4), 0 0 25px rgba(29, 155, 240, 0.5);
}

.social-card.whatsapp {
    color: #25D366;
    border-color: rgba(37, 211, 102, 0.3);
}

.social-card.whatsapp:hover {
    background: linear-gradient(135deg, rgba(37, 211, 102, 0.15) 0%, rgba(37, 211, 102, 0.05) 100%);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.4), 0 0 25px rgba(37, 211, 102, 0.5);
}

.social-card.facebook {
    color: #1877F2;
    border-color: rgba(24, 119, 242, 0.3);
}

.social-card.facebook:hover {
    background: linear-gradient(135deg, rgba(24, 119, 242, 0.15) 0%, rgba(24, 119, 242, 0.05) 100%);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.4), 0 0 25px rgba(24, 119, 242, 0.5);
}

.social-icon {
    font-size: 1.75rem;
    transition: var(--transition-base);
    flex-shrink: 0;
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 10px;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.social-card:hover .social-icon {
    transform: scale(1.1) rotate(5deg);
    background: rgba(255, 255, 255, 0.1);
    border-color: currentColor;
    color: currentColor;
}

.social-card .social-icon {
    color: currentColor;
}

.social-content {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
    min-width: 0;
}

.social-label {
    font-size: 0.9375rem;
    font-weight: 600;
    color: var(--color-text-primary);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.social-count {
    font-size: 0.75rem;
    color: var(--color-text-primary);
    opacity: 0.8;
    font-weight: 500;
}

/* ============================================
   FAQs Section
   ============================================ */
.faqs {
    background: transparent;
}

.faqs-wrapper {
    display: grid;
    grid-template-columns: 1.5fr 1fr;
    gap: var(--spacing-xl);
}

.faq-category-title {
    font-size: 1.5rem;
    color: var(--color-yellow);
    margin-bottom: var(--spacing-lg);
}

.faq-accordion {
    display: flex;
    flex-direction: column;
    gap: var(--spacing-sm);
}

.faq-item {
    background: var(--gradient-hover);
    border: 1px solid rgba(255, 235, 59, 0.2);
    border-radius: 8px;
    overflow: hidden;
}

.faq-question {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: var(--spacing-md);
    background: transparent;
    color: var(--color-text-primary);
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition-base);
    text-align: left;
}

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

.faq-icon {
    font-size: 0.875rem;
    color: var(--color-yellow);
    transition: var(--transition-base);
}

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

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
}

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

.faq-answer p {
    padding: 0 var(--spacing-md) var(--spacing-md);
    color: var(--color-text-primary);
    line-height: 1.8;
    border-left: 3px solid var(--color-yellow);
    margin-left: var(--spacing-md);
}

.rules-column {
    position: sticky;
    top: 100px;
}

.rules-title {
    font-size: 1.5rem;
    color: var(--color-yellow);
    margin-bottom: var(--spacing-lg);
}

.rules-box {
    padding: var(--spacing-lg);
    background: var(--gradient-hover);
    border-left: 3px solid var(--color-yellow);
    border-radius: 8px;
}

.rules-list {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: var(--spacing-md);
    margin-bottom: var(--spacing-lg);
}

.rules-list li {
    display: flex;
    align-items: flex-start;
    gap: var(--spacing-sm);
    color: var(--color-text-secondary);
    font-size: 0.9375rem;
    line-height: 1.6;
}

.rules-list li i {
    color: var(--color-status-active);
    margin-top: 0.25rem;
    flex-shrink: 0;
}

.rules-link {
    display: inline-flex;
    align-items: center;
    gap: var(--spacing-xs);
    color: var(--color-yellow);
    font-weight: 600;
    font-size: 0.9375rem;
    transition: var(--transition-base);
}

.rules-link:hover {
    gap: var(--spacing-sm);
}

/* ============================================
   Footer
   ============================================ */
.footer {
    background: var(--gradient-dark);
    border-top: 1px solid rgba(255, 235, 59, 0.2);
    padding: var(--spacing-xl) 0 var(--spacing-md);
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: var(--spacing-xl);
    margin-bottom: var(--spacing-xl);
}

.footer-logo {
    margin-bottom: var(--spacing-md);
}

.footer-logo img {
    width: 150px;
    height: auto;
    max-height: 50px;
    object-fit: contain;
    filter: drop-shadow(0 0 10px rgba(255, 235, 59, 0.2));
}

.footer-tagline {
    color: var(--color-text-secondary);
    font-size: 0.9375rem;
    font-style: italic;
}

.footer-title {
    font-size: 1.125rem;
    color: var(--color-yellow);
    margin-bottom: var(--spacing-md);
}

.footer-links {
    display: flex;
    flex-direction: column;
    gap: var(--spacing-sm);
}

.footer-links a {
    color: var(--color-text-secondary);
    font-size: 0.9375rem;
    transition: var(--transition-base);
}

.footer-links a:hover {
    color: var(--color-yellow);
    padding-left: var(--spacing-xs);
}

.footer-social {
    display: flex;
    gap: var(--spacing-sm);
    flex-wrap: wrap;
}

.footer-social a {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 235, 59, 0.1);
    border: 1px solid rgba(255, 235, 59, 0.3);
    border-radius: 50%;
    color: var(--color-yellow);
    transition: var(--transition-base);
}

.footer-social a:hover {
    background: var(--color-yellow);
    color: var(--color-charcoal);
    transform: translateY(-3px);
    box-shadow: var(--shadow-glow-yellow);
}

.footer-bottom {
    padding-top: var(--spacing-md);
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: var(--spacing-md);
    color: var(--color-text-secondary);
    font-size: 0.875rem;
}

.footer-legal {
    display: flex;
    align-items: center;
    gap: var(--spacing-sm);
}

.separator {
    color: var(--color-text-muted);
}

.footer-made {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.footer-made i {
    color: #FF0000;
}

/* ============================================
   Coming Soon Popup
   ============================================ */
.coming-soon-popup {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
}

.coming-soon-popup.active {
    opacity: 1;
    visibility: visible;
}

.coming-soon-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.8);
    backdrop-filter: blur(4px);
}

.coming-soon-popup-content {
    position: relative;
    background: linear-gradient(135deg, rgba(30, 37, 56, 0.98) 0%, rgba(21, 27, 42, 0.98) 100%);
    border: 2px solid rgba(255, 235, 59, 0.3);
    border-radius: 20px;
    padding: var(--spacing-xl);
    max-width: 400px;
    width: 90%;
    text-align: center;
    box-shadow:
        0 20px 60px rgba(0, 0, 0, 0.5),
        0 0 40px rgba(255, 235, 59, 0.2),
        inset 0 1px 0 rgba(255, 255, 255, 0.1);
    transform: scale(0.9) translateY(20px);
    transition: transform 0.3s ease;
    z-index: 10000;
}

.coming-soon-popup.active .coming-soon-popup-content {
    transform: scale(1) translateY(0);
}

.coming-soon-icon-wrapper {
    width: 80px;
    height: 80px;
    margin: 0 auto var(--spacing-md);
    background: linear-gradient(135deg, var(--color-yellow) 0%, #f59e0b 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow:
        0 8px 24px rgba(255, 235, 59, 0.4),
        inset 0 2px 0 rgba(255, 255, 255, 0.2);
}

.coming-soon-icon-wrapper i {
    font-size: 2.5rem;
    color: var(--color-charcoal);
}

.coming-soon-title {
    font-size: 1.75rem;
    font-weight: 700;
    color: var(--color-text-primary);
    margin-bottom: var(--spacing-sm);
    text-transform: uppercase;
    letter-spacing: 1px;
}

.coming-soon-message {
    font-size: 1rem;
    color: var(--color-text-secondary);
    line-height: 1.6;
    margin-bottom: var(--spacing-lg);
}

.coming-soon-close {
    position: absolute;
    top: var(--spacing-sm);
    right: var(--spacing-sm);
    width: 36px;
    height: 36px;
    border: none;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    color: var(--color-text-primary);
    font-size: 1.125rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition-base);
    backdrop-filter: blur(10px);
}

.coming-soon-close:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: rotate(90deg);
    color: var(--color-yellow);
}

@media (max-width: 768px) {
    .coming-soon-popup-content {
        padding: var(--spacing-lg);
        max-width: 90%;
    }

    .coming-soon-icon-wrapper {
        width: 70px;
        height: 70px;
        margin-bottom: var(--spacing-sm);
    }

    .coming-soon-icon-wrapper i {
        font-size: 2rem;
    }

    .coming-soon-title {
        font-size: 1.5rem;
    }

    .coming-soon-message {
        font-size: 0.9375rem;
    }
}

/* ============================================
   Back to Top Button
   ============================================ */
.back-to-top {
    position: fixed;
    bottom: var(--spacing-lg);
    right: var(--spacing-sm);
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--gradient-primary);
    border-radius: 50%;
    color: var(--color-charcoal);
    z-index: 998;
    font-size: 1.25rem;
    box-shadow: var(--shadow-glow-yellow);
    opacity: 0;
    visibility: hidden;
    transition: var(--transition-base);
    z-index: 999;
}

.back-to-top.visible {
    opacity: 1;
    visibility: visible;
}

.back-to-top:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-glow-yellow-strong);
}

/* ============================================
   Responsive Design
   ============================================ */
@media (max-width: 1024px) {
    .about-wrapper-redesigned {
        grid-template-columns: 1fr;
        gap: var(--spacing-md);
    }

    .about-title-row {
        flex-direction: row;
        align-items: center;
        gap: var(--spacing-sm);
    }

    .about-logo-inline {
        height: 50px;
    }

    .about-main-title {
        font-size: 1.5rem;
    }

    .faqs-wrapper {
        grid-template-columns: 1fr;
    }

    .rules-column {
        position: static;
    }
}

@media (max-width: 768px) {
    :root {
        --spacing-xl: 3rem;
        --spacing-xxl: 4rem;
    }

    .header {
        height: 80px;
    }

    .logo-img {
        height: 75px;
    }

    .nav-wrapper {
        gap: var(--spacing-sm);
        justify-content: space-between;
        align-items: center;
        width: 100%;
    }

    .logo {
        flex: 0 0 auto;
        display: flex;
        align-items: center;
        justify-content: flex-start;
        margin-right: auto;
    }

    .nav-menu {
        position: fixed;
        top: 80px;
        left: -100%;
        width: 100%;
        height: calc(100vh - 80px);
        background: var(--color-bg-dark);
        flex-direction: column;
        align-items: center;
        justify-content: flex-start;
        padding: var(--spacing-md) var(--spacing-md);
        gap: 0;
        transition: var(--transition-base);
        border-top: 1px solid rgba(255, 235, 59, 0.2);
        overflow-y: auto;
    }

    .nav-menu::before {
        content: '';
        display: block;
        width: 100%;
        padding-top: var(--spacing-md);
    }

    .nav-menu::after {
        content: '';
        display: block;
        width: 100%;
        padding-bottom: var(--spacing-md);
    }

    .nav-menu.active {
        left: 0;
    }

    .nav-logo-mobile {
        display: flex !important;
        justify-content: center;
        align-items: center;
        width: 100%;
        padding: var(--spacing-md) 0;
        margin-bottom: var(--spacing-sm);
        border-bottom: 1px solid rgba(255, 235, 59, 0.1);
        list-style: none;
    }

    .nav-logo-mobile a {
        display: flex;
        justify-content: center;
        align-items: center;
    }

    .nav-menu .logo-img {
        height: 90px;
    }

    .nav-item {
        width: 100%;
        display: flex;
        justify-content: center;
        align-items: center;
        padding: var(--spacing-sm) 0;
    }

    .nav-link {
        font-size: 1.125rem;
        padding: var(--spacing-sm) var(--spacing-md);
        width: 100%;
        text-align: center;
        display: block;
    }

    .nav-actions {
        flex: 0 0 auto;
        display: flex;
        align-items: center;
        justify-content: flex-end;
        gap: var(--spacing-xs);
        margin-left: auto;
    }

    .nav-actions .btn {
        display: none;
    }

    .nav-toggle {
        display: flex;
        align-items: center;
        justify-content: center;
        width: 32px;
        height: 32px;
        margin-left: auto;
    }

    .nav-toggle.active span:nth-child(1) {
        transform: rotate(45deg) translate(5px, 5px);
    }

    .nav-toggle.active span:nth-child(2) {
        opacity: 0;
    }

    .nav-toggle.active span:nth-child(3) {
        transform: rotate(-45deg) translate(7px, -6px);
    }

    .hero {
        padding-top: 120px;
    }

    .hero-wrapper {
        grid-template-columns: 1fr;
        gap: var(--spacing-lg);
    }

    .hero-content {
        text-align: center;
        align-items: center;
        order: 1;
    }

    .hero-video {
        order: 2;
    }

    .video-wrapper {
        max-width: 100%;
        aspect-ratio: 9 / 16;
    }

    .hero-actions {
        flex-direction: column;
        width: 100%;
        justify-content: center;
    }

    .hero-actions .btn {
        width: 100%;
        justify-content: center;
    }

    .hero-description {
        text-align: center;
        max-width: 100%;
    }

    .banner-row-main {
        flex-direction: column;
        align-items: stretch;
        gap: var(--spacing-sm);
        padding: var(--spacing-md);
        padding-top: calc(var(--spacing-md) + 2.5rem);
    }

    .live-indicator {
        position: absolute;
        top: var(--spacing-sm);
        left: var(--spacing-sm);
        font-size: 0.7rem;
        padding: 0.4rem 0.8rem;
        align-self: flex-start;
    }

    .phase-title-row {
        flex-direction: row;
        align-items: center;
        justify-content: flex-start;
        width: 100%;
        margin-top: var(--spacing-xs);
    }

    .phase-icon-small {
        width: 45px;
        height: 45px;
        font-size: 1.25rem;
        flex-shrink: 0;
    }

    .phase-info-inline {
        min-width: auto;
        text-align: left;
        width: auto;
        flex: 1;
    }

    .phase-title-inline {
        font-size: 1.125rem;
        text-align: left;
    }

    .phase-date-inline {
        font-size: 0.8125rem;
        text-align: left;
    }

    .countdown-inline {
        min-width: auto;
        width: 100%;
        justify-content: center;
        padding: var(--spacing-sm);
        gap: 0.25rem;
        flex-wrap: wrap;
    }
    
    .countdown-inline .countdown-value {
        font-size: 1.25rem;
        min-width: 24px;
    }
    
    .countdown-inline .countdown-label {
        font-size: 0.5625rem;
    }
    
    .countdown-inline .countdown-separator {
        font-size: 1rem;
        margin: 0 0.1rem;
    }

    .countdown-num-inline {
        font-size: 1.5rem;
        min-width: 28px;
    }

    .countdown-lbl-inline {
        font-size: 0.6875rem;
    }

    .countdown-sep-inline {
        font-size: 1.25rem;
        padding-bottom: 0.5rem;
    }

    .btn-vote-inline {
        width: 100%;
        justify-content: center;
        padding: 0.875rem 1.5rem;
        font-size: 0.875rem;
    }

    .banner-row-content {
        grid-template-columns: 1fr;
        gap: var(--spacing-md);
        padding: var(--spacing-md);
    }

    .content-description {
        padding-right: 0;
        border-right: none;
        border-bottom: 1px solid rgba(255, 235, 59, 0.2);
        padding-bottom: var(--spacing-md);
        margin-bottom: var(--spacing-md);
    }

    .description-heading {
        font-size: 1rem;
        text-align: left;
        margin-bottom: var(--spacing-xs);
    }

    .description-text {
        font-size: 0.875rem;
        text-align: left;
        line-height: 1.6;
    }

    .content-stats {
        flex-direction: row;
        gap: var(--spacing-xs);
        padding-left: 0;
        padding-top: 0;
        justify-content: space-between;
        flex-wrap: nowrap;
        align-items: stretch;
        width: 100%;
    }
    
    #city-voting .content-stats {
        padding-left: 0;
    }

    .stat-item {
        flex-direction: column;
        align-items: center;
        justify-content: flex-start;
        width: auto;
        flex: 1 1 0;
        padding: var(--spacing-xs);
        gap: var(--spacing-xs);
        text-align: center;
        min-width: 0;
    }
    
    .stat-item .stat-icon-circle {
        width: 40px;
        height: 40px;
        font-size: 1rem;
        flex-shrink: 0;
        margin-bottom: 0.25rem;
    }
    
    .stat-item .stat-data {
        display: flex;
        flex-direction: column;
        align-items: center;
        gap: 0.125rem;
        width: 100%;
    }
    
    .stat-item .stat-value {
        font-size: 1rem;
        line-height: 1.2;
        text-align: center;
    }
    
    .stat-item .stat-label {
        font-size: 0.625rem;
        text-align: center;
        line-height: 1.3;
        word-wrap: break-word;
    }

    .stat-icon-circle {
        width: 40px;
        height: 40px;
        font-size: 1.125rem;
        flex-shrink: 0;
    }

    .stat-data {
        text-align: left;
    }

    .stat-value {
        font-size: 1.25rem;
    }

    .stat-label {
        font-size: 0.75rem;
    }

    .timeline-container {
        max-width: 100%;
        padding: 0 var(--spacing-md);
    }

    .timeline-line {
        left: 30px;
        transform: none;
    }

    .timeline-item {
        flex-direction: row !important;
        margin-bottom: 0.5rem;
    }

    .timeline-marker {
        left: 30px;
        transform: translateX(-50%);
        width: 60px;
        height: 60px;
    }

    .active-marker {
        width: 70px;
        height: 70px;
    }

    .final-marker {
        width: 70px;
        height: 70px;
    }

    .marker-icon {
        font-size: 1.5rem;
    }

    .upcoming-marker .marker-icon,
    .tbd-marker .marker-icon {
        font-size: 1.25rem;
    }

    .timeline-content {
        max-width: 100%;
        margin-left: calc(30px + 40px) !important;
        margin-right: 0 !important;
        padding: var(--spacing-sm);
    }

    .timeline-title {
        font-size: 1.125rem;
    }

    .timeline-description {
        font-size: 0.875rem;
    }

    .timeline-cta {
        padding: 0.625rem 1.25rem;
        font-size: 0.8125rem;
    }

    .social-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: var(--spacing-xs);
    }

    .social-card {
        padding: var(--spacing-xs) var(--spacing-sm);
    }

    .social-icon {
        width: 40px;
        height: 40px;
        font-size: 1.5rem;
    }

    .social-label {
        font-size: 0.875rem;
    }

    .social-count {
        font-size: 0.6875rem;
    }

    .footer-bottom {
        flex-direction: column;
        text-align: center;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 var(--spacing-sm);
    }

    .section {
        padding: var(--spacing-xl) 0;
    }

    .logo-img {
        height: 60px;
    }

    .nav-wrapper {
        gap: var(--spacing-xs);
    }

    .nav-toggle {
        width: 28px;
        height: 28px;
    }

    .live-indicator {
        font-size: 0.65rem;
        padding: 0.375rem 0.75rem;
    }
    
    .banner-row-main {
        padding: var(--spacing-sm);
        padding-top: calc(var(--spacing-sm) + 2rem);
        gap: var(--spacing-sm);
    }

    .phase-icon-small {
        width: 40px;
        height: 40px;
        font-size: 1.25rem;
    }
    
    .phase-title-inline {
        font-size: 1rem;
    }
    
    .phase-date-inline {
        font-size: 0.75rem;
    }
    
    .countdown-inline .countdown-value {
        font-size: 1.125rem;
        min-width: 20px;
    }
    
    .countdown-inline .countdown-label {
        font-size: 0.5rem;
    }
    
    .countdown-inline .countdown-separator {
        font-size: 0.875rem;
    }
    
    .banner-row-content {
        padding: var(--spacing-sm);
        gap: var(--spacing-sm);
    }
    
    .content-description {
        padding-bottom: var(--spacing-sm);
        margin-bottom: var(--spacing-sm);
    }
    
    .description-heading {
        font-size: 0.9375rem;
    }
    
    .description-text {
        font-size: 0.8125rem;
    }
    
    .content-stats {
        gap: 0.5rem;
        padding-top: var(--spacing-xs);
        padding-left: 0;
    }
    
    #city-voting .content-stats {
        padding-left: 0;
    }
    
    .stat-item {
        padding: var(--spacing-xs) 0.25rem;
        gap: 0.375rem;
    }
    
    .stat-item .stat-icon-circle {
        width: 32px;
        height: 32px;
        font-size: 0.8125rem;
    }
    
    .stat-item .stat-value {
        font-size: 0.875rem;
    }
    
    .stat-item .stat-label {
        font-size: 0.5625rem;
    }

    .phase-title-compact {
        font-size: 1rem;
    }

    .countdown-num {
        font-size: 1rem;
        min-width: 20px;
    }

    .countdown-sep {
        font-size: 0.875rem;
    }

    .btn-vote-now {
        padding: 0.625rem 1.25rem;
        font-size: 0.875rem;
    }

    .stat-mini {
        padding: 0.375rem 0.625rem;
    }

    .stat-icon-mini {
        width: 28px;
        height: 28px;
        font-size: 0.75rem;
    }

    .stat-mini-value {
        font-size: 0.875rem;
    }

    .stat-number-large {
        font-size: 3rem;
    }

    .social-grid {
        grid-template-columns: 1fr;
        gap: var(--spacing-xs);
    }

    .social-card {
        padding: var(--spacing-xs) var(--spacing-sm);
    }

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

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

    .footer-logo img {
        margin: 0 auto;
    }
}

/* ============================================
   Mobile Bottom Navigation
   ============================================ */
.mobile-bottom-nav {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    width: 100%;
    background: rgba(15, 20, 25, 0.98);
    backdrop-filter: blur(10px);
    border-top: 1px solid rgba(255, 235, 59, 0.2);
    display: none;
    z-index: 999;
    box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.3);
    padding: 0.5rem 0;
}

.bottom-nav-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 0.25rem;
    padding: 0.5rem 0.75rem;
    color: rgba(255, 255, 255, 0.6);
    text-decoration: none;
    transition: var(--transition-base);
    flex: 1;
    min-width: 0;
    position: relative;
}

.bottom-nav-item i {
    font-size: 1.25rem;
    transition: var(--transition-base);
}

.bottom-nav-item span {
    font-size: 0.6875rem;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    white-space: nowrap;
}

.bottom-nav-item:hover,
.bottom-nav-item.active {
    color: var(--color-yellow);
}

.bottom-nav-item.active::before {
    content: '';
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 40px;
    height: 3px;
    background: var(--color-yellow);
    border-radius: 0 0 4px 4px;
}

.bottom-nav-item.active i {
    transform: scale(1.1);
}

/* Show bottom nav on mobile */
@media (max-width: 768px) {
    body {
        padding-bottom: 70px;
    }

    .mobile-bottom-nav {
        display: flex;
        justify-content: space-around;
        align-items: center;
    }

    /* Additional responsive fixes */
    .hero-wrapper {
        gap: var(--spacing-md);
    }

    .about-wrapper-redesigned {
        gap: var(--spacing-md);
    }

    .timeline-container {
        padding: 0 var(--spacing-sm);
    }

    .social-grid {
        gap: var(--spacing-xs);
    }

    .franchises-coming-soon {
        padding: var(--spacing-md);
    }

    .section-header {
        margin-bottom: var(--spacing-md);
    }

    .container {
        padding: 0 var(--spacing-sm);
    }

    .back-to-top {
        bottom: 90px;
        right: var(--spacing-xs);
    }
}

@media (min-width: 769px) {
    .mobile-bottom-nav {
        display: none !important;
    }

    body {
        padding-bottom: 0;
    }
}

/* ============================================
   Animations
   ============================================ */
@keyframes slideInLeft {
    from {
        opacity: 0;
        transform: translateX(-40px);
    }

    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes slideInRight {
    from {
        opacity: 0;
        transform: translateX(40px);
    }

    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes scalePop {
    from {
        opacity: 0;
        transform: scale(0.8);
    }

    to {
        opacity: 1;
        transform: scale(1);
    }
}

/* Scroll Animation Classes */
.animate-on-scroll {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.animate-on-scroll.visible {
    opacity: 1;
    transform: translateY(0);
}

/* ============================================
   Performance Optimizations
   ============================================ */
@media (prefers-reduced-motion: reduce) {

    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
}

/* Print styles */
@media print {

    .header,
    .back-to-top,
    .nav-actions {
        display: none;
    }
}

/* Force ended state red theme (highest priority) */
.timeline-item.phase-ended .timeline-badge.ended-badge {
    background-color: #FF4C4C !important;
    color: #fff !important;
}

.timeline-item.phase-ended .timeline-cta {
    background-color: #FF4C4C !important;
    border-color: #FF4C4C !important;
}

.timeline-item.phase-ended .timeline-marker {
    background-color: #FF4C4C !important;
    box-shadow: 0 0 20px rgba(255, 20, 20, 0.6) !important;
}
/* ============================================
   Hero Section
   ============================================ */
.heros-video {
    position: relative;
    width: 100%;
    min-height: 100vh;
    overflow: hidden;
    background: #000;
}

/* Video fills screen, cinematic crop */
.heros-video video {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transform: translate(-50%, -50%);
    filter: brightness(0.85) contrast(1.1) saturate(1.1);
}

/* Dark cinematic overlay */
.hero-overlay {
    position: absolute;
    inset: 0;
    background:
        radial-gradient(circle at center, rgba(0,0,0,0.2), rgba(0,0,0,0.8)),
        linear-gradient(to bottom, rgba(0,0,0,0.3), #0b0e13);
    z-index: 1;
}

/* Text content */
.hero-content {
    position: relative;
    z-index: 2;
    min-height: 100vh;
    max-width: 900px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 110px 24px 60px 24px;
    color: #fff;
    box-sizing: border-box;
    text-align: center;
}

.hero-content h1 {
    font-family: 'Montserrat', sans-serif;
    font-weight: 900;
    font-size: clamp(42px, 7.5vw, 84px);
    line-height: 1.1;
    text-align: center;
    width: 100%;
    margin: 2rem 0 0.25rem 0;
}

.hero-content h1 span {
    color: #f5c400;
}

.hero-tagline {
    margin-top: 16px;
    font-size: 18px;
    opacity: 0.9;
}

.btn-hero {
    margin-top: 1rem;
    margin-bottom: 1rem;
    display: inline-flex;
    align-items: center;
    padding: 14px 28px;
    background: #f5c400;
    color: #000;
    font-weight: 700;
    border-radius: 999px;
    text-decoration: none;
    width: fit-content;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.btn-hero:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 30px rgba(245,196,0,0.4);
}

/* Responsive adjustments for hero section */
@media (max-width: 768px) {
    .heros-video {
        min-height: 100vh;
    }
    
    .hero-content {
        padding: 120px 20px 40px 20px;
        justify-content: flex-start;
    }
    
    .hero-content h1 {
        font-size: clamp(32px, 8vw, 56px);
        margin-top: 1.5rem;
        margin-bottom: 0.25rem;
    }
    
    .hero-content h2.hero-subtitle {
        font-size: 1rem !important;
        margin-top: 0.25rem !important;
        margin-bottom: 0.25rem !important;
        line-height: 1.3;
    }
    
    .hero-content .hero-description {
        font-size: 0.95rem !important;
        line-height: 1.5 !important;
        margin-top: 0.5rem !important;
        margin-bottom: 1rem !important;
    }
    
    .btn-hero {
        margin-top: 0.75rem !important;
        margin-bottom: 0.75rem !important;
        padding: 12px 24px;
        font-size: 0.9rem;
    }
}

.franchises {
    padding: 80px 0;
    background: #0b0e13;
}

.section-title {
    text-align: center;
    color: #fff;
    font-family: 'Montserrat', sans-serif;
    font-weight: 800;
    letter-spacing: 2px;
    margin-bottom: 48px;
}

.franchise-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 280px));
    gap: 24px;
    justify-content: center;
    justify-items: stretch;
}

/* Mobile: Full width franchise cards */
@media (max-width: 768px) {
    .franchise-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .franchise-tile {
        width: 100%;
        max-width: 100%;
    }
}

.franchise-card {
    background: linear-gradient(145deg, #151a24, #0e121a);
    border: 1px solid rgba(255,255,255,0.08);
    border-radius: 14px;
    padding: 28px;
    text-align: center;
    text-decoration: none;
    color: #fff;
    transition: all 0.25s ease;
    position: relative;
}

.franchise-card:hover {
    transform: translateY(-6px);
    border-color: #f5c400;
    box-shadow: 0 10px 30px rgba(0,0,0,0.4);
}

.city-name {
    display: block;
    font-size: 20px;
    font-weight: 700;
    margin-bottom: 8px;
}

.seed {
    font-size: 14px;
    color: #f5c400;
    font-weight: 600;
}

#franchise {
    scroll-margin-top: 90px; /* adjust to navbar height */
}

.franchise-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 28px;
}

/* Whole card */
.franchise-tile {
    background: #1a1f2e;
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 16px;
    overflow: hidden;
    text-decoration: none;
    color: #fff;
    transition: transform 0.25s ease, box-shadow 0.25s ease;
    width: 100%;
    max-width: 100%;
}

.franchise-tile:hover {
    transform: translateY(-6px);
    box-shadow: 0 14px 36px rgba(0,0,0,0.45);
    background: #1f2535;
    border-color: rgba(255, 255, 255, 0.15);
}

/* Top curved area */
.franchise-top {
    height: 150px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-bottom-left-radius: 120% 40%;
    border-bottom-right-radius: 120% 40%;
}

/* Logo */
.franchise-logo {
    max-height: 80px;
    max-width: 80%;
    object-fit: contain;
    filter: drop-shadow(0 6px 10px rgba(0,0,0,0.4));
}

/* Bottom text area */
.franchise-bottom {
    padding: 22px;
    text-align: center;
}

.franchise-name {
    font-family: 'Montserrat', sans-serif;
    font-weight: 700;
    font-size: 18px;
    text-align: center;
}

.franchise-name strong {
    font-weight: 900;
    color: #f5c400;
}

.bg-blue {
    background: #1e4fd8;
}

.bg-yellow {
    background: #f5c400;
}

.bg-red {
    background: #c0392b;
}

.bg-purple {
    background: #5b2c83;
}

.bg-green {
    background: #1abc9c;
}

.bg-orange {
    background: #e67e22;
}
.bg-royal-blue {
    background: #4169E1;
}

.bg-gray {
    background: #7f8c8d;
}

.bg-d-green {
    background: #043d11;
}

.bg-brown {
    background: #6b3611;
}

.team-slot-tabs{
  display:flex;
  gap:10px;
  justify-content:center;
  margin: 14px 0 18px;
  padding: 10px;
  border-radius: 14px;
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.12);
  backdrop-filter: blur(6px);
}

.team-slot-tabs .tab{
  appearance:none;
  border: 1px solid rgba(255,255,255,0.18);
  background: rgba(255,255,255,0.06);
  color: white;
  padding: 10px 14px;
  border-radius: 12px;
  font-weight: 700;
  letter-spacing: 0.2px;
  cursor:pointer;
  transition: transform .12s ease, background .12s ease, border-color .12s ease, box-shadow .12s ease;
}

.team-slot-tabs .tab:hover{
  transform: translateY(-1px);
  background: rgba(255,255,255,0.10);
  border-color: rgba(255,255,255,0.28);
}

.team-slot-tabs .tab.active{
  background: linear-gradient(135deg, #FFEB3B 0%, #FF9800 100%);
  color: #141018;
  border-color: rgba(0,0,0,0.25);
  box-shadow: 0 8px 20px rgba(0,0,0,0.25);
}

.team-slot-tabs .tab:focus{
  outline: none;
  box-shadow: 0 0 0 3px rgba(255,215,120,0.25);
}

.fixtures-list {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(269px, 1fr));
    gap: 1.25rem;
    margin-top: var(--spacing-lg);
}

.fixture-card {
    background: linear-gradient(135deg, rgba(20,10,35,0.95), rgba(35,15,55,0.9));
    border: 1px solid rgba(255,235,59,0.25);
    border-radius: 14px;
    padding: 1rem;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    box-shadow: 0 6px 18px rgba(0,0,0,0.35);
}

.fixture-teams {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-weight: 600;
    color: var(--color-text-primary);
}

.fixture-vs {
    color: var(--color-yellow);
    font-weight: 700;
}

.fixture-meta {
    text-align: right;
    font-size: 0.9rem;
    color: var(--color-text-secondary);
}

.fixture-date {
    font-weight: 600;
    color: var(--color-yellow);
}

.fixtures-group {
    margin-bottom: 2.5rem;
    margin-right: 45px;
}

.fixtures-group-title {
    text-align: left;
    font-size: 1.4rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: var(--color-yellow);
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* ===== Match Cards UI Upgrade ===== */
.city-cards-grid{
  display: grid;
  grid-template-columns: repeat(4, minmax(240px, 1fr));
  gap: 18px;
}

.match-card{
  background: radial-gradient(120% 120% at 20% 10%, rgba(255,255,255,0.08), rgba(0,0,0,0.2));
  border: 1px solid rgba(255, 215, 134, 0.35);
  border-radius: 18px;
  padding: 16px 16px 14px;
  box-shadow: 0 10px 30px rgba(0,0,0,0.25);
  backdrop-filter: blur(8px);
}

.match-card.urgent{
  border-color: rgba(255, 215, 134, 0.75);
  box-shadow: 0 12px 34px rgba(255, 215, 134, 0.08), 0 10px 30px rgba(0,0,0,0.25);
}

.match-top{
  display:flex;
  align-items:flex-start;
  justify-content:space-between;
  gap:12px;
}

.match-title{
  font-size: 30px;
  font-weight: 900;
  letter-spacing: 0.5px;
  line-height: 1.05;
  color: #fff;
}

.match-title .vs{
  font-weight: 800;
  opacity: 0.7;
  margin: 0 6px;
}

.deadline-badge{
  display:flex;
  align-items:center;
  gap:8px;
  padding: 6px 10px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 800;
  color: rgba(255,255,255,0.92);
  background: rgba(0,0,0,0.28);
  border: 1px solid rgba(255,255,255,0.12);
  white-space: nowrap;
}

.match-card.urgent .deadline-badge{
  background: rgba(255,215,134,0.16);
  border-color: rgba(255,215,134,0.35);
}

.match-meta{
  margin-top: 10px;
  color: rgba(255,255,255,0.9);
}

.meta-line{
  font-size: 14px;
  font-weight: 800;
  opacity: 0.95;
}

.meta-sub{
  margin-top: 3px;
  font-size: 13px;
  opacity: 0.75;
}

/* status chips */
.status-row{
  display:flex;
  gap:8px;
  flex-wrap: wrap;
  margin-top: 12px;
}

.status-chip{
  font-size: 12px;
  font-weight: 900;
  padding: 6px 10px;
  border-radius: 999px;
  border: 1px solid rgba(255,255,255,0.12);
  background: rgba(255,255,255,0.06);
  color: rgba(255,255,255,0.9);
}

.status-chip.pending{
  border-color: rgba(255,255,255,0.15);
  background: rgba(255,255,255,0.07);
}

.status-chip.saved{
  border-color: rgba(80, 255, 160, 0.35);
  background: rgba(80, 255, 160, 0.12);
}

/* actions */
.match-actions{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap: 12px;
  margin-top: 14px;
}

.match-actions .wide{
  flex: 1;
}

/* Responsive */
@media (max-width: 1100px){
  .city-cards-grid{ grid-template-columns: repeat(2, minmax(240px, 1fr)); }
}
@media (max-width: 640px){
  .city-cards-grid{ grid-template-columns: 1fr; }
  .match-title{ font-size: 28px; }
}

/* ===========================
   SET LINEUP – UI UPGRADE
   =========================== */

.section-card {
  background: radial-gradient(120% 120% at 20% 10%, rgba(255,255,255,0.08), rgba(0,0,0,0.22));
  border: 1px solid rgba(255, 215, 134, 0.22);
  border-radius: 18px;
  padding: 18px;
  box-shadow: 0 14px 40px rgba(0,0,0,0.25);
  backdrop-filter: blur(10px);
}

.hpl-block { margin-top: 18px; }
.hpl-block-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 10px;
}
.hpl-block-head h3 {
  margin: 0;
  font-size: 20px;
  font-weight: 900;
  letter-spacing: 0.2px;
}
.hpl-block-head .muted {
  margin: 0;
  opacity: 0.7;
}

/* ===== Tabs: Team A/B/C ===== */
.team-slot-tabs{
  display:flex;
  gap:10px;
  justify-content:center;
  margin: 12px 0 18px;
  padding: 10px;
  border-radius: 14px;
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.08);
}

.team-slot-tabs .tab{
  position: relative;
  appearance: none;
  border: 1px solid rgba(255,255,255,0.10);
  background: rgba(0,0,0,0.22);
  color: rgba(255,255,255,0.86);
  padding: 10px 16px;
  border-radius: 999px;
  font-weight: 900;
  letter-spacing: 0.2px;
  cursor: pointer;
  transition: transform .12s ease, background .12s ease, border-color .12s ease;
  min-width: 92px;
}

.team-slot-tabs .tab:hover{
  transform: translateY(-1px);
  border-color: rgba(255,255,255,0.18);
  background: rgba(255,255,255,0.06);
}

.team-slot-tabs .tab.active{
  background: linear-gradient(180deg, rgba(255,215,134,1), rgba(255,193,71,1));
  border-color: rgba(255,215,134,0.9);
  color: rgba(26, 15, 0, 0.95);
  box-shadow: 0 8px 20px rgba(255, 200, 80, 0.25);
}

.team-slot-tabs .tab.active::after{
  content:"";
  position:absolute;
  left: 50%;
  transform: translateX(-50%);
  bottom: -10px;
  width: 10px;
  height: 10px;
  border-radius: 999px;
  background: rgba(255,215,134,0.95);
  box-shadow: 0 6px 16px rgba(255,215,134,0.25);
}

/* ===== Grid two columns ===== */
.grid-two{
  display:grid;
  grid-template-columns: 1.5fr 0.9fr;
  gap: 16px;
  align-items: start;
}
@media(max-width: 980px){
  .grid-two{ grid-template-columns: 1fr; }
}

/* ===== Counter chips ===== */
.counter-row{
  display:flex;
  gap:10px;
  flex-wrap: wrap;
  margin: 12px 0 12px;
}
.counter-row span{
  display:inline-flex;
  align-items:center;
  gap:8px;
  padding: 8px 12px;
  border-radius: 999px;
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.10);
  font-weight: 900;
  letter-spacing: 0.2px;
  color: rgba(255,255,255,0.90);
}

/* ===== Players list ===== */
.players-list{
  border-radius: 14px;
  overflow: hidden;
  border: 1px solid rgba(255,255,255,0.08);
  background: rgba(0,0,0,0.18);
}

/* each row becomes a nice card row */
.player-row{
  display:flex;
  align-items:center;
  gap: 12px;
  padding: 12px 14px;
  border-bottom: 1px solid rgba(255,255,255,0.08);
  cursor: pointer;
  transition: background .12s ease, transform .12s ease;
}
.player-row:last-child{ border-bottom: none; }
.player-row:hover{
  background: rgba(255,255,255,0.06);
}

/* Name + role */
.player-name{
  flex: 1;
  font-weight: 800;
  color: rgba(255,255,255,0.92);
  line-height: 1.2;
}
.player-role{
  width: 110px;
  text-align: right;
  font-weight: 900;
  letter-spacing: 0.3px;
  opacity: 0.85;
}

/* ===== Custom checkbox (removes tiny square look) ===== */
.player-row input[type="checkbox"]{
  appearance: none;
  -webkit-appearance: none;
  width: 18px;
  height: 18px;
  border-radius: 6px;
  border: 2px solid rgba(255,255,255,0.22);
  background: rgba(0,0,0,0.25);
  display: grid;
  place-items: center;
  margin: 0;
  flex: 0 0 auto;
  cursor: pointer;
  transition: background .12s ease, border-color .12s ease, transform .12s ease;
}

.player-row input[type="checkbox"]::after{
  content: "";
  width: 10px;
  height: 10px;
  transform: scale(0);
  transition: transform .12s ease;
  border-radius: 3px;
  background: rgba(255, 215, 134, 1);
}

.player-row input[type="checkbox"]:checked{
  border-color: rgba(255, 215, 134, 0.9);
  background: rgba(255, 215, 134, 0.15);
}
.player-row input[type="checkbox"]:checked::after{
  transform: scale(1);
}

/* Disabled row style */
.player-row.is-disabled{
  opacity: 0.45;
  pointer-events: none;
}
.player-row.is-disabled input[type="checkbox"]{
  border-color: rgba(255,255,255,0.10);
  background: rgba(0,0,0,0.18);
}

/* ===== Coach card ===== */
.select{
  width: 100%;
  margin-top: 10px;
  padding: 12px 12px;
  border-radius: 12px;
  background: rgba(0,0,0,0.25);
  border: 1px solid rgba(255,255,255,0.12);
  color: rgba(255,255,255,0.92);
  font-weight: 800;
}
.select:focus{
  outline: none;
  border-color: rgba(255,215,134,0.55);
  box-shadow: 0 0 0 3px rgba(255,215,134,0.12);
}

.actions{
  display:flex;
  gap: 10px;
  margin-top: 12px;
}
.actions .btn{
  flex: 1;
}

/* make the right side feel like a sticky action panel on desktop */
@media(min-width: 981px){
  .grid-two > div:last-child{
    position: sticky;
    top: 90px;
    background: rgba(255,255,255,0.03);
    border: 1px solid rgba(255,255,255,0.08);
    border-radius: 14px;
    padding: 14px;
  }
}

/* ===== Overview grid nicer ===== */
.teams-overview-grid{
  display:grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
}
@media(max-width: 980px){
  .teams-overview-grid{ grid-template-columns: 1fr; }
}
.team-col{
  background: rgba(0,0,0,0.18);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 14px;
  padding: 12px;
}
.team-col-head{
  display:flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 10px;
}
.team-col-head h4{
  margin:0;
  font-size: 16px;
  font-weight: 900;
}
.team-col-meta{ opacity: 0.75; font-weight: 800; }
.team-col-body{ min-height: 72px; }

.pill{
  display:inline-flex;
  align-items:center;
  max-width: 100%;
  padding: 5px 10px;
  border-radius: 999px;
  font-size: 12px;
  margin: 6px 8px 0 0;
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.10);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

/* ===== Alert nicer ===== */
.city-selection-alert{
  padding: 10px 12px;
  border-radius: 12px;
  border: 1px solid rgba(255, 99, 99, 0.25);
  background: rgba(255, 99, 99, 0.08);
  color: rgba(255,255,255,0.92);
  font-weight: 800;
}

/* ===== Buttons visual polish ===== */
.btn.btn-primary{
  border-radius: 12px;
  font-weight: 900;
  letter-spacing: 0.2px;
}
.btn.btn-secondary{
  border-radius: 12px;
  font-weight: 900;
}

/* Base alert */
#formAlert.alert{
  padding: 12px 14px;
  border-radius: 10px;
  font-weight: 600;
  margin-top: 10px;
  align-items: center;
  gap: 8px;
}

/* Success */
#formAlert.alert.alert-success{
  background: rgba(46, 204, 113, 0.18) !important;
  border: 1px solid rgba(46, 204, 113, 0.7) !important;
  color: #2ecc71 !important;
}

#formAlert.alert.alert-success i{
  color: #2ecc71 !important;
  font-size: 16px;
}

/* Error */
#formAlert.alert.alert-error{
  background: rgba(231, 76, 60, 0.18) !important;
  border: 1px solid rgba(231, 76, 60, 0.7) !important;
  color: #ff6b6b !important;
}

#formAlert.alert.alert-error i{
  color: #ff6b6b !important;
  font-size: 16px;
}

