:root {
    /* Vodka.bet / vodka-1.ru: blue accent, green login CTA */
    --hero-sand: #5eb5ff;
    --hero-deep: #0a1628;
    --hero-gold: #5eb5ff;
    --hero-gold-bright: #7ec8ff;
    --hero-cream: #ffffff;
    --accent-pink-rgb: 94, 181, 255;
    --accent-gold-rgb: 94, 181, 255;
    --accent-green-rgb: 76, 233, 146;
    --accent-blue-rgb: 0, 114, 211;
    --ui-panel: 20, 28, 40;
    --ui-panel-2: 28, 38, 55;

    --header-fade-gradient: linear-gradient(
        180deg,
        rgba(94, 181, 255, 0.18) 0%,
        rgba(0, 114, 211, 0.1) 40%,
        rgba(10, 22, 40, 0.55) 72%,
        rgba(10, 16, 24, 0) 100%
    );

    --primary-color: #ffffff;
    --primary-color-light: #121a28;
    --btn-dark-color: #1a2436;

    --secondary-color: #5eb5ff;
    --btn-secondary-color: linear-gradient(135deg, #5eb5ff 0%, #0072d3 100%);
    --tertiary-color: #0a0f18;
    --blue-color: linear-gradient(135deg, #5eb5ff 0%, #0072d3 100%);
}

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

html {
    height: 100%;
    scroll-behavior: smooth;
    scroll-padding-top: 104px;
}

@media (prefers-reduced-motion: reduce) {
    html {
        scroll-behavior: auto;
    }
}

.anchor-heading {
    scroll-margin-top: 104px;
}

body {
    font-family: 'Arial', sans-serif;
    min-height: 100%;
    min-height: 100dvh;
    position: relative;
    background:
        radial-gradient(ellipse 95% 75% at 50% 45%, rgba(0, 114, 211, 0.22) 0%, transparent 58%),
        radial-gradient(ellipse 120% 85% at 50% 115%, rgba(var(--accent-green-rgb), 0.08) 0%, transparent 50%),
        radial-gradient(ellipse 80% 55% at 15% 15%, rgba(94, 181, 255, 0.14) 0%, transparent 48%),
        radial-gradient(ellipse 70% 50% at 90% 25%, rgba(94, 181, 255, 0.06) 0%, transparent 46%),
        linear-gradient(180deg, #0f1a2e 0%, #0a121f 42%, #070d16 100%);
    display: flex;
    flex-direction: column;
}

.page-fill {
    flex: 1 0 auto;
    width: 100%;
    display: flex;
    flex-direction: column;
}

.page-fill > .content-section {
    flex: 1 1 auto;
}

.page-fill > .legal-main {
    flex: 1 1 auto;
    display: flex;
    flex-direction: column;
    min-height: 0;
}

.page-fill .legal-main .content-section {
    flex: 1 1 auto;
}

.header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: var(--header-fade-gradient);
    /* box-shadow: 0 4px 24px rgba(0, 0, 0, 0.35), inset 0 -1px 0 rgba(var(--accent-pink-rgb), 0.12); */
    z-index: 1000;

}

/* Legal subpages: same header fade as main */
.page-legal .header {
    background: var(--header-fade-gradient);
}

.header-content {
    max-width: 1600px;
    padding: 0 20px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 10px;
}

.header-brand {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-shrink: 0;
}

@media (min-width: 769px) {
    .lang-dropdown--mobile {
        display: none;
    }
}

@media (max-width: 768px) {
    .lang-dropdown--desktop {
        display: none;
    }
}

/* Header Left Section */
.header-left {
    display: flex;
    align-items: center;
    gap: 12px;
}

/* Language dropdown (header right) */
.lang-dropdown {
    position: relative;
    flex-shrink: 0;
    z-index: 1100;
}

.lang-dropdown-btn {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    cursor: pointer;
    margin: 0;
    padding: 8px 12px;
    min-height: 42px;
    border-radius: 6px;
    border: 1px solid rgba(var(--accent-gold-rgb), 0.45);
    background: rgba(var(--ui-panel), 0.96);
    color: #e5e5e5;
    font-family: inherit;
    font-size: 13px;
    font-weight: 600;
    letter-spacing: 0.04em;
    user-select: none;
    transition: background 0.2s, border-color 0.2s, color 0.2s, box-shadow 0.2s;
    box-shadow: 0 0 0 1px rgba(var(--accent-gold-rgb), 0.08) inset;
    -webkit-appearance: none;
    appearance: none;
}

.lang-dropdown--mobile .lang-dropdown-btn {
    anchor-name: --lang-dropdown-mobile;
}

.lang-dropdown--desktop .lang-dropdown-btn {
    anchor-name: --lang-dropdown-desktop;
}

.lang-dropdown-btn:hover {
    background: rgba(var(--ui-panel-2), 0.98);
    border-color: rgba(var(--accent-gold-rgb), 0.75);
    color: #ffffff;
    box-shadow: 0 0 12px rgba(var(--accent-gold-rgb), 0.15) inset;
}

.lang-dropdown-btn:focus {
    outline: 2px solid rgba(var(--accent-gold-rgb), 0.55);
    outline-offset: 2px;
}

.lang-dropdown-btn-label {
    white-space: nowrap;
}

.lang-dropdown-chevron {
    flex-shrink: 0;
    opacity: 0.85;
    transition: transform 0.2s ease;
}

.lang-dropdown:has(.lang-dropdown-panel:popover-open) .lang-dropdown-chevron {
    transform: rotate(180deg);
}

.lang-dropdown-panel {
    min-width: 10rem;
    max-height: min(70vh, 22rem);
    overflow-y: auto;
    padding: 6px 0;
    margin: 0;
    border-radius: 8px;
    border: 1px solid rgba(255, 255, 255, 0.12);
    background: rgba(12, 12, 12, 0.98);
    box-shadow: 0 12px 32px rgba(0, 0, 0, 0.55), 0 0 0 1px rgba(var(--accent-gold-rgb), 0.06) inset;
}

/* Popover: explicit display:none until :popover-open (plain display:flex kept panel visible) */
.lang-dropdown-panel[popover] {
    display: none;
    position: fixed;
    inset: auto;
}

.lang-dropdown-panel[popover]:popover-open {
    display: flex;
    flex-direction: column;
}

/* Light-dismiss is native; position under trigger via anchor */

.lang-dropdown--mobile .lang-dropdown-panel[popover] {
    position-anchor: --lang-dropdown-mobile;
    top: calc(anchor(bottom) + 6px);
    right: anchor(right);
    left: auto;
    bottom: auto;
}

.lang-dropdown--desktop .lang-dropdown-panel[popover] {
    position-anchor: --lang-dropdown-desktop;
    top: calc(anchor(bottom) + 6px);
    right: anchor(right);
    left: auto;
    bottom: auto;
}

.lang-dropdown-item {
    display: block;
    padding: 10px 16px;
    font-size: 13px;
    font-weight: 600;
    letter-spacing: 0.03em;
    border: none;
    text-align: left;
}

.lang-dropdown-link {
    color: #5eb5ff;
    text-decoration: none;
    transition: background 0.15s, color 0.15s;
}

.lang-dropdown-link:hover {
    background: rgba(var(--accent-gold-rgb), 0.14);
    color: #f8fafc;
}

.lang-dropdown-current {
    color: rgba(var(--accent-gold-rgb), 0.55);
    cursor: default;
}

.footer-langs {
    display: flex;
    flex-wrap: wrap;
    gap: 6px 10px;
    font-size: 12px;
    margin-top: 12px;
    justify-content: flex-end;
    max-width: 100%;
}

.footer-langs a {
    color: rgba(var(--accent-gold-rgb), 0.92);
    text-decoration: none;
}

.footer-langs a:hover {
    text-decoration: underline;
}

@media (max-width: 768px) {
    .lang-dropdown-btn {
        padding: 6px 10px;
        min-height: 38px;
        font-size: 12px;
    }
}

.download-links {
    display: none;
    align-items: center;
    gap: 0px;
    width: fit-content;
    padding: 5px 8px;
    border-radius: 12px;
}

.download-nav {
    display: flex;
}

.download-link {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 42px;
    height: 42px;
    text-decoration: none;
    transition: opacity 0.2s;
    opacity: .7;
}

.download-link:hover {
    opacity: 0.8;
}

.download-icon {
    width: 20px;
    height: 20px;
    fill: #fff;
}

.header-logo {
    display: flex;
    align-items: center;
    text-decoration: none;
}

.logo-header-img {
    height: 150px;
    width: auto;
    object-fit: contain;
    transform: scale(1.2);
}


.btn-icon {
    width: 42px;
    height: 42px;
    border-radius: 8px;
    background: var(--btn-dark-color);
    border: none;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: background 0.2s;
    padding: 0;
    box-shadow: 0 1px 1px 0 hsla(340, 35%, 40%, .18) inset;
}


.btn-login-icon {
    display: block;
    width: 130px;
    text-decoration: none;
    color: #FFF;
    transition: filter 0.2s;
    font-weight: 600;
    font-size: 14px;
}

.btn-login-icon:hover {
    filter: brightness(1.2);
}
/* Header Search Section */
.header-search {
    display: flex;
    align-items: center;
    border-radius: 10px;
    padding: 0;
    position: relative;
    border: 1px solid rgba(var(--accent-pink-rgb), 0.32);
    height: 50px;
}

.header-search-link {
    display: block;
    width: 100%;
    max-width: 220px;
    margin-left: 40px;
    margin-right: auto;
}

.search-input {
    flex: 1;
    padding: 12px 16px;
    background: transparent;
    border: none;
    outline: none;
    color: #ffffff;
    font-size: 14px;
    font-weight: 500;
    letter-spacing: 0.5px;
}

.search-input::placeholder {
    color: #9ca3af;
    opacity: 0.85;
}

.search-btn {
    width: 20px;
    height: 20px;
    border: none;
    background: transparent;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    padding: 0;
    margin-left: 8px;

}

.search-btn .icon-img {
    filter: brightness(0) invert(1);
}

/* Header Actions */
.header-actions {
    display: flex;
    align-items: center;
    gap: 12px;
}

.btn-signup {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 130px;
    height: 42px;
    background: var(--btn-secondary-color);
    color: #ffffff;
    text-decoration: none;
    border-radius: 6px;
    font-size: 14px;
    font-weight: 600;
    letter-spacing: 0.5px;
    white-space: nowrap;
    transition: filter 0.2s;
}

.btn-signup:hover {
    filter: brightness(1.15);
}

@media (max-width: 768px) {
    .download-links {
        display: flex;
    }

    .header-content {
        padding: 10px 0px;
        gap: 5px;
        flex-wrap: wrap;
        justify-content: center;
    }

    .header-search {
        max-width: none;
        min-width: 0;
    }

    .search-input {
        padding: 10px 12px;
        font-size: 12px;
    }

    .header-actions {
        gap: 8px;
    }

    /* Hide header register link on mobile; play CTA remains */
    .header-actions .btn-signup {
        display: none;
    }

    .btn-login-icon {
        margin-left: auto;
        width: 100px;
    }

}


.container {
    position: relative;
    min-height: 100vh;
    display: flex;
    padding: 80px 20px 0px 20px;
    overflow: hidden;
    background: #070d16;
}

.container-bg-img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    z-index: 0;
    pointer-events: none;
}

.container::after {
    content: "";
    position: absolute;
    inset: 0;
    z-index: 1;
    pointer-events: none;
    box-shadow:
        inset 0 0 100px 90px rgba(5, 12, 24, 0.78),
        inset 0 -120px 100px -40px rgba(94, 181, 255, 0.08);
}

.content-wrapper {
    display: flex;
    align-items: center;
    gap: 30px;
    width: 100%;
    max-width: 1200px;
    position: relative;
    z-index: 2;

    margin: 0 auto;
}



.form-container {
    display: flex;
    flex-direction: column;
    gap: 20px;

    border-radius: 20px;
    padding: 40px;
    max-width: 450px;
    width: 100%;
    flex-shrink: 0;
    margin: auto;
    z-index: 1;
}

.banner-container {
    height: 100%;
    flex: 1;
    display: flex;
    align-items: flex-end;
    justify-content: center;
    max-width: 900px;
    margin-top: auto;
    margin-bottom: auto;
}

.banner-img {
    width: 70%;
    max-width: 420px;
    height: auto;
    object-fit: contain;
}

@media (max-width: 1024px) {
    .content-wrapper {
        flex-direction: column;
    }

    .banner-container {
        display: none;
    }
}

.headline-1 {
    text-align: center;
    color: #cccccc;
    font-size: 16px;
    font-weight: bold;
    text-transform: uppercase;
    text-shadow: 0 0 16px rgba(var(--accent-pink-rgb), 0.3);
}

.headline-2 {
    text-align: center;
    color: #5eb5ff;
    font-size: 30px;
    font-weight: bold;
    text-transform: uppercase;
    text-shadow:
        0 0 26px rgba(94, 181, 255, 0.45),
        0 0 18px rgba(0, 114, 211, 0.35),
        0 0 12px rgba(94, 181, 255, 0.2),
        0 2px 18px rgba(0, 0, 0, 0.65);
}

.btn-register {
    width: 100%;
    padding: 18px;
    background: var(--btn-secondary-color);
    color: #ffffff;
    border: none;
    border-radius: 15px;
    font-size: 18px;
    font-weight: 600;
    text-transform: uppercase;
    cursor: pointer;
    transition: transform 0.2s;
}

a.btn-register {
    display: block;
    box-sizing: border-box;
    text-align: center;
    text-decoration: none;
}

.btn-register:hover {
    transform: scale(1.02);
}

.form-banner {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.btn-login-banner {
    width: 100%;
    padding: 18px;
    background: var(--blue-color);
    color: #ffffff;
    border: none;
    border-radius: 15px;
    font-size: 18px;
    font-weight: 600;
    text-transform: uppercase;
    cursor: pointer;
    transition: transform 0.2s;
}

.btn-login-banner:hover {
    transform: scale(1.02);
}

/* Content Section */
.content-section {
    position: relative;
    background:
        radial-gradient(ellipse 88% 52% at 50% 0%, rgba(94, 181, 255, 0.09) 0%, transparent 55%),
        radial-gradient(ellipse 95% 42% at 50% 100%, rgba(0, 114, 211, 0.07) 0%, transparent 52%),
        radial-gradient(ellipse 72% 55% at 12% 38%, rgba(20, 50, 90, 0.22) 0%, transparent 50%),
        linear-gradient(125deg, #0f1a2e 0%, #152238 28%, #0c1424 55%, #070d16 100%);
    padding: 60px 20px;
    padding-top: 72px;
}

.content-section::before {
    content: '';
    position: absolute;
    inset: 0;
    pointer-events: none;
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.035) 0%, rgba(7, 13, 24, 0.28) 100%);
}

.content-section > * {
    position: relative;
    z-index: 1;
}

.content-max-width {
    max-width: 900px;
    margin: 0 auto;
}

.content-title {
    color: #ffffff;
    font-size: 28px;
    font-weight: 700;
    margin-bottom: 20px;
    text-align: left;
    line-height: 1.3;
}

.content-button-wrapper {
    text-align: center;
    margin: 32px 0;
}

.content-btn {
    display: inline-block;
    min-width: 200px;
    padding: 18px 50px;
    background: var(--blue-color);
    color: #ffffff;
    font-size: 18px;
    text-decoration: none;
    border-radius: 12px;
    transition: all 0.3s;
    text-transform: uppercase;
}

.content-btn:hover {
    transform: scale(1.05);
}

/* Pros / cons cards (RU, before bottom CTA) */
.pros-cons {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    margin: 8px 0 12px;
}

.pros-block,
.cons-block {
    border-radius: 14px;
    padding: 22px 24px;
    background: rgba(15, 17, 26, 0.92);
}

.pros-block {
    border: 1px solid rgba(74, 222, 128, 0.4);
    box-shadow: 0 0 0 1px rgba(74, 222, 128, 0.06) inset;
}

.cons-block {
    border: 1px solid rgba(248, 113, 113, 0.42);
    box-shadow: 0 0 0 1px rgba(248, 113, 113, 0.06) inset;
}

.pros-cons-title {
    font-size: 16px;
    font-weight: 700;
    margin-bottom: 16px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.pros-block .pros-cons-title {
    color: #4ade80;
}

.cons-block .pros-cons-title {
    color: #f87171;
}

.pros-cons-head-icon {
    display: flex;
    flex-shrink: 0;
    line-height: 0;
}

.pros-cons-head-icon svg {
    display: block;
}

.pros-cons-list {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.pros-cons-list li {
    font-size: 14px;
    color: rgba(255, 255, 255, 0.9);
    line-height: 1.45;
    display: flex;
    align-items: flex-start;
    gap: 10px;
}

.pros-block .pros-cons-list li::before {
    content: "✓";
    flex-shrink: 0;
    font-size: 13px;
    font-weight: 700;
    color: #4ade80;
    margin-top: 1px;
}

.cons-block .pros-cons-list li::before {
    content: "✗";
    flex-shrink: 0;
    font-size: 13px;
    font-weight: 700;
    color: #f87171;
    margin-top: 1px;
}

@media (max-width: 700px) {
    .pros-cons {
        grid-template-columns: 1fr;
    }
}

/* Under H1 (RU): same visual language as vavada-casino212.ru */
.article-meta {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 16px;
    margin-bottom: 24px;
    padding: 14px 18px;
    background: rgba(255, 255, 255, 0.04);
    border-radius: 8px;
    border-left: 3px solid rgba(212, 175, 55, 0.6);
}

.article-meta-item {
    display: flex;
    align-items: center;
    gap: 7px;
    font-size: 13px;
    color: rgba(255, 255, 255, 0.65);
}

.article-meta-icon {
    width: 16px;
    height: 16px;
    fill: rgba(212, 175, 55, 0.7);
    flex-shrink: 0;
}

.article-meta-label {
    color: rgba(126, 200, 255, 0.95);
    font-weight: 600;
}

.rating-card {
    background: linear-gradient(135deg, rgba(18, 28, 48, 0.96) 0%, rgba(24, 40, 64, 0.96) 100%);
    border: 1px solid rgba(94, 181, 255, 0.35);
    border-radius: 16px;
    padding: 28px;
    margin-bottom: 40px;
    display: grid;
    grid-template-columns: auto 1fr;
    gap: 24px;
}

.rating-card-score {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-width: 110px;
    text-align: center;
    border-right: 1px solid rgba(94, 181, 255, 0.22);
    padding-right: 24px;
}

.rating-number {
    font-size: 54px;
    font-weight: 700;
    color: #5eb5ff;
    line-height: 1;
}

.rating-max {
    font-size: 18px;
    color: rgba(255, 255, 255, 0.4);
    font-weight: 400;
}

.rating-stars {
    display: flex;
    gap: 3px;
    margin: 8px 0;
}

.rating-stars .star {
    color: #5eb5ff;
    font-size: 20px;
}

.rating-stars .star-half {
    color: #5eb5ff;
    font-size: 20px;
    opacity: 0.5;
}

.rating-count {
    font-size: 12px;
    color: rgba(255, 255, 255, 0.4);
}

.rating-card-facts {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px 20px;
}

.fact-item {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.fact-label {
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: rgba(255, 255, 255, 0.4);
}

.fact-value {
    font-size: 14px;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.9);
}

.fact-value.good {
    color: #4ade80;
}

.fact-value.warn {
    color: #5eb5ff;
}

@media (max-width: 600px) {
    .rating-card {
        grid-template-columns: 1fr;
    }

    .rating-card-score {
        border-right: none;
        border-bottom: 1px solid rgba(212, 175, 55, 0.2);
        padding-right: 0;
        padding-bottom: 20px;
    }

    .rating-card-facts {
        grid-template-columns: 1fr 1fr;
    }
}

/* Quick stats table (RU) — vavada-casino212.ru */
.stats-table {
    width: 100%;
    border-collapse: collapse;
    margin: 24px 0 32px;
    font-size: 14px;
}

.stats-table tr {
    border-bottom: 1px solid rgba(255, 255, 255, 0.07);
}

.stats-table tr:last-child {
    border-bottom: none;
}

.stats-table td {
    padding: 11px 14px;
}

.stats-table td:first-child {
    color: rgba(255, 255, 255, 0.5);
    width: 40%;
    font-size: 13px;
}

.stats-table td:last-child {
    color: rgba(255, 255, 255, 0.9);
    font-weight: 600;
}

.stats-table tr:nth-child(odd) td {
    background: rgba(255, 255, 255, 0.025);
}

.text-content {
    color: rgba(255, 255, 255, 0.92);
    font-size: 16px;
    line-height: 1.8;
}

.text-content p {
    margin-bottom: 25px;
}

/* Table of contents (under first paragraph) */
.article-toc {
    max-width: 28rem;
    width: 100%;
    margin: 0.25rem auto 1.75rem;
    padding: 1rem 1.25rem 1.1rem;
    border: 1px solid rgba(var(--accent-pink-rgb), 0.35);
    border-radius: 6px;
    background: rgba(255, 255, 255, 0.04);
    box-sizing: border-box;
}

.article-toc-heading {
    margin: 0 0 0.9rem;
    text-align: center;
    font-size: 1.05rem;
    font-weight: 700;
    color: #5eb5ff;
    letter-spacing: 0.02em;
}

.text-content .article-toc-list {
    margin: 0;
    padding: 0 0 0 1.35rem;
    list-style: decimal;
    font-size: 0.95rem;
    line-height: 1.45;
}

.article-toc-list .level-1 {
    margin: 0 0 0.55rem;
    padding-left: 0.15rem;
}

.article-toc-list .level-1:last-child {
    margin-bottom: 0;
}

.article-toc-list a {
    color: rgba(255, 255, 255, 0.92);
    text-decoration: none;
    font-weight: inherit;
    transition: color 0.15s ease, text-decoration 0.15s ease;
}

.article-toc-list a:hover {
    color: rgb(var(--accent-blue-rgb));
    text-decoration: underline;
}

@media (max-width: 768px) {
    .article-toc {
        max-width: 100%;
    }
}

.content-screen-figure {
    margin: 28px 0 32px;
    text-align: center;
}

.content-screen-img {
    max-width: 100%;
    height: auto;
    border-radius: 12px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.35);
}

.text-content h2,
.text-content h3 {
    font-size: 24px;
    font-weight: 700;
    margin-top: 40px;
    margin-bottom: 20px;
    color: #5eb5ff;
    text-align: left;
}

.text-content ul,
.text-content ol {
    margin: 0 0 20px 1.2em;
    padding: 0;
}

.text-content li {
    margin-bottom: 8px;
}

.faq-list {
    margin-top: 8px;
    display: flex;
    flex-direction: column;
    gap: 0;
}

.faq-item {
    border-bottom: 1px solid rgba(var(--accent-gold-rgb), 0.22);
}

.faq-item:last-child {
    border-bottom: none;
}

.faq-summary {
    list-style: none;
    cursor: pointer;
    padding: 16px 28px 16px 0;
    font-size: 18px;
    font-weight: 700;
    color: #e2e8f0;
    position: relative;
    line-height: 1.35;
    text-shadow: 0 0 18px rgba(var(--accent-gold-rgb), 0.08);
}

.faq-summary .faq-question {
    margin: 0;
    padding: 0;
    font-size: inherit;
    font-weight: 700;
    color: inherit;
    line-height: inherit;
}

.faq-summary::-webkit-details-marker {
    display: none;
}

.faq-summary:hover {
    color: #ffffff;
}

.faq-item[open] .faq-summary:hover {
    color: #fecdd3;
}

.faq-summary::after {
    content: '';
    position: absolute;
    right: 4px;
    top: 50%;
    width: 8px;
    height: 8px;
    margin-top: -6px;
    border-right: 2px solid rgba(var(--accent-gold-rgb), 0.88);
    border-bottom: 2px solid rgba(var(--accent-gold-rgb), 0.88);
    transform: rotate(45deg);
    transition: transform 0.2s ease;
}

.faq-item[open] .faq-summary::after {
    transform: rotate(-135deg);
    margin-top: -2px;
}

.faq-item[open] .faq-summary {
    color: #7ec8ff;
    text-shadow: 0 0 20px rgba(94, 181, 255, 0.28);
}

.faq-body {
    padding: 0 0 18px 0;
}

.faq-body p {
    margin: 0;
    color: rgba(255, 255, 255, 0.88);
    font-size: 15px;
    line-height: 1.7;
}

.faq-body .faq-answer-plain {
    margin: 0 0 12px 0;
    font-weight: 600;
}


@media (max-width: 768px) {
    .container {
        flex-direction: column;
        align-items: center;
        padding: 10px;
    }

    .content-section {
        padding: 0px 20px;
    }

    .content-max-width {
        padding-top: 40px;
    }

    .content-title {
        font-size: 24px;
    }

    .content-btn {
        padding: 15px 35px;
        font-size: 16px;
    }

    .text-content {
        font-size: 15px;
        line-height: 1.7;
    }

    .text-content h2,
    .text-content h3 {
        font-size: 20px;
        margin-top: 30px;
    }

    .faq-summary {
        font-size: 16px;
        padding-top: 14px;
        padding-bottom: 14px;
    }

    .headline-2 {
        font-size: 25px;
    }
}

@media (max-width: 600px) {
    .header-search {
        display: none;
    }

    .form-container {
        padding: 20px;
    }

    .logo-header-img {
        height: 50px;
        transform: scale(1.3);
    }

    .header-actions {
        width: 100%;
    }
    .headline-1 {
        font-size: 14px;
    }
}

/* Footer */
.footer {
    flex-shrink: 0;
    background:
        radial-gradient(ellipse 80% 120% at 50% 0%, rgba(94, 181, 255, 0.08) 0%, transparent 55%),
        linear-gradient(180deg, #0c1524 0%, #070d16 100%);
    padding: 20px 30px;
    border-top: 1px solid rgba(94, 181, 255, 0.22);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.04);
}

.footer-content {
    max-width: 1400px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 30px;
    flex-wrap: wrap;
}

.footer-nav {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 16px 22px;
}

.footer-nav a {
    color: #9ca3af;
    font-size: 13px;
    font-weight: 600;
    text-decoration: none;
    white-space: nowrap;
    transition: color 0.2s, opacity 0.2s;
}

.footer-nav a:hover {
    color: rgb(var(--accent-blue-rgb));
    text-decoration: underline;
}

.legal-main {
    min-height: 50vh;
    /* padding-top: 72px; */
}

.legal-document .text-content h2,
.legal-document .text-content h3 {
    font-size: 20px;
    margin-top: 28px;
    margin-bottom: 14px;
    color: #5eb5ff;
}

.legal-link {
    color: #5eb5ff;
    font-weight: 600;
    text-decoration: underline;
    text-underline-offset: 3px;
}

.legal-link:hover {
    color: rgb(var(--accent-blue-rgb));
}

.legal-meta {
    margin-top: 24px;
    font-size: 14px;
    color: rgba(255, 255, 255, 0.65) !important;
}

.footer-left {
    display: flex;
    align-items: center;
    gap: 20px;
}

.age-restriction-icon {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    border: 2px solid rgba(var(--accent-pink-rgb), 0.4);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    position: relative;
}

.age-number {
    font-size: 22px;
    font-weight: 700;
    color: rgba(232, 237, 248, 0.95);
    position: absolute;
}

.age-plus {
    font-size: 10px;
    color: rgba(232, 237, 248, 0.95);
    position: absolute;
    top: 8px;
    left: 32px;
}

.footer-copyright {
    color: rgba(156, 163, 175, 0.92);
    font-size: 13px;
    font-weight: 600;
    margin: 0 0 8px 0 !important;
}

.footer-disclaimer p {
    color: rgba(255, 255, 255, 0.85);
    font-size: 13px;
    line-height: 1.5;
    margin: 0;
}

.footer-disclaimer p:first-child {
    margin-bottom: 5px;
}


@media (max-width: 768px) {
    .footer {
        padding: 15px 20px;
    }

    .age-restriction-icon {
        width: 45px;
        height: 45px;
    }

    .age-number {
        font-size: 20px;
    }

    .age-plus {
        font-size: 9px;
        top: 7px;
        left: 28px;
    }

    .footer-disclaimer p {
        font-size: 12px;
    }

    .footer-content {
        flex-direction: column;
        align-items: flex-start;
    }

    .footer-nav {
        width: 100%;
        padding-top: 12px;
        border-top: 1px solid rgba(var(--accent-pink-rgb), 0.15);
    }
}

/* ===== Vodka.bet: top bar + hero card (vodka-1.ru palette) ===== */
.header {
    background: linear-gradient(
        180deg,
        rgba(10, 16, 26, 0.62) 0%,
        rgba(10, 16, 26, 0.35) 52%,
        rgba(10, 16, 26, 0.12) 78%,
        rgba(10, 16, 26, 0) 100%
    );
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    box-shadow: none;
    /* нижний «хвост» градиента — без видимой линии между шапкой и героем */
    padding: 10px 0;
}

.page-legal .header {
    background: linear-gradient(
        180deg,
        rgba(10, 16, 26, 0.68) 0%,
        rgba(10, 16, 26, 0.38) 55%,
        rgba(10, 16, 26, 0.14) 82%,
        rgba(10, 16, 26, 0) 100%
    );
}



.header-content {
    max-width: 1400px;
    margin: 0 auto;
    padding: 8px 20px;
    justify-content: space-between;
}

.header-logo-img {
    height: 32px;
    width: auto;
    object-fit: contain;
    transform: none;
}

.header-right {
    display: flex;
    align-items: center;
    gap: 10px;
}

/* Header CTAs: same idea as vodka-1.ru .btn-register-header / .btn-signin-header */
.header-register {
    display: inline-block;
    background: linear-gradient(135deg, #5eb5ff 0%, #0072d3 100%);
    color: #ffffff;
    text-decoration: none;
    font-size: 14px;
    font-weight: 700;
    text-transform: none;
    padding: 12px 28px;
    border-radius: 12px;
    border: none;
    cursor: pointer;
    box-shadow: 0 2px 12px rgba(0, 114, 211, 0.25);
    transition: transform 0.2s, box-shadow 0.2s;
    white-space: nowrap;
}

.header-register:hover {
    transform: scale(1.05);
    box-shadow: 0 4px 15px rgba(94, 181, 255, 0.3);
}

.header-login {
    display: inline-block;
    background: linear-gradient(to top, #4ce900, #4ce892);
    color: #ffffff;
    text-decoration: none;
    font-size: 14px;
    font-weight: 700;
    text-transform: none;
    padding: 12px 28px;
    border-radius: 12px;
    border: none;
    cursor: pointer;
    transition: transform 0.2s, background 0.2s;
    white-space: nowrap;
}

.header-login:hover {
    background: linear-gradient(to top, #36b300, #36b300);
    transform: scale(1.05);
}

.header-help {
    display: flex;
    align-items: center;
    gap: 8px;
    color: #5eb5ff;
    text-decoration: none;
    font-size: 14px;
    font-weight: 400;
}

.help-icon {
    width: 24px;
    height: 24px;
    border: 2px solid #5eb5ff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 16px;
    color: #5eb5ff;
}

.download-label {
    color: #fff;
    font-size: 12px;
    text-transform: uppercase;
    margin: 0;
    white-space: nowrap;
}

.download-link {
    width: 28px;
    height: 28px;
    opacity: 0.5;
}

@media (max-width: 768px) {
    .header-content {
        padding: 12px 15px;
        flex-direction: column;
        gap: 10px;
        background: transparent;
    }

    .header-brand {
        width: 100%;
        justify-content: space-between;
        align-items: center;
        gap: 12px;
    }

    .header-logo {
        display: flex;
        justify-content: flex-start;
        width: auto;
        flex: 0 1 auto;
    }

    .header-logo-img {
        height: 30px;
    }

    .header-help {
        display: none;
    }

    .help-text {
        display: none;
    }

    .header-register,
    .header-login {
        padding: 10px 18px;
        font-size: 12px;
    }
}

.content-wrapper {
    position: relative;
}

.form-container {
    gap: 20px;
}

/* Hero logo: desktop only (mobile — centered logo in .header) */
.form-container .logo {
    display: none;
}

@media (min-width: 769px) {
    .form-container .logo {
        display: flex;
        justify-content: center;
        text-decoration: none;
    }

    .form-container .logo-img {
        max-height: 80px;
        width: 100%;
        height: auto;
        object-fit: contain;
        transform: none;
    }
}

/* Hero CTA: vodka-1.ru — синий «Регистрация», зелёный «Вход» */
.form-container .hero-buttons {
    display: flex;
    flex-direction: column;
    gap: 0;
    width: 100%;
}

.form-container .hero-buttons > a[href] {
    display: block;
    width: 100%;
}

.form-container .hero-buttons button.btn-register {
    -webkit-appearance: none;
    appearance: none;
    font-family: inherit;
    width: 100%;
    box-sizing: border-box;
}

.form-container .hero-buttons .btn-register,
.form-container .hero-buttons a.btn-register {
    background: linear-gradient(to top, #0051a3, #5eb5ff) !important;
    font-weight: 700;
    color: #fff !important;
    border: none;
    border-radius: 15px;
    box-shadow: none;
}

.form-container .hero-buttons .btn-register.btn-login,
.form-container .hero-buttons a.btn-register.btn-login {
    background: linear-gradient(to top, #4ce900, #4ce892) !important;
    margin-bottom: 15px;
    color: #fff !important;
}

.form-container .hero-buttons .btn-register:hover,
.form-container .hero-buttons a.btn-register:hover,
.form-container .hero-buttons button.btn-register:hover {
    transform: scale(1.02);
}

body.page-legal {
    padding-top: 48px;
}

body.page-legal .legal-wrap {
    max-width: 900px;
    margin: 0 auto;
    padding: 32px 20px 48px;
    color: rgba(255, 255, 255, 0.92);
    line-height: 1.7;
}

body.page-legal .legal-wrap h1 {
    color: #fff;
    margin-bottom: 20px;
}

body.page-legal .legal-wrap p {
    margin-bottom: 16px;
}

body.page-legal .legal-wrap a {
    color: #5eb5ff;
    font-weight: 700;
}

body.page-legal .legal-back {
    display: inline-block;
    margin-bottom: 20px;
    color: #5eb5ff;
    font-weight: bold;
    text-decoration: none;
}

/* Mobile-only promo strip after header (vodkabet-style bonus slide; local assets) */
.banerBody.mobile-promo-banner,
.mobile-promo-banner {
    display: none;
}

.noCopy {
    -webkit-user-select: none;
    user-select: none;
}

@media (max-width: 768px) {
    .banerBody.mobile-promo-banner,
    .mobile-promo-banner {
        display: block;
        width: 100%;
        box-sizing: border-box;
        padding: 0 12px 10px;
        /* clear fixed .header (включая нижний градиент-хвост) */
        margin-top: max(132px, env(safe-area-inset-top, 0px) + 72px);
        position: relative;
        z-index: 50;
    }

    .mobile-promo-banner__link {
        display: block;
        text-decoration: none;
        color: inherit;
        -webkit-tap-highlight-color: transparent;
    }

    .mobile-promo-banner__banner.bonusBanner {
        position: relative;
        border-radius: 16px;
        overflow: hidden;
        min-height: 168px;
        max-height: 220px;
        box-shadow: 0 8px 24px rgba(0, 0, 0, 0.35);
    }

    .mobile-promo-banner__back {
        position: absolute;
        inset: 0;
        z-index: 0;
    }

    .mobile-promo-banner__backImg {
        width: 100%;
        height: 100%;
        object-fit: cover;
        object-position: center;
        display: block;
    }

    .mobile-promo-banner__mainImg.bonusBannerMain {
        position: absolute;
        right: 7%;
        bottom: 0;
        height: 80%;
        width: auto;
        max-width: 55%;
        object-fit: contain;
        object-position: bottom right;
        z-index: 1;
        pointer-events: none;
    }

    .mobile-promo-banner__inside {
        position: relative;
        z-index: 2;
        padding: 14px 16px 16px;
        max-width: 70%;
        display: flex;
        flex-direction: column;
        gap: 13px;
        justify-content: center;
        min-height: 168px;
        box-sizing: border-box;
    }

    .mobile-promo-banner__text {
        margin: 0;
    }

    .mobile-promo-banner__lead {
        margin: 0;
        font-size: clamp(2.6rem, 10.4vw, 3.575rem);
        font-weight: 800;
        line-height: 0.95;
        color: #4ade80;
        text-shadow: 0 2px 12px rgba(0, 0, 0, 0.45);
    }

    .mobile-promo-banner__sub {
        margin: 5px 0 0;
        font-size: 1.235rem;
        font-weight: 600;
        color: rgba(255, 255, 255, 0.95);
        line-height: 1.25;
        text-shadow: 0 1px 8px rgba(0, 0, 0, 0.5);
    }

    .mobile-promo-banner__sub b {
        font-weight: 800;
        color: #fff;
    }

    .mobile-promo-banner__info {
        display: flex;
        gap: 13px;
        margin-top: 5px;
    }

    .mobile-promo-banner__iblock {
        flex: 1;
        min-width: 0;
        background: rgba(0, 0, 0, 0.35);
        border-radius: 10px;
        padding: 8px 10px;
        border: 1px solid rgba(255, 255, 255, 0.12);
    }

    .mobile-promo-banner__iblock-title {
        margin: 0;
        font-size: 0.956rem;
        font-weight: 800;
        color: #5eb5ff;
        line-height: 1.1;
    }

    .mobile-promo-banner__iblock .mobile-promo-under {
        margin-top: 5px;
        margin-bottom: 0;
        font-size: 0.592rem;
        line-height: 1.2;
        color: rgba(255, 255, 255, 0.82);
        text-transform: uppercase;
        letter-spacing: 0.02em;
    }
}
