:root {
    --bg: #050b14;
    --bg-soft: #08111d;
    --surface: #0b1626;
    --surface-2: #101d31;
    --surface-3: #13233b;
    --stroke: rgba(255, 255, 255, 0.06);
    --stroke-strong: rgba(255, 255, 255, 0.1);
    --text: #ffffff;
    --muted: #8d9ab1;
    --accent-pink: #ff46d6;
    --accent-blue: #4a7dff;
    --accent-gradient: linear-gradient(135deg, #ff46d6 0%, #6d7dff 55%, #43b6ff 100%);
    --panel-gradient: linear-gradient(135deg, rgba(16, 31, 52, 0.96) 0%, rgba(8, 18, 33, 0.98) 100%);
    --hero-gradient: radial-gradient(circle at 72% 35%, rgba(90, 116, 255, 0.22) 0%, rgba(90, 116, 255, 0) 32%), radial-gradient(circle at 30% 50%, rgba(255, 70, 214, 0.12) 0%, rgba(255, 70, 214, 0) 28%), linear-gradient(135deg, #0d1a2d 0%, #08111d 100%);
    --shadow-soft: 0 18px 50px rgba(0, 0, 0, 0.28);
    --shadow-accent: 0 10px 30px rgba(89, 114, 255, 0.22);
    --radius-sm: 12px;
    --radius-md: 16px;
    --radius-lg: 22px;
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
    outline: none !important;
}

html {
    scroll-behavior: smooth;
}

body {
    background: linear-gradient(180deg, #050b14 0%, #040912 100%);
    color: var(--text);
    font-family: 'Inter', sans-serif;
    line-height: 1.45;
    overflow-x: hidden;
}

a {
    text-decoration: none;
    color: inherit;
    transition: 0.2s ease;
}

a:hover {
    text-decoration: none;
}

button {
    border: none;
    cursor: pointer;
    font-family: inherit;
}

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

input,
textarea,
select,
button {
    font: inherit;
}

ul,
ol {
    padding-left: 20px;
}

.container {
    width: 100%;
    max-width: 1840px;
    margin: 0 auto;
    padding: 0 10px;
}

.header {
    position: sticky;
    top: 0;
    z-index: 50;
    padding: 10px 0;
    background: rgba(4, 10, 19, 0.9);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--stroke);
}

.header__wrap {
    min-height: 86px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 20px;
}

.header__left {
    display: flex;
    align-items: center;
    gap: 18px;
    flex: 1 1 auto;
    min-width: 0;
}

.logo {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.logo img {
    width: 120px;
    height: auto;
}

.search {
    width: 100%;
    max-width: 280px;
}

.search input {
    width: 100%;
    height: 46px;
    border: 1px solid rgba(98, 124, 190, 0.14);
    border-radius: 14px;
    background: linear-gradient(180deg, rgba(15, 29, 50, 0.94) 0%, rgba(12, 23, 38, 0.98) 100%);
    color: var(--text);
    padding: 0 16px;
}

.search input::placeholder {
    color: #6e7e97;
}

.header__right {
    display: flex;
    align-items: center;
    gap: 12px;
    flex-shrink: 0;
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 48px;
    padding: 0 24px;
    border-radius: 14px;
    font-size: 16px;
    font-weight: 700;
    line-height: 1;
    cursor: pointer;
    text-decoration: none !important;
    transition: transform 0.2s ease, opacity 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.btn:hover {
    transform: translateY(-1px);
    opacity: 0.96;
}

.btn--login {
    background: linear-gradient(180deg, #1b2740 0%, #162136 100%);
    color: #fff;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.04);
}

.btn--register {
    background: var(--accent-gradient);
    color: #fff;
    box-shadow: 0 10px 26px rgba(92, 118, 255, 0.28);
}

.hero {
    padding: 26px 0 24px;
}

.hero__grid {
    display: grid;
    grid-template-columns: minmax(0, 2fr) minmax(300px, 0.95fr);
    gap: 24px;
    align-items: stretch;
}

.hero__main {
    min-height: 272px;
    padding: 44px 48px;
    border-radius: 28px;
    background: var(--hero-gradient);
    border: 1px solid rgba(255, 255, 255, 0.04);
    box-shadow: var(--shadow-soft);
    display: flex;
    flex-direction: column;
    justify-content: center;
    position: relative;
    overflow: hidden;
}

.hero__main::before {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, rgba(8, 17, 29, 0.18) 0%, rgba(8, 17, 29, 0.02) 55%, rgba(255, 255, 255, 0) 100%);
    pointer-events: none;
}

.hero__main h1 {
    position: relative;
    z-index: 1;
    max-width: 780px;
    font-size: clamp(32px, 4vw, 58px);
    line-height: 0.98;
    font-weight: 800;
    letter-spacing: -0.03em;
    margin-bottom: 22px;
    text-transform: uppercase;
}

.hero__main p {
    position: relative;
    z-index: 1;
    max-width: 560px;
    font-size: 20px;
    color: #d8e1f2;
    margin-bottom: 26px;
}

.btn--hero {
    position: relative;
    z-index: 1;
    align-self: flex-start;
    min-width: 170px;
    min-height: 58px;
    padding: 0 30px;
    border-radius: 16px;
    background: var(--accent-gradient);
    color: #fff;
    font-size: 20px;
    font-weight: 800;
    box-shadow: var(--shadow-accent);
}

.hero__cards {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.mini-card {
    min-height: 124px;
    padding: 32px 36px;
    border-radius: 26px;
    background: var(--panel-gradient);
    border: 1px solid rgba(255, 255, 255, 0.04);
    box-shadow: var(--shadow-soft);
    font-size: 24px;
    font-weight: 700;
    display: flex;
    align-items: center;
    color: #f2f6ff;
}

.categories {
    padding: 16px 0 22px;
}

.categories__row {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}

.cat {
    min-height: 52px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0 24px;
    border-radius: 16px;
    background: linear-gradient(180deg, #101d31 0%, #0d1829 100%);
    border: 1px solid rgba(255, 255, 255, 0.05);
    color: #edf3ff;
    font-size: 16px;
    font-weight: 700;
    transition: transform 0.2s ease, background 0.2s ease, border-color 0.2s ease;
}

.cat:hover {
    transform: translateY(-1px);
    border-color: rgba(108, 124, 255, 0.22);
    background: linear-gradient(180deg, #14233a 0%, #101c2e 100%);
}

.games {
    padding: 4px 0 34px;
}

.games h2,
.section-title {
    font-size: clamp(28px, 2.6vw, 42px);
    line-height: 1.08;
    font-weight: 800;
    letter-spacing: -0.02em;
    margin-bottom: 24px;
    color: #fff;
}

.games__grid {
    display: grid;
    grid-template-columns: repeat(6, minmax(0, 1fr));
    gap: 20px;
}

.game-card,
.game-item {
    position: relative;
    display: block;
    width: 100%;
    aspect-ratio: 0.72;
    overflow: hidden;
    border-radius: 22px;
    background: linear-gradient(180deg, #0c1625 0%, #0a1321 100%);
    border: 1px solid rgba(255, 255, 255, 0.04);
    box-shadow: 0 10px 28px rgba(0, 0, 0, 0.24);
    transition: transform 0.22s ease, box-shadow 0.22s ease, border-color 0.22s ease;
}

.game-card:hover,
.game-item:hover {
    transform: translateY(-4px);
    box-shadow: 0 18px 36px rgba(0, 0, 0, 0.32);
    border-color: rgba(105, 122, 255, 0.2);
}

.game-card img,
.game-item__img,
.game-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.game-overlay,
.game-item__info {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    padding: 24px 14px 14px;
    background: linear-gradient(180deg, rgba(4, 9, 18, 0) 0%, rgba(4, 9, 18, 0.58) 38%, rgba(4, 9, 18, 0.96) 100%);
    z-index: 2;
}

.game-overlay span,
.game-item__title {
    display: block;
    color: #fff;
    font-size: 14px;
    font-weight: 800;
    line-height: 1.2;
    text-transform: uppercase;
    letter-spacing: 0.03em;
}

.game-item__provider {
    display: block;
    margin-top: 4px;
    color: #97a5bc;
    font-size: 11px;
    font-weight: 600;
    line-height: 1.2;
    text-transform: uppercase;
}

.seo,
.seo-section {
    padding: 56px 0;
}

.seo__content,
.seo-content {
    color: var(--muted);
    font-size: 16px;
    line-height: 1.75;
}

.seo__content h2,
.seo__content h3,
.seo-content h2,
.seo-content h3 {
    color: #fff;
    line-height: 1.2;
    margin-bottom: 16px;
}

.seo__content h2,
.seo-content h2 {
    margin-top: 28px;
    font-size: clamp(28px, 2.3vw, 38px);
    font-weight: 800;
}

.seo__content h3,
.seo-content h3 {
    margin-top: 22px;
    font-size: clamp(22px, 1.9vw, 28px);
    font-weight: 700;
}

.seo__content p,
.seo__content ul,
.seo__content ol,
.seo-content p,
.seo-content ul,
.seo-content ol {
    margin-bottom: 18px;
}

.seo__content table,
.seo-content table {
    width: 100%;
    border-collapse: collapse;
    margin: 24px 0;
    overflow: hidden;
    border-radius: 18px;
    background: linear-gradient(180deg, rgba(12, 22, 37, 0.95) 0%, rgba(9, 18, 31, 0.98) 100%);
    border: 1px solid var(--stroke);
}

.seo__content th,
.seo__content td,
.seo-content th,
.seo-content td {
    padding: 14px 16px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    text-align: left;
    vertical-align: top;
}

.seo__content th,
.seo-content th {
    color: #fff;
    font-weight: 700;
    background: rgba(255, 255, 255, 0.02);
}

.seo__content tr:last-child td,
.seo-content tr:last-child td {
    border-bottom: none;
}

.faq {
    padding: 12px 0 56px;
}

.faq__wrapper {
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.faq__item {
    border-radius: 18px;
    overflow: hidden;
    background: linear-gradient(180deg, rgba(11, 22, 38, 0.98) 0%, rgba(9, 18, 31, 1) 100%);
    border: 1px solid var(--stroke);
}

.faq__input {
    display: none;
}

.faq__question {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    padding: 22px 24px;
    color: #fff;
    font-size: 18px;
    font-weight: 700;
    cursor: pointer;
    transition: background 0.2s ease, color 0.2s ease;
}

.faq__question:hover {
    background: rgba(255, 255, 255, 0.015);
}

.faq__question::after {
    content: "+";
    flex-shrink: 0;
    color: #82a2ff;
    font-size: 24px;
    font-weight: 600;
    line-height: 1;
    transition: transform 0.2s ease;
}

.faq__answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.35s ease;
    background: rgba(0, 0, 0, 0.12);
}

.faq__answer p {
    padding: 0 24px 24px;
    color: var(--muted);
    font-size: 15px;
    line-height: 1.7;
    margin: 0;
}

.faq__input:checked ~ .faq__answer {
    max-height: 400px;
}

.faq__input:checked ~ .faq__question {
    color: #9db2ff;
}

.faq__input:checked ~ .faq__question::after {
    content: "−";
}

.footer {
    padding: 28px 0 26px;
    background: linear-gradient(180deg, rgba(6, 13, 24, 0) 0%, rgba(6, 13, 24, 0.72) 12%, rgba(6, 13, 24, 1) 100%);
}

.footer__top {
    padding: 34px 36px;
    border-radius: 28px;
    background: linear-gradient(135deg, rgba(18, 31, 53, 0.96) 0%, rgba(10, 19, 33, 0.98) 100%);
    border: 1px solid rgba(255, 255, 255, 0.04);
    box-shadow: var(--shadow-soft);
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 28px;
    flex-wrap: wrap;
}

.footer__logo img {
    width: 150px;
    height: auto;
}

.footer__apps {
    display: flex;
    align-items: center;
    gap: 22px;
    flex-wrap: wrap;
}

.footer__apps > span {
    color: #eef4ff;
    font-size: 20px;
    font-weight: 700;
}

.apps {
    display: flex;
    align-items: center;
    gap: 14px;
    flex-wrap: wrap;
}

.app {
    min-width: 150px;
    min-height: 70px;
    padding: 0 28px;
    border-radius: 18px;
    background: #f3f5fb;
    color: #121722;
    font-size: 18px;
    font-weight: 800;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.footer__social {
    display: flex;
    align-items: center;
    gap: 14px;
}

.soc {
    width: 72px;
    height: 72px;
    border-radius: 22px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    font-weight: 800;
    color: #fff;
    background: linear-gradient(135deg, #2e5bff 0%, #28b7ff 100%);
    box-shadow: 0 8px 22px rgba(54, 111, 255, 0.22);
}

.footer__bottom {
    padding-top: 22px;
    text-align: center;
}

.footer__bottom p {
    color: var(--muted);
    font-size: 13px;
    line-height: 1.6;
}

@media (max-width: 1399px) {
    .games__grid {
        grid-template-columns: repeat(4, minmax(0, 1fr));
    }
}

@media (max-width: 1023px) {
    .header__wrap {
        min-height: 74px;
    }

    .hero__grid {
        grid-template-columns: 1fr;
    }

    .hero__main {
        min-height: 240px;
        padding: 34px 30px;
    }

    .hero__cards {
        display: grid;
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .games__grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }

    .footer__top {
        justify-content: center;
        text-align: center;
    }

    .footer__apps {
        justify-content: center;
    }

    .footer__social {
        justify-content: center;
        width: 100%;
    }
}

@media (max-width: 767px) {
    .container {
        padding: 0 12px;
    }

    .header {
        padding: 8px 0;
    }

    .header__wrap {
        min-height: auto;
        flex-direction: column;
        align-items: stretch;
        gap: 14px;
    }

    .header__left,
    .header__right {
        width: 100%;
    }

    .header__left {
        flex-direction: column;
        align-items: stretch;
        gap: 12px;
    }

    .logo {
        justify-content: center;
    }

    .search {
        max-width: 100%;
    }

    .header__right {
        justify-content: center;
    }

    .btn {
        min-height: 46px;
        padding: 0 20px;
        font-size: 15px;
    }

    .hero {
        padding-top: 18px;
    }

    .hero__main {
        min-height: 220px;
        padding: 28px 22px;
        border-radius: 22px;
    }

    .hero__main h1 {
        font-size: 34px;
        margin-bottom: 16px;
    }

    .hero__main p {
        font-size: 17px;
        margin-bottom: 20px;
    }

    .btn--hero {
        min-width: 150px;
        min-height: 52px;
        font-size: 18px;
    }

    .hero__cards {
        grid-template-columns: 1fr;
        gap: 16px;
    }

    .mini-card {
        min-height: 96px;
        padding: 24px;
        font-size: 22px;
        border-radius: 20px;
    }

    .categories {
        padding-top: 8px;
    }

    .categories__row {
        gap: 10px;
    }

    .cat {
        min-height: 46px;
        padding: 0 18px;
        font-size: 15px;
        border-radius: 14px;
    }

    .games h2,
    .section-title {
        font-size: 30px;
        margin-bottom: 18px;
    }

    .games__grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 14px;
    }

    .game-card,
    .game-item {
        border-radius: 18px;
    }

    .seo,
    .seo-section,
    .faq {
        padding: 40px 0;
    }

    .seo__content,
    .seo-content {
        font-size: 15px;
    }

    .seo__content table,
    .seo-content table {
        display: block;
        overflow-x: auto;
        white-space: nowrap;
    }

    .faq__question {
        padding: 18px 18px;
        font-size: 16px;
    }

    .faq__answer p {
        padding: 0 18px 18px;
        font-size: 14px;
    }

    .footer__top {
        padding: 24px 20px;
        border-radius: 22px;
    }

    .footer__apps > span {
        font-size: 18px;
    }

    .app {
        min-width: 128px;
        min-height: 58px;
        font-size: 16px;
        border-radius: 16px;
    }

    .soc {
        width: 58px;
        height: 58px;
        border-radius: 18px;
        font-size: 15px;
    }
}
.footer__cols {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 40px;
}

.footer__col h4 {
    margin-bottom: 15px;
    font-size: 16px;
    color: #fff;
}

.footer__col ul {
    list-style: none;
    padding: 0;
}

.footer__col li {
    margin-bottom: 10px;
}

.footer__col a {
    color: var(--muted);
    font-size: 14px;
}

.footer__col a:hover {
    color: #fff;
}

.footer__apps-col .apps {
    display: flex;
    gap: 10px;
}

.footer__apps-col .app {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 12px 20px;
    border-radius: 12px;
    background: #1a2433;
    color: #fff;
    font-weight: 600;
}

.footer__bottom {
    margin-top: 40px;
    text-align: center;
    border-top: 1px solid rgba(255,255,255,0.05);
    padding-top: 30px;
}

.footer__bottom img {
    margin: 0 auto 15px;
    width: 120px;
}
.hero__main {
    position: relative;
    background: url('/img/hero-bg.webp') center/cover no-repeat;
    border-radius: 30px;
    padding: 50px;
    overflow: hidden;
}

.hero__girl {
    position: absolute;
    right: 0;
    bottom: 0;
    height: 100%;
    max-height: 500px;
    object-fit: contain;
    pointer-events: none;
}


.hero__main::before {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, rgba(5,11,20,0.9) 0%, rgba(5,11,20,0.6) 40%, rgba(5,11,20,0) 100%);
}


.hero__main h1,
.hero__main p,
.hero__main .btn {
    position: relative;
    z-index: 2;
}
.hero__cards {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.mini-card {
    position: relative;
    display: block;
    min-height: 180px;
    border-radius: 26px;
    overflow: hidden;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    box-shadow: var(--shadow-soft);
    border: 1px solid rgba(255, 255, 255, 0.04);
}

.mini-card::before {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, rgba(5,11,20,0.18) 0%, rgba(5,11,20,0.08) 45%, rgba(5,11,20,0.02) 100%);
}

.mini-card--missions {
    background-image: url('/img/missions.webp');
}

.mini-card--gifts {
    background-image: url('/img/gifts.webp');
}

.mini-card span {
    position: absolute;
    left: 26px;
    bottom: 24px;
    z-index: 2;
    font-size: 22px;
    font-weight: 800;
    color: #fff;
}
