:root {
    --bg-dark: #0f172a;
    --accent: #f59e0b;
    --pitch-green: #1a472a;
    --text-light: #f8fafc;
}

body {
    font-family: 'Inter', system-ui, sans-serif;
    color: var(--text-light);
    margin: 0;
    height: 100vh;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, rgba(15, 23, 42, 0.9), rgba(26, 71, 42, 0.9)), url('https://images.unsplash.com/photo-1574629810360-7efbbe195018?q=80&w=2000');
    background-size: cover;
    background-position: center;
}

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

.team-showcase { display: flex; align-items: center; justify-content: center; gap: 40px; margin-bottom: 20px; }
.team { display: flex; flex-direction: column; align-items: center; }
.hero-section {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 2rem;
    gap: 10px;
    background: rgba(0, 0, 0, 0.4);
    border-radius: 20px;
    width: fit-content;
    margin: 0 auto;
    text-align: center;
}
.team-logo { width: 120px; height: 120px; object-fit: contain; margin-bottom: 5px; filter: drop-shadow(0 0 10px rgba(255,255,255,0.3)); }
.vs { font-size: 3rem; font-weight: 900; color: var(--accent); text-shadow: 2px 2px 5px #000; }
h2 { margin: 0; font-size: 1.2rem; text-transform: uppercase; letter-spacing: 2px; }

h1 { font-size: 4rem; margin: 0; text-transform: uppercase; line-height: 1; letter-spacing: 4px; text-shadow: 3px 3px 6px #000; }
.venue {
    font-size: 1.2rem;
    color: var(--accent);
    margin: 5px 0 0;
    font-weight: bold;
    text-align: center;
}
.match-time {
    font-size: 1rem;
    color: #fff;
    margin: 0 0 10px;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-weight: 600;
    text-align: center;
}
.cta-text { 
    font-size: 1.4rem; 
    margin: 20px 0; 
    max-width: 600px; 
    font-weight: 300; 
    text-align: center; 
    line-height: 1.3; 
    color: #cbd5e1;
}

.action-btn-hero {
    padding: 1.2rem 4rem;
    font-size: 1.5rem;
    background: var(--accent);
    color: white;
    border: none;
    border-radius: 50px;
    cursor: pointer;
    font-weight: 800;
    margin: 20px auto 0;
    text-transform: uppercase;
    letter-spacing: 2px;
    box-shadow: 0 0 20px rgba(245, 158, 11, 0.4);
    animation: pulse 2s infinite;
    transition: 0.3s;
    display: block;
}
.action-btn-hero:hover { transform: scale(1.05); box-shadow: 0 0 30px rgba(245, 158, 11, 0.6); }

@keyframes pulse {
    0% { transform: scale(1); }
    50% { transform: scale(1.05); }
    100% { transform: scale(1); }
}

.disclaimer {
    font-size: 0.9rem;
    color: #64748b;
    margin-top: 15px;
    font-style: italic;
    text-align: center;
}

#countdown-wrapper {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 15px;
    margin: 20px auto;
    width: fit-content;
}

.football-icon {
    font-size: 2rem;
    animation: rotate 5s linear infinite;
}

@keyframes rotate { from { transform: rotate(0deg); } to { transform: rotate(360deg); } }

#countdown {
    font-size: 2.5rem;
    font-weight: 700;
    color: #ffffff;
    font-family: 'Courier New', monospace;
}

.modal-overlay {
    position: fixed; top: 0; left: 0; width: 100%; height: 100%;
    background: rgba(0,0,0,0.85);
    display: flex; align-items: center; justify-content: center;
    z-index: 1000;
}
.modal-content {
    background: #1e293b; padding: 2rem; border-radius: 16px;
    width: 320px; text-align: center; position: relative;
    box-shadow: 0 20px 40px rgba(0,0,0,0.6);
}
.modal-header {
    display: flex; justify-content: space-between; align-items: center;
    border-bottom: 1px solid #334155; padding-bottom: 15px; margin-bottom: 20px; position: relative;
}
.modal-header h3 { margin: 0 auto; text-transform: uppercase; font-size: 1.2rem; letter-spacing: 1px; }
.close-btn { cursor: pointer; font-size: 1.8rem; position: absolute; right: 0; top: -5px; }

.modal-team-showcase { 
    display: flex; align-items: center; justify-content: center; gap: 15px; margin-bottom: 15px; 
}
.modal-logo { width: 50px; height: 50px; object-fit: contain; }

.score-container { display: flex; align-items: center; justify-content: center; gap: 15px; margin: 25px 0; padding: 0; }
.score-input { width: 70px !important; height: 70px; text-align: center; font-size: 2.4rem; font-family: 'Courier New', monospace; font-weight: 800; background: #111; color: var(--accent); border: 2px solid #222; border-radius: 4px; }
.score-input::placeholder { font-size: 1.4rem; color: #444; }
.vs-score { font-size: 1.5rem; font-weight: 900; color: #555; text-transform: uppercase; }

input[type="email"], input[type="text"], input[type="tel"] { width: 90%; padding: 14px; margin: 10px 0; border: 2px solid #334155; border-radius: 8px; background: #0f172a; color: white; font-size: 1rem; }
.action-btn { width: 100%; padding: 14px; background: var(--accent); color: white; border: none; font-weight: bold; cursor: pointer; border-radius: 8px; margin-top: 15px; }
.modal-footer {
    display: flex; justify-content: space-between; gap: 10px;
    margin-top: 20px; border-top: 1px solid #334155; padding-top: 15px;
}
.footer-btn { flex: 1; padding: 12px; border: none; border-radius: 8px; font-weight: bold; cursor: pointer; transition: 0.3s; }
.footer-btn.action { background: var(--accent); color: white; }
.footer-btn.action:hover { background: #d97706; }
.footer-btn.close-icon { background: #334155; color: white; font-size: 1.2rem; flex: 0 0 50px; }
.footer-btn.close-icon:hover { background: #475569; }

/* Remove spinner arrows completely */
input[type=number]::-webkit-inner-spin-button, 
input[type=number]::-webkit-outer-spin-button,
input[type=number]:hover::-webkit-inner-spin-button,
input[type=number]:hover::-webkit-outer-spin-button,
input[type=number]:focus::-webkit-inner-spin-button,
input[type=number]:focus::-webkit-outer-spin-button { 
  -webkit-appearance: none; 
  margin: 0; 
}
input[type=number] {
  -moz-appearance: textfield;
}

.error-msg {
    color: #ffcc00;
    font-size: 0.75rem;
    display: block;
    margin: -5px 0 5px 0;
    text-align: left;
    padding-left: 5%;
}
