/* ===== GENESIS LUXURY THEME (COPPER / BLACK / GRAPHITE) ===== */
:root {
    --bg-main: #060608;
    --bg-card: #0e0f13;
    --bg-card-hover: #14161d;
    --bg-elevated: #171921;
    --copper: #a36b4f;
    --copper-light: #d9b8a3;
    --copper-bright: #c5896b;
    --copper-glow: rgba(163, 107, 79, 0.22);
    --border-subtle: rgba(255, 255, 255, 0.10);
    --border-copper: rgba(163, 107, 79, 0.45);
    --text-main: #f5f5f7;
    --text-muted: rgba(255, 255, 255, 0.65);
    --text-dim: rgba(255, 255, 255, 0.42);
    --success: #5ac48a;
    --warning: #e0a952;
    --danger: #e06363;
}

*, *::before, *::after {
    box-sizing: border-box;
}

html {
    -webkit-text-size-adjust: 100%;
    text-size-adjust: 100%;
    scroll-behavior: smooth;
    scroll-padding-top: 120px;
}

body {
    margin: 0;
    padding: 0;
    min-height: 100vh;
    min-height: 100dvh;
    font-family: "Helvetica Neue", "Segoe UI", Roboto, Arial, sans-serif;
    color: var(--text-main);
    background-color: var(--bg-main);
    background-image:
        radial-gradient(900px 440px at 50% 0%, rgba(163, 107, 79, 0.16), transparent 70%);
    background-attachment: fixed;
    display: flex;
    flex-direction: column;
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
}

a {
    color: var(--copper-light);
    text-decoration: none;
    transition: color 0.2s ease;
}

a:hover {
    color: #fff;
}

section[id],
#auth,
#daily-code,
#profile,
#games {
    scroll-margin-top: 120px;
}

/* ===== HEADER & NAVIGATION ===== */
.site-header {
    position: sticky;
    top: 0;
    z-index: 50;
    background: rgba(6, 6, 8, 0.88);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    border-bottom: 1px solid var(--border-subtle);
}

.header-inner {
    max-width: 1240px;
    margin: 0 auto;
    padding: 14px 20px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    flex-wrap: wrap;
}

.brand-wrap {
    display: flex;
    align-items: center;
    gap: 14px;
    color: #fff;
}

.brand-logo {
    width: 108px;
    height: auto;
    display: block;
}

.brand-wrap.is-lockup {
    flex-direction: column;
    align-items: center;
    gap: 7px;
}

.brand-wrap.is-lockup .brand-divider {
    display: none;
}

.brand-wrap.is-lockup .brand-logo {
    width: 156px;
}

.brand-wrap.is-lockup .brand-sub {
    font-size: 10px;
    letter-spacing: 0.32em;
    line-height: 1;
}

.brand-divider {
    width: 1px;
    height: 22px;
    background: rgba(255, 255, 255, 0.18);
}

.brand-sub {
    font-size: 11px;
    letter-spacing: 0.22em;
    text-transform: uppercase;
    color: var(--copper-light);
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 20px;
    flex-wrap: wrap;
}

.nav-link {
    font-size: 12px;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    color: var(--text-muted);
    padding: 6px 2px;
    border-bottom: 1px solid transparent;
    transition: all 0.2s ease;
}

.nav-link:hover, .nav-link.active {
    color: #fff;
    border-bottom-color: var(--copper);
}

.header-actions {
    display: flex;
    align-items: center;
    gap: 12px;
    flex-wrap: wrap;
}

.lang-switch {
    display: inline-flex;
    align-items: center;
    border: 1px solid var(--border-copper);
    background: rgba(163, 107, 79, 0.08);
}

.lang-btn {
    padding: 6px 10px;
    font-size: 11px;
    font-weight: 500;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--text-muted);
    transition: all 0.2s ease;
}

.lang-btn:hover {
    color: #fff;
}

.lang-btn.active {
    background: var(--copper);
    color: #fff;
}

/* ===== BUTTONS ===== */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    min-height: 44px;
    padding: 11px 22px;
    font-family: inherit;
    font-size: 12px;
    font-weight: 500;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    border: 1px solid rgba(255, 255, 255, 0.45);
    background: transparent;
    color: #fff;
    cursor: pointer;
    transition: all 0.22s ease;
    text-align: center;
}

.btn:hover {
    background: #fff;
    color: #000;
    border-color: #fff;
}

.btn-copper {
    background: linear-gradient(135deg, #b5795b 0%, #8e563b 100%);
    border-color: #c98d6f;
    color: #fff;
    box-shadow: 0 8px 24px rgba(163, 107, 79, 0.25);
}

.btn-copper:hover {
    background: linear-gradient(135deg, #c98a6b 0%, #a36b4f 100%);
    color: #fff;
    border-color: #e2b49b;
    box-shadow: 0 10px 30px rgba(163, 107, 79, 0.42);
    transform: translateY(-1px);
}

.btn-outline-copper {
    border-color: var(--border-copper);
    color: var(--copper-light);
    background: rgba(163, 107, 79, 0.08);
}

.btn-outline-copper:hover {
    background: var(--copper);
    color: #fff;
    border-color: var(--copper-light);
}

.btn-sm {
    min-height: 36px;
    padding: 7px 14px;
    font-size: 11px;
    letter-spacing: 0.14em;
}

.btn-block {
    width: 100%;
}

/* ===== LAYOUT CONTAINERS ===== */
.container {
    width: 100%;
    max-width: 1240px;
    margin: 0 auto;
    padding: 0 20px;
}

main {
    flex: 1 0 auto;
}

.section {
    padding: clamp(44px, 7vh, 80px) 0;
    border-bottom: 1px solid var(--border-subtle);
}

.eyebrow {
    margin: 0 0 10px;
    font-size: 11px;
    letter-spacing: 0.28em;
    text-transform: uppercase;
    color: var(--copper);
}

.section-title {
    margin: 0 0 14px;
    font-weight: 300;
    font-size: clamp(24px, 4vw, 38px);
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.section-subtitle {
    margin: 0 0 36px;
    max-width: 740px;
    color: var(--text-muted);
    font-size: 15px;
    line-height: 1.6;
}

.copper-line {
    width: 56px;
    height: 1px;
    background: var(--copper);
    margin: 20px 0;
}

/* ===== HERO ===== */
.hero {
    padding: clamp(48px, 8vh, 92px) 0;
    border-bottom: 1px solid var(--border-subtle);
}

.hero-grid {
    display: grid;
    grid-template-columns: 1.25fr 0.95fr;
    gap: 40px;
    align-items: center;
}

.hero-title {
    margin: 12px 0 18px;
    font-weight: 300;
    font-size: clamp(28px, 4.6vw, 48px);
    line-height: 1.18;
    letter-spacing: 0.06em;
    text-transform: uppercase;
}

.hero-title span {
    color: var(--copper-light);
}

.hero-lead {
    margin: 0 0 28px;
    font-size: 16px;
    line-height: 1.65;
    color: var(--text-muted);
}

.hero-actions {
    display: flex;
    gap: 14px;
    flex-wrap: wrap;
    margin-bottom: 28px;
}

.hero-badges {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 14px;
    padding-top: 22px;
    border-top: 1px solid var(--border-subtle);
}

.stat-item {
    padding: 10px 12px;
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid var(--border-subtle);
}

.stat-val {
    font-size: 16px;
    font-weight: 500;
    letter-spacing: 0.06em;
    color: var(--copper-light);
    margin-bottom: 4px;
}

.stat-lbl {
    font-size: 11px;
    color: var(--text-dim);
    text-transform: uppercase;
    letter-spacing: 0.1em;
}

/* ===== CARDS & TARIFFS ===== */
.card {
    background: var(--bg-card);
    border: 1px solid var(--border-subtle);
    padding: 28px;
    position: relative;
    transition: border-color 0.25s ease, transform 0.25s ease;
}

.card-copper {
    border-color: var(--border-copper);
    background: linear-gradient(180deg, rgba(163, 107, 79, 0.10) 0%, rgba(14, 15, 19, 0.98) 100%);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.45);
}

.tariffs-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(min(100%, 280px), 1fr));
    gap: 16px;
    align-items: stretch;
}

.tariff-card {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    padding: 32px 28px;
    background: var(--bg-card);
    border: 1px solid var(--border-subtle);
    position: relative;
}

.tariff-card.popular {
    border-color: var(--copper);
    background: linear-gradient(180deg, rgba(163, 107, 79, 0.13) 0%, rgba(14, 15, 19, 0.98) 100%);
    box-shadow: 0 20px 60px rgba(163, 107, 79, 0.14);
}

.tariff-badge {
    display: inline-block;
    align-self: flex-start;
    padding: 5px 11px;
    font-size: 10px;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    background: rgba(163, 107, 79, 0.18);
    border: 1px solid var(--border-copper);
    color: var(--copper-light);
    margin-bottom: 16px;
}

.tariff-code {
    font-size: 11px;
    letter-spacing: 0.24em;
    text-transform: uppercase;
    color: var(--text-dim);
    margin: 0 0 6px;
}

.tariff-title {
    margin: 0 0 10px;
    font-size: 20px;
    font-weight: 400;
    letter-spacing: 0.04em;
    line-height: 1.35;
}

.tariff-sub {
    margin: 0 0 20px;
    font-size: 13px;
    color: var(--text-muted);
    line-height: 1.5;
}

.tariff-price-box {
    padding: 18px 0;
    margin: 4px 0 20px;
    border-top: 1px solid var(--border-subtle);
    border-bottom: 1px solid var(--border-subtle);
    display: flex;
    align-items: baseline;
    gap: 12px;
}

.tariff-price {
    font-size: 36px;
    font-weight: 300;
    letter-spacing: 0.04em;
    color: #fff;
    font-variant-numeric: tabular-nums;
}

.tariff-price-note {
    font-size: 12px;
    color: var(--text-dim);
    text-transform: uppercase;
    letter-spacing: 0.12em;
}

.tariff-features {
    list-style: none;
    padding: 0;
    margin: 0 0 28px;
}

.tariff-features li {
    position: relative;
    padding-left: 22px;
    margin-bottom: 11px;
    font-size: 13.5px;
    line-height: 1.5;
    color: rgba(255, 255, 255, 0.82);
}

.tariff-features li::before {
    content: "◆";
    position: absolute;
    left: 0;
    top: 1px;
    font-size: 10px;
    color: var(--copper);
}

/* ===== AUTH TABS & FORMS ===== */
.auth-box {
    background: var(--bg-card);
    border: 1px solid var(--border-copper);
    padding: 30px 28px;
    box-shadow: 0 24px 60px rgba(0, 0, 0, 0.55);
}

.page-home .auth-box.is-point {
    border-color: #f3e4d8;
    box-shadow:
        0 0 0 1px rgba(243, 228, 216, 0.75),
        0 0 0 7px rgba(163, 107, 79, 0.28),
        0 24px 60px rgba(163, 107, 79, 0.38);
    animation: authPoint 1.05s ease-in-out 2;
}

@keyframes authPoint {
    0%, 100% {
        border-color: rgba(217, 184, 163, 0.9);
        box-shadow: 0 0 0 1px rgba(217, 184, 163, 0.35), 0 22px 50px rgba(163, 107, 79, 0.28);
    }
    50% {
        border-color: #f3e4d8;
        box-shadow: 0 0 0 6px rgba(217, 184, 163, 0.24), 0 24px 56px rgba(163, 107, 79, 0.55);
    }
}

.auth-tabs {
    display: flex;
    border-bottom: 1px solid var(--border-subtle);
    margin-bottom: 22px;
}

.auth-tab {
    flex: 1;
    padding: 11px 10px;
    text-align: center;
    font-size: 12px;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: var(--text-dim);
    background: none;
    border: none;
    border-bottom: 2px solid transparent;
    cursor: pointer;
    transition: all 0.2s ease;
}

.auth-tab.active {
    color: #fff;
    border-bottom-color: var(--copper);
}

.form-group {
    margin-bottom: 16px;
}

.form-label {
    display: block;
    margin-bottom: 6px;
    font-size: 11px;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    color: var(--text-muted);
}

.form-input, .form-select, .form-textarea {
    width: 100%;
    padding: 12px 14px;
    font-family: inherit;
    font-size: 14px;
    color: #fff;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.18);
    outline: none;
    transition: border-color 0.2s ease, background 0.2s ease;
}

.form-input:focus, .form-select:focus, .form-textarea:focus {
    border-color: var(--copper);
    background: rgba(255, 255, 255, 0.07);
}

.form-select option {
    background: #121318;
    color: #fff;
}

/* ===== ALERTS & STATUS BADGES ===== */
.alert {
    padding: 15px 18px;
    margin-bottom: 22px;
    border: 1px solid var(--border-subtle);
    font-size: 14px;
    line-height: 1.5;
}

.alert-error {
    background: rgba(224, 99, 99, 0.12);
    border-color: rgba(224, 99, 99, 0.45);
    color: #ffb8b8;
}

.alert-success {
    background: rgba(90, 196, 138, 0.12);
    border-color: rgba(90, 196, 138, 0.45);
    color: #b4f3d0;
}

.alert-copper {
    background: rgba(163, 107, 79, 0.14);
    border-color: var(--border-copper);
    color: var(--copper-light);
}

.soft-note {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    margin: 0 0 16px;
    padding: 12px 14px;
    border-left: 2px solid var(--copper);
    background: rgba(163, 107, 79, 0.08);
}

.soft-note p {
    margin: 0;
    font-size: 13.5px;
    line-height: 1.55;
    color: var(--text-muted);
}

.soft-note strong {
    color: var(--copper-light);
    font-weight: 500;
}

.soft-note-mark {
    flex: 0 0 auto;
    width: 20px;
    height: 20px;
    margin-top: 1px;
    border: 1px solid var(--border-copper);
    border-radius: 50%;
    color: var(--copper-light);
    font-size: 11px;
    line-height: 18px;
    text-align: center;
}

.badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 4px 10px;
    font-size: 11px;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    border: 1px solid var(--border-subtle);
}

.badge-free {
    background: rgba(255, 255, 255, 0.06);
    color: var(--text-muted);
}

.badge-paid {
    background: rgba(90, 196, 138, 0.15);
    border-color: rgba(90, 196, 138, 0.5);
    color: #84e6b0;
}

.badge-locked {
    background: rgba(163, 107, 79, 0.15);
    border-color: var(--border-copper);
    color: var(--copper-light);
}

/* ===== CABINET DASHBOARD ===== */
.cabinet-header {
    padding: 16px 0 12px;
    border-bottom: 1px solid var(--border-subtle);
    background: linear-gradient(180deg, rgba(163, 107, 79, 0.08), transparent);
}

.cabinet-name {
    margin: 0 0 6px;
    font-weight: 300;
    font-size: 22px;
    letter-spacing: 0.06em;
    text-transform: uppercase;
}

.cabinet-status {
    flex: 0 0 auto;
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 10px;
}

.tg-link {
    color: var(--copper-light);
    text-decoration: none;
}

.tg-glyph {
    display: block;
    fill: #e7cbb8;
    filter: drop-shadow(0 0 10px rgba(197, 137, 107, 0.55));
    transition: fill 0.2s ease, filter 0.2s ease, transform 0.2s ease;
}

.tg-link:hover .tg-glyph {
    fill: #fff4ec;
    filter: drop-shadow(0 0 16px rgba(217, 184, 163, 0.85));
    transform: translateY(-1px);
}

.tg-link-badge {
    display: flex;
    align-items: center;
    line-height: 0;
}

.tg-link-badge .tg-glyph {
    width: 34px;
    height: 34px;
}

.tg-caption,
.tg-kicker {
    font-size: 10px;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: var(--copper-bright);
}

.tg-link-wide {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 16px;
    padding: 10px 14px;
    border: 1px solid rgba(197, 137, 107, 0.45);
    background: linear-gradient(90deg, rgba(163, 107, 79, 0.16), rgba(0, 0, 0, 0.2));
}

.tg-link-wide .tg-glyph {
    width: 36px;
    height: 36px;
    flex: 0 0 auto;
}

.tg-copy {
    display: flex;
    flex-direction: column;
    gap: 4px;
    min-width: 0;
}

.tg-title {
    font-size: 16px;
    font-weight: 400;
    letter-spacing: 0.04em;
    line-height: 1.3;
    color: #fff;
}

.support-tg-row {
    margin-top: 18px;
}

.tg-link-support {
    width: auto;
    align-items: center;
    gap: 14px;
    line-height: 1.3;
    padding: 10px 16px 10px 10px;
    border: 1px solid rgba(197, 137, 107, 0.45);
    background: linear-gradient(90deg, rgba(163, 107, 79, 0.16), rgba(0, 0, 0, 0.2));
}

.tg-link-support .tg-glyph {
    width: 52px;
    height: 52px;
}

.cabinet-tabs {
    display: flex;
    gap: 8px;
    margin-top: 14px;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
}

.cabinet-tabs::-webkit-scrollbar {
    display: none;
}

.cabinet-tab {
    flex: 0 0 auto;
    min-height: 40px;
    padding: 8px 14px;
    border: 1px solid var(--border-subtle);
    background: transparent;
    color: var(--text-muted);
    font: inherit;
    font-size: 12px;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    cursor: pointer;
}

.cabinet-tab.is-on {
    color: #fff;
    border-color: var(--copper);
    background: rgba(163, 107, 79, 0.16);
}

.cabinet-panel {
    display: none;
}

.cabinet-panel.is-on {
    display: block;
}

.cabinet-panel.section {
    padding: 18px 0 28px;
}

.cabinet-panel .section-title {
    font-size: clamp(20px, 3vw, 28px);
}

.cabinet-panel .section-subtitle {
    margin-bottom: 16px;
}

.daily-code-row {
    margin-bottom: 16px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    flex-wrap: wrap;
}

.cabinet-top-grid {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    flex-wrap: wrap;
}

.user-meta {
    display: flex;
    gap: 18px;
    flex-wrap: wrap;
    margin-top: 8px;
    font-size: 13px;
    color: var(--text-muted);
}

.user-meta span strong {
    color: #fff;
    font-weight: 500;
}

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

.download-card {
    background: var(--bg-card);
    border: 1px solid var(--border-subtle);
    padding: 24px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    gap: 16px;
}

.download-card.locked {
    border-color: rgba(163, 107, 79, 0.32);
    background: linear-gradient(180deg, rgba(20, 22, 29, 0.9), rgba(12, 13, 17, 0.95));
}

.download-card.unlocked {
    border-color: rgba(90, 196, 138, 0.35);
}

.download-meta {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    font-size: 12px;
    color: var(--text-dim);
    padding-top: 12px;
    border-top: 1px solid var(--border-subtle);
}

/* ===== MODAL (PAYMENT & STUB) ===== */
.modal-backdrop {
    position: fixed;
    inset: 0;
    z-index: 200;
    background: rgba(0, 0, 0, 0.82);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    display: none;
    align-items: center;
    justify-content: center;
    padding: 20px;
}

.modal-backdrop.open {
    display: flex;
}

.modal-window {
    width: 100%;
    max-width: 540px;
    background: #101116;
    border: 1px solid var(--copper);
    box-shadow: 0 30px 90px rgba(0, 0, 0, 0.8);
    padding: 32px 28px;
    position: relative;
    animation: modalIn 0.22s ease-out;
}

@keyframes modalIn {
    from { opacity: 0; transform: translateY(12px) scale(0.98); }
    to { opacity: 1; transform: translateY(0) scale(1); }
}

.modal-close {
    position: absolute;
    top: 16px;
    right: 16px;
    width: 34px;
    height: 34px;
    background: transparent;
    border: 1px solid var(--border-subtle);
    color: var(--text-muted);
    font-size: 18px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
}

.modal-close:hover {
    color: #fff;
    border-color: #fff;
}

.pay-methods {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
    margin: 14px 0 20px;
}

.pay-method-label {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 12px;
    border: 1px solid var(--border-subtle);
    background: rgba(255, 255, 255, 0.02);
    cursor: pointer;
    font-size: 13px;
    transition: all 0.2s ease;
}

.pay-method-label:hover {
    border-color: var(--border-copper);
}

.pay-method-label input {
    accent-color: var(--copper);
}

/* ===== TABLES ===== */
.table-wrap {
    width: 100%;
    overflow-x: auto;
}

.data-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 13px;
}

.data-table th, .data-table td {
    padding: 12px 14px;
    text-align: left;
    border-bottom: 1px solid var(--border-subtle);
}

.data-table th {
    font-size: 11px;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    color: var(--text-dim);
    background: rgba(255, 255, 255, 0.02);
}

/* ===== FOOTER ===== */
.site-footer {
    flex: 0 0 auto;
    padding: 32px 0;
    border-top: 1px solid var(--border-subtle);
    background: #040406;
    font-size: 12px;
    color: var(--text-dim);
}

.footer-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    flex-wrap: wrap;
}

.footer-disclaimer {
    flex: 1 0 100%;
    margin: 14px 0 0;
    font-size: 11px;
    line-height: 1.45;
    color: var(--text-dim);
}

.legal-nav {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.legal-doc {
    max-width: 860px;
}

.legal-doc h2 {
    margin: 28px 0 8px;
    font-size: 18px;
    font-weight: 400;
}

.legal-doc p,
.legal-doc li {
    color: var(--text-muted);
    font-size: 14px;
    line-height: 1.65;
}

.legal-doc a {
    color: var(--copper-light);
}

.legal-date {
    margin-top: 0;
    color: var(--text-dim);
    font-size: 13px;
}

.faq-heading {
    margin: 28px 0 10px;
    font-size: 18px;
    font-weight: 400;
    letter-spacing: 0.04em;
}

.faq-list {
    display: flex;
    flex-direction: column;
    gap: 8px;
    margin-bottom: 8px;
}

.faq-item {
    border: 1px solid var(--border-subtle);
    background: var(--bg-card);
}

.faq-item summary {
    cursor: pointer;
    list-style: none;
    padding: 14px 16px;
    font-size: 15px;
    line-height: 1.4;
    color: var(--text-main);
}

.faq-item summary::-webkit-details-marker {
    display: none;
}

.faq-item summary::after {
    content: "+";
    float: right;
    color: var(--copper-light);
    font-weight: 300;
}

.faq-item[open] summary::after {
    content: "–";
}

.faq-a {
    padding: 0 16px 16px;
    font-size: 14px;
    line-height: 1.65;
    color: var(--text-muted);
}

.faq-a strong {
    color: var(--copper-light);
    font-weight: 500;
}

.faq-paid {
    margin-top: 28px;
    padding-top: 8px;
    border-top: 1px solid var(--border-subtle);
}

.phone-only { display: none; }

.footer-side {
    display: flex;
    gap: 18px;
    align-items: center;
    flex-wrap: wrap;
    min-width: 0;
}

/* ===== RESPONSIVE ===== */
@media (max-width: 940px) {
    .hero-grid {
        grid-template-columns: 1fr;
    }
    .hero-badges {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 720px) {
    html, body {
        overflow-x: clip;
        max-width: 100%;
    }
    .container,
    .footer-inner,
    .footer-inner > div,
    .card,
    .tariff-card,
    .auth-box,
    .modal-window {
        min-width: 0;
        max-width: 100%;
    }
    .header-inner {
        align-items: center;
        gap: 8px 10px;
        padding: 8px 14px 10px;
    }
    .page-home .header-inner {
        display: grid;
        grid-template-columns: auto minmax(0, 1fr);
        grid-template-areas: "brand actions" "nav nav";
        justify-content: stretch;
        max-width: 100%;
    }
    .page-home .header-actions .lang-btn { padding: 6px 8px; }
    .brand-wrap { grid-area: brand; }
    .header-actions {
        grid-area: actions;
        justify-content: flex-end;
        gap: 8px;
        min-width: 0;
    }
    .nav-links {
        grid-area: nav;
        display: grid;
        grid-template-columns: 1fr 1fr 1fr;
        width: 100%;
        gap: 6px;
    }
    .nav-link {
        font-size: 10px;
        letter-spacing: 0.02em;
        padding: 2px 0;
        text-align: center;
        white-space: normal;
        min-width: 0;
    }
    .header-actions .btn-sm {
        padding: 7px 10px;
        letter-spacing: 0.04em;
    }
    .phone-hide { display: none !important; }
    .phone-only { display: block; }
    span.phone-only { display: inline; }
    .desk-only { display: none !important; }
    .brand-sub { display: none; }
    .brand-wrap.is-lockup .brand-logo { width: 78px; }
    .container { padding: 0 16px; }
    .section { padding: 22px 0; }
    .hero { padding: 18px 0 22px; }
    .hero .eyebrow { display: none; }
    .hero-title {
        font-size: 22px;
        letter-spacing: 0.02em;
        margin: 0 0 10px;
    }
    .hero-lead {
        font-size: 15px;
        line-height: 1.5;
        margin-bottom: 14px;
    }
    .hero-actions {
        flex-direction: column;
        margin-bottom: 14px;
    }
    .hero-actions .btn { width: 100%; }
    .hero-badges {
        grid-template-columns: 1fr 1fr;
        gap: 8px;
        padding-top: 14px;
    }
    .hero-badges .stat-item:nth-child(3) { display: none; }
    .stat-item { min-width: 0; }
    .stat-val { font-size: 14px; letter-spacing: 0.02em; }
    .stat-lbl { letter-spacing: 0.04em; overflow-wrap: anywhere; }
    .auth-tabs { min-width: 0; }
    .auth-tab {
        min-width: 0;
        padding: 10px 4px;
        font-size: 11px;
        letter-spacing: 0.04em;
        white-space: normal;
    }
    .tariff-card,
    .tariff-sub,
    .tariff-title,
    .tariff-features,
    .section-subtitle,
    .hero-lead {
        overflow-wrap: break-word;
    }
    .auth-box { padding: 18px 16px; }
    .section-title { font-size: 22px; letter-spacing: 0.03em; }
    .section-subtitle { margin-bottom: 14px; }
    .card,
    .tariff-card,
    .download-card { padding: 16px; }
    .tariffs-grid,
    .downloads-grid { grid-template-columns: 1fr; }
    .footer-inner {
        flex-direction: column;
        align-items: stretch;
        gap: 12px;
    }
    .footer-side {
        flex-direction: column;
        align-items: stretch;
        gap: 10px;
    }
    .footer-side .lang-switch { align-self: flex-start; }
    .legal-nav {
        display: grid;
        grid-template-columns: 1fr 1fr;
        width: 100%;
        gap: 8px;
        overflow: visible;
    }
    .legal-nav .btn {
        width: 100%;
        min-width: 0;
        white-space: normal;
        letter-spacing: 0.02em;
        line-height: 1.25;
        padding: 8px 8px;
    }
    .footer-disclaimer { margin-top: 4px; }
    .modal-window { padding: 22px 16px; }
    .pay-methods { grid-template-columns: 1fr; }
    .cabinet-top-grid {
        align-items: flex-start;
    }
    .daily-code-row {
        align-items: flex-start;
    }
}

/* ===== HOMEPAGE MOTION ===== */
.page-home .hero {
    position: relative;
    overflow: hidden;
}

.page-home .hero .container {
    position: relative;
    z-index: 1;
}

.hero-sheen {
    pointer-events: none;
    position: absolute;
    inset: 0;
    z-index: 0;
    background: linear-gradient(115deg, transparent 32%, rgba(255, 255, 255, 0.045) 48%, transparent 64%);
    background-size: 240% 100%;
    animation: sheen 11s ease-in-out infinite;
}

.page-home .hero-title span {
    background: linear-gradient(100deg, #e4c4ae 0%, #fff6f0 38%, #c5896b 62%, #e4c4ae 100%);
    background-size: 220% 100%;
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    animation: copperShine 8s linear infinite;
}

.page-home .hero-grid > div,
.page-home .stat-item,
.page-home .section {
    animation: riseIn 0.75s ease both;
}

.page-home .hero-grid > div:nth-child(2) {
    animation-delay: 0.12s;
}

.page-home .stat-item:nth-child(2) { animation-delay: 0.08s; }
.page-home .stat-item:nth-child(3) { animation-delay: 0.16s; }

.page-home .card,
.page-home .tariff-card,
.page-home .auth-box {
    transition: transform 0.35s ease, border-color 0.35s ease, box-shadow 0.35s ease;
}

.page-home .card:hover,
.page-home .tariff-card:hover,
.page-home .auth-box:hover {
    transform: translateY(-4px);
    border-color: var(--border-copper);
    box-shadow: 0 18px 42px rgba(0, 0, 0, 0.38), 0 0 0 1px rgba(163, 107, 79, 0.18);
}

.page-home .btn-copper {
    animation: copperPulse 3.8s ease-in-out infinite;
}

@keyframes sheen {
    0%, 100% { background-position: 130% 0; }
    50% { background-position: -30% 0; }
}

@keyframes copperShine {
    0% { background-position: 0% 50%; }
    100% { background-position: 220% 50%; }
}

@keyframes riseIn {
    from { opacity: 0; transform: translateY(14px); }
    to { opacity: 1; transform: none; }
}

@keyframes copperPulse {
    0%, 100% { box-shadow: 0 8px 22px rgba(163, 107, 79, 0.22); }
    50% { box-shadow: 0 10px 34px rgba(163, 107, 79, 0.5); }
}

@media (max-width: 720px) {
    .page-home .btn-copper,
    .page-home .section,
    .page-home .hero-title span {
        animation: none;
    }
    .page-home .hero-title span {
        color: var(--copper-light);
        background: none;
        -webkit-text-fill-color: var(--copper-light);
    }
}

@media (prefers-reduced-motion: reduce) {
    .hero-sheen,
    .page-home .hero-title span,
    .page-home .hero-grid > div,
    .page-home .stat-item,
    .page-home .section,
    .page-home .btn-copper {
        animation: none;
    }
    .page-home .hero-title span {
        color: var(--copper-light);
        background: none;
        -webkit-text-fill-color: var(--copper-light);
    }
    .page-home .card:hover,
    .page-home .tariff-card:hover,
    .page-home .auth-box:hover {
        transform: none;
    }
    .page-home .auth-box.is-point {
        animation: none;
        border-color: var(--copper-light);
        box-shadow: 0 0 0 1px rgba(217, 184, 163, 0.55), 0 18px 42px rgba(163, 107, 79, 0.35);
    }
    .admin-user-row.is-alert {
        animation: none;
        background: rgba(224, 99, 99, 0.16);
    }
}

.admin-users {
    margin-bottom: 0;
}

.admin-sections {
    margin: 0 0 16px;
}

.admin-sections a {
    text-decoration: none;
}

.cabinet-tab.is-alert {
    border-color: rgba(224, 99, 99, 0.7);
    color: #fff;
}

.admin-pay {
    max-width: 760px;
}

.admin-pay-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0 14px;
}

@media (max-width: 720px) {
    .admin-pay-grid {
        grid-template-columns: 1fr;
    }
}

.admin-user-table {
    font-size: 14px;
}

.admin-user-table th,
.admin-user-table td {
    padding: 12px 14px;
}

.admin-user-row {
    cursor: pointer;
}

.admin-user-row:hover,
.admin-user-row:focus {
    background: rgba(163, 107, 79, 0.1);
    outline: none;
}

.admin-user-row.is-on {
    background: rgba(163, 107, 79, 0.14);
}

.admin-user-row.is-alert {
    animation: adminRowBlink 1.15s ease-in-out infinite;
}

.admin-user-facts {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 12px 18px;
}

.admin-user-facts span {
    display: block;
    margin-bottom: 4px;
    color: var(--text-dim);
    font-size: 11px;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

.admin-ticket {
    display: flex;
    justify-content: space-between;
    gap: 16px;
    align-items: flex-start;
    padding: 12px 0;
    border-top: 1px solid var(--border-subtle);
}

.ticket-card {
    max-width: 680px;
    margin-bottom: 14px;
}

.ticket-head {
    display: flex;
    justify-content: space-between;
    gap: 12px;
    margin-bottom: 10px;
    font-size: 13px;
}

.ticket-msg {
    margin: 0 0 8px;
    padding: 10px 12px;
    border: 1px solid var(--border-subtle);
    background: rgba(255, 255, 255, 0.03);
}

.ticket-msg.is-admin {
    border-color: var(--border-copper);
    background: rgba(163, 107, 79, 0.08);
}

.ticket-msg p {
    margin: 4px 0 0;
    white-space: pre-wrap;
    font-size: 14px;
}

.ticket-meta {
    color: var(--text-dim);
    font-size: 11px;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.ticket-reply {
    margin-top: 10px;
}

.admin-dialogs {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.admin-dialog {
    border: 1px solid var(--border-subtle);
    background: rgba(255, 255, 255, 0.02);
}

.admin-dialog.is-fresh {
    border-color: rgba(196, 73, 58, 0.7);
}

.admin-dialog-head {
    width: 100%;
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 8px 16px;
    align-items: center;
    padding: 12px 14px;
    background: transparent;
    color: inherit;
    border: 0;
    text-align: left;
    cursor: pointer;
}

.admin-dialog-who {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    align-items: center;
    font-size: 14px;
}

.admin-dialog-preview {
    grid-column: 1 / -1;
    color: var(--text-muted);
    font-size: 13px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.admin-dialog.is-open .admin-dialog-preview {
    display: none;
}

.admin-dialog-log {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 6px;
    max-height: 200px;
    height: auto;
    overflow: auto;
    margin: 0 0 8px;
    scrollbar-width: thin;
    scrollbar-color: var(--copper) #1a1411;
}

.admin-dialog-log > .admin-bubble {
    flex: 0 0 auto;
    width: fit-content;
    max-width: min(420px, 85%);
    height: auto;
    min-height: 0;
    padding: 6px 10px;
    font-size: 14px;
    line-height: 1.35;
    white-space: normal;
}

.admin-bubble span {
    display: block;
    margin-top: 2px;
    color: var(--text-dim);
    font-size: 11px;
    line-height: 1.2;
}

.admin-bubble.is-user {
    align-self: flex-end;
    background: rgba(163, 107, 79, 0.22);
}

.admin-bubble.is-admin {
    align-self: flex-start;
    background: rgba(255, 255, 255, 0.05);
}

.admin-dialog-body {
    padding: 0 14px 14px;
}

.admin-dialog-body[hidden] {
    display: none !important;
}

.admin-dialog-actions {
    display: flex;
    gap: 8px;
    align-items: flex-start;
    margin-top: 8px;
}

.admin-dialog-actions textarea {
    flex: 1;
    min-height: 64px;
}

@keyframes adminRowBlink {
    0%, 100% { background: transparent; }
    50% { background: rgba(224, 99, 99, 0.28); }
}
