.page-hero {
    position: relative;
    overflow: hidden;
    padding: 62px 0;
    background: radial-gradient(circle at 82% 20%, #e4efff 0, transparent 32%), linear-gradient(180deg, #fff, #f5f9ff);
    border-bottom: 1px solid var(--line);
}
.page-hero::after { content: ""; position: absolute; right: -140px; bottom: -260px; width: 500px; height: 500px; border: 1px solid #d9e7fb; border-radius: 50%; box-shadow: 0 0 0 60px rgba(218,231,251,.35); }
.page-hero-grid { position: relative; z-index: 1; display: grid; gap: 28px; align-items: center; }
.page-hero h1 { margin-bottom: 16px; font-size: clamp(43px, 8vw, 70px); line-height: 1; letter-spacing: -.055em; }
.page-hero p { max-width: 680px; margin: 0; color: var(--ink-soft); font-size: 17px; }
.hero-stat-card { width: 100%; max-width: 250px; display: grid; padding: 23px; background: #fff; border: 1px solid #dbe6f5; border-radius: 22px; box-shadow: var(--shadow-sm); }
.hero-stat-card strong { color: var(--blue); font-size: 45px; line-height: 1; letter-spacing: -.05em; }
.hero-stat-card span { margin-top: 7px; font-weight: 850; }
.hero-stat-card small { margin-top: 13px; padding-top: 12px; color: var(--muted); border-top: 1px solid var(--line); }
.directory-controls-section { position: relative; z-index: 4; margin-top: -1px; padding: 19px 0; background: #fff; border-bottom: 1px solid var(--line); box-shadow: 0 7px 25px rgba(18,45,83,.04); }
.directory-controls { display: grid; gap: 10px; }
.directory-controls label, .directory-controls select, .directory-controls input { width: 100%; }
.directory-controls select, .directory-controls input { min-height: 50px; padding: 0 14px; color: var(--ink); background: var(--sky); border: 1px solid var(--line); border-radius: 13px; outline: 0; }
.directory-controls select:focus, .directory-controls input:focus { border-color: #8eb4fb; box-shadow: 0 0 0 3px #e7f0ff; }
.search-field { position: relative; display: flex; align-items: center; }
.search-field > span[aria-hidden] { position: absolute; left: 14px; z-index: 1; color: var(--blue); font-size: 21px; transform: rotate(-16deg); }
.search-field input { padding-left: 43px; }
.clear-filter { display: inline-flex; min-height: 44px; align-items: center; justify-content: center; color: var(--red); font-size: 13px; font-weight: 800; }
.games-directory-section { background: var(--sky); }
.results-line { display: flex; align-items: center; justify-content: space-between; gap: 18px; margin-bottom: 23px; }
.results-line h2 { margin: 0; font-size: 19px; }
.results-line span { color: var(--muted); font-size: 12px; }
.directory-grid { display: grid; gap: 13px; }
.compact-empty { max-width: 700px; margin-inline: auto; }
.compact-empty h2 { font-size: 32px; }
.directory-help { color: #fff; background: linear-gradient(135deg, #0d2147, #123b7a); }
.directory-help-grid { display: flex; min-height: 260px; flex-direction: column; align-items: flex-start; justify-content: center; gap: 24px; padding-top: 45px; padding-bottom: 45px; }
.directory-help h2 { margin-bottom: 10px; color: #fff; font-size: clamp(30px, 6vw, 46px); line-height: 1.1; letter-spacing: -.04em; }
.directory-help p { max-width: 650px; margin: 0; color: #b9c7da; }

.game-profile-hero { padding: 26px 0 52px; background: radial-gradient(circle at 82% 20%, #e8f1ff 0, transparent 34%), linear-gradient(180deg, #fff, #f5f9ff); }
.breadcrumb { display: flex; flex-wrap: wrap; align-items: center; gap: 7px; margin-bottom: 36px; color: var(--muted); font-size: 12px; }
.breadcrumb a:hover { color: var(--blue); }
.game-hero-grid { display: grid; gap: 30px; }
.game-identity { display: grid; gap: 21px; }
.game-hero-icon { display: grid; width: 116px; height: 116px; flex: 0 0 116px; align-content: center; justify-items: center; object-fit: cover; border: 5px solid #fff; border-radius: 29px; box-shadow: 0 20px 42px rgba(11,38,79,.2); }
.game-hero-icon.app-icon-generated small { font-size: 12px; }.game-hero-icon.app-icon-generated strong { font-size: 38px; }
.profile-badges { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 12px; }
.legal-badge { display: inline-flex; align-items: center; padding: 6px 9px; color: #7d5c13; background: #fff6de; border: 1px solid #f0daa2; border-radius: 999px; font-size: 10px; font-weight: 850; }
.game-title-copy h1 { margin-bottom: 12px; font-size: clamp(42px, 8vw, 68px); line-height: 1; letter-spacing: -.055em; }
.game-title-copy > p { max-width: 670px; margin-bottom: 22px; color: var(--ink-soft); font-size: 16px; }
.game-hero-actions { display: flex; flex-wrap: wrap; gap: 10px; }
.source-summary-card { align-self: stretch; padding: 24px; background: #fff; border: 1px solid #dce6f3; border-radius: 23px; box-shadow: var(--shadow-sm); }
.source-summary-card h2 { margin-bottom: 8px; font-size: 27px; letter-spacing: -.035em; }
.source-summary-card > p { color: var(--ink-soft); font-size: 13px; }
.source-summary-card dl, .sidebar-card dl { margin: 18px 0 0; }
.source-summary-card dl div, .sidebar-card dl div { display: flex; align-items: center; justify-content: space-between; gap: 15px; padding: 10px 0; border-top: 1px solid var(--line); }
.source-summary-card dt, .sidebar-card dt { color: var(--muted); font-size: 11px; }.source-summary-card dd, .sidebar-card dd { margin: 0; text-align: right; font-size: 12px; font-weight: 800; }
.game-legal-strip { color: #5a4719; background: #fff9e9; border-top: 1px solid #f2dfad; border-bottom: 1px solid #f2dfad; }
.game-legal-strip .container { display: grid; grid-template-columns: auto 1fr; gap: 12px; align-items: center; padding-top: 16px; padding-bottom: 16px; }
.game-legal-strip span { display: grid; width: 32px; height: 32px; place-items: center; color: #fff; background: #d99b15; border-radius: 10px; font-weight: 900; }
.game-legal-strip p { margin: 0; font-size: 12px; line-height: 1.55; }.game-legal-strip a { grid-column: 2; color: #8b6100; font-size: 12px; font-weight: 850; }
.game-facts-section { padding: 22px 0; background: #fff; border-bottom: 1px solid var(--line); }
.game-facts-grid { display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); gap: 10px; }
.game-facts-grid > div { min-width: 0; padding: 14px; background: var(--sky); border: 1px solid var(--line); border-radius: 14px; }
.game-facts-grid span { display: block; color: var(--muted); font-size: 10px; font-weight: 750; text-transform: uppercase; letter-spacing: .05em; }
.game-facts-grid strong { display: block; overflow: hidden; margin-top: 3px; font-size: 12px; text-overflow: ellipsis; white-space: nowrap; }
.game-content-section { background: #fff; }
.game-content-layout { display: grid; gap: 35px; }
.game-article { min-width: 0; }
.content-block { margin-bottom: 65px; scroll-margin-top: 110px; }
.content-block h2, .clone-warning h2 { margin-bottom: 15px; font-size: clamp(29px, 5vw, 41px); line-height: 1.12; letter-spacing: -.04em; }
.prose { color: var(--ink-soft); }
.prose h2 { margin: 30px 0 9px; color: var(--ink); font-size: 21px; letter-spacing: -.025em; }
.prose p { margin-bottom: 17px; }
.source-table { overflow: hidden; margin-top: 23px; border: 1px solid var(--line); border-radius: 17px; }
.source-table > div { display: grid; gap: 4px; padding: 15px 17px; border-bottom: 1px solid var(--line); }
.source-table > div:last-child { border-bottom: 0; }
.source-table span { color: var(--muted); font-size: 11px; }.source-table strong { overflow-wrap: anywhere; font-size: 13px; }
.external-source-link { display: flex; min-height: 52px; align-items: center; justify-content: space-between; gap: 15px; margin-top: 15px; padding: 0 17px; color: var(--blue); background: var(--blue-soft); border: 1px solid #caddfb; border-radius: 14px; font-size: 13px; font-weight: 850; }
.source-unavailable { display: grid; grid-template-columns: 38px 1fr; gap: 12px; margin-top: 15px; padding: 16px; color: #69541b; background: var(--amber-soft); border: 1px solid #f0d99a; border-radius: 15px; }
.source-unavailable > span { display: grid; width: 36px; height: 36px; place-items: center; color: #fff; background: #d49818; border-radius: 11px; font-weight: 900; }.source-unavailable p { margin: 0; font-size: 12px; }.source-unavailable strong { display: block; color: #523e0b; }
.review-step-grid { display: grid; gap: 11px; margin-top: 23px; }
.review-step-grid > div { padding: 18px; background: var(--sky); border: 1px solid var(--line); border-radius: 16px; }
.review-step-grid span { display: block; margin-bottom: 13px; color: var(--blue); font-size: 11px; font-weight: 900; }.review-step-grid strong { display: block; margin-bottom: 5px; }.review-step-grid p { margin: 0; color: var(--ink-soft); font-size: 12px; }
.safety-content-card { padding: 24px; background: linear-gradient(145deg, #f6faff, #eaf2ff); border: 1px solid #d7e5fb; border-radius: 23px; }
.safety-content-card ol { display: grid; gap: 13px; margin: 22px 0 0; padding: 0; list-style: none; }.safety-content-card li { display: grid; grid-template-columns: 32px 1fr; gap: 11px; }.safety-content-card li > span { display: grid; width: 30px; height: 30px; place-items: center; color: #fff; background: var(--blue); border-radius: 9px; font-size: 11px; font-weight: 900; }.safety-content-card li p { margin: 0; color: var(--ink-soft); font-size: 13px; }.safety-content-card li strong { color: var(--ink); }
.clone-warning { display: grid; grid-template-columns: 45px 1fr; gap: 16px; margin-bottom: 65px; padding: 22px; color: #6d2c2c; background: var(--red-soft); border: 1px solid #efc5c5; border-radius: 21px; }.clone-warning > span { display: grid; width: 43px; height: 43px; place-items: center; color: #fff; background: var(--red); border-radius: 13px; font-weight: 900; }.clone-warning h2 { margin-bottom: 7px; color: #5e2424; font-size: 22px; }.clone-warning p { margin: 0; font-size: 13px; }
.legal-panel { padding: 24px; color: #fff; background: var(--navy); border-radius: 23px; }.legal-panel .eyebrow { color: #91bbff; }.legal-panel h2 { color: #fff; }.legal-panel p { color: #b8c5d8; }.legal-panel .text-link { color: #9dc2ff; }
.game-sidebar { display: grid; gap: 14px; align-content: start; }.sidebar-card { padding: 23px; background: #fff; border: 1px solid var(--line); border-radius: 21px; box-shadow: var(--shadow-sm); }.sidebar-card h2 { margin-bottom: 8px; font-size: 24px; }.sidebar-card .button { width: 100%; margin-top: 19px; }.sidebar-note { padding: 18px; color: #4e5d70; background: var(--sky); border: 1px solid var(--line); border-radius: 17px; font-size: 12px; }.sidebar-note strong { color: var(--ink); }.sidebar-note p { margin: 4px 0 0; }
.related-section { background: var(--sky); }

.articles-list { display: grid; gap: 13px; }.article-row { background: #fff; border: 1px solid var(--line); border-radius: 19px; box-shadow: var(--shadow-sm); }.article-row a { display: grid; grid-template-columns: 45px 1fr auto; gap: 14px; align-items: center; min-height: 150px; padding: 20px; }.article-number { display: grid; width: 43px; height: 43px; place-items: center; color: var(--blue); background: var(--blue-soft); border-radius: 13px; font-size: 11px; font-weight: 900; }.article-row small { color: var(--blue); font-size: 9px; font-weight: 850; letter-spacing: .07em; }.article-row strong { display: block; margin: 5px 0; font-size: 17px; line-height: 1.3; }.article-row p { display: none; margin: 0; color: var(--ink-soft); font-size: 13px; }.article-row > a > i { color: var(--blue); font-style: normal; font-weight: 900; }
.article-hero { padding: 44px 0 58px; color: #fff; background: radial-gradient(circle at 80% 10%, #1f57a7, transparent 35%), var(--navy); }.breadcrumb-light { color: #91a2bc; }.article-hero h1 { margin-bottom: 18px; color: #fff; font-size: clamp(40px, 8vw, 66px); line-height: 1.04; letter-spacing: -.05em; }.article-hero > .container > p { max-width: 700px; margin: 0; color: #b9c6d9; font-size: 17px; }
.article-body { padding-top: 55px; padding-bottom: 80px; }.article-note { display: grid; grid-template-columns: 38px 1fr; gap: 13px; margin-bottom: 35px; padding: 17px; color: #435878; background: var(--blue-soft); border: 1px solid #cdddf8; border-radius: 16px; }.article-note > span { display: grid; width: 36px; height: 36px; place-items: center; color: #fff; background: var(--blue); border-radius: 11px; font-weight: 900; }.article-note p { margin: 0; font-size: 12px; }.article-note strong { display: block; color: var(--ink); }.prose-large h2 { margin-top: 42px; font-size: 28px; }.prose-large p { font-size: 16px; line-height: 1.85; }.article-end-card { margin-top: 55px; padding: 27px; background: var(--sky); border: 1px solid var(--line); border-radius: 22px; }.article-end-card h2 { margin-bottom: 9px; font-size: 28px; letter-spacing: -.035em; }.article-end-card p { color: var(--ink-soft); }.page-copy-hero { padding-top: 68px; }.page-copy-hero .eyebrow { margin-bottom: 20px; }

@media (min-width: 700px) {
    .page-hero-grid { grid-template-columns: 1fr auto; }
    .directory-controls { grid-template-columns: minmax(220px, 1fr) 190px 190px auto auto; align-items: center; }
    .directory-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .game-identity { grid-template-columns: 126px 1fr; align-items: center; }
    .game-hero-icon { width: 126px; height: 126px; }
    .game-facts-grid { grid-template-columns: repeat(4, minmax(0,1fr)); }
    .source-table > div { grid-template-columns: 190px 1fr; align-items: center; }
    .review-step-grid { grid-template-columns: repeat(2, 1fr); }
    .article-row p { display: block; }.article-row strong { font-size: 20px; }
}
@media (min-width: 960px) {
    .page-hero { padding: 86px 0; }
    .directory-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
    .directory-grid .game-card-main { min-height: 250px; grid-template-columns: 1fr; align-content: start; }.directory-grid .card-arrow { position: absolute; right: 18px; bottom: 18px; }.directory-grid .game-card { position: relative; }
    .directory-help-grid { min-height: 300px; flex-direction: row; align-items: center; justify-content: space-between; }
    .game-hero-grid { grid-template-columns: minmax(0,1fr) 340px; align-items: center; }
    .game-profile-hero { padding: 34px 0 70px; }.game-identity { gap: 29px; }.game-hero-icon { width: 142px; height: 142px; flex-basis: 142px; }.game-identity { grid-template-columns: 142px 1fr; }
    .game-legal-strip .container { grid-template-columns: auto 1fr auto; }.game-legal-strip a { grid-column: auto; white-space: nowrap; }
    .game-content-layout { grid-template-columns: minmax(0,1fr) 300px; gap: 75px; }.game-sidebar { position: sticky; top: 104px; }
    .article-body { padding-top: 80px; padding-bottom: 110px; }.article-end-card { padding: 36px; }
}

/* CMS, pagination and accessibility refinements */
.game-cover { margin: 0 0 32px; overflow: hidden; background: var(--blue-soft); border: 1px solid var(--line); border-radius: 24px; box-shadow: var(--shadow-sm); }
.game-cover img { display: block; width: 100%; height: clamp(210px, 36vw, 420px); object-fit: cover; }
.pagination { display: flex; align-items: center; justify-content: center; gap: 12px; margin-top: 30px; }
.pagination a, .pagination span { display: inline-flex; min-height: 44px; align-items: center; padding: 0 14px; background: #fff; border: 1px solid var(--line); border-radius: 11px; font-size: 12px; font-weight: 800; }
.pagination a { color: var(--blue); }
.page-faq-block { margin-top: 55px; margin-bottom: 10px; }
.game-facts-grid span, .source-summary-card dt, .sidebar-card dt, .source-table span, .article-row small { color: #5b687b; font-size: 11px; }
@media (max-width: 520px) { .pagination { justify-content: space-between; } .pagination span { display: none; } }
