:root {
    --primary: #121b47;
    --accent: #10b981;
    --accent-hover: #059669;
    --bg: #f8fafc;
    --text: #1e293b;
    --text-light: #64748b;
    --white: #ffffff;
    --border: #e2e8f0;
}
* { box-sizing: border-box; margin: 0; padding: 0; }
body { font-family: 'Segoe UI', system-ui, sans-serif; background: var(--bg); color: var(--text); line-height: 1.6; }
a { text-decoration: none; color: inherit; transition: 0.2s; }

/* Layout & Container */
.container { max-width: 1100px; margin: 0 auto; padding: 0 1.5rem; }
.layout-grid { display: grid; grid-template-columns: 1fr; gap: 2rem; margin-top: 2rem; }
@media (min-width: 900px) { .layout-grid { grid-template-columns: 3fr 1fr; } }

/* Header & Nav */
header { background: var(--primary); color: var(--white); padding: 1rem 0; }
.navbar { display: flex; justify-content: space-between; align-items: center; }
.logo { font-size: 1.5rem; font-weight: 700; letter-spacing: -0.5px; }
.nav-links { display: flex; gap: 1.5rem; align-items: center; }
.nav-links a { color: #cbd5e1; font-weight: 500; }
.nav-links a:hover { color: var(--white); }

/* Buttons */
.btn { padding: 0.5rem 1rem; border-radius: 6px; font-weight: 600; cursor: pointer; border: none; transition: 0.2s; display: inline-block; text-align: center; }
.btn-primary { background: var(--accent); color: var(--white); }
.btn-primary:hover { background: var(--accent-hover); }
.btn-danger { background: #ef4444; color: var(--white); }
.btn-sm { padding: 0.25rem 0.6rem; font-size: 0.8rem; }

/* Hero */
.hero { text-align: center; padding: 2.5rem 1rem; background: var(--white); border-radius: 8px; box-shadow: 0 1px 3px rgba(0,0,0,0.05); margin-top: 2rem; }
.hero h1 { font-size: 2rem; color: var(--primary); margin-bottom: 0.5rem; }
.hero p { color: var(--text-light); max-width: 600px; margin: 0 auto; }

/* Tables (Predictions) */
.table-container { overflow-x: auto; background: var(--white); border-radius: 8px; box-shadow: 0 1px 3px rgba(0,0,0,0.05); }
table { width: 100%; border-collapse: collapse; min-width: 650px; }
th, td { padding: 1rem; text-align: left; border-bottom: 1px solid var(--border); }
th { background: #f1f5f9; font-weight: 600; color: var(--primary); }
tr:hover { background: #f8fafc; }

/* Badges */
.badge { padding: 0.25rem 0.75rem; border-radius: 999px; font-size: 0.75rem; font-weight: 600; }
.badge-pending { background: #fef3c7; color: #92400e; }
.badge-win { background: #d1fae5; color: #065f46; }
.badge-loss { background: #fee2e2; color: #991b1b; }
.premium-lock { display: inline-flex; align-items: center; gap: 0.4rem; color: var(--accent); font-weight: 600; }

/* Sidebar Components */
.sidebar { display: flex; flex-direction: column; gap: 1.5rem; }
.sidebar-box { background: var(--white); border-radius: 8px; box-shadow: 0 1px 3px rgba(0,0,0,0.05); overflow: hidden; }
.sidebar-box h3 { background: var(--primary); color: white; padding: 0.75rem 1rem; margin: 0; font-size: 1rem; font-weight: 600; }
.sidebar-box .content { padding: 1rem; }

.ad-box { background: #f1f5f9; border: 2px dashed #cbd5e1; border-radius: 8px; padding: 2rem 1rem; text-align: center; color: var(--text-light); }
.ad-box img { max-width: 100%; height: auto; border-radius: 4px; }

/* Premier League Table Widget */
.pl-table { width: 100%; font-size: 0.85rem; border-collapse: collapse; }
.pl-table th { background: #f8fafc; color: var(--text-light); font-weight: 600; padding: 0.5rem; text-align: center; border-bottom: 1px solid var(--border); }
.pl-table td { padding: 0.5rem; text-align: center; border-bottom: 1px solid var(--border); }
.pl-table td:nth-child(2) { text-align: left; font-weight: 500; }
.pl-table tr.ucl { border-left: 3px solid #3b82f6; } /* Champions League */
.pl-table tr.uel { border-left: 3px solid #f97316; } /* Europa League */

/* Forms */
.form-container { max-width: 400px; margin: 3rem auto; background: var(--white); padding: 2rem; border-radius: 8px; box-shadow: 0 4px 6px rgba(0,0,0,0.05); }
.form-group { margin-bottom: 1rem; }
.form-group label { display: block; margin-bottom: 0.4rem; font-weight: 500; font-size: 0.9rem; }
.form-group input, .form-group select { width: 100%; padding: 0.75rem; border: 1px solid var(--border); border-radius: 6px; font-size: 1rem; }
.form-group input:focus { outline: 2px solid var(--accent); border-color: transparent; }

/* Footer */
footer { background: var(--primary); color: #cbd5e1; text-align: center; padding: 2rem 0; margin-top: 3rem; }
footer a { color: var(--white); }