:root {
    --bg: #0f172a; /* Slate 900 */
    --surface: #ffffff;
    --text-main: #1e293b;
    --text-muted: #64748b;
    --accent: #f97316; /* Betsson Orange */
    --anj-gold: #fbbf24;
    --font-sans: 'Inter', system-ui, -apple-system, sans-serif;
}

* { box-sizing: border-box; }
body {
    margin: 0;
    font-family: var(--font-sans);
    background-color: #f8fafc;
    color: var(--text-main);
    -webkit-font-smoothing: antialiased;
}

.container { max-width: 1200px; margin: 0 auto; padding: 0 24px; }
.flex-center { display: flex; align-items: center; justify-content: center; gap: 15px; }

/* ANJ Header */
.anj-legal-header {
    background: var(--anj-gold);
    color: #000;
    padding: 12px 0;
    font-size: 13px;
    font-weight: 700;
    letter-spacing: -0.01em;
    border-bottom: 2px solid #000;
}

.warning-tag {
    background: #000;
    color: #fff;
    padding: 2px 8px;
    border-radius: 4px;
    font-size: 11px;
}

/* Header */
.site-header {
    background: var(--bg);
    padding: 24px 0;
    position: sticky;
    top: 0;
    z-index: 100;
}

.header-wrap { display: flex; justify-content: space-between; align-items: center; }

.brand { font-weight: 800; font-size: 22px; letter-spacing: -0.03em; }
.brand a { color: #fff; text-decoration: none; }
.brand span { color: var(--accent); }

.main-nav ul { list-style: none; display: flex; align-items: center; gap: 32px; margin: 0; }
.main-nav a { color: #cbd5e1; text-decoration: none; font-weight: 500; font-size: 15px; transition: 0.2s; }
.main-nav a:hover, .main-nav a.active { color: var(--accent); }

.nav-btn {
    background: var(--accent);
    color: #fff !important;
    padding: 10px 20px;
    border-radius: 8px;
}

/* Hero Section */
.hero {
    background: var(--bg);
    color: #fff;
    padding: 100px 0;
    position: relative;
    overflow: hidden;
}

.hero::after {
    content: "";
    position: absolute;
    top: -50%; right: -10%;
    width: 600px; height: 600px;
    background: radial-gradient(circle, rgba(249,115,22,0.15) 0%, rgba(15,23,42,0) 70%);
}

.hero-text { max-width: 700px; }
.category-label { color: var(--accent); font-weight: 700; font-size: 14px; letter-spacing: 0.1em; }
.hero h1 { font-size: 56px; font-weight: 800; line-height: 1.1; margin: 20px 0; letter-spacing: -0.04em; }
.hero p { font-size: 20px; color: #94a3b8; line-height: 1.6; }

.hero-meta { display: flex; align-items: center; gap: 12px; margin-top: 32px; }
.avatar { width: 44px; height: 44px; border-radius: 50%; border: 2px solid var(--accent); }

/* Main Content Layout */
.content-layout {
    display: grid;
    grid-template-columns: 1fr 340px;
    gap: 48px;
    margin-top: -60px;
    position: relative;
    z-index: 10;
}

/* Cards */
.premium-card {
    background: var(--surface);
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 20px 40px rgba(0,0,0,0.05);
    transition: transform 0.3s ease;
}

.premium-card:hover { transform: translateY(-5px); }
.card-img { height: 400px; background-size: cover; background-position: center; }
.card-body { padding: 40px; }
.card-body h2 { font-size: 32px; margin-top: 0; letter-spacing: -0.02em; }
.card-body p { font-size: 17px; color: var(--text-muted); line-height: 1.7; }

.read-more {
    color: var(--accent);
    text-decoration: none;
    font-weight: 700;
    display: flex;
    align-items: center;
    gap: 10px;
    margin-top: 24px;
}

/* Sidebar Widgets */
.ranking-widget {
    background: var(--surface);
    padding: 32px;
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.04);
}

.rank-row {
    display: flex;
    align-items: center;
    padding: 20px 0;
    border-bottom: 1px solid #f1f5f9;
}

.rank-num { font-size: 28px; font-weight: 800; color: #e2e8f0; margin-right: 20px; }
.rank-info { flex-grow: 1; }
.rank-info strong { display: block; font-size: 16px; }
.rank-info span { font-size: 12px; color: var(--text-muted); }
.rank-score { font-weight: 800; color: var(--accent); background: #fff7ed; padding: 6px 12px; border-radius: 8px; }

.info-card {
    margin-top: 24px;
    background: #0f172a;
    color: #fff;
    padding: 32px;
    border-radius: 20px;
}

.info-card i { font-size: 24px; color: var(--accent); margin-bottom: 16px; }

/* Age Gate Styling */
.age-gate-overlay {
    position: fixed;
    inset: 0;
    background: rgba(15, 23, 42, 0.9);
    backdrop-filter: blur(12px);
    z-index: 1000;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: 0.5s;
}

.age-gate-card {
    background: #fff;
    padding: 60px;
    border-radius: 32px;
    max-width: 500px;
    text-align: center;
    box-shadow: 0 25px 50px -12px rgba(0,0,0,0.5);
}

.gate-icon { font-size: 48px; color: var(--accent); margin-bottom: 24px; }
.btn-main {
    background: var(--accent);
    color: #fff;
    border: none;
    padding: 16px 32px;
    font-size: 16px;
    font-weight: 700;
    border-radius: 12px;
    cursor: pointer;
    width: 100%;
}

.fade-out { opacity: 0; pointer-events: none; }

/* Footer */
.site-footer {
    background: #020617;
    color: #94a3b8;
    padding: 80px 0;
    margin-top: 100px;
}

.footer-grid { display: grid; grid-template-columns: 1fr 1fr; }
.footer-links h4 { color: #fff; margin-bottom: 24px; }
.footer-links a { display: block; color: #94a3b8; text-decoration: none; margin-bottom: 12px; }

@media (max-width: 1024px) {
    .content-layout { grid-template-columns: 1fr; }
    .hero h1 { font-size: 42px; }
}

/* Дополнительные стили для новых страниц */
.breadcrumb { font-size: 13px; color: var(--text-muted); margin-bottom: 20px; text-transform: uppercase; letter-spacing: 0.05em; }
.license-badge-large { display: inline-flex; align-items: center; gap: 12px; background: #f1f5f9; padding: 12px 24px; border-radius: 12px; color: var(--primary); font-weight: 700; margin-bottom: 32px; }
.editorial-content h2 { margin-top: 40px; font-size: 28px; }
.pros-cons { margin: 40px 0; background: #fdfdfd; border: 1px solid #e2e8f0; border-radius: 16px; padding: 32px; }
.pros h4 { color: #10b981; margin-top: 0; }
.cta-section { background: var(--bg); color: #fff; padding: 48px; border-radius: 24px; text-align: center; margin-top: 60px; }
.cta-section .btn-main { width: auto; display: inline-block; padding: 18px 48px; }

.legal-grid, .advice-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; margin-top: 40px; }
.legal-card, .advice-card { background: #fff; padding: 32px; border-radius: 20px; border: 1px solid #e2e8f0; }
.legal-card i, .advice-card i { font-size: 32px; color: var(--accent); margin-bottom: 20px; }

.emergency-box { display: flex; align-items: center; gap: 24px; background: #fff7ed; border: 2px solid var(--accent); padding: 32px; border-radius: 20px; margin-top: 32px; }
.emergency-box i { font-size: 40px; color: var(--accent); }
.emergency-box h3 { margin: 0; color: var(--text-main); }

.rank-row-link { text-decoration: none; color: inherit; display: block; }

/* Стили для страницы подписки */
.subscription-page {
    padding: 100px 0;
    display: flex;
    justify-content: center;
}

.sub-card {
    background: #fff;
    padding: 60px;
    border-radius: 32px;
    max-width: 600px;
    text-align: center;
    box-shadow: 0 30px 60px rgba(0,0,0,0.1);
}

.sub-icon {
    font-size: 50px;
    color: var(--accent);
    margin-bottom: 30px;
}

.sub-form {
    text-align: left;
    margin-top: 40px;
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    font-weight: 600;
    margin-bottom: 8px;
    font-size: 14px;
}

.form-group input {
    width: 100%;
    padding: 14px;
    border: 1px solid #e2e8f0;
    border-radius: 10px;
    font-size: 16px;
    outline: none;
    transition: border-color 0.2s;
}

.form-group input:focus {
    border-color: var(--accent);
}

.checkbox-group {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    margin-bottom: 15px;
    font-size: 13px;
    color: var(--text-muted);
}

.checkbox-group input {
    margin-top: 3px;
}

.sub-disclaimer {
    margin-top: 30px;
    font-size: 12px;
    color: #94a3b8;
    line-height: 1.5;
}

/* Эффект для кнопки в меню */
.nav-btn {
    background: var(--accent);
    color: #fff !important;
    padding: 10px 22px;
    border-radius: 10px;
    transition: transform 0.2s, background 0.2s;
}

.nav-btn:hover {
    background: #e66712 !important;
    transform: translateY(-2px);
}