/* ========================================
   Pokerdom — Полный стиль v4
   ======================================== */

*, *::before, *::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --pd-green: #2ECC71;
    --pd-green-dark: #1FA855;
    --pd-green-light: #4AE68B;
    --pd-green-glow: rgba(46, 204, 113, 0.15);
    --pd-black: #0D0D0D;
    --pd-dark: #141414;
    --pd-dark-alt: #1C1C1C;
    --pd-card: #222222;
    --pd-white: #FFFFFF;
    --pd-gray: #888888;
    --pd-gray-light: #BBBBBB;
    --pd-gold: #D4A843;
    --font-main: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    --max-width: 1200px;
    --radius: 10px;
    --radius-sm: 6px;
    --transition: 0.25s ease;
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: 72px;
    font-size: 16px;
}

body {
    font-family: var(--font-main);
    background: var(--pd-black);
    color: var(--pd-white);
    line-height: 1.65;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

a {
    color: var(--pd-green);
    text-decoration: none;
    transition: color var(--transition);
}
a:hover { color: var(--pd-green-light); }

img { max-width: 100%; display: block; }

.container {
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 0 20px;
}

.center { text-align: center; margin: 30px 0; }

/* ===== HEADER ===== */
.header {
    position: fixed;
    top: 0; left: 0; right: 0;
    z-index: 1000;
    background: rgba(13, 13, 13, 0.97);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border-bottom: 2px solid var(--pd-green-dark);
}

.header__inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 64px;
    gap: 16px;
}

.logo { display: flex; align-items: center; flex-shrink: 0; }
.logo__img { height: 38px; width: auto; object-fit: contain; border-radius: 4px; }

.nav__list {
    display: flex;
    list-style: none;
    gap: 28px;
}
.nav__link {
    color: var(--pd-gray-light);
    font-size: 14px;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    transition: color var(--transition);
}
.nav__link:hover { color: var(--pd-green); }

.header__buttons {
    display: flex;
    gap: 10px;
    flex-shrink: 0;
}

.btn--header {
    background: var(--pd-green);
    color: var(--pd-black);
    padding: 8px 20px;
    border-radius: var(--radius-sm);
    font-weight: 700;
    font-size: 13px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    border: 2px solid var(--pd-green);
    cursor: pointer;
    white-space: nowrap;
    transition: all var(--transition);
}
.btn--header:hover {
    background: var(--pd-green-light);
    border-color: var(--pd-green-light);
}

.btn--register {
    background: transparent;
    color: var(--pd-green);
}
.btn--register:hover {
    background: var(--pd-green);
    color: var(--pd-black);
}

.burger {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 6px;
    flex-shrink: 0;
}
.burger span {
    width: 24px; height: 2px;
    background: var(--pd-white);
    border-radius: 2px;
    transition: var(--transition);
}
.burger.active span:nth-child(1) { transform: rotate(45deg) translate(5px, 5px); }
.burger.active span:nth-child(2) { opacity: 0; }
.burger.active span:nth-child(3) { transform: rotate(-45deg) translate(5px, -5px); }

/* ===== BONUS BANNER ===== */
.bonus-banner {
    padding-top: 76px;
}
.bonus-banner__btn {
    display: block;
    width: 100%;
    position: relative;
    border-radius: var(--radius);
    overflow: hidden;
    cursor: pointer;
    border: none;
    padding: 0;
    background: none;
    transition: transform var(--transition), box-shadow var(--transition);
}
.bonus-banner__btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 30px rgba(46, 204, 113, 0.2);
}
.bonus-banner__img {
    width: 100%;
    height: auto;
    max-height: 300px;
    object-fit: cover;
    display: block;
}
.bonus-banner__overlay {
    position: absolute;
    inset: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    background: rgba(0, 0, 0, 0.5);
    text-align: center;
    padding: 20px;
}
.bonus-banner__tag {
    background: var(--pd-green);
    color: var(--pd-black);
    padding: 5px 18px;
    border-radius: 50px;
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    margin-bottom: 10px;
}
.bonus-banner__amount {
    font-size: clamp(2.8rem, 7vw, 4.5rem);
    font-weight: 900;
    color: var(--pd-gold);
    line-height: 1;
    text-shadow: 0 4px 20px rgba(0,0,0,0.5);
}
.bonus-banner__text {
    font-size: 1.1rem;
    color: var(--pd-white);
    margin-bottom: 14px;
}
.bonus-banner__cta {
    display: inline-block;
    background: var(--pd-green);
    color: var(--pd-black);
    padding: 10px 28px;
    border-radius: var(--radius-sm);
    font-weight: 700;
    font-size: 14px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* ===== BUTTONS ===== */
.btn {
    display: inline-block;
    padding: 14px 32px;
    border-radius: var(--radius-sm);
    font-weight: 700;
    font-size: 14px;
    cursor: pointer;
    border: none;
    text-align: center;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    transition: all var(--transition);
}
.btn--primary {
    background: var(--pd-green);
    color: var(--pd-black);
}
.btn--primary:hover {
    background: var(--pd-green-light);
    color: var(--pd-black);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(46, 204, 113, 0.35);
}
.btn--large {
    padding: 16px 40px;
    font-size: 15px;
}

/* ===== HERO ===== */
.hero {
    padding: 32px 0 56px;
    text-align: center;
    background: radial-gradient(ellipse at top, rgba(46, 204, 113, 0.04) 0%, transparent 60%);
}
.hero__label {
    display: inline-block;
    background: var(--pd-dark-alt);
    color: var(--pd-gray-light);
    padding: 4px 14px;
    border-radius: 50px;
    font-size: 12px;
    margin-bottom: 14px;
}
.hero__title {
    font-size: clamp(1.6rem, 4vw, 2.4rem);
    font-weight: 800;
    line-height: 1.25;
    margin-bottom: 14px;
}
.hero__title span {
    color: var(--pd-green);
    font-style: italic;
}
.hero__text {
    font-size: 15px;
    color: var(--pd-gray-light);
    max-width: 680px;
    margin: 0 auto 24px;
}
.hero__badges {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 10px;
    margin-bottom: 28px;
}
.badge {
    background: var(--pd-dark-alt);
    padding: 6px 14px;
    border-radius: 50px;
    font-size: 13px;
    border: 1px solid rgba(46, 204, 113, 0.2);
}

/* ===== QUICK ANSWER ===== */
.quick-answer { padding: 40px 0; }
.quick-answer__card {
    background: var(--pd-dark-alt);
    border-radius: var(--radius);
    padding: 32px;
    border-left: 4px solid var(--pd-green);
    max-width: 800px;
    margin: 0 auto;
}
.quick-answer__card h2 { font-size: 1.3rem; margin-bottom: 12px; }
.quick-answer__card p { color: var(--pd-gray-light); margin-bottom: 16px; }

/* ===== TOC (not used, keeping for compat) ===== */
.toc { padding: 32px 0; background: var(--pd-dark); }
.toc__list { list-style: none; display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 10px; }
.toc__list a {
    display: block; padding: 10px 14px; border-radius: var(--radius-sm);
    color: var(--pd-gray-light); font-size: 14px; border: 1px solid rgba(255,255,255,0.06);
}
.toc__list a:hover { background: var(--pd-green-glow); color: var(--pd-green); border-color: rgba(46,204,113,0.3); }

/* ===== SECTIONS ===== */
.section { padding: 64px 0; }
.section--dark { background: var(--pd-dark); }
.section__title {
    font-size: clamp(1.3rem, 2.5vw, 1.8rem);
    font-weight: 700;
    margin-bottom: 12px;
}
.section__intro {
    font-size: 15px;
    color: var(--pd-gray-light);
    margin-bottom: 32px;
    max-width: 780px;
}
.section__text {
    color: var(--pd-gray-light);
    margin-bottom: 20px;
}
h3 { font-size: 1.15rem; font-weight: 600; margin: 32px 0 14px; }

/* ===== STEPS ===== */
.steps {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 18px;
    margin: 20px 0;
}
.step {
    background: var(--pd-card);
    border-radius: var(--radius);
    padding: 22px;
    border: 1px solid rgba(255,255,255,0.05);
}
.step__num {
    display: flex; align-items: center; justify-content: center;
    width: 34px; height: 34px;
    background: var(--pd-green);
    color: var(--pd-black);
    font-weight: 800;
    border-radius: 50%;
    margin-bottom: 12px;
    font-size: 14px;
}
.step h3 { margin-top: 0; font-size: 1rem; }
.step p { color: var(--pd-gray-light); font-size: 14px; }

/* ===== REGISTER TABS ===== */
.register-tabs {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 24px;
    margin: 24px 0;
}
.register-tab {
    background: var(--pd-card);
    border-radius: var(--radius);
    padding: 28px;
    border: 1px solid rgba(255,255,255,0.06);
}
.register-tab h3 { margin-top: 0; font-size: 1.1rem; margin-bottom: 16px; }
.register-tab .steps { grid-template-columns: 1fr; gap: 12px; }
.register-tab .step { padding: 14px 18px; background: var(--pd-dark-alt); }
.register-tab .step__num { width: 28px; height: 28px; font-size: 12px; margin-bottom: 8px; }

/* ===== INFO BOX ===== */
.info-box {
    background: rgba(46, 204, 113, 0.06);
    border-left: 4px solid var(--pd-green);
    padding: 18px 22px;
    border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
    margin: 20px 0;
}
.info-box--warning {
    background: rgba(212, 168, 67, 0.08);
    border-left-color: var(--pd-gold);
}

/* ===== CHECK LIST ===== */
.check-list { list-style: none; margin: 12px 0; }
.check-list li {
    padding: 6px 0 6px 26px;
    position: relative;
    color: var(--pd-gray-light);
    font-size: 14px;
}
.check-list li::before {
    content: "✓"; position: absolute; left: 0;
    color: var(--pd-green); font-weight: 700;
}

/* ===== TABLES ===== */
.table-wrapper {
    overflow-x: auto;
    margin: 20px 0;
    border-radius: var(--radius);
    border: 1px solid rgba(255,255,255,0.08);
}
table { width: 100%; border-collapse: collapse; font-size: 14px; }
thead { background: rgba(46, 204, 113, 0.08); }
th { padding: 12px 16px; text-align: left; font-weight: 600; color: var(--pd-green); white-space: nowrap; }
td { padding: 10px 16px; border-top: 1px solid rgba(255,255,255,0.05); color: var(--pd-gray-light); }
tr:hover td { background: rgba(255,255,255,0.015); }

.table--specs td:first-child { font-weight: 600; color: var(--pd-white); white-space: nowrap; width: 200px; }
.spec-label { color: var(--pd-green) !important; }

.disclaimer { font-size: 12px; color: var(--pd-gray); font-style: italic; margin-top: 12px; }

/* ===== GAMES GRID ===== */
.games-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 20px;
    margin: 24px 0;
}
.game-card {
    background: var(--pd-card);
    border-radius: var(--radius);
    padding: 28px;
    border: 1px solid rgba(255,255,255,0.06);
    transition: all var(--transition);
}
.game-card:hover {
    border-color: rgba(46,204,113,0.3);
    transform: translateY(-3px);
}
.game-card__icon { font-size: 2.2rem; display: block; margin-bottom: 12px; }
.game-card h3 { margin-top: 0; font-size: 1.1rem; }
.game-card p { color: var(--pd-gray-light); font-size: 14px; margin-bottom: 12px; }
.game-card__count {
    display: inline-block;
    background: var(--pd-green-glow);
    color: var(--pd-green);
    padding: 4px 12px;
    border-radius: 50px;
    font-size: 13px;
    font-weight: 700;
}

/* ===== PROVIDERS ===== */
.providers-logos {
    display: flex; flex-wrap: wrap; gap: 8px; margin: 16px 0;
}
.provider-tag {
    background: var(--pd-dark-alt);
    padding: 8px 16px;
    border-radius: var(--radius-sm);
    font-size: 13px;
    font-weight: 600;
    border: 1px solid rgba(255,255,255,0.06);
    color: var(--pd-gray-light);
}

/* ===== FEATURES GRID ===== */
.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 16px;
    margin: 20px 0;
}
.features-grid--3 {
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
}
.feature-card {
    background: var(--pd-card);
    border-radius: var(--radius);
    padding: 22px;
    border: 1px solid rgba(255,255,255,0.06);
    text-align: center;
}
.feature-card span { font-size: 2rem; display: block; margin-bottom: 10px; }
.feature-card p { color: var(--pd-gray-light); font-size: 14px; }
.feature-card strong { color: var(--pd-white); }

.feature-card--accent {
    border-color: rgba(46,204,113,0.15);
    background: rgba(46,204,113,0.04);
}

/* ===== SAFETY ===== */
.safety-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 20px;
    margin: 24px 0;
}
.safety-card {
    border-radius: var(--radius);
    padding: 24px;
    border: 1px solid rgba(255,255,255,0.06);
}
.safety-card--do {
    background: rgba(46, 204, 113, 0.05);
    border-color: rgba(46,204,113,0.2);
}
.safety-card--dont {
    background: rgba(231, 76, 60, 0.05);
    border-color: rgba(231,76,60,0.2);
}
.safety-card h3 { margin-top: 0; margin-bottom: 12px; font-size: 1rem; }
.safety-card ul { list-style: none; }
.safety-card li { padding: 5px 0; color: var(--pd-gray-light); font-size: 14px; }

/* ===== SOURCES ===== */
.sources-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 18px;
    margin: 24px 0;
}
.source-card {
    background: var(--pd-card);
    border-radius: var(--radius);
    padding: 24px;
    border: 1px solid rgba(255,255,255,0.06);
    text-align: center;
}
.source-card__icon { font-size: 1.8rem; display: block; margin-bottom: 10px; }
.source-card h3 { margin-top: 0; font-size: 1rem; }
.source-card p { color: var(--pd-gray-light); font-size: 14px; }

/* ===== FAQ ===== */
.faq-list { max-width: 780px; }
.faq-item {
    border: 1px solid rgba(255,255,255,0.06);
    border-radius: var(--radius-sm);
    margin-bottom: 10px;
    overflow: hidden;
}
.faq-item summary {
    padding: 16px 22px;
    cursor: pointer;
    font-weight: 600;
    font-size: 15px;
    list-style: none;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: background var(--transition);
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
    content: "+"; font-size: 1.3rem; color: var(--pd-green);
    transition: transform var(--transition);
}
.faq-item[open] summary::after { transform: rotate(45deg); }
.faq-item[open] summary { background: var(--pd-green-glow); }
.faq-item p { padding: 0 22px 16px; color: var(--pd-gray-light); font-size: 14px; }

/* ===== CTA BOTTOM ===== */
.cta-bottom {
    padding: 64px 0;
    text-align: center;
    background: radial-gradient(ellipse at bottom, rgba(46,204,113,0.05) 0%, transparent 60%);
}
.cta-bottom h2 { font-size: clamp(1.3rem, 2.5vw, 1.8rem); margin-bottom: 12px; }
.cta-bottom p { color: var(--pd-gray-light); font-size: 15px; margin-bottom: 24px; }

/* ===== FOOTER ===== */
.footer {
    padding: 40px 0 24px;
    background: var(--pd-dark);
    border-top: 2px solid var(--pd-green-dark);
}
.footer__inner { text-align: center; }
.footer__logo { height: 30px; width: auto; margin: 0 auto 16px; object-fit: contain; }
.footer__brand { margin-bottom: 16px; }
.footer__links {
    display: flex; flex-wrap: wrap; justify-content: center; gap: 20px; margin-bottom: 20px;
}
.footer__links a {
    color: var(--pd-gray-light); font-size: 13px;
    text-transform: uppercase; letter-spacing: 0.5px;
}
.footer__links a:hover { color: var(--pd-green); }
.footer__legal { color: var(--pd-gray); font-size: 12px; line-height: 1.8; }

/* ===== RESPONSIVE ===== */

/* Tablet */
@media (max-width: 992px) {
    .header__inner { height: 58px; }
    .nav__list { gap: 18px; }
    .nav__link { font-size: 13px; }
    .btn--header { padding: 7px 16px; font-size: 12px; }
    .hero__badges { gap: 8px; }
    .badge { font-size: 12px; padding: 5px 12px; }
}

/* Mobile */
@media (max-width: 768px) {
    .nav {
        display: none;
        position: fixed;
        top: 58px; left: 0; right: 0;
        background: rgba(13, 13, 13, 0.98);
        padding: 16px 20px 20px;
        border-bottom: 2px solid var(--pd-green-dark);
    }
    .nav.active { display: block; }
    .nav__list { flex-direction: column; gap: 0; }
    .nav__link {
        display: block; padding: 12px 0; font-size: 15px;
        border-bottom: 1px solid rgba(255,255,255,0.05);
    }
    .nav__link:last-child { border-bottom: none; }

    .burger { display: flex; }

    .header__buttons {
        gap: 8px;
    }
    .header__buttons .btn--header {
        padding: 6px 14px;
        font-size: 11px;
    }

    .bonus-banner { padding-top: 68px; }
    .bonus-banner__img { max-height: 220px; }
    .bonus-banner__amount { font-size: 2.8rem; }
    .bonus-banner__text { font-size: 1rem; }

    .hero { padding: 24px 0 40px; }
    .section { padding: 44px 0; }

    .register-tabs { grid-template-columns: 1fr; }
    .games-grid, .features-grid, .features-grid--3,
    .safety-grid, .sources-grid, .steps {
        grid-template-columns: 1fr;
    }

    th, td { padding: 8px 12px; font-size: 13px; }
    .table--specs td:first-child { width: auto; }

    .quick-answer__card { padding: 22px; }
    .game-card { padding: 22px; }
}

/* Small phones */
@media (max-width: 480px) {
    html { font-size: 15px; }
    .container { padding: 0 14px; }
    .header__inner { height: 54px; }
    .logo__img { height: 30px; }
    .header__buttons .btn--header {
        padding: 5px 10px;
        font-size: 10px;
    }
    .nav__link { font-size: 14px; }

    .bonus-banner__amount { font-size: 2.2rem; }
    .bonus-banner__overlay { padding: 14px; }
    .bonus-banner__tag { font-size: 10px; padding: 4px 12px; }

    .hero__title { font-size: 1.4rem; }
    .hero__text { font-size: 14px; }
    .hero__badges { gap: 6px; }
    .badge { font-size: 11px; padding: 4px 10px; }

    .section__title { font-size: 1.2rem; }

    .btn { padding: 12px 24px; font-size: 13px; }
    .btn--large { padding: 14px 32px; font-size: 14px; }

    .table-wrapper { font-size: 12px; }
    th, td { padding: 6px 10px; }
}

/* Landscape phones */
@media (max-height: 500px) and (orientation: landscape) {
    .bonus-banner { padding-top: 60px; }
    .bonus-banner__img { max-height: 180px; }
    .hero { padding: 20px 0 30px; }
}
