:root {
    --main: #070b12;
    --second: #0f1520;
    --third: #161f2e;
    --brand: #2d88ff;
    --brand-dark: #1a6ee8;
    --brand-light: #5ab0ff;
    --brand-glow: rgba(45, 136, 255, 0.14);
    --red: var(--brand);
    --red-dark: var(--brand-dark);
    --text: #f4f7fc;
    --text-soft: #a8b4c7;
    --line: #2a3548;
    --page-width: 1040px;
    --radius: 8px;
    --font: "Archivo", sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; min-width: 320px; background: var(--main); color: var(--text); font-family: var(--font); }
body.menu-open, body.popup-open { overflow: hidden; }
a { color: inherit; }
img { max-width: 100%; }
button, input, textarea { font: inherit; }
.page-width { width: min(calc(100% - 40px), var(--page-width)); margin: 0 auto; }
.main { min-height: 45vh; }

.top-warning { background: linear-gradient(90deg, var(--brand-dark), var(--brand)); color: #fff; font-size: 11px; }
.top-warning .page-width { min-height: 30px; display: flex; align-items: center; justify-content: center; gap: 10px; text-align: center; }
.top-warning strong { padding: 2px 6px; border: 1px solid #fff; border-radius: 3px; }

.header { border-bottom: 1px solid var(--line); background: var(--main); }
.header-inner { min-height: 62px; display: flex; align-items: center; justify-content: space-between; }
.header-logo, .mobile-logo { display: flex; align-items: center; justify-content: flex-start; min-height: 40px; }
.brand-mark { display: inline-flex; align-items: center; gap: 10px; }
.brand-icon { width: 34px; height: 34px; display: block; object-fit: contain; flex-shrink: 0; }
.brand-wordmark { width: auto; height: 22px; max-width: min(42vw, 168px); display: block; object-fit: contain; object-position: left center; }
.mobile-logo .brand-wordmark { height: 20px; max-width: 200px; }
.age-box .brand-icon { width: 42px; height: 42px; margin: 0 auto; }
.liaison-box .brand-icon { width: 48px; height: 48px; margin: 0 auto; }
.header-menu { display: flex; align-items: center; gap: 34px; }
.header-menu a { color: var(--text); text-decoration: none; font-size: 13px; font-weight: 600; }
.header-menu a:hover { color: var(--red); }
.menu-button { display: none; width: 42px; height: 42px; padding: 0; border: 1px solid var(--line); background: transparent; align-items: center; justify-content: center; flex-direction: column; gap: 5px; cursor: pointer; }
.menu-button span { width: 18px; height: 2px; background: var(--text); }

.mobile-menu { position: fixed; inset: 0; z-index: 300; display: flex; justify-content: flex-end; background: rgba(0,0,0,.78); visibility: hidden; opacity: 0; transition: opacity .18s ease; }
.mobile-menu.open { visibility: visible; opacity: 1; }
.mobile-menu-inner { width: min(88vw, 390px); height: 100%; padding: 20px; background: #0c121c; border-left: 2px solid var(--brand); transform: translateX(100%); transition: transform .2s ease; }
.mobile-menu.open .mobile-menu-inner { transform: translateX(0); }
.mobile-menu-top { display: flex; align-items: center; justify-content: space-between; padding-bottom: 22px; border-bottom: 1px solid var(--line); }
.menu-close { width: 42px; height: 42px; border: 1px solid var(--line); background: transparent; color: var(--text); font-size: 28px; cursor: pointer; }
.mobile-links { display: flex; flex-direction: column; margin-top: 24px; }
.mobile-links a { padding: 15px 2px; border-bottom: 1px solid var(--line); color: var(--text); text-decoration: none; font-size: 17px; font-weight: 600; }
.mobile-links a:hover { color: var(--red); }

.hero {
    position: relative;
    padding: 12px 0 8px;
    border-bottom: 1px solid var(--line);
    background-color: var(--main);
    background-image:
        linear-gradient(108deg, rgba(7, 11, 18, 0.94) 0%, rgba(7, 11, 18, 0.72) 48%, rgba(7, 11, 18, 0.5) 100%),
        radial-gradient(ellipse 70% 80% at 100% 0%, rgba(45, 136, 255, 0.16), transparent 52%),
        url("/assets/images/hero-bg.jpg");
    background-size: cover, cover, cover;
    background-position: center, center, center;
    background-repeat: no-repeat;
    overflow: hidden;
}
.hero-decor { pointer-events: none; position: absolute; inset: 0; z-index: 0; }
.hero-orb {
    position: absolute;
    border-radius: 50%;
    filter: blur(48px);
    opacity: .55;
}
.hero-orb--one {
    width: 220px;
    height: 220px;
    top: -40px;
    right: 8%;
    background: rgba(45, 136, 255, 0.35);
}
.hero-orb--two {
    width: 160px;
    height: 160px;
    bottom: -20px;
    left: 12%;
    background: rgba(90, 176, 255, 0.22);
}
.hero-grid {
    position: absolute;
    inset: 0;
    opacity: .35;
    background-image:
        linear-gradient(rgba(45, 136, 255, 0.07) 1px, transparent 1px),
        linear-gradient(90deg, rgba(45, 136, 255, 0.07) 1px, transparent 1px);
    background-size: 28px 28px;
    mask-image: linear-gradient(180deg, #000 0%, transparent 85%);
}
.hero-beam {
    position: absolute;
    top: -30%;
    right: -5%;
    width: 42%;
    height: 140%;
    transform: rotate(-14deg);
    background: linear-gradient(90deg, transparent, rgba(45, 136, 255, 0.08), transparent);
    opacity: .8;
}
.hero-inner {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: minmax(0, 1fr) min(240px, 30%);
    gap: 8px;
    align-items: start;
}
.hero-main { max-width: 860px; min-width: 0; }
.hero-glass {
    padding: 10px 12px 8px;
    border-radius: 10px;
    border: 1px solid rgba(45, 136, 255, 0.22);
    background: linear-gradient(145deg, rgba(15, 21, 32, 0.82), rgba(7, 11, 18, 0.55));
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.28), inset 0 1px 0 rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(8px);
}
.hero-eyebrow {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 8px;
    margin-bottom: 4px;
    gap: 6px;
}
.hero-label, .page-intro > span, .section-title > span {
    display: inline-block;
    margin-bottom: 0;
    color: var(--brand-light);
    font-size: 11px;
    font-weight: 700;
    letter-spacing: .09em;
    text-transform: uppercase;
}
.hero-chip {
    padding: 4px 9px;
    border-radius: 999px;
    border: 1px solid rgba(45, 136, 255, 0.35);
    background: var(--brand-glow);
    color: var(--text-soft);
    font-size: 10px;
    font-weight: 600;
    letter-spacing: .02em;
}
.hero-year-badge {
    margin-left: auto;
    padding: 4px 10px;
    border-radius: 6px;
    border: 1px dashed rgba(90, 176, 255, 0.45);
    color: var(--brand-light);
    font-size: 9px;
    font-weight: 800;
    letter-spacing: .14em;
}
.hero h1 {
    max-width: 820px;
    margin: 0;
    font-size: clamp(24px, 3vw, 36px);
    line-height: 1.06;
    letter-spacing: -.04em;
}
.hero-title-accent {
    display: inline-block;
    color: var(--brand-light);
    background: linear-gradient(90deg, var(--brand-light), #9fd0ff);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    text-decoration: none;
}
.hero p {
    max-width: 760px;
    margin: 5px 0 0;
    color: var(--text-soft);
    font-size: 12px;
    line-height: 1.45;
}
.hero-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 5px;
    margin-top: 6px;
}
.hero-tag {
    padding: 5px 8px;
    display: inline-flex;
    flex-direction: row;
    align-items: center;
    gap: 5px;
    border: 1px solid var(--line);
    border-radius: 10px;
    background: rgba(0, 0, 0, 0.28);
    min-width: 0;
}
.hero-tag-num {
    color: var(--brand);
    font-size: 9px;
    font-weight: 800;
    letter-spacing: .12em;
}
.hero-tag-text {
    color: var(--text);
    font-size: 10px;
    font-weight: 700;
    line-height: 1.25;
}
.hero-tag--tone-0 { border-color: rgba(45, 136, 255, 0.35); background: rgba(45, 136, 255, 0.08); }
.hero-tag--tone-1 { border-color: rgba(76, 175, 255, 0.3); background: rgba(15, 21, 32, 0.55); }
.hero-tag--tone-2 { border-color: rgba(120, 190, 255, 0.28); background: linear-gradient(160deg, rgba(45, 136, 255, 0.12), rgba(0, 0, 0, 0.2)); }
.hero-aside {
    display: flex;
    flex-direction: column;
    gap: 4px;
    min-width: 0;
}
.hero-stat {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 5px 8px;
    border-radius: 8px;
    border: 1px solid var(--line);
    background: rgba(10, 16, 25, 0.65);
}
.hero-stat--style-0 {
    border-color: rgba(45, 136, 255, 0.45);
    background: linear-gradient(135deg, rgba(45, 136, 255, 0.22), rgba(7, 11, 18, 0.85));
    box-shadow: 0 10px 24px rgba(26, 110, 232, 0.18);
}
.hero-stat--style-1 {
    border-style: dashed;
    border-color: rgba(90, 176, 255, 0.4);
    background: rgba(0, 0, 0, 0.35);
}
.hero-stat--style-2 {
    border-color: rgba(45, 136, 255, 0.25);
    background: linear-gradient(180deg, rgba(22, 31, 46, 0.9), rgba(10, 14, 22, 0.95));
}
.hero-stat-value {
    min-width: 30px;
    color: var(--brand-light);
    font-size: 13px;
    font-weight: 800;
    letter-spacing: -.02em;
    text-align: center;
}
.hero-stat-copy { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.hero-stat-label {
    color: var(--text);
    font-size: 10px;
    font-weight: 700;
    line-height: 1.3;
}
.hero-stat-hint {
    display: none;
    color: var(--text-soft);
    font-size: 8px;
    font-weight: 600;
    letter-spacing: .04em;
    text-transform: uppercase;
}
.hero-aside-note {
    display: none;
    margin-top: 4px;
    padding: 8px 10px;
    display: flex;
    align-items: flex-start;
    gap: 8px;
    border-radius: 8px;
    border: 1px solid rgba(45, 136, 255, 0.18);
    background: rgba(45, 136, 255, 0.06);
}
.hero-aside-note-mark {
    width: 22px;
    height: 22px;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: var(--brand);
    color: #fff;
    font-size: 11px;
    font-weight: 800;
    font-style: italic;
}
.hero-aside-note p {
    margin: 0;
    color: var(--text-soft);
    font-size: 10px;
    line-height: 1.45;
}
.hero-mobile-stats {
    display: none;
    position: relative;
    z-index: 1;
    margin-top: 6px;
    gap: 5px;
    grid-template-columns: repeat(3, minmax(0, 1fr));
}
.hero-mobile-stat {
    padding: 6px 6px;
    border-radius: 8px;
    border: 1px solid var(--line);
    background: rgba(10, 16, 25, 0.75);
    text-align: center;
}
.hero-mobile-stat strong {
    display: block;
    color: var(--brand-light);
    font-size: 13px;
    margin-bottom: 3px;
}
.hero-mobile-stat span {
    color: var(--text-soft);
    font-size: 8px;
    font-weight: 600;
    line-height: 1.25;
}
.hero-mobile-stat--0 { border-color: rgba(45, 136, 255, 0.4); }
.hero-mobile-stat--1 { border-style: dashed; }
.hero-mobile-stat--2 { background: linear-gradient(180deg, rgba(22, 31, 46, 0.85), rgba(10, 14, 22, 0.9)); }

.platform-section { padding: 22px 0 50px; }
.section-title { margin-bottom: 16px; display: flex; align-items: flex-end; justify-content: space-between; gap: 20px; }
.section-title > span { margin: 0 0 5px; }
.section-title h2 { margin: 0; font-size: clamp(22px, 3vw, 31px); line-height: 1; letter-spacing: -.03em; }
.platform-list { display: flex; flex-wrap: wrap; justify-content: center; gap: 16px; }
.platform-card {
    --card-accent: var(--brand);
    --card-accent-soft: rgba(45, 136, 255, 0.14);
    position: relative;
    flex: 0 1 calc(33.333% - 11px);
    min-width: 0;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    border: 1px solid var(--line);
    border-radius: 16px;
    background: linear-gradient(168deg, #131c2a 0%, var(--second) 46%, #070c13 100%);
    box-shadow: 0 14px 34px rgba(0, 0, 0, 0.28);
    transition: border-color .2s ease, transform .2s ease, box-shadow .2s ease;
}
.platform-card--tone-0 { --card-accent: #2d88ff; --card-accent-soft: rgba(45, 136, 255, 0.16); }
.platform-card--tone-1 { --card-accent: #4ca8ff; --card-accent-soft: rgba(76, 168, 255, 0.14); }
.platform-card--tone-2 { --card-accent: #5ab0ff; --card-accent-soft: rgba(90, 176, 255, 0.13); }
.platform-card--tone-3 { --card-accent: #3d7ee8; --card-accent-soft: rgba(61, 126, 232, 0.15); }
.platform-card--tone-4 { --card-accent: #6ec2ff; --card-accent-soft: rgba(110, 194, 255, 0.12); }
.platform-card:hover {
    border-color: color-mix(in srgb, var(--card-accent) 55%, transparent);
    transform: translateY(-5px);
    box-shadow: 0 22px 44px rgba(0, 0, 0, 0.34), 0 0 0 1px var(--card-accent-soft);
}
.platform-card--alt .card-visual {
    background:
        radial-gradient(circle at 0% 100%, var(--card-accent-soft), transparent 55%),
        linear-gradient(180deg, rgba(255, 255, 255, 0.03), transparent);
}
.platform-card--alt .card-image-frame {
    border-radius: 14px 14px 6px 14px;
}
.card-accent-bar {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 3px;
    background: linear-gradient(90deg, var(--card-accent), transparent 72%);
    z-index: 2;
}
.card-visual {
    position: relative;
    padding: 14px 14px 16px;
    background:
        radial-gradient(circle at 100% 0%, var(--card-accent-soft), transparent 50%),
        linear-gradient(135deg, rgba(255, 255, 255, 0.02), transparent 40%);
    border-bottom: 1px solid rgba(42, 53, 72, 0.85);
}
.card-visual-top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    margin-bottom: 10px;
}
.card-rank {
    min-width: 30px;
    padding: 5px 8px;
    border-radius: 8px;
    border: 1px solid color-mix(in srgb, var(--card-accent) 40%, transparent);
    background: rgba(7, 11, 18, 0.88);
    color: var(--card-accent);
    font-size: 10px;
    font-weight: 800;
    letter-spacing: .12em;
    line-height: 1;
}
.card-type {
    flex: 1;
    padding: 6px 10px;
    border-radius: 999px;
    border: 1px solid color-mix(in srgb, var(--card-accent) 35%, transparent);
    background: var(--card-accent-soft);
    color: var(--brand-light);
    font-size: 7.5px;
    font-weight: 800;
    letter-spacing: .07em;
    text-transform: uppercase;
    line-height: 1.25;
    text-align: right;
}
.card-score-pill {
    position: absolute;
    right: 14px;
    bottom: 12px;
    z-index: 2;
    padding: 6px 10px;
    display: inline-flex;
    align-items: baseline;
    gap: 5px;
    border-radius: 999px;
    border: 1px solid color-mix(in srgb, var(--card-accent) 50%, transparent);
    background: rgba(7, 11, 18, 0.92);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.35);
}
.card-score-value { color: var(--text); font-size: 14px; font-weight: 800; line-height: 1; }
.card-score-label { color: var(--card-accent); font-size: 7px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; }
.card-image-frame {
    min-height: 108px;
    padding: 14px 16px 22px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 12px;
    background:
        linear-gradient(180deg, rgba(255, 255, 255, 0.04) 0%, transparent 100%),
        repeating-linear-gradient(90deg, var(--card-accent-soft), var(--card-accent-soft) 1px, transparent 1px, transparent 9px);
    border: 1px solid color-mix(in srgb, var(--card-accent) 22%, transparent);
    box-shadow: inset 0 0 0 1px rgba(0, 0, 0, 0.22);
}
.card-image-frame img { width: 100%; max-height: 84px; display: block; object-fit: contain; filter: drop-shadow(0 8px 16px rgba(0, 0, 0, 0.4)); }
.card-body { flex: 1; padding: 0 12px 12px; display: flex; flex-direction: column; }
.card-body-inner {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 11px;
    padding: 14px 14px 15px;
    border-radius: 12px;
    border: 1px solid rgba(42, 53, 72, 0.75);
    background: rgba(8, 12, 19, 0.72);
}
.card-head { display: flex; align-items: center; justify-content: flex-end; gap: 10px; }
.card-anj-badge {
    flex-shrink: 0;
    max-width: min(100%, 148px);
    padding: 6px 8px;
    border-radius: 6px;
    border: 1px dashed rgba(45, 136, 255, 0.28);
    background: rgba(0, 0, 0, 0.28);
    text-align: right;
}
.card-anj-label {
    display: block;
    margin-bottom: 2px;
    color: var(--brand);
    font-size: 7px;
    font-weight: 800;
    letter-spacing: .1em;
}
.card-anj-code {
    display: block;
    color: var(--text-soft);
    font-size: 7.5px;
    line-height: 1.35;
    font-variant-numeric: tabular-nums;
    word-break: break-all;
}
.card-title-block {
    display: flex;
    flex-direction: column;
    gap: 10px;
    padding-left: 11px;
    border-left: 3px solid var(--card-accent);
}
.card-body h3 { margin: 0; font-size: 15px; line-height: 1.28; letter-spacing: -.02em; }
.card-score-bar {
    height: 4px;
    border-radius: 999px;
    background: rgba(45, 136, 255, 0.14);
    overflow: hidden;
}
.card-score-bar-fill {
    display: block;
    height: 100%;
    border-radius: inherit;
    background: linear-gradient(90deg, var(--card-accent), color-mix(in srgb, var(--card-accent) 65%, #fff));
    box-shadow: 0 0 10px var(--card-accent-soft);
}
.card-foot {
    margin-top: auto;
    padding-top: 14px;
    border-top: 1px dashed color-mix(in srgb, var(--card-accent) 28%, transparent);
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    flex-wrap: wrap;
}
.card-foot .card-note { flex: 1 1 120px; }
.card-foot .card-button { flex: 1 1 140px; }
.card-note {
    margin: 0;
    padding-left: 14px;
    color: var(--text-soft);
    font-size: 9px;
    letter-spacing: .05em;
    text-transform: uppercase;
    position: relative;
}
.card-note::before {
    content: "";
    position: absolute;
    left: 0;
    top: 50%;
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--card-accent);
    transform: translateY(-50%);
    opacity: .85;
}
.card-button {
    min-height: 42px;
    padding: 0 14px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    border-radius: 8px;
    border: 1px solid rgba(90, 176, 255, 0.35);
    background: linear-gradient(95deg, #164a9e 0%, var(--brand) 55%, var(--brand-light) 100%);
    color: #fff;
    text-decoration: none;
    font-size: 10px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: .04em;
    box-shadow: 0 6px 16px rgba(26, 110, 232, 0.28);
}
.card-button:hover {
    background: linear-gradient(95deg, #155fc9 0%, var(--brand-light) 100%);
    box-shadow: 0 10px 24px var(--brand-glow);
    transform: translateY(-1px);
}
.card-button-icon {
    width: 26px;
    height: 26px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 7px;
    background: rgba(255, 255, 255, 0.14);
    border: 1px solid rgba(255, 255, 255, 0.12);
    font-size: 14px;
    line-height: 1;
}

.footer { padding: 38px 0 22px; border-top: 1px solid var(--brand); background: #05080f; }
.footer-resources { display: flex; flex-wrap: wrap; gap: 8px; }
.resource { flex: 1 1 calc(16.666% - 8px); min-width: 130px; height: 92px; padding: 12px; display: flex; align-items: center; justify-content: center; border: 1px solid var(--line); border-radius: 4px; background: var(--second); text-decoration: none; }
a.resource:hover { border-color: var(--red); }
.resource img { width: 100%; height: 62px; object-fit: contain; }
.footer-alert { margin-top: 26px; padding: 18px 0; display: flex; align-items: center; gap: 18px; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.footer-alert strong { flex: 0 0 auto; width: 54px; height: 54px; display: flex; align-items: center; justify-content: center; border: 2px solid var(--red); border-radius: 50%; color: var(--red); }
.footer-alert p { max-width: 850px; margin: 0; color: var(--text-soft); font-size: 13px; line-height: 1.55; }
.footer-title { margin: 28px 0 16px; font-size: 20px; letter-spacing: -.02em; }
.footer-texts { display: flex; gap: 28px; }
.footer-text { flex: 1 1 0; min-width: 0; }
.footer-text h3 { margin: 0 0 10px; color: var(--text); font-size: 14px; }
.footer-text p { margin: 0; color: var(--text-soft); font-size: 11.5px; line-height: 1.55; }
.footer-text p + p { margin-top: 8px; }
.help-links { margin-top: 10px; display: flex; flex-direction: column; gap: 4px; }
.help-links a { color: var(--red); font-size: 11px; }
.footer-links { margin-top: 28px; padding: 15px 0; display: flex; flex-wrap: wrap; gap: 12px 26px; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); position: relative; z-index: 10; }
.footer-links a { color: var(--text-soft); text-decoration: none; font-size: 12px; font-weight: 500; padding: 6px 8px; border-radius: 3px; transition: color .2s ease; }
.footer-links a:hover { color: var(--brand); background: var(--brand-glow); }
.footer-bottom { padding-top: 15px; display: flex; align-items: center; justify-content: space-between; gap: 20px; }
.footer-bottom p { margin: 0; color: #777; font-size: 10px; line-height: 1.5; }

.cookie-box { position: fixed; right: 16px; bottom: 16px; z-index: 400; width: min(390px, calc(100% - 32px)); padding: 16px; border: 1px solid var(--brand); border-radius: 5px; background: #0c121c; box-shadow: 0 12px 35px rgba(0,0,0,.42), 0 0 0 1px var(--brand-glow); pointer-events: auto; }
.cookie-box-title { margin: 0 0 8px; color: var(--text); font-size: 12px; font-weight: 800; letter-spacing: -.01em; }
.cookie-box p { margin: 0; color: var(--text-soft); font-size: 11px; line-height: 1.55; }
.cookie-box a { color: var(--brand-light); font-weight: 600; text-underline-offset: .12em; }
.cookie-box a:hover { color: #fff; }
.cookie-buttons { margin-top: 12px; display: flex; justify-content: flex-end; gap: 8px; }
.cookie-buttons button { min-height: 36px; padding: 0 15px; border: 1px solid var(--line); border-radius: 3px; background: #1b1b1b; color: var(--text); font-size: 11px; font-weight: 700; cursor: pointer; }
.cookie-buttons button:last-child { border-color: var(--red); background: var(--red); }

.age-popup { position: fixed; inset: 0; z-index: 1000; padding: 20px; display: flex; align-items: center; justify-content: center; visibility: hidden; opacity: 0; background: var(--main); }
.age-popup.show { visibility: visible; opacity: 1; }
.age-box { width: min(100%, 440px); padding: 28px; border: 1px solid var(--brand); border-radius: 5px; background: #0c121c; text-align: center; box-shadow: 0 0 40px var(--brand-glow); }
.age-box > img { width: 42px; height: 42px; }
.age-mark { width: 48px; height: 48px; margin: 14px auto 0; display: flex; align-items: center; justify-content: center; border: 2px solid var(--red); border-radius: 50%; color: var(--red); font-weight: 800; }
.age-box h2 { margin: 15px 0 0; font-size: 25px; }
.age-box > p { margin: 11px 0 0; color: var(--text-soft); font-size: 12px; line-height: 1.55; }
.age-help a { color: var(--red); }
.age-buttons { margin-top: 20px; display: flex; gap: 8px; }
.age-buttons button { flex: 1 1 0; min-height: 42px; border: 1px solid var(--line); border-radius: 3px; background: #1b1b1b; color: var(--text); font-size: 11px; font-weight: 700; cursor: pointer; }
.age-buttons button:last-child { border-color: var(--red); background: var(--red); }

.page-space { padding: 62px 0 72px; }
.narrow-page { max-width: 900px; }
.page-intro { max-width: 800px; padding-bottom: 35px; border-bottom: 1px solid var(--line); }
.page-intro h1 { margin: 0; font-size: clamp(34px, 5vw, 58px); line-height: 1.02; letter-spacing: -.04em; }
.page-intro p { margin: 16px 0 0; color: var(--text-soft); font-size: 14px; line-height: 1.65; }
.page-intro a, .text-block a { color: var(--red); }
.method-list { display: flex; flex-direction: column; }
.method-row { padding: 28px 0; display: flex; gap: 24px; border-bottom: 1px solid var(--line); }
.method-row > strong { flex: 0 0 44px; color: var(--red); font-size: 13px; }
.method-row h2 { margin: 0; font-size: 22px; }
.method-row p { max-width: 700px; margin: 9px 0 0; color: var(--text-soft); font-size: 13px; line-height: 1.65; }
.method-note { margin-top: 34px; padding: 24px; border-left: 3px solid var(--red); background: var(--second); }
.method-note h2 { margin: 0; font-size: 21px; }
.method-note p { margin: 10px 0 0; color: var(--text-soft); font-size: 13px; line-height: 1.6; }

.contact-form { max-width: 760px; margin-top: 34px; padding: 24px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--second); }
.form-line { display: flex; gap: 14px; }
.form-line .form-field { flex: 1 1 0; }
.form-field { margin-bottom: 15px; }
.form-field label { display: block; margin-bottom: 7px; font-size: 11px; font-weight: 700; }
.form-field input, .form-field textarea { width: 100%; padding: 12px 13px; border: 1px solid var(--line); border-radius: 3px; outline: none; background: #0a1019; color: var(--text); font-size: 13px; }
.form-field input:focus, .form-field textarea:focus { border-color: var(--red); }
.form-field textarea { resize: vertical; }
.form-button { min-height: 42px; padding: 0 18px; border: 0; border-radius: 3px; background: var(--red); color: #fff; font-size: 12px; font-weight: 800; cursor: pointer; }
.form-button:hover { background: var(--brand-dark); box-shadow: 0 6px 20px var(--brand-glow); }

.text-page { display: block; }
.text-block { padding: 27px 0; border-bottom: 1px solid var(--line); display: block; }
.text-block h2 { margin: 0 0 10px; font-size: 21px; display: block; }
.text-block p { margin: 0; color: var(--text-soft); font-size: 13px; line-height: 1.7; display: block; }
.important-block { margin: 24px 0; padding: 22px; border: 1px solid var(--red); border-left-width: 4px; background: var(--second); }

/* Legal / policy pages */
.legal-page {
    position: relative;
    overflow: hidden;
    background-color: var(--main);
}
.legal-page-ambient {
    pointer-events: none;
    position: absolute;
    inset: 0;
    background:
        linear-gradient(180deg, rgba(45, 136, 255, 0.07) 0%, transparent 38%),
        radial-gradient(ellipse 55% 45% at 100% 0%, rgba(45, 136, 255, 0.12), transparent 55%),
        radial-gradient(ellipse 40% 35% at 0% 100%, rgba(45, 136, 255, 0.06), transparent 50%);
    opacity: .9;
}
.legal-page--responsible .legal-page-ambient {
    background:
        linear-gradient(180deg, rgba(255, 120, 80, 0.06) 0%, transparent 40%),
        radial-gradient(ellipse 55% 45% at 100% 0%, rgba(45, 136, 255, 0.1), transparent 55%),
        radial-gradient(ellipse 42% 38% at 0% 100%, rgba(255, 90, 70, 0.08), transparent 52%);
}
.legal-page-inner { position: relative; z-index: 1; }
.legal-quick-nav { margin-bottom: 22px; }
.legal-quick-nav ul {
    margin: 0;
    padding: 6px;
    list-style: none;
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    border: 1px solid var(--line);
    border-radius: 10px;
    background: rgba(15, 21, 32, 0.72);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.03);
}
.legal-quick-nav a {
    display: block;
    padding: 9px 12px;
    border-radius: 7px;
    color: var(--text-soft);
    text-decoration: none;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: .02em;
    line-height: 1.25;
    transition: background .15s ease, color .15s ease;
}
.legal-quick-nav a:hover {
    color: var(--text);
    background: rgba(45, 136, 255, 0.1);
}
.legal-quick-nav a.is-active {
    color: #fff;
    background: linear-gradient(95deg, var(--brand-dark), var(--brand));
    box-shadow: 0 4px 14px rgba(26, 110, 232, 0.28);
}
.legal-page-head {
    margin-bottom: 8px;
    padding: 22px 22px 20px;
    border: 1px solid rgba(45, 136, 255, 0.18);
    border-radius: 12px;
    background:
        linear-gradient(155deg, rgba(22, 31, 46, 0.95) 0%, rgba(12, 18, 28, 0.98) 100%);
    box-shadow: 0 14px 36px rgba(0, 0, 0, 0.22);
}
.legal-page--privacy .legal-page-head { border-top: 3px solid var(--brand-light); }
.legal-page--terms .legal-page-head { border-top: 3px solid #6b8cff; }
.legal-page--cookies .legal-page-head { border-top: 3px solid #5ab0ff; }
.legal-page--responsible .legal-page-head { border-top: 3px solid #ff8a65; }
.legal-page-head .page-intro {
    max-width: none;
    padding-bottom: 0;
    border-bottom: 0;
}
.legal-highlights {
    margin: 18px 0 0;
    padding: 0;
    list-style: none;
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}
.legal-highlights li {
    padding: 6px 11px;
    border-radius: 999px;
    border: 1px solid rgba(45, 136, 255, 0.28);
    background: rgba(45, 136, 255, 0.08);
    color: var(--brand-light);
    font-size: 10px;
    font-weight: 700;
    letter-spacing: .05em;
    text-transform: uppercase;
}
.legal-page--responsible .legal-highlights li {
    border-color: rgba(255, 138, 101, 0.35);
    background: rgba(255, 138, 101, 0.1);
    color: #ffb199;
}
.legal-sections {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-top: 18px;
}
.legal-section {
    position: relative;
    margin: 0;
    padding: 18px 18px 18px 56px;
    border: 1px solid var(--line);
    border-radius: 10px;
    background: linear-gradient(165deg, rgba(22, 31, 46, 0.55) 0%, rgba(10, 16, 25, 0.92) 100%);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.03);
    transition: border-color .18s ease, transform .18s ease;
}
.legal-section:hover {
    border-color: rgba(45, 136, 255, 0.35);
    transform: translateY(-1px);
}
.legal-section-index {
    position: absolute;
    top: 16px;
    left: 16px;
    width: 30px;
    height: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 8px;
    border: 1px solid rgba(45, 136, 255, 0.35);
    background: rgba(7, 11, 18, 0.85);
    color: var(--brand-light);
    font-size: 10px;
    font-weight: 800;
    letter-spacing: .08em;
}
.legal-section h2 {
    margin: 0 0 8px;
    padding-right: 8px;
    font-size: 18px;
    line-height: 1.25;
    letter-spacing: -.02em;
}
.legal-section-body p { margin: 0; }
.legal-section-body p + p { margin-top: 10px; }
.legal-section--important {
    padding: 20px 20px 20px 58px;
    border-color: rgba(255, 138, 101, 0.45);
    background:
        linear-gradient(135deg, rgba(255, 138, 101, 0.1) 0%, rgba(15, 21, 32, 0.95) 42%),
        linear-gradient(165deg, rgba(22, 31, 46, 0.55) 0%, rgba(10, 16, 25, 0.92) 100%);
    box-shadow: 0 10px 28px rgba(255, 90, 70, 0.08);
}
.legal-section--important .legal-section-index {
    border-color: rgba(255, 138, 101, 0.5);
    color: #ffb199;
}
.legal-section--important h2 { color: #ffd4c8; }
.legal-section a {
    color: var(--brand-light);
    font-weight: 600;
    text-underline-offset: .14em;
}
.legal-section a:hover { color: #fff; }
.legal-section strong { color: var(--text); }

.thank-page { min-height: 55vh; display: flex; align-items: center; }
.thank-box { max-width: 700px; text-align: center; }
.thank-icon { width: 68px; height: 68px; margin: 0 auto 18px; display: flex; align-items: center; justify-content: center; border: 2px solid var(--red); border-radius: 50%; color: var(--red); font-size: 30px; font-weight: 800; }
.thank-box h1 { margin: 0; font-size: clamp(36px, 5vw, 58px); }
.thank-box p { max-width: 600px; margin: 14px auto 0; color: var(--text-soft); font-size: 13px; line-height: 1.65; }
.thank-box a { min-height: 42px; margin-top: 24px; padding: 0 18px; display: inline-flex; align-items: center; border-radius: 3px; background: var(--red); color: #fff; text-decoration: none; font-size: 12px; font-weight: 800; }

.liaison-body { min-height: 100vh; background: var(--main); }
.liaison-page { min-height: 100vh; padding: 20px; display: flex; align-items: center; justify-content: center; }
.liaison-box { width: min(100%, 360px); padding: 28px; border: 1px solid var(--line); border-top: 3px solid var(--red); border-radius: 5px; background: var(--second); text-align: center; }
.liaison-box img { width: 48px; height: 48px; }
.liaison-loader { width: 34px; height: 34px; margin: 18px auto; display: block; border: 4px solid #1e2a3d; border-top-color: var(--brand-light); border-radius: 50%; animation: spin .7s linear infinite; }
.liaison-box h1 { margin: 0; font-size: 22px; }
.liaison-box p { margin: 8px 0 0; color: var(--text-soft); font-size: 12px; }
@keyframes spin { to { transform: rotate(360deg); } }

@media (max-width: 850px) {
    .platform-card { flex-basis: calc(50% - 8px); min-height: 340px; }
    .footer-texts { flex-wrap: wrap; }
    .footer-text { flex-basis: calc(50% - 14px); }
    .hero-inner { grid-template-columns: 1fr; gap: 0; }
    .hero-aside,
    .hero-mobile-stats,
    .hero-tags,
    .hero-aside-note { display: none !important; }
}

@media (max-width: 700px) {
    .page-width { width: min(calc(100% - 28px), var(--page-width)); }
    .top-warning .page-width { padding: 5px 0; align-items: flex-start; text-align: left; }
    .header-menu { display: none; }
    .menu-button { display: flex; }
    .hero { padding: 10px 0 8px; }
    .hero-glass { padding: 10px 10px 8px; }
    .hero-year-badge { margin-left: 0; }
    .hero h1 { font-size: clamp(24px, 7.5vw, 34px); }
    .section-title { align-items: flex-start; flex-direction: column; gap: 5px; }
    .platform-section { padding-bottom: 38px; }
    .platform-card { flex-basis: 100%; max-width: 430px; min-height: 0; }
    .card-image-frame { min-height: 118px; }
    .card-head { flex-direction: column; align-items: flex-start; }
    .card-anj-badge { max-width: 100%; text-align: left; }
    .card-foot { flex-direction: column; align-items: stretch; }
    .card-foot .card-button { flex: 1 1 auto; width: 100%; }
    .card-visual-top { flex-wrap: wrap; }
    .card-type { text-align: left; }
    .footer-resources { gap: 6px; }
    .resource { flex-basis: calc(50% - 4px); min-width: 0; }
    .footer-alert { align-items: flex-start; }
    .footer-texts { flex-direction: column; gap: 24px; }
    .footer-text { flex-basis: auto; }
    .footer-bottom { align-items: flex-start; flex-direction: column; gap: 6px; }
    .age-buttons { flex-direction: column; }
    .page-space { padding: 45px 0 55px; }
    .legal-page-head { padding: 16px 14px 14px; }
    .legal-quick-nav ul { flex-wrap: nowrap; overflow-x: auto; -webkit-overflow-scrolling: touch; scrollbar-width: none; }
    .legal-quick-nav ul::-webkit-scrollbar { display: none; }
    .legal-quick-nav a { white-space: nowrap; font-size: 10px; padding: 8px 10px; }
    .legal-section { padding: 16px 14px 16px 14px; }
    .legal-section-index {
        position: static;
        display: inline-flex;
        margin-bottom: 10px;
        width: auto;
        min-width: 30px;
        height: 28px;
        padding: 0 8px;
    }
    .legal-section--important { padding: 16px 14px; }
    .form-line { flex-direction: column; gap: 0; }
    .method-row { gap: 14px; }
}

@media (max-width: 420px) {
    .cookie-buttons { flex-direction: column; }
    .cookie-buttons button { width: 100%; }
}
