/* ===== RESET & BASE ===== */
*, *::before, *::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --bg: #070B14;
    --card: #111827;
    --border: #1F2937;
    --primary: #2EA8FF;
    --success: #10D876;
    --danger: #FF4D4F;
    --text: #E8ECF4;
    --text-muted: #6B7A90;
    --text-dim: #3D4A5C;
    --radius: 16px;
    --radius-sm: 8px;
    --radius-xs: 4px;
    --font: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
}

html {
    font-size: 16px;
    scroll-behavior: smooth;
}

body {
    font-family: var(--font);
    background: var(--bg);
    color: var(--text);
    min-height: 100vh;
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
}

a {
    color: inherit;
    text-decoration: none;
}

img {
    max-width: 100%;
    height: auto;
}

button {
    font-family: var(--font);
    cursor: pointer;
    border: none;
    outline: none;
}

input, select {
    font-family: var(--font);
    outline: none;
}

/* ===== LAYOUT ===== */
.container {
    width: 100%;
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 1.5rem;
}

.section {
    padding: 5rem 0;
}

/* ===== TYPOGRAPHY ===== */
h1 { font-size: 2.5rem; font-weight: 800; line-height: 1.2; }
h2 { font-size: 1.75rem; font-weight: 700; line-height: 1.3; }
h3 { font-size: 1.25rem; font-weight: 600; line-height: 1.4; }
h4 { font-size: 1rem; font-weight: 600; }

.text-muted { color: var(--text-muted); }
.text-primary { color: var(--primary); }
.text-success { color: var(--success); }
.text-danger { color: var(--danger); }
.text-sm { font-size: 0.875rem; }
.text-xs { font-size: 0.75rem; }

/* ===== NAVBAR ===== */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    padding: 0.85rem 0;
    background: rgba(7, 11, 20, 0.9);
    backdrop-filter: blur(16px);
    border-bottom: 1px solid var(--border);
}

.navbar .container {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.navbar-brand {
    font-size: 1.4rem;
    font-weight: 800;
    color: var(--text);
}

.navbar-brand span {
    color: var(--primary);
}

.navbar-links {
    display: flex;
    align-items: center;
    gap: 2rem;
}

.navbar-links a {
    font-size: 0.875rem;
    font-weight: 500;
    color: var(--text-muted);
    transition: color 0.2s;
}

.navbar-links a:hover {
    color: var(--text);
}

.nav-premium-btn {
    background: linear-gradient(135deg, var(--primary), #34d399);
    color: #000 !important;
    padding: 6px 14px;
    border-radius: 6px;
    font-weight: 700 !important;
    font-size: 0.8rem !important;
    transition: transform 0.2s, box-shadow 0.2s;
}
.nav-premium-btn:hover {
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(16, 185, 129, 0.3);
    color: #000 !important;
}

.nav-archive-btn {
    background: linear-gradient(135deg, #a855f7, #6366f1);
    color: #fff !important;
    padding: 6px 14px;
    border-radius: 6px;
    font-weight: 700 !important;
    font-size: 0.8rem !important;
    transition: transform 0.2s, box-shadow 0.2s;
    text-decoration: none;
}
.nav-archive-btn:hover {
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(168, 85, 247, 0.3);
    color: #fff !important;
}
.nav-archive-locked {
    background: rgba(255,255,255,0.06) !important;
    color: var(--text-dim) !important;
    cursor: not-allowed;
    opacity: 0.5;
}
.nav-archive-locked:hover {
    transform: none;
    box-shadow: none;
}

.navbar-actions {
    display: flex;
    align-items: center;
    gap: 1rem;
}

/* ===== BUTTONS ===== */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 0.75rem 1.5rem;
    border-radius: var(--radius-sm);
    font-size: 0.875rem;
    font-weight: 600;
    transition: all 0.25s ease;
}

.btn-primary {
    background: var(--primary);
    color: #fff;
}

.btn-primary:hover {
    background: #4DB8FF;
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(46, 168, 255, 0.25);
}

.btn-outline {
    background: transparent;
    border: 1px solid var(--border);
    color: var(--text-muted);
}

.btn-outline:hover {
    border-color: var(--primary);
    color: var(--primary);
    transform: translateY(-1px);
}

.btn-success {
    background: var(--success);
    color: #000;
}

.btn-sm {
    padding: 0.5rem 1rem;
    font-size: 0.75rem;
    border-radius: var(--radius-xs);
}

/* ===== CARDS ===== */
.card {
    background: var(--card);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 1.5rem;
    transition: all 0.25s ease;
}

.card:hover {
    border-color: rgba(46, 168, 255, 0.3);
    transform: translateY(-2px);
}

/* ===== BADGES ===== */
.badge {
    display: inline-flex;
    align-items: center;
    padding: 0.25rem 0.75rem;
    border-radius: 100px;
    font-size: 0.7rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.badge-pro {
    background: rgba(46, 168, 255, 0.1);
    color: var(--primary);
    border: 1px solid rgba(46, 168, 255, 0.2);
}

.badge-live {
    background: rgba(255, 77, 79, 0.1);
    color: var(--danger);
    border: 1px solid rgba(255, 77, 79, 0.2);
}

.badge-league {
    background: rgba(107, 122, 144, 0.1);
    color: var(--text-muted);
    border: 1px solid var(--border);
}

/* ===== LIVE DOT ===== */
.live-dot {
    width: 8px;
    height: 8px;
    background: var(--danger);
    border-radius: 50%;
    animation: pulse 1.5s infinite;
}

/* ===== HAMBURGER ===== */
.hamburger {
    display: none;
    flex-direction: column;
    gap: 4px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 6px;
    margin-left: 8px;
}
.hamburger span {
    display: block;
    width: 20px;
    height: 2px;
    background: var(--text);
    border-radius: 2px;
    transition: all 0.3s;
}
.hamburger.open span:nth-child(1) { transform: rotate(45deg) translate(4px, 4px); }
.hamburger.open span:nth-child(2) { opacity: 0; }
.hamburger.open span:nth-child(3) { transform: rotate(-45deg) translate(4px, -4px); }

/* ===== MOBILE ===== */
@media (max-width: 768px) {
    h1 { font-size: 1.75rem; }
    h2 { font-size: 1.4rem; }
    
    .container { padding: 0 1rem; }
    .section { padding: 3rem 0; }
    
    .navbar-links {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: var(--card);
        border-bottom: 1px solid var(--border);
        flex-direction: column;
        padding: 1rem;
        gap: 0.5rem;
        box-shadow: 0 8px 24px rgba(0,0,0,0.3);
        z-index: 999;
    }
    .navbar-links.open {
        display: flex;
    }
    .navbar-links a, .navbar-links span {
        padding: 10px 12px;
        border-radius: 6px;
        font-size: 0.9rem;
    }
    .navbar-links a:hover {
        background: rgba(255,255,255,0.05);
    }
    
    .hamburger { display: flex; }
    
    .btn { padding: 0.625rem 1.25rem; }
}

@media (max-width: 480px) {
    h1 { font-size: 1.5rem; }
}
