/* ========================================
   CSS Reset & Base Styles
   ======================================== */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    /* Colors - Dark Theme */
    --primary-color: #3b82f6;
    --primary-dark: #2563eb;
    --primary-light: #60a5fa;
    --secondary-color: #10b981;
    --accent-color: #f59e0b;
    --danger-color: #ef4444;
    --success-color: #10b981;
    --warning-color: #f59e0b;
    
    /* Neutrals - Dark Theme */
    --dark: #111827;
    --gray-dark: #1f2937;
    --gray: #9ca3af;
    --gray-light: #374151;
    --gray-lighter: #1f2937;
    --white: #f9fafb;
    --bg-primary: #0f172a;
    --bg-secondary: #1e293b;
    --bg-card: #1e293b;
    --text-primary: #f1f5f9;
    --text-secondary: #cbd5e1;
    --border-color: #334155;
    
    /* Gradients */
    --gradient-primary: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    --gradient-success: linear-gradient(135deg, #10b981 0%, #059669 100%);
    
    /* Spacing */
    --spacing-xs: 0.5rem;
    --spacing-sm: 1rem;
    --spacing-md: 1.5rem;
    --spacing-lg: 2rem;
    --spacing-xl: 3rem;
    
    /* Typography */
    --font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    --font-size-xs: 0.75rem;
    --font-size-sm: 0.875rem;
    --font-size-base: 1rem;
    --font-size-lg: 1.125rem;
    --font-size-xl: 1.25rem;
    --font-size-2xl: 1.5rem;
    --font-size-3xl: 1.875rem;
    --font-size-4xl: 2.25rem;
    
    /* Borders */
    --border-radius: 0.5rem;
    --border-radius-lg: 1rem;
    --border-radius-full: 9999px;
    
    /* Shadows - Darker for dark theme */
    --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.3);
    --shadow: 0 1px 3px 0 rgba(0, 0, 0, 0.4), 0 1px 2px 0 rgba(0, 0, 0, 0.3);
    --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.4), 0 2px 4px -1px rgba(0, 0, 0, 0.3);
    --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.5), 0 4px 6px -2px rgba(0, 0, 0, 0.3);
    --shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.6), 0 10px 10px -5px rgba(0, 0, 0, 0.4);
    
    /* Transitions */
    --transition: all 0.3s ease;
}

body {
    font-family: var(--font-family);
    font-size: var(--font-size-base);
    line-height: 1.6;
    color: var(--text-primary);
    background-color: var(--bg-primary);
    min-height: 100vh;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 var(--spacing-md);
}

/* ========================================
   Header & Navigation
   ======================================== */

.header {
    background: var(--bg-secondary);
    box-shadow: var(--shadow);
    position: sticky;
    top: 0;
    z-index: 100;
    border-bottom: 1px solid var(--border-color);
}

.header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: var(--spacing-sm) var(--spacing-md);
    position: relative;
}

.logo h1 {
    font-size: var(--font-size-xl);
    color: var(--primary-color);
    font-weight: 700;
}

.logo a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition);
    display: inline-block;
}

.logo a:hover h1 {
    color: var(--primary-light);
    transform: scale(1.02);
}

/* Hamburger Menu Button */
.hamburger {
    display: none;
    flex-direction: column;
    justify-content: space-between;
    width: 30px;
    height: 24px;
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 0;
    z-index: 200;
    position: relative;
}

.hamburger span {
    width: 100%;
    height: 3px;
    background-color: var(--primary-color);
    border-radius: 3px;
    transition: all 0.3s ease;
}

.hamburger.active span:nth-child(1) {
    transform: translateY(10.5px) rotate(45deg);
}

.hamburger.active span:nth-child(2) {
    opacity: 0;
}

.hamburger.active span:nth-child(3) {
    transform: translateY(-10.5px) rotate(-45deg);
}

.nav {
    display: flex;
    gap: var(--spacing-md);
}

.nav-link {
    text-decoration: none;
    color: var(--text-secondary);
    font-weight: 500;
    padding: var(--spacing-xs) var(--spacing-sm);
    border-radius: var(--border-radius);
    transition: var(--transition);
}

.nav-link:hover {
    color: var(--primary-light);
    background-color: var(--gray-light);
}

.nav-link.active {
    color: var(--primary-light);
    background-color: var(--gray-light);
}

/* ========================================
   Hero Section
   ======================================== */

.hero {
    background: var(--gradient-primary);
    color: var(--white);
    padding: 0 0 var(--spacing-xl) 0;
    text-align: center;
}

.hero-image {
    width: 100%;
    max-width: 100%;
    height: auto;
    display: block;
    margin: 0 0 var(--spacing-lg) 0;
}

.hero-content {
    padding: 0 var(--spacing-md);
}

.hero-title {
    font-size: var(--font-size-4xl);
    font-weight: 800;
    margin-bottom: var(--spacing-md);
    line-height: 1.2;
}

.hero-subtitle {
    font-size: var(--font-size-lg);
    margin-bottom: var(--spacing-lg);
    opacity: 0.95;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

/* Stylish Hero Promo Text */
.hero-promo {
    font-size: 1.25rem;
    line-height: 1.6;
    font-weight: 500;
    letter-spacing: 0.3px;
}

.promo-highlight {
    display: inline-block;
    background: linear-gradient(135deg, rgba(59, 130, 246, 0.2) 0%, rgba(139, 92, 246, 0.15) 100%);
    padding: 0.25rem 0.75rem;
    border-radius: 0.5rem;
    font-weight: 700;
    color: var(--text-primary);
    box-shadow: 0 2px 8px rgba(59, 130, 246, 0.15);
    margin-bottom: 0.5rem;
}

.promo-prize {
    display: inline-block;
    background: linear-gradient(135deg, #fbbf24 0%, #f59e0b 50%, #d97706 100%);
    color: #1f2937;
    padding: 0.3rem 0.9rem;
    border-radius: 0.5rem;
    font-weight: 900;
    font-size: 1.4rem;
    letter-spacing: 0.5px;
    box-shadow: 0 4px 12px rgba(251, 191, 36, 0.4), 0 0 20px rgba(251, 191, 36, 0.2);
    border: 2px solid rgba(255, 255, 255, 0.3);
    animation: prizeGlow 2s ease-in-out infinite;
}

@keyframes prizeGlow {
    0%, 100% {
        box-shadow: 0 4px 12px rgba(251, 191, 36, 0.4), 0 0 20px rgba(251, 191, 36, 0.2);
    }
    50% {
        box-shadow: 0 6px 16px rgba(251, 191, 36, 0.6), 0 0 30px rgba(251, 191, 36, 0.4);
    }
}

.hero-stats {
    font-size: var(--font-size-4xl);
    font-weight: 800;
    margin-bottom: var(--spacing-md);
    line-height: 1.2;
}

.hero-subtitle {
    font-size: var(--font-size-lg);
    margin-bottom: var(--spacing-lg);
    opacity: 0.95;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

.hero-stats {
    display: flex;
    justify-content: center;
    gap: var(--spacing-lg);
    margin: var(--spacing-xl) 0;
    flex-wrap: wrap;
}

.stat-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    background: linear-gradient(135deg, rgba(30, 41, 59, 0.8) 0%, rgba(30, 41, 59, 0.6) 100%);
    backdrop-filter: blur(10px);
    border: 2px solid rgba(96, 165, 250, 0.4);
    border-radius: var(--border-radius-lg);
    padding: var(--spacing-md) var(--spacing-lg);
    min-width: 140px;
    position: relative;
    overflow: hidden;
    transition: all 0.4s ease;
    box-shadow: 0 4px 15px rgba(59, 130, 246, 0.3), inset 0 1px 0 rgba(255, 255, 255, 0.1);
}

.stat-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.1), transparent);
    transition: left 0.6s ease;
}

.stat-item:hover {
    transform: translateY(-5px) scale(1.05);
    border-color: rgba(96, 165, 250, 0.8);
    box-shadow: 0 8px 25px rgba(59, 130, 246, 0.5), 0 0 30px rgba(59, 130, 246, 0.3);
    background: linear-gradient(135deg, rgba(30, 41, 59, 0.9) 0%, rgba(30, 41, 59, 0.7) 100%);
}

.stat-item:hover::before {
    left: 100%;
}

.stat-number {
    font-size: 2.5rem;
    font-weight: 800;
    color: #fff;
    background: linear-gradient(135deg, #60a5fa 0%, #c084fc 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: var(--spacing-xs);
    animation: numberPulse 2s ease-in-out infinite;
    text-shadow: 0 2px 10px rgba(96, 165, 250, 0.5);
    filter: drop-shadow(0 0 8px rgba(96, 165, 250, 0.6));
}

/* Fallback for browsers that don't support background-clip */
@supports not (background-clip: text) {
    .stat-number {
        color: #60a5fa;
        -webkit-text-fill-color: #60a5fa;
    }
}

.stat-label {
    font-size: var(--font-size-sm);
    opacity: 0.9;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-weight: 600;
    color: var(--text-secondary);
}

/* Number Pulse Animation */
@keyframes numberPulse {
    0%, 100% {
        transform: scale(1);
        filter: brightness(1);
    }
    50% {
        transform: scale(1.05);
        filter: brightness(1.2);
    }
}

/* ========================================
   Sections
   ======================================== */

.tournament-info,
.how-it-works,
.guess-section {
    padding: var(--spacing-xl) 0;
}

.section-header {
    text-align: center;
    margin-bottom: var(--spacing-xl);
}

.section-title {
    font-size: var(--font-size-3xl);
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: var(--spacing-sm);
}

.section-subtitle {
    font-size: var(--font-size-lg);
    color: var(--text-secondary);
}

/* ========================================
   Info Grid
   ======================================== */

/* Two Column Grid for Tournament Dates and Prizes */
.info-grid-two-column {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: var(--spacing-lg);
    margin-bottom: var(--spacing-lg);
}

/* Large Cards for Two Column Layout */
.info-card-large {
    background: var(--bg-card);
    padding: var(--spacing-lg);
    border-radius: var(--border-radius-lg);
    box-shadow: var(--shadow-md);
    text-align: center;
    transition: var(--transition);
    border: 1px solid var(--border-color);
}

.info-card-large:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-xl);
    border-color: var(--primary-color);
}

/* Full Width Cards for Venue and Sponsor */
.info-card-full {
    background: var(--bg-card);
    padding: var(--spacing-lg);
    border-radius: var(--border-radius-lg);
    box-shadow: var(--shadow-md);
    text-align: center;
    transition: var(--transition);
    margin-bottom: var(--spacing-lg);
    border: 1px solid var(--border-color);
}

.info-card-full:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-xl);
    border-color: var(--primary-color);
}

/* Old Grid - Keep for compatibility */
.info-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: var(--spacing-md);
}

.info-card {
    background: var(--bg-card);
    padding: var(--spacing-lg);
    border-radius: var(--border-radius-lg);
    box-shadow: var(--shadow);
    text-align: center;
    transition: var(--transition);
    border: 1px solid var(--border-color);
}

.info-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
    border-color: var(--primary-color);
}

.info-icon {
    font-size: var(--font-size-4xl);
    margin-bottom: var(--spacing-sm);
}

.info-title {
    font-size: var(--font-size-xl);
    font-weight: 600;
    margin-bottom: var(--spacing-xs);
    color: var(--text-primary);
}

.info-text {
    color: var(--text-secondary);
    font-size: var(--font-size-base);
}

/* Image Styles for Large Cards (Two Column) */
.info-card-image-large {
    width: 100%;
    height: 450px;
    object-fit: cover;
    margin-top: var(--spacing-md);
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-sm);
}

/* Image Styles for Full Width Cards (Landscape) */
.info-card-image-full {
    width: 100%;
    height: auto;
    margin-top: var(--spacing-md);
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-sm);
}

/* Edge-to-Edge Image Container (No borders, no padding) */
.info-card-full-image {
    background: transparent;
    padding: 0;
    border: none;
    border-radius: 0;
    box-shadow: none;
    margin-bottom: var(--spacing-lg);
    overflow: hidden;
}

/* Edge-to-Edge Image Style */
.info-image-edge {
    width: 100%;
    height: auto;
    display: block;
    margin: 0;
    padding: 0;
    border: none;
    border-radius: 0;
    box-shadow: none;
}

/* Old Image Style - Keep for compatibility */
.info-card-image {
    width: 100%;
    max-width: 250px;
    height: auto;
    margin-top: var(--spacing-md);
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-sm);
}

/* ========================================
   Steps Grid (How It Works)
   ======================================== */

.steps-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: var(--spacing-md);
    margin-bottom: var(--spacing-xl);
}

.step-card {
    background: var(--bg-card);
    padding: var(--spacing-lg);
    border-radius: var(--border-radius-lg);
    border: 1px solid var(--border-color);
    box-shadow: var(--shadow);
    text-align: center;
}

.step-number {
    width: 60px;
    height: 60px;
    background: var(--gradient-primary);
    color: var(--white);
    font-size: var(--font-size-2xl);
    font-weight: 700;
    border-radius: var(--border-radius-full);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto var(--spacing-md);
}

.step-title {
    font-size: var(--font-size-xl);
    font-weight: 600;
    margin-bottom: var(--spacing-xs);
    color: var(--text-primary);
}

.step-text {
    color: var(--text-secondary);
}

/* ========================================
   Disclaimer Box
   ======================================== */

.disclaimer-box {
    background: linear-gradient(135deg, rgba(245, 158, 11, 0.1) 0%, rgba(245, 158, 11, 0.05) 100%);
    border: 2px solid rgba(245, 158, 11, 0.3);
    border-radius: var(--border-radius-lg);
    padding: var(--spacing-md);
    margin: var(--spacing-lg) 0;
    display: flex;
    gap: var(--spacing-md);
    align-items: flex-start;
    box-shadow: 0 4px 15px rgba(245, 158, 11, 0.15);
}

.disclaimer-icon {
    font-size: var(--font-size-3xl);
    flex-shrink: 0;
    line-height: 1;
}

.disclaimer-text {
    color: var(--text-primary);
    line-height: 1.6;
    margin: 0;
}

.disclaimer-text strong {
    color: var(--warning-color);
    font-weight: 600;
    display: block;
    margin-bottom: var(--spacing-sm);
    font-size: var(--font-size-lg);
}

.disclaimer-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.disclaimer-list li {
    position: relative;
    padding-left: 1.5rem;
    margin-bottom: var(--spacing-md);
    line-height: 1.8;
}

.disclaimer-list li:last-child {
    margin-bottom: 0;
}

.disclaimer-list li::before {
    content: '✓';
    position: absolute;
    left: 0;
    top: 0;
    color: var(--warning-color);
    font-weight: 700;
    font-size: 1.1rem;
}

/* ========================================
   Teams Grid
   ======================================== */

.teams-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: var(--spacing-md);
    margin-bottom: var(--spacing-md);
}

.team-card {
    background: var(--bg-card);
    border: 2px solid var(--border-color);
    border-radius: var(--border-radius-lg);
    padding: var(--spacing-md);
    text-align: center;
    cursor: pointer;
    transition: var(--transition);
    position: relative;
}

.team-card:hover {
    border-color: var(--primary-color);
    transform: translateY(-3px);
    box-shadow: var(--shadow-md);
}

.team-card.selected {
    border-color: var(--primary-color);
    background: linear-gradient(135deg, rgba(37, 99, 235, 0.1) 0%, rgba(37, 99, 235, 0.05) 100%);
    box-shadow: var(--shadow-md);
}

.team-card.selected::before {
    content: '✓';
    position: absolute;
    top: 10px;
    right: 10px;
    width: 28px;
    height: 28px;
    background: var(--primary-color);
    color: var(--white);
    border-radius: var(--border-radius-full);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: var(--font-size-sm);
}

.team-logo {
    font-size: 4rem;
    margin-bottom: var(--spacing-sm);
}

.team-name {
    font-size: var(--font-size-lg);
    font-weight: 600;
    color: var(--text-primary);
}

/* ========================================
   Forms
   ======================================== */

.guess-form {
    max-width: 900px;
    margin: 0 auto;
    background: var(--bg-card);
    padding: var(--spacing-xl);
    border-radius: var(--border-radius-lg);
    box-shadow: var(--shadow-lg);
    border: 1px solid var(--border-color);
}

.form-section {
    margin-bottom: var(--spacing-lg);
}

.form-label {
    display: flex;
    align-items: center;
    gap: var(--spacing-xs);
    font-size: var(--font-size-lg);
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: var(--spacing-md);
}

.label-icon {
    font-size: var(--font-size-xl);
}

.form-input {
    width: 100%;
    padding: var(--spacing-md);
    font-size: var(--font-size-base);
    border: 2px solid var(--border-color);
    border-radius: var(--border-radius);
    transition: var(--transition);
    background: var(--bg-primary);
    color: var(--text-primary);
}

.form-input:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.2);
}

/* Select Dropdown Styling */
select.form-input {
    cursor: pointer;
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%23f1f5f9' d='M6 9L1 4h10z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right var(--spacing-md) center;
    padding-right: calc(var(--spacing-md) * 2.5);
}

select.form-input option {
    background: var(--bg-secondary);
    color: var(--text-primary);
    padding: var(--spacing-sm);
}

select.form-input:hover {
    border-color: var(--primary-light);
}

.form-hint {
    display: block;
    margin-top: var(--spacing-xs);
    font-size: var(--font-size-sm);
    color: var(--text-secondary);
}

.form-actions {
    margin-top: var(--spacing-xl);
}

.form-note {
    margin-top: var(--spacing-md);
    padding: var(--spacing-md);
    background: var(--gray-light);
    border-radius: var(--border-radius);
    border-left: 4px solid var(--accent-color);
}

.form-note p {
    font-size: var(--font-size-sm);
    color: var(--text-secondary);
}

/* ========================================
   Buttons
   ======================================== */

.btn {
    display: inline-block;
    padding: var(--spacing-sm) var(--spacing-lg);
    font-size: var(--font-size-base);
    font-weight: 600;
    text-align: center;
    text-decoration: none;
    border: none;
    border-radius: var(--border-radius);
    cursor: pointer;
    transition: var(--transition);
}

.btn-primary {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 50%, #667eea 100%);
    background-size: 200% 100%;
    color: var(--white);
    position: relative;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(102, 126, 234, 0.4);
    transition: all 0.4s ease;
}

.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: left 0.6s ease;
}

.btn-primary:hover {
    transform: translateY(-3px) scale(1.02);
    box-shadow: 0 8px 25px rgba(102, 126, 234, 0.6), 0 0 30px rgba(102, 126, 234, 0.3);
    background-position: 100% 0;
    animation: buttonPulse 1.5s infinite;
}

.btn-primary:hover::before {
    left: 100%;
}

.btn-primary:active {
    transform: translateY(-1px) scale(0.98);
    box-shadow: 0 4px 15px rgba(102, 126, 234, 0.4);
}

.btn-primary:disabled {
    opacity: 0.6;
    cursor: not-allowed;
    transform: none;
}

.btn-large {
    padding: var(--spacing-md) var(--spacing-xl);
    font-size: var(--font-size-lg);
    font-weight: 600;
    letter-spacing: 0.5px;
    text-transform: uppercase;
}

/* Button Pulse Animation */
@keyframes buttonPulse {
    0%, 100% {
        box-shadow: 0 8px 25px rgba(102, 126, 234, 0.6), 0 0 30px rgba(102, 126, 234, 0.3);
    }
    50% {
        box-shadow: 0 8px 25px rgba(102, 126, 234, 0.8), 0 0 40px rgba(102, 126, 234, 0.5);
    }
}

.btn-loader {
    display: inline-block;
}

.cta-center {
    text-align: center;
}

/* ========================================
   Alerts & Messages
   ======================================== */

.alert {
    padding: var(--spacing-md);
    border-radius: var(--border-radius);
    margin-bottom: var(--spacing-md);
    font-weight: 500;
}

.alert-success {
    background-color: #d1fae5;
    color: #065f46;
    border: 1px solid #6ee7b7;
}

.alert-error {
    background-color: #fee2e2;
    color: #991b1b;
    border: 1px solid #fca5a5;
}

.alert-warning {
    background-color: #fef3c7;
    color: #92400e;
    border: 1px solid #fcd34d;
}

.error-message {
    color: var(--danger-color);
    font-size: var(--font-size-sm);
    margin-top: var(--spacing-xs);
    display: none;
}

.error-message.show {
    display: block;
}

.loading {
    text-align: center;
    padding: var(--spacing-xl);
    color: var(--text-secondary);
    font-size: var(--font-size-lg);
}

/* ========================================
   Modal
   ======================================== */

.modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    z-index: 1000;
    align-items: center;
    justify-content: center;
}

.modal.show {
    display: flex;
}

.modal-content {
    background: var(--bg-card);
    padding: var(--spacing-xl);
    border-radius: var(--border-radius-lg);
    max-width: 500px;
    width: 90%;
    text-align: center;
    box-shadow: var(--shadow-xl);
    border: 1px solid var(--border-color);
}

.modal-icon {
    width: 80px;
    height: 80px;
    border-radius: var(--border-radius-full);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto var(--spacing-md);
    font-size: var(--font-size-4xl);
    font-weight: 700;
}

.success-icon {
    background: var(--gradient-success);
    color: var(--white);
}

.modal-title {
    font-size: var(--font-size-2xl);
    font-weight: 700;
    margin-bottom: var(--spacing-sm);
    color: var(--text-primary);
}

.modal-text {
    font-size: var(--font-size-base);
    color: var(--text-secondary);
    margin-bottom: var(--spacing-md);
}

.modal-team {
    font-size: var(--font-size-xl);
    font-weight: 600;
    color: var(--primary-color);
    margin-bottom: var(--spacing-lg);
}

/* ========================================
   Footer
   ======================================== */

.footer {
    background: var(--bg-secondary);
    color: var(--text-primary);
    padding: var(--spacing-lg) 0;
    margin-top: var(--spacing-xl);
    text-align: center;
    border-top: 1px solid var(--border-color);
}

.footer-content p {
    margin-bottom: var(--spacing-xs);
}

.footer-note {
    font-size: var(--font-size-sm);
    opacity: 0.8;
}

/* ========================================
   Responsive Design
   ======================================== */

@media (max-width: 768px) {
    /* Better text rendering on mobile */
    body {
        -webkit-font-smoothing: antialiased;
        -moz-osx-font-smoothing: grayscale;
        text-rendering: optimizeLegibility;
    }
    
    /* Tighter spacing for mobile */
    .container {
        padding: 0 0.875rem;
    }
    
    /* Compact Header */
    .header .container {
        padding: 0.625rem 0.875rem;
    }
    
    .logo h1 {
        font-size: 1.125rem;
        line-height: 1.2;
    }
    
    /* Compact Hero Section */
    .hero {
        padding: 0 0 1.25rem 0;
    }
    
    .hero-content {
        padding: 0 0.75rem;
    }
    
    .hero-title {
        font-size: 1.75rem;
        margin-bottom: 0.75rem;
        line-height: 1.1;
    }
    
    .hero-subtitle {
        font-size: 0.95rem;
        margin-bottom: 1rem;
        line-height: 1.4;
    }
    
    /* Mobile promo styles */
    .hero-promo {
        font-size: 1rem;
        line-height: 1.5;
    }
    
    .promo-highlight {
        font-size: 0.95rem;
        padding: 0.2rem 0.6rem;
    }
    
    .promo-prize {
        font-size: 1.25rem;
        padding: 0.25rem 0.75rem;
    }
    
    .hero-stats {
        flex-direction: row;
        justify-content: center;
        gap: 0.375rem;
        margin: 1rem 0;
        flex-wrap: nowrap;
    }
    
    .stat-item {
        min-width: 85px;
        padding: 0.625rem 0.75rem;
        flex: 1;
        max-width: 110px;
    }
    
    .stat-number {
        font-size: 1.75rem;
    }
    
    .stat-label {
        font-size: 0.7rem;
        letter-spacing: 0.5px;
    }
    
    /* Tighter Sections */
    .tournament-info,
    .how-it-works,
    .guess-section {
        padding: 1.25rem 0;
    }
    
    .section-header {
        margin-bottom: 1.25rem;
    }
    
    .section-title {
        font-size: 1.5rem;
        margin-bottom: 0.375rem;
        line-height: 1.2;
    }
    
    .section-subtitle {
        font-size: 0.9rem;
        line-height: 1.4;
    }
    
    /* Show hamburger menu on tablet and mobile */
    .hamburger {
        display: flex;
    }
    
    /* Hide navigation by default on mobile */
    .nav {
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: var(--bg-secondary);
        flex-direction: column;
        gap: 0;
        padding: 0;
        max-height: 0;
        overflow: hidden;
        opacity: 0;
        transition: all 0.3s ease;
        box-shadow: var(--shadow-lg);
        border-top: 1px solid var(--border-color);
    }
    
    /* Show navigation when active */
    .nav.active {
        max-height: 300px;
        opacity: 1;
        padding: 0.5rem 0;
    }
    
    .nav-link {
        padding: 0.75rem 1rem;
        border-radius: 0;
        border-bottom: 1px solid var(--border-color);
        font-size: 0.95rem;
    }
    
    .nav-link:last-child {
        border-bottom: none;
    }
    
    /* Compact Teams Grid */
    .teams-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 0.625rem;
    }
    
    .team-card {
        padding: 0.75rem 0.5rem;
    }
    
    .team-logo {
        font-size: 2.5rem;
        margin-bottom: 0.375rem;
    }
    
    .team-name {
        font-size: 0.875rem;
        line-height: 1.2;
    }
    
    /* Compact Forms */
    .guess-form {
        padding: 1rem;
        border-radius: 0.75rem;
    }
    
    .form-section {
        margin-bottom: 1rem;
    }
    
    .form-label {
        font-size: 1rem;
        margin-bottom: 0.625rem;
    }
    
    .form-input {
        padding: 0.75rem;
        font-size: 0.95rem;
    }
    
    .form-hint {
        font-size: 0.8rem;
        margin-top: 0.25rem;
    }
    
    .form-note {
        padding: 0.75rem;
        margin-top: 0.75rem;
    }
    
    .form-note p {
        font-size: 0.85rem;
        line-height: 1.4;
    }
    
    /* Compact Buttons */
    .btn-large {
        padding: 0.875rem 1.5rem;
        font-size: 1rem;
    }
    
    /* Compact Info & Steps Grid */
    .info-grid,
    .steps-grid {
        grid-template-columns: 1fr;
        gap: 0.75rem;
    }
    
    .info-card {
        padding: 1rem;
    }
    
    /* Compact Disclaimer */
    .disclaimer-box {
        padding: 0.875rem;
        gap: 0.75rem;
        margin: 1.25rem 0;
    }
    
    .disclaimer-icon {
        font-size: 1.5rem;
    }
    
    .disclaimer-text {
        font-size: 0.9rem;
        line-height: 1.5;
    }
    
    .step-card {
        padding: 1rem;
    }
    
    .info-icon {
        font-size: 2.5rem;
        margin-bottom: 0.5rem;
    }
    
    .info-title {
        font-size: 1.125rem;
        margin-bottom: 0.375rem;
    }
    
    .info-text {
        font-size: 0.875rem;
        line-height: 1.4;
    }
    
    .step-number {
        width: 50px;
        height: 50px;
        font-size: 1.5rem;
        margin-bottom: 0.75rem;
    }
    
    .step-title {
        font-size: 1.125rem;
        margin-bottom: 0.375rem;
    }
    
    .step-text {
        font-size: 0.875rem;
        line-height: 1.4;
    }
    
    /* Compact Images */
    .info-card-full-image {
        margin-bottom: 1rem;
    }
    
    /* Compact Stats Banner */
    .stats-banner {
        padding: 1rem;
        gap: 1rem;
        margin-bottom: 1rem;
        flex-wrap: wrap;
    }
    
    /* Compact Player Cards */
    .players-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 0.625rem;
    }
    
    .player-card {
        padding: 0.75rem 0.5rem;
    }
    
    .player-icon {
        font-size: 2.5rem;
        margin-bottom: 0.375rem;
    }
    
    .player-name {
        font-size: 0.95rem;
        margin-bottom: 0.25rem;
    }
    
    .player-team {
        font-size: 0.8rem;
    }
    
    /* Compact Top Players */
    .top-players-section {
        padding: 1rem;
        margin-top: 1.25rem;
    }
    
    .rank-card {
        padding: 0.75rem;
        gap: 0.75rem;
        margin-bottom: 0.5rem;
    }
    
    .rank-position {
        font-size: 1.5rem;
        min-width: 40px;
    }
    
    .rank-name {
        font-size: 0.95rem;
    }
    
    .rank-team {
        font-size: 0.8rem;
    }
    
    .rank-votes {
        font-size: 1rem;
        min-width: 60px;
    }
    
    /* Compact Chat Widget */
    .chat-widget-section {
        padding: 1rem 0;
    }
    
    .chat-messages {
        height: 280px;
        padding: 0.75rem;
        gap: 0.5rem;
    }
    
    .chat-message {
        padding: 0.5rem 0.75rem;
    }
    
    .chat-message-phone {
        font-size: 0.8rem;
    }
    
    .chat-message-time {
        font-size: 0.7rem;
    }
    
    .chat-message-text {
        font-size: 0.9rem;
        line-height: 1.4;
    }
    
    .chat-input-form {
        padding: 0.875rem;
    }
    
    .chat-input-form h2 {
        font-size: 1.125rem;
        margin-bottom: 0.875rem;
    }
    
    .chat-phone-input,
    .chat-message-input {
        padding: 0.625rem;
        font-size: 0.9rem;
    }
    
    .chat-send-btn {
        padding: 0.625rem 0.875rem;
        font-size: 0.9rem;
    }
    
    .chat-char-count {
        font-size: 0.7rem;
    }
    
    /* Compact Footer */
    .footer {
        padding: 1rem 0;
        margin-top: 1.5rem;
    }
    
    .footer-content p {
        font-size: 0.875rem;
        margin-bottom: 0.25rem;
    }
    
    .footer-note {
        font-size: 0.75rem;
        line-height: 1.4;
    }
    
    /* Compact Modal */
    .modal-content {
        padding: 1.25rem;
        width: 92%;
    }
    
    .modal-icon {
        width: 70px;
        height: 70px;
        font-size: 2.5rem;
        margin-bottom: 0.75rem;
    }
    
    .modal-title {
        font-size: 1.25rem;
        margin-bottom: 0.5rem;
    }
    
    .modal-text {
        font-size: 0.9rem;
        margin-bottom: 0.75rem;
    }
    
    .modal-team {
        font-size: 1.125rem;
        margin-bottom: 1rem;
    }
}

@media (max-width: 480px) {
    /* Extra compact for small phones */
    .container {
        padding: 0 0.75rem;
    }
    
    .header .container {
        padding: 0.5rem 0.75rem;
    }
    
    .logo h1 {
        font-size: 1rem;
    }
    
    .hero-title {
        font-size: 1.5rem;
        margin-bottom: 0.625rem;
    }
    
    .hero-subtitle {
        font-size: 0.875rem;
        margin-bottom: 0.875rem;
    }
    
    /* Extra compact promo on small phones */
    .hero-promo {
        font-size: 0.9rem;
    }
    
    .promo-highlight {
        font-size: 0.85rem;
        padding: 0.15rem 0.5rem;
    }
    
    .promo-prize {
        font-size: 1.125rem;
        padding: 0.2rem 0.6rem;
    }
    
    .hero-stats {
        gap: 0.25rem;
        margin: 0.875rem 0;
    }
    
    .stat-item {
        min-width: 75px;
        padding: 0.5rem 0.625rem;
        flex: 1;
        max-width: 100px;
    }
    
    .stat-number {
        font-size: 1.5rem;
    }
    
    .stat-label {
        font-size: 0.65rem;
    }
    
    .section-title {
        font-size: 1.375rem;
    }
    
    .section-subtitle {
        font-size: 0.85rem;
    }
    
    /* Single column for teams on very small screens */
    .teams-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 0.5rem;
    }
    
    .team-card {
        padding: 0.625rem 0.375rem;
    }
    
    .team-logo {
        font-size: 2.25rem;
    }
    
    .team-name {
        font-size: 0.8rem;
    }
    
    /* Extra compact forms */
    .guess-form {
        padding: 0.875rem;
    }
    
    .form-label {
        font-size: 0.95rem;
    }
    
    .form-input {
        padding: 0.625rem;
        font-size: 0.9rem;
    }
    
    .btn-large {
        padding: 0.75rem 1.25rem;
        font-size: 0.95rem;
    }
    
    /* Single column player grid on small phones */
    .players-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 0.5rem;
    }
    
    .player-card {
        padding: 0.625rem 0.375rem;
    }
    
    .player-icon {
        font-size: 2.25rem;
    }
    
    .player-name {
        font-size: 0.875rem;
    }
    
    .player-team {
        font-size: 0.75rem;
    }
    
    /* Compact chat for small screens */
    .chat-messages {
        height: 240px;
        padding: 0.625rem;
    }
    
    .chat-input-form {
        padding: 0.75rem;
    }
    
    .chat-input-form h2 {
        font-size: 1rem;
        margin-bottom: 0.75rem;
    }
    
    /* Responsive Tournament Info Section */
    .info-grid-two-column {
        grid-template-columns: 1fr;
        gap: 0.75rem;
    }
    
    /* Adjust image height for mobile */
    .info-card-image-large {
        height: 250px;
    }
}

/* ========================================
   Player Poll Styles
   ======================================== */

.stats-banner {
    display: flex;
    justify-content: center;
    gap: var(--spacing-xl);
    margin-bottom: var(--spacing-xl);
    padding: var(--spacing-lg);
    background: var(--gradient-primary);
    border-radius: var(--border-radius-lg);
    color: var(--white);
}

.stat-box {
    display: flex;
    flex-direction: column;
    align-items: center;
}

/* Tab Navigation */
.tab-navigation {
    display: flex;
    gap: var(--spacing-sm);
    margin-bottom: var(--spacing-lg);
    background: var(--bg-card);
    padding: var(--spacing-sm);
    border-radius: var(--border-radius);
    border: 1px solid var(--border-color);
    box-shadow: var(--shadow);
}

.tab-btn {
    flex: 1;
    padding: var(--spacing-md);
    font-size: var(--font-size-base);
    font-weight: 600;
    background: transparent;
    border: 2px solid transparent;
    border-radius: var(--border-radius);
    cursor: pointer;
    transition: var(--transition);
    color: var(--text-secondary);
}

.tab-btn:hover {
    background: var(--bg-primary);
}

.tab-btn.active {
    background: var(--primary-color);
    color: var(--white);
}

/* Tab Content */
.tab-content {
    display: none;
}

.tab-content.active {
    display: block;
}

.form-header {
    text-align: center;
    margin-bottom: var(--spacing-lg);
    padding-bottom: var(--spacing-md);
    border-bottom: 2px solid var(--border-color);
}

.form-header h3 {
    font-size: var(--font-size-2xl);
    color: var(--text-primary);
    margin-bottom: var(--spacing-xs);
}

.form-header p {
    color: var(--text-secondary);
    font-size: var(--font-size-base);
}

/* No Players Message */
.no-players {
    text-align: center;
    padding: var(--spacing-xl);
    background: var(--bg-primary);
    border-radius: var(--border-radius);
    border: 1px solid var(--border-color);
    grid-column: 1 / -1;
}

.no-players p {
    font-size: var(--font-size-lg);
    color: var(--text-secondary);
    margin-bottom: var(--spacing-sm);
}

.no-players p:first-child {
    font-weight: 600;
    font-size: var(--font-size-xl);
    color: var(--text-primary);
}

.players-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
    gap: var(--spacing-md);
    margin-bottom: var(--spacing-md);
}

.player-card {
    background: var(--bg-card);
    border: 2px solid var(--border-color);
    border-radius: var(--border-radius-lg);
    padding: var(--spacing-lg);
    text-align: center;
    cursor: pointer;
    transition: var(--transition);
    position: relative;
    -webkit-tap-highlight-color: transparent;
    touch-action: manipulation;
    user-select: none;
}

.player-card:hover {
    border-color: var(--primary-color);
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

.player-card:active {
    transform: translateY(-2px);
}

.player-card.selected {
    border-color: var(--primary-color);
    background: linear-gradient(135deg, rgba(59, 130, 246, 0.15) 0%, rgba(59, 130, 246, 0.05) 100%);
    box-shadow: var(--shadow-lg);
    transform: translateY(-3px);
}

.player-card.selected::before {
    content: '✓';
    position: absolute;
    top: 10px;
    right: 10px;
    width: 32px;
    height: 32px;
    background: var(--primary-color);
    color: var(--white);
    border-radius: var(--border-radius-full);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: var(--font-size-base);
    z-index: 10;
    box-shadow: 0 2px 8px rgba(59, 130, 246, 0.4);
}

.player-delete-btn {
    position: absolute;
    top: 10px;
    left: 10px;
    background: transparent;
    border: none;
    cursor: pointer;
    font-size: 1.2rem;
    padding: 6px;
    border-radius: 6px;
    transition: all 0.2s ease;
    opacity: 0;
    z-index: 3;
    pointer-events: auto;
}

.player-card:hover .player-delete-btn {
    opacity: 0.6;
}

.player-delete-btn:hover {
    background: rgba(239, 68, 68, 0.15);
    opacity: 1 !important;
    transform: scale(1.15);
}

.player-delete-btn:active {
    transform: scale(0.95);
}

/* Hide delete button on mobile and tablet devices */
@media (max-width: 1024px) {
    .player-delete-btn {
        display: none !important;
    }
}

.player-icon {
    font-size: 3.5rem;
    margin-bottom: var(--spacing-sm);
}

.player-name {
    font-size: var(--font-size-lg);
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: var(--spacing-xs);
}

.player-team {
    font-size: var(--font-size-sm);
    color: var(--primary-color);
    font-weight: 600;
    margin-bottom: var(--spacing-xs);
}

.player-position {
    font-size: var(--font-size-sm);
    color: var(--text-secondary);
    margin-bottom: var(--spacing-xs);
}

.player-country {
    font-size: var(--font-size-sm);
    color: var(--text-secondary);
    padding-top: var(--spacing-xs);
    border-top: 1px solid var(--border-color);
    margin-top: var(--spacing-xs);
}

/* Top Players Section */
.top-players-section {
    margin-top: var(--spacing-xl);
    padding: var(--spacing-xl);
    background: var(--bg-card);
    border-radius: var(--border-radius-lg);
    border: 1px solid var(--border-color);
    box-shadow: var(--shadow);
}

.top-players-list {
    margin-top: var(--spacing-md);
}

.rank-card {
    display: flex;
    align-items: center;
    gap: var(--spacing-md);
    padding: var(--spacing-md);
    margin-bottom: var(--spacing-sm);
    background: var(--bg-primary);
    border-radius: var(--border-radius);
    border: 1px solid var(--border-color);
    transition: var(--transition);
}

.rank-card:hover {
    background: var(--bg-primary);
    box-shadow: var(--shadow);
}

.rank-position {
    font-size: var(--font-size-2xl);
    font-weight: 700;
    min-width: 50px;
    text-align: center;
}

.rank-details {
    flex: 1;
}

.rank-name {
    font-size: var(--font-size-lg);
    font-weight: 600;
    color: var(--text-primary);
}

.rank-team {
    font-size: var(--font-size-sm);
    color: var(--text-secondary);
}

.rank-votes {
    font-size: var(--font-size-lg);
    font-weight: 700;
    color: var(--primary-color);
    text-align: right;
    min-width: 80px;
}

.no-votes {
    text-align: center;
    padding: var(--spacing-xl);
    color: var(--text-secondary);
    font-size: var(--font-size-lg);
}

@media (max-width: 768px) {
    .stats-banner {
        flex-direction: column;
        gap: var(--spacing-md);
    }
    
    .players-grid {
        grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
        gap: var(--spacing-sm);
    }
    
    .rank-card {
        flex-wrap: wrap;
    }
    
    .rank-votes {
        min-width: auto;
    }
}

/* ========================================
   Live Chat Widget
   ======================================== */

/* Chat Widget Container - Always Visible at Bottom of Page */
.chat-widget {
    position: relative;
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    background: var(--bg-card);
    border-radius: var(--border-radius-lg);
    border: 1px solid var(--border-color);
    box-shadow: var(--shadow-md);
    display: flex;
    flex-direction: column;
    overflow: hidden;
}

.chat-widget-section {
    padding: var(--spacing-xl) 0;
    background: var(--bg-secondary);
}

@keyframes slideUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Chat Messages Area */
.chat-messages {
    height: 400px;
    overflow-y: auto;
    padding: var(--spacing-md);
    background: var(--bg-primary);
    display: flex;
    flex-direction: column;
    gap: var(--spacing-sm);
}

.chat-refresh-btn {
    align-self: center;
    padding: var(--spacing-sm) var(--spacing-lg);
    background: var(--bg-card);
    color: var(--primary-color);
    border: 2px solid var(--primary-color);
    border-radius: var(--border-radius);
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
    margin-bottom: var(--spacing-sm);
}

.chat-refresh-btn:hover {
    background: var(--primary-color);
    color: var(--white);
}

.chat-message {
    background: var(--bg-card);
    padding: var(--spacing-sm) var(--spacing-md);
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-sm);
    animation: fadeIn 0.3s ease;
    border: 1px solid var(--border-color);
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.chat-message-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: var(--spacing-xs);
    gap: var(--spacing-xs);
}

.chat-message-phone {
    font-weight: 600;
    color: var(--primary-color);
    font-size: var(--font-size-sm);
}

.chat-message-time {
    font-size: var(--font-size-xs);
    color: var(--text-secondary);
    flex-grow: 1;
}

.chat-delete-btn {
    background: transparent;
    border: none;
    cursor: pointer;
    font-size: 1rem;
    padding: 4px 8px;
    border-radius: 4px;
    transition: all 0.2s ease;
    opacity: 0.6;
}

.chat-delete-btn:hover {
    background: rgba(239, 68, 68, 0.1);
    opacity: 1;
    transform: scale(1.1);
}

.chat-delete-btn:active {
    transform: scale(0.95);
}

.chat-message-text {
    color: var(--text-primary);
    font-size: var(--font-size-base);
    word-wrap: break-word;
    line-height: 1.4;
}

/* Empty Chat State */
.chat-empty {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: var(--spacing-xl);
    text-align: center;
    color: var(--text-secondary);
}

.chat-empty-icon {
    font-size: 4rem;
    margin-bottom: var(--spacing-md);
}

.chat-empty p {
    font-size: var(--font-size-base);
}

/* Chat Input Form */
.chat-input-form {
    padding: var(--spacing-lg);
    background: var(--bg-card);
    border-top: 1px solid var(--border-color);
}

.chat-input-group {
    display: flex;
    flex-direction: column;
    gap: var(--spacing-sm);
    max-width: 800px;
    margin: 0 auto;
}

.chat-phone-input {
    padding: var(--spacing-sm);
    border: 2px solid var(--border-color);
    border-radius: var(--border-radius);
    font-size: var(--font-size-sm);
    transition: var(--transition);
    background: var(--bg-primary);
    color: var(--text-primary);
}

.chat-phone-input:focus {
    outline: none;
    border-color: var(--primary-color);
}

.chat-phone-input.saved {
    background: var(--gray-light);
    border-color: var(--success-color);
}

.chat-message-row {
    display: flex;
    gap: var(--spacing-sm);
}

.chat-message-input {
    flex: 1;
    padding: var(--spacing-sm);
    border: 2px solid var(--border-color);
    border-radius: var(--border-radius);
    font-size: var(--font-size-sm);
    resize: none;
    font-family: inherit;
    transition: var(--transition);
    background: var(--bg-primary);
    color: var(--text-primary);
}

.chat-message-input:focus {
    outline: none;
    border-color: var(--primary-color);
}

.chat-send-btn {
    padding: var(--spacing-sm) var(--spacing-md);
    background: var(--gradient-primary);
    color: var(--white);
    border: none;
    border-radius: var(--border-radius);
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
    font-size: var(--font-size-base);
}

.chat-send-btn:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

.chat-send-btn:disabled {
    opacity: 0.5;
    cursor: not-allowed;
    transform: none;
}

.chat-char-count {
    font-size: var(--font-size-xs);
    color: var(--text-secondary);
    text-align: right;
}

.chat-char-count.warning {
    color: var(--warning-color);
}

.chat-char-count.danger {
    color: var(--danger-color);
}

/* ========================================
   Player Poll Styles
   ======================================== */
/* ========================================
   Promotional Modal Styles
   ======================================== */

.promo-modal {
    display: none;
    position: fixed;
    z-index: 10000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgba(0, 0, 0, 0.85);
    backdrop-filter: blur(5px);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.promo-modal.active {
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 1;
}

.promo-modal-content {
    position: relative;
    background-color: var(--bg-card);
    margin: auto;
    padding: 0;
    border-radius: var(--border-radius-lg);
    max-width: 90%;
    max-height: 90vh;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
    animation: slideDown 0.4s ease-out;
    overflow: hidden;
}

@keyframes slideDown {
    from {
        transform: translateY(-50px);
        opacity: 0;
    }
    to {
        transform: translateY(0);
        opacity: 1;
    }
}

.promo-modal-close {
    position: absolute;
    top: 10px;
    right: 15px;
    color: var(--white);
    font-size: 35px;
    font-weight: bold;
    background: rgba(0, 0, 0, 0.6);
    border: none;
    border-radius: 50%;
    width: 45px;
    height: 45px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    z-index: 10001;
    line-height: 1;
    padding: 0;
}

.promo-modal-close:hover,
.promo-modal-close:focus {
    background: rgba(255, 0, 0, 0.8);
    transform: rotate(90deg);
}

.promo-modal-image {
    width: 100%;
    height: auto;
    display: block;
    border-radius: var(--border-radius-lg);
    max-height: 90vh;
    object-fit: contain;
}

/* Mobile responsiveness for modal */
@media (max-width: 768px) {
    .promo-modal-content {
        max-width: 95%;
        max-height: 85vh;
    }
    
    .promo-modal-close {
        width: 40px;
        height: 40px;
        font-size: 30px;
        top: 5px;
        right: 5px;
    }
    
    .promo-modal-image {
        max-height: 85vh;
    }
}

@media (max-width: 480px) {
    .promo-modal-content {
        max-width: 98%;
        max-height: 80vh;
    }
    
    .promo-modal-close {
        width: 35px;
        height: 35px;
        font-size: 25px;
    }
}

/* ========================================
   Voting Closed Styles
   ======================================== */

.voting-closed-banner {
    background: linear-gradient(135deg, rgba(239, 68, 68, 0.15) 0%, rgba(220, 38, 38, 0.1) 100%);
    border: 2px solid rgba(239, 68, 68, 0.3);
    border-radius: var(--border-radius-lg);
    padding: var(--spacing-lg);
    margin-bottom: var(--spacing-xl);
    display: flex;
    align-items: center;
    gap: var(--spacing-md);
    box-shadow: var(--shadow-md);
}

.voting-closed-icon {
    font-size: 3rem;
    flex-shrink: 0;
}

.voting-closed-content {
    flex: 1;
}

.voting-closed-title {
    font-size: var(--font-size-xl);
    font-weight: 700;
    color: var(--danger-color);
    margin-bottom: var(--spacing-xs);
}

.voting-closed-text {
    font-size: var(--font-size-base);
    color: var(--text-secondary);
    margin: 0;
}

/* Disabled Team Cards */
.teams-grid-disabled .team-card {
    opacity: 0.5;
    cursor: not-allowed;
    pointer-events: none;
    filter: grayscale(50%);
}

.teams-grid-disabled .team-card:hover {
    transform: none;
    border-color: var(--border-color);
    box-shadow: none;
}

/* Disabled Form */
.voting-disabled .form-input:disabled {
    background-color: var(--gray-lighter);
    cursor: not-allowed;
    opacity: 0.6;
}

.form-note-closed {
    background: linear-gradient(135deg, rgba(239, 68, 68, 0.1) 0%, rgba(220, 38, 38, 0.05) 100%);
    border-left: 4px solid var(--danger-color);
}

/* Mobile Responsive */
@media (max-width: 768px) {
    .voting-closed-banner {
        flex-direction: column;
        text-align: center;
        padding: var(--spacing-md);
    }
    
    .voting-closed-icon {
        font-size: 2.5rem;
    }
    
    .voting-closed-title {
        font-size: var(--font-size-lg);
    }
    
    .voting-closed-text {
        font-size: var(--font-size-sm);
    }
}
