:root {
    --primary: #0a0d0a;
    --primary-light: #132013;
    --accent: #00c853;
    --accent-light: #69f0ae;
    --accent-glow: rgba(0,200,83,0.25);
    --gold: #d4a017;
    --gold-light: #f0c040;
    --green: #00c853;
    --bg: #0a0d0a;
    --bg-card: #101a10;
    --text: #d8e8d8;
    --text-secondary: #8aaa8a;
    --border: #1a3a1a;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    line-height: 1.7; color: var(--text); background-color: var(--bg);
    padding-top: 60px; padding-bottom: 70px;
}

.site-header {
    position: fixed; top: 0; left: 0; width: 100%; z-index: 10000;
    background: linear-gradient(135deg, #050805, #0a1a0a);
    padding: 0 20px; height: 56px;
    display: flex; align-items: center; justify-content: space-between;
    box-shadow: 0 2px 15px rgba(0,200,83,0.15);
    border-bottom: 1px solid var(--accent);
}
.site-logo { color: #fff; font-size: 1.3em; font-weight: 800; text-decoration: none; display: flex; align-items: center; gap: 8px; }
.site-logo span { color: var(--accent-light); }
.header-cta { background: var(--accent); color: #000; padding: 8px 20px; border-radius: 6px; font-weight: 700; font-size: 0.85em; cursor: pointer; border: none; transition: background 0.2s; }
.header-cta:hover { background: var(--accent-light); }

.nav-links { display: flex; gap: 20px; align-items: center; }
.nav-links a { color: var(--text-secondary); text-decoration: none; font-size: 0.85em; font-weight: 600; transition: color 0.2s; }
.nav-links a:hover, .nav-links a.active { color: var(--accent-light); }

.container { max-width: 900px; margin: 0 auto; padding: 30px 20px; }

h1 { font-size: 2em; color: #fff; margin-bottom: 0.5em; line-height: 1.3; }
.subtitle { color: var(--text-secondary); font-size: 1.1em; margin-bottom: 1.5em; padding-bottom: 1.5em; border-bottom: 1px solid var(--border); }
.update-badge { display: inline-block; background: rgba(0,200,83,0.12); color: var(--accent-light); padding: 4px 12px; border-radius: 20px; font-size: 0.8em; font-weight: 700; margin-bottom: 15px; border: 1px solid rgba(0,200,83,0.25); }

h2 { color: #fff; font-size: 1.5em; margin-top: 2.5em; margin-bottom: 0.8em; padding-bottom: 0.5em; border-bottom: 1px solid var(--border); }
h3 { color: var(--accent-light); font-size: 1.2em; margin-top: 1.5em; margin-bottom: 0.6em; }
p { margin-bottom: 1.3em; color: var(--text-secondary); font-size: 1.02em; }
strong { color: var(--text); }
ul, ol { margin: 0.8em 0 1.3em 1.5em; color: var(--text-secondary); }
li { margin-bottom: 0.4em; }
a { color: var(--accent-light); }

.spec-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(140px, 1fr)); gap: 12px; margin: 20px 0; }
.spec-item { background: var(--bg-card); border: 1px solid var(--border); border-radius: 10px; padding: 15px; text-align: center; }
.spec-val { font-size: 1.4em; font-weight: 900; color: var(--accent-light); }
.spec-lbl { font-size: 0.75em; color: var(--text-secondary); text-transform: uppercase; letter-spacing: 1px; margin-top: 4px; }

.casino-card {
    background: var(--bg-card); border: 1px solid var(--border); border-radius: 12px;
    padding: 24px; margin: 20px 0; box-shadow: 0 2px 10px rgba(0,0,0,0.3);
    transition: box-shadow 0.2s; position: relative; cursor: pointer;
}
.casino-card:hover { box-shadow: 0 4px 20px rgba(0,200,83,0.15); }
.casino-card.featured { border: 1px solid var(--accent); }
.casino-rank {
    position: absolute; top: -12px; left: 20px;
    background: var(--accent); color: #000; width: 32px; height: 32px;
    border-radius: 50%; display: flex; align-items: center; justify-content: center;
    font-weight: 900; font-size: 0.9em;
}
.casino-header { display: flex; justify-content: space-between; align-items: center; margin-bottom: 12px; gap: 15px; }
.casino-logo { width: 48px; height: 48px; border-radius: 10px; object-fit: cover; flex-shrink: 0; }
.casino-name { font-size: 1.2em; font-weight: 800; color: #fff; flex: 1; }
.casino-name .badge { display: inline-block; background: rgba(0,200,83,0.15); color: var(--accent-light); padding: 2px 8px; border-radius: 4px; font-size: 0.55em; font-weight: 700; vertical-align: middle; margin-left: 8px; border: 1px solid rgba(0,200,83,0.25); }
.casino-score { background: var(--accent); color: #000; padding: 6px 14px; border-radius: 8px; font-weight: 900; font-size: 1.1em; }
.casino-bonus { background: rgba(0,200,83,0.08); border: 1px solid rgba(0,200,83,0.2); border-radius: 8px; padding: 12px 16px; margin-bottom: 12px; font-weight: 700; color: var(--accent-light); font-size: 1.05em; }
.casino-details { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin-bottom: 15px; }
.casino-detail { display: flex; align-items: center; gap: 6px; font-size: 0.9em; color: var(--text-secondary); }
.casino-pros { list-style: none; margin-left: 0; padding-left: 0; margin-bottom: 15px; }
.casino-pros li { padding: 4px 0; padding-left: 20px; position: relative; }
.casino-pros li::before { content: '✓'; position: absolute; left: 0; color: var(--accent); font-weight: 700; }
.casino-cta {
    display: block; width: 100%; background: var(--accent); color: #000; padding: 14px;
    border: none; border-radius: 8px; font-size: 1.05em; font-weight: 700;
    text-align: center; cursor: pointer; transition: background 0.2s;
}
.casino-cta:hover { background: var(--accent-light); }

.info-box { background: rgba(212,160,23,0.08); border: 1px solid rgba(212,160,23,0.2); border-left: 4px solid var(--gold); border-radius: 8px; padding: 16px 20px; margin: 20px 0; }
.info-box.red { background: rgba(231,76,60,0.08); border-color: rgba(231,76,60,0.2); border-left-color: #e74c3c; }
.info-box.green { background: rgba(0,200,83,0.08); border-color: rgba(0,200,83,0.2); border-left-color: var(--accent); }

.table-wrapper { overflow-x: auto; margin: 20px 0; }
.comp-table { width: 100%; border-collapse: collapse; font-size: 0.92em; background: var(--bg-card); border-radius: 8px; overflow: hidden; }
.comp-table th { background: #0d260d; color: var(--accent-light); padding: 12px 10px; text-align: left; font-weight: 700; }
.comp-table td { padding: 10px; border-bottom: 1px solid var(--border); color: var(--text-secondary); }
.comp-table tr:hover { background: rgba(0,200,83,0.04); }

.toc { background: var(--bg-card); border: 1px solid var(--border); border-radius: 10px; padding: 20px 25px; margin: 20px 0; }
.toc h3 { margin-top: 0; color: #fff; font-size: 1.1em; }
.toc ol { margin-bottom: 0; }
.toc a { color: var(--accent-light); text-decoration: none; }
.toc a:hover { text-decoration: underline; }

.faq-item { margin: 12px 0; border: 1px solid var(--border); border-radius: 8px; overflow: hidden; }
.faq-q { background: var(--bg-card); padding: 14px 18px; cursor: pointer; font-weight: 700; color: #fff; display: flex; justify-content: space-between; align-items: center; }
.faq-q::after { content: '+'; font-size: 1.3em; color: var(--accent); }
.faq-q.open::after { content: '−'; }
.faq-a { padding: 14px 18px; display: none; color: var(--text-secondary); background: rgba(16,26,16,0.8); }
.faq-a.open { display: block; }

.footer { text-align: center; padding: 30px 20px; margin-top: 40px; font-size: 0.85em; color: #555; border-top: 1px solid var(--border); }

.author-box { display: flex; gap: 20px; align-items: flex-start; background: var(--bg-card); border: 1px solid var(--border); border-radius: 12px; padding: 25px; margin: 40px 0 0; }
.author-avatar { width: 90px; height: 90px; border-radius: 50%; border: 3px solid var(--accent); flex-shrink: 0; }
.author-info { flex: 1; }
.author-name { font-size: 1.15em; font-weight: 700; color: #fff; margin-bottom: 4px; }
.author-title { font-size: 0.85em; color: var(--accent-light); margin-bottom: 10px; font-weight: 600; }
.author-bio { font-size: 0.9em; color: var(--text-secondary); line-height: 1.6; }
.author-credentials { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 12px; }
.author-credentials span { background: rgba(0,200,83,0.12); border: 1px solid rgba(0,200,83,0.25); padding: 3px 10px; border-radius: 20px; font-size: 0.78em; color: var(--accent-light); }
@media (max-width: 600px) { .author-box { flex-direction: column; align-items: center; text-align: center; } .author-credentials { justify-content: center; } }

.sticky-bottom-bar {
    position: fixed; bottom: 0; left: 0; width: 100%;
    background: linear-gradient(135deg, #050805, #0a1a0a);
    border-top: 1px solid var(--accent); z-index: 9999;
    display: flex; justify-content: space-around; align-items: center; padding: 8px 0;
    box-shadow: 0 -3px 15px rgba(0,0,0,0.5);
}
.bottom-bar-item { display: flex; flex-direction: column; align-items: center; cursor: pointer; color: #555; font-size: 0.65em; font-weight: 600; text-transform: uppercase; transition: color 0.2s; gap: 2px; }
.bottom-bar-item:hover, .bottom-bar-item.active { color: #fff; }
.bottom-bar-item .bar-icon { font-size: 20px; }
.bottom-bar-item.register-btn { background: var(--accent); color: #000; padding: 10px 22px; border-radius: 30px; font-size: 0.8em; font-weight: 800; margin-top: -12px; border: 2px solid #1a3a1a; }

.demo-frame { width: 100%; height: 500px; border: 2px solid var(--border); border-radius: 12px; background: #000; }

@media (max-width: 768px) {
    .container { padding: 20px 15px; }
    h1 { font-size: 1.6em; }
    h2 { font-size: 1.3em; }
    .casino-header { flex-direction: column; align-items: flex-start; }
    .casino-details { grid-template-columns: 1fr; }
    .site-logo { font-size: 1.1em; }
    .nav-links { gap: 10px; }
    .nav-links a { font-size: 0.75em; }
    .demo-frame { height: 350px; }
    .spec-grid { grid-template-columns: repeat(2, 1fr); }
}
