@font-face {
    font-family: "Quicksand";
    src: url("/assets/fonts/Quicksand-Regular.ttf") format("truetype");
    font-weight: 400;
    font-display: swap;
}

@font-face {
    font-family: "Quicksand";
    src: url("/assets/fonts/Quicksand-SemiBold.ttf") format("truetype");
    font-weight: 600;
    font-display: swap;
}

:root {
    --bg: #080813;
    --panel: #150b26;
    --panel-soft: rgba(21, 11, 38, 0.78);
    --accent: #9c61e5;
    --accent-soft: #b996ea;
    --gold: #f5b342;
    --text: #ffffff;
    --muted: rgba(255, 255, 255, 0.74);
    --line: rgba(255, 255, 255, 0.09);
    color-scheme: dark;
}

* {
    box-sizing: border-box;
}

html {
    -webkit-text-size-adjust: 100%;
    scroll-behavior: smooth;
}

body {
    margin: 0;
    background: var(--bg);
    color: var(--text);
    font-family: "Quicksand", system-ui, -apple-system, "Segoe UI", sans-serif;
    font-size: 16px;
    line-height: 1.65;
}

a {
    color: inherit;
}

img {
    max-width: 100%;
}

::selection {
    background: rgba(156, 97, 229, 0.45);
}

.skip {
    position: absolute;
    left: -999px;
    top: 8px;
    padding: 8px 14px;
    border-radius: 10px;
    background: var(--accent);
    color: #fff;
    z-index: 20;
}

.skip:focus {
    left: 16px;
}

.wrap {
    width: min(1120px, 100% - 32px);
    margin-inline: auto;
}

header.site {
    position: sticky;
    top: 0;
    z-index: 10;
    background: rgba(8, 8, 19, 0.78);
    -webkit-backdrop-filter: blur(14px);
    backdrop-filter: blur(14px);
    border-bottom: 1px solid var(--line);
}

header.site .bar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    height: 68px;
}

.brand {
    display: flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
    font-weight: 600;
    font-size: 20px;
}

.brand img {
    width: 38px;
    height: 38px;
}

.menu {
    display: flex;
    align-items: center;
    gap: 4px;
}

.menu > a {
    text-decoration: none;
    padding: 8px 12px;
    border-radius: 12px;
    color: var(--muted);
    font-weight: 600;
    font-size: 15px;
}

.menu > a:hover {
    color: var(--text);
    background: rgba(255, 255, 255, 0.06);
}

.lang {
    display: inline-flex;
    margin-left: 6px;
    border: 1px solid var(--line);
    border-radius: 12px;
    overflow: hidden;
}

.lang a {
    padding: 6px 11px;
    font-size: 13px;
    font-weight: 600;
    text-decoration: none;
    color: var(--muted);
}

.lang a[aria-current] {
    background: rgba(156, 97, 229, 0.28);
    color: var(--text);
}

.hero {
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: "";
    position: absolute;
    inset: 0;
    background: url("/assets/images/night.webp") center 40% / cover no-repeat;
    opacity: 0.6;
}

.hero::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(8, 8, 19, 0.15) 0%, rgba(8, 8, 19, 0.55) 55%, var(--bg) 96%);
}

.hero .inner {
    position: relative;
    z-index: 1;
    display: grid;
    justify-items: center;
    gap: 26px;
    padding: 104px 0 88px;
    text-align: center;
}

.hero .icon {
    width: 120px;
    height: 120px;
    filter: drop-shadow(0 0 36px rgba(245, 179, 66, 0.35));
}

h1 {
    margin: 0;
    font-weight: 600;
    font-size: clamp(34px, 6vw, 60px);
    line-height: 1.12;
    letter-spacing: -0.01em;
}

.lead {
    margin: 0;
    max-width: 640px;
    color: var(--muted);
    font-size: clamp(17px, 2.2vw, 20px);
}

.stores {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 12px;
}

.store {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    min-width: 214px;
    padding: 11px 20px;
    border-radius: 18px;
    background: #000;
    border: 1px solid rgba(255, 255, 255, 0.3);
    text-align: left;
    text-decoration: none;
    transition: transform 0.15s ease, border-color 0.15s ease;
}

a.store:hover {
    transform: translateY(-2px);
    border-color: var(--accent);
}

.store svg {
    width: 30px;
    height: 30px;
    flex: none;
}

.store small {
    display: block;
    color: var(--muted);
    font-size: 12px;
    line-height: 1.2;
}

.store strong {
    display: block;
    font-size: 19px;
    font-weight: 600;
    line-height: 1.25;
}

.store.soon {
    opacity: 0.7;
}

section {
    padding: 76px 0;
}

h2 {
    margin: 0 0 10px;
    font-weight: 600;
    font-size: clamp(26px, 4vw, 38px);
    line-height: 1.2;
}

.section-lead {
    margin: 0 0 34px;
    max-width: 640px;
    color: var(--muted);
    font-size: 18px;
}

.tiles {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(min(100%, 320px), 1fr));
    gap: 16px;
}

.tile {
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    gap: 4px;
    min-height: 220px;
    padding: 24px;
    overflow: hidden;
    border-radius: 26px;
    background: var(--panel);
    border: 2px solid var(--line);
}

.tile img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.6;
}

.tile::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(0deg, rgba(8, 8, 19, 0.96) 0%, rgba(8, 8, 19, 0.78) 42%, rgba(8, 8, 19, 0.08) 88%);
}

.tile h3,
.tile p {
    position: relative;
    z-index: 1;
    margin: 0;
}

.tile h3 {
    font-size: 21px;
    font-weight: 600;
}

.tile p {
    color: var(--muted);
}

.cards {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(min(100%, 300px), 1fr));
    gap: 16px;
}

.card {
    padding: 26px;
    border-radius: 26px;
    background: var(--panel-soft);
    border: 2px solid var(--line);
}

.card h3 {
    margin: 0 0 6px;
    font-size: 19px;
    font-weight: 600;
}

.card p {
    margin: 0;
    color: var(--muted);
}

.card .mark {
    display: grid;
    place-items: center;
    width: 48px;
    height: 48px;
    margin-bottom: 16px;
    border-radius: 50%;
    background: rgba(156, 97, 229, 0.18);
    color: var(--accent-soft);
}

.card .mark svg {
    width: 24px;
    height: 24px;
}

.premium {
    display: grid;
    gap: 20px;
    padding: clamp(26px, 5vw, 48px);
    border-radius: 30px;
    background: radial-gradient(120% 140% at 0% 0%, rgba(245, 179, 66, 0.17), transparent 55%), var(--panel);
    border: 2px solid rgba(245, 179, 66, 0.25);
}

.premium h2 span {
    color: var(--gold);
}

.premium .section-lead {
    margin: 0;
}

.premium ul {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(min(100%, 280px), 1fr));
    gap: 10px 24px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.premium li {
    display: flex;
    gap: 10px;
    color: rgba(255, 255, 255, 0.86);
}

.premium li::before {
    content: "✦";
    color: var(--gold);
}

.cta {
    display: grid;
    justify-items: center;
    gap: 22px;
    text-align: center;
}

footer.site {
    padding: 34px 0 44px;
    border-top: 1px solid var(--line);
    color: var(--muted);
    font-size: 14px;
}

footer.site .cols {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 14px 32px;
}

footer.site nav {
    display: flex;
    flex-wrap: wrap;
    gap: 6px 20px;
}

footer.site a {
    text-decoration: none;
    color: var(--muted);
}

footer.site a:hover {
    color: var(--text);
}

footer.site .note {
    margin: 16px 0 0;
    font-size: 13px;
    opacity: 0.8;
}

.doc {
    padding: 52px 0 84px;
}

.doc article {
    max-width: 800px;
    margin-inline: auto;
    padding: clamp(22px, 5vw, 52px);
    border-radius: 30px;
    background: var(--panel-soft);
    border: 2px solid var(--line);
}

.doc h1 {
    margin-bottom: 8px;
    font-size: clamp(30px, 5vw, 42px);
}

.doc .meta {
    margin: 0 0 30px;
    color: var(--accent-soft);
    font-size: 14px;
}

.doc h2 {
    margin: 38px 0 10px;
    font-size: 15px;
    letter-spacing: 0.06em;
    color: var(--accent-soft);
}

.doc h3 {
    margin: 26px 0 6px;
    font-size: 18px;
}

.doc p,
.doc li {
    color: rgba(255, 255, 255, 0.86);
    overflow-wrap: anywhere;
}

.doc p {
    margin: 0 0 14px;
}

.doc ul {
    margin: 0 0 14px;
    padding-left: 1.25em;
}

.doc li {
    margin-bottom: 6px;
}

.doc a {
    color: #cfaeff;
}

.doc .others {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 36px;
    padding-top: 24px;
    border-top: 1px solid var(--line);
}

.doc .others a {
    padding: 8px 14px;
    border-radius: 12px;
    background: rgba(156, 97, 229, 0.16);
    color: var(--text);
    text-decoration: none;
    font-weight: 600;
    font-size: 14px;
}

.missing {
    display: grid;
    justify-items: center;
    gap: 18px;
    padding: 120px 0;
    text-align: center;
}

.button {
    display: inline-block;
    padding: 12px 22px;
    border-radius: 16px;
    background: linear-gradient(90deg, var(--accent), var(--panel));
    border: 2px solid var(--line);
    text-decoration: none;
    font-weight: 600;
}

@media (max-width: 680px) {
    .menu > a.wide {
        display: none;
    }

    header.site .bar {
        height: 60px;
    }

    .hero .inner {
        padding: 68px 0 56px;
    }

    section {
        padding: 54px 0;
    }
}

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

    .store {
        transition: none;
    }
}

.tagline {
    margin: -10px 0 0;
    font-size: clamp(20px, 3vw, 28px);
    font-weight: 600;
    color: var(--accent-soft);
}

.about {
    padding-bottom: 0;
}

.about p {
    max-width: 780px;
    margin: 0 0 16px;
    color: rgba(255, 255, 255, 0.86);
    font-size: 17px;
}

.about .button {
    margin-top: 8px;
}
