/* ============================================
   Казино Миллион — style.css
   Primary: #d4af37 (gold)
   Dark BG: #0c0a06
   ============================================ */

:root {
    --primary: #f2a51c;
    --primary-dark: #d97b0f;
    --primary-light: #ffc94d;
    --bg-dark: #0a2818;
    --bg-card: #0f3322;
    --bg-card-hover: #15402b;
    --text: #e6f0e8;
    --text-muted: #8fb39d;
    --text-heading: #ffffff;
    --accent: #e8541e;
    --success: #5cb85c;
    --border: #1c4631;
    --radius: 10px;
    --max-width: 1100px;
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
    font-family: 'Segoe UI', system-ui, -apple-system, sans-serif;
    background: var(--bg-dark);
    color: var(--text);
    line-height: 1.7;
    font-size: 17px;
}

a { color: var(--primary-light); text-decoration: none; transition: color .2s; }
a:hover { color: var(--accent); }
img { max-width: 100%; height: auto; border-radius: var(--radius); }
.container { max-width: var(--max-width); margin: 0 auto; padding: 0 20px; }

/* ---- HEADER / NAV ---- */
header {
    position: sticky; top: 0; z-index: 100;
    background: rgba(8, 32, 22, .97);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--border);
    padding: 0 20px;
}
.nav-inner {
    max-width: var(--max-width); margin: 0 auto;
    display: flex; align-items: center; justify-content: space-between; height: 64px;
}
.nav-logo { font-size: 1.35rem; font-weight: 800; color: var(--primary-light); letter-spacing: .5px; }
.nav-logo span { color: var(--text-heading); font-weight: 400; }
.nav-logo img { height: 40px; width: auto; }
.nav-links { display: flex; gap: 22px; list-style: none; align-items: center; }
.nav-links a { color: var(--text-muted); font-size: 15px; font-weight: 500; }
.nav-links a:hover, .nav-links a.active { color: var(--primary-light); }
.nav-cta {
    background: var(--primary); color: #3a1e00 !important;
    padding: 11px 28px; border-radius: 8px; font-weight: 800; font-size: 16px; text-transform: uppercase; letter-spacing: .5px; transition: background .2s;
    animation: ctaPulse 2.2s ease-in-out infinite;
}
.nav-cta:hover { background: var(--primary-light); color: #3a1e00 !important; animation: none; }
.nav-toggle { display: none; background: none; border: none; cursor: pointer; padding: 8px; }
.nav-toggle span { display: block; width: 24px; height: 2px; background: var(--text); margin: 6px 0; transition: .3s; }

/* ---- HERO ---- */
.hero {
    background: linear-gradient(135deg, #0a2818 0%, #0d3a24 50%, #082016 100%);
    padding: 60px 20px; text-align: center; border-bottom: 1px solid var(--border);
}
.hero h1 { font-size: 2.6rem; color: var(--text-heading); margin-bottom: 8px; font-weight: 800; letter-spacing: -0.5px; }
.hero h1 span { color: var(--primary-light); font-weight: 400; display: block; font-size: 1.4rem; margin-top: 6px; }
.h1-sub { color: var(--text-muted); font-size: 1.1rem; margin-bottom: 20px; font-weight: 400; }
.hero-rating { display: flex; align-items: center; justify-content: center; gap: 10px; margin: 16px 0; }
.hero-rating .stars { color: var(--primary); font-size: 1.3rem; }
.hero-rating .score { font-size: 1.1rem; color: var(--text); font-weight: 600; }
.hero-bonus {
    background: var(--bg-card); border: 1px solid var(--primary);
    border-radius: var(--radius); padding: 20px 28px; display: block; width: fit-content; margin: 20px auto;
}
.hero-bonus .amount { font-size: 1.8rem; font-weight: 800; color: var(--primary); }
.hero-bonus .desc { color: var(--text-muted); font-size: .95rem; margin-top: 4px; }
.hero .cta-btn { display: inline-block; margin: 8px auto 0; }
.cta-btn {
    display: inline-block; background: var(--primary); color: #3a1e00;
    padding: 14px 36px; border-radius: 8px; font-weight: 700; font-size: 1.05rem;
    margin-top: 16px; transition: background .2s, transform .15s;
    animation: ctaPulse 2.2s ease-in-out infinite;
}
.cta-btn:hover { background: var(--primary-light); color: #3a1e00; transform: translateY(-2px); animation: none; }
@keyframes ctaPulse {
    0%   { box-shadow: 0 0 0 0 rgba(242,165,28,.55); }
    70%  { box-shadow: 0 0 0 14px rgba(242,165,28,0); }
    100% { box-shadow: 0 0 0 0 rgba(242,165,28,0); }
}
.cta-block { text-align: center; margin: 40px 0 10px; }
.mobile-cta { display: none; }
@media (max-width: 760px) {
    .mobile-cta {
        display: block; position: fixed; left: 12px; right: 12px; bottom: 12px; z-index: 200;
        background: var(--primary); color: #3a1e00 !important; text-align: center;
        padding: 15px; border-radius: 10px; font-weight: 800; font-size: 1.05rem;
        box-shadow: 0 6px 20px rgba(0,0,0,.45); animation: ctaPulse 2.2s ease-in-out infinite;
    }
    main { padding-bottom: 80px; }
}

/* ---- MAIN CONTENT ---- */
main { padding: 50px 20px; }
.content-wrap { max-width: var(--max-width); margin: 0 auto; }
h2 { font-size: 1.55rem; color: var(--text-heading); margin: 44px 0 16px; padding-bottom: 10px; border-bottom: 2px solid var(--primary); font-weight: 700; }
h3 { font-size: 1.2rem; color: var(--primary-light); margin: 28px 0 10px; font-weight: 600; }
p { margin-bottom: 16px; color: var(--text); }
ul, ol { margin: 12px 0 18px 24px; }
li { margin-bottom: 6px; }

/* ---- INFO BOXES / CARDS ---- */
.info-box { background: var(--bg-card); border: 1px solid var(--border); border-radius: var(--radius); padding: 24px; margin: 24px 0; }
.info-box.highlight { border-color: var(--primary); }
.info-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin: 24px 0; }
.info-card { background: var(--bg-card); border: 1px solid var(--border); border-radius: var(--radius); padding: 20px; text-align: center; }
.info-card .label { color: var(--text-muted); font-size: .85rem; margin-bottom: 4px; }
.info-card .value { font-size: 1.3rem; font-weight: 700; color: var(--primary); }

/* ---- TABLES ---- */
.table-wrap { overflow-x: auto; margin: 20px 0; }
table { width: 100%; border-collapse: collapse; background: var(--bg-card); border-radius: var(--radius); overflow: hidden; }
th { background: var(--primary-dark); color: #3a1e00; padding: 12px 16px; text-align: left; font-weight: 700; font-size: .9rem; }
td { padding: 12px 16px; border-bottom: 1px solid var(--border); font-size: .95rem; }
tr:last-child td { border-bottom: none; }
tr:hover td { background: var(--bg-card-hover); }

/* ---- IMAGES / FIGURES ---- */
figure { margin: 30px 0; text-align: center; }
figure img { display: block; width: 100%; height: auto; margin: 0 auto; border: 1px solid var(--border); border-radius: var(--radius); }
figure.big img { max-width: 920px; }
figure.medium img { max-width: 460px; }
figure.pair { display: flex; gap: 16px; align-items: stretch; justify-content: center; }
figure.pair img { width: 50%; object-fit: cover; max-height: 460px; }
figure.pair-portrait { display: flex; gap: 18px; align-items: flex-start; justify-content: center; }
figure.pair-portrait img { width: auto; max-height: 600px; max-width: 48%; }
figcaption { text-align: center; color: var(--text-muted); font-size: .85rem; margin-top: 10px; font-style: italic; }

/* ---- FAQ ---- */
.faq-section { margin: 48px 0 20px; }
.faq-item { background: var(--bg-card); border: 1px solid var(--border); border-radius: var(--radius); margin-bottom: 12px; padding: 20px 24px; }
.faq-item h3 { color: var(--text-heading); margin: 0 0 10px; font-size: 1.05rem; padding: 0; }
.faq-item p { margin-bottom: 0; color: var(--text-muted); font-size: .95rem; }

/* ---- AUTHOR BOX ---- */

/* ---- RELATED PAGES ---- */
.related-section { margin: 40px 0; }
.related-section h2 { font-size: 1.3rem; }
.related-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; margin-top: 16px; }
.related-card { background: var(--bg-card); border: 1px solid var(--border); border-radius: var(--radius); padding: 18px; transition: border-color .2s; }
.related-card:hover { border-color: var(--primary); }
.related-card .title { font-weight: 600; color: var(--text-heading); font-size: .95rem; }
.related-card .desc { color: var(--text-muted); font-size: .85rem; margin-top: 4px; }

/* ---- REVIEWS / TESTIMONIALS ---- */
.review-item { background: var(--bg-card); border: 1px solid var(--border); border-left: 3px solid var(--primary); border-radius: var(--radius); padding: 18px 22px; margin: 14px 0; }
.review-item .review-head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 8px; flex-wrap: wrap; gap: 6px; }
.review-item .review-author { font-weight: 600; color: var(--text-heading); }
.review-item .review-stars { color: var(--primary); font-size: 1rem; }
.review-item p { margin-bottom: 0; color: var(--text-muted); font-size: .95rem; }

/* ---- STEPS ---- */
.steps { counter-reset: step; margin: 24px 0; }
.step { background: var(--bg-card); border: 1px solid var(--border); border-radius: var(--radius); padding: 18px 22px 18px 60px; margin-bottom: 12px; position: relative; }
.step::before { counter-increment: step; content: counter(step); position: absolute; left: 18px; top: 18px; width: 28px; height: 28px; background: var(--primary); color: #3a1e00; border-radius: 50%; display: flex; align-items: center; justify-content: center; font-weight: 700; font-size: .9rem; }
.step h3 { margin: 0 0 6px; padding: 0; color: var(--text-heading); font-size: 1.05rem; }
.step p { margin-bottom: 0; color: var(--text-muted); font-size: .95rem; }

/* ---- FOOTER ---- */
footer { background: #061a10; border-top: 1px solid var(--border); padding: 40px 20px; text-align: center; }
.footer-inner { max-width: var(--max-width); margin: 0 auto; }
.footer-links { display: flex; justify-content: center; gap: 24px; flex-wrap: wrap; margin-bottom: 20px; }
.footer-links a { color: var(--text-muted); font-size: .9rem; }
.footer-links a:hover { color: var(--primary-light); }
.badge-18 { display: inline-flex; align-items: center; justify-content: center; width: 40px; height: 40px; border: 2px solid var(--accent); border-radius: 50%; font-weight: 800; color: var(--accent); font-size: .9rem; margin: 16px 0; }
.disclaimer { color: var(--text-muted); font-size: .8rem; line-height: 1.6; max-width: 720px; margin: 16px auto 0; }
.footer-copy { color: #4e7560; font-size: .8rem; margin-top: 20px; }
.updated-date { color: var(--text-muted); font-size: .85rem; margin: 10px 0; }

/* ---- RESPONSIVE ---- */
@media (max-width: 900px) {
    .hero h1 { font-size: 2rem; }
    .hero h1 span { font-size: 1.15rem; }
    h2 { font-size: 1.35rem; }
    .info-grid { grid-template-columns: repeat(2, 1fr); }
    .related-grid { grid-template-columns: repeat(2, 1fr); }
    .hero-bonus .amount { font-size: 1.5rem; }
}
@media (max-width: 600px) {
    body { font-size: 16px; }
    .hero { padding: 40px 16px; }
    .hero h1 { font-size: 1.6rem; }
    .hero h1 span { font-size: 1rem; }
    h2 { font-size: 1.2rem; }
    .info-grid { grid-template-columns: 1fr; }
    .related-grid { grid-template-columns: 1fr; }
    .nav-links {
        display: none; position: absolute; top: 64px; left: 0; right: 0;
        background: var(--bg-dark); flex-direction: column; padding: 20px; gap: 16px;
        border-bottom: 1px solid var(--border);
    }
    .nav-links.open { display: flex; }
    .nav-toggle { display: block; }
    .table-wrap { font-size: .85rem; }
    th, td { padding: 8px 10px; }
    figure.pair { flex-direction: column; }
    figure.pair img { width: 100%; max-height: none; }
    figure.pair-portrait img { max-width: 48%; }
}
