/**
 * CourierScript homepage — public site visual language (indigo / pink), modern layout
 */

:root {
    --primary: #6366f1;
    --primary-dark: #4f46e5;
    --primary-light: #818cf8;
    --accent: #ec4899;
    --success: #10b981;
    --text: #ffffff;
    --muted: #94a3b8;
    --text-secondary: #cbd5e1;
    --bg: #020617;
    --bg-elevated: #0f172a;
    --surface: rgba(15, 23, 42, 0.72);
    --border: rgba(255, 255, 255, 0.1);
    --border-strong: rgba(99, 102, 241, 0.35);
    --radius: 22px;
    --radius-sm: 14px;
    --shadow: 0 24px 80px rgba(0, 0, 0, 0.45);
    --font: 'Plus Jakarta Sans', system-ui, sans-serif;
    --display: 'Space Grotesk', system-ui, sans-serif;
    --header-h: 68px;
    --max: 1180px;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
    font-family: var(--font);
    background: var(--bg);
    color: var(--text);
    min-height: 100vh;
    line-height: 1.5;
    overflow-x: hidden;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font-family: inherit; }

/* Ambient mesh — site palette */
.home-ambient {
    position: fixed;
    inset: 0;
    z-index: 0;
    pointer-events: none;
    overflow: hidden;
    background: var(--bg);
}
.home-ambient::before,
.home-ambient::after {
    content: '';
    position: absolute;
    border-radius: 50%;
    filter: blur(90px);
    opacity: 0.55;
    will-change: transform;
}
.home-ambient::before {
    width: min(70vw, 720px);
    height: min(70vw, 720px);
    left: -12%;
    top: -18%;
    background: radial-gradient(circle, rgba(99, 102, 241, 0.75), transparent 68%);
    animation: blobA 18s ease-in-out infinite;
}
.home-ambient::after {
    width: min(60vw, 620px);
    height: min(60vw, 620px);
    right: -10%;
    top: 10%;
    background: radial-gradient(circle, rgba(236, 72, 153, 0.55), transparent 68%);
    animation: blobB 22s ease-in-out infinite;
}
.home-ambient .blob-3 {
    position: absolute;
    width: min(50vw, 480px);
    height: min(50vw, 480px);
    left: 35%;
    bottom: -15%;
    border-radius: 50%;
    filter: blur(100px);
    opacity: 0.35;
    background: radial-gradient(circle, rgba(129, 140, 248, 0.7), transparent 70%);
    animation: blobC 26s ease-in-out infinite;
}
.home-noise {
    position: fixed;
    inset: 0;
    z-index: 1;
    pointer-events: none;
    opacity: 0.035;
    background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

@keyframes blobA {
    0%, 100% { transform: translate(0, 0) scale(1); }
    50% { transform: translate(8%, 12%) scale(1.08); }
}
@keyframes blobB {
    0%, 100% { transform: translate(0, 0) scale(1); }
    50% { transform: translate(-10%, 8%) scale(1.12); }
}
@keyframes blobC {
    0%, 100% { transform: translate(0, 0) scale(1); }
    50% { transform: translate(6%, -10%) scale(1.1); }
}

.home-wrap {
    position: relative;
    z-index: 2;
}

/* Header — glass like LK */
.home-header {
    position: fixed;
    top: 0; left: 0; right: 0;
    z-index: 100;
    height: var(--header-h);
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 clamp(1rem, 3.5vw, 2rem);
    background: rgba(2, 6, 23, 0.55);
    backdrop-filter: blur(18px) saturate(1.2);
    -webkit-backdrop-filter: blur(18px) saturate(1.2);
    border-bottom: 1px solid var(--border);
}
.home-brand {
    display: inline-flex;
    align-items: center;
    gap: 0.7rem;
}
.home-brand img {
    width: 38px;
    height: 38px;
    border-radius: 12px;
    object-fit: cover;
    box-shadow: 0 8px 24px rgba(99, 102, 241, 0.35);
}
.home-brand span {
    font-family: var(--display);
    font-weight: 700;
    font-size: 1.05rem;
    letter-spacing: -0.03em;
}
.home-header-actions {
    display: flex;
    align-items: center;
    gap: 0.6rem;
}
.lang-switch {
    display: inline-flex;
    gap: 2px;
    padding: 3px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid var(--border);
}
.lang-btn {
    border: none;
    background: transparent;
    color: var(--muted);
    font-size: 0.7rem;
    font-weight: 700;
    letter-spacing: 0.04em;
    padding: 0.38rem 0.58rem;
    border-radius: 999px;
    cursor: pointer;
    transition: 0.18s ease;
}
.lang-btn:hover { color: #fff; background: rgba(255, 255, 255, 0.06); }
.lang-btn.active {
    color: #fff;
    background: linear-gradient(135deg, var(--primary), var(--primary-dark));
    box-shadow: 0 6px 18px rgba(99, 102, 241, 0.35);
}
.header-cta {
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
    padding: 0.55rem 1rem;
    border-radius: 999px;
    background: linear-gradient(135deg, rgba(99, 102, 241, 0.22), rgba(236, 72, 153, 0.16));
    border: 1px solid rgba(99, 102, 241, 0.4);
    color: #e0e7ff;
    font-weight: 650;
    font-size: 0.84rem;
    transition: 0.2s ease;
}
.header-cta:hover {
    transform: translateY(-1px);
    border-color: rgba(129, 140, 248, 0.7);
    box-shadow: 0 10px 28px rgba(99, 102, 241, 0.25);
}

/* Hero */
.hero {
    position: relative;
    min-height: 100vh;
    min-height: 100dvh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: calc(var(--header-h) + 2.5rem) clamp(1rem, 3.5vw, 2rem) 3rem;
}
.hero-media {
    position: absolute;
    inset: 0;
    z-index: 0;
    overflow: hidden;
}
.hero-media-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.28;
    transform: scale(1.08);
    filter: saturate(1.15) contrast(1.05);
    animation: heroDrift 28s ease-in-out infinite alternate;
}
.hero-media::after {
    content: '';
    position: absolute;
    inset: 0;
    background:
        linear-gradient(180deg, rgba(2, 6, 23, 0.45) 0%, rgba(2, 6, 23, 0.72) 48%, rgba(2, 6, 23, 0.97) 100%),
        radial-gradient(ellipse 80% 55% at 50% 0%, rgba(99, 102, 241, 0.22), transparent 60%);
}
@keyframes heroDrift {
    from { transform: scale(1.08) translate3d(0, 0, 0); }
    to { transform: scale(1.14) translate3d(-1.2%, -0.8%, 0); }
}

.hero-content {
    position: relative;
    z-index: 1;
    width: min(100%, var(--max));
    margin: 0 auto;
    opacity: 0;
    transform: translateY(24px);
    animation: riseIn 0.85s cubic-bezier(0.16, 1, 0.3, 1) 0.08s forwards;
}
@keyframes riseIn {
    to { opacity: 1; transform: none; }
}

.hero-brand {
    font-family: var(--display);
    font-weight: 700;
    font-size: clamp(3.2rem, 11vw, 6.5rem);
    line-height: 0.92;
    letter-spacing: -0.055em;
    margin-bottom: 1.1rem;
    background: linear-gradient(115deg, #fff 10%, var(--primary-light) 48%, var(--accent) 95%);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    filter: drop-shadow(0 12px 40px rgba(99, 102, 241, 0.25));
}
.hero-lead {
    font-size: clamp(1.05rem, 2.2vw, 1.28rem);
    color: var(--text-secondary);
    max-width: 36ch;
    margin-bottom: 1.85rem;
    font-weight: 500;
}
.hero-actions {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.85rem;
}

.btn-lk {
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.7rem;
    padding: 1.1rem 1.75rem;
    border-radius: 18px;
    background: linear-gradient(135deg, var(--primary) 0%, #7c3aed 55%, var(--accent) 120%);
    background-size: 160% 160%;
    color: #fff;
    font-weight: 800;
    font-size: clamp(1.02rem, 2.3vw, 1.18rem);
    border: none;
    box-shadow:
        0 0 0 1px rgba(255, 255, 255, 0.14) inset,
        0 18px 50px rgba(99, 102, 241, 0.45);
    cursor: pointer;
    transition: transform 0.22s ease, box-shadow 0.22s ease, filter 0.22s ease;
    animation: ctaShift 5s ease infinite;
    overflow: hidden;
}
.btn-lk::after {
    content: '';
    position: absolute;
    inset: -40% auto -40% -30%;
    width: 40%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.28), transparent);
    transform: skewX(-18deg);
    animation: sheen 3.6s ease-in-out infinite;
}
@keyframes ctaShift {
    0%, 100% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
}
@keyframes sheen {
    0%, 55% { left: -30%; opacity: 0; }
    60% { opacity: 1; }
    100% { left: 120%; opacity: 0; }
}
.btn-lk:hover {
    transform: translateY(-3px) scale(1.015);
    box-shadow:
        0 0 0 1px rgba(255, 255, 255, 0.18) inset,
        0 22px 60px rgba(99, 102, 241, 0.55),
        0 0 48px rgba(236, 72, 153, 0.25);
    filter: brightness(1.05);
}
.btn-lk:hover i:last-child { transform: translateX(5px); }
.btn-lk i:last-child { transition: transform 0.2s ease; position: relative; z-index: 1; }
.btn-lk > * { position: relative; z-index: 1; }

.btn-prices {
    display: inline-flex;
    align-items: center;
    gap: 0.55rem;
    padding: 1.05rem 1.35rem;
    border-radius: 18px;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.14);
    color: #e2e8f0;
    font-weight: 650;
    font-size: 0.98rem;
    cursor: pointer;
    backdrop-filter: blur(10px);
    transition: 0.2s ease;
}
.btn-prices:hover {
    border-color: rgba(129, 140, 248, 0.55);
    background: rgba(99, 102, 241, 0.12);
    transform: translateY(-2px);
}

/* Marquee under hero */
.marquee {
    position: relative;
    z-index: 1;
    margin-top: auto;
    padding: 1.25rem 0 0;
    border-top: 1px solid rgba(255, 255, 255, 0.06);
    overflow: hidden;
    mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
}
.marquee-track {
    display: flex;
    gap: 2rem;
    width: max-content;
    animation: marquee 42s linear infinite;
    color: var(--muted);
    font-family: var(--display);
    font-weight: 600;
    font-size: 0.92rem;
    letter-spacing: 0.04em;
    text-transform: uppercase;
}
.marquee-track span { white-space: nowrap; opacity: 0.75; }
.marquee-track span::after {
    content: '·';
    margin-left: 2rem;
    color: var(--primary-light);
    opacity: 0.7;
}
@keyframes marquee {
    from { transform: translateX(0); }
    to { transform: translateX(-50%); }
}

/* Sections */
.section {
    position: relative;
    z-index: 1;
    padding: clamp(3.5rem, 7vw, 5.5rem) clamp(1rem, 3.5vw, 2rem);
}
.section-inner {
    width: min(100%, var(--max));
    margin: 0 auto;
}
.section-head {
    max-width: 560px;
    margin-bottom: clamp(1.6rem, 3.5vw, 2.4rem);
}
.section-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
    font-size: 0.72rem;
    font-weight: 750;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--primary-light);
    margin-bottom: 0.7rem;
}
.section-eyebrow::before {
    content: '';
    width: 18px;
    height: 2px;
    border-radius: 2px;
    background: linear-gradient(90deg, var(--primary), var(--accent));
}
.section-title {
    font-family: var(--display);
    font-weight: 700;
    font-size: clamp(1.85rem, 4vw, 2.55rem);
    letter-spacing: -0.04em;
    line-height: 1.05;
    margin-bottom: 0.6rem;
}
.section-sub {
    color: var(--muted);
    font-size: 1.02rem;
    max-width: 42ch;
}

/* Bento catalog */
.games-showcase {
    display: grid;
    grid-template-columns: repeat(12, 1fr);
    gap: 0.75rem;
}
.game-tile {
    position: relative;
    grid-column: span 3;
    display: block;
    aspect-ratio: 16 / 11;
    overflow: hidden;
    border-radius: var(--radius-sm);
    border: 1px solid rgba(255, 255, 255, 0.08);
    background: var(--bg-elevated);
    isolation: isolate;
    opacity: 0;
    transform: translateY(16px) scale(0.985);
    transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1), border-color 0.25s, box-shadow 0.25s, opacity 0.45s ease;
}
.game-tile.is-visible {
    opacity: 1;
    transform: none;
}
.game-tile.span-6 { grid-column: span 6; aspect-ratio: 21 / 11; }
.game-tile.span-4 { grid-column: span 4; }
.game-tile img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.55s cubic-bezier(0.16, 1, 0.3, 1), filter 0.4s;
    filter: brightness(0.72) saturate(1.1);
}
.game-tile::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, transparent 28%, rgba(2, 6, 23, 0.92) 100%);
    pointer-events: none;
}
.game-tile-name {
    position: absolute;
    left: 0.95rem;
    right: 0.95rem;
    bottom: 0.85rem;
    z-index: 1;
    font-weight: 750;
    font-size: 0.95rem;
    letter-spacing: -0.02em;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.5rem;
}
.game-tile-name i {
    width: 30px;
    height: 30px;
    border-radius: 999px;
    display: grid;
    place-items: center;
    background: rgba(99, 102, 241, 0.25);
    border: 1px solid rgba(129, 140, 248, 0.35);
    font-size: 0.72rem;
    opacity: 0.85;
    transition: 0.25s ease;
}
.game-tile:hover {
    border-color: rgba(129, 140, 248, 0.45);
    box-shadow: 0 18px 50px rgba(99, 102, 241, 0.22);
    transform: translateY(-3px);
}
.game-tile:hover img {
    transform: scale(1.07);
    filter: brightness(0.88) saturate(1.15);
}
.game-tile:hover .game-tile-name i {
    background: linear-gradient(135deg, var(--primary), var(--accent));
    border-color: transparent;
    transform: translateX(2px);
}
.game-tile:focus-visible {
    outline: 2px solid var(--primary-light);
    outline-offset: 3px;
}

/* Archive entry */
.archive-entry {
    display: flex;
    justify-content: center;
    margin-top: 1.75rem;
}
.archive-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
    padding: 0.55rem 1.05rem;
    border-radius: 999px;
    border: 1px solid rgba(255, 255, 255, 0.12);
    background: rgba(255, 255, 255, 0.03);
    color: rgba(226, 232, 240, 0.78);
    font-size: 0.82rem;
    font-weight: 600;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    cursor: pointer;
    transition: color 0.2s ease, border-color 0.2s ease, background 0.2s ease, transform 0.2s ease;
}
.archive-btn i {
    font-size: 0.78rem;
    opacity: 0.85;
}
.archive-btn:hover {
    color: #fff;
    border-color: rgba(165, 180, 252, 0.45);
    background: rgba(99, 102, 241, 0.12);
    transform: translateY(-1px);
}
.archive-btn:focus-visible {
    outline: 2px solid var(--primary-light);
    outline-offset: 3px;
}

.home-modal-panel.archive-panel { max-width: 520px; }
.archive-note {
    margin: 0 0 1.1rem;
    color: var(--muted);
    font-size: 0.92rem;
    line-height: 1.45;
}
.archive-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 0.75rem;
}
.archive-tile {
    display: flex;
    flex-direction: column;
    gap: 0.55rem;
    text-decoration: none;
    color: var(--text);
    min-width: 0;
}
.archive-tile img {
    width: 100%;
    aspect-ratio: 1;
    object-fit: cover;
    border-radius: 14px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    background: rgba(15, 23, 42, 0.7);
    transition: transform 0.2s ease, border-color 0.2s ease;
}
.archive-tile span {
    font-size: 0.82rem;
    font-weight: 650;
    color: rgba(226, 232, 240, 0.88);
    text-align: center;
}
.archive-tile:hover img {
    transform: translateY(-2px);
    border-color: rgba(165, 180, 252, 0.4);
}
.archive-tile:hover span { color: #fff; }

@media (max-width: 560px) {
    .archive-grid { grid-template-columns: 1fr; }
    .archive-tile {
        flex-direction: row;
        align-items: center;
        gap: 0.85rem;
    }
    .archive-tile img {
        width: 64px;
        aspect-ratio: 1;
        flex-shrink: 0;
    }
    .archive-tile span { text-align: left; }
}

/* Why */
.why {
    border-top: 1px solid rgba(255, 255, 255, 0.06);
}
.why-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 0.85rem;
}
.why-item {
    padding: 1.35rem 1.3rem 1.45rem;
    border-radius: var(--radius);
    background: linear-gradient(160deg, rgba(99, 102, 241, 0.12), rgba(15, 23, 42, 0.55));
    border: 1px solid rgba(255, 255, 255, 0.08);
    backdrop-filter: blur(12px);
    opacity: 0;
    transform: translateY(14px);
    transition: opacity 0.5s ease, transform 0.5s ease, border-color 0.2s;
}
.why-item.is-visible { opacity: 1; transform: none; }
.why-item:hover { border-color: rgba(129, 140, 248, 0.35); }
.why-index {
    font-family: var(--display);
    font-weight: 700;
    font-size: 0.8rem;
    letter-spacing: 0.08em;
    color: var(--primary-light);
    margin-bottom: 0.75rem;
}
.why-item h3 {
    font-family: var(--display);
    font-size: 1.2rem;
    font-weight: 700;
    letter-spacing: -0.03em;
    margin-bottom: 0.45rem;
}
.why-item p {
    color: var(--muted);
    font-size: 0.95rem;
}

.trust-strip {
    margin-top: 1.75rem;
    padding: 1.25rem 1.35rem;
    border-radius: var(--radius);
    border: 1px solid rgba(255, 255, 255, 0.08);
    background: rgba(15, 23, 42, 0.55);
    display: flex;
    flex-wrap: wrap;
    gap: 1.5rem 2.75rem;
}
.trust-item strong {
    display: block;
    font-family: var(--display);
    font-size: 1.7rem;
    font-weight: 700;
    letter-spacing: -0.04em;
    background: linear-gradient(135deg, #fff, var(--primary-light));
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    margin-bottom: 0.1rem;
}
.trust-item span { color: var(--muted); font-size: 0.88rem; }

/* Help */
.help { border-top: 1px solid rgba(255, 255, 255, 0.06); }
.help-row {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
}
.help-link {
    display: inline-flex;
    align-items: center;
    gap: 0.65rem;
    padding: 0.95rem 1.3rem;
    border-radius: var(--radius-sm);
    border: 1px solid rgba(255, 255, 255, 0.1);
    background: rgba(255, 255, 255, 0.03);
    color: var(--text);
    font-weight: 650;
    font-size: 0.95rem;
    cursor: pointer;
    transition: 0.2s ease;
}
.help-link:hover {
    border-color: rgba(129, 140, 248, 0.45);
    background: rgba(99, 102, 241, 0.12);
    transform: translateY(-2px);
}
.help-link i {
    color: var(--primary-light);
}

.home-footer {
    position: relative;
    z-index: 1;
    padding: 1.75rem clamp(1rem, 3.5vw, 2rem) 2.25rem;
    border-top: 1px solid rgba(255, 255, 255, 0.06);
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    color: var(--muted);
    font-size: 0.88rem;
}
.home-footer a {
    color: var(--primary-light);
    font-weight: 650;
}
.home-footer a:hover { color: #fff; }

/* Modals */
.home-modal {
    position: fixed;
    inset: 0;
    z-index: 10000;
    display: none;
    align-items: center;
    justify-content: center;
    padding: 1.25rem;
    background: rgba(2, 6, 23, 0.78);
    backdrop-filter: blur(12px);
}
.home-modal.active { display: flex; }
.home-modal-panel {
    width: 100%;
    max-width: 1100px;
    max-height: 90vh;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    background: linear-gradient(165deg, #121a2f 0%, #0b1224 100%);
    border: 1px solid rgba(99, 102, 241, 0.28);
    border-radius: var(--radius);
    box-shadow: var(--shadow), 0 0 80px rgba(99, 102, 241, 0.12);
    animation: modalIn 0.28s ease;
}
.home-modal-panel.lang-panel { max-width: 380px; }
@keyframes modalIn {
    from { opacity: 0; transform: translateY(14px) scale(0.98); }
    to { opacity: 1; transform: none; }
}
.home-modal-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    padding: 1.2rem 1.4rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    background: linear-gradient(135deg, rgba(99, 102, 241, 0.16), rgba(236, 72, 153, 0.08));
}
.home-modal-header h2 {
    font-family: var(--display);
    font-size: 1.15rem;
    font-weight: 700;
    display: flex;
    align-items: center;
    gap: 0.55rem;
}
.home-modal-close {
    width: 40px;
    height: 40px;
    border: none;
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.08);
    color: #fff;
    cursor: pointer;
    display: grid;
    place-items: center;
    transition: 0.2s ease;
}
.home-modal-close:hover {
    background: rgba(255, 255, 255, 0.16);
    transform: rotate(90deg);
}
.home-modal-body {
    padding: 1.4rem;
    overflow-y: auto;
    flex: 1;
}
.pricing-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 0.9rem;
}
.pricing-card {
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: var(--radius-sm);
    overflow: hidden;
    background: rgba(255, 255, 255, 0.03);
    transition: 0.2s ease;
}
.pricing-card:hover {
    border-color: rgba(129, 140, 248, 0.4);
    transform: translateY(-2px);
}
.pricing-card-image {
    height: 140px;
    background: #070b16;
    overflow: hidden;
}
.pricing-card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.pricing-card-content { padding: 1rem 1.05rem 1.1rem; }
.pricing-card-title {
    font-family: var(--display);
    font-size: 1.02rem;
    font-weight: 700;
    text-align: center;
    margin-bottom: 0.8rem;
}
.pricing-list { display: flex; flex-direction: column; gap: 0.4rem; }
.pricing-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.55rem 0.7rem;
    border-radius: 10px;
    background: rgba(99, 102, 241, 0.1);
    border: 1px solid rgba(99, 102, 241, 0.18);
    font-size: 0.9rem;
}
.pricing-days { color: rgba(255, 255, 255, 0.75); }
.pricing-price { font-weight: 750; color: #a5b4fc; }
.pricing-empty {
    text-align: center;
    padding: 2.5rem 1rem;
    color: var(--muted);
}
.pricing-empty.error { color: #f87171; }

.lang-option {
    display: flex;
    align-items: center;
    gap: 0.85rem;
    width: 100%;
    padding: 0.9rem 1rem;
    margin-bottom: 0.5rem;
    border-radius: var(--radius-sm);
    border: 1px solid transparent;
    background: rgba(255, 255, 255, 0.04);
    color: #fff;
    cursor: pointer;
    text-align: left;
    transition: 0.2s ease;
}
.lang-option:last-child { margin-bottom: 0; }
.lang-option:hover {
    background: rgba(99, 102, 241, 0.12);
    border-color: rgba(99, 102, 241, 0.3);
}
.lang-option .code {
    margin-left: auto;
    color: var(--muted);
    font-size: 0.8rem;
    font-weight: 700;
}
.lang-option .check { color: var(--success); opacity: 0; }
.lang-option.active .check { opacity: 1; }

@media (max-width: 980px) {
    .game-tile,
    .game-tile.span-4 { grid-column: span 6; }
    .game-tile.span-6 { grid-column: span 12; aspect-ratio: 2 / 1; }
    .why-grid { grid-template-columns: 1fr; }
}
@media (max-width: 768px) {
    .header-cta .label { display: none; }
    .hero { padding-bottom: 1.5rem; }
    .games-showcase { gap: 0.55rem; }
    .game-tile,
    .game-tile.span-4,
    .game-tile.span-6 {
        grid-column: span 6;
        aspect-ratio: 4 / 3;
    }
    .btn-lk,
    .btn-prices { width: 100%; justify-content: center; }
    .hero-actions { width: 100%; }
    .pricing-grid { grid-template-columns: 1fr; }
}
@media (max-width: 420px) {
    .home-brand span { display: none; }
    .lang-btn { padding: 0.3rem 0.42rem; font-size: 0.64rem; }
}
@media (prefers-reduced-motion: reduce) {
    .home-ambient::before,
    .home-ambient::after,
    .home-ambient .blob-3,
    .hero-media-img,
    .btn-lk,
    .btn-lk::after,
    .marquee-track,
    .hero-content { animation: none !important; }
    .hero-content,
    .game-tile,
    .why-item { opacity: 1; transform: none; }
}
