:root {
    --primary: #1a1a2e;
    --secondary: #16213e;
    --accent: #e94560;
    --gold: #f5a623;
    --green: #27ae60;
    --dark: #0f0f1a;
    --charcoal: #1a1a2e;
    --slate: #2c2c54;
    --gray: #636e72;
    --light: #dfe6e9;
    --bg: #f8f9fa;
    --white: #ffffff;
    --font: 'Segoe UI', Roboto, -apple-system, BlinkMacSystemFont, Helvetica, Arial, sans-serif;
    --radius: 12px;
    --shadow: 0 4px 20px rgba(0,0,0,0.08);
    --shadow-lg: 0 8px 40px rgba(0,0,0,0.12);
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
    font-family: var(--font);
    background: var(--bg);
    color: #333;
    line-height: 1.7;
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}

/* ===== HEADER ===== */
.site-header {
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    color: white;
    padding: 0;
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 2px 20px rgba(0,0,0,0.3);
}
.header-inner {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0.8rem 1.5rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.logo {
    font-size: 1.4rem;
    font-weight: 800;
    color: white;
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}
.logo span { color: var(--accent); }

/* Navigation */
.main-nav { display: flex; align-items: center; gap: 0; }
.main-nav > a, .nav-dropdown > a {
    color: rgba(255,255,255,0.85);
    text-decoration: none;
    font-size: 0.85rem;
    padding: 0.5rem 0.7rem;
    border-radius: 6px;
    transition: all 0.2s;
    white-space: nowrap;
}
.main-nav > a:hover, .nav-dropdown > a:hover { color: white; background: rgba(255,255,255,0.1); }
.main-nav > a.active, .nav-dropdown > a.active { color: var(--accent); }

/* Dropdown Navigation */
.nav-dropdown {
    position: relative;
}
.nav-dropdown > a {
    display: flex;
    align-items: center;
    gap: 0.3rem;
}
.dropdown-content {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    background: var(--primary);
    border: 1px solid rgba(255,255,255,0.1);
    border-radius: 8px;
    min-width: 220px;
    box-shadow: 0 8px 30px rgba(0,0,0,0.4);
    z-index: 1001;
    padding: 0.5rem 0;
    max-height: 70vh;
    overflow-y: auto;
}
.dropdown-content a {
    display: block;
    color: rgba(255,255,255,0.8);
    text-decoration: none;
    padding: 0.45rem 1.2rem;
    font-size: 0.82rem;
    transition: all 0.15s;
    white-space: nowrap;
}
.dropdown-content a:hover {
    color: white;
    background: rgba(255,255,255,0.1);
}
.nav-dropdown:hover > .dropdown-content {
    display: block;
}
.dropdown-wide {
    min-width: 200px;
    columns: 2;
    column-gap: 0;
}
.dropdown-wide a { break-inside: avoid; }
.dropdown-divider {
    height: 1px;
    background: rgba(255,255,255,0.1);
    margin: 0.3rem 0;
}

.hamburger {
    display: none;
    background: none;
    border: none;
    color: white;
    font-size: 1.5rem;
    cursor: pointer;
    padding: 0.5rem;
}

/* ===== HERO ===== */
.hero {
    background: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 50%, #0a3d62 100%);
    color: white;
    padding: 4rem 1.5rem;
    text-align: center;
    position: relative;
    overflow: hidden;
}
.hero::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(233,69,96,0.1) 0%, transparent 50%);
    animation: pulse 8s ease-in-out infinite;
}
@keyframes pulse {
    0%, 100% { transform: scale(1); opacity: 0.5; }
    50% { transform: scale(1.1); opacity: 1; }
}
.hero-content { position: relative; z-index: 1; max-width: 900px; margin: 0 auto; }
.hero h1 {
    font-size: 2.8rem;
    font-weight: 800;
    margin-bottom: 1rem;
    line-height: 1.2;
}
.hero h1 em { color: var(--accent); font-style: normal; }
.hero p {
    font-size: 1.15rem;
    opacity: 0.9;
    max-width: 700px;
    margin: 0 auto 2rem;
    line-height: 1.6;
}
.hero-badges {
    display: flex;
    justify-content: center;
    gap: 1.5rem;
    flex-wrap: wrap;
    margin-top: 1.5rem;
}
.hero-badge {
    background: rgba(255,255,255,0.1);
    border: 1px solid rgba(255,255,255,0.2);
    padding: 0.5rem 1.2rem;
    border-radius: 50px;
    font-size: 0.85rem;
    backdrop-filter: blur(10px);
}

/* ===== BREADCRUMBS ===== */
.breadcrumbs {
    max-width: 1200px;
    margin: 1rem auto 0;
    padding: 0 1.5rem;
    font-size: 0.85rem;
    color: var(--gray);
}
.breadcrumbs a { color: var(--accent); text-decoration: none; }
.breadcrumbs a:hover { text-decoration: underline; }
.breadcrumbs span { margin: 0 0.4rem; }

/* ===== MAIN ===== */
main {
    flex: 1;
    max-width: 1200px;
    margin: 0 auto;
    padding: 2rem 1.5rem;
    width: 100%;
}

/* ===== UPDATE BAR ===== */
.update-bar {
    background: linear-gradient(90deg, #e8f5e9, #f1f8e9);
    border: 1px solid #c8e6c9;
    border-radius: var(--radius);
    padding: 0.8rem 1.2rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.9rem;
    margin-bottom: 2rem;
}
.update-bar strong { color: var(--green); }

/* ===== AUTHOR BOX (EEAT) ===== */
.author-box {
    display: flex;
    align-items: center;
    gap: 1rem;
    background: white;
    border: 1px solid var(--light);
    border-radius: var(--radius);
    padding: 1.2rem;
    margin-bottom: 2rem;
}
.author-avatar {
    width: 56px;
    height: 56px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--accent), var(--gold));
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-weight: 700;
    font-size: 1.2rem;
    flex-shrink: 0;
}
.author-info { flex: 1; }
.author-name { font-weight: 700; font-size: 0.95rem; }
.author-role { font-size: 0.82rem; color: var(--gray); }
.author-date { font-size: 0.8rem; color: var(--gray); margin-top: 2px; }

/* ===== METHODOLOGY BOX (EEAT) ===== */
.methodology-box {
    background: linear-gradient(135deg, #f8f9fa, #e8eaf6);
    border: 1px solid #c5cae9;
    border-radius: var(--radius);
    padding: 1.5rem;
    margin: 2rem 0;
}
.methodology-box h3 { color: var(--primary); margin-bottom: 0.8rem; font-size: 1.1rem; }
.methodology-box ul { padding-left: 1.5rem; }
.methodology-box li { margin-bottom: 0.4rem; font-size: 0.92rem; }

/* ===== CASINO CARDS ===== */
.casino-card {
    background: white;
    border: 1px solid var(--light);
    border-radius: var(--radius);
    padding: 1.5rem;
    margin-bottom: 1.2rem;
    box-shadow: var(--shadow);
    transition: transform 0.2s, box-shadow 0.2s;
    display: grid;
    grid-template-columns: auto 1fr auto;
    gap: 1.2rem;
    align-items: center;
}
.casino-card:hover { transform: translateY(-2px); box-shadow: var(--shadow-lg); }
.casino-rank {
    background: linear-gradient(135deg, var(--accent), #c0392b);
    color: white;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 800;
    font-size: 1.1rem;
}
.casino-rank.gold { background: linear-gradient(135deg, var(--gold), #e67e22); }
.casino-info h3 { font-size: 1.15rem; margin-bottom: 0.3rem; }
.casino-info h3 a { color: var(--primary); text-decoration: none; }
.casino-info h3 a:hover { color: var(--accent); }
.casino-meta {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
    font-size: 0.85rem;
    color: var(--gray);
    margin-top: 0.3rem;
}
.casino-meta span { display: flex; align-items: center; gap: 0.3rem; }
.casino-bonus {
    background: linear-gradient(135deg, #fff3e0, #ffe0b2);
    border: 1px solid #ffcc80;
    border-radius: 8px;
    padding: 0.6rem 1rem;
    text-align: center;
    white-space: nowrap;
}
.casino-bonus .amount { font-weight: 800; color: #e65100; font-size: 1.1rem; display: block; }
.casino-bonus .label { font-size: 0.75rem; color: #bf360c; }

.casino-rating {
    display: flex;
    align-items: center;
    gap: 0.3rem;
    margin-top: 0.4rem;
}
.stars { color: var(--gold); letter-spacing: 1px; }
.rating-num { font-weight: 700; font-size: 0.9rem; color: var(--primary); }

.casino-tags { display: flex; gap: 0.4rem; flex-wrap: wrap; margin-top: 0.5rem; }
.tag {
    background: #e8eaf6;
    color: #3949ab;
    font-size: 0.72rem;
    padding: 0.2rem 0.6rem;
    border-radius: 20px;
    font-weight: 600;
}
.tag.green { background: #e8f5e9; color: #2e7d32; }
.tag.gold { background: #fff8e1; color: #f57f17; }

/* ===== CTA BUTTONS ===== */
.btn {
    display: inline-block;
    padding: 0.7rem 1.8rem;
    border-radius: 8px;
    font-weight: 700;
    text-decoration: none;
    text-align: center;
    transition: all 0.2s;
    font-size: 0.9rem;
    cursor: pointer;
    border: none;
}
.btn-primary {
    background: linear-gradient(135deg, var(--accent), #c0392b);
    color: white;
}
.btn-primary:hover { transform: translateY(-1px); box-shadow: 0 4px 15px rgba(233,69,96,0.4); }
.btn-secondary {
    background: white;
    color: var(--primary);
    border: 2px solid var(--primary);
}
.btn-secondary:hover { background: var(--primary); color: white; }
.btn-gold {
    background: linear-gradient(135deg, var(--gold), #e67e22);
    color: white;
}
.btn-gold:hover { transform: translateY(-1px); box-shadow: 0 4px 15px rgba(245,166,35,0.4); }

/* ===== CONTENT SECTIONS ===== */
.content-section {
    background: white;
    border: 1px solid var(--light);
    border-radius: var(--radius);
    padding: 2rem;
    margin-bottom: 2rem;
    box-shadow: var(--shadow);
}
.content-section h2 {
    color: var(--primary);
    font-size: 1.5rem;
    margin-bottom: 1rem;
    padding-bottom: 0.5rem;
    border-bottom: 2px solid var(--accent);
}
.content-section h3 { color: var(--secondary); font-size: 1.15rem; margin: 1.2rem 0 0.6rem; }
.content-section p { margin-bottom: 1rem; }
.content-section ul, .content-section ol { padding-left: 1.5rem; margin-bottom: 1rem; }
.content-section li { margin-bottom: 0.5rem; }

/* ===== TABLE OF CONTENTS ===== */
.toc {
    background: #f0f4f8;
    border: 1px solid #d0d7de;
    border-radius: var(--radius);
    padding: 1.5rem;
    margin-bottom: 2rem;
}
.toc h4 { margin-bottom: 0.8rem; color: var(--primary); font-size: 1rem; }
.toc ol { padding-left: 1.2rem; }
.toc li { margin-bottom: 0.4rem; font-size: 0.9rem; }
.toc a { color: var(--accent); text-decoration: none; }
.toc a:hover { text-decoration: underline; }

/* ===== COMPARISON TABLE ===== */
.comparison-table {
    width: 100%;
    border-collapse: collapse;
    margin: 1.5rem 0;
    font-size: 0.9rem;
}
.comparison-table th {
    background: var(--primary);
    color: white;
    padding: 0.8rem 1rem;
    text-align: left;
    font-weight: 600;
}
.comparison-table td {
    padding: 0.8rem 1rem;
    border-bottom: 1px solid var(--light);
}
.comparison-table tr:nth-child(even) { background: #f8f9fa; }
.comparison-table tr:hover { background: #e8eaf6; }

/* ===== INFO BOXES ===== */
.info-box {
    border-radius: var(--radius);
    padding: 1.2rem 1.5rem;
    margin: 1.5rem 0;
    font-size: 0.92rem;
}
.info-box.warning {
    background: #fff3e0;
    border-left: 4px solid #ff9800;
}
.info-box.tip {
    background: #e8f5e9;
    border-left: 4px solid var(--green);
}
.info-box.legal {
    background: #e3f2fd;
    border-left: 4px solid #1976d2;
}
.info-box.danger {
    background: #fce4ec;
    border-left: 4px solid var(--accent);
}

/* ===== FAQ ===== */
.faq-item {
    border: 1px solid var(--light);
    border-radius: 8px;
    margin-bottom: 0.8rem;
    overflow: hidden;
}
.faq-question {
    background: #f8f9fa;
    padding: 1rem 1.2rem;
    font-weight: 700;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.faq-question::after { content: '+'; font-size: 1.2rem; color: var(--accent); }
.faq-question.open::after { content: '-'; }
.faq-answer {
    padding: 0 1.2rem;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s, padding 0.3s;
}
.faq-answer.open { max-height: 500px; padding: 1rem 1.2rem; }

/* ===== PROS/CONS ===== */
.pros-cons { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; margin: 1rem 0; }
.pros h4 { color: var(--green); margin-bottom: 0.5rem; }
.cons h4 { color: var(--accent); margin-bottom: 0.5rem; }
.pros li::marker { content: '+ '; color: var(--green); font-weight: 700; }
.cons li::marker { content: '- '; color: var(--accent); font-weight: 700; }

/* ===== PAYMENT GRID ===== */
.payment-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
    gap: 1rem;
    margin: 1rem 0;
}
.payment-card {
    background: white;
    border: 1px solid var(--light);
    border-radius: 8px;
    padding: 1rem;
    text-align: center;
    transition: all 0.2s;
}
.payment-card:hover { border-color: var(--accent); box-shadow: var(--shadow); }
.payment-card .name { font-weight: 700; font-size: 0.95rem; margin-bottom: 0.3rem; }
.payment-card .detail { font-size: 0.8rem; color: var(--gray); }

/* ===== SIDEBAR-LIKE BOXES ===== */
.sidebar-box {
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    color: white;
    border-radius: var(--radius);
    padding: 1.5rem;
    margin: 2rem 0;
}
.sidebar-box h3 { margin-bottom: 0.8rem; font-size: 1.1rem; }
.sidebar-box a { color: var(--gold); }

/* ===== RESPONSIBLE GAMING ===== */
.responsible-gaming {
    background: linear-gradient(135deg, #e8f5e9, #c8e6c9);
    border: 1px solid #a5d6a7;
    border-radius: var(--radius);
    padding: 1.5rem;
    margin: 2rem 0;
    text-align: center;
}
.responsible-gaming h3 { color: #2e7d32; margin-bottom: 0.5rem; }
.responsible-gaming p { font-size: 0.9rem; color: #1b5e20; }

/* ===== FOOTER ===== */
.site-footer {
    background: linear-gradient(135deg, var(--dark), var(--primary));
    color: rgba(255,255,255,0.7);
    padding: 3rem 1.5rem 1.5rem;
    margin-top: auto;
}
.footer-inner {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2rem;
}
.footer-col h4 {
    color: white;
    font-size: 0.95rem;
    margin-bottom: 1rem;
    padding-bottom: 0.5rem;
    border-bottom: 1px solid rgba(255,255,255,0.1);
}
.footer-col a {
    display: block;
    color: rgba(255,255,255,0.6);
    text-decoration: none;
    font-size: 0.85rem;
    padding: 0.25rem 0;
    transition: color 0.2s;
}
.footer-col a:hover { color: var(--accent); }
.footer-bottom {
    max-width: 1200px;
    margin: 2rem auto 0;
    padding-top: 1.5rem;
    border-top: 1px solid rgba(255,255,255,0.1);
    text-align: center;
    font-size: 0.78rem;
}
.footer-disclaimer {
    max-width: 800px;
    margin: 0 auto 1rem;
    font-size: 0.75rem;
    line-height: 1.5;
    opacity: 0.6;
}
.footer-badges {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin-top: 0.5rem;
    font-size: 0.75rem;
}
.footer-badges span {
    background: rgba(255,255,255,0.1);
    padding: 0.3rem 0.8rem;
    border-radius: 20px;
}

/* ===== TWO-COLUMN LAYOUT ===== */
.two-col { display: grid; grid-template-columns: 2fr 1fr; gap: 2rem; }
.two-col .main-col { min-width: 0; }
.two-col .side-col { min-width: 0; }

/* ===== RESPONSIVE ===== */
@media (max-width: 968px) {
    .two-col { grid-template-columns: 1fr; }
    .casino-card { grid-template-columns: 1fr; text-align: center; }
    .casino-rank { margin: 0 auto; }
    .pros-cons { grid-template-columns: 1fr; }
    .hero h1 { font-size: 2rem; }
}
@media (max-width: 768px) {
    .main-nav { display: none; }
    .main-nav.open {
        display: flex;
        flex-direction: column;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: var(--primary);
        padding: 1rem;
        box-shadow: 0 4px 20px rgba(0,0,0,0.3);
        max-height: 80vh;
        overflow-y: auto;
    }
    .main-nav.open .nav-dropdown { width: 100%; }
    .main-nav.open .nav-dropdown > a { width: 100%; }
    .main-nav.open .dropdown-content {
        position: static;
        display: none;
        box-shadow: none;
        border: none;
        padding-left: 1rem;
        columns: 1;
        min-width: auto;
        max-height: none;
    }
    .main-nav.open .nav-dropdown.open > .dropdown-content { display: block; }
    .dropdown-wide { columns: 1; }
    .hamburger { display: block; }
    .hero { padding: 2.5rem 1rem; }
    .hero h1 { font-size: 1.6rem; }
    .hero p { font-size: 1rem; }
    .content-section { padding: 1.2rem; }
    .footer-inner { grid-template-columns: 1fr 1fr; }
    .comparison-table { font-size: 0.8rem; }
    .comparison-table th, .comparison-table td { padding: 0.5rem; }
}
@media (max-width: 480px) {
    .footer-inner { grid-template-columns: 1fr; }
    .hero-badges { flex-direction: column; align-items: center; }
    .payment-grid { grid-template-columns: 1fr 1fr; }
}

/* ===== GAME CARDS ===== */
.game-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 1.2rem;
    margin: 1.5rem 0;
}
.game-card {
    background: white;
    border: 1px solid var(--light);
    border-radius: var(--radius);
    padding: 1.5rem;
    text-align: center;
    transition: all 0.2s;
}
.game-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-lg); }
.game-icon { font-size: 2.5rem; margin-bottom: 0.8rem; }
.game-card h3 { font-size: 1rem; color: var(--primary); margin-bottom: 0.4rem; }
.game-card p { font-size: 0.85rem; color: var(--gray); }

/* ===== STEP BOXES ===== */
.steps { counter-reset: step; }
.step {
    counter-increment: step;
    background: white;
    border: 1px solid var(--light);
    border-radius: var(--radius);
    padding: 1.5rem 1.5rem 1.5rem 4rem;
    margin-bottom: 1rem;
    position: relative;
}
.step::before {
    content: counter(step);
    position: absolute;
    left: 1rem;
    top: 1.2rem;
    width: 32px;
    height: 32px;
    background: var(--accent);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 800;
    font-size: 0.9rem;
}
.step h4 { margin-bottom: 0.3rem; color: var(--primary); }
.step p { font-size: 0.9rem; color: #555; }

/* ===== STATS ROW ===== */
.stats-row {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
    gap: 1rem;
    margin: 1.5rem 0;
}
.stat-box {
    background: white;
    border: 1px solid var(--light);
    border-radius: 8px;
    padding: 1rem;
    text-align: center;
}
.stat-num { font-size: 1.8rem; font-weight: 800; color: var(--accent); }
.stat-label { font-size: 0.8rem; color: var(--gray); }
