:root {
    --bg: #0b1014;
    --surface: #121a20;
    --surface-2: #1a242c;
    --text: #eef4f8;
    --muted: #b8c6d0;
    --line: rgba(255, 255, 255, 0.08);
    --accent: #f4bc2f;
    --brand: #ef4f2f;
    --brand-dark: #b9361c;
    --success: #2bb673;
    --radius: 24px;
    --shadow: 0 18px 48px rgba(0, 0, 0, 0.25);
}

* {
    box-sizing: border-box;
}

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

body {
    margin: 0;
    font-family: "Segoe UI", system-ui, sans-serif;
    background:
        radial-gradient(circle at top right, rgba(244, 188, 47, 0.12), transparent 28%),
        radial-gradient(circle at left top, rgba(239, 79, 47, 0.12), transparent 24%),
        var(--bg);
    color: var(--text);
    line-height: 1.75;
}

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

a {
    color: var(--accent);
    text-decoration: none;
}

a:hover {
    text-decoration: underline;
}

.container {
    width: min(1180px, calc(100% - 32px));
    margin: 0 auto;
}

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

.topbar {
    display: grid;
    grid-template-columns: auto 1fr auto;
    align-items: center;
    gap: 20px;
    padding: 18px 0;
}

.brand {
    font-size: 32px;
    font-weight: 900;
    color: var(--accent);
    letter-spacing: 0.04em;
}

.brand span {
    color: var(--brand);
}

.nav-links {
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
    justify-content: center;
}

.nav-links a {
    color: var(--text);
    opacity: 0.92;
}

.lang-pill {
    padding: 6px 12px;
    border-radius: 999px;
    background: rgba(244, 188, 47, 0.14);
}

.hero {
    padding: 72px 0 40px;
}

.hero-grid {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    gap: 34px;
    align-items: center;
}

.hero-visual img,
.banner-link img,
.author-photo,
.card,
.review-card,
.mini-card,
.notice-card,
.author-inline,
.table-wrap,
.redirect-card,
.game-card,
.stat-card {
    border-radius: var(--radius);
}

.hero-visual img,
.banner-link img,
.game-card img {
    box-shadow: var(--shadow);
}

.eyebrow {
    color: var(--accent);
    font-size: 0.95rem;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    margin-bottom: 12px;
}

h1, h2, h3 {
    line-height: 1.15;
    margin: 0 0 18px;
}

h1 {
    font-size: clamp(2.2rem, 4.8vw, 4.4rem);
}

h2 {
    font-size: clamp(1.8rem, 3vw, 2.7rem);
}

h3 {
    font-size: 1.3rem;
}

p, li {
    color: var(--muted);
}

.hero-copy,
.section-lead {
    font-size: 1.1rem;
}

.button-row {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
    margin: 28px 0 22px;
}

.button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 15px 24px;
    border-radius: 999px;
    font-weight: 800;
    text-decoration: none;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.button:hover {
    transform: translateY(-2px);
    text-decoration: none;
}

.button-primary {
    color: #fff;
    background: linear-gradient(135deg, var(--brand), #ff6d35);
    box-shadow: 0 16px 36px rgba(239, 79, 47, 0.25);
}

.button-secondary {
    color: #0c1014;
    background: linear-gradient(135deg, #f4bc2f, #ffde76);
}

.button-ghost {
    color: var(--text);
    border: 1px solid rgba(255, 255, 255, 0.16);
}

.fact-list,
.check-list,
.steps-list {
    padding-left: 20px;
}

.fact-list li,
.check-list li,
.steps-list li {
    margin-bottom: 8px;
}

section {
    padding: 56px 0;
    content-visibility: auto;
    contain-intrinsic-size: 1px 900px;
}

.section-tight {
    padding-top: 0;
}

.section-surface {
    background: rgba(255, 255, 255, 0.03);
    border-top: 1px solid var(--line);
    border-bottom: 1px solid var(--line);
}

.notice-card,
.author-inline,
.card,
.review-card,
.mini-card,
.redirect-card,
.stat-card,
.promo-box,
.faq-list details,
.cta-panel {
    background: linear-gradient(180deg, rgba(26, 36, 44, 0.96), rgba(18, 26, 32, 0.96));
    border: 1px solid var(--line);
    box-shadow: var(--shadow);
}

.notice-card,
.review-card,
.mini-card,
.card,
.stat-card,
.promo-box,
.cta-panel {
    padding: 22px;
}

.notice-card {
    padding: 18px 22px;
}

.author-inline {
    display: grid;
    grid-template-columns: 112px 1fr;
    gap: 22px;
    padding: 24px;
}

.author-inline img {
    border-radius: 20px;
}

.author-inline-title {
    margin-bottom: 10px;
}

.banner-grid,
.review-grid,
.link-grid,
.columns-2,
.stats-grid,
.games-grid,
.page-grid {
    display: grid;
    gap: 24px;
}

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

.review-grid {
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
}

.link-grid,
.columns-2,
.stats-grid {
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
}

.games-grid {
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
}

.review-card strong,
.mini-card strong,
.stat-card strong {
    display: block;
    margin-bottom: 10px;
    color: var(--text);
}

.review-card span,
.mini-card span {
    color: #93a7b6;
    font-size: 0.94rem;
}

.game-card {
    overflow: hidden;
    border: 1px solid var(--line);
    background: rgba(18, 26, 32, 0.92);
}

.game-card img {
    width: 100%;
    aspect-ratio: 1 / 1;
    object-fit: cover;
}

.game-card div {
    padding: 14px 16px 18px;
}

.promo-box {
    display: grid;
    gap: 16px;
    margin: 24px 0;
}

.promo-code-row {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    align-items: center;
}

.promo-code-value {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 220px;
    padding: 14px 18px;
    border-radius: 16px;
    border: 1px dashed rgba(244, 188, 47, 0.55);
    background: rgba(244, 188, 47, 0.08);
    color: var(--text);
    font-weight: 900;
    letter-spacing: 0.08em;
}

.copy-button {
    border: 1px solid rgba(244, 188, 47, 0.55);
    cursor: pointer;
    background: #14181d;
    color: #ffffff !important;
    -webkit-text-fill-color: #ffffff;
    box-shadow: none;
    min-width: 156px;
    font-weight: 900;
    opacity: 1;
}

.copy-button:hover,
.copy-button:focus-visible,
.copy-button:active {
    color: #ffffff !important;
    -webkit-text-fill-color: #ffffff;
    background: #222831;
}

.copy-button:disabled {
    color: #ffffff !important;
    -webkit-text-fill-color: #ffffff;
    background: #14181d;
    opacity: 1;
}

.cta-panel {
    margin: 28px 0;
}

.cta-panel p:last-child,
.promo-box p:last-child {
    margin-bottom: 0;
}

.faq-list {
    display: grid;
    gap: 16px;
}

.faq-list details {
    padding: 18px 20px;
    border-radius: 20px;
}

.faq-list summary {
    cursor: pointer;
    font-weight: 700;
    color: var(--text);
}

.faq-list details p {
    margin: 12px 0 0;
}

.table-wrap {
    overflow-x: auto;
    border: 1px solid var(--line);
    background: rgba(18, 26, 32, 0.92);
}

table {
    width: 100%;
    border-collapse: collapse;
    min-width: 720px;
}

th, td {
    padding: 16px;
    border-bottom: 1px solid var(--line);
    text-align: left;
    vertical-align: top;
}

th {
    color: var(--text);
    background: rgba(244, 188, 47, 0.08);
}

.site-footer {
    padding: 44px 0 26px;
    border-top: 1px solid var(--line);
    background: rgba(0, 0, 0, 0.18);
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.2fr 1fr 1fr;
    gap: 24px;
}

.footer-grid a,
.footer-grid strong {
    display: block;
    margin-bottom: 10px;
}

.legal-strip {
    margin-top: 18px;
    padding-top: 14px;
    border-top: 1px solid var(--line);
}

.breadcrumb {
    margin-bottom: 20px;
    font-size: 0.95rem;
}

.page-hero {
    padding-top: 52px;
}

.page-intro {
    max-width: 920px;
}

.author-layout {
    display: grid;
    grid-template-columns: 280px 1fr;
    gap: 26px;
    align-items: start;
}

.author-photo {
    width: 100%;
    height: auto;
}

.redirect-body {
    min-height: 100vh;
    display: grid;
    place-items: center;
}

.redirect-card {
    width: min(720px, calc(100% - 32px));
    padding: 34px;
    text-align: center;
}

.muted-small {
    font-size: 0.95rem;
}

@media (max-width: 980px) {
    .topbar,
    .hero-grid,
    .author-layout,
    .footer-grid,
    .banner-grid,
    .page-grid {
        grid-template-columns: 1fr;
    }

    .topbar {
        justify-items: start;
    }

    .nav-links {
        justify-content: start;
    }
}

@media (max-width: 640px) {
    .author-inline {
        grid-template-columns: 1fr;
    }

    .container {
        width: min(100% - 24px, 1180px);
    }

    section {
        padding: 44px 0;
    }

    .promo-code-row {
        flex-direction: column;
        align-items: stretch;
    }

    .promo-code-value,
    .copy-button {
        width: 100%;
        min-width: 0;
    }
}
