/* ==========================================
   1. DESIGN TOKENS (Переменные)
   ========================================== */
:root {
    --color-bg: #200329;
    --color-white: #ffffff;
    --color-white-70: rgba(255, 255, 255, 0.7);
    --color-white-40: rgba(255, 255, 255, 0.4);

    --color-accent-pink: #ff03b8;
    --color-accent-pink-10: rgba(255, 3, 184, 0.1);
    --color-accent-purple: #dc0ac9;
    --color-accent-orange: #ff8f06;

    --color-shadow-black: rgba(0, 0, 0, 0.55);
    --font-main: "Montserrat", sans-serif;
}

/* ==========================================
   2. RESET & BASE STYLES
   ========================================== */
*,
*::before,
*::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    background-color: var(--color-bg);
    color: var(--color-white);
    font-family: var(--font-main);
    line-height: 1.6;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

a {
    text-decoration: none;
    color: inherit;
    transition: color 0.3s ease;
}

button {
    background: none;
    border: none;
    font-family: inherit;
    cursor: pointer;
}

.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

@media (max-width: 360px) {
    .container {
        padding: 0 16px;
    }
}

.section-title {
    font-size: clamp(1.75rem, 3vw, 2.5rem);
    font-weight: 900;
    text-align: center;
    margin-bottom: 48px;
    line-height: 1.3;
}

/* ==========================================
   3. BUTTONS (Интерактивные состояния)
   ========================================== */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 14px 32px;
    font-size: 0.9rem;
    font-weight: 700;
    border-radius: 8px;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.btn--primary {
    background: linear-gradient(135deg, var(--color-accent-pink), var(--color-accent-purple));
    color: var(--color-white);
    box-shadow: 0 4px 20px rgba(255, 3, 184, 0.3);
}

.btn--primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(255, 3, 184, 0.6);
    filter: brightness(1.1);
}

.btn--outline {
    border: 2px solid var(--color-accent-pink);
    color: var(--color-white);
}

.btn--outline:hover {
    background-color: var(--color-accent-pink-10);
    box-shadow: 0 0 15px rgba(255, 3, 184, 0.2);
    transform: translateY(-2px);
}

.btn--orange {
    background-color: var(--color-accent-orange);
    color: var(--color-white);
}

.btn--orange:hover {
    background-color: #ffaa39;
    box-shadow: 0 6px 20px rgba(255, 143, 6, 0.5);
    transform: translateY(-2px);
}

.btn:active {
    transform: translateY(0);
}

.section-cta {
    text-align: center;
    margin-top: 40px;
}

/* ==========================================
   4. HEADER
   ========================================== */
.header {
    width: 100%;
    position: fixed;
    top: 0;
    left: 0;
    z-index: 1000;
    padding: 20px 0;
    transition: background 0.35s ease, padding 0.35s ease, box-shadow 0.35s ease;
}

.header.is-scrolled {
    background: rgba(32, 3, 41, 0.96);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    padding: 12px 0;
    box-shadow: 0 2px 24px rgba(0, 0, 0, 0.5);
}

.header__container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
}

.header__logo-img {
    height: 45px;
    width: auto;
    flex-shrink: 0;
}

/* Nav */
.header__nav {
    flex: 1;
    display: flex;
    justify-content: center;
}

.header__menu {
    display: flex;
    list-style: none;
    gap: 28px;
    flex-wrap: wrap;
    justify-content: center;
}

.header__menu-link {
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--color-white-70);
    letter-spacing: 0.3px;
    transition: color 0.25s ease;
    white-space: nowrap;
}

.header__menu-link:hover {
    color: var(--color-accent-pink);
}

/* Actions (button + burger) */
.header__actions {
    display: flex;
    align-items: center;
    gap: 12px;
    flex-shrink: 0;
}

/* Hamburger button */
.header__burger {
    display: none;
    flex-direction: column;
    justify-content: space-between;
    width: 26px;
    height: 18px;
    padding: 0;
    background: none;
    border: none;
    cursor: pointer;
    flex-shrink: 0;
}

.header__burger span {
    display: block;
    width: 100%;
    height: 2px;
    background: var(--color-white);
    border-radius: 2px;
    transition: transform 0.3s ease, opacity 0.3s ease;
    transform-origin: center;
}

.header__burger.is-open span:nth-child(1) {
    transform: translateY(8px) rotate(45deg);
}

.header__burger.is-open span:nth-child(2) {
    opacity: 0;
    transform: scaleX(0);
}

.header__burger.is-open span:nth-child(3) {
    transform: translateY(-8px) rotate(-45deg);
}

/* Mobile nav */
@media (max-width: 900px) {
    .header__burger {
        display: flex;
    }

    .header__btn {
        display: none;
    }

    .header__nav {
        display: none;
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100vh;
        background: rgba(20, 2, 26, 0.98);
        backdrop-filter: blur(16px);
        -webkit-backdrop-filter: blur(16px);
        flex-direction: column;
        align-items: center;
        justify-content: center;
        z-index: 999;
        padding: 80px 24px 40px;
    }

    .header__nav.is-open {
        display: flex;
    }

    .header__menu {
        flex-direction: column;
        align-items: center;
        gap: 0;
        width: 100%;
        max-width: 320px;
    }

    .header__menu-item {
        width: 100%;
        border-bottom: 1px solid rgba(255, 255, 255, 0.07);
    }

    .header__menu-item:first-child {
        border-top: 1px solid rgba(255, 255, 255, 0.07);
    }

    .header__menu-link {
        display: block;
        padding: 18px 0;
        font-size: 1.1rem;
        text-align: center;
        color: var(--color-white-70);
    }

    .header__menu-link:hover {
        color: var(--color-accent-pink);
    }
}

/* Prevent body scroll when mobile nav is open */
body.nav-open {
    overflow: hidden;
}

/* Ensure hamburger is always on top of the overlay */
.header__actions {
    position: relative;
    z-index: 1001;
}

/* ==========================================
   5. HERO SECTION
   ========================================== */
.hero {
    display: flex;
    align-items: center;
    padding-top: 140px;
    padding-bottom: 60px;
    background: radial-gradient(circle at 85% 30%, rgba(220, 10, 201, 0.18), transparent 55%);
}

.hero__content {
    display: flex;
    flex-direction: column;
    gap: 28px;
    align-items: center;
    text-align: center;
    margin: 0 auto;
}

.hero__title {
    font-size: clamp(1.5rem, 5.5vw, 3rem);
    font-weight: 900;
    line-height: 1.15;
}

.hero__text {
    font-size: 1.125rem;
    color: var(--color-white-70);
    line-height: 1.7;
    text-align: center;
}

.hero__actions {
    display: flex;
    gap: 16px;
    justify-content: center;
}

@media (max-width: 900px) {
    .hero {
        padding-top: 100px;
    }
}

@media (max-width: 768px) {
    .hero {
        text-align: center;
        background: radial-gradient(circle at 50% 20%, rgba(220, 10, 201, 0.15), transparent 60%);
    }
    .hero__content {
        align-items: center;
    }
    .hero__actions {
        flex-direction: column;
        width: 100%;
    }
    .hero__actions .btn {
        width: 100%;
    }
    .hero__text {
        font-size: 1rem;
    }
}

@media (max-width: 480px) {
    .hero {
        padding-top: 80px;
        padding-bottom: 40px;
    }
}

/* ==========================================
   6. FEATURES ROWS (Flexbox Адаптив)
   ========================================== */
.features-section {
    padding: 60px 0;
}

.feature-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 60px;
    margin-bottom: 100px;
}

.feature-row--reverse {
    flex-direction: row-reverse;
}

.feature-row__content {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 24px;
}

.feature-row__title {
    font-size: clamp(1.75rem, 3vw, 2.5rem);
    font-weight: 900;
    line-height: 1.2;
}

.feature-row__text {
    color: var(--color-white-70);
    font-size: 1.05rem;
}

.feature-row__image-wrapper {
    flex: 1;
    display: flex;
    justify-content: center;
}

.feature-row__img {
    border-radius: 16px;
    box-shadow: 0 10px 30px var(--color-shadow-black);
    width: 100%;
    max-width: 500px;
    object-fit: cover;
}

@media (max-width: 768px) {
    .feature-row {
        flex-direction: column !important;
        gap: 32px;
        margin-bottom: 64px;
        text-align: center;
    }
    .feature-row__content {
        align-items: center;
    }
    .feature-row__image-wrapper {
        width: 100%;
    }
}

/* ==========================================
   7. LOYALTY GRID
   ========================================== */
.loyalty-section {
    padding: 60px 0;
}

.loyalty-grid {
    display: flex;
    gap: 24px;
    justify-content: space-between;
}

@media (max-width: 992px) {
    .loyalty-grid {
        flex-direction: column;
    }
}

.loyalty-card {
    flex: 1;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.08);
    padding: 40px 32px;
    border-radius: 16px;
    display: flex;
    flex-direction: column;
    gap: 20px;
    transition:
        transform 0.3s ease,
        border-color 0.3s ease;
}

.loyalty-card:hover {
    transform: translateY(-5px);
    border-color: rgba(255, 3, 184, 0.3);
}

.loyalty-card__title {
    font-size: 1.5rem;
    font-weight: 700;
}

.loyalty-card__text {
    color: var(--color-white-70);
    font-size: 0.95rem;
}

.loyalty-card--featured {
    background: linear-gradient(180deg, rgba(255, 143, 6, 0.05) 0%, rgba(20, 3, 25, 0.9) 100%);
    border: 2px solid var(--color-accent-orange);
    position: relative;
}

.loyalty-card__btn {
    margin-top: auto;
}

/* ==========================================
   8. VIP SECTION
   ========================================== */
.vip-section {
    padding: 60px 0;
    background: radial-gradient(ellipse at 50% 0%, rgba(255, 3, 184, 0.06), transparent 65%);
}

.vip-section__intro {
    max-width: 820px;
    margin: 0 auto 24px;
    color: var(--color-white-70);
    font-size: 1.05rem;
    line-height: 1.7;
    text-align: center;
}

.vip-section__text {
    max-width: 820px;
    margin: 0 auto 20px;
    color: var(--color-white-70);
    font-size: 1.05rem;
    line-height: 1.7;
    text-align: center;
}

.vip-section__subtitle {
    margin-top: 56px;
}

.vip-grid {
    display: flex;
    gap: 24px;
}

.vip-card {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 0;
    background-color: #440638;
    border: 1px solid rgba(255, 3, 184, 0.15);
    border-radius: 20px;
    overflow: hidden;
    transition: transform 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease;
}

.vip-card:hover {
    transform: translateY(-5px);
    border-color: rgba(255, 3, 184, 0.4);
    box-shadow: 0 12px 32px rgba(255, 3, 184, 0.15);
}

.vip-card__desc {
    padding: 28px 28px 24px;
    color: var(--color-white-70);
    font-size: 0.95rem;
    line-height: 1.65;
    flex: 1;
}

.vip-card__img-container {
    width: 100%;
    background: transparent;
    overflow: hidden;
    margin-top: auto;
}

.vip-card__img {
    width: 100%;
    height: auto;
    display: block;
    transition: transform 0.5s ease;
}

.vip-card:hover .vip-card__img {
    transform: scale(1.04);
}

@media (max-width: 992px) {
    .vip-grid {
        gap: 20px;
    }
}

@media (max-width: 768px) {
    .vip-section {
        padding: 60px 0;
    }
    .vip-section__intro,
    .vip-section__text {
        font-size: 0.95rem;
    }
    .vip-section__subtitle {
        margin-top: 40px;
    }
    .vip-grid {
        flex-direction: column;
        gap: 16px;
    }
    .vip-card__desc {
        padding: 24px 20px 20px;
    }
}

@media (max-width: 480px) {
    .vip-card__desc {
        padding: 20px 16px 16px;
        font-size: 0.9rem;
    }
}

/* ==========================================
   SPORTS SECTION (Sportwetten)
   ========================================== */
.sports-section {
    padding: 60px 0;
}

.sports-section__intro {
    max-width: 820px;
    margin: 0 auto 48px;
    color: var(--color-white-70);
    font-size: 1.05rem;
    line-height: 1.7;
    text-align: center;
}

.sports-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    margin-bottom: 48px;
}

@media (max-width: 992px) {
    .sports-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 576px) {
    .sports-grid {
        grid-template-columns: 1fr;
    }
}

.sports-card {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 16px;
    padding: 32px 28px;
    display: flex;
    flex-direction: column;
    gap: 12px;
    transition: transform 0.3s ease, border-color 0.3s ease;
    position: relative;
    overflow: hidden;
}

.sports-card::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 3px;
    background: linear-gradient(90deg, var(--color-accent-pink), var(--color-accent-orange));
}

.sports-card:hover {
    transform: translateY(-5px);
    border-color: rgba(255, 143, 6, 0.35);
}

.sports-card__value {
    font-size: 1.4rem;
    font-weight: 900;
    background: linear-gradient(90deg, var(--color-accent-orange), var(--color-accent-pink));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    line-height: 1;
    letter-spacing: -0.3px;
}

.sports-card__title {
    font-size: 1.05rem;
    font-weight: 700;
    color: var(--color-white);
    line-height: 1.3;
}

.sports-card__text {
    color: var(--color-white-70);
    font-size: 0.9rem;
    line-height: 1.6;
}

.sports-section__outro {
    max-width: 820px;
    margin: 0 auto;
    color: var(--color-white-70);
    font-size: 1.05rem;
    line-height: 1.7;
    text-align: center;
    padding-top: 8px;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    padding-top: 32px;
}

/* ==========================================
   TOURNAMENTS SECTION
   ========================================== */
.tournaments-section {
    padding: 60px 0;
    background: radial-gradient(ellipse at 50% 0%, rgba(255, 143, 6, 0.07), transparent 65%);
}

.tournaments-section__intro {
    max-width: 820px;
    margin: 0 auto 48px;
    color: var(--color-white-70);
    font-size: 1.05rem;
    line-height: 1.7;
    text-align: center;
}

.tournaments-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
}

@media (max-width: 768px) {
    .tournaments-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 480px) {
    .tournament-card {
        padding: 24px 20px;
    }
}

.tournament-card {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-top: 3px solid var(--color-accent-orange);
    border-radius: 16px;
    padding: 36px 32px;
    display: flex;
    flex-direction: column;
    gap: 14px;
    transition: transform 0.3s ease, border-color 0.3s ease;
}

.tournament-card:hover {
    transform: translateY(-5px);
    border-color: var(--color-accent-orange);
    border-top-color: var(--color-accent-orange);
}

.tournament-card--featured {
    background: linear-gradient(160deg, rgba(255, 143, 6, 0.08) 0%, rgba(32, 3, 41, 0.95) 100%);
    border: 2px solid var(--color-accent-orange);
}

.tournament-card__pool {
    display: inline-block;
    font-size: 1.75rem;
    font-weight: 900;
    color: var(--color-accent-orange);
    line-height: 1;
    letter-spacing: -0.5px;
}

.tournament-card__title {
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--color-white);
    line-height: 1.3;
}

.tournament-card__text {
    color: var(--color-white-70);
    font-size: 0.95rem;
    line-height: 1.65;
}

/* ==========================================
   ACTIONS SECTION (Aktionen im Dauerfeuer)
   ========================================== */
.actions-section {
    padding: 60px 0;
}

.actions-section__intro {
    max-width: 820px;
    margin: 0 auto 48px;
    color: var(--color-white-70);
    font-size: 1.05rem;
    line-height: 1.7;
    text-align: center;
}

.actions-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
}

@media (max-width: 768px) {
    .actions-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 480px) {
    .actions-card {
        padding: 24px 20px;
    }
}

.actions-card {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 16px;
    padding: 36px 32px;
    display: flex;
    flex-direction: column;
    gap: 16px;
    transition: transform 0.3s ease, border-color 0.3s ease;
    position: relative;
    overflow: hidden;
}

.actions-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 4px;
    height: 100%;
    background: linear-gradient(180deg, var(--color-accent-pink), var(--color-accent-purple));
    border-radius: 4px 0 0 4px;
}

.actions-card:hover {
    transform: translateY(-5px);
    border-color: rgba(255, 3, 184, 0.3);
}

.actions-card__number {
    font-size: 0.8rem;
    font-weight: 700;
    letter-spacing: 2px;
    color: var(--color-accent-pink);
    text-transform: uppercase;
}

.actions-card__title {
    font-size: 1.25rem;
    font-weight: 700;
    line-height: 1.3;
    color: var(--color-white);
}

.actions-card__text {
    color: var(--color-white-70);
    font-size: 0.95rem;
    line-height: 1.65;
}

/* ==========================================
   GAMES SECTION (Spielauswahl)
   ========================================== */
.games-section {
    padding: 60px 0;
    background: radial-gradient(ellipse at 50% 100%, rgba(220, 10, 201, 0.08), transparent 60%);
}

.games-section__intro {
    max-width: 700px;
    margin: 0 auto 48px;
    color: var(--color-white-70);
    font-size: 1.05rem;
    line-height: 1.7;
    text-align: center;
}

.games-highlight {
    display: flex;
    align-items: center;
    gap: 32px;
    background: linear-gradient(135deg, rgba(255, 3, 184, 0.08), rgba(255, 143, 6, 0.06));
    border: 1px solid rgba(255, 3, 184, 0.2);
    border-radius: 20px;
    padding: 40px 48px;
    margin-bottom: 48px;
}

@media (max-width: 576px) {
    .games-highlight {
        flex-direction: column;
        text-align: center;
        padding: 32px 24px;
        gap: 16px;
    }
}

.games-highlight__number {
    font-size: clamp(3rem, 6vw, 5rem);
    font-weight: 900;
    line-height: 1;
    white-space: nowrap;
    background: linear-gradient(135deg, var(--color-accent-pink), var(--color-accent-orange));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    flex-shrink: 0;
}

.games-highlight__text {
    font-size: 1.05rem;
    color: var(--color-white-70);
    line-height: 1.7;
}

.games-categories {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    margin-bottom: 32px;
}

@media (max-width: 992px) {
    .games-categories {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 576px) {
    .games-categories {
        grid-template-columns: 1fr;
    }
}

.games-category {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 14px;
    padding: 28px 24px;
    display: flex;
    flex-direction: column;
    gap: 10px;
    transition: transform 0.3s ease, border-color 0.3s ease;
}

.games-category:hover {
    transform: translateY(-4px);
    border-color: rgba(255, 3, 184, 0.3);
}

.games-category__title {
    font-size: 1rem;
    font-weight: 700;
    color: var(--color-white);
}

.games-category__text {
    font-size: 0.875rem;
    color: var(--color-white-70);
    line-height: 1.6;
}

.games-mobile-note {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-left: 4px solid var(--color-accent-pink);
    border-radius: 0 12px 12px 0;
    padding: 20px 28px;
    font-size: 0.95rem;
    color: var(--color-white-70);
    line-height: 1.65;
}

.games-mobile-note strong {
    color: var(--color-white);
}

/* ==========================================
   CANDID SECTION (Ungeschminkter Blick)
   ========================================== */
.candid-section {
    padding: 60px 0;
    background: radial-gradient(ellipse at 50% 50%, rgba(255, 143, 6, 0.05), transparent 65%);
}

.candid-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    margin-bottom: 32px;
}

@media (max-width: 768px) {
    .candid-grid {
        grid-template-columns: 1fr;
    }
}

.candid-card {
    border-radius: 16px;
    padding: 32px 28px;
    display: flex;
    flex-direction: column;
    gap: 14px;
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 143, 6, 0.2);
    transition: transform 0.3s ease, border-color 0.3s ease;
}

.candid-card:hover {
    transform: translateY(-4px);
    border-color: rgba(255, 143, 6, 0.45);
}

.candid-card__icon {
    font-size: 1.5rem;
    color: var(--color-accent-orange);
    line-height: 1;
}

.candid-card__title {
    font-size: 1.05rem;
    font-weight: 700;
    color: var(--color-white);
}

.candid-card__text {
    font-size: 0.9rem;
    color: var(--color-white-70);
    line-height: 1.65;
}

.candid-conclusion {
    max-width: 820px;
    margin: 0 auto;
    padding: 28px 36px;
    background: rgba(255, 143, 6, 0.05);
    border: 1px solid rgba(255, 143, 6, 0.15);
    border-radius: 14px;
    font-size: 1rem;
    color: var(--color-white-70);
    line-height: 1.7;
    text-align: center;
}

/* ==========================================
   PAYMENTS SECTION (Zahlungsvorteile)
   ========================================== */
.payments-section {
    padding: 60px 0;
    background-color: #200329;
}

.payments-title {
    font-size: clamp(1.75rem, 3vw, 2.5rem);
    font-weight: 900;
    text-align: center;
    margin-bottom: 48px;
    color: #ffffff;
    font-family: "Montserrat", sans-serif;
}

.payments-grid {
    display: flex;
    gap: 24px;
    justify-content: space-between;
}

.payments-card {
    flex: 1;
    padding: 32px 24px 0 24px; 
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    border-top: 1px solid #FF8F06;
    gap: 28px;
    transition:
        transform 0.3s ease,
        border-color 0.3s ease;
}

.payments-card:hover {
    transform: translateY(-5px);
}

.payments-card__text {
    font-family: "Montserrat", sans-serif;
    font-size: 0.95rem;
    line-height: 1.6;
    color: rgba(255, 255, 255, 0.7);
}

.payments-card__img-wrapper {
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: flex-end;
    overflow: hidden;
    margin-top: auto;
}

.payments-card__img-wrapper--center {
    align-items: center;
    padding-bottom: 24px;
}

.payments-card__img {
    max-width: 100%;
    height: auto;
    display: block;
    object-fit: contain;
}

@media (max-width: 992px) {
    .payments-grid {
        flex-direction: column;
        gap: 32px;
    }

    .payments-card {
        padding: 32px 24px 0 24px;
    }

    .payments-card__img-wrapper--center {
        padding-bottom: 32px;
    }
}

/* ==========================================
   9. SUMMARY SECTION
   ========================================== */
.summary-section {
    min-height: 320px;
    padding: 26px 0 36px;
    background-color: var(--color-bg);
}

.summary-section__container {
    min-height: 255px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    padding-right: 40px;
    padding-left: 40px;
}

.summary-section__title {
    max-width: 820px;
    margin: 0 auto;
    color: var(--color-white);
    font-size: clamp(1.75rem, 3.2vw, 2.75rem);
    font-weight: 900;
    line-height: 1.22;
    text-align: center;
}

.summary-section__text {
    max-width: 1060px;
    color: var(--color-white);
    font-size: 0.95rem;
    font-weight: 500;
    line-height: 1.42;
}

@media (max-width: 768px) {
    .summary-section {
        min-height: auto;
        padding: 28px 0 40px;
    }

    .summary-section__container {
        min-height: auto;
        gap: 42px;
        padding-right: 24px;
        padding-left: 24px;
    }

    .summary-section__text {
        font-size: 0.9rem;
    }
}

.casino-card {
            width: 100%;
            overflow: hidden;
        }

        /* Верхняя часть с заголовком */
        .card-header {
            background-color: var(--header-bg);
            padding: 40px 30px;
            text-align: center;
            border-bottom: 4px solid var(--border-color);
        }

        .card-header h2 {
            color: var(--heading-color);
            font-size: 2rem;
            font-weight: 700;
            line-height: 1.3;
            max-width: 800px;
            margin: 0 auto;
        }

        /* Нижняя часть с текстом */
        .card-body {
            background-color: var(--bg-color);
            padding: 40px;
        }

        .card-body p {
            font-size: 1rem;
            line-height: 1.6;
            margin-bottom: 1.5rem;
            font-weight: 400;
            text-align: justify;
        }

        /* Последний абзац без отступа снизу */
        .card-body p:last-child {
            margin-bottom: 0;
        }

        /* Адаптивность для мобильных устройств */
        @media (max-width: 768px) {
            .card-header h2 {
                font-size: 1.5rem;
            }
            
            .card-body {
                padding: 25px 20px;
            }

            .card-body p {
                font-size: 0.95rem;
                text-align: left; /* На мобильных выравнивание по левому краю выглядит лучше */
            }
        }

/* ==========================================
   DISCLAIMER BAR
   ========================================== */
.disclaimer-bar {
    background: rgba(0, 0, 0, 0.35);
    border-top: 1px solid rgba(255, 255, 255, 0.06);
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
    padding: 16px 0;
}

.disclaimer-bar__text {
    font-size: 0.8rem;
    color: var(--color-white-40);
    line-height: 1.6;
    text-align: center;
    max-width: 900px;
    margin: 0 auto;
}

/* ==========================================
   10. FOOTER
   ========================================== */
.footer {
    background: #15021a;
    position: relative;
    overflow: hidden;
}

.footer__glow-line {
    height: 3px;
    background: linear-gradient(90deg, var(--color-accent-pink), var(--color-accent-purple), var(--color-accent-orange));
}

.footer__top {
    display: grid;
    grid-template-columns: 1.8fr 1fr 1.4fr;
    gap: 48px;
    padding: 56px 0 48px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.07);
}

.footer__brand {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 14px;
}

.footer__brand-logo {
    height: auto;
    max-height: 160px;
    width: auto;
    max-width: 100%;
    display: block;
}

.footer__tagline {
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--color-white-70);
    letter-spacing: 0.4px;
    text-align: center;
}

/* Footer col title */
.footer__col-title {
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    color: var(--color-accent-pink);
    margin-bottom: 16px;
}

/* Footer nav column */
.footer__nav-list {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.footer__nav-link {
    font-size: 0.875rem;
    color: var(--color-white-70);
    transition: color 0.25s ease, padding-left 0.25s ease;
    display: inline-block;
}

.footer__nav-link:hover {
    color: var(--color-accent-pink);
    padding-left: 6px;
}

/* Responsible gambling column */
.footer__responsible {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.footer__age-badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 48px;
    height: 48px;
    border-radius: 50%;
    border: 2px solid var(--color-accent-pink);
    color: var(--color-accent-pink);
    font-size: 1rem;
    font-weight: 900;
    background: var(--color-accent-pink-10);
    flex-shrink: 0;
}

.footer__responsible-text {
    font-size: 0.8rem;
    color: var(--color-white-40);
    line-height: 1.6;
}

/* Disclaimer bar */
.footer__disclaimer {
    padding: 16px 20px;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: 10px;
    margin-top: 32px;
}

.footer__disclaimer p {
    font-size: 0.75rem;
    color: var(--color-white-40);
    line-height: 1.6;
    text-align: center;
}

/* Footer bottom bar */
.footer__bottom {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 20px 0;
    margin-top: 24px;
    border-top: 1px solid rgba(255, 255, 255, 0.06);
}

.footer__bottom-text {
    font-size: 0.8rem;
    color: var(--color-white-40);
}

.footer__bottom-back {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.8px;
    color: var(--color-white);
    background: rgba(255, 3, 184, 0.1);
    border: 1px solid rgba(255, 3, 184, 0.35);
    padding: 8px 18px;
    border-radius: 30px;
    transition: all 0.25s ease;
}

.footer__bottom-back:hover {
    background: linear-gradient(135deg, var(--color-accent-pink), var(--color-accent-purple));
    border-color: transparent;
    color: var(--color-white);
    box-shadow: 0 4px 18px rgba(255, 3, 184, 0.35);
}

@media (max-width: 900px) {
    .footer__top {
        grid-template-columns: 1fr 1fr;
    }

    .footer__brand {
        grid-column: 1 / -1;
    }
}

@media (max-width: 576px) {
    .footer__top {
        grid-template-columns: 1fr;
    }

    .footer__bottom {
        flex-direction: column;
        gap: 16px;
        text-align: center;
    }
}

/* ==========================================
   11. LEGAL PAGE
   ========================================== */
.legal-page {
    padding: 120px 0 80px;
}

.legal-page__header {
    text-align: center;
    margin-bottom: 60px;
    padding-bottom: 40px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.07);
}

.legal-page__title {
    font-size: clamp(1.75rem, 4vw, 2.75rem);
    font-weight: 900;
    line-height: 1.2;
    margin-bottom: 16px;
    background: linear-gradient(135deg, var(--color-accent-pink), var(--color-accent-orange));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.legal-page__subtitle {
    font-size: 0.875rem;
    color: var(--color-white-40);
    letter-spacing: 0.5px;
}

.legal-toc {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.07);
    border-radius: 12px;
    padding: 28px 32px;
    margin-bottom: 48px;
}

.legal-toc__title {
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    color: var(--color-accent-pink);
    margin-bottom: 16px;
}

.legal-toc__list {
    list-style: none;
    display: flex;
    flex-wrap: wrap;
    gap: 10px 24px;
}

.legal-toc__list a {
    font-size: 0.875rem;
    color: var(--color-white-70);
    transition: color 0.25s ease;
}

.legal-toc__list a:hover {
    color: var(--color-accent-pink);
}

.legal-section {
    margin-bottom: 56px;
    scroll-margin-top: 100px;
}

.legal-section__title {
    font-size: clamp(1.2rem, 2.5vw, 1.6rem);
    font-weight: 800;
    margin-bottom: 20px;
    color: var(--color-white);
    padding-bottom: 12px;
    border-bottom: 2px solid rgba(255, 3, 184, 0.25);
    display: flex;
    align-items: center;
    gap: 12px;
}

.legal-section__title::before {
    content: '';
    display: inline-block;
    width: 4px;
    height: 1.4em;
    background: linear-gradient(180deg, var(--color-accent-pink), var(--color-accent-purple));
    border-radius: 2px;
    flex-shrink: 0;
}

.legal-section p {
    font-size: 0.9375rem;
    color: var(--color-white-70);
    line-height: 1.8;
    margin-bottom: 16px;
}

.legal-section p:last-child {
    margin-bottom: 0;
}

.legal-section a {
    color: var(--color-accent-pink);
    text-decoration: underline;
    text-underline-offset: 3px;
    transition: color 0.25s ease;
}

.legal-section a:hover {
    color: var(--color-accent-orange);
}

.legal-section ul {
    list-style: none;
    margin: 16px 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.legal-section ul li {
    font-size: 0.9375rem;
    color: var(--color-white-70);
    line-height: 1.7;
    padding-left: 20px;
    position: relative;
}

.legal-section ul li::before {
    content: '›';
    position: absolute;
    left: 0;
    color: var(--color-accent-pink);
    font-weight: 700;
}

.legal-warning-box {
    background: rgba(255, 143, 6, 0.07);
    border: 1px solid rgba(255, 143, 6, 0.3);
    border-left: 4px solid var(--color-accent-orange);
    border-radius: 0 10px 10px 0;
    padding: 20px 24px;
    margin: 20px 0;
}

.legal-warning-box p {
    color: rgba(255, 200, 100, 0.9) !important;
    margin-bottom: 0 !important;
}

.legal-rights-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
    gap: 12px;
    margin: 20px 0;
}

.legal-rights-grid__item {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.07);
    border-radius: 8px;
    padding: 14px 16px;
    font-size: 0.85rem;
    color: var(--color-white-70);
}

.legal-rights-grid__item strong {
    display: block;
    font-size: 0.8rem;
    color: var(--color-accent-pink);
    font-weight: 700;
    margin-bottom: 4px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.legal-cookie-table {
    width: 100%;
    border-collapse: collapse;
    margin: 20px 0;
    font-size: 0.875rem;
}

.legal-cookie-table th {
    background: rgba(255, 3, 184, 0.08);
    color: var(--color-accent-pink);
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    font-size: 0.75rem;
    padding: 12px 16px;
    text-align: left;
    border-bottom: 1px solid rgba(255, 3, 184, 0.2);
}

.legal-cookie-table td {
    padding: 12px 16px;
    color: var(--color-white-70);
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    vertical-align: top;
}

.legal-cookie-table tr:last-child td {
    border-bottom: none;
}

.legal-cookie-table tr:hover td {
    background: rgba(255, 255, 255, 0.02);
}

.legal-notice-bar {
    background: rgba(255, 3, 184, 0.05);
    border: 1px solid rgba(255, 3, 184, 0.15);
    border-radius: 10px;
    padding: 20px 24px;
    margin-top: 48px;
    text-align: center;
    font-size: 0.8rem;
    color: var(--color-white-40);
    line-height: 1.7;
}

/* 404 Page */
.page-404 {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 40px 24px;
}

.page-404__inner {
    max-width: 560px;
}

.page-404__code {
    font-size: clamp(6rem, 20vw, 10rem);
    font-weight: 900;
    line-height: 1;
    background: linear-gradient(135deg, var(--color-accent-pink), var(--color-accent-purple), var(--color-accent-orange));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 8px;
}

.page-404__title {
    font-size: clamp(1.4rem, 3vw, 2rem);
    font-weight: 800;
    margin-bottom: 16px;
}

.page-404__text {
    font-size: 1rem;
    color: var(--color-white-70);
    margin-bottom: 36px;
    line-height: 1.7;
}

.page-404__actions {
    display: flex;
    gap: 16px;
    justify-content: center;
    flex-wrap: wrap;
}

@media (max-width: 576px) {
    .legal-toc {
        padding: 20px;
    }

    .legal-cookie-table {
        font-size: 0.8rem;
    }

    .legal-cookie-table th,
    .legal-cookie-table td {
        padding: 10px 10px;
    }
}
