:root {
    --games-ink: #171a35;
    --games-ink-soft: #30375f;
    --games-muted: #66708d;
    --games-paper: #fffdf7;
    --games-paper-deep: #f5f1e7;
    --games-line: #d9d8e5;
    --games-cyan: #35c9d0;
    --games-cyan-dark: #087d88;
    --games-coral: #f15f69;
    --games-yellow: #f6c54b;
    --games-purple: #635bca;
    --games-shadow: 0 24px 70px rgba(23, 26, 53, 0.16);
}

* {
    box-sizing: border-box;
}

.games-hub-page {
    margin: 0;
    color: var(--games-ink);
    background:
        radial-gradient(circle at 12% 5%, rgba(53, 201, 208, 0.22), transparent 28rem),
        radial-gradient(circle at 88% 14%, rgba(241, 95, 105, 0.2), transparent 25rem),
        linear-gradient(180deg, #15182f 0 84rem, #f4f0e7 84rem 100%);
    font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    overflow-x: clip;
}

.games-hub-page [hidden] {
    display: none !important;
}

.games-container {
    width: min(1200px, calc(100% - 48px));
    margin-inline: auto;
}

.games-header {
    position: relative;
    z-index: 50;
    padding: 1rem 0 0;
}

.games-header-shell {
    position: relative;
    display: flex;
    min-height: 68px;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    padding: 0.7rem 0.85rem;
    border: 1px solid rgba(255, 255, 255, 0.18);
    border-radius: 18px;
    background: rgba(18, 21, 45, 0.9);
    box-shadow: 0 18px 46px rgba(4, 7, 23, 0.28);
    backdrop-filter: blur(18px);
}

.games-logo {
    display: inline-flex;
    min-width: 0;
    align-items: center;
    gap: 0.65rem;
    color: #fff;
    font-size: 1.15rem;
    font-weight: 900;
    letter-spacing: -0.035em;
    text-decoration: none;
}

.games-logo span:last-child {
    color: var(--games-cyan);
}

.games-brand-mark {
    position: relative;
    width: 38px;
    height: 38px;
    flex: 0 0 38px;
    border: 3px solid #fff;
    border-radius: 12px;
    background:
        linear-gradient(90deg, transparent 45%, rgba(255, 255, 255, 0.88) 45% 55%, transparent 55%),
        linear-gradient(180deg, var(--games-coral) 0 44%, #fff 44% 56%, var(--games-cyan) 56% 100%);
    box-shadow: 0 8px 22px rgba(53, 201, 208, 0.26);
    transform: rotate(-4deg);
}

.games-brand-mark::after {
    content: "";
    position: absolute;
    left: 50%;
    top: 50%;
    width: 10px;
    height: 10px;
    border: 3px solid var(--games-ink);
    border-radius: 50%;
    background: #fff;
    transform: translate(-50%, -50%);
}

.games-desktop-nav {
    display: flex;
    align-items: center;
    gap: 0.3rem;
}

.games-desktop-nav > a,
.games-nav-group > button {
    display: inline-flex;
    min-height: 42px;
    align-items: center;
    justify-content: center;
    padding: 0.58rem 0.82rem;
    border: 0;
    border-radius: 10px;
    color: rgba(255, 255, 255, 0.76);
    background: transparent;
    font: inherit;
    font-size: 0.9rem;
    font-weight: 800;
    text-decoration: none;
    cursor: pointer;
}

.games-desktop-nav > a:hover,
.games-desktop-nav > a:focus-visible,
.games-nav-group:hover > button,
.games-nav-group:focus-within > button,
.games-desktop-nav > a[aria-current="page"] {
    color: #fff;
    background: rgba(255, 255, 255, 0.1);
}

.games-desktop-nav > a[aria-current="page"] {
    box-shadow: inset 0 -3px 0 var(--games-cyan);
}

.games-nav-group {
    position: relative;
}

.games-nav-group > button::after {
    content: "▾";
    margin-left: 0.4rem;
    font-size: 0.68rem;
}

.games-nav-menu {
    position: absolute;
    top: calc(100% + 0.45rem);
    right: 0;
    display: grid;
    min-width: 240px;
    padding: 0.45rem;
    border: 1px solid rgba(255, 255, 255, 0.16);
    border-radius: 15px;
    background: #202545;
    box-shadow: 0 24px 54px rgba(4, 7, 23, 0.35);
    opacity: 0;
    visibility: hidden;
    transform: translateY(8px);
    transition: opacity 150ms ease, transform 150ms ease, visibility 150ms ease;
}

.games-nav-group:hover .games-nav-menu,
.games-nav-group:focus-within .games-nav-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.games-nav-menu a {
    padding: 0.7rem 0.75rem;
    border-radius: 10px;
    color: rgba(255, 255, 255, 0.8);
    font-size: 0.88rem;
    font-weight: 750;
    text-decoration: none;
}

.games-nav-menu a:hover,
.games-nav-menu a:focus-visible {
    color: #fff;
    background: rgba(53, 201, 208, 0.13);
}

.games-menu-toggle {
    display: none;
    width: 48px;
    height: 48px;
    flex: 0 0 48px;
    align-items: center;
    justify-content: center;
    border: 1px solid rgba(255, 255, 255, 0.22);
    border-radius: 12px;
    color: #fff;
    background: rgba(255, 255, 255, 0.09);
    cursor: pointer;
}

.games-menu-icon,
.games-menu-icon::before,
.games-menu-icon::after {
    display: block;
    width: 21px;
    height: 2px;
    border-radius: 2px;
    background: currentColor;
    transition: transform 160ms ease, opacity 160ms ease;
}

.games-menu-icon {
    position: relative;
}

.games-menu-icon::before,
.games-menu-icon::after {
    content: "";
    position: absolute;
    left: 0;
}

.games-menu-icon::before {
    top: -7px;
}

.games-menu-icon::after {
    top: 7px;
}

.games-menu-toggle[aria-expanded="true"] .games-menu-icon {
    background: transparent;
}

.games-menu-toggle[aria-expanded="true"] .games-menu-icon::before {
    top: 0;
    transform: rotate(45deg);
}

.games-menu-toggle[aria-expanded="true"] .games-menu-icon::after {
    top: 0;
    transform: rotate(-45deg);
}

.games-mobile-nav {
    position: absolute;
    top: calc(100% + 0.55rem);
    left: 0;
    right: 0;
    z-index: 60;
    padding: 0.75rem;
    border: 1px solid rgba(255, 255, 255, 0.17);
    border-radius: 16px;
    background: #202545;
    box-shadow: 0 24px 54px rgba(4, 7, 23, 0.38);
}

.games-mobile-nav-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.5rem;
}

.games-mobile-nav a {
    display: flex;
    min-height: 50px;
    align-items: center;
    padding: 0.7rem;
    border-radius: 11px;
    color: rgba(255, 255, 255, 0.84);
    background: rgba(255, 255, 255, 0.06);
    font-size: 0.86rem;
    font-weight: 800;
    text-decoration: none;
}

.games-mobile-nav a:hover,
.games-mobile-nav a:focus-visible,
.games-mobile-nav a[aria-current="page"] {
    color: #fff;
    background: rgba(53, 201, 208, 0.15);
}

.games-breadcrumbs {
    display: flex;
    gap: 0.55rem;
    align-items: center;
    padding-top: 1rem;
    color: rgba(255, 255, 255, 0.66);
    font-size: 0.82rem;
}

.games-breadcrumbs a {
    color: #fff;
    font-weight: 750;
    text-decoration: none;
}

.games-hero {
    display: grid;
    grid-template-columns: minmax(0, 1.35fr) minmax(270px, 0.65fr);
    gap: 2rem;
    align-items: center;
    padding-top: 2.3rem;
    padding-bottom: 2rem;
    color: #fff;
}

.games-kicker,
.games-section-label,
.games-card-label,
.games-recommendation-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    color: var(--games-cyan-dark);
    font-size: 0.72rem;
    font-weight: 900;
    letter-spacing: 0.13em;
    line-height: 1;
    text-transform: uppercase;
}

.games-kicker {
    margin-bottom: 1rem;
    padding: 0.55rem 0.75rem;
    border: 1px solid rgba(53, 201, 208, 0.35);
    border-radius: 999px;
    color: #a7f6f5;
    background: rgba(53, 201, 208, 0.09);
}

.games-hero h1,
.games-finder h2,
.games-catalog h2,
.games-save-section h2,
.games-compare-section h2,
.games-related h2 {
    margin: 0;
    font-family: Georgia, "Times New Roman", serif;
    letter-spacing: -0.045em;
}

.games-hero h1 {
    max-width: 870px;
    font-size: clamp(3rem, 5.5vw, 4.8rem);
    line-height: 0.91;
}

.games-lead {
    max-width: 770px;
    margin: 1.2rem 0 0;
    color: rgba(255, 255, 255, 0.76);
    font-size: clamp(1rem, 1.6vw, 1.18rem);
    line-height: 1.65;
}

.games-hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    margin-top: 1.4rem;
}

.games-primary-link,
.games-secondary-link,
.games-open-link,
.games-card-link,
.games-save-card a,
.games-related a {
    display: inline-flex;
    min-height: 46px;
    align-items: center;
    justify-content: center;
    border-radius: 11px;
    font-weight: 850;
    text-decoration: none;
}

.games-primary-link {
    padding: 0.72rem 1rem;
    color: var(--games-ink);
    background: var(--games-yellow);
    box-shadow: 0 13px 32px rgba(246, 197, 75, 0.24);
}

.games-secondary-link {
    padding: 0.72rem 1rem;
    border: 1px solid rgba(255, 255, 255, 0.24);
    color: #fff;
    background: rgba(255, 255, 255, 0.07);
}

.games-hero-board {
    display: grid;
    gap: 0.7rem;
    padding: 1rem;
    border: 1px solid rgba(255, 255, 255, 0.18);
    border-radius: 22px 22px 7px 22px;
    background: rgba(255, 255, 255, 0.08);
    box-shadow: 0 24px 70px rgba(4, 7, 23, 0.32);
}

.games-hero-board div {
    display: grid;
    grid-template-columns: 42px minmax(0, 1fr);
    gap: 0.7rem;
    align-items: center;
    padding: 0.75rem;
    border-radius: 13px;
    background: rgba(255, 255, 255, 0.07);
}

.games-hero-board b {
    display: grid;
    width: 42px;
    height: 42px;
    place-items: center;
    border-radius: 12px;
    color: var(--games-ink);
    background: var(--games-cyan);
    font-family: Georgia, "Times New Roman", serif;
    font-size: 1.15rem;
}

.games-hero-board strong,
.games-hero-board span {
    display: block;
}

.games-hero-board strong {
    font-size: 0.94rem;
}

.games-hero-board span {
    margin-top: 0.18rem;
    color: rgba(255, 255, 255, 0.65);
    font-size: 0.78rem;
    line-height: 1.4;
}

.games-main {
    padding-bottom: 4rem;
}

.games-finder {
    display: grid;
    grid-template-columns: minmax(280px, 0.76fr) minmax(0, 1.24fr);
    gap: 1rem;
    padding: 1rem;
    border: 1px solid rgba(23, 26, 53, 0.15);
    border-radius: 20px;
    background: var(--games-paper);
    box-shadow: var(--games-shadow);
}

.games-finder-controls,
.games-recommendation {
    min-width: 0;
    padding: 1rem;
    border-radius: 15px;
}

.games-finder-controls {
    border: 1px solid var(--games-line);
    background: #fff;
}

.games-section-label {
    margin-bottom: 0.55rem;
    color: var(--games-coral);
}

.games-finder h2,
.games-catalog h2,
.games-save-section h2,
.games-compare-section h2,
.games-related h2 {
    font-size: clamp(1.65rem, 3.2vw, 2.75rem);
    line-height: 1.02;
}

.games-finder-controls p,
.games-catalog-heading p,
.games-save-heading p,
.games-compare-heading p,
.games-related p {
    color: var(--games-muted);
    line-height: 1.6;
}

.games-finder-controls label {
    display: block;
    margin: 1rem 0 0.45rem;
    color: var(--games-ink);
    font-size: 0.8rem;
    font-weight: 850;
}

.games-finder-controls select {
    width: 100%;
    min-height: 50px;
    padding: 0.75rem 0.85rem;
    border: 1px solid var(--games-line);
    border-radius: 11px;
    color: var(--games-ink);
    background: #fff;
    font: inherit;
}

.games-recommendation {
    position: relative;
    display: flex;
    min-height: 260px;
    flex-direction: column;
    overflow: hidden;
    color: #fff;
    background:
        linear-gradient(135deg, rgba(99, 91, 202, 0.97), rgba(23, 26, 53, 0.98));
}

.games-recommendation::before,
.games-recommendation::after {
    content: "";
    position: absolute;
    border-radius: 50%;
    pointer-events: none;
}

.games-recommendation::before {
    width: 190px;
    height: 190px;
    right: -75px;
    top: -85px;
    border: 24px solid rgba(53, 201, 208, 0.14);
}

.games-recommendation::after {
    width: 80px;
    height: 80px;
    right: 40px;
    bottom: -38px;
    background: rgba(246, 197, 75, 0.13);
}

.games-recommendation[data-game="whos"] {
    background: linear-gradient(135deg, rgba(8, 125, 136, 0.97), rgba(23, 26, 53, 0.98));
}

.games-recommendation[data-game="smash"] {
    background: linear-gradient(135deg, rgba(241, 95, 105, 0.97), rgba(23, 26, 53, 0.98));
}

.games-recommendation-eyebrow {
    position: relative;
    z-index: 1;
    color: #a7f6f5;
}

.games-recommendation h3 {
    position: relative;
    z-index: 1;
    margin: 0.65rem 0 0;
    font-family: Georgia, "Times New Roman", serif;
    font-size: clamp(1.65rem, 3vw, 2.45rem);
    line-height: 1.04;
    letter-spacing: -0.035em;
}

.games-recommendation p {
    position: relative;
    z-index: 1;
    max-width: 720px;
    margin: 0.75rem 0 0;
    color: rgba(255, 255, 255, 0.78);
    line-height: 1.55;
}

.games-recommendation ul {
    position: relative;
    z-index: 1;
    display: flex;
    flex-wrap: wrap;
    gap: 0.45rem;
    margin: 0.9rem 0 0;
    padding: 0;
    list-style: none;
}

.games-recommendation li {
    padding: 0.34rem 0.55rem;
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 999px;
    color: rgba(255, 255, 255, 0.84);
    background: rgba(255, 255, 255, 0.08);
    font-size: 0.73rem;
    font-weight: 800;
}

.games-open-link {
    position: relative;
    z-index: 1;
    align-self: flex-start;
    margin-top: auto;
    padding: 0.72rem 1rem;
    color: var(--games-ink);
    background: var(--games-yellow);
}

.games-catalog,
.games-save-section,
.games-compare-section,
.games-related {
    padding-top: 4rem;
}

.games-catalog-heading,
.games-save-heading,
.games-compare-heading {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(260px, 0.55fr);
    gap: 1.5rem;
    align-items: end;
}

.games-catalog-heading p,
.games-save-heading p,
.games-compare-heading p {
    margin-bottom: 0;
}

.games-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1rem;
    margin-top: 1.2rem;
}

.games-directory-card {
    position: relative;
    display: flex;
    min-width: 0;
    flex-direction: column;
    padding: 1.15rem;
    overflow: hidden;
    border: 1px solid rgba(23, 26, 53, 0.15);
    border-radius: 8px 20px 20px 20px;
    background: rgba(255, 253, 247, 0.96);
    box-shadow: 0 16px 42px rgba(23, 26, 53, 0.08);
    transition: transform 160ms ease, box-shadow 160ms ease, border-color 160ms ease;
}

.games-directory-card::after {
    content: "";
    position: absolute;
    right: -28px;
    top: -28px;
    width: 92px;
    height: 92px;
    border: 11px solid rgba(99, 91, 202, 0.08);
    border-radius: 50%;
}

.games-directory-card[data-game="whos"]::after {
    border-color: rgba(53, 201, 208, 0.1);
}

.games-directory-card[data-game="smash"]::after {
    border-color: rgba(241, 95, 105, 0.1);
}

.games-directory-card.is-recommended {
    border-color: var(--games-purple);
    box-shadow: 0 20px 48px rgba(99, 91, 202, 0.18);
}

.games-directory-card.is-recommended::before {
    content: "Recommended";
    position: absolute;
    right: 0.8rem;
    top: 0.8rem;
    z-index: 2;
    padding: 0.3rem 0.48rem;
    border-radius: 999px;
    color: #fff;
    background: var(--games-purple);
    font-size: 0.65rem;
    font-weight: 900;
    letter-spacing: 0.06em;
    text-transform: uppercase;
}

.games-directory-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 24px 52px rgba(23, 26, 53, 0.13);
}

.games-card-label {
    align-self: flex-start;
    margin-bottom: 0.7rem;
    padding: 0.34rem 0.52rem;
    border-radius: 4px;
    color: var(--games-purple);
    background: rgba(99, 91, 202, 0.09);
}

.games-directory-card[data-game="whos"] .games-card-label {
    color: var(--games-cyan-dark);
    background: rgba(53, 201, 208, 0.12);
}

.games-directory-card[data-game="smash"] .games-card-label {
    color: #a12d3c;
    background: rgba(241, 95, 105, 0.11);
}

.games-directory-card h3 {
    max-width: 88%;
    margin: 0;
    font-family: Georgia, "Times New Roman", serif;
    font-size: 1.5rem;
    line-height: 1.06;
    letter-spacing: -0.03em;
}

.games-directory-card > p {
    margin: 0.7rem 0 0;
    color: var(--games-muted);
    font-size: 0.93rem;
    line-height: 1.55;
}

.games-card-facts {
    display: grid;
    gap: 0.45rem;
    margin: 0.9rem 0 0;
    padding-top: 0.8rem;
    border-top: 1px dashed var(--games-line);
}

.games-card-facts div {
    display: grid;
    grid-template-columns: 60px minmax(0, 1fr);
    gap: 0.45rem;
}

.games-card-facts dt {
    color: var(--games-coral);
    font-size: 0.7rem;
    font-weight: 900;
    text-transform: uppercase;
}

.games-card-facts dd {
    margin: 0;
    color: var(--games-ink-soft);
    font-size: 0.8rem;
    line-height: 1.35;
}

.games-card-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.35rem;
    margin-top: 0.8rem;
}

.games-card-tags span {
    padding: 0.28rem 0.5rem;
    border: 1px solid rgba(8, 125, 136, 0.2);
    border-radius: 999px;
    color: var(--games-cyan-dark);
    background: rgba(53, 201, 208, 0.07);
    font-size: 0.69rem;
    font-weight: 800;
}

.games-card-link {
    justify-content: space-between;
    margin-top: auto;
    padding-top: 1rem;
    color: var(--games-purple);
}

.games-card-link::after {
    content: "→";
    font-size: 1.15rem;
}

.games-save-shell {
    margin-top: 1.1rem;
    padding: 1rem;
    border: 1px solid rgba(23, 26, 53, 0.15);
    border-left: 8px solid var(--games-cyan);
    border-radius: 18px;
    background: rgba(255, 253, 247, 0.96);
    box-shadow: 0 16px 42px rgba(23, 26, 53, 0.07);
}

.games-save-summary {
    margin: 0;
    color: var(--games-muted);
    font-size: 0.86rem;
    font-weight: 750;
}

.games-save-state {
    margin-top: 0.75rem;
}

.games-save-loading,
.games-save-empty,
.games-save-error {
    padding: 1rem;
    border: 1px dashed var(--games-line);
    border-radius: 13px;
    background: #fff;
}

.games-save-loading {
    display: flex;
    gap: 0.7rem;
    align-items: center;
}

.games-save-spinner {
    width: 22px;
    height: 22px;
    flex: 0 0 22px;
    border: 3px solid rgba(53, 201, 208, 0.24);
    border-top-color: var(--games-cyan-dark);
    border-radius: 50%;
    animation: games-spin 650ms linear infinite;
}

@keyframes games-spin {
    to { transform: rotate(360deg); }
}

.games-save-loading p,
.games-save-empty p,
.games-save-error p {
    margin: 0;
    color: var(--games-muted);
    line-height: 1.55;
}

.games-save-error button {
    min-height: 44px;
    margin-top: 0.75rem;
    padding: 0.65rem 0.85rem;
    border: 0;
    border-radius: 10px;
    color: #fff;
    background: var(--games-ink);
    font: inherit;
    font-weight: 850;
    cursor: pointer;
}

.games-save-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 0.75rem;
}

.games-save-card {
    padding: 0.9rem;
    border: 1px solid var(--games-line);
    border-radius: 13px;
    background: #fff;
}

.games-save-card strong {
    display: block;
    font-family: Georgia, "Times New Roman", serif;
    font-size: 1.05rem;
}

.games-save-card p {
    margin: 0.4rem 0 0;
    color: var(--games-muted);
    font-size: 0.8rem;
    line-height: 1.45;
}

.games-save-card a {
    justify-content: flex-start;
    margin-top: 0.55rem;
    color: var(--games-cyan-dark);
    font-size: 0.8rem;
}

.games-compare-wrap {
    margin-top: 1.1rem;
    overflow-x: auto;
    border: 1px solid rgba(23, 26, 53, 0.15);
    border-radius: 17px;
    background: #fff;
    box-shadow: 0 16px 42px rgba(23, 26, 53, 0.07);
}

.games-compare-table {
    width: 100%;
    min-width: 790px;
    border-collapse: collapse;
}

.games-compare-table th,
.games-compare-table td {
    padding: 0.85rem;
    border-bottom: 1px solid var(--games-line);
    text-align: left;
    vertical-align: top;
}

.games-compare-table thead th {
    color: #fff;
    background: var(--games-ink);
    font-size: 0.8rem;
}

.games-compare-table tbody th {
    width: 130px;
    color: var(--games-ink);
    background: var(--games-paper-deep);
    font-size: 0.78rem;
    text-transform: uppercase;
}

.games-compare-table td {
    color: var(--games-ink-soft);
    font-size: 0.82rem;
    line-height: 1.45;
}

.games-related {
    display: grid;
    grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr);
    gap: 1rem;
    align-items: center;
}

.games-related-links {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.7rem;
}

.games-related a {
    justify-content: flex-start;
    padding: 0.8rem;
    border: 1px solid rgba(23, 26, 53, 0.15);
    color: var(--games-ink);
    background: rgba(255, 253, 247, 0.9);
}

.games-guide,
.games-faq {
    padding-top: 4rem;
}

.games-guide-heading {
    max-width: 820px;
}

.games-guide-heading h2,
.games-faq h2 {
    margin: 0;
    font-family: Georgia, "Times New Roman", serif;
    font-size: clamp(1.65rem, 3.2vw, 2.75rem);
    line-height: 1.02;
    letter-spacing: -0.045em;
}

.games-guide-heading > p,
.games-guide-grid p,
.games-faq p {
    color: var(--games-muted);
    line-height: 1.65;
}

.games-guide-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1rem;
    margin-top: 1.1rem;
}

.games-guide-grid article,
.games-faq {
    border: 1px solid rgba(23, 26, 53, 0.15);
    background: rgba(255, 253, 247, 0.96);
    box-shadow: 0 16px 42px rgba(23, 26, 53, 0.07);
}

.games-guide-grid article {
    padding: 1.15rem;
    border-radius: 18px 18px 18px 7px;
}

.games-guide-grid h3 {
    margin: 0;
    font-family: Georgia, "Times New Roman", serif;
    font-size: 1.34rem;
    line-height: 1.12;
    letter-spacing: -0.025em;
}

.games-guide-grid p:last-child {
    margin-bottom: 0;
}

.games-faq {
    margin-top: 4rem;
    padding: 1.2rem;
    border-radius: 18px;
}

.games-faq details {
    border-top: 1px solid var(--games-line);
}

.games-faq details:first-of-type {
    margin-top: 1rem;
}

.games-faq summary {
    padding: 0.95rem 0;
    color: var(--games-ink);
    font-weight: 850;
    cursor: pointer;
}

.games-faq details p {
    margin-top: -0.2rem;
    padding-bottom: 0.85rem;
}

.games-footer {
    padding: 2.5rem 0 1.4rem;
    color: rgba(255, 255, 255, 0.78);
    background: var(--games-ink);
}

.games-footer-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1.5rem;
}

.games-footer-grid h3 {
    margin: 0 0 0.7rem;
    color: #fff;
    font-family: Georgia, "Times New Roman", serif;
}

.games-footer-grid a {
    display: block;
    width: fit-content;
    margin-top: 0.42rem;
    color: rgba(255, 255, 255, 0.74);
    text-decoration: none;
}

.games-footer-grid a:hover,
.games-footer-grid a:focus-visible {
    color: #fff;
    text-decoration: underline;
}

.games-footer-note {
    display: flex;
    gap: 1rem;
    justify-content: space-between;
    margin-top: 2rem;
    padding-top: 1rem;
    border-top: 1px solid rgba(255, 255, 255, 0.15);
    font-size: 0.8rem;
    line-height: 1.5;
}

.games-footer-note p {
    margin: 0;
}

.games-primary-link:hover,
.games-secondary-link:hover,
.games-open-link:hover,
.games-card-link:hover,
.games-related a:hover {
    transform: translateY(-2px);
}

.games-menu-toggle:focus-visible,
.games-desktop-nav a:focus-visible,
.games-nav-group button:focus-visible,
.games-mobile-nav a:focus-visible,
.games-primary-link:focus-visible,
.games-secondary-link:focus-visible,
.games-finder select:focus-visible,
.games-open-link:focus-visible,
.games-card-link:focus-visible,
.games-save-error button:focus-visible,
.games-save-card a:focus-visible,
.games-related a:focus-visible {
    outline: 3px solid rgba(53, 201, 208, 0.48);
    outline-offset: 3px;
}

@media (max-width: 980px) {
    .games-hero,
    .games-catalog-heading,
    .games-save-heading,
    .games-compare-heading,
    .games-related {
        grid-template-columns: 1fr;
    }

    .games-hero-board {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }

    .games-hero-board div {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .games-hero-board b {
        margin-inline: auto;
    }

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

@media (max-width: 820px) {
    .games-desktop-nav {
        display: none;
    }

    .games-menu-toggle {
        display: inline-flex;
    }

    .games-finder {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 680px) {
    .games-container {
        width: min(100% - 28px, 1200px);
    }

    .games-header {
        padding-top: 0.65rem;
    }

    .games-header-shell {
        min-height: 62px;
        padding: 0.55rem 0.65rem;
    }

    .games-logo {
        font-size: 1rem;
    }

    .games-brand-mark {
        width: 34px;
        height: 34px;
        flex-basis: 34px;
    }

    .games-mobile-nav-grid {
        grid-template-columns: 1fr;
    }

    .games-breadcrumbs {
        padding-top: 0.7rem;
    }

    .games-hero {
        gap: 1rem;
        padding-top: 1.2rem;
        padding-bottom: 1.2rem;
    }

    .games-kicker {
        margin-bottom: 0.65rem;
        font-size: 0.64rem;
    }

    .games-hero h1 {
        font-size: clamp(2.7rem, 14vw, 4.1rem);
    }

    .games-lead {
        margin-top: 0.8rem;
        font-size: 0.94rem;
        line-height: 1.52;
    }

    .games-hero-actions {
        margin-top: 0.9rem;
    }

    .games-primary-link,
    .games-secondary-link {
        min-height: 44px;
        padding: 0.62rem 0.78rem;
        font-size: 0.83rem;
    }

    .games-hero-board {
        grid-template-columns: repeat(3, minmax(0, 1fr));
        gap: 0.4rem;
        padding: 0.55rem;
    }

    .games-hero-board div {
        padding: 0.5rem 0.35rem;
    }

    .games-hero-board b {
        width: 34px;
        height: 34px;
        font-size: 0.95rem;
    }

    .games-hero-board strong {
        font-size: 0.72rem;
    }

    .games-hero-board span {
        display: none;
    }

    .games-finder {
        padding: 0.7rem;
    }

    .games-finder-controls,
    .games-recommendation {
        padding: 0.9rem;
    }

    .games-finder-controls > p {
        display: none;
    }

    .games-recommendation {
        min-height: 255px;
    }

    .games-grid,
    .games-save-grid,
    .games-related-links {
        grid-template-columns: 1fr;
    }

    .games-catalog,
    .games-save-section,
    .games-compare-section,
    .games-guide,
    .games-related {
        padding-top: 2.8rem;
    }

    .games-guide-grid,
    .games-footer-grid {
        grid-template-columns: 1fr;
    }

    .games-faq {
        margin-top: 2.8rem;
    }

    .games-footer-note {
        flex-direction: column;
    }

    .games-directory-card {
        padding: 1rem;
    }

    .games-compare-wrap {
        border-radius: 13px;
    }
}

@media (max-width: 420px) {
    .games-logo-text-end {
        display: none;
    }

    .games-hero h1 {
        font-size: 2.75rem;
    }

    .games-hero-board strong {
        font-size: 0.66rem;
    }

    .games-recommendation h3 {
        font-size: 1.75rem;
    }
}

@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        scroll-behavior: auto !important;
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
}
