:root {
  --bg: #0b0d19;
  --bg-raised: #131827;
  --panel: rgba(255,255,255,.05);
  --panel-strong: rgba(255,255,255,.08);
  --line: rgba(0,243,255,.18);
  --text: #f3f7ff;
  --muted: #9ba8c2;
  --cyan: #00f3ff;
  --pink: #ff007f;
  --violet: #8d5cff;
  --max: 1280px;
}

* { box-sizing: border-box; }
html { overflow-x: hidden; scroll-behavior: smooth; }
body { margin: 0; background: var(--bg); color: var(--text); font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif; font-size: 15px; line-height: 1.45; }
body::before { position: fixed; z-index: -1; inset: 0; content: ""; pointer-events: none; background: linear-gradient(rgba(0,243,255,.025) 1px, transparent 1px), linear-gradient(90deg, rgba(0,243,255,.025) 1px, transparent 1px), radial-gradient(850px 440px at 86% -10%, rgba(141,92,255,.18), transparent 68%), radial-gradient(700px 390px at 5% 36%, rgba(255,0,127,.1), transparent 70%); background-size: 48px 48px, 48px 48px, auto, auto; }
a { color: inherit; text-decoration: none; } img { display: block; max-width: 100%; }
.shell { width: min(calc(100% - 36px), var(--max)); margin: 0 auto; }
.site-header { position: sticky; top: 0; z-index: 20; background: rgba(13,15,23,.88); border-bottom: 1px solid rgba(0,243,255,.22); backdrop-filter: blur(18px); }
.nav-row { min-height: 62px; display: flex; align-items: center; gap: 26px; }.wordmark { display: inline-grid; grid-template-columns: 27px auto auto; align-items: center; gap: 1px; color: #fff; font-size: 18px; font-weight: 900; letter-spacing: .4px; line-height: 1; text-shadow: 0 0 14px rgba(0,243,255,.3); }.wordmark strong { color: var(--pink); }.wordmark-mark { display: flex; align-items: end; gap: 3px; width: 21px; height: 21px; margin-right: 6px; }.wordmark-mark i { display: block; width: 4px; height: 10px; background: var(--cyan); box-shadow: 0 0 9px var(--cyan); }.wordmark-mark i:nth-child(2) { height: 18px; background: var(--pink); box-shadow: 0 0 9px var(--pink); }.wordmark-mark i:nth-child(3) { height: 14px; background: var(--violet); box-shadow: 0 0 9px var(--violet); }
.nav-links { display: flex; gap: 20px; margin-left: auto; color: #c7d1e8; font-size: 13px; font-weight: 750; }.nav-links a:hover { color: var(--cyan); text-shadow: 0 0 12px var(--cyan); }.nav-contact, .button { display: inline-flex; align-items: center; justify-content: center; gap: 7px; min-height: 34px; padding: 0 13px; border: 1px solid var(--cyan); color: var(--cyan); font-size: 12px; font-weight: 900; letter-spacing: .3px; transition: background .2s, box-shadow .2s, color .2s; }.nav-contact:hover, .button-primary { background: var(--cyan); color: #071018; box-shadow: 0 0 18px rgba(0,243,255,.55); }.button-primary:hover { background: #fff; border-color: #fff; box-shadow: 0 0 24px rgba(0,243,255,.7); }.button-secondary { border-color: var(--pink); color: var(--pink); }.button-secondary:hover { background: var(--pink); color: #fff; box-shadow: 0 0 18px rgba(255,0,127,.6); }
.kicker, .eyebrow { margin: 0 0 6px; color: var(--cyan); font-size: 10px; font-weight: 900; letter-spacing: 1.5px; text-transform: uppercase; text-shadow: 0 0 11px rgba(0,243,255,.45); } h1, h2, h3, p { margin-top: 0; } h1, h2, h3 { letter-spacing: 0; } h1 { font-size: clamp(36px, 5vw, 70px); line-height: .95; } h2 { font-size: clamp(25px, 3vw, 38px); line-height: 1.02; }
.text-link, .card-play { display: inline-flex; align-items: center; gap: 6px; color: var(--cyan); font-size: 12px; font-weight: 850; }.text-link:hover, .card-play:hover { color: var(--pink); text-shadow: 0 0 10px rgba(255,0,127,.7); }.tag { display: inline-flex; padding: 3px 5px; border: 1px solid rgba(0,243,255,.38); background: rgba(0,243,255,.08); color: var(--cyan); font-size: 8px; font-weight: 900; letter-spacing: .8px; text-transform: uppercase; }.tag-puzzle { border-color: rgba(141,92,255,.7); background: rgba(141,92,255,.13); color: #c9b6ff; }.tag-casual { border-color: rgba(255,0,127,.7); background: rgba(255,0,127,.11); color: #ff9acc; }.tag-sports { border-color: rgba(0,243,255,.7); }.tag-action { border-color: rgba(255,115,179,.8); background: rgba(255,0,127,.11); color: #ffb0d7; }.tag-racing { border-color: rgba(0,243,255,.7); }.tag-strategy { border-color: rgba(141,92,255,.7); color: #c9b6ff; }.tag-arcade { border-color: rgba(0,243,255,.7); }
.category-strip { border-bottom: 1px solid var(--line); background: rgba(19,24,39,.82); overflow: hidden; }.category-strip-inner { display: grid; grid-template-columns: repeat(8, minmax(0, 1fr)); width: 100%; }.category-strip a { display: grid; min-height: 43px; place-items: center; padding: 0 7px; border-left: 1px solid rgba(0,243,255,.12); color: #cbd7ed; font-size: 11px; font-weight: 850; text-align: center; transition: background .18s, color .18s, box-shadow .18s; }.category-strip a:hover { background: rgba(0,243,255,.1); color: var(--cyan); box-shadow: inset 0 -2px 0 var(--cyan); }
.home-intro { padding: 14px 0; border-bottom: 1px solid rgba(0,243,255,.1); background: rgba(255,255,255,.018); }.home-intro .shell, .home-intro .shell > div { display: flex; align-items: baseline; gap: 15px; }.home-intro .kicker { flex: 0 0 auto; margin: 0; }.home-intro h1 { margin: 0; color: #fff; font-size: 28px; text-shadow: 0 0 18px rgba(0,243,255,.25); }.home-intro p:not(.kicker) { margin: 0; color: var(--muted); font-size: 12px; }
.spotlight-section, .portal-section { padding: 26px 0; }.section-top { display: flex; justify-content: space-between; align-items: end; gap: 20px; margin-bottom: 13px; }.section-top h2 { margin: 0; font-size: 25px; }.spotlight-grid { display: grid; grid-template-columns: 2fr repeat(4, minmax(0, 1fr)); gap: 11px; }.spotlight-card { grid-row: span 2; min-width: 0; padding: 7px; border: 1px solid rgba(0,243,255,.18); background: var(--panel); }.spotlight-art { position: relative; display: block; overflow: hidden; aspect-ratio: 1.78; background: var(--bg-raised); }.spotlight-art img, .game-thumb img { width: 100%; height: 100%; object-fit: cover; transition: transform .24s ease, filter .24s ease; }.spotlight-card:hover, .game-card:hover { border-color: rgba(0,243,255,.85); box-shadow: 0 0 14px rgba(0,243,255,.14), inset 0 0 18px rgba(0,243,255,.035); }.spotlight-card:hover img, .game-card:hover img { transform: scale(1.045); filter: saturate(1.15) contrast(1.04); }.spotlight-copy { padding: 9px 2px 1px; }.spotlight-copy h2 { overflow: hidden; margin: 5px 0; font-size: 18px; text-overflow: ellipsis; white-space: nowrap; }.spotlight-copy p { display: -webkit-box; overflow: hidden; min-height: 29px; margin: 0 0 6px; color: var(--muted); font-size: 10px; line-height: 1.45; -webkit-box-orient: vertical; -webkit-line-clamp: 2; }
.game-grid { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 11px; }.game-card { min-width: 0; padding: 5px; border: 1px solid rgba(255,255,255,.09); background: var(--panel); transition: border-color .2s, box-shadow .2s, transform .2s; }.game-card:hover { transform: translateY(-2px); }.game-thumb { position: relative; display: block; overflow: hidden; aspect-ratio: 1.25; background: var(--bg-raised); }.play-chip { position: absolute; right: 7px; bottom: 7px; display: grid; place-items: center; width: 28px; height: 28px; border: 1px solid var(--cyan); border-radius: 50%; background: rgba(13,15,23,.78); color: var(--cyan); font-size: 9px; box-shadow: 0 0 12px rgba(0,243,255,.35); }.game-card:hover .play-chip, .spotlight-card:hover .play-chip { border-color: var(--pink); color: var(--pink); box-shadow: 0 0 14px rgba(255,0,127,.55); }.game-badge { position: absolute; top: 6px; left: 6px; padding: 3px 5px; border: 1px solid var(--pink); background: rgba(13,15,23,.78); color: var(--pink); font-size: 8px; font-weight: 900; letter-spacing: .7px; }.game-card-copy { padding: 7px 1px 1px; }.game-card h2 { overflow: hidden; margin: 5px 0; color: #f5f8ff; font-size: 14px; line-height: 1.08; text-overflow: ellipsis; white-space: nowrap; }.game-card-copy p { display: -webkit-box; overflow: hidden; min-height: 28px; margin-bottom: 6px; color: var(--muted); font-size: 10px; line-height: 1.38; -webkit-box-orient: vertical; -webkit-line-clamp: 2; }
.hot-zone { position: relative; overflow: hidden; padding: 28px 0; border-top: 1px solid rgba(255,0,127,.2); border-bottom: 1px solid rgba(255,0,127,.2); background: linear-gradient(100deg, rgba(255,0,127,.09), rgba(13,15,23,.2) 38%, rgba(0,243,255,.08)); }.hot-zone::after { position: absolute; right: 2%; bottom: -35px; content: "HOT"; color: rgba(255,0,127,.055); font-size: 150px; font-weight: 900; line-height: 1; }.hot-zone .kicker, .hot-zone .text-link { color: var(--pink); text-shadow: 0 0 11px rgba(255,0,127,.45); }.hot-zone .game-card { position: relative; z-index: 1; }.hot-zone .game-badge { border-color: var(--cyan); color: var(--cyan); }
.play-guide { display: grid; grid-template-columns: .82fr 1.4fr; align-items: center; gap: 35px; border-top: 1px solid var(--line); }.play-guide > div:first-child > p:not(.kicker) { max-width: 380px; margin: 14px 0 18px; color: var(--muted); }.guide-mini-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 11px; }.guide-mini-grid .game-card-copy p, .guide-mini-grid .card-play { display: none; }
.collection-hero, .legal-hero { padding: 42px 0 26px; border-bottom: 1px solid var(--line); background: linear-gradient(110deg, rgba(0,243,255,.09), rgba(13,15,23,.15) 48%, rgba(255,0,127,.08)); }.collection-hero h1, .legal-hero h1 { margin: 0 0 9px; color: #fff; text-shadow: 0 0 22px rgba(0,243,255,.25); }.collection-hero > .shell > p:last-of-type, .legal-hero > .shell > p:last-child { max-width: 650px; color: var(--muted); font-size: 16px; }.collection-tabs { display: flex; gap: 7px; overflow-x: auto; padding-top: 14px; }.collection-tabs a { flex: 0 0 auto; padding: 6px 9px; border: 1px solid rgba(0,243,255,.25); color: #c9d8ee; font-size: 11px; font-weight: 800; }.collection-tabs a:hover, .collection-tabs a[aria-current] { border-color: var(--cyan); color: var(--cyan); box-shadow: 0 0 12px rgba(0,243,255,.23); }.collection-layout { padding: 24px 0 45px; }.collection-header { display: flex; justify-content: space-between; margin-bottom: 13px; color: var(--muted); font-size: 10px; font-weight: 850; letter-spacing: .8px; text-transform: uppercase; }.collection-grid .game-thumb { aspect-ratio: 1.22; }
.game-hero { border-bottom: 1px solid var(--line); background: linear-gradient(115deg, rgba(0,243,255,.08), rgba(13,15,23,.1) 55%, rgba(255,0,127,.1)); }.game-hero-inner { display: grid; grid-template-columns: 1fr 385px; gap: 50px; align-items: center; padding: 42px 0; }.game-hero h1 { margin: 0 0 13px; color: #fff; text-shadow: 0 0 22px rgba(0,243,255,.22); }.game-hero-copy > p:not(.kicker):not(.external-note) { max-width: 650px; color: var(--muted); font-size: 17px; }.hero-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 18px; margin-top: 20px; }.external-note { margin: 16px 0 0; color: var(--muted); font-size: 11px; }.game-hero-art { overflow: hidden; aspect-ratio: 1; border: 1px solid var(--cyan); background: var(--bg-raised); box-shadow: 6px 6px 0 rgba(255,0,127,.72), 0 0 18px rgba(0,243,255,.18); }.game-hero-art img { width: 100%; height: 100%; object-fit: cover; }
.guide-layout { display: grid; grid-template-columns: 160px minmax(0, 760px); gap: 46px; padding: 43px 0; }.guide-index { display: grid; align-content: start; gap: 9px; position: sticky; top: 81px; color: var(--muted); font-size: 12px; }.guide-index span { color: var(--cyan); font-weight: 900; }.guide-index a:hover { color: var(--pink); }.guide-content article { padding: 0 0 27px; margin-bottom: 27px; border-bottom: 1px solid rgba(0,243,255,.12); }.guide-content h2 { margin: 0 0 10px; font-size: 28px; }.guide-content h3 { margin: 22px 0 7px; color: #dce8fb; font-size: 16px; }.guide-content p { color: var(--muted); font-size: 16px; }.tip-panel { padding: 20px !important; border: 1px solid rgba(255,0,127,.5) !important; background: rgba(255,0,127,.07); box-shadow: inset 0 0 18px rgba(255,0,127,.04); }.tip-panel .eyebrow, .tip-panel h2, .tip-panel h3 { color: var(--pink); }.tip-panel p { color: #e6c7d8; }.related { padding: 0 0 46px; }.related-grid { grid-template-columns: repeat(3, 1fr); }
.legal-content { max-width: 830px; padding: 40px 0 54px; }.legal-content h2 { margin: 29px 0 10px; font-size: 27px; }.legal-content p, .legal-content li { color: var(--muted); }.legal-content a { color: var(--cyan); text-decoration: underline; }.updated { color: var(--muted) !important; font-size: 10px; font-weight: 900; letter-spacing: 1px; text-transform: uppercase; }.not-found { min-height: 55vh; padding: 74px 0; }
.player-body { background: var(--bg); color: var(--text); }.player-header { display: flex; align-items: center; justify-content: space-between; min-height: 62px; }.player-wrap { padding: 36px 0; }.player-wrap iframe, .player-message { width: 100%; aspect-ratio: 16 / 9; border: 1px solid var(--cyan); background: #05060a; box-shadow: 0 0 20px rgba(0,243,255,.13); }.player-message { display: grid; place-items: center; color: var(--muted); }.player-message[hidden] { display: none; }
.site-footer { border-top: 1px solid rgba(0,243,255,.2); background: rgba(6,8,13,.88); padding: 34px 0 13px; }.footer-grid { display: grid; grid-template-columns: 1.8fr 1fr 1fr; gap: 35px; }.footer-grid p { max-width: 300px; margin: 13px 0 0; color: var(--muted); font-size: 13px; }.footer-grid h2 { margin: 0 0 10px; color: var(--cyan); font-size: 10px; letter-spacing: 1.2px; text-transform: uppercase; }.footer-grid a:not(.wordmark) { display: block; margin: 6px 0; color: #c8d4e9; font-size: 12px; }.footer-grid a:hover { color: var(--pink); }.footer-bottom { display: flex; justify-content: space-between; gap: 16px; margin-top: 30px; padding-top: 11px; border-top: 1px solid rgba(255,255,255,.09); color: #768198; font-size: 9px; font-weight: 800; letter-spacing: .8px; text-transform: uppercase; }
@media (max-width: 1050px) { .spotlight-grid { grid-template-columns: 1.8fr repeat(3, minmax(0, 1fr)); }.game-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }.game-hero-inner { grid-template-columns: 1fr 330px; gap: 34px; } }
@media (max-width: 720px) { .shell { width: min(calc(100% - 26px), var(--max)); }.nav-row { min-height: 56px; gap: 12px; }.wordmark { font-size: 16px; }.nav-links { display: none; }.nav-contact { margin-left: auto; min-height: 31px; padding: 0 10px; font-size: 10px; }.category-strip { overflow: hidden; }.category-strip-inner { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); min-width: 0; width: 100%; }.category-strip a { min-height: 39px; padding: 0 6px; font-size: 10px; }.home-intro { padding: 13px 0; }.home-intro .shell, .home-intro .shell > div { display: block; }.home-intro .kicker { margin-bottom: 5px; }.home-intro h1 { font-size: 25px; }.home-intro p:not(.kicker) { margin-top: 5px; }.spotlight-section, .portal-section { padding: 21px 0; }.section-top { display: block; margin-bottom: 12px; }.section-top h2 { font-size: 23px; }.section-top .text-link { margin-top: 7px; }.spotlight-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }.spotlight-card { grid-column: span 2; grid-row: auto; }.spotlight-art { aspect-ratio: 1.55; }.game-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }.game-card { padding: 4px; }.game-card h2 { font-size: 14px; }.game-card-copy p { display: none; }.hot-zone { padding: 23px 0; }.play-guide { grid-template-columns: 1fr; gap: 24px; }.guide-mini-grid { gap: 9px; }.guide-mini-grid .game-card h2 { font-size: 12px; }.collection-hero, .legal-hero { padding: 30px 0 20px; }.collection-hero > .shell > p:last-of-type, .legal-hero > .shell > p:last-child { font-size: 14px; }.collection-layout { padding: 20px 0 35px; }.game-hero-inner { grid-template-columns: 1fr; padding: 30px 0; gap: 24px; }.game-hero-copy > p:not(.kicker):not(.external-note) { font-size: 16px; }.game-hero-art { max-width: 390px; }.guide-layout { grid-template-columns: 1fr; gap: 21px; padding: 31px 0; }.guide-index { position: static; grid-auto-flow: column; grid-template-columns: repeat(5, max-content); overflow-x: auto; }.guide-index span { display: none; }.guide-index a { padding: 5px 7px; border: 1px solid var(--line); }.guide-content h2 { font-size: 25px; }.guide-content p { font-size: 15px; }.related-grid { grid-template-columns: repeat(2, 1fr); }.footer-grid { grid-template-columns: 1fr; gap: 21px; }.footer-bottom { flex-wrap: wrap; }.player-wrap { padding: 25px 0; }.player-wrap iframe, .player-message { aspect-ratio: 9 / 16; } }

/* Premium portal refinement: compact showcase, ranked discovery, and image-first cards. */
.section-top > div { display: flex; align-items: center; gap: 8px; }.section-top > div .kicker { display: none; }.section-top h2 { position: relative; padding-left: 12px; color: #f4f8ff; font-size: 22px; letter-spacing: 1.2px; text-transform: uppercase; text-shadow: 0 0 14px rgba(0,243,255,.25); }.section-top h2::before { position: absolute; top: 1px; bottom: 1px; left: 0; width: 4px; content: ""; background: var(--cyan); box-shadow: 0 0 12px rgba(0,243,255,.72); }.showcase-layout { display: grid; grid-template-columns: minmax(0, 1.5fr) minmax(300px, 1fr); gap: 12px; }.spotlight-card { padding: 8px; border-color: rgba(0,243,255,.32); box-shadow: 0 0 18px rgba(0,243,255,.08); }.spotlight-art { aspect-ratio: 1.9; }.spotlight-art::after { position: absolute; inset: 0; content: ""; background: linear-gradient(180deg, transparent 42%, rgba(13,15,23,.75)); pointer-events: none; }.featured-tag { position: absolute; z-index: 1; top: 10px; left: 10px; padding: 5px 8px; border: 1px solid var(--cyan); background: rgba(13,15,23,.74); color: var(--cyan); font-size: 9px; font-weight: 950; letter-spacing: 1px; text-shadow: 0 0 10px var(--cyan); box-shadow: 0 0 14px rgba(0,243,255,.4); }.spotlight-copy { display: grid; grid-template-columns: 1fr auto; align-items: center; gap: 5px 12px; padding: 9px 3px 2px; }.spotlight-copy .tag, .spotlight-copy h2, .spotlight-copy p { grid-column: 1; }.spotlight-copy h2 { margin: 0; font-size: 21px; }.spotlight-copy p { min-height: 0; margin: 0; }.spotlight-copy .button { grid-column: 2; grid-row: 1 / span 4; white-space: nowrap; }.trending-panel { padding: 10px; border: 1px solid rgba(255,0,127,.32); background: rgba(255,255,255,.035); box-shadow: inset 0 0 24px rgba(255,0,127,.035); }.trending-heading { display: flex; align-items: center; gap: 8px; margin-bottom: 7px; padding-bottom: 8px; border-bottom: 1px solid rgba(255,0,127,.25); }.trending-heading h3 { margin: 0; color: var(--pink); font-size: 13px; letter-spacing: 1px; text-transform: uppercase; text-shadow: 0 0 12px rgba(255,0,127,.45); }.neon-dot { width: 7px; height: 7px; border-radius: 50%; background: var(--pink); box-shadow: 0 0 12px var(--pink); }.trending-item { display: grid; grid-template-columns: 25px 52px minmax(0, 1fr) 15px; align-items: center; gap: 9px; min-height: 57px; border-bottom: 1px solid rgba(255,255,255,.07); }.trending-item:last-child { border-bottom: 0; }.trend-rank { color: var(--cyan); font-size: 11px; font-weight: 900; }.trend-thumb { width: 52px; height: 43px; overflow: hidden; border: 1px solid rgba(0,243,255,.24); background: var(--bg-raised); }.trend-thumb img { width: 100%; height: 100%; object-fit: cover; transition: transform .2s; }.trending-item:hover .trend-thumb img { transform: scale(1.08); }.trend-copy { min-width: 0; }.trend-copy strong { display: block; overflow: hidden; color: #eaf1ff; font-size: 12px; text-overflow: ellipsis; white-space: nowrap; }.trend-copy small { color: var(--muted); font-size: 10px; }.trend-arrow { color: var(--pink); opacity: .6; transition: opacity .2s, transform .2s; }.trending-item:hover .trend-arrow { opacity: 1; transform: translateX(3px); }.game-grid { gap: 12px; }.game-card { position: relative; padding: 5px; border-radius: 2px; }.game-card-copy { padding: 7px 1px 2px; }.game-card-copy p, .game-card-copy .card-play { display: none !important; }.game-card h2 { margin: 5px 0 0; font-size: 13px; }.game-card .game-thumb::after { position: absolute; inset: 0; content: ""; background: linear-gradient(180deg, transparent 35%, rgba(0,243,255,.28)); opacity: 0; transition: opacity .2s; pointer-events: none; }.game-card:hover .game-thumb::after { opacity: 1; }.game-card .play-chip { opacity: 0; transform: translateY(5px); transition: opacity .2s, transform .2s; }.game-card:hover .play-chip { opacity: 1; transform: translateY(0); }.hot-zone .section-top h2::before { background: var(--pink); box-shadow: 0 0 12px rgba(255,0,127,.7); }.hot-zone .game-card { background: rgba(255,0,127,.04); }
@media (max-width: 1050px) { .showcase-layout { grid-template-columns: minmax(0, 1.45fr) minmax(280px, 1fr); }.game-grid { grid-template-columns: repeat(5, minmax(0, 1fr)); } }
@media (max-width: 720px) { .showcase-layout { grid-template-columns: 1fr; gap: 10px; }.spotlight-copy { grid-template-columns: 1fr; }.spotlight-copy .button { grid-column: 1; grid-row: auto; justify-self: start; }.trending-panel { order: 2; }.trending-item { min-height: 51px; }.game-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }.section-top h2 { font-size: 20px; }.game-card h2 { font-size: 13px; } }

/* Final grid and hierarchy corrections. */
.showcase-layout { display: flex; align-items: stretch; }
.showcase-layout > .spotlight-card { flex: 1.5 1 0; }
.showcase-layout > .trending-panel { flex: 1 1 0; display: flex; flex-direction: column; min-height: 100%; }
.trending-panel { position: relative; overflow: hidden; }
.trending-panel::after { position: absolute; z-index: -1; top: 35%; right: 8%; width: 160px; height: 160px; content: ""; background: var(--pink); filter: blur(80px); opacity: .15; }
.trending-item { flex: 1 1 0; min-height: 46px; }
.game-grid { grid-template-columns: repeat(auto-fill, minmax(180px, 1fr)); gap: 12px; }
.game-card { background: rgba(255,255,255,.04); border: 1px solid rgba(0,243,255,.15); }
.game-thumb { aspect-ratio: 1.18; }
.game-card-copy { min-height: 31px; padding: 6px 1px 1px; }
.game-card h2 { margin: 4px 0 0; }
.section-top h2 { font-size: 1.5rem; font-weight: 850; border-left: 4px solid var(--pink); padding-left: 10px; }
.section-top h2::before { display: none; }
.spotlight-section::after { position: absolute; z-index: -1; top: 82px; left: 36%; width: 260px; height: 180px; content: ""; background: var(--cyan); filter: blur(80px); opacity: .15; }
@media (max-width: 720px) { .showcase-layout { display: flex; flex-direction: column; }.showcase-layout > .spotlight-card, .showcase-layout > .trending-panel { flex: none; width: 100%; }.trending-item { flex: none; min-height: 51px; }.game-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }.game-thumb { aspect-ratio: 1.12; }.section-top h2 { font-size: 1.35rem; } }

/* Forced layout and atmosphere corrections. */
body {
  background-color: #0a0c16 !important;
  background-image:
    radial-gradient(circle at 15% 15%, rgba(0, 243, 255, .08) 0%, transparent 40%),
    radial-gradient(circle at 85% 60%, rgba(255, 0, 127, .08) 0%, transparent 40%),
    linear-gradient(180deg, #0a0c16 0%, #101426 50%, #0a0c16 100%) !important;
  background-attachment: fixed;
  overflow-x: hidden;
}
.game-grid, .guide-mini-grid, .related-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
  gap: 14px;
  width: 100%;
}
.game-card, .spotlight-card {
  background: rgba(18, 22, 40, .6) !important;
  border: 1px solid rgba(0, 243, 255, .15) !important;
  border-radius: 8px;
  backdrop-filter: blur(8px);
}
.game-card:hover {
  border-color: #00f3ff !important;
  box-shadow: 0 0 15px rgba(0, 243, 255, .3) !important;
}
.game-card h2 a {
  display: block;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
@media (max-width: 720px) {
  .category-strip { scrollbar-width: none; }
  .category-strip::-webkit-scrollbar { display: none; }
}
@media (max-width: 720px) {
  .game-grid, .guide-mini-grid, .related-grid {
    grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
    gap: 14px;
  }
}

/* The homepage sections contain 18 cards. Make their partial final row occupy
   the full grid width at each auto-fill column threshold. */
.portal-section > .game-grid,
.hot-zone .game-grid { container-type: inline-size; }
@container (min-width: 1204px) {
  .portal-section > .game-grid > .game-card:nth-last-child(4),
  .portal-section > .game-grid > .game-card:nth-last-child(3),
  .portal-section > .game-grid > .game-card:nth-last-child(2),
  .hot-zone .game-grid > .game-card:nth-last-child(4),
  .hot-zone .game-grid > .game-card:nth-last-child(3),
  .hot-zone .game-grid > .game-card:nth-last-child(2) { grid-column: span 2; }
}
@container (min-width: 856px) and (max-width: 1029px) {
  .portal-section > .game-grid > .game-card:nth-last-child(3),
  .portal-section > .game-grid > .game-card:nth-last-child(2),
  .hot-zone .game-grid > .game-card:nth-last-child(3),
  .hot-zone .game-grid > .game-card:nth-last-child(2) { grid-column: span 2; }
}
@container (min-width: 682px) and (max-width: 855px) {
  .portal-section > .game-grid > .game-card:nth-last-child(-n + 2),
  .hot-zone .game-grid > .game-card:nth-last-child(-n + 2) { grid-column: span 2; }
}

/* Featured carousel: the surrounding flex layout makes this panel match the
   ranked list height, while each slide fills the available panel area. */
.featured-carousel {
  position: relative;
  display: block;
  min-height: 0;
  overflow: hidden;
  isolation: isolate;
}
.carousel-slides,
.carousel-slide {
  height: 100%;
}
.carousel-slide {
  position: absolute;
  z-index: 0;
  inset: 0;
  overflow: hidden;
  opacity: 0;
  pointer-events: none;
  transition: opacity .5s ease-in-out;
}
.carousel-slide.is-active {
  z-index: 1;
  opacity: 1;
  pointer-events: auto;
}
.carousel-image-link,
.carousel-image-link img {
  width: 100%;
  height: 100%;
}
.carousel-image-link {
  display: block;
  background: var(--bg-raised);
}
.carousel-image-link img {
  object-fit: cover;
  transition: transform .5s ease;
}
.featured-carousel:hover .carousel-slide.is-active img {
  transform: scale(1.035);
}
.carousel-slide::after {
  position: absolute;
  z-index: 1;
  inset: 0;
  content: "";
  background: linear-gradient(180deg, rgba(8, 10, 20, .06) 18%, rgba(8, 10, 20, .16) 42%, rgba(8, 10, 20, .94) 100%);
  pointer-events: none;
}
.featured-carousel .featured-tag {
  z-index: 4;
}
.carousel-copy {
  position: absolute;
  z-index: 2;
  right: 18px;
  bottom: 35px;
  left: 18px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: end;
  gap: 5px 16px;
  opacity: 0;
  transform: translateY(7px);
  transition: opacity .14s ease, transform .22s ease;
}
.carousel-slide.is-active .carousel-copy {
  opacity: 1;
  transform: translateY(0);
  transition: opacity .24s ease .2s, transform .3s ease .16s;
}
.carousel-copy .tag,
.carousel-copy h3,
.carousel-copy p { grid-column: 1; }
.carousel-copy h3 {
  overflow: hidden;
  margin: 0;
  color: #fff;
  font-size: 25px;
  line-height: 1.05;
  text-overflow: ellipsis;
  white-space: nowrap;
  text-shadow: 0 3px 16px rgba(0, 0, 0, .85);
}
.carousel-copy p {
  display: -webkit-box;
  overflow: hidden;
  max-width: 540px;
  margin: 0;
  color: #d3dded;
  font-size: 11px;
  line-height: 1.4;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}
.carousel-copy .button {
  grid-column: 2;
  grid-row: 1 / span 3;
  min-height: 38px;
  white-space: nowrap;
}
.carousel-controls {
  position: absolute;
  z-index: 5;
  top: 50%;
  right: 13px;
  left: 13px;
  display: flex;
  justify-content: space-between;
  pointer-events: none;
  transform: translateY(-50%);
}
.carousel-arrow {
  display: grid;
  width: 38px;
  height: 38px;
  padding: 0;
  border: 1px solid rgba(0, 243, 255, .6);
  border-radius: 50%;
  background: rgba(0, 0, 0, .6);
  color: var(--cyan);
  font: 800 20px/1 system-ui, sans-serif;
  opacity: 0;
  place-items: center;
  pointer-events: auto;
  cursor: pointer;
  box-shadow: 0 0 12px rgba(0, 243, 255, .25);
  transition: opacity .2s ease, background .2s ease, box-shadow .2s ease, transform .2s ease;
}
.featured-carousel:hover .carousel-arrow,
.featured-carousel:focus-within .carousel-arrow,
.featured-carousel:focus .carousel-arrow { opacity: 1; }
.carousel-arrow:hover,
.carousel-arrow:focus-visible {
  outline: 0;
  background: rgba(0, 243, 255, .17);
  box-shadow: 0 0 18px rgba(0, 243, 255, .65);
  transform: scale(1.07);
}
.carousel-dots {
  position: absolute;
  z-index: 5;
  bottom: 11px;
  left: 18px;
  display: flex;
  gap: 6px;
}
.carousel-dot {
  width: 22px;
  height: 3px;
  padding: 0;
  border: 0;
  background: rgba(255, 255, 255, .34);
  cursor: pointer;
  transition: width .25s ease, background .25s ease, box-shadow .25s ease;
}
.carousel-dot.is-active {
  width: 42px;
  background: var(--cyan);
  box-shadow: 0 0 10px rgba(0, 243, 255, .85);
}
.carousel-dot:focus-visible { outline: 2px solid var(--pink); outline-offset: 3px; }
@media (max-width: 720px) {
  .featured-carousel { min-height: 322px; }
  .carousel-copy { right: 11px; bottom: 34px; left: 11px; grid-template-columns: 1fr; gap: 4px; }
  .carousel-copy h3 { font-size: 21px; }
  .carousel-copy p { font-size: 10px; }
  .carousel-copy .button { grid-column: 1; grid-row: auto; justify-self: start; min-height: 35px; }
  .carousel-dots { bottom: 8px; left: auto; right: 11px; }
  .carousel-dot { width: 15px; }
  .carousel-dot.is-active { width: 28px; }
  .carousel-controls { top: 42%; right: 8px; left: 8px; }
  .carousel-arrow { width: 34px; height: 34px; opacity: 1; }
}
@media (prefers-reduced-motion: reduce) {
  .carousel-slide,
  .carousel-image-link img,
  .carousel-arrow,
  .carousel-dot { transition: none; }
}

/* Editorial trust details on individual game guides. */
.game-facts {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
  max-width: 650px;
  margin-top: 18px;
}
.game-facts > div {
  padding: 9px 10px;
  border: 1px solid rgba(0, 243, 255, .16);
  background: rgba(18, 22, 40, .48);
}
.game-facts strong,
.game-facts span { display: block; }
.game-facts strong { color: var(--cyan); font-size: 9px; letter-spacing: .7px; text-transform: uppercase; }
.game-facts span { margin-top: 3px; color: #d5dff0; font-size: 11px; }
@media (max-width: 720px) {
  .game-facts { grid-template-columns: 1fr; }
}
