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

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    min-height: 100vh;
    color: #333;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Header */
header {
    background: rgba(255, 255, 255, 0.95);
    padding: 30px 0;
    text-align: center;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

header h1 {
    color: #667eea;
    font-size: 2.5em;
    margin-bottom: 10px;
}

.tagline {
    color: #666;
    font-size: 1.1em;
}

/* Navigation */
nav {
    background: rgba(255, 255, 255, 0.9);
    padding: 15px 0;
    margin-bottom: 30px;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
    position: sticky;
    top: 0;
    z-index: 100;
}

nav .container {
    display: flex;
    gap: 10px;
    overflow-x: auto;
    white-space: nowrap;
}

.league-btn {
    padding: 10px 20px;
    border: 2px solid #667eea;
    background: white;
    color: #667eea;
    border-radius: 25px;
    cursor: pointer;
    font-weight: 600;
    transition: all 0.3s;
}

.league-btn:hover {
    background: #667eea;
    color: white;
    transform: translateY(-2px);
}

.league-btn.active {
    background: #667eea;
    color: white;
}

/* Stats Overview */
.stats-overview {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
    margin-bottom: 30px;
}

.stat-card {
    background: white;
    padding: 25px;
    border-radius: 15px;
    text-align: center;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

.stat-card h3 {
    font-size: 2.5em;
    color: #667eea;
    margin-bottom: 10px;
}

.stat-card p {
    color: #666;
    font-size: 0.9em;
}

/* Predictions */
#predictions-container {
    display: grid;
    gap: 20px;
}

.prediction-card {
    background: white;
    border-radius: 15px;
    padding: 25px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.1);
    transition: transform 0.3s;
}

.prediction-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0,0,0,0.15);
}

.match-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
    padding-bottom: 15px;
    border-bottom: 2px solid #f0f0f0;
}

.match-date {
    color: #666;
    font-size: 0.9em;
}

.competition-badge {
    background: #667eea;
    color: white;
    padding: 5px 15px;
    border-radius: 20px;
    font-size: 0.85em;
    font-weight: 600;
}

.teams-container {
    display: grid;
    grid-template-columns: 2fr 1fr 2fr;
    gap: 20px;
    align-items: center;
    margin-bottom: 25px;
}

.team {
    text-align: center;
}

.team-name {
    font-size: 1.2em;
    font-weight: 600;
    color: #333;
    margin-bottom: 10px;
}

.team-form {
    display: flex;
    gap: 3px;
    justify-content: center;
}

.form-letter {
    width: 25px;
    height: 25px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 600;
    font-size: 0.8em;
    color: white;
}

.form-W { background: #4CAF50; }
.form-D { background: #FFC107; }
.form-L { background: #f44336; }

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

.predicted-score {
    font-size: 2.5em;
    font-weight: bold;
    color: #667eea;
    margin-bottom: 10px;
}

.probabilities {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 10px;
    margin-bottom: 20px;
}

.prob-item {
    text-align: center;
    padding: 15px;
    background: #f8f9fa;
    border-radius: 10px;
}

.prob-item.winner {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    transform: scale(1.05);
}

.prob-label {
    font-size: 0.85em;
    margin-bottom: 5px;
    font-weight: 600;
}

.prob-value {
    font-size: 1.5em;
    font-weight: bold;
}

.additional-predictions {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 15px;
    padding-top: 20px;
    border-top: 2px solid #f0f0f0;
}

.pred-item {
    text-align: center;
    padding: 15px;
    background: #f8f9fa;
    border-radius: 10px;
}

.pred-item h4 {
    font-size: 0.9em;
    color: #666;
    margin-bottom: 8px;
}

.pred-item .value {
    font-size: 1.3em;
    font-weight: bold;
    color: #667eea;
}

.confidence-badge {
    display: inline-block;
    padding: 8px 15px;
    border-radius: 20px;
    font-weight: 600;
    margin-top: 10px;
}

.confidence-high {
    background: #4CAF50;
    color: white;
}

.confidence-medium {
    background: #FFC107;
    color: white;
}

.confidence-low {
    background: #ff9800;
    color: white;
}

/* Loading & Error */
.loading, .error {
    text-align: center;
    padding: 40px;
    background: white;
    border-radius: 15px;
    font-size: 1.2em;
}

.error {
    color: #f44336;
}

/* Footer */
footer {
    background: rgba(255, 255, 255, 0.95);
    text-align: center;
    padding: 20px 0;
    margin-top: 50px;
}

footer p {
    color: #666;
}

/* Responsive */
@media (max-width: 768px) {
    .teams-container {
        grid-template-columns: 1fr;
        gap: 15px;
    }

    header h1 {
        font-size: 1.8em;
    }

    .predicted-score {
        font-size: 2em;
    }
}

/* VIP Styling */
.vip-card {
    background: linear-gradient(135deg, #f093fb 0%, #f5576c 100%);
    color: white;
}

.vip-card h3, .vip-card p {
    color: white;
}

.view-toggle {
    display: flex;
    justify-content: center;
    gap: 15px;
    margin-bottom: 30px;
    background: white;
    padding: 20px;
    border-radius: 15px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

.toggle-btn {
    padding: 12px 30px;
    border: 2px solid #667eea;
    background: white;
    color: #667eea;
    border-radius: 25px;
    cursor: pointer;
    font-weight: 600;
    font-size: 1em;
    transition: all 0.3s;
}

.toggle-btn.vip-toggle {
    border-color: #f5576c;
    color: #f5576c;
}

.toggle-btn.vip-toggle.active {
    background: linear-gradient(135deg, #f093fb 0%, #f5576c 100%);
    color: white;
    border-color: transparent;
}

.toggle-btn:hover {
    transform: translateY(-2px);
}

.toggle-btn.active {
    background: #667eea;
    color: white;
}

.vip-badge {
    background: linear-gradient(135deg, #f093fb 0%, #f5576c 100%);
    color: white;
    padding: 5px 12px;
    border-radius: 15px;
    font-size: 0.8em;
    font-weight: bold;
    margin-left: 10px;
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.7; }
}

.prediction-card.vip-prediction {
    border: 3px solid #f5576c;
    background: linear-gradient(to bottom, #fff 0%, #fff5f7 100%);
}

/* Date Filter */
.date-filter {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-bottom: 20px;
    flex-wrap: wrap;
}

.date-btn {
    padding: 10px 20px;
    border: 2px solid #4CAF50;
    background: white;
    color: #4CAF50;
    border-radius: 20px;
    cursor: pointer;
    font-weight: 600;
    transition: all 0.3s;
}

.date-btn:hover {
    background: #4CAF50;
    color: white;
    transform: translateY(-2px);
}

.date-btn.active {
    background: #4CAF50;
    color: white;
}

.xg-display {
    font-size: 0.9em;
    color: #666;
    margin-top: 5px;
}

.vip-reasons {
    background: #fff5f7;
    padding: 10px;
    border-radius: 8px;
    margin-top: 10px;
    font-size: 0.85em;
    color: #f5576c;
    font-weight: 600;
}


/* Accuracy Banner */
.accuracy-banner {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    text-align: center;
    padding: 30px;
    border-radius: 15px;
    margin-bottom: 20px;
    box-shadow: 0 10px 30px rgba(102, 126, 234, 0.3);
    animation: fadeIn 1s ease-in;
}

.accuracy-banner h2 {
    font-size: 2em;
    margin-bottom: 10px;
    font-weight: bold;
}

.accuracy-banner p {
    font-size: 1.1em;
    opacity: 0.95;
}

/* Premium Banner */
.premium-banner {
    background: linear-gradient(135deg, #f093fb 0%, #f5576c 100%);
    color: white;
    text-align: center;
    padding: 40px;
    border-radius: 15px;
    margin-bottom: 30px;
    box-shadow: 0 10px 30px rgba(245, 87, 108, 0.3);
    animation: pulse-glow 3s ease-in-out infinite;
}

.premium-banner h3 {
    font-size: 2.2em;
    margin-bottom: 15px;
    font-weight: bold;
}

.premium-banner p {
    font-size: 1.2em;
    margin-bottom: 10px;
}

.premium-banner .price {
    font-size: 1.5em;
    margin: 20px 0;
}

.premium-banner .old-price {
    text-decoration: line-through;
    opacity: 0.7;
    font-size: 0.9em;
    margin-left: 10px;
}

.premium-btn {
    background: white;
    color: #f5576c;
    border: none;
    padding: 15px 40px;
    border-radius: 30px;
    font-size: 1.2em;
    font-weight: bold;
    cursor: pointer;
    transition: all 0.3s;
    box-shadow: 0 5px 15px rgba(0,0,0,0.2);
    margin-top: 10px;
}

.premium-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(0,0,0,0.3);
    background: #fff;
    color: #f5576c;
}

/* Animations */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(-20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes pulse-glow {
    0%, 100% {
        box-shadow: 0 10px 30px rgba(245, 87, 108, 0.3);
    }
    50% {
        box-shadow: 0 15px 40px rgba(245, 87, 108, 0.6);
    }
}

/* Responsive */
@media (max-width: 768px) {
    .accuracy-banner h2 {
        font-size: 1.5em;
    }

    .premium-banner h3 {
        font-size: 1.5em;
    }

    .premium-banner p {
        font-size: 1em;
    }

    .premium-banner .price {
        font-size: 1.2em;
    }
}


/* Header with Mobile Menu */
.header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.mobile-menu-btn {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    padding: 10px;
    z-index: 1001;
}

.hamburger {
    display: block;
    width: 25px;
    height: 3px;
    background: #667eea;
    margin: 5px 0;
    transition: all 0.3s;
    border-radius: 3px;
}

.mobile-menu-btn.active .hamburger:nth-child(1) {
    transform: rotate(45deg) translate(8px, 8px);
}

.mobile-menu-btn.active .hamburger:nth-child(2) {
    opacity: 0;
}

.mobile-menu-btn.active .hamburger:nth-child(3) {
    transform: rotate(-45deg) translate(7px, -6px);
}

/* Disclaimer */
.disclaimer {
    background: #fff3cd;
    border-left: 4px solid #ffc107;
    padding: 15px 20px;
    margin-bottom: 20px;
    border-radius: 8px;
}

.disclaimer p {
    margin: 0;
    color: #856404;
    font-size: 0.95em;
}

/* Mobile Responsive - Update existing @media section */
@media (max-width: 768px) {
    .mobile-menu-btn {
        display: block;
    }

    nav {
        position: fixed;
        top: 0;
        left: -100%;
        width: 80%;
        max-width: 300px;
        height: 100vh;
        background: white;
        box-shadow: 2px 0 10px rgba(0,0,0,0.2);
        transition: left 0.3s ease;
        z-index: 1000;
        overflow-y: auto;
    }

    nav.mobile-open {
        left: 0;
    }

    nav .container {
        flex-direction: column;
        padding: 80px 20px 20px;
        gap: 0;
    }

    .league-btn {
        width: 100%;
        margin: 5px 0;
        padding: 15px;
        border-radius: 8px;
        text-align: left;
    }

    .teams-container {
        grid-template-columns: 1fr;
        gap: 15px;
    }

    header h1 {
        font-size: 1.8em;
    }

    .predicted-score {
        font-size: 2em;
    }

    .accuracy-banner h2 {
        font-size: 1.5em;
    }

    .premium-banner h3 {
        font-size: 1.5em;
    }

    .premium-banner p {
        font-size: 1em;
    }

    .premium-banner .price {
        font-size: 1.2em;
    }

    .stats-overview {
        grid-template-columns: repeat(2, 1fr);
    }

    .date-filter {
        flex-wrap: wrap;
    }

    .date-btn {
        flex: 1 1 45%;
    }
}

/* Mobile compact view */
@media (max-width: 768px) {
    body {
        font-size: 14px;
    }

    header h1 {
        font-size: 1.4rem;
    }
    .site-logo {
        width: 35px;
        height: 35px;
    }

    .tagline {
        font-size: 0.9rem;
    }

    .stats-overview .stat-card h3 {
        font-size: 1.1rem;
    }

    .stats-overview .stat-card p {
        font-size: 0.85rem;
    }

    .premium-banner h3 {
        font-size: 1.1rem;
    }

    .premium-banner p,
    .premium-banner .price {
        font-size: 0.9rem;
    }

    .toggle-btn,
    .league-btn,
    .date-btn {
        font-size: 0.8rem;
        padding: 6px 8px;
    }

    .prediction-card {
        padding: 10px;
        margin-bottom: 10px;
    }

    .prediction-card .match-header .match-date {
        font-size: 0.8rem;
    }

    .prediction-card .team-name {
        font-size: 0.9rem;
    }

    .prediction-card .xg-display,
    .prediction-card .team-form,
    .prediction-card .vip-reasons {
        font-size: 0.8rem;
    }

    .confidence-badge {
        font-size: 0.75rem;
        padding: 3px 6px;
    }

    .probabilities .prob-label,
    .probabilities .prob-value,
    .additional-predictions h4,
    .additional-predictions .value {
        font-size: 0.8rem;
    }

    footer p {
        font-size: 0.8rem;
    }
}

.site-logo {
    width: 50px;
    height: 50px;
    margin-right: 10px;
    vertical-align: middle;
}

/* If you wrapped it in logo-title div */
.logo-title {
    display: flex;
    align-items: center;
    gap: 10px;
}
