@import url("https://fonts.googleapis.com/css2?family=Rajdhani:wght@500;600;700&family=Inter:wght@400;500;600;700&display=swap");

:root {
    color-scheme: dark;
    --bg: #0a1020;
    --bg-soft: #12192d;
    --panel: rgba(22, 28, 47, 0.94);
    --panel-alt: rgba(29, 36, 58, 0.96);
    --panel-soft: rgba(255, 255, 255, 0.05);
    --line: rgba(255, 255, 255, 0.08);
    --line-strong: rgba(255, 255, 255, 0.14);
    --text: #f4f7ff;
    --muted: #8f99b4;
    --brand: #3f7cff;
    --brand-soft: #5a8cff;
    --accent: #ffc53d;
    --danger: #ff667a;
    --shadow: 0 18px 42px rgba(0, 0, 0, 0.38);
    --radius: 16px;
    --radius-sm: 12px;
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    font-family: "Inter", "Segoe UI", sans-serif;
    color: var(--text);
    background:
        radial-gradient(circle at top, rgba(78, 122, 255, 0.18), transparent 22rem),
        linear-gradient(180deg, #0a1020 0%, #0d1324 32%, #0a1020 100%);
}

a {
    color: inherit;
}

code {
    font-family: Consolas, monospace;
    background: rgba(255, 255, 255, 0.08);
    padding: 0.15rem 0.35rem;
    border-radius: 6px;
}

h1,
h2,
h3,
p {
    margin-top: 0;
}

h1,
h2,
h3,
.brand-mark strong,
.metric-card strong,
.band-card strong,
.load-more-button,
.tab-button,
.button {
    font-family: "Rajdhani", sans-serif;
}

a,
button,
select,
input {
    font: inherit;
}

.container {
    width: min(1320px, calc(100% - 1.25rem));
    margin: 0 auto;
}

.site-header,
.site-footer {
    position: relative;
}

.portal-shell::before {
    content: "";
    position: absolute;
    inset: 0 0 auto 0;
    height: 18rem;
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.04), transparent);
    pointer-events: none;
}

.portal-shell::after {
    content: "";
    position: absolute;
    inset: 0 0 auto 0;
    height: 28rem;
    background:
        radial-gradient(circle at 15% 15%, rgba(255, 197, 61, 0.12), transparent 18rem),
        radial-gradient(circle at 85% 5%, rgba(85, 124, 255, 0.16), transparent 20rem);
    pointer-events: none;
}

.portal-topbar {
    display: grid;
    grid-template-columns: auto minmax(220px, 1fr) auto;
    gap: 0.8rem;
    align-items: center;
    padding: 0.65rem 0 0.45rem;
}

.brand-mark {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    text-decoration: none;
}

.brand-badge {
    display: grid;
    place-items: center;
    width: 2.3rem;
    height: 2.3rem;
    border-radius: 999px;
    background: linear-gradient(145deg, #4e83ff, #6fd3ff);
    color: #0b1532;
    font-weight: 700;
    letter-spacing: 0.08em;
    box-shadow: inset 0 -2px 6px rgba(255, 255, 255, 0.28);
}

.brand-mark span {
    display: grid;
}

.brand-mark strong {
    font-size: 1.55rem;
    line-height: 1;
}

.brand-mark small {
    color: var(--muted);
    font-size: 0.82rem;
}

.nav-search {
    display: flex;
    align-items: center;
    gap: 0.55rem;
    min-height: 44px;
    border-radius: 6px;
    background: linear-gradient(180deg, rgba(26, 33, 54, 0.98), rgba(19, 26, 45, 0.98));
    border: 1px solid var(--line);
    padding: 0 0.85rem;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.04);
}

.nav-search input {
    width: 100%;
    border: 0;
    outline: 0;
    color: var(--text);
    background: transparent;
}

.nav-search input::placeholder {
    color: #7480a3;
}

.nav-search-icon {
    position: relative;
    width: 14px;
    height: 14px;
    border: 2px solid #7e8aae;
    border-radius: 999px;
    flex: 0 0 auto;
}

.nav-search-icon::after {
    content: "";
    position: absolute;
    width: 7px;
    height: 2px;
    right: -5px;
    bottom: -3px;
    background: #7e8aae;
    transform: rotate(45deg);
    border-radius: 999px;
}

.portal-actions {
    display: inline-flex;
    align-items: center;
    gap: 0.6rem;
}

.nav-button,
.theme-toggle,
.tab-button,
.sort-select select {
    min-height: 40px;
    border-radius: 6px;
    border: 1px solid var(--line);
    background: linear-gradient(180deg, rgba(28, 36, 60, 0.95), rgba(19, 25, 43, 0.95));
    color: var(--text);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.03);
}

.nav-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0 1rem;
    text-decoration: none;
    font-size: 1rem;
    font-weight: 600;
}

.nav-button-primary {
    border-color: rgba(85, 121, 255, 0.55);
}

.theme-toggle {
    width: 50px;
    padding: 0 4px;
    cursor: default;
}

.theme-toggle span {
    display: block;
    width: 16px;
    height: 16px;
    border-radius: 50%;
    margin-left: auto;
    background: linear-gradient(180deg, #ffd960, #f5b632);
    box-shadow: 0 0 12px rgba(255, 203, 71, 0.45);
}

.portal-hero {
    padding-bottom: 0.55rem;
}

.hero-banner {
    position: relative;
    min-height: 13.5rem;
    display: flex;
    align-items: center;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 0;
    background:
        linear-gradient(90deg, rgba(10, 14, 26, 0.82) 0%, rgba(10, 14, 26, 0.44) 38%, rgba(10, 14, 26, 0.2) 100%),
        url("https://images.unsplash.com/photo-1542751371-adc38448a05e?auto=format&fit=crop&w=1600&q=80") center/cover;
    box-shadow: var(--shadow);
}

.hero-banner::before {
    content: "";
    position: absolute;
    inset: 0;
    background:
        linear-gradient(120deg, transparent 0%, rgba(255, 255, 255, 0.08) 22%, transparent 40%),
        repeating-linear-gradient(90deg, rgba(255, 255, 255, 0.03) 0 1px, transparent 1px 80px);
    mix-blend-mode: screen;
    opacity: 0.45;
    animation: heroSweep 12s linear infinite;
}

.hero-banner::after {
    content: "";
    position: absolute;
    inset: 0;
    background:
        linear-gradient(180deg, rgba(255, 255, 255, 0.03), transparent 30%),
        linear-gradient(0deg, rgba(10, 15, 29, 0.28), transparent 42%);
}

.hero-banner-copy {
    position: relative;
    z-index: 1;
    width: min(32rem, 100%);
    padding: 1.15rem 1.45rem;
}

.hero-floaters {
    position: absolute;
    right: 1rem;
    bottom: 1rem;
    z-index: 1;
    display: flex;
    gap: 0.65rem;
    flex-wrap: wrap;
    justify-content: end;
    width: min(24rem, 52%);
}

.hero-floater {
    display: inline-flex;
    align-items: center;
    padding: 0.55rem 0.8rem;
    border-radius: 999px;
    border: 1px solid rgba(255, 255, 255, 0.12);
    background: rgba(13, 18, 33, 0.74);
    backdrop-filter: blur(10px);
    color: #d9e4ff;
    font-size: 0.74rem;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    animation: floaterRise 5.5s ease-in-out infinite;
}

.hero-floater:nth-child(2) {
    animation-delay: 0.7s;
}

.hero-floater:nth-child(3) {
    animation-delay: 1.4s;
}

.eyebrow {
    margin: 0 0 0.55rem;
    color: #7fa1ff;
    text-transform: uppercase;
    letter-spacing: 0.14em;
    font-size: 0.75rem;
    font-weight: 700;
}

h1 {
    max-width: 8ch;
    font-size: clamp(2.6rem, 6vw, 4.6rem);
    line-height: 0.95;
    margin-bottom: 0.9rem;
}

h2 {
    font-size: clamp(1.4rem, 3vw, 2rem);
    line-height: 1;
    margin-bottom: 0.3rem;
}

.hero-copy,
.result-count,
.site-footer p,
.detail-copy,
.detail-meta,
.empty-state p,
.ad-copy,
.consent-copy,
.legal-card p,
.hero-note-copy,
.band-card p,
.card-kicker,
.toolbar-label {
    color: var(--muted);
}

.hero-copy {
    max-width: 31rem;
    line-height: 1.5;
    font-size: 0.96rem;
}

.button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 42px;
    padding: 0.8rem 1.15rem;
    border-radius: 6px;
    border: 1px solid transparent;
    font-weight: 700;
    text-decoration: none;
}

.button-primary {
    background: linear-gradient(180deg, #ffd14d, #f4ad26);
    color: #20212c;
}

.button-secondary {
    border-color: var(--line-strong);
    background: linear-gradient(180deg, rgba(29, 36, 59, 0.98), rgba(21, 28, 48, 0.98));
}

.hero-cta {
    min-width: 120px;
}

.portal-main {
    padding-bottom: 2.5rem;
}

.category-ribbon,
.catalog-toolbar,
.ad-slot,
.toolbar,
.featured-game,
.empty-state,
.detail-layout,
.consent-banner,
.legal-card,
.status-panel {
    background: linear-gradient(180deg, rgba(23, 30, 50, 0.98), rgba(17, 24, 42, 0.98));
    border: 1px solid var(--line);
    box-shadow: var(--shadow);
}

.category-ribbon {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(110px, 1fr));
    gap: 0;
    border-radius: 0 0 10px 10px;
    overflow: hidden;
    margin-bottom: 0.7rem;
}

.filter-button {
    display: inline-flex;
    align-items: center;
    gap: 0.55rem;
    justify-content: center;
    min-height: 52px;
    padding: 0.65rem 0.8rem;
    border: 0;
    border-right: 1px solid rgba(255, 255, 255, 0.06);
    background: transparent;
    color: #d8def1;
    cursor: pointer;
}

.filter-button:last-child {
    border-right: 0;
}

.filter-button:hover,
.filter-button.is-active {
    background:
        linear-gradient(180deg, rgba(53, 81, 163, 0.22), transparent),
        rgba(255, 255, 255, 0.03);
}

.filter-button.is-active {
    box-shadow: inset 0 -3px 0 #3f7cff;
}

.filter-icon {
    display: inline-grid;
    place-items: center;
    width: 22px;
    height: 22px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.08);
    color: #cdd7f7;
    font-size: 0.72rem;
    font-weight: 700;
}

.featured-row {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 0.65rem;
    margin-bottom: 0.6rem;
}

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

.spotlight-column {
    min-width: 0;
}

.promo-shelf {
    display: grid;
    gap: 0.65rem;
}

.shelf-card {
    display: grid;
    grid-template-columns: 132px 1fr;
    gap: 0.75rem;
    min-width: 0;
    text-decoration: none;
    padding: 0.72rem;
    border-radius: 8px;
    border: 1px solid var(--line);
    background: linear-gradient(180deg, rgba(23, 30, 50, 0.98), rgba(16, 22, 38, 0.98));
    box-shadow: var(--shadow);
    transition: transform 180ms ease, border-color 180ms ease;
}

.shelf-card:hover,
.route-card:hover,
.quick-play-card:hover,
.featured-tile:hover {
    transform: translateY(-2px);
    border-color: rgba(98, 136, 255, 0.45);
}

.shelf-card-media {
    position: relative;
    min-height: 92px;
    border-radius: 6px;
    overflow: hidden;
    background: #12192d;
}

.shelf-card-media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.shelf-card-badge {
    position: absolute;
    left: 0.45rem;
    top: 0.45rem;
    display: inline-flex;
    align-items: center;
    padding: 0.22rem 0.45rem;
    border-radius: 999px;
    background: rgba(7, 11, 20, 0.78);
    border: 1px solid rgba(255, 255, 255, 0.14);
    color: #f4f7ff;
    font-size: 0.66rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.shelf-card-copy {
    min-width: 0;
}

.shelf-card-copy h3 {
    margin: 0.15rem 0 0.28rem;
    font-size: 1.35rem;
    line-height: 0.95;
}

.shelf-card-copy p {
    margin: 0;
    color: var(--muted);
    font-size: 0.82rem;
    line-height: 1.45;
}

.mini-rail {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 0.6rem;
    margin-bottom: 0.7rem;
}

.route-grid {
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: 0.6rem;
    margin-bottom: 0.7rem;
}

.route-card {
    display: block;
    padding: 0.9rem;
    border-radius: 4px;
    text-decoration: none;
    background: linear-gradient(180deg, rgba(23, 30, 50, 0.98), rgba(17, 24, 42, 0.98));
    border: 1px solid var(--line);
    box-shadow: var(--shadow);
    transition: transform 180ms ease, border-color 180ms ease;
}

.route-card strong {
    display: block;
    margin: 0.3rem 0 0.35rem;
    font-size: 1.15rem;
}

.route-card p {
    margin: 0;
    color: var(--muted);
    line-height: 1.45;
    font-size: 0.82rem;
}

.featured-header {
    display: flex;
    justify-content: space-between;
    align-items: end;
    gap: 1rem;
    margin-bottom: 0.5rem;
}

.featured-tile {
    position: relative;
    min-height: 8.8rem;
    overflow: hidden;
    border-radius: 4px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    background: #12192d;
    box-shadow: var(--shadow);
    transition: transform 180ms ease, border-color 180ms ease;
}

.featured-tile img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.featured-tile::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, transparent 12%, rgba(6, 10, 18, 0.78) 100%);
}

.featured-tile-copy {
    position: absolute;
    inset: auto 0 0 0;
    z-index: 1;
    padding: 0.58rem;
}

.featured-tile-topline {
    display: flex;
    justify-content: space-between;
    gap: 0.5rem;
    margin-bottom: 0.35rem;
    font-size: 0.7rem;
    color: #dce4ff;
}

.featured-tile h3 {
    margin: 0 0 0.2rem;
    font-size: 1.25rem;
    line-height: 0.95;
    text-shadow: 0 2px 16px rgba(0, 0, 0, 0.45);
}

.card-kicker {
    margin: 0;
    font-size: 0.76rem;
}

.card-submeta {
    margin-top: 0.3rem;
    color: #c8d4f8;
    font-size: 0.68rem;
    line-height: 1.35;
}

.sponsor-tag,
.rank-chip {
    display: inline-flex;
    align-items: center;
    border-radius: 999px;
    padding: 0.18rem 0.45rem;
    font-size: 0.66rem;
    font-weight: 700;
}

.sponsor-tag {
    background: rgba(255, 255, 255, 0.12);
}

.rank-chip {
    background: linear-gradient(180deg, #ffd14d, #f4b13c);
    color: #1d2232;
}

.catalog-toolbar {
    display: flex;
    justify-content: space-between;
    gap: 1rem;
    align-items: center;
    padding: 0.65rem;
    border-radius: 4px;
    margin-bottom: 0.6rem;
}

.catalog-tabs,
.catalog-toolbar-right {
    display: flex;
    gap: 0.7rem;
    align-items: center;
    flex-wrap: wrap;
}

.tab-button {
    padding: 0 0.95rem;
    cursor: pointer;
    color: #d8e0ff;
}

.tab-button.is-active {
    border-color: rgba(88, 124, 255, 0.65);
    box-shadow: inset 0 -2px 0 #527eff;
}

.sort-select select {
    padding: 0 0.85rem;
    min-width: 180px;
    appearance: none;
}

.section-head {
    display: flex;
    justify-content: space-between;
    align-items: end;
    gap: 1rem;
    margin-bottom: 0.65rem;
}

.section-head-tight {
    margin-top: 0.55rem;
}

.promo-strip {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 0.6rem;
    margin-bottom: 0.7rem;
}

.stats-band {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 0.7rem;
    margin-bottom: 0.8rem;
}

.band-card {
    position: relative;
    overflow: hidden;
    padding: 0.95rem 1rem;
    border-radius: 10px;
    border: 1px solid var(--line);
    background:
        linear-gradient(180deg, rgba(24, 31, 52, 0.98), rgba(14, 20, 36, 0.98)),
        radial-gradient(circle at top right, rgba(255, 209, 77, 0.08), transparent 30%);
    box-shadow: var(--shadow);
}

.band-card::after {
    content: "";
    position: absolute;
    inset: auto -2rem -2rem auto;
    width: 7rem;
    height: 7rem;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(63, 124, 255, 0.18), transparent 65%);
    pointer-events: none;
}

.band-label {
    display: inline-block;
    margin-bottom: 0.45rem;
    color: #8fb0ff;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    font-size: 0.68rem;
    font-weight: 700;
}

.band-card strong {
    display: block;
    font-size: 1.45rem;
    line-height: 0.95;
    margin-bottom: 0.35rem;
}

.band-card p {
    margin: 0;
    color: var(--muted);
    line-height: 1.45;
    font-size: 0.82rem;
}

.live-strip {
    display: grid;
    grid-template-columns: auto 1fr;
    gap: 0.9rem;
    align-items: center;
    padding: 0.9rem 1rem;
    margin-bottom: 0.8rem;
    border-radius: 10px;
    border: 1px solid var(--line);
    background: linear-gradient(180deg, rgba(23, 30, 50, 0.98), rgba(17, 24, 42, 0.98));
    box-shadow: var(--shadow);
}

.live-strip-label {
    display: inline-flex;
    align-items: center;
    gap: 0.65rem;
    white-space: nowrap;
}

.live-dot {
    width: 0.7rem;
    height: 0.7rem;
    border-radius: 50%;
    background: #ff5e72;
    box-shadow: 0 0 0 0 rgba(255, 94, 114, 0.55);
    animation: livePulse 1.6s infinite;
}

.live-strip-track-wrap {
    overflow: hidden;
    mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
}

.live-strip-track {
    display: inline-flex;
    gap: 0.7rem;
    min-width: max-content;
    animation: tickerScroll 28s linear infinite;
}

.live-pill {
    display: inline-flex;
    align-items: center;
    gap: 0.6rem;
    min-height: 46px;
    padding: 0 0.9rem;
    border-radius: 999px;
    text-decoration: none;
    border: 1px solid rgba(255, 255, 255, 0.08);
    background: rgba(255, 255, 255, 0.04);
    color: #dfebff;
}

.live-pill strong {
    font-family: "Rajdhani", sans-serif;
    font-size: 1rem;
}

.live-pill span:last-child {
    color: var(--muted);
    font-size: 0.78rem;
}

.live-pill-index {
    display: inline-grid;
    place-items: center;
    width: 1.8rem;
    height: 1.8rem;
    border-radius: 50%;
    background: linear-gradient(180deg, #ffd14d, #f4ad26);
    color: #1b2131;
    font-size: 0.72rem;
    font-weight: 800;
}

.quick-play-spotlight {
    margin-bottom: 0.8rem;
}

.detail-signal-band {
    margin-top: 0.15rem;
}

.detail-spotlight {
    margin-top: 0.2rem;
}

.detail-floaters {
    position: relative;
    right: auto;
    bottom: auto;
    width: 100%;
    justify-content: start;
    margin-top: 0.9rem;
}

.quick-play-stack {
    display: grid;
    gap: 0.7rem;
}

.quick-play-card {
    display: block;
    padding: 0.95rem 1rem;
    border-radius: 8px;
    text-decoration: none;
    border: 1px solid rgba(255, 255, 255, 0.08);
    background:
        linear-gradient(180deg, rgba(19, 25, 43, 0.98), rgba(13, 18, 32, 0.98)),
        radial-gradient(circle at top right, rgba(255, 197, 61, 0.12), transparent 35%);
    transition: transform 180ms ease, border-color 180ms ease;
}

.quick-play-card strong {
    display: block;
    margin-bottom: 0.28rem;
    font-size: 1.22rem;
}

.quick-play-card p {
    margin: 0 0 0.45rem;
    color: var(--muted);
    line-height: 1.45;
}

.quick-play-meta {
    color: #cdd9ff;
    font-size: 0.74rem;
}

.promo-card,
.feature-spotlight {
    background: linear-gradient(180deg, rgba(23, 30, 50, 0.98), rgba(17, 24, 42, 0.98));
    border: 1px solid var(--line);
    box-shadow: var(--shadow);
}

.promo-card {
    padding: 0.8rem 0.9rem;
    border-radius: 4px;
}

.promo-card strong {
    display: block;
    margin: 0.25rem 0 0.3rem;
    font-size: 1.15rem;
}

.promo-card p {
    margin: 0;
    color: var(--muted);
    line-height: 1.45;
    font-size: 0.82rem;
}

.feature-spotlight {
    display: grid;
    grid-template-columns: 1.05fr 0.95fr;
    gap: 1rem;
    padding: 1rem;
    border-radius: 4px;
    margin-bottom: 0.7rem;
}

.feature-spotlight-copy {
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.feature-spotlight-media {
    min-height: 220px;
    border-radius: 4px;
    overflow: hidden;
}

.feature-spotlight-media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.portal-grid {
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: 0.6rem;
    padding-bottom: 0;
}

.game-grid {
    display: grid;
}

.game-card {
    overflow: hidden;
    border-radius: 4px;
    background: linear-gradient(180deg, rgba(24, 31, 52, 0.98), rgba(15, 22, 39, 0.98));
    border: 1px solid rgba(255, 255, 255, 0.08);
    box-shadow: var(--shadow);
    transition: transform 180ms ease, border-color 180ms ease, box-shadow 180ms ease;
}

.game-link {
    text-decoration: none;
    display: block;
}

.game-card img,
.detail-media img,
.featured-visual img,
.game-frame {
    width: 100%;
    display: block;
    object-fit: cover;
}

.game-card img {
    aspect-ratio: 1.25 / 0.82;
}

.card-body {
    padding: 0.55rem;
    background: linear-gradient(180deg, rgba(18, 25, 42, 0.7), rgba(15, 22, 39, 0.96));
}

.card-body h3 {
    margin: 0 0 0.2rem;
    font-size: 1.18rem;
    line-height: 0.92;
}

.game-card p {
    margin: 0;
    min-height: auto;
    line-height: 1.45;
}

.chip-row,
.card-meta,
.detail-meta,
.hero-actions,
.footer-links,
.detail-actions,
.hero-pills {
    display: flex;
    gap: 0.5rem;
    flex-wrap: wrap;
}

.chip-row {
    margin-bottom: 0.45rem;
}

.chip {
    display: inline-flex;
    align-items: center;
    gap: 0.3rem;
    padding: 0.25rem 0.55rem;
    border-radius: 999px;
    font-size: 0.68rem;
    font-weight: 700;
}

.chip-link {
    text-decoration: none;
}

.chip-primary {
    background: rgba(73, 117, 255, 0.2);
    color: #a9c0ff;
}

.chip-secondary {
    background: rgba(255, 255, 255, 0.09);
    color: #d6def9;
}

.chip-warning {
    background: rgba(255, 201, 61, 0.18);
    color: #ffd46d;
}

.card-meta,
.detail-meta {
    margin-top: 0.35rem;
    font-size: 0.68rem;
    color: #a4b2d5;
}

.footer-links-text a:hover,
.nav-button:hover,
.tab-button:hover,
.load-more-button:hover,
.live-pill:hover {
    color: #ffffff;
    border-color: rgba(103, 136, 255, 0.45);
}

.load-more-button:hover {
    background: linear-gradient(180deg, rgba(41, 50, 79, 0.98), rgba(24, 31, 52, 0.98));
}

.live-pill:hover {
    background: rgba(255, 255, 255, 0.08);
}

.quick-play-card:hover,
.game-card:hover,
.featured-tile:hover,
.route-card:hover {
    transform: translateY(-4px);
    border-color: rgba(122, 156, 255, 0.4);
}

.load-more-wrap {
    display: flex;
    justify-content: center;
    margin: 0.6rem 0 0.8rem;
}

.load-more-button {
    min-width: 145px;
    min-height: 40px;
    border-radius: 4px;
    border: 1px solid var(--line-strong);
    background: linear-gradient(180deg, rgba(31, 39, 63, 0.98), rgba(20, 27, 45, 0.98));
    color: var(--text);
    cursor: pointer;
    box-shadow: var(--shadow);
}

.featured-game,
.detail-layout {
    display: grid;
    grid-template-columns: minmax(0, 0.58fr) minmax(0, 1.42fr);
    gap: 0.9rem;
    padding: 0.85rem;
    border-radius: 10px;
    margin-bottom: 0.85rem;
}

.featured-visual,
.detail-media {
    min-height: 220px;
    border-radius: 12px;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.08);
    background: rgba(255, 255, 255, 0.04);
}

.detail-copy-panel {
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 0.15rem 0.1rem;
}

.detail-media-play {
    min-height: 620px;
}

.ad-slot {
    border-radius: 4px;
    margin-top: 0.75rem;
    padding: 0.7rem;
}

.ad-slot-banner .ad-slot-frame {
    min-height: 88px;
}

.ad-slot-square .ad-slot-frame {
    min-height: 180px;
    max-width: 340px;
    margin-inline: auto;
}

.ad-slot-inner {
    display: grid;
    gap: 0.55rem;
}

.ad-slot-frame {
    display: grid;
    place-items: center;
    padding: 1rem;
    text-align: center;
    border-radius: 4px;
    border: 1px dashed rgba(255, 255, 255, 0.16);
    background:
        linear-gradient(180deg, rgba(46, 60, 97, 0.22), rgba(13, 19, 33, 0.2)),
        rgba(14, 18, 32, 0.95);
}

.ad-label {
    text-transform: uppercase;
    letter-spacing: 0.12em;
    font-size: 0.7rem;
    color: #88a2ff;
    font-weight: 700;
}

.site-footer {
    border-top: 1px solid rgba(255, 255, 255, 0.07);
    padding: 0.95rem 0 1.2rem;
}

.footer-layout {
    display: flex;
    justify-content: space-between;
    gap: 1rem;
    align-items: center;
    flex-wrap: wrap;
}

.footer-layout-portal {
    font-size: 0.86rem;
}

.footer-links {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

.footer-links-text a {
    color: var(--muted);
    text-decoration: none;
}

.consent-banner {
    position: fixed;
    left: 1rem;
    right: 1rem;
    bottom: 1rem;
    z-index: 50;
    padding: 1rem;
    border-radius: var(--radius);
}

.consent-layout {
    display: flex;
    justify-content: space-between;
    gap: 1rem;
    align-items: center;
    flex-wrap: wrap;
}

.legal-page {
    padding: 2rem 0 3rem;
    display: grid;
    gap: 1rem;
}

.legal-card,
.status-panel {
    padding: 1.25rem;
    border-radius: var(--radius);
}

.admin-auth-shell {
    padding: 2rem 0 3rem;
}

.auth-card {
    width: min(520px, 100%);
    margin: 3rem auto 0;
}

.admin-auth-form {
    display: grid;
    gap: 0.9rem;
    margin-top: 1rem;
}

.status-list {
    padding-left: 1rem;
}

.admin-form-shell {
    padding: 1rem;
    border-radius: 10px;
    margin-bottom: 0.8rem;
}

.admin-audit-shell {
    padding: 1rem;
    border-radius: 10px;
    margin-bottom: 1rem;
}

.admin-curation-shell {
    padding: 1rem;
    border-radius: 10px;
    margin-bottom: 0.9rem;
}

.admin-status-card {
    padding: 0.95rem 1rem;
    border-radius: 8px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    background: rgba(11, 16, 28, 0.82);
}

.admin-status-card p {
    margin: 0.55rem 0 0.65rem;
    color: var(--muted);
    line-height: 1.5;
}

.admin-status-top {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 0.75rem;
}

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

.admin-curation-column {
    padding: 0.9rem;
    border-radius: 8px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    background: rgba(11, 16, 28, 0.82);
}

.admin-curation-head {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 0.75rem;
}

.admin-curation-list {
    display: grid;
    gap: 0.55rem;
}

.admin-curation-item {
    display: grid;
    grid-template-columns: 42px 1fr 84px auto;
    gap: 0.65rem;
    align-items: center;
    width: 100%;
    padding: 0.7rem;
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 8px;
    background: rgba(16, 22, 38, 0.9);
}

.admin-curation-rank {
    display: inline-grid;
    place-items: center;
    width: 2rem;
    height: 2rem;
    border-radius: 999px;
    background: linear-gradient(180deg, #ffd14d, #f4ad26);
    color: #1d2232;
    font-weight: 700;
}

.admin-curation-copy {
    display: grid;
    gap: 0.18rem;
    min-width: 0;
}

.admin-curation-copy strong {
    font-size: 1rem;
}

.admin-curation-copy span {
    color: var(--muted);
    font-size: 0.76rem;
}

.admin-curation-order input {
    width: 100%;
    min-height: 40px;
    border: 1px solid var(--line);
    border-radius: 8px;
    background: rgba(12, 17, 30, 0.92);
    color: var(--text);
    padding: 0.55rem 0.65rem;
}

.admin-form-grid,
.admin-review-form {
    display: grid;
    gap: 0.75rem;
}

.admin-form-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
}

.admin-review-form {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    margin-top: 0.75rem;
    padding-top: 0.75rem;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.admin-field {
    display: grid;
    gap: 0.35rem;
}

.admin-field span {
    font-size: 0.72rem;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: #9cb0ea;
    font-weight: 700;
}

.admin-field input,
.admin-field textarea,
.admin-field select {
    width: 100%;
    min-height: 42px;
    border: 1px solid var(--line);
    border-radius: 8px;
    background: rgba(12, 17, 30, 0.92);
    color: var(--text);
    padding: 0.75rem 0.85rem;
}

.admin-field textarea {
    resize: vertical;
    min-height: 92px;
}

.admin-field-wide {
    grid-column: span 2;
}

.admin-submit-row {
    display: flex;
    align-items: end;
}

.admin-toggle {
    align-content: center;
    justify-items: start;
}

.admin-toggle input {
    width: auto;
    min-height: auto;
}

.admin-check-group {
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 8px;
    padding: 0.8rem 0.85rem;
    margin: 0;
}

.admin-check-group legend {
    padding: 0 0.35rem;
    color: #9cb0ea;
    font-size: 0.72rem;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    font-weight: 700;
}

.admin-check-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 0.65rem;
}

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

.admin-check {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    min-height: 42px;
    padding: 0.55rem 0.65rem;
    border: 1px solid var(--line);
    border-radius: 8px;
    background: rgba(12, 17, 30, 0.72);
}

.admin-check input {
    width: auto;
    min-height: auto;
    margin: 0;
}

.admin-check span {
    color: var(--text);
    font-size: 0.82rem;
    letter-spacing: 0.02em;
    text-transform: none;
    font-weight: 600;
}

.admin-audit-list {
    display: grid;
    gap: 0.7rem;
    margin-top: 0.75rem;
}

.admin-audit-item {
    padding: 0.85rem 0.9rem;
    border-radius: 8px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    background: rgba(11, 16, 28, 0.82);
}

.admin-audit-item p {
    margin: 0.45rem 0 0;
    color: var(--muted);
}

.admin-audit-top {
    display: flex;
    justify-content: space-between;
    gap: 0.75rem;
    align-items: center;
}

.admin-import-toolbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    margin-bottom: 1rem;
}

.admin-bulk-import-form {
    display: grid;
    gap: 0.75rem;
    margin-bottom: 1rem;
}

.admin-import-list {
    display: grid;
    gap: 0.7rem;
}

.admin-import-item {
    padding: 0.95rem 1rem;
    border-radius: 8px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    background: rgba(11, 16, 28, 0.82);
}

.admin-import-top {
    display: flex;
    justify-content: space-between;
    gap: 0.75rem;
    align-items: start;
}

.game-frame {
    width: 100%;
    min-height: 620px;
    border: 0;
    border-radius: 12px;
    background: #000;
}

.empty-state {
    padding: 2rem;
    border-radius: var(--radius);
    text-align: center;
    margin-bottom: 2rem;
}

.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;
}

.hidden {
    display: none !important;
}

@media (max-width: 1024px) {
    .stats-band {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }

    .spotlight-grid,
    .featured-row,
    .mini-rail,
    .route-grid,
    .portal-grid,
    .promo-strip {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }

    .portal-topbar {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 860px) {
    .featured-game,
    .detail-layout,
    .feature-spotlight,
    .footer-layout,
    .featured-header,
    .section-head,
    .catalog-toolbar {
        grid-template-columns: 1fr;
        flex-direction: column;
        align-items: start;
    }

    .category-ribbon,
    .spotlight-grid,
    .featured-row,
    .mini-rail,
    .route-grid,
    .portal-grid,
    .stats-band,
    .promo-strip,
    .admin-form-grid,
    .admin-review-form,
    .admin-check-grid,
    .admin-shelf-order-grid,
    .admin-curation-board {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .live-strip,
    .quick-play-spotlight {
        grid-template-columns: 1fr;
    }

    .admin-import-toolbar {
        flex-direction: column;
        align-items: start;
    }

    .hero-floaters {
        position: relative;
        right: auto;
        bottom: auto;
        width: 100%;
        justify-content: start;
        padding: 0 1.25rem 1rem;
    }
}

@media (max-width: 640px) {
    .container {
        width: min(100% - 0.8rem, 1200px);
    }

    h1 {
        font-size: clamp(2.2rem, 12vw, 3.1rem);
    }

    .hero-banner-copy,
    .featured-game,
    .detail-layout {
        padding: 1rem;
    }

    .category-ribbon,
    .spotlight-grid,
    .featured-row,
    .mini-rail,
    .route-grid,
    .portal-grid,
    .stats-band,
    .promo-strip,
    .admin-form-grid,
    .admin-review-form,
    .admin-check-grid,
    .admin-shelf-order-grid,
    .admin-curation-board {
        grid-template-columns: 1fr;
    }

    .live-strip {
        padding: 0.8rem;
    }

    .live-strip-track {
        animation-duration: 34s;
    }

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

    .shelf-card-media {
        min-height: 140px;
    }

    .hero-floater {
        font-size: 0.68rem;
    }

    .admin-field-wide {
        grid-column: auto;
    }
}

@keyframes heroSweep {
    0% {
        transform: translateX(-12%);
    }
    100% {
        transform: translateX(12%);
    }
}

@keyframes floaterRise {
    0%,
    100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-6px);
    }
}

@keyframes livePulse {
    0% {
        box-shadow: 0 0 0 0 rgba(255, 94, 114, 0.55);
    }
    70% {
        box-shadow: 0 0 0 10px rgba(255, 94, 114, 0);
    }
    100% {
        box-shadow: 0 0 0 0 rgba(255, 94, 114, 0);
    }
}

@keyframes tickerScroll {
    0% {
        transform: translateX(0);
    }
    100% {
        transform: translateX(-50%);
    }
}
