/* Base Styles */
:root {
    --bg-color: #0f172a;
    --text-main: #f8fafc;
    --text-muted: #94a3b8;
    --accent: #38bdf8;
    --green: #4ade80;
    --card-bg: rgba(30, 41, 59, 0.7);
    --border: rgba(255, 255, 255, 0.1);
    --font-main: 'Inter', system-ui, -apple-system, sans-serif;
}

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

body {
    background: radial-gradient(circle at top, #1e293b 0%, #0f172a 60%, #020617 100%);
    color: var(--text-main);
    font-family: var(--font-main);
    min-height: 100vh;
    overflow-x: hidden;
}

/* Snow Canvas */
#snow-canvas {
    position: fixed;
    top: 0; left: 0;
    width: 100vw; height: 100vh;
    pointer-events: none; z-index: 0;
}

/* Navbar */
.navbar {
    display: flex; justify-content: space-between; align-items: center;
    padding: 24px 48px;
    background: rgba(15, 23, 42, 0.8);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--border);
    position: sticky; top: 0; z-index: 10;
}

.logo { font-size: 1.5rem; font-weight: 800; display: flex; align-items: center; gap: 10px; }
.logo-icon { background: var(--accent); color: #000; width: 32px; height: 32px; display: flex; align-items: center; justify-content: center; border-radius: 8px; }
.logo-dot { color: var(--accent); }

.nav-links { display: flex; align-items: center; gap: 32px; }
.nav-links a { color: var(--text-muted); text-decoration: none; font-size: 0.9rem; font-weight: 500; transition: color 0.2s; }
.nav-links a:hover { color: var(--text-main); }
.btn-login { background: rgba(255, 255, 255, 0.1); padding: 8px 16px; border-radius: 6px; color: var(--text-main) !important; cursor: pointer; }

/* Hero Section */
.hero {
    display: flex; align-items: center; justify-content: space-between;
    padding: 80px 48px; max-width: 1200px; margin: 0 auto;
    position: relative; z-index: 10;
}

.hero-content { max-width: 500px; }
.badge { display: inline-block; background: rgba(56, 189, 248, 0.1); color: var(--accent); padding: 6px 12px; border-radius: 20px; font-size: 0.8rem; font-weight: 600; margin-bottom: 24px; border: 1px solid rgba(56, 189, 248, 0.2); }
.hero h1 { font-size: 4rem; font-weight: 800; line-height: 1.1; letter-spacing: -0.03em; margin-bottom: 24px; }
.hero p { color: var(--text-muted); font-size: 1.1rem; line-height: 1.6; margin-bottom: 40px; }
.hero-buttons { display: flex; gap: 16px; }

.btn-primary { background: var(--accent); color: #000; padding: 14px 28px; border-radius: 8px; text-decoration: none; font-weight: 700; transition: transform 0.2s; border: none; cursor: pointer; font-family: var(--font-main); }
.btn-primary:hover { transform: translateY(-2px); }
.btn-secondary { background: transparent; color: var(--text-main); padding: 14px 28px; border-radius: 8px; text-decoration: none; font-weight: 600; border: 1px solid var(--border); transition: background 0.2s; }
.btn-secondary:hover { background: rgba(255, 255, 255, 0.05); }

/* Featured Card */
.featured-card {
    background: var(--card-bg); backdrop-filter: blur(16px);
    border: 1px solid var(--border); border-radius: 24px;
    padding: 32px; width: 360px;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.5);
    position: relative; z-index: 10;
}

.blurred { position: relative; overflow: hidden; }
.blurred h2, .blurred .stat-big, .blurred .stat-info { filter: blur(8px); opacity: 0.5; }

.lock-overlay {
    position: absolute; top: 0; left: 0; right: 0; bottom: 0;
    display: flex; align-items: center; justify-content: center;
    background: rgba(15, 23, 42, 0.4);
}

.card-header { display: flex; justify-content: space-between; align-items: center; margin-bottom: 24px; font-size: 0.85rem; }
.game-tag { color: var(--text-muted); }
.pick-status { color: #fbbf24; background: rgba(251, 191, 36, 0.1); padding: 4px 8px; border-radius: 4px; font-weight: 600; }

.featured-card h2 { font-size: 1.8rem; margin-bottom: 24px; }
.stat-row { display: flex; align-items: center; gap: 20px; margin-bottom: 32px; }
.stat-big { font-size: 4rem; font-weight: 800; line-height: 1; color: var(--accent); }
.stat-info span { display: block; font-size: 0.8rem; color: var(--text-muted); margin-bottom: 4px; }
.stat-info strong { font-size: 1.1rem; }

.card-footer { display: flex; justify-content: space-between; border-top: 1px solid var(--border); padding-top: 20px; }
.card-footer span { display: block; font-size: 0.75rem; color: var(--text-muted); margin-bottom: 4px; }
.card-footer strong { font-size: 1rem; }

/* Board Section */
.board-section { max-width: 1200px; margin: 40px auto; padding: 0 48px; position: relative; z-index: 10; }
.board-header h2 { font-size: 2.5rem; font-weight: 800; display: flex; align-items: center; gap: 12px; }
.lock-icon { font-size: 1.5rem; }
.board-header p { color: var(--text-muted); margin-top: 4px; margin-bottom: 24px; }

.locked-dashboard {
    background: var(--card-bg); border: 1px solid var(--border);
    border-radius: 16px; padding: 60px 20px;
    display: flex; justify-content: center; align-items: center; text-align: center;
    backdrop-filter: blur(10px);
}

.lock-message h3 { font-size: 1.8rem; margin-bottom: 12px; }
.lock-message p { color: var(--text-muted); margin-bottom: 24px; max-width: 400px; margin-left: auto; margin-right: auto; }

/* --- MODAL STYLES --- */
.modal {
    display: none; position: fixed; z-index: 100;
    left: 0; top: 0; width: 100%; height: 100%;
    background-color: rgba(2, 6, 23, 0.8);
    backdrop-filter: blur(8px);
    align-items: center; justify-content: center;
}

.modal-content {
    background: #1e293b;
    border: 1px solid var(--border);
    border-radius: 20px;
    padding: 40px;
    width: 100%; max-width: 420px;
    position: relative;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.8);
}

.close-btn {
    position: absolute; top: 20px; right: 24px;
    color: var(--text-muted); font-size: 28px;
    cursor: pointer; transition: color 0.2s;
}
.close-btn:hover { color: var(--text-main); }

.modal-header { margin-bottom: 32px; text-align: center; }
.modal-header h2 { font-size: 2rem; margin-bottom: 8px; }
.modal-header p { color: var(--text-muted); }

.login-form { display: flex; flex-direction: column; gap: 20px; }
.input-group { display: flex; flex-direction: column; gap: 8px; }
.input-group label { font-size: 0.9rem; font-weight: 600; color: var(--text-muted); }
.input-group input {
    background: rgba(15, 23, 42, 0.6);
    border: 1px solid var(--border);
    padding: 14px 16px;
    border-radius: 8px;
    color: var(--text-main);
    font-size: 1rem;
    outline: none;
    transition: border-color 0.2s;
}
.input-group input:focus { border-color: var(--accent); }
.full-width { width: 100%; margin-top: 8px; }

.modal-footer { margin-top: 24px; text-align: center; color: var(--text-muted); font-size: 0.9rem; }
.modal-footer a { color: var(--accent); text-decoration: none; font-weight: 600; }
