:root {
    --bg-dark: #0f111a;
    --bg-glass: rgba(25, 28, 41, 0.6);
    --border-glass: rgba(255, 255, 255, 0.08);
    --text-primary: #f8fafc;
    --text-secondary: #94a3b8;
    --accent-1: #3b82f6; /* Blue */
    --accent-2: #8b5cf6; /* Purple */
    --accent-3: #10b981; /* Emerald */
    --accent-error: #ef4444; /* Red */
    --font-main: 'Outfit', sans-serif;
}

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

body {
    background-color: var(--bg-dark);
    color: var(--text-primary);
    font-family: var(--font-main);
    line-height: 1.6;
    overflow-x: hidden;
    position: relative;
}

/* Background Glows */
.background-glow {
    position: fixed;
    top: -10%;
    left: -10%;
    width: 50vw;
    height: 50vw;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(59, 130, 246, 0.15) 0%, rgba(15, 17, 26, 0) 70%);
    z-index: -1;
    filter: blur(60px);
}
.background-glow.glow-2 {
    top: auto;
    bottom: -10%;
    left: auto;
    right: -10%;
    background: radial-gradient(circle, rgba(139, 92, 246, 0.15) 0%, rgba(15, 17, 26, 0) 70%);
}

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

/* Typography & Utils */
.text-center { text-align: center; }
.gradient-text {
    background: linear-gradient(135deg, var(--accent-1), var(--accent-2));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* Header */
.glass-header {
    background: var(--bg-glass);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--border-glass);
    position: sticky;
    top: 0;
    z-index: 100;
}
.header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 70px;
}
.logo {
    font-size: 1.5rem;
    font-weight: 800;
    letter-spacing: -0.5px;
}
.nav-link {
    color: var(--text-secondary);
    text-decoration: none;
    margin-left: 2rem;
    font-weight: 600;
    transition: color 0.3s ease;
}
.nav-link:hover, .nav-link.active {
    color: var(--text-primary);
}

/* Hero Section */
.hero-section {
    padding: 4rem 0 2rem 0;
}
.main-logo {
    width: 120px;
    border-radius: 50%;
    box-shadow: 0 0 30px rgba(59, 130, 246, 0.5);
    border: 2px solid var(--accent-1);
    margin-bottom: 1.5rem;
}
.hero-title {
    font-size: 4rem;
    line-height: 1.1;
    margin-bottom: 1rem;
    font-weight: 800;
    letter-spacing: -1px;
}
.hero-subtitle {
    font-size: 1.25rem;
    color: var(--text-secondary);
    max-width: 600px;
    margin: 0 auto;
}

/* Glass Components */
.glass-card {
    background: var(--bg-glass);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border: 1px solid var(--border-glass);
    border-radius: 20px;
    padding: 2rem;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.glass-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4);
    border-color: rgba(255,255,255,0.15);
}

/* Sections */
.section-title {
    font-size: 2rem;
    margin-bottom: 2rem;
    font-weight: 600;
}
.section-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 2rem;
}
.date-badge {
    background: rgba(59, 130, 246, 0.2);
    color: var(--accent-1);
    padding: 0.5rem 1rem;
    border-radius: 30px;
    font-weight: 600;
    font-size: 0.9rem;
    border: 1px solid rgba(59, 130, 246, 0.3);
}

/* Stats */
.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 1.5rem;
    margin-bottom: 5rem;
}
.stat-card {
    text-align: center;
}
.stat-value {
    font-size: 3.5rem;
    font-weight: 800;
    margin: 1rem 0 0.5rem;
    line-height: 1;
}
.stat-value.high { color: var(--accent-3); }
.stat-value.med { color: #f59e0b; }
.stat-value.low { color: var(--accent-error); }

.stat-label {
    color: var(--text-secondary);
    font-size: 1.1rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}
.stat-sub {
    font-size: 0.85rem;
    color: var(--text-secondary);
    opacity: 0.7;
}

/* Predictions Grid */
.predictions-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
    margin-bottom: 5rem;
}
.match-teams {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1.5rem;
}
.team {
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 40%;
}
.team img {
    width: 60px;
    height: 60px;
    object-fit: contain;
    margin-bottom: 0.75rem;
    filter: drop-shadow(0 4px 6px rgba(0,0,0,0.3));
}
.team-name {
    font-weight: 600;
    text-align: center;
    font-size: 1.1rem;
}
.vs {
    font-weight: 800;
    color: var(--text-secondary);
    font-size: 1.2rem;
}

/* Values container */
.odds-container {
    display: flex;
    justify-content: space-between;
    gap: 0.5rem;
    margin-top: 1rem;
    padding-top: 1rem;
    border-top: 1px solid var(--border-glass);
}
.odd-box {
    flex: 1;
    text-align: center;
    background: rgba(255, 255, 255, 0.05);
    padding: 0.5rem;
    border-radius: 8px;
    font-size: 0.9rem;
    transition: all 0.2s ease;
}
.odd-value {
    display: block;
    font-weight: bold;
    font-size: 1.1rem;
    color: var(--text-primary);
}
.odd-value-bet {
    border: 1px solid #eab308;
    background: rgba(234, 179, 8, 0.1);
    box-shadow: 0 0 10px rgba(234, 179, 8, 0.2);
}

/* Date Tabs & Toggles */
.date-tabs {
    display: flex;
    gap: 0.5rem;
    background: rgba(255,255,255,0.05);
    padding: 0.5rem;
    border-radius: 20px;
}
.date-tab {
    background: transparent;
    border: none;
    color: var(--text-secondary);
    padding: 0.5rem 1rem;
    border-radius: 15px;
    cursor: pointer;
    font-weight: 600;
    transition: all 0.3s ease;
}
.date-tab.active {
    background: var(--accent-1);
    color: white;
}
.view-toggle {
    display: flex;
    gap: 0.5rem;
}
.view-btn {
    background: rgba(255,255,255,0.05);
    border: 1px solid rgba(255,255,255,0.1);
    color: var(--text-secondary);
    padding: 0.5rem 1rem;
    border-radius: 10px;
    cursor: pointer;
    font-weight: 600;
}
.view-btn.active {
    background: rgba(255,255,255,0.15);
    color: white;
}

/* Table View Overrides */
.predictions-grid.table-view {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}
.predictions-grid.table-view .prediction-card {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    padding: 0.75rem 1rem;
    gap: 1rem;
}
.predictions-grid.table-view .match-header {
    flex: 1; margin: 0; padding: 0; border: none; justify-content: flex-start; gap: 1rem;
}
.predictions-grid.table-view .team { flex: unset; font-size: 0.9rem; }
.predictions-grid.table-view .team-logo { width: 25px; height: 25px; }
.predictions-grid.table-view .match-info { flex: unset; text-align: left; margin: 0 1rem; }
.predictions-grid.table-view .prob-container { flex: 1; margin: 0; }
.predictions-grid.table-view .odds-container { flex: 1; margin: 0; padding: 0; border: none; }
.predictions-grid.table-view .ai-advice { flex: 1; margin: 0; font-size: 0.8rem; padding: 0.5rem; }

/* Short Tip Badge */
.short-tip-badge {
    background: #22c55e;
    color: #fff;
    padding: 0.3rem 0.6rem;
    border-radius: 8px;
    font-weight: bold;
    font-size: 1rem;
    box-shadow: 0 0 10px rgba(34, 197, 94, 0.4);
    display: inline-flex;
    align-items: center;
    justify-content: center;
}
.grid-view .prediction-card {
    position: relative;
}
.grid-view .short-tip-wrapper {
    position: absolute;
    top: -10px;
    right: -10px;
    z-index: 10;
}
.table-view .short-tip-wrapper {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 60px;
}

.predictions-tags {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
    border-top: 1px solid var(--border-glass);
    padding-top: 1.5rem;
}
.tag {
    background: rgba(255,255,255,0.05);
    padding: 0.5rem 1rem;
    border-radius: 8px;
    font-size: 0.9rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    border: 1px solid rgba(255,255,255,0.05);
}
.tag-label {
    font-size: 0.75rem;
    color: var(--text-secondary);
    margin-bottom: 0.25rem;
    text-transform: uppercase;
}
.tag-value {
    font-weight: 800;
    color: var(--accent-1);
}

.status-badge {
    position: absolute;
    top: 1rem;
    right: 1rem;
    font-size: 0.75rem;
    padding: 0.25rem 0.75rem;
    border-radius: 20px;
    font-weight: 600;
}
.status-badge.pending { background: rgba(255,255,255,0.1); color: var(--text-secondary); }
.status-badge.finished { background: rgba(16, 185, 129, 0.2); color: var(--accent-3); border: 1px solid rgba(16, 185, 129, 0.3); }

/* Skeleton Loader */
.skeleton {
    animation: pulse 2s cubic-bezier(0.4, 0, 0.6, 1) infinite;
}
@keyframes pulse {
    0%, 100% { opacity: 1; }
    50% { opacity: .5; }
}

footer {
    text-align: center;
    padding: 2rem;
    color: var(--text-secondary);
    font-size: 0.9rem;
    border-top: 1px solid var(--border-glass);
    margin-top: 4rem;
}

/* Odds Boxes */
.odds-container {
    display: flex;
    gap: 0.5rem;
    margin-top: 1rem;
    border-top: 1px solid rgba(255,255,255,0.05);
    padding-top: 1rem;
}
.odds-box {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 6px;
    padding: 0.5rem;
    text-align: center;
    flex: 1;
    transition: background 0.2s;
}
.odds-box:hover {
    background: rgba(255,255,255,0.08);
}
.odds-label {
    font-size: 0.65rem;
    color: var(--text-secondary);
    text-transform: uppercase;
    display: block;
    margin-bottom: 0.2rem;
}
.odds-value {
    font-weight: 800;
    font-size: 1rem;
    color: var(--text-primary);
}
.value-bet {
    color: var(--accent-3);
}

/* VIP Card */
.vip-card {
    border: 2px solid var(--accent-1);
    box-shadow: 0 0 30px rgba(59, 130, 246, 0.2);
    transform: scale(1.02);
}

/* Music Button */
.music-btn {
    position: fixed;
    bottom: 20px;
    right: 20px;
    z-index: 1000;
    border-radius: 50%;
    width: 50px;
    height: 50px;
    font-size: 1.5rem;
    cursor: pointer;
    border: 1px solid rgba(255, 255, 255, 0.1);
    background: rgba(15, 23, 42, 0.8);
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}
.music-btn:hover {
    transform: scale(1.1);
    background: rgba(59, 130, 246, 0.3);
}

@media (max-width: 768px) {
    .hero-title { font-size: 2.5rem; }
    .nav-link { display: none; }
}
