*,
*::before,
*::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --bg-primary: #070f12;
    --bg-secondary: #0a1a1f;
    --bg-card: #0d2529;
    --bg-card-hover: #11302e;
    --teal: #14b8a6;
    --teal-dark: #0d9488;
    --teal-glow: rgba(20, 184, 166, 0.25);
    --gold: #f5a623;
    --gold-light: #ffd679;
    --gold-glow: rgba(245, 166, 35, 0.4);
    --gold-glow-strong: rgba(245, 166, 35, 0.6);
    --text-primary: #ffffff;
    --text-secondary: #a8c4c8;
    --text-muted: #6b8a8e;
    --border-color: rgba(20, 184, 166, 0.2);
    --border-color-strong: rgba(20, 184, 166, 0.4);
    --radius: 12px;
    --radius-sm: 8px;
    --radius-lg: 16px;
    --radius-pill: 50px;
    --transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

html {
    scroll-behavior: smooth;
    -webkit-text-size-adjust: 100%;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    background: var(--bg-primary);
    color: var(--text-primary);
    line-height: 1.6;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
}

a {
    color: var(--teal);
    text-decoration: none;
    transition: color var(--transition);
}

a:hover {
    color: var(--gold-light);
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

ul {
    list-style: none;
}

.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* ============================
   HEADER
   ============================ */

.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    padding: 12px 0;
    transition: all var(--transition);
    background: rgba(7, 15, 18, 0.6);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
}

.header--scrolled {
    background: rgba(7, 15, 18, 0.95);
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.4);
    padding: 8px 0;
}

.header__inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.header__logo {
    display: flex;
    align-items: center;
    gap: 10px;
    color: var(--text-primary);
    font-weight: 700;
    font-size: 1.2rem;
}

.header__logo:hover {
    color: var(--text-primary);
}

.header__logo img {
    width: 49px;
    height: 34px;
}

.header__logo-text {
    font-style: italic;
    letter-spacing: 0.5px;
}

.header__nav {
    display: flex;
    align-items: center;
    gap: 12px;
}

/* ============================
   BUTTONS
   ============================ */

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 10px 24px;
    border-radius: var(--radius-sm);
    font-family: inherit;
    font-weight: 600;
    font-size: 0.9rem;
    text-decoration: none;
    cursor: pointer;
    border: none;
    transition: all var(--transition);
    white-space: nowrap;
    line-height: 1.4;
}

.btn--gold {
    background: linear-gradient(135deg, var(--gold), var(--gold-light));
    color: #0a1a1f;
    box-shadow: 0 0 20px var(--gold-glow), 0 4px 15px rgba(0, 0, 0, 0.3);
}

.btn--gold:hover {
    background: linear-gradient(135deg, var(--gold-light), var(--gold));
    color: #0a1a1f;
    box-shadow: 0 0 30px var(--gold-glow-strong), 0 0 60px rgba(245, 166, 35, 0.2), 0 4px 20px rgba(0, 0, 0, 0.4);
    transform: translateY(-2px);
}

.btn--gold:active {
    transform: translateY(0);
}

.btn--outline {
    background: transparent;
    color: var(--text-primary);
    border: 2px solid var(--teal);
}

.btn--outline:hover {
    background: rgba(20, 184, 166, 0.1);
    color: var(--text-primary);
    border-color: var(--teal);
    box-shadow: 0 0 20px var(--teal-glow);
}

.btn--lg {
    padding: 14px 36px;
    font-size: 1rem;
    border-radius: var(--radius);
}

.btn--sm {
    padding: 8px 18px;
    font-size: 0.8rem;
}

/* ============================
   HERO
   ============================ */

.hero {
    position: relative;
    min-height: 90vh;
    display: flex;
    align-items: center;
    padding-top: 80px;
    overflow: hidden;
}

.hero__bg {
    position: absolute;
    inset: 0;
    z-index: 0;
}

.hero__bg img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center top;
}

.hero__overlay {
    position: absolute;
    inset: 0;
    z-index: 1;
    background:
        linear-gradient(180deg, rgba(7, 15, 18, 0.3) 0%, rgba(7, 15, 18, 0.6) 50%, var(--bg-primary) 100%),
        linear-gradient(90deg, rgba(7, 15, 18, 0.8) 0%, transparent 50%, rgba(7, 15, 18, 0.8) 100%);
}

.hero__content {
    position: relative;
    z-index: 2;
    text-align: center;
    max-width: 720px;
    margin: 0 auto;
    padding: 60px 20px;
}

.hero__title {
    font-size: clamp(2rem, 5vw, 3.2rem);
    font-weight: 800;
    line-height: 1.2;
    margin-bottom: 20px;
    background: linear-gradient(135deg, var(--text-primary) 0%, var(--gold-light) 50%, var(--gold) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero__subtitle {
    font-size: clamp(1rem, 2vw, 1.2rem);
    color: var(--text-secondary);
    margin-bottom: 36px;
    max-width: 560px;
    margin-left: auto;
    margin-right: auto;
}

.hero__buttons {
    display: flex;
    gap: 16px;
    justify-content: center;
    flex-wrap: wrap;
}

/* ============================
   SECTION TITLES
   ============================ */

.section-title {
    font-size: clamp(1.5rem, 3vw, 2.2rem);
    font-weight: 800;
    text-align: center;
    margin-bottom: 12px;
    color: var(--text-primary);
}

.section-subtitle {
    text-align: center;
    color: var(--text-secondary);
    font-size: 1.05rem;
    max-width: 600px;
    margin: 0 auto 48px;
}

/* ============================
   ADVANTAGES
   ============================ */

.advantages {
    padding: 80px 0;
    position: relative;
}

.advantages::before {
    content: '';
    position: absolute;
    top: -80px;
    left: 50%;
    transform: translateX(-50%);
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, var(--teal-glow) 0%, transparent 70%);
    pointer-events: none;
    opacity: 0.3;
}

.advantages__grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}

.advantage-card {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    padding: 32px 24px;
    text-align: center;
    transition: all var(--transition);
    position: relative;
    overflow: hidden;
}

.advantage-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--teal), var(--gold));
    opacity: 0;
    transition: opacity var(--transition);
}

.advantage-card:hover {
    transform: translateY(-6px);
    border-color: var(--border-color-strong);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.3), 0 0 30px var(--teal-glow);
}

.advantage-card:hover::before {
    opacity: 1;
}

.advantage-card__icon {
    font-size: 2.5rem;
    margin-bottom: 16px;
    display: block;
}

.advantage-card__title {
    font-size: 1.1rem;
    font-weight: 700;
    margin-bottom: 10px;
}

.advantage-card__text {
    font-size: 0.9rem;
    color: var(--text-secondary);
    margin-bottom: 20px;
    line-height: 1.5;
}

/* ============================
   GAMES
   ============================ */

.games {
    padding: 80px 0;
    background: var(--bg-secondary);
}

.games__categories {
    display: flex;
    gap: 10px;
    justify-content: center;
    flex-wrap: wrap;
    margin-bottom: 36px;
}

.category-pill {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 8px 20px;
    border-radius: var(--radius-pill);
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    color: var(--text-secondary);
    font-family: inherit;
    font-size: 0.85rem;
    font-weight: 500;
    cursor: pointer;
    transition: all var(--transition);
}

.category-pill:hover {
    border-color: var(--teal);
    color: var(--text-primary);
}

.category-pill--active {
    background: rgba(20, 184, 166, 0.15);
    border-color: var(--teal);
    color: var(--text-primary);
    box-shadow: 0 0 15px var(--teal-glow);
}

.category-pill__icon {
    font-size: 1rem;
}

.games__grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 16px;
    margin-bottom: 40px;
}

.game-card {
    position: relative;
    border-radius: var(--radius);
    overflow: hidden;
    aspect-ratio: 3 / 4;
    cursor: pointer;
    transition: all var(--transition);
    display: block;
}

.game-card__img {
    width: 100%;
    height: 100%;
    background: var(--bg-card);
    position: relative;
    overflow: hidden;
}

.game-card__img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform var(--transition);
}

.game-card:hover .game-card__img img {
    transform: scale(1.08);
}

.game-card__badge {
    position: absolute;
    top: 8px;
    left: 8px;
    background: linear-gradient(135deg, var(--gold), var(--gold-light));
    color: #0a1a1f;
    font-size: 0.65rem;
    font-weight: 700;
    padding: 3px 8px;
    border-radius: 4px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.game-card__badge--hot {
    background: linear-gradient(135deg, #ef4444, #f97316);
    color: #fff;
}

.game-card__badge--new {
    background: linear-gradient(135deg, #10b981, #34d399);
    color: #fff;
}

.game-card__overlay {
    position: absolute;
    inset: 0;
    background: rgba(7, 15, 18, 0.75);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity var(--transition);
}

.game-card:hover {
    transform: translateY(-4px) scale(1.03);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.4);
}

.game-card:hover .game-card__overlay {
    opacity: 1;
}

.game-card__name {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 20px 10px 10px;
    background: linear-gradient(transparent, rgba(7, 15, 18, 0.9));
    font-size: 0.78rem;
    font-weight: 600;
    text-align: center;
    color: var(--text-primary);
}

.games__cta {
    text-align: center;
}

/* ============================
   BONUSES
   ============================ */

.bonuses {
    padding: 80px 0;
}

.bonuses__grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.bonus-card {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    overflow: hidden;
    transition: all var(--transition);
}

.bonus-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.3);
    border-color: var(--border-color-strong);
}

.bonus-card__header {
    background: linear-gradient(135deg, rgba(245, 166, 35, 0.2), rgba(255, 214, 121, 0.1));
    padding: 28px 24px;
    text-align: center;
    border-bottom: 1px solid var(--border-color);
}

.bonus-card__header--teal {
    background: linear-gradient(135deg, rgba(20, 184, 166, 0.2), rgba(20, 184, 166, 0.05));
}

.bonus-card__header--purple {
    background: linear-gradient(135deg, rgba(168, 85, 247, 0.2), rgba(168, 85, 247, 0.05));
}

.bonus-card__percent {
    display: block;
    font-size: 2.8rem;
    font-weight: 800;
    background: linear-gradient(135deg, var(--gold), var(--gold-light));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    line-height: 1.2;
}

.bonus-card__header--teal .bonus-card__percent {
    background: linear-gradient(135deg, var(--teal), #5eead4);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.bonus-card__header--purple .bonus-card__percent {
    -webkit-text-fill-color: unset;
    background: none;
}

.bonus-card__label {
    display: block;
    color: var(--text-secondary);
    font-size: 0.9rem;
    margin-top: 4px;
}

.bonus-card__body {
    padding: 24px;
}

.bonus-card__body h3 {
    font-size: 1.15rem;
    font-weight: 700;
    margin-bottom: 12px;
}

.bonus-card__body p {
    color: var(--text-secondary);
    font-size: 0.9rem;
    line-height: 1.6;
    margin-bottom: 16px;
}

.bonus-card__body ul {
    margin-bottom: 20px;
}

.bonus-card__body li {
    position: relative;
    padding-left: 20px;
    color: var(--text-secondary);
    font-size: 0.85rem;
    line-height: 1.8;
}

.bonus-card__body li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--teal);
    font-weight: 700;
}

/* ============================
   HOW TO START
   ============================ */

.howto {
    padding: 80px 0;
    background: var(--bg-secondary);
}

.howto__steps {
    display: flex;
    align-items: flex-start;
    justify-content: center;
    gap: 0;
    margin-bottom: 48px;
}

.howto__step {
    text-align: center;
    flex: 1;
    max-width: 280px;
    padding: 0 20px;
}

.howto__number {
    width: 64px;
    height: 64px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--gold), var(--gold-light));
    color: #0a1a1f;
    font-size: 1.6rem;
    font-weight: 800;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    box-shadow: 0 0 25px var(--gold-glow);
}

.howto__step h3 {
    font-size: 1.15rem;
    font-weight: 700;
    margin-bottom: 10px;
}

.howto__step p {
    color: var(--text-secondary);
    font-size: 0.9rem;
    line-height: 1.6;
}

.howto__connector {
    width: 80px;
    height: 2px;
    background: linear-gradient(90deg, var(--teal), var(--gold));
    margin-top: 32px;
    flex-shrink: 0;
    opacity: 0.5;
}

.howto__cta {
    text-align: center;
}

/* ============================
   ABOUT
   ============================ */

.about {
    padding: 80px 0;
}

.about__content {
    max-width: 900px;
    margin: 0 auto;
}

.about__text {
    margin-bottom: 48px;
}

.about__text p {
    color: var(--text-secondary);
    font-size: 0.95rem;
    line-height: 1.8;
    margin-bottom: 16px;
}

.about__text strong {
    color: var(--text-primary);
}

.about__features {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
    margin-bottom: 40px;
}

.about__feature {
    display: flex;
    align-items: flex-start;
    gap: 14px;
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius);
    padding: 20px;
    transition: all var(--transition);
}

.about__feature:hover {
    border-color: var(--border-color-strong);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
}

.about__feature-icon {
    font-size: 1.8rem;
    flex-shrink: 0;
}

.about__feature strong {
    display: block;
    font-size: 0.95rem;
    margin-bottom: 4px;
}

.about__feature p {
    color: var(--text-secondary);
    font-size: 0.85rem;
    line-height: 1.5;
}

.about__content > .btn {
    display: block;
    text-align: center;
    max-width: 320px;
    margin: 0 auto;
}

/* ============================
   FAQ
   ============================ */

.faq {
    padding: 80px 0;
    background: var(--bg-secondary);
}

.faq__list {
    max-width: 800px;
    margin: 0 auto;
}

.faq__item {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius);
    margin-bottom: 12px;
    overflow: hidden;
    transition: all var(--transition);
}

.faq__item:hover {
    border-color: var(--border-color-strong);
}

.faq__item[open] {
    border-color: var(--teal);
    box-shadow: 0 0 20px var(--teal-glow);
}

.faq__question {
    padding: 18px 24px;
    font-weight: 600;
    font-size: 0.95rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: space-between;
    list-style: none;
    user-select: none;
    transition: color var(--transition);
}

.faq__question::-webkit-details-marker {
    display: none;
}

.faq__question::after {
    content: '+';
    font-size: 1.4rem;
    font-weight: 300;
    color: var(--teal);
    transition: transform var(--transition);
    flex-shrink: 0;
    margin-left: 16px;
}

.faq__item[open] .faq__question::after {
    transform: rotate(45deg);
}

.faq__item[open] .faq__question {
    color: var(--gold);
}

.faq__answer {
    padding: 0 24px 18px;
}

.faq__answer p {
    color: var(--text-secondary);
    font-size: 0.9rem;
    line-height: 1.7;
}

.faq__answer a {
    color: var(--gold);
    text-decoration: underline;
    text-decoration-color: rgba(245, 166, 35, 0.3);
    text-underline-offset: 3px;
}

.faq__answer a:hover {
    text-decoration-color: var(--gold);
}

/* ============================
   CTA BANNER
   ============================ */

.cta-banner {
    padding: 80px 0;
    position: relative;
}

.cta-banner__inner {
    background: linear-gradient(135deg, var(--bg-card), rgba(20, 184, 166, 0.1));
    border: 1px solid var(--border-color-strong);
    border-radius: var(--radius-lg);
    padding: 60px 48px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 32px;
    position: relative;
    overflow: hidden;
}

.cta-banner__inner::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -20%;
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, var(--gold-glow) 0%, transparent 70%);
    pointer-events: none;
    opacity: 0.3;
}

.cta-banner__content h2 {
    font-size: 1.8rem;
    font-weight: 800;
    margin-bottom: 10px;
}

.cta-banner__content p {
    color: var(--text-secondary);
    font-size: 1rem;
}

.cta-banner__buttons {
    display: flex;
    gap: 16px;
    flex-shrink: 0;
}

/* ============================
   FOOTER
   ============================ */

.footer {
    background: var(--bg-secondary);
    border-top: 1px solid var(--border-color);
    padding: 60px 0 0;
}

.footer__top {
    display: flex;
    gap: 60px;
    padding-bottom: 40px;
    border-bottom: 1px solid var(--border-color);
}

.footer__brand {
    flex: 1;
    max-width: 320px;
}

.footer__logo {
    display: flex;
    align-items: center;
    gap: 10px;
    color: var(--text-primary);
    font-weight: 700;
    font-size: 1.1rem;
    margin-bottom: 14px;
    font-style: italic;
}

.footer__logo:hover {
    color: var(--text-primary);
}

.footer__brand p {
    color: var(--text-muted);
    font-size: 0.85rem;
    line-height: 1.6;
}

.footer__links {
    display: flex;
    gap: 48px;
    flex: 1;
}

.footer__col h4 {
    font-size: 0.9rem;
    font-weight: 700;
    margin-bottom: 16px;
    color: var(--text-primary);
}

.footer__col li {
    margin-bottom: 10px;
}

.footer__col a {
    color: var(--text-muted);
    font-size: 0.85rem;
    transition: color var(--transition);
}

.footer__col a:hover {
    color: var(--gold);
}

.footer__bottom {
    padding: 24px 0;
    text-align: center;
}

.footer__bottom p {
    color: var(--text-muted);
    font-size: 0.8rem;
}

/* ============================
   RESPONSIVE
   ============================ */

@media (max-width: 1024px) {
    .advantages__grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .games__grid {
        grid-template-columns: repeat(3, 1fr);
    }

    .bonuses__grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .bonuses__grid > :last-child {
        grid-column: span 2;
    }

    .cta-banner__inner {
        flex-direction: column;
        text-align: center;
        padding: 40px 32px;
    }
}

@media (max-width: 768px) {
    .hero {
        min-height: 80vh;
    }

    .hero__content {
        padding: 40px 16px;
    }

    .advantages__grid {
        grid-template-columns: 1fr;
        gap: 16px;
    }

    .advantage-card {
        display: flex;
        align-items: center;
        text-align: left;
        gap: 16px;
        padding: 20px;
    }

    .advantage-card__icon {
        font-size: 2rem;
        margin-bottom: 0;
    }

    .advantage-card__text {
        margin-bottom: 12px;
    }

    .games__grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 10px;
    }

    .bonuses__grid {
        grid-template-columns: 1fr;
    }

    .bonuses__grid > :last-child {
        grid-column: span 1;
    }

    .howto__steps {
        flex-direction: column;
        align-items: center;
    }

    .howto__connector {
        width: 2px;
        height: 40px;
        margin: 0;
    }

    .howto__step {
        max-width: 100%;
    }

    .about__features {
        grid-template-columns: 1fr;
    }

    .footer__top {
        flex-direction: column;
        gap: 32px;
    }

    .footer__brand {
        max-width: 100%;
    }

    .footer__links {
        flex-wrap: wrap;
        gap: 32px;
    }

    .cta-banner__buttons {
        flex-direction: column;
        width: 100%;
    }

    .cta-banner__buttons .btn {
        width: 100%;
    }

    .section-subtitle {
        margin-bottom: 36px;
    }
}

@media (max-width: 480px) {
    .header__logo-text {
        display: none;
    }

    .btn--lg {
        padding: 12px 28px;
        font-size: 0.9rem;
    }

    .hero__buttons {
        flex-direction: column;
        align-items: center;
    }

    .hero__buttons .btn {
        width: 100%;
        max-width: 280px;
    }

    .games__grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .games__categories {
        justify-content: flex-start;
        overflow-x: auto;
        flex-wrap: nowrap;
        padding-bottom: 8px;
        -webkit-overflow-scrolling: touch;
        scrollbar-width: none;
    }

    .games__categories::-webkit-scrollbar {
        display: none;
    }

    .category-pill {
        flex-shrink: 0;
    }

    .cta-banner__inner {
        padding: 32px 20px;
    }

    .cta-banner__content h2 {
        font-size: 1.4rem;
    }
}

/* ============================
   ANIMATIONS
   ============================ */

@keyframes float {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-6px); }
}

@keyframes pulse-glow {
    0%, 100% { box-shadow: 0 0 20px var(--gold-glow); }
    50% { box-shadow: 0 0 35px var(--gold-glow-strong), 0 0 60px rgba(245, 166, 35, 0.15); }
}

.hero__buttons .btn--gold {
    animation: pulse-glow 3s ease-in-out infinite;
}

.hero__buttons .btn--gold:hover {
    animation: none;
}

/* ============================
   SCROLLBAR
   ============================ */

::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: var(--bg-primary);
}

::-webkit-scrollbar-thumb {
    background: var(--bg-card);
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: var(--teal-dark);
}

/* ============================
   SELECTION
   ============================ */

::selection {
    background: rgba(20, 184, 166, 0.3);
    color: var(--text-primary);
}
