:root {
  --void: #0f0a1a;
  --void-deep: #090610;
  --panel: #171022;
  --panel-up: #1c1429;
  --panel-inset: #0b0712;
  --pink: #ec4899;
  --pink-soft: #f472b6;
  --cyan: #06b6d4;
  --cyan-soft: #67e8f9;
  --text: #f6f0ff;
  --copy: #c3b8d2;
  --meta: #8b7d9d;
  --muted: #5d526d;
  --line-soft: rgba(225, 211, 240, .07);
  --line: rgba(225, 211, 240, .14);
  --line-strong: rgba(225, 211, 240, .27);
  --focus: rgba(6, 182, 212, .42);
  --sidebar: 238px;
  --audiowide: "Audiowide", sans-serif;
  --rubik: "Rubik", sans-serif;
}

* { box-sizing: border-box; }
html { color-scheme: dark; }
body { margin: 0; overflow-x: hidden; background: var(--void); color: var(--copy); font: 400 14px/1.55 var(--rubik); }
body::before { content: ""; position: fixed; inset: 0; z-index: -1; opacity: .22; background-image: linear-gradient(rgba(255,255,255,.018) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.018) 1px, transparent 1px); background-size: 32px 32px; }
img { display: block; max-width: 100%; }
a { color: inherit; }
button, input, textarea, select { font: inherit; }
button:focus-visible, a:focus-visible, input:focus-visible, textarea:focus-visible, select:focus-visible { outline: 3px solid var(--focus); outline-offset: 3px; }
h1, h2, h3, p { margin-top: 0; }
h1, h2, h3 { color: var(--text); line-height: 1.16; }
.skip-link { position: fixed; top: 8px; left: 8px; z-index: 100; padding: 9px 12px; background: var(--cyan); color: var(--void); transform: translateY(-160%); }
.skip-link:focus { transform: none; }

.sidebar { position: fixed; inset: 0 auto 0 0; z-index: 20; width: var(--sidebar); display: flex; flex-direction: column; padding: 26px 18px 18px; border-right: 1px solid var(--line); background: var(--void-deep); }
.brand { display: flex; align-items: center; gap: 12px; padding: 0 7px 26px; color: var(--text); text-decoration: none; font: 400 12px/1.05 var(--audiowide); }
.brand > span:last-child { display: flex; flex-direction: column; }
.brand em { color: var(--pink); font-style: normal; }
.brand small { margin-top: 7px; color: var(--muted); font: 600 7px var(--rubik); letter-spacing: .16em; }
.brand-icon { width: 32px; height: 32px; display: flex; align-items: end; gap: 3px; padding: 4px; border: 1px solid var(--line-strong); }
.brand-icon i { width: 6px; background: var(--pink); }
.brand-icon i:first-child { height: 11px; }
.brand-icon i:nth-child(2) { height: 19px; background: var(--cyan); }
.brand-icon i:last-child { height: 24px; }
.sidebar nav { display: grid; gap: 5px; }
.sidebar nav a { display: grid; grid-template-columns: 24px 1fr auto; align-items: center; gap: 8px; min-height: 44px; padding: 0 10px; border: 1px solid transparent; color: var(--meta); font-size: 11px; font-weight: 600; text-decoration: none; }
.sidebar nav a > span { color: var(--muted); font: 400 14px var(--audiowide); }
.sidebar nav a small { color: var(--muted); font-size: 7px; }
.sidebar nav a:hover, .sidebar nav a.active { border-color: var(--line); background: var(--panel); color: var(--text); }
.sidebar nav a.active { border-left-color: var(--pink); }
.sidebar nav a.active > span { color: var(--pink); }
.level-card { margin-top: auto; padding: 14px; border: 1px solid var(--line); background: var(--panel); }
.level-label { display: flex; justify-content: space-between; color: var(--meta); font-size: 8px; font-weight: 700; text-transform: uppercase; letter-spacing: .07em; }
.level-label b { color: var(--pink); font-family: var(--audiowide); font-weight: 400; }
.level-track { height: 6px; margin: 11px 0 8px; background: var(--panel-inset); }
.level-track i { display: block; width: 72%; height: 100%; background: var(--pink); }
.level-card p { margin: 0; color: var(--muted); font-size: 8px; }
.sidebar-status { display: flex; justify-content: space-between; margin-top: 14px; padding: 0 2px; color: var(--muted); font-size: 7px; text-transform: uppercase; }
.sidebar-status span i, .online i, .live-pill i { display: inline-block; width: 5px; height: 5px; margin-right: 5px; border-radius: 50%; background: var(--cyan); }
.sidebar-status b { font-weight: 500; }

.app-shell { min-height: 100vh; margin-left: var(--sidebar); }
.topbar { min-height: 88px; display: flex; align-items: center; justify-content: space-between; gap: 32px; padding: 18px 28px; border-bottom: 1px solid var(--line); background: rgba(15,10,26,.95); }
.topbar p, .widget-head p { margin-bottom: 4px; color: var(--cyan); font-size: 7px; font-weight: 700; letter-spacing: .14em; }
.topbar h1 { margin: 0; font: 400 20px var(--audiowide); }
.top-actions { display: flex; align-items: center; gap: 12px; }
.date { color: var(--muted); font-size: 8px; font-weight: 700; letter-spacing: .08em; }
.top-actions button { padding: 8px 11px; border: 1px solid var(--line); background: var(--panel); color: var(--meta); font-size: 8px; font-weight: 700; cursor: pointer; }
.top-actions button:hover { border-color: var(--cyan); color: var(--cyan-soft); }

.dashboard-grid { display: grid; grid-template-columns: repeat(12, minmax(0,1fr)); gap: 14px; padding: 18px; }
.widget { position: relative; min-width: 0; border: 1px solid var(--line); background: var(--panel); }
.widget::before { content: ""; position: absolute; top: -1px; left: 14px; width: 32px; height: 2px; background: var(--muted); }
.widget:hover { border-color: var(--line-strong); }
.widget-label { display: flex; justify-content: space-between; align-items: center; color: var(--meta); font-size: 8px; font-weight: 700; text-transform: uppercase; letter-spacing: .08em; }
.widget-label i { color: var(--muted); font-style: normal; text-transform: none; }
.stat-widget { grid-column: span 3; min-height: 178px; padding: 18px; overflow: hidden; }
.stat-widget strong { display: block; margin: 15px 0 3px; color: var(--text); font: 400 37px var(--audiowide); }
.stat-widget strong small { color: var(--meta); font-size: 15px; }
.stat-widget > p { max-width: 190px; margin: 0; color: var(--muted); font-size: 9px; }
.pink-stat::before { background: var(--pink); }
.cyan-stat::before { background: var(--cyan); }
.pink-stat .widget-label i, .pink-stat > strong { color: var(--pink-soft); }
.cyan-stat .widget-label i, .cyan-stat > strong { color: var(--cyan-soft); }
.mini-bars { position: absolute; right: 16px; bottom: 17px; display: flex; align-items: end; gap: 3px; height: 42px; }
.mini-bars i { width: 5px; background: var(--pink); opacity: .25; }
.mini-bars i:nth-child(1) { height: 20%; }.mini-bars i:nth-child(2) { height: 42%; }.mini-bars i:nth-child(3) { height: 31%; }.mini-bars i:nth-child(4) { height: 65%; }.mini-bars i:nth-child(5) { height: 52%; }.mini-bars i:nth-child(6) { height: 82%; }.mini-bars i:nth-child(7) { height: 100%; opacity: .9; }
.sparkline { position: absolute; right: 16px; bottom: 15px; width: 98px; height: 44px; }
.sparkline svg { width: 100%; height: 100%; overflow: visible; }
.sparkline polyline { fill: none; stroke: var(--cyan); stroke-width: 2; vector-effect: non-scaling-stroke; }
.score-ring { position: absolute; right: 17px; bottom: 16px; width: 51px; height: 51px; }
.score-ring > span { position: absolute; inset: 0; border: 5px solid var(--panel-inset); border-top-color: var(--cyan); border-right-color: var(--cyan); border-radius: 50%; transform: rotate(22deg); }
.score-ring small { position: absolute; inset: 0; display: grid; place-items: center; color: var(--cyan-soft); font-size: 8px; font-weight: 700; }
.session-dots { position: absolute; right: 17px; bottom: 18px; width: 72px; display: grid; grid-template-columns: repeat(6,1fr); gap: 4px; }
.session-dots i { aspect-ratio: 1; background: var(--muted); opacity: .35; }
.session-dots i:nth-child(2n), .session-dots i:nth-child(5), .session-dots i:nth-child(9) { background: var(--pink); opacity: .85; }

.widget-head { display: flex; align-items: center; gap: 8px; min-height: 64px; padding: 13px 16px; border-bottom: 1px solid var(--line); }
.widget-head > div { margin-right: auto; }
.widget-head h2 { margin: 0; font: 400 14px var(--audiowide); }
.widget-head > span { color: var(--muted); font-size: 8px; text-transform: uppercase; }
.feed-widget { grid-column: span 8; }
.feed-filter { padding: 6px 9px; border: 1px solid var(--line); background: transparent; color: var(--muted); font-size: 7px; cursor: pointer; }
.feed-filter:hover, .feed-filter.active { border-color: var(--cyan); color: var(--cyan-soft); }
.lead-feed { display: grid; grid-template-columns: 43% 57%; min-height: 270px; border-bottom: 1px solid var(--line); }
.lead-feed[hidden], .feed-list article[hidden] { display: none; }
.lead-feed img { width: 100%; height: 100%; min-height: 270px; object-fit: cover; filter: saturate(.72) contrast(1.08); }
.lead-feed-copy { padding: 24px; }
.lead-feed-copy > p:first-child { display: flex; justify-content: space-between; color: var(--meta); font-size: 7px; font-weight: 700; }
.lead-feed-copy > p:first-child span { color: var(--pink); }
.lead-feed-copy h3 { margin: 23px 0 12px; font-size: 24px; }
.lead-feed-copy > p:not(:first-child) { color: var(--meta); font-size: 11px; }
.lead-feed-copy a { display: inline-block; margin-top: 18px; color: var(--cyan-soft); font-size: 8px; font-weight: 700; text-decoration: none; }
.feed-list article { display: grid; grid-template-columns: 55px 1fr auto; align-items: center; gap: 14px; min-height: 86px; padding: 13px 16px; border-bottom: 1px solid var(--line-soft); }
.feed-time { color: var(--muted); font: 400 9px var(--audiowide); }
.feed-list p { margin-bottom: 3px; color: var(--pink); font-size: 7px; font-weight: 700; letter-spacing: .08em; }
.feed-list h3 { margin-bottom: 3px; font-size: 12px; }
.feed-list small { color: var(--muted); font-size: 8px; }
.feed-list article > b { color: var(--cyan); font-size: 8px; }
.feed-empty { margin: 16px; padding: 24px; border: 1px dashed var(--line); color: var(--muted); text-align: center; }

.trending-widget { grid-column: span 4; }
.live-pill { color: var(--cyan-soft) !important; }
.trending-widget ol { margin: 0; padding: 0; list-style: none; }
.trending-widget li { display: grid; grid-template-columns: 22px 50px 1fr 25px; align-items: center; gap: 10px; min-height: 92px; padding: 10px 14px; border-bottom: 1px solid var(--line-soft); }
.trending-widget li > span { color: var(--pink); font: 400 8px var(--audiowide); }
.trending-widget img { width: 50px; height: 55px; object-fit: cover; filter: saturate(.7); }
.trending-widget li b { display: block; overflow: hidden; color: var(--text); font-size: 10px; text-overflow: ellipsis; white-space: nowrap; }
.trending-widget li small { color: var(--muted); font-size: 7px; }
.trending-widget li em { display: block; height: 3px; margin-top: 9px; background: var(--panel-inset); }
.trending-widget li em i { display: block; height: 100%; background: var(--pink); }
.trending-widget li > strong { color: var(--cyan-soft); font: 400 10px var(--audiowide); }

.releases-widget { grid-column: span 12; }
.release-legend { display: flex; gap: 12px; color: var(--muted); font-size: 7px; }
.release-legend i { display: inline-block; width: 5px; height: 5px; margin-right: 4px; }
.release-legend i.pink { background: var(--pink); }.release-legend i.cyan { background: var(--cyan); }
.compact-games { display: grid; grid-template-columns: repeat(5,1fr); }
.compact-games article { min-width: 0; padding: 14px; border-right: 1px solid var(--line); }
.compact-games article:last-child { border: 0; }
.game-thumb { position: relative; overflow: hidden; }
.game-thumb img { width: 100%; aspect-ratio: 1.45; object-fit: cover; filter: saturate(.7) contrast(1.07); transition: transform .25s ease-out, filter .25s ease-out; }
.compact-games article:hover img { transform: scale(1.025); filter: saturate(1); }
.game-thumb span { position: absolute; top: 7px; left: 7px; padding: 4px 5px; background: rgba(15,10,26,.85); color: var(--cyan); font-size: 6px; font-weight: 700; }
.compact-games article > p { margin: 12px 0 5px; color: var(--pink); font-size: 7px; font-weight: 700; text-transform: uppercase; }
.compact-games h3 { min-height: 36px; margin-bottom: 12px; font-size: 12px; }
.compact-games article > div:last-child { display: flex; justify-content: space-between; align-items: center; padding-top: 9px; border-top: 1px solid var(--line-soft); }
.compact-games article > div b { color: var(--cyan-soft); font: 400 14px var(--audiowide); }
.compact-games article > div span { color: var(--meta); font-size: 8px; }

.activity-widget { grid-column: span 5; }
.activity-chart { height: 280px; display: flex; align-items: end; gap: 10px; padding: 35px 18px 18px; }
.activity-chart > div { height: 100%; flex: 1; display: flex; flex-direction: column; justify-content: end; align-items: center; }
.activity-chart span { margin-bottom: 6px; color: var(--meta); font-size: 7px; }
.activity-chart i { width: 100%; max-width: 28px; height: var(--h); background: var(--pink); opacity: .78; }
.activity-chart > div:nth-child(even) i { background: var(--cyan); }
.activity-chart small { margin-top: 8px; color: var(--muted); font-size: 6px; }
.faq-widget { grid-column: span 7; }
.accordion { padding: 0 16px; }
.accordion article { border-bottom: 1px solid var(--line-soft); }
.accordion button { width: 100%; display: flex; justify-content: space-between; padding: 17px 0; border: 0; background: transparent; color: var(--text); font-size: 10px; font-weight: 600; text-align: left; cursor: pointer; }
.accordion button:hover { color: var(--pink-soft); }
.accordion button i { color: var(--cyan); font: 400 18px var(--rubik); }
.accordion article > div { display: grid; grid-template-rows: 0fr; transition: grid-template-rows .2s ease-out; }
.accordion article > div p { overflow: hidden; margin: 0; color: var(--meta); font-size: 9px; }
.accordion article.open > div { grid-template-rows: 1fr; }
.accordion article.open > div p { margin-bottom: 16px; }

.contact-widget { grid-column: span 12; }
.online { color: var(--cyan-soft) !important; }
.contact-widget form { display: grid; grid-template-columns: 1fr 1fr; gap: 0 18px; padding: 18px; }
.field-pair { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.contact-widget label { display: block; margin-bottom: 14px; color: var(--meta); font-size: 7px; font-weight: 700; text-transform: uppercase; letter-spacing: .08em; }
.contact-widget input, .contact-widget textarea, .contact-widget select { width: 100%; display: block; margin-top: 6px; padding: 11px 12px; border: 1px solid var(--line); border-radius: 0; background: var(--panel-inset); color: var(--text); font: 400 11px var(--rubik); text-transform: none; }
.contact-widget input:hover, .contact-widget textarea:hover, .contact-widget select:hover { border-color: var(--line-strong); }
.contact-widget textarea { resize: vertical; }
.contact-widget form > label:nth-of-type(1), .contact-widget .field-pair { grid-column: 1; }
.contact-widget form > label:nth-of-type(2) { grid-column: 2; grid-row: 1 / span 2; }
.consent { grid-column: 1 !important; display: flex !important; gap: 8px; align-items: flex-start; text-transform: none !important; letter-spacing: 0 !important; }
.consent input { width: 14px; height: 14px; margin: 1px 0 0; accent-color: var(--pink); }
.consent a { color: var(--cyan-soft); }
.contact-widget form > button { grid-column: 2; width: 100%; display: flex; justify-content: space-between; align-self: end; padding: 12px 13px; border: 1px solid var(--pink); background: var(--pink); color: white; font-size: 8px; font-weight: 700; cursor: pointer; }
.contact-widget form > button:hover { background: transparent; color: var(--pink-soft); }
.contact-widget form > button b { font: inherit; }

.compact .dashboard-grid { gap: 8px; padding: 10px; }
.compact .stat-widget { min-height: 150px; }
.compact .feed-list article { min-height: 68px; }
.compact .trending-widget li { min-height: 76px; }

.site-footer { display: grid; grid-template-columns: 1fr auto auto; align-items: center; gap: 30px; padding: 24px 28px; border-top: 1px solid var(--line); background: var(--void-deep); }
.site-footer > div { display: flex; flex-direction: column; }
.site-footer > div a { color: var(--pink); font: 400 10px var(--audiowide); text-decoration: none; }
.site-footer > div span { margin-top: 4px; color: var(--muted); font-size: 8px; }
.site-footer nav { display: flex; flex-wrap: wrap; gap: 15px; }
.site-footer nav a { color: var(--meta); font-size: 8px; text-decoration: none; }
.site-footer nav a:hover { color: var(--cyan-soft); }
.site-footer > p { grid-column: 1 / -1; margin: 0; padding-top: 13px; border-top: 1px solid var(--line-soft); color: var(--muted); font-size: 8px; text-align: center; }
.toast { position: fixed; right: 22px; bottom: 22px; z-index: 50; width: min(360px, calc(100% - 44px)); display: grid; grid-template-columns: 36px 1fr auto; align-items: center; gap: 11px; padding: 14px; border: 1px solid rgba(6,182,212,.45); background: #0b2028; opacity: 0; transform: translateY(130%); transition: transform .22s ease-out, opacity .22s ease-out; }
.toast.show { opacity: 1; transform: none; }
.toast > span { display: grid; width: 33px; height: 33px; place-items: center; background: var(--cyan); color: var(--void); font-weight: 800; }
.toast b { color: var(--text); font-size: 10px; }
.toast p { margin: 1px 0 0; color: var(--meta); font-size: 8px; }
.toast button { border: 0; background: transparent; color: var(--meta); cursor: pointer; font-size: 18px; }

.legal-header { min-height: 82px; display: flex; align-items: center; justify-content: space-between; padding: 0 max(24px, calc((100vw - 900px)/2)); border-bottom: 1px solid var(--line); background: var(--void-deep); }
.legal-header .brand { padding: 0; }
.legal-header > a:last-child { color: var(--meta); font-size: 8px; font-weight: 700; text-decoration: none; text-transform: uppercase; }
.legal-main { width: min(calc(100% - 48px), 760px); margin: auto; padding: 75px 0 110px; }
.legal-main > p:first-child { color: var(--cyan); font-size: 8px; font-weight: 700; letter-spacing: .12em; }
.legal-main h1 { margin: 17px 0 24px; font: 400 clamp(36px, 6vw, 60px) var(--audiowide); }
.legal-meta { padding-bottom: 22px; border-bottom: 1px solid var(--line); color: var(--meta); font-size: 8px; text-transform: uppercase; }
.legal-main article { padding-top: 20px; }
.legal-main article h2 { margin-top: 33px; font: 400 17px var(--audiowide); }
.legal-main article p, .legal-main article li { color: var(--meta); font-size: 12px; }
.legal-main article a { color: var(--cyan-soft); }
.legal-footer { margin-left: 0; }

@media (max-width: 1100px) {
  .stat-widget { grid-column: span 6; }
  .feed-widget { grid-column: span 7; }
  .trending-widget { grid-column: span 5; }
  .compact-games { grid-template-columns: repeat(3,1fr); }
  .compact-games article:nth-child(3) { border-right: 0; }
  .compact-games article:nth-child(n+4) { border-top: 1px solid var(--line); }
  .activity-widget, .faq-widget { grid-column: span 12; }
}

@media (max-width: 780px) {
  :root { --sidebar: 0px; }
  .sidebar { position: relative; width: 100%; height: auto; display: block; padding: 16px; border-right: 0; border-bottom: 1px solid var(--line); }
  .sidebar .brand { padding-bottom: 15px; }
  .sidebar nav { display: flex; overflow-x: auto; scrollbar-width: none; }
  .sidebar nav a { min-width: 105px; }
  .sidebar .level-card, .sidebar-status { display: none; }
  .app-shell { margin-left: 0; }
  .topbar { min-height: 74px; padding: 14px 18px; }
  .date { display: none; }
  .dashboard-grid { padding: 10px; gap: 10px; }
  .feed-widget, .trending-widget { grid-column: span 12; }
  .lead-feed { grid-template-columns: 1fr; }
  .compact-games { grid-template-columns: repeat(2,1fr); }
  .compact-games article:nth-child(3) { border-right: 1px solid var(--line); }
  .compact-games article:nth-child(even) { border-right: 0; }
  .compact-games article:nth-child(n+3) { border-top: 1px solid var(--line); }
  .contact-widget form { grid-template-columns: 1fr; }
  .contact-widget form > *, .contact-widget form > label:nth-of-type(1), .contact-widget .field-pair, .contact-widget form > label:nth-of-type(2), .consent, .contact-widget form > button { grid-column: 1 !important; grid-row: auto !important; }
  .site-footer { grid-template-columns: 1fr; }
}

@media (max-width: 500px) {
  .brand { font-size: 11px; }
  .topbar h1 { font-size: 15px; }
  .top-actions button { display: none; }
  .stat-widget { grid-column: span 12; }
  .lead-feed-copy { padding: 18px; }
  .lead-feed-copy h3 { font-size: 20px; }
  .feed-list article { grid-template-columns: 43px 1fr; }
  .feed-list article > b { display: none; }
  .compact-games { grid-template-columns: 1fr; }
  .compact-games article { border-right: 0 !important; border-top: 1px solid var(--line); }
  .compact-games article:first-child { border-top: 0; }
  .field-pair { grid-template-columns: 1fr; gap: 0; }
  .release-legend { display: none; }
  .site-footer { padding-inline: 18px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; transition-duration: .01ms !important; }
}
