@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;600;800;900&display=swap');

:root {
    --primary: #00f2fe;
    --secondary: #4facfe;
    --bg-dark: #0f171e;
    --card-bg: rgba(20, 30, 48, 0.85); /* Darker glassmorphism */
    --glass-border: rgba(255, 255, 255, 0.15);
    --text-main: #ffffff;
    --text-muted: #a0aec0;
    --accent-red: #ff4d4d;
    --accent-green: #00e676;
    --grad: linear-gradient(135deg, var(--secondary) 0%, var(--primary) 100%);
    --wa-color: #25d366;
    --tg-color: #0088cc;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Inter', sans-serif;
    -webkit-tap-highlight-color: transparent;
}

body {
    background: url('https://images.unsplash.com/photo-1540747913346-19e32dc3e97e?q=80&w=1000&auto=format&fit=crop') no-repeat center center fixed;
    background-size: cover;
    color: var(--text-main);
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
    padding: 15px;
    overflow-x: hidden;
}

/* Background Overlay */
body::before {
    content: '';
    position: fixed;
    top: 0; left: 0; width: 100%; height: 100%;
    background: linear-gradient(to bottom, rgba(15,23,30,0.7), rgba(15,23,30,0.95));
    z-index: -1;
}

.app-container {
    width: 100%;
    max-width: 480px; /* Mobile first */
    display: flex;
    flex-direction: column;
    gap: 15px;
}

/* Header & Live Score */
.top-bar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 15px;
    background: rgba(0, 0, 0, 0.4);
    border-radius: 20px;
    border: 1px solid var(--glass-border);
    backdrop-filter: blur(10px);
}

.logo {
    font-weight: 900;
    font-size: 1.1rem;
    background: var(--grad);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.live-score-link {
    color: #fff;
    text-decoration: none;
    font-size: 0.8rem;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 6px;
    background: rgba(255, 0, 0, 0.2);
    padding: 5px 10px;
    border-radius: 15px;
    border: 1px solid rgba(255, 0, 0, 0.3);
}

.live-score-link i { color: #ff4d4d; animation: pulse 1.5s infinite; }

/* Main Card */
.main-card {
    background: var(--card-bg);
    border: 1px solid var(--glass-border);
    border-radius: 24px;
    padding: 25px 20px;
    backdrop-filter: blur(15px);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.5);
    position: relative;
    overflow: hidden;
}

.match-title {
    text-align: center;
    font-size: 1.4rem;
    font-weight: 800;
    margin-bottom: 20px;
    color: #fff;
    text-transform: uppercase;
    letter-spacing: 1px;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 15px;
}

.match-title span.vs {
    font-size: 0.9rem;
    color: var(--primary);
}

.match-header-fancy {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 15px;
    margin-bottom: 10px;
}

.team-badge {
    width: 70px;
    height: 70px;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    font-weight: 900;
    font-size: 1.3rem;
    color: #fff;
    box-shadow: 0 4px 15px rgba(0,0,0,0.5);
    border: 2px solid rgba(255,255,255,0.2);
    text-shadow: 1px 1px 3px rgba(0,0,0,0.8);
    animation: fadeIn 0.8s ease;
}

.vs-badge {
    font-size: 1rem;
    font-weight: 800;
    color: var(--primary);
    background: rgba(0,0,0,0.5);
    padding: 6px 12px;
    border-radius: 12px;
}

.match-title-sub {
    text-align: center;
    font-size: 0.9rem;
    font-weight: 600;
    color: #e2e8f0;
    margin-bottom: 25px;
    line-height: 1.4;
}

/* Live MCQ Section */
.mcq-section {
    display: block;
    animation: fadeIn 0.5s ease;
}

.question-text {
    font-size: 1.15rem;
    font-weight: 600;
    text-align: center;
    margin-bottom: 20px;
    line-height: 1.4;
}

.options-wrapper {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.option-btn {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--glass-border);
    color: #fff;
    padding: 16px 20px;
    border-radius: 16px;
    font-size: 1rem;
    font-weight: 600;
    text-align: center;
    cursor: pointer;
    transition: all 0.25s ease;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.option-btn:active { transform: scale(0.98); }

.option-btn.selected {
    background: var(--grad);
    color: #000;
    border-color: transparent;
    font-weight: 800;
}

.option-btn.correct { background: var(--accent-green); border-color: var(--accent-green); color: #000; }
.option-btn.wrong { background: var(--accent-red); border-color: var(--accent-red); color: #fff; }

/* Score Display */
.score-display {
    text-align: center;
    margin-top: 20px;
    font-weight: 700;
    font-size: 1.1rem;
    color: var(--primary);
    opacity: 0;
    transition: opacity 0.5s ease;
}

/* Prediction Result Section (Hidden initially) */
.prediction-result {
    display: none;
    margin-top: 25px;
    padding-top: 25px;
    border-top: 1px solid var(--glass-border);
    animation: slideUp 0.5s ease;
}

.prediction-result h3 {
    text-align: center;
    font-size: 1.2rem;
    margin-bottom: 15px;
    color: var(--primary);
}

.insight-text {
    background: rgba(0, 0, 0, 0.3);
    padding: 15px;
    border-radius: 12px;
    font-size: 0.95rem;
    line-height: 1.5;
    text-align: center;
    margin-bottom: 20px;
    border-left: 3px solid var(--primary);
}

/* CTAs */
.social-buttons {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.cta-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 16px;
    border-radius: 16px;
    text-decoration: none;
    font-weight: 800;
    font-size: 1.1rem;
    color: #fff;
    transition: transform 0.2s;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.cta-btn i { font-size: 1.4rem; }
.cta-btn:active { transform: scale(0.98); }
.btn-whatsapp { background: var(--wa-color); box-shadow: 0 4px 15px rgba(37, 211, 102, 0.4); }
.btn-telegram { background: var(--tg-color); box-shadow: 0 4px 15px rgba(0, 136, 204, 0.4); }

/* Animations */
@keyframes pulse { 0% { opacity: 1; } 50% { opacity: 0.5; } 100% { opacity: 1; } }
@keyframes fadeIn { from { opacity: 0; } to { opacity: 1; } }
@keyframes slideUp { from { opacity: 0; transform: translateY(20px); } to { opacity: 1; transform: translateY(0); } }

/* Footer Link */
.disclaimer {
    text-align: center;
    font-size: 0.75rem;
    color: rgba(255,255,255,0.4);
    margin-top: 10px;
}
