:root {
    --bg: #050a16;
    --bg-deep: #020511;
    --surface: rgba(12, 20, 39, 0.72);
    --surface-strong: rgba(17, 29, 55, 0.9);
    --glass: rgba(14, 24, 47, 0.58);
    --line: rgba(148, 163, 184, 0.16);
    --line-bright: rgba(78, 196, 255, 0.48);
    --text: #f7f9ff;
    --muted: #96a6c0;
    --muted-strong: #ccd7ec;
    --purple: #9b5cff;
    --purple-strong: #7c3cff;
    --blue: #2f8cff;
    --cyan: #45e3ff;
    --mint: #65f3c8;
    --warning: #ffcc66;
    --danger: #ff6b88;
    --radius-card: 8px;
    --radius-pill: 999px;
    --container: 1180px;
    --shadow: 0 26px 90px rgba(0, 0, 0, 0.46);
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    min-height: 100vh;
    margin: 0;
    color: var(--text);
    font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    line-height: 1.6;
    background:
        linear-gradient(135deg, rgba(47, 140, 255, 0.14), transparent 30%),
        linear-gradient(220deg, rgba(155, 92, 255, 0.12), transparent 34%),
        linear-gradient(180deg, #071020 0%, var(--bg) 38%, var(--bg-deep) 100%);
    overflow-x: hidden;
}

body::before {
    content: "";
    position: fixed;
    inset: 0;
    z-index: -2;
    pointer-events: none;
    background-image:
        linear-gradient(rgba(255, 255, 255, 0.032) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, 0.032) 1px, transparent 1px);
    background-size: 76px 76px;
    mask-image: linear-gradient(to bottom, rgba(0, 0, 0, 0.92), transparent 84%);
}

body::after {
    content: "";
    position: fixed;
    inset: 0;
    z-index: -1;
    pointer-events: none;
    background:
        linear-gradient(90deg, rgba(69, 227, 255, 0.04), transparent 28%, rgba(155, 92, 255, 0.05)),
        linear-gradient(180deg, transparent 0%, rgba(2, 5, 17, 0.84) 76%);
}

a {
    color: inherit;
    text-decoration: none;
}

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

button,
input {
    font: inherit;
}

button {
    cursor: pointer;
}

button:focus-visible,
a:focus-visible,
input:focus-visible {
    outline: 3px solid rgba(69, 227, 255, 0.42);
    outline-offset: 3px;
}

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

.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

.card {
    border: 1px solid var(--line);
    border-radius: var(--radius-card);
    background:
        linear-gradient(145deg, rgba(255, 255, 255, 0.07), rgba(255, 255, 255, 0.015)),
        var(--surface);
    box-shadow: 0 18px 46px rgba(0, 0, 0, 0.26);
    backdrop-filter: blur(18px);
}

.site-header {
    position: sticky;
    top: 0;
    z-index: 20;
    border-bottom: 1px solid rgba(148, 163, 184, 0.14);
    background: rgba(4, 10, 22, 0.82);
    backdrop-filter: blur(24px);
    box-shadow: 0 18px 46px rgba(0, 0, 0, 0.24);
}

.site-header::after {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    bottom: -1px;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(69, 227, 255, 0.46), rgba(155, 92, 255, 0.46), transparent);
}

.navbar {
    min-height: 92px;
    display: grid;
    grid-template-columns: auto minmax(280px, 1fr) auto;
    align-items: center;
    gap: 24px;
}

.brand {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    min-width: max-content;
    font-weight: 950;
}

.brand-mark {
    width: 48px;
    height: 48px;
    display: grid;
    place-items: center;
    border: 1px solid rgba(69, 227, 255, 0.5);
    border-radius: var(--radius-card);
    color: #ffffff;
    font-size: 0.85rem;
    letter-spacing: 0.04em;
    background:
        linear-gradient(135deg, rgba(155, 92, 255, 0.98), rgba(47, 140, 255, 0.96)),
        #101a32;
    box-shadow: 0 0 34px rgba(69, 227, 255, 0.3), inset 0 1px 0 rgba(255, 255, 255, 0.28);
}

.brand-name {
    font-size: 1.2rem;
}

.site-search {
    display: grid;
    grid-template-columns: 1fr auto;
    align-items: center;
    gap: 8px;
    padding: 7px;
    border: 1px solid rgba(148, 163, 184, 0.17);
    border-radius: var(--radius-pill);
    background: rgba(7, 15, 31, 0.78);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.05);
    transition: border-color 180ms ease, box-shadow 180ms ease, background 180ms ease;
}

.site-search:focus-within {
    border-color: var(--line-bright);
    background: rgba(11, 22, 43, 0.96);
    box-shadow: 0 0 0 4px rgba(47, 140, 255, 0.14), 0 16px 36px rgba(0, 0, 0, 0.2);
}

.site-search input {
    width: 100%;
    min-width: 0;
    padding: 11px 14px 11px 18px;
    border: 0;
    outline: 0;
    color: var(--text);
    background: transparent;
}

.site-search input::placeholder {
    color: #7989a3;
}

.site-search button,
.button,
.copy-button {
    min-height: 44px;
    border-radius: var(--radius-pill);
    font-weight: 900;
    transition: transform 180ms ease, border-color 180ms ease, background 180ms ease, box-shadow 180ms ease, color 180ms ease;
}

.site-search button {
    padding: 0 20px;
    border: 0;
    color: #06101d;
    background: linear-gradient(135deg, var(--cyan), var(--mint));
    box-shadow: 0 12px 30px rgba(69, 227, 255, 0.2);
}

.site-search button:hover,
.button:hover,
.copy-button:hover {
    transform: translateY(-2px);
}

.nav-links {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 8px;
    padding: 0;
    margin: 0;
    list-style: none;
}

.nav-links a {
    display: inline-flex;
    align-items: center;
    min-height: 42px;
    padding: 0 14px;
    border: 1px solid transparent;
    border-radius: var(--radius-pill);
    color: var(--muted-strong);
    font-size: 0.92rem;
    font-weight: 850;
    transition: color 180ms ease, border-color 180ms ease, background 180ms ease, box-shadow 180ms ease;
}

.nav-links a:hover,
.nav-links a[aria-current="page"] {
    color: var(--text);
    border-color: rgba(69, 227, 255, 0.18);
    background: rgba(255, 255, 255, 0.08);
    box-shadow: 0 10px 28px rgba(47, 140, 255, 0.12);
}

.home-hero {
    position: relative;
    isolation: isolate;
    padding: 32px 0 0;
}

.hero-stage {
    position: relative;
    min-height: 440px;
    display: grid;
    align-items: center;
    border: 1px solid rgba(148, 163, 184, 0.18);
    border-radius: var(--radius-card);
    overflow: hidden;
    box-shadow: var(--shadow);
    animation: heroReveal 700ms ease both;
}

.hero-stage::before {
    content: "";
    position: absolute;
    inset: 0;
    z-index: -2;
    background:
        linear-gradient(90deg, rgba(4, 9, 20, 0.98) 0%, rgba(5, 10, 22, 0.72) 44%, rgba(5, 10, 22, 0.22) 100%),
        linear-gradient(180deg, rgba(5, 10, 22, 0.14) 0%, rgba(5, 10, 22, 0.92) 100%),
        url("assets/img/code-loot-hero.png");
    background-size: cover;
    background-position: center;
    transform: scale(1.02);
}

.hero-stage::after {
    content: "";
    position: absolute;
    inset: 0;
    z-index: -1;
    pointer-events: none;
    background:
        linear-gradient(135deg, rgba(69, 227, 255, 0.16), transparent 38%),
        linear-gradient(235deg, rgba(155, 92, 255, 0.2), transparent 42%),
        linear-gradient(180deg, transparent 64%, rgba(2, 5, 17, 0.8));
}

.hero-grid {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: minmax(0, 1fr) 360px;
    align-items: end;
    gap: clamp(26px, 5vw, 58px);
    padding: clamp(34px, 5.2vw, 62px);
}

.hero-copy {
    max-width: 720px;
}

.hero-pills {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 18px;
}

.hero-pills span {
    display: inline-flex;
    align-items: center;
    min-height: 34px;
    padding: 0 13px;
    border: 1px solid rgba(69, 227, 255, 0.22);
    border-radius: var(--radius-pill);
    color: var(--muted-strong);
    font-size: 0.78rem;
    font-weight: 900;
    text-transform: uppercase;
    background: rgba(8, 17, 34, 0.62);
    backdrop-filter: blur(14px);
}

.eyebrow {
    margin: 0 0 12px;
    color: var(--cyan);
    font-size: 0.76rem;
    font-weight: 950;
    letter-spacing: 0.14em;
    text-transform: uppercase;
}

h1,
h2,
h3,
p {
    overflow-wrap: anywhere;
}

.hero-copy h1,
.game-banner h1 {
    margin: 0;
    font-size: clamp(3.8rem, 8.2vw, 7.4rem);
    line-height: 0.86;
    letter-spacing: 0;
    text-shadow: 0 18px 50px rgba(0, 0, 0, 0.42);
}

.hero-lede,
.game-banner-copy p:last-child {
    max-width: 650px;
    margin: 24px 0 0;
    color: var(--muted-strong);
    font-size: clamp(1.04rem, 2vw, 1.3rem);
}

.button-row {
    display: flex;
    flex-wrap: wrap;
    gap: 13px;
    margin-top: 32px;
}

.button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 50px;
    padding: 0 24px;
}

.button-primary {
    color: #06101d;
    background: linear-gradient(135deg, var(--cyan), var(--mint));
    box-shadow: 0 18px 44px rgba(69, 227, 255, 0.24);
}

.button-primary:hover {
    box-shadow: 0 22px 52px rgba(69, 227, 255, 0.34);
}

.button-secondary {
    border: 1px solid rgba(69, 227, 255, 0.32);
    color: var(--text);
    background: rgba(255, 255, 255, 0.08);
    backdrop-filter: blur(12px);
}

.hero-status {
    position: relative;
    padding: 24px;
    overflow: hidden;
    background: rgba(8, 16, 32, 0.58);
    box-shadow: 0 22px 70px rgba(0, 0, 0, 0.34);
    animation: cardRise 650ms ease 140ms both;
}

.hero-status:hover {
    border-color: rgba(69, 227, 255, 0.45);
    box-shadow: 0 28px 90px rgba(47, 140, 255, 0.2);
}

.hero-status::before {
    content: "";
    display: block;
    height: 3px;
    margin-bottom: 22px;
    border-radius: var(--radius-pill);
    background: linear-gradient(90deg, var(--purple), var(--cyan), var(--mint));
    box-shadow: 0 0 24px rgba(69, 227, 255, 0.46);
}

.hero-status h2 {
    margin: 0 0 18px;
    font-size: 1.9rem;
    line-height: 1.08;
}

.status-list {
    display: grid;
    gap: 10px;
}

.status-list span {
    display: flex;
    justify-content: space-between;
    gap: 12px;
    padding-top: 10px;
    border-top: 1px solid var(--line);
    color: var(--muted-strong);
}

.status-list strong {
    color: var(--text);
}

.featured-games {
    position: relative;
    z-index: 3;
    padding: 26px 0 20px;
}

.featured-heading {
    display: flex;
    align-items: end;
    justify-content: space-between;
    gap: 24px;
    margin-bottom: 18px;
}

.featured-heading h2 {
    max-width: 600px;
    margin: 0;
    font-size: clamp(1.8rem, 3vw, 2.65rem);
    line-height: 1;
}

.featured-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 16px;
}

.featured-card {
    position: relative;
    min-height: 220px;
    display: grid;
    align-items: end;
    overflow: hidden;
    isolation: isolate;
    transition: transform 220ms ease, border-color 220ms ease, box-shadow 220ms ease;
    animation: cardRise 680ms ease both;
}

.featured-card:nth-child(2) {
    animation-delay: 90ms;
}

.featured-card:nth-child(3) {
    animation-delay: 180ms;
}

.featured-card img {
    position: absolute;
    inset: 0;
    z-index: -2;
    height: 100%;
    object-fit: cover;
    transition: transform 500ms ease;
}

.featured-card::after {
    content: "";
    position: absolute;
    inset: 0;
    z-index: -1;
    background:
        linear-gradient(180deg, rgba(5, 10, 22, 0.12), rgba(5, 10, 22, 0.92)),
        linear-gradient(90deg, rgba(47, 140, 255, 0.18), transparent 52%, rgba(155, 92, 255, 0.2));
}

.featured-card:hover {
    transform: translateY(-7px);
    border-color: var(--line-bright);
    box-shadow: 0 28px 86px rgba(47, 140, 255, 0.22);
}

.featured-card:hover img {
    transform: scale(1.06);
}

.featured-card-copy {
    padding: 22px;
}

.featured-card-copy span,
.card-meta {
    color: var(--cyan);
    font-size: 0.76rem;
    font-weight: 900;
    text-transform: uppercase;
}

.featured-card-copy h3 {
    margin: 8px 0 6px;
    font-size: clamp(1.55rem, 3vw, 2.05rem);
    line-height: 1;
}

.featured-card-copy p {
    max-width: 360px;
    margin: 0;
    color: var(--muted-strong);
}

.stats-strip {
    padding: 18px 0 34px;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 14px;
}

.stat-card {
    min-height: 112px;
    display: grid;
    align-content: center;
    gap: 6px;
    padding: 22px;
    transition: transform 180ms ease, border-color 180ms ease, background 180ms ease, box-shadow 180ms ease;
}

.stat-card:hover,
.game-card:hover,
.code-card:hover,
.related-card:hover {
    transform: translateY(-4px);
    border-color: var(--line-bright);
    background: var(--surface-strong);
    box-shadow: 0 24px 70px rgba(47, 140, 255, 0.14);
}

.stat-value {
    color: var(--text);
    font-size: clamp(1.28rem, 3vw, 1.86rem);
    font-weight: 950;
    line-height: 1;
}

.stat-label {
    color: var(--muted);
    font-size: 0.78rem;
    font-weight: 900;
    text-transform: uppercase;
}

.section {
    padding: 92px 0;
}

.section-sm {
    padding: 10px 0 88px;
}

.section-heading {
    max-width: 760px;
    margin-bottom: 38px;
}

.section-heading.compact {
    margin-bottom: 0;
}

.section-heading h2,
.split-grid h2,
.panel-heading h2,
.side-panel h2,
.no-codes h2 {
    margin: 0;
    font-size: clamp(2rem, 4vw, 3.45rem);
    line-height: 1;
    letter-spacing: 0;
}

.section-heading p,
.split-grid p,
.panel-heading p,
.side-panel p,
.no-codes p {
    color: var(--muted-strong);
}

.game-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 20px;
}

.game-card {
    position: relative;
    min-height: 510px;
    display: grid;
    grid-template-rows: 240px 1fr;
    overflow: hidden;
    transition: transform 220ms ease, border-color 220ms ease, background 220ms ease, box-shadow 220ms ease;
}

.game-card::before,
.code-card::before {
    content: "";
    position: absolute;
    inset: 0;
    pointer-events: none;
    opacity: 0;
    background: linear-gradient(135deg, rgba(69, 227, 255, 0.14), transparent 38%, rgba(155, 92, 255, 0.14));
    transition: opacity 220ms ease;
}

.game-card:hover::before,
.code-card:hover::before {
    opacity: 1;
}

.game-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 30px 90px rgba(47, 140, 255, 0.18);
}

.game-card img {
    height: 240px;
    object-fit: cover;
    transition: transform 500ms ease;
}

.game-card:hover img {
    transform: scale(1.06);
}

.game-card-body {
    position: relative;
    display: flex;
    flex-direction: column;
    gap: 16px;
    padding: 24px;
}

.card-meta {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 8px;
}

.game-card h3 {
    margin: 0;
    font-size: clamp(1.55rem, 3vw, 2.1rem);
    line-height: 1;
}

.game-card:focus-visible,
.featured-card:focus-visible,
.related-card:focus-visible {
    transform: translateY(-5px);
}

.game-card p {
    margin: 0;
    color: var(--muted-strong);
}

.text-link {
    margin-top: auto;
    padding-top: 16px;
    border-top: 1px solid var(--line);
    color: var(--cyan);
    font-weight: 900;
}

    color: var(--cyan);
    font-weight: 900;
}

.section-band {
    border-top: 1px solid var(--line);
    border-bottom: 1px solid var(--line);
    background:
        linear-gradient(90deg, rgba(47, 140, 255, 0.1), transparent 36%, rgba(155, 92, 255, 0.1)),
        rgba(8, 17, 34, 0.64);
}

.split-grid {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 430px;
    align-items: center;
    gap: 44px;
}

.feature-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
}

.feature-grid span {
    min-height: 88px;
    display: grid;
    align-items: center;
    padding: 18px;
    border: 1px solid var(--line);
    border-radius: var(--radius-card);
    color: var(--muted-strong);
    font-weight: 900;
    background: rgba(14, 25, 47, 0.74);
    backdrop-filter: blur(16px);
}

.game-hero {
    padding: 44px 0 0;
}

.game-banner {
    position: relative;
    min-height: 360px;
    overflow: hidden;
    box-shadow: var(--shadow);
}

.game-banner img {
    position: absolute;
    inset: 0;
    height: 100%;
    object-fit: cover;
}

.game-banner::after {
    content: "";
    position: absolute;
    inset: 0;
    background:
        linear-gradient(90deg, rgba(5, 10, 22, 0.98), rgba(5, 10, 22, 0.72) 48%, rgba(5, 10, 22, 0.1)),
        linear-gradient(180deg, transparent 46%, rgba(5, 10, 22, 0.86));
}

.game-banner::before {
    content: "";
    position: absolute;
    inset: 0;
    z-index: 1;
    pointer-events: none;
    background:
        linear-gradient(120deg, rgba(69, 227, 255, 0.2), transparent 34%),
        linear-gradient(240deg, rgba(155, 92, 255, 0.22), transparent 42%);
    mix-blend-mode: screen;
}

.game-banner-copy {
    position: relative;
    z-index: 2;
    max-width: 760px;
    padding: clamp(28px, 7vw, 62px);
}

.game-banner h1 {
    font-size: clamp(3rem, 7.8vw, 6.2rem);
}

.game-stats {
    padding-top: 18px;
}

.content-layout {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 340px;
    gap: 22px;
    align-items: start;
    padding: 30px 0 44px;
}

.content-main,
.side-panel {
    padding: clamp(20px, 4vw, 30px);
}

.content-main {
    position: relative;
    overflow: hidden;
}

.content-main::before {
    content: "";
    position: absolute;
    inset: 0 0 auto;
    height: 3px;
    background: linear-gradient(90deg, var(--purple), var(--cyan), var(--mint));
    box-shadow: 0 0 24px rgba(69, 227, 255, 0.42);
}

.panel-heading {
    margin-bottom: 22px;
}

.compact-panel {
    margin-bottom: 16px;
}

.panel-heading h2,
.side-panel h2,
.no-codes h2 {
    font-size: clamp(1.8rem, 3vw, 2.5rem);
}

.code-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
}

.code-card {
    position: relative;
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    align-items: center;
    gap: 16px;
    padding: 16px;
    border: 1px solid var(--line);
    border-radius: var(--radius-card);
    background:
        linear-gradient(135deg, rgba(255, 255, 255, 0.04), transparent 52%),
        rgba(6, 12, 25, 0.62);
    transition: transform 180ms ease, border-color 180ms ease, background 180ms ease, box-shadow 180ms ease;
}

.code-card h3 {
    margin: 0;
    font-size: clamp(0.96rem, 1.5vw, 1.12rem);
    line-height: 1.25;
    overflow-wrap: anywhere;
}

.code-card p {
    margin: 4px 0 0;
    color: var(--muted);
}

.copy-button {
    width: 96px;
    border: 1px solid rgba(69, 227, 255, 0.38);
    color: var(--text);
    background: rgba(47, 140, 255, 0.13);
}

.copy-button:hover {
    border-color: rgba(69, 227, 255, 0.72);
    background: rgba(69, 227, 255, 0.18);
}

.copy-button.is-copied {
    color: #06101d;
    border-color: rgba(101, 243, 200, 0.75);
    background: linear-gradient(135deg, var(--mint), var(--cyan));
}

.no-codes {
    position: relative;
    margin-top: 16px;
    padding: 24px;
    border: 1px solid var(--line);
    border-radius: var(--radius-card);
    background:
        linear-gradient(135deg, rgba(155, 92, 255, 0.11), transparent 52%),
        rgba(6, 12, 25, 0.62);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.05);
}

.no-codes::before {
    content: "";
    display: block;
    width: 54px;
    height: 3px;
    margin-bottom: 18px;
    border-radius: var(--radius-pill);
    background: linear-gradient(90deg, var(--purple), var(--cyan));
    box-shadow: 0 0 22px rgba(155, 92, 255, 0.35);
}

.empty-state-card {
    position: relative;
    display: grid;
    justify-items: center;
    gap: 18px;
    min-height: 430px;
    padding: clamp(28px, 6vw, 56px);
    border: 1px solid rgba(69, 227, 255, 0.2);
    border-radius: var(--radius-card);
    text-align: center;
    overflow: hidden;
    background:
        radial-gradient(circle at top, rgba(69, 227, 255, 0.13), transparent 34%),
        linear-gradient(145deg, rgba(155, 92, 255, 0.12), rgba(6, 12, 25, 0.7) 48%, rgba(101, 243, 200, 0.06)),
        rgba(6, 12, 25, 0.72);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.06), 0 26px 80px rgba(0, 0, 0, 0.24);
}

.empty-state-card::before {
    content: "";
    width: 76px;
    height: 76px;
    border: 1px solid rgba(69, 227, 255, 0.36);
    border-radius: 50%;
    background:
        linear-gradient(135deg, rgba(69, 227, 255, 0.18), rgba(155, 92, 255, 0.18)),
        rgba(8, 17, 34, 0.86);
    box-shadow: 0 0 42px rgba(69, 227, 255, 0.22), inset 0 0 22px rgba(155, 92, 255, 0.18);
}

.empty-state-card::after {
    content: "";
    position: absolute;
    inset: auto 18% 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(69, 227, 255, 0.5), rgba(155, 92, 255, 0.48), transparent);
}

.empty-state-card h2 {
    max-width: 760px;
    margin: 0;
    font-size: clamp(2.2rem, 5vw, 4.2rem);
    line-height: 0.96;
}

.empty-state-main {
    max-width: 820px;
    margin: 0;
    color: var(--muted-strong);
    font-size: clamp(1.02rem, 2vw, 1.22rem);
}

.empty-state-subtext {
    max-width: 700px;
    margin: 0;
    color: var(--text);
    font-weight: 900;
}

.trust-grid {
    width: min(100%, 820px);
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 10px;
    margin-top: 10px;
}

.trust-grid span {
    min-height: 72px;
    display: grid;
    place-items: center;
    padding: 14px;
    border: 1px solid rgba(101, 243, 200, 0.2);
    border-radius: var(--radius-card);
    color: var(--muted-strong);
    font-size: 0.82rem;
    font-weight: 900;
    text-transform: uppercase;
    background: rgba(8, 17, 34, 0.62);
}

.reported-section,
.expired-section,
.trust-note {
    margin-top: 18px;
    padding: clamp(18px, 3vw, 24px);
    border: 1px solid var(--line);
    border-radius: var(--radius-card);
    background:
        linear-gradient(145deg, rgba(255, 255, 255, 0.045), rgba(255, 255, 255, 0.012)),
        rgba(6, 12, 25, 0.52);
}

.reported-section {
    border-color: rgba(101, 243, 200, 0.24);
    background:
        linear-gradient(145deg, rgba(101, 243, 200, 0.08), rgba(69, 227, 255, 0.025)),
        rgba(6, 12, 25, 0.56);
}

.expired-section {
    border-color: rgba(255, 204, 102, 0.2);
}

.expired-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.expired-grid span {
    display: inline-flex;
    align-items: center;
    min-height: 34px;
    padding: 0 12px;
    border: 1px solid rgba(255, 204, 102, 0.22);
    border-radius: var(--radius-pill);
    color: #ffdca0;
    font-size: 0.78rem;
    font-weight: 900;
    background: rgba(255, 204, 102, 0.08);
}

.trust-note {
    border-color: rgba(101, 243, 200, 0.2);
}

.trust-note p {
    margin: 0;
    color: var(--muted-strong);
}

.trust-note strong {
    color: var(--text);
}

.trust-note a {
    color: var(--cyan);
    font-weight: 900;
    text-decoration: underline;
    text-decoration-color: rgba(69, 227, 255, 0.35);
    text-underline-offset: 3px;
}

.trust-note a:hover {
    color: var(--mint);
}

.sidebar-stack {
    display: grid;
    gap: 16px;
}

.check-list {
    display: grid;
    gap: 12px;
    padding: 0;
    margin: 18px 0 0;
    list-style: none;
}

.check-list li {
    position: relative;
    padding-left: 24px;
    color: var(--muted-strong);
}

.check-list li::before {
    content: "";
    position: absolute;
    left: 0;
    top: 0.6em;
    width: 9px;
    height: 9px;
    border-radius: 50%;
    background: var(--mint);
    box-shadow: 0 0 16px rgba(101, 243, 200, 0.62);
}

.related-layout {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(360px, 0.75fr);
    align-items: end;
    gap: 22px;
}

.related-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
}

.related-card {
    min-height: 112px;
    display: grid;
    align-content: center;
    gap: 8px;
    padding: 20px;
    transition: transform 180ms ease, border-color 180ms ease, background 180ms ease, box-shadow 180ms ease;
}

.related-card span {
    color: var(--cyan);
    font-size: 0.78rem;
    font-weight: 900;
    text-transform: uppercase;
}

.related-card strong {
    font-size: 1.2rem;
}

.site-footer {
    padding: 48px 0;
    border-top: 1px solid var(--line);
    background: rgba(3, 7, 19, 0.8);
}

.footer-grid {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    align-items: center;
    gap: 28px;
}

.footer-brand {
    margin-bottom: 14px;
}

.site-footer p {
    max-width: 700px;
    margin: 0;
    color: var(--muted);
}

.footer-links {
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-end;
    gap: 12px;
}

.footer-links a {
    color: var(--muted-strong);
    font-weight: 800;
    transition: color 180ms ease;
}

.footer-links a:hover {
    color: var(--cyan);
}

.clipboard-helper {
    position: fixed;
    top: -1000px;
    left: -1000px;
    width: 1px;
    height: 1px;
    opacity: 0;
}

@keyframes heroReveal {
    from {
        opacity: 0;
        transform: translateY(18px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes cardRise {
    from {
        opacity: 0;
        transform: translateY(14px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation: none !important;
        scroll-behavior: auto !important;
        transition: none !important;
    }
}

@media (max-width: 1080px) {
    .navbar {
        grid-template-columns: 1fr;
        padding: 16px 0;
    }

    .brand {
        justify-self: start;
    }

    .nav-links {
        justify-content: flex-start;
        overflow-x: auto;
        padding-bottom: 2px;
    }

    .hero-stage {
        min-height: auto;
    }

    .hero-grid,
    .split-grid,
    .content-layout,
    .related-layout {
        grid-template-columns: 1fr;
    }

    .hero-status {
        max-width: 560px;
    }

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

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

@media (max-width: 780px) {
    .container {
        width: min(100% - 24px, var(--container));
    }

    .navbar {
        gap: 14px;
    }

    .home-hero {
        padding-top: 18px;
    }

    .hero-grid {
        padding: 34px 22px;
    }

    .hero-copy h1 {
        font-size: clamp(3.35rem, 18vw, 5.4rem);
    }

    .featured-heading {
        display: block;
    }

    .stats-grid,
    .featured-grid,
    .game-grid,
    .feature-grid,
    .trust-grid,
    .sidebar-stack,
    .related-grid,
    .footer-grid {
        grid-template-columns: 1fr;
    }

    .featured-card {
        min-height: 210px;
    }

    .game-card {
        min-height: auto;
        grid-template-rows: 220px auto;
    }

    .game-card img {
        height: 220px;
    }

    .section {
        padding: 66px 0;
    }

    .section-sm {
        padding-bottom: 64px;
    }

    .game-banner {
        min-height: 330px;
    }

    .game-banner::after {
        background:
            linear-gradient(90deg, rgba(5, 10, 22, 0.98), rgba(5, 10, 22, 0.78) 78%, rgba(5, 10, 22, 0.34)),
            linear-gradient(180deg, transparent 42%, rgba(5, 10, 22, 0.9));
    }

    .code-card {
        grid-template-columns: 1fr;
    }

    .code-grid {
        grid-template-columns: 1fr;
    }

    .copy-button {
        width: 100%;
    }

    .footer-links {
        justify-content: flex-start;
    }
}

@media (max-width: 500px) {
    .site-search {
        grid-template-columns: 1fr;
        border-radius: 22px;
    }

    .site-search button {
        width: 100%;
    }

    .nav-links a {
        padding: 0 10px;
        font-size: 0.86rem;
    }

    .hero-stage {
        border-radius: 0;
        margin-inline: -12px;
    }

    .hero-grid {
        padding: 30px 20px;
    }

    .hero-pills span {
        min-height: 31px;
        font-size: 0.7rem;
    }

    .button-row {
        display: grid;
    }

    .button {
        width: 100%;
    }

    .stat-card,
    .hero-status,
    .content-main,
    .side-panel,
    .feature-grid span {
        padding: 18px;
    }

    .game-banner-copy {
        padding: 26px;
    }

    .game-banner {
        min-height: 310px;
    }

    .empty-state-card {
        min-height: 360px;
        justify-items: start;
        text-align: left;
    }

    .empty-state-card::after {
        inset-inline: 18px;
    }

    .expired-grid span {
        width: 100%;
        justify-content: center;
    }
}

/* Advertisement Sections */
.ad-section {
    padding: 32px 0;
}

.ad-label {
    display: block;
    text-align: center;
    color: var(--muted);
    font-size: 0.75rem;
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    margin-bottom: 16px;
}

.ad-container {
    display: flex;
    justify-content: center;
    align-items: center;
    background: linear-gradient(145deg, rgba(69, 227, 255, 0.06), rgba(155, 92, 255, 0.04));
    border: 1px solid rgba(69, 227, 255, 0.12);
    border-radius: var(--radius-card);
    overflow: hidden;
}

.ad-placeholder {
    display: flex;
    justify-content: center;
    align-items: center;
    background: linear-gradient(135deg, rgba(47, 140, 255, 0.08), rgba(155, 92, 255, 0.08));
    color: var(--muted);
    font-size: 0.9rem;
    font-weight: 600;
    text-align: center;
    padding: 12px;
}

/* 728x90 Leaderboard Ad */
.ad-728x90 {
    width: 100%;
    max-width: 728px;
    height: 90px;
    margin: 0 auto;
}

/* 300x250 Medium Rectangle Ad */
.ad-300x250 {
    width: 100%;
    max-width: 300px;
    height: 250px;
}

/* 300x600 Half-Page Ad */
.ad-300x600 {
    width: 100%;
    max-width: 300px;
    height: 600px;
}

/* Sidebar Ad Container */
.sidebar-ad {
    margin-bottom: 24px;
}

/* Footer Banner Ad */
.footer-ad {
    padding: 32px 0 24px;
    border-top: 1px solid rgba(69, 227, 255, 0.1);
    border-bottom: 1px solid rgba(69, 227, 255, 0.1);
}

/* Page Styles */
.page-hero {
    padding: 80px 0 60px;
}

.page-hero .hero-copy {
    text-align: center;
}

.page-hero h1 {
    font-size: clamp(2.4rem, 5vw, 3.2rem);
    margin: 16px 0;
}

.page-hero .lede {
    font-size: 1.1rem;
    color: var(--muted-strong);
    margin: 12px 0 0;
}

.max-width-prose {
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.max-width-prose h2 {
    margin-top: 48px;
    margin-bottom: 16px;
    font-size: 1.6rem;
}

.max-width-prose p {
    margin-bottom: 18px;
    line-height: 1.8;
}

.max-width-prose ul {
    margin-bottom: 24px;
    padding-left: 24px;
}

.max-width-prose li {
    margin-bottom: 10px;
}

.max-width-prose a {
    color: var(--cyan);
    text-decoration: underline;
    transition: opacity 180ms ease;
}

.max-width-prose a:hover {
    opacity: 0.8;
}

/* Contact Form */
.contact-form {
    max-width: 500px;
}

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

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 600;
    color: var(--text);
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 12px;
    border: 1px solid rgba(148, 163, 184, 0.3);
    border-radius: var(--radius-card);
    background: rgba(255, 255, 255, 0.05);
    color: var(--text);
    font-family: inherit;
    font-size: 1rem;
    transition: border-color 180ms ease, background 180ms ease;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--cyan);
    background: rgba(255, 255, 255, 0.08);
}

.form-group textarea {
    resize: vertical;
    min-height: 140px;
}

/* Feature Cards */
.feature-card {
    text-align: center;
    padding: 32px;
    border-radius: var(--radius-card);
    border: 1px solid var(--line);
    background: rgba(255, 255, 255, 0.03);
}

.feature-icon {
    font-size: 2.4rem;
    display: block;
    margin-bottom: 16px;
}

.feature-card h3 {
    margin: 16px 0 12px;
    font-size: 1.2rem;
}

.feature-card p {
    color: var(--muted);
    margin: 0;
}

.feature-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 24px;
}

/* Footer Grid Improvements */
.footer-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 32px;
    padding: 48px 0;
}

.footer-links strong {
    display: block;
    margin-bottom: 12px;
    font-size: 0.85rem;
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: var(--muted);
}

.footer-links a {
    display: block;
    margin-bottom: 10px;
    color: var(--muted-strong);
    transition: color 180ms ease;
}

.footer-links a:hover {
    color: var(--cyan);
}

/* Mobile Responsiveness Improvements */
@media (max-width: 768px) {
    .page-hero {
        padding: 60px 0 40px;
    }

    .page-hero h1 {
        font-size: 2rem;
    }

    .split-grid {
        grid-template-columns: 1fr !important;
    }

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

    .feature-grid {
        grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
        gap: 16px;
    }

    .feature-card {
        padding: 20px;
    }

    .form-group input,
    .form-group select,
    .form-group textarea {
        font-size: 16px;
    }

    .max-width-prose {
        padding: 0 16px;
    }
}

/* Search filtering styles */
.is-hidden {
    display: none !important;
}

.empty-message {
    text-align: center;
    padding: 3rem 1rem;
    font-size: 1.125rem;
    color: var(--muted);
    margin: 2rem 0;
}

@media (max-width: 480px) {
    .page-hero h1 {
        font-size: 1.6rem;
    }

    .feature-grid {
        grid-template-columns: 1fr;
    }

    .ad-728x90 {
        max-width: 100%;
        height: auto;
        aspect-ratio: 728 / 90;
        min-height: 80px;
    }
}