:root {
  --ink: #09051a;
  --panel: #17102d;
  --cyan: #67efff;
  --purple: #a97cff;
  --blue: #6489ff;
  --red: #ff668a;
  --text: #f4f1ff;
  --muted: #aaa3bc;
}

* {
  box-sizing: border-box;
}

html,
body {
  min-width: 320px;
  min-height: 100%;
}

body {
  margin: 0;
  display: flex;
  flex-direction: column;
  color: var(--text);
  font-family: Arial, "Helvetica Neue", sans-serif;
  background:
    radial-gradient(circle at 50% 48%, rgba(93, 72, 164, 0.14), transparent 28rem),
    linear-gradient(145deg, #09051a 0%, #0d0821 100%);
  overflow-x: hidden;
}

.glow {
  position: fixed;
  z-index: -1;
  width: 300px;
  height: 300px;
  border-radius: 50%;
  filter: blur(100px);
  opacity: 0.08;
  pointer-events: none;
}

.glow-cyan {
  left: -120px;
  bottom: 10%;
  background: var(--cyan);
}

.glow-purple {
  right: -120px;
  top: 15%;
  background: var(--purple);
}

.topbar {
  height: 66px;
  display: flex;
  justify-content: flex-end;
  align-items: center;
  padding: 0 24px;
}

.topbar nav {
  display: flex;
  align-items: center;
  gap: 18px;
}

.topbar a {
  color: #d8d4e6;
  font-size: 13px;
  text-decoration: none;
}

.topbar a:hover {
  text-decoration: underline;
}

.apps-button {
  width: 40px;
  height: 40px;
  display: grid;
  grid-template-columns: repeat(3, 4px);
  grid-auto-rows: 4px;
  place-content: center;
  gap: 3px;
  border: 0;
  border-radius: 50%;
  background: transparent;
  cursor: pointer;
}

.apps-button:hover {
  background: rgba(255, 255, 255, 0.08);
}

.apps-button span {
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: #d8d4e6;
}

.profile-button {
  width: 34px;
  height: 34px;
  border: 1px solid rgba(103, 239, 255, 0.42);
  border-radius: 50%;
  background: linear-gradient(135deg, #28345d, #6429a8);
  color: white;
  font-family: "Oxanium", Arial, sans-serif;
  font-size: 15px;
  font-weight: 700;
  cursor: pointer;
  box-shadow: 0 0 16px rgba(100, 137, 255, 0.18);
}

.search-home {
  min-height: calc(100vh - 66px - 145px);
  display: grid;
  place-items: start center;
  padding: clamp(90px, 15vh, 150px) 20px 40px;
}

.search-center {
  width: min(620px, 100%);
  display: flex;
  flex-direction: column;
  align-items: center;
}

.logo {
  margin: 0 0 28px;
  font-family: "Oxanium", Arial, sans-serif;
  font-size: clamp(48px, 8vw, 82px);
  line-height: 1;
  letter-spacing: -5px;
  text-transform: uppercase;
  text-shadow: 0 0 28px rgba(100, 137, 255, 0.12);
  white-space: nowrap;
}

.logo .cyan {
  color: var(--cyan);
  text-shadow: 0 0 18px rgba(103, 239, 255, 0.28);
}

.logo .purple {
  color: var(--purple);
  text-shadow: 0 0 18px rgba(169, 124, 255, 0.28);
}

.logo .blue {
  color: var(--blue);
  text-shadow: 0 0 18px rgba(100, 137, 255, 0.28);
}

.logo .red {
  color: var(--red);
  text-shadow: 0 0 18px rgba(255, 102, 138, 0.24);
}

.search-box {
  width: 100%;
  height: 48px;
  display: flex;
  align-items: center;
  padding: 0 14px;
  border: 1px solid #493c67;
  border-radius: 24px;
  background: rgba(23, 16, 45, 0.94);
  box-shadow: 0 8px 28px rgba(0, 0, 0, 0.18);
  transition: 180ms ease;
}

.search-box:hover,
.search-box:focus-within {
  border-color: #655391;
  background: #1b1432;
  box-shadow: 0 3px 18px rgba(103, 239, 255, 0.06);
}

.search-icon {
  width: 20px;
  height: 20px;
  flex: 0 0 20px;
  fill: none;
  stroke: #938aa7;
  stroke-width: 1.8;
}

.engine-select {
  flex: 0 0 auto;
  margin-right: 2px;
}

.engine-select select {
  width: 82px;
  height: 30px;
  border: 0;
  border-right: 1px solid #493c67;
  outline: 0;
  background: transparent;
  color: #bdb5cf;
  font-size: 11px;
  cursor: pointer;
}

.engine-select option {
  background: #17102d;
  color: #f4f1ff;
}

.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;
}

.search-box input {
  min-width: 0;
  height: 100%;
  flex: 1;
  padding: 0 12px;
  border: 0;
  outline: 0;
  background: transparent;
  color: var(--text);
  font-size: 16px;
}

.voice-button,
.lens-button {
  width: 28px;
  height: 36px;
  flex: 0 0 28px;
  border: 0;
  background: transparent;
  cursor: pointer;
}

.voice-button {
  position: relative;
  margin-right: 4px;
}

.mic-head {
  position: absolute;
  width: 7px;
  height: 12px;
  left: 10px;
  top: 8px;
  border-radius: 6px;
  background: linear-gradient(#67efff, #a97cff);
  box-shadow: 0 0 8px rgba(103, 239, 255, 0.35);
}

.mic-stem {
  position: absolute;
  width: 13px;
  height: 8px;
  left: 7px;
  top: 18px;
  border: 2px solid #6489ff;
  border-top: 0;
  border-radius: 0 0 8px 8px;
}

.lens-button span {
  position: relative;
  display: block;
  width: 18px;
  height: 18px;
  margin: auto;
  border: 2px solid #ff668a;
  border-radius: 5px;
  box-shadow: 0 0 8px rgba(255, 102, 138, 0.22);
  transform: rotate(45deg);
}

.lens-button span::after {
  content: "";
  position: absolute;
  width: 5px;
  height: 5px;
  left: 4.5px;
  top: 4.5px;
  border-radius: 50%;
  background: #a97cff;
}

.search-actions {
  display: flex;
  gap: 10px;
  margin-top: 28px;
}

.search-actions button {
  height: 36px;
  padding: 0 16px;
  border: 1px solid transparent;
  border-radius: 4px;
  background: #19122e;
  color: #e6e2ef;
  font-size: 14px;
  cursor: pointer;
}

.search-actions button:hover {
  border-color: #4d4168;
  background: #211836;
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.18);
}

footer {
  margin-top: auto;
  background: #080512;
  color: #a29aaa;
  font-size: 14px;
}

.footer-location {
  height: 49px;
  display: flex;
  align-items: center;
  padding: 0 30px;
  border-bottom: 1px solid #302841;
}

footer nav {
  min-height: 46px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 30px;
}

footer nav div {
  display: flex;
  gap: 28px;
}

footer a {
  color: #b0aabd;
  text-decoration: none;
}

footer a:hover {
  text-decoration: underline;
}

.account-dialog {
  width: min(420px, calc(100% - 32px));
  border: 1px solid #4d4168;
  border-radius: 12px;
  padding: 28px;
  background: #120d24;
  color: var(--text);
  box-shadow: 0 24px 80px rgba(0, 0, 0, 0.55), 0 0 28px rgba(100, 137, 255, 0.12);
}

.account-dialog::backdrop {
  background: rgba(4, 2, 12, 0.78);
  backdrop-filter: blur(8px);
}

.dialog-close {
  position: absolute;
  right: 12px;
  top: 8px;
  width: 32px;
  height: 32px;
  border: 0;
  background: transparent;
  color: #aaa3bc;
  font-size: 24px;
  cursor: pointer;
}

.account-tabs {
  display: grid;
  grid-template-columns: 1fr 1fr;
  margin-bottom: 22px;
  border-bottom: 1px solid #302841;
}

.account-tab {
  height: 40px;
  border: 0;
  border-bottom: 2px solid transparent;
  background: transparent;
  color: #aaa3bc;
  cursor: pointer;
}

.account-tab.active {
  border-bottom-color: var(--cyan);
  color: var(--text);
}

.account-form h2 {
  margin: 0 0 8px;
  font-family: "Oxanium", Arial, sans-serif;
}

.account-form > p {
  margin: 0 0 18px;
  color: var(--muted);
  font-size: 13px;
}

.account-form label {
  display: grid;
  gap: 7px;
  margin-bottom: 14px;
  color: #d8d4e6;
  font-size: 13px;
}

.account-form input {
  height: 42px;
  border: 1px solid #493c67;
  border-radius: 6px;
  outline: 0;
  padding: 0 12px;
  background: #19122e;
  color: var(--text);
}

.account-form input:focus {
  border-color: var(--cyan);
  box-shadow: 0 0 12px rgba(103, 239, 255, 0.08);
}

.account-submit,
.logout-button {
  width: 100%;
  height: 42px;
  border: 0;
  border-radius: 6px;
  background: linear-gradient(135deg, #3e7cff, #884bea);
  color: white;
  font-weight: 700;
  cursor: pointer;
  box-shadow: 0 8px 20px rgba(100, 137, 255, 0.14);
}

.account-message {
  min-height: 18px;
  margin: 16px 0 0;
  font-size: 13px;
}

.account-message.error {
  color: #ff8aa7;
}

.account-message.success {
  color: #67efff;
}

.logout-button {
  margin-top: 10px;
  background: #30253f;
}

.account-trigger {
  width: 36px;
  height: 36px;
  flex: 0 0 36px;
  border: 1px solid rgba(103, 239, 255, 0.52);
  border-radius: 50%;
  background: linear-gradient(135deg, #25304d, #633ca2);
  color: #fff;
  font-family: "Oxanium", Arial, sans-serif;
  font-size: 15px;
  font-weight: 800;
  cursor: pointer;
  box-shadow: 0 0 15px rgba(103, 239, 255, 0.13);
}

.account-trigger:hover {
  border-color: #67efff;
  box-shadow: 0 0 20px rgba(103, 239, 255, 0.25);
}

.profile-panel h2 {
  margin: 0 0 18px;
  font-family: "Oxanium", Arial, sans-serif;
}

.profile-name {
  margin: 0 0 6px;
  color: #f7f5ff;
  font-size: 16px;
  font-weight: 700;
}

.profile-email {
  margin: 0;
  color: #aaa3bc;
  font-size: 13px;
  overflow-wrap: anywhere;
}

@media (max-width: 720px) {
  .topbar {
    padding: 0 14px;
  }

  .topbar a {
    display: none;
  }

  .search-home {
    min-height: calc(100vh - 66px - 140px);
    padding-top: clamp(70px, 14vh, 110px);
  }

  .logo {
    font-size: clamp(38px, 12vw, 58px);
    letter-spacing: -3px;
  }

  footer nav {
    min-height: 90px;
    flex-direction: column;
    justify-content: center;
    gap: 16px;
  }

  footer nav div {
    flex-wrap: wrap;
    justify-content: center;
    gap: 14px 20px;
  }
}

.portal-page {
  min-height: 100vh;
  color: #f7f5ff;
  background:
    radial-gradient(ellipse at 78% 12%, rgba(103, 239, 255, 0.07), transparent 28rem),
    radial-gradient(ellipse at 18% 40%, rgba(169, 124, 255, 0.08), transparent 32rem),
    linear-gradient(135deg, #090812 0%, #0d0b18 58%, #100d1b 100%);
  font-family: "Space Grotesk", Arial, sans-serif;
}

.portal-header {
  position: sticky;
  z-index: 20;
  top: 0;
  min-height: 72px;
  display: flex;
  align-items: center;
  gap: 34px;
  padding: 0 clamp(18px, 4vw, 58px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(11, 9, 19, 0.88);
  backdrop-filter: blur(18px);
}

.portal-brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: #f7f5ff;
  text-decoration: none;
  font-family: "Oxanium", Arial, sans-serif;
  font-size: 15px;
  font-weight: 800;
  letter-spacing: 0.4px;
  white-space: nowrap;
}

.brand-symbol {
  width: 35px;
  height: 35px;
  display: grid;
  place-items: center;
  border: 1px solid #67efff;
  border-radius: 10px;
  color: #67efff;
  background: linear-gradient(140deg, rgba(103, 239, 255, 0.15), rgba(169, 124, 255, 0.16));
  box-shadow: 0 0 18px rgba(103, 239, 255, 0.14);
  font-size: 19px;
}

.brand-accent {
  color: #a97cff;
}

.portal-nav {
  height: 72px;
  display: flex;
  align-items: stretch;
  gap: 25px;
}

.portal-nav a {
  display: inline-flex;
  align-items: center;
  border-bottom: 2px solid transparent;
  color: #aaa5b7;
  font-size: 14px;
  font-weight: 600;
  text-decoration: none;
}

.portal-nav a:hover,
.portal-nav a.nav-active {
  border-bottom-color: #67efff;
  color: white;
}

.portal-search {
  width: min(330px, 32vw);
  height: 40px;
  display: flex;
  align-items: center;
  gap: 9px;
  margin-left: auto;
  padding: 0 13px;
  border: 1px solid rgba(255, 255, 255, 0.11);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.055);
  color: #aaa5b7;
  transition: 180ms ease;
}

.portal-search:focus-within {
  border-color: rgba(103, 239, 255, 0.48);
  background: rgba(255, 255, 255, 0.075);
  box-shadow: 0 0 22px rgba(103, 239, 255, 0.07);
}

.portal-search > span:not(.sr-only) {
  font-size: 22px;
  line-height: 1;
}

.portal-search input {
  width: 100%;
  min-width: 0;
  border: 0;
  outline: 0;
  background: transparent;
  color: #f7f5ff;
  font: 13px "Space Grotesk", Arial, sans-serif;
}

.portal-search input::placeholder {
  color: #807a8d;
}

.header-play {
  padding: 11px 16px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 999px;
  background: linear-gradient(135deg, #7551dc, #9a62ed);
  color: #fff;
  font-size: 13px;
  font-weight: 700;
  text-decoration: none;
  white-space: nowrap;
}

.header-play:hover,
.featured-button:hover {
  background: #8758ec;
  box-shadow: 0 0 20px rgba(135, 88, 236, 0.34);
}

.header-play span {
  margin-left: 5px;
  color: #b7f9ff;
}

.portal-main {
  width: min(1280px, 100%);
  flex: 1;
  margin: 0 auto;
  padding: 34px clamp(18px, 4vw, 58px) 55px;
}

.featured-game {
  min-height: 350px;
  position: relative;
  display: grid;
  grid-template-columns: 0.95fr 1.05fr;
  align-items: center;
  gap: 25px;
  padding: 38px 44px;
  border: 1px solid rgba(190, 167, 255, 0.2);
  border-radius: 20px;
  background:
    radial-gradient(ellipse at 85% 50%, rgba(110, 62, 185, 0.28), transparent 35%),
    linear-gradient(115deg, rgba(26, 21, 39, 0.96), rgba(23, 19, 36, 0.94) 66%, rgba(28, 20, 48, 0.96));
  overflow: hidden;
  box-shadow: 0 24px 70px rgba(0, 0, 0, 0.16);
  isolation: isolate;
}

.featured-game::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    linear-gradient(90deg, rgba(103, 239, 255, 0.035) 1px, transparent 1px),
    linear-gradient(rgba(103, 239, 255, 0.035) 1px, transparent 1px);
  background-size: 32px 32px;
  mask-image: linear-gradient(90deg, transparent 10%, black 100%);
  opacity: 0.45;
}

.featured-copy {
  position: relative;
  z-index: 1;
  max-width: 480px;
}

.featured-kicker,
.section-kicker {
  margin: 0;
  color: #67efff;
  font-family: "Oxanium", Arial, sans-serif;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 1.8px;
}

.featured-kicker span {
  display: inline-block;
  width: 18px;
  height: 1px;
  margin: 0 8px 3px 0;
  background: #67efff;
  box-shadow: 0 0 10px #67efff;
}

.featured-copy h1 {
  margin: 13px 0;
  font-family: "Oxanium", Arial, sans-serif;
  font-size: clamp(46px, 5vw, 70px);
  line-height: 0.94;
  letter-spacing: -3px;
  text-transform: uppercase;
}

.featured-copy h1 span {
  color: #b19aff;
  text-shadow: 0 0 24px rgba(169, 124, 255, 0.3);
}

.featured-copy > p:not(.featured-kicker) {
  max-width: 390px;
  margin: 0 0 21px;
  color: #b2adbe;
  font-size: 14px;
  line-height: 1.65;
}

.featured-button {
  display: inline-flex;
  align-items: center;
  gap: 18px;
  padding: 13px 17px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 999px;
  background: linear-gradient(135deg, #7551dc, #9a62ed);
  color: white;
  font-size: 13px;
  font-weight: 700;
  text-decoration: none;
  transition: 160ms ease;
}

.featured-button span {
  color: #67efff;
  font-size: 11px;
}

.featured-meta {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-top: 20px;
  color: #9892a6;
  font-size: 11px;
}

.online-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #59e4a5;
  box-shadow: 0 0 9px rgba(89, 228, 165, 0.5);
}

.meta-divider {
  color: #5d566d;
}

.featured-art {
  min-height: 280px;
  position: relative;
  display: block;
  border: 1px solid rgba(113, 95, 173, 0.28);
  border-radius: 12px;
  background:
    radial-gradient(circle at 54% 37%, rgba(118, 86, 218, 0.33), transparent 35%),
    linear-gradient(140deg, #15152c, #131020 72%);
  overflow: hidden;
  text-decoration: none;
}

.featured-art::before,
.featured-art::after {
  content: "";
  position: absolute;
  width: 260px;
  height: 260px;
  top: 8px;
  left: 50%;
  border: 1px solid rgba(103, 239, 255, 0.21);
  border-radius: 50%;
  transform: translateX(-50%);
}

.featured-art::after {
  width: 340px;
  height: 190px;
  top: 60px;
  border-color: rgba(169, 124, 255, 0.35);
  transform: translateX(-50%) rotate(-22deg);
}

.featured-sprint {
  background:
    radial-gradient(circle at 75% 38%, rgba(255, 102, 138, 0.25), transparent 35%),
    linear-gradient(180deg, #281449, #662659 61%, #121827);
}

.featured-sprint .sprint-sun {
  width: 150px;
  height: 150px;
  top: 24px;
  right: 16%;
}

.featured-sprint .sprint-ground {
  height: 48px;
}

.featured-sprint .sprint-runner {
  width: 28px;
  height: 48px;
  left: 36%;
  bottom: 45px;
}

.art-sun {
  position: absolute;
  width: 144px;
  height: 144px;
  left: 50%;
  top: 32px;
  border-radius: 50%;
  background: linear-gradient(145deg, #be8dff, #6548d5 58%, #30247d);
  box-shadow: 0 0 60px rgba(135, 88, 236, 0.36);
  transform: translateX(-50%);
}

.art-grid {
  position: absolute;
  width: 120%;
  height: 120px;
  left: -10%;
  bottom: -28px;
  background:
    repeating-linear-gradient(90deg, transparent 0 29px, rgba(103, 239, 255, 0.2) 30px 31px),
    repeating-linear-gradient(0deg, transparent 0 20px, rgba(103, 239, 255, 0.22) 21px 22px);
  transform: perspective(120px) rotateX(28deg);
  mask-image: linear-gradient(to bottom, transparent, black);
}

.art-player {
  position: absolute;
  z-index: 2;
  width: 45px;
  height: 45px;
  left: 50%;
  bottom: 39px;
  border: 2px solid #67efff;
  border-radius: 11px;
  background: linear-gradient(145deg, #5af1ff, #6558ec);
  box-shadow: 0 0 22px rgba(103, 239, 255, 0.8);
  transform: translateX(-50%) rotate(45deg);
}

.art-hazard {
  position: absolute;
  z-index: 2;
  width: 17px;
  height: 35px;
  border: 1px solid #ff668a;
  border-radius: 4px;
  background: #ff668a;
  box-shadow: 0 0 18px rgba(255, 102, 138, 0.65);
  transform: rotate(25deg);
}

.hazard-one {
  top: 71px;
  left: 28%;
}

.hazard-two {
  top: 121px;
  right: 24%;
  height: 24px;
  background: #67efff;
  border-color: #67efff;
  box-shadow: 0 0 18px rgba(103, 239, 255, 0.65);
}

.art-label {
  position: absolute;
  z-index: 3;
  left: 22px;
  bottom: 19px;
  color: white;
  font-family: "Oxanium", Arial, sans-serif;
  font-size: 15px;
  font-weight: 800;
  letter-spacing: 1px;
  line-height: 1;
  text-shadow: 0 0 13px rgba(103, 239, 255, 0.6);
}

.art-play {
  position: absolute;
  z-index: 4;
  right: 18px;
  bottom: 18px;
  width: 39px;
  height: 39px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(103, 239, 255, 0.45);
  border-radius: 50%;
  background: rgba(10, 8, 20, 0.7);
  color: #67efff;
  font-size: 12px;
}

.catalog {
  padding-top: 48px;
}

.catalog-heading {
  display: flex;
  align-items: end;
  justify-content: space-between;
}

.catalog-heading h2 {
  margin: 7px 0 0;
  font-family: "Oxanium", Arial, sans-serif;
  font-size: 30px;
  letter-spacing: -0.7px;
}

.section-kicker {
  color: #a39bb5;
  font-size: 9px;
  letter-spacing: 1.5px;
}

.game-count {
  padding-bottom: 4px;
  color: #928ca0;
  font-size: 12px;
}

.category-row {
  display: flex;
  gap: 8px;
  margin: 19px 0;
  padding-bottom: 2px;
  overflow-x: auto;
  scrollbar-width: none;
}

.category-row::-webkit-scrollbar {
  display: none;
}

.category-chip {
  flex: 0 0 auto;
  min-height: 34px;
  padding: 0 14px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.045);
  color: #b3adbe;
  font: 600 12px "Space Grotesk", Arial, sans-serif;
  cursor: pointer;
}

.category-chip:hover,
.category-chip.selected {
  border-color: #7d62bd;
  background: rgba(116, 71, 216, 0.2);
  color: white;
}

.latest-games {
  margin: 30px 0;
  padding: clamp(18px, 3vw, 26px);
  border: 1px solid rgba(103, 239, 255, 0.13);
  border-radius: 16px;
  background: linear-gradient(110deg, rgba(20, 24, 39, 0.92), rgba(24, 19, 39, 0.9));
}

.latest-games-heading {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 16px;
}

.latest-games-heading h2 {
  margin: 5px 0 0;
  font-family: "Oxanium", Arial, sans-serif;
  font-size: clamp(21px, 3vw, 28px);
}

.latest-games-heading > span {
  color: #858091;
  font-size: 11px;
}

.latest-game-list {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
}

.latest-game-link {
  min-width: 0;
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px;
  border: 1px solid rgba(255, 255, 255, 0.09);
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.035);
  color: #f7f5ff;
  text-decoration: none;
  transition: 160ms ease;
}

.latest-game-link:hover {
  border-color: rgba(103, 239, 255, 0.4);
  background: rgba(103, 239, 255, 0.06);
  transform: translateY(-2px);
}

.latest-game-number {
  color: #67efff;
  font-family: "Oxanium", Arial, sans-serif;
  font-size: 12px;
  font-weight: 800;
}

.latest-game-details {
  min-width: 0;
  display: grid;
  gap: 3px;
}

.latest-game-details strong,
.latest-game-details > span {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.latest-game-details strong {
  font-size: 12px;
}

.latest-game-details > span {
  color: #9892a6;
  font-size: 10px;
}

.latest-game-arrow {
  margin-left: auto;
  color: #a97cff;
}

.game-cards {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(205px, 1fr));
  gap: 18px;
}

.game-tile {
  min-width: 0;
  border: 1px solid rgba(255, 255, 255, 0.09);
  border-radius: 12px;
  background: linear-gradient(145deg, rgba(28, 25, 39, 0.95), rgba(20, 18, 29, 0.95));
  color: white;
  overflow: hidden;
  text-decoration: none;
  transition: transform 160ms ease, border-color 160ms ease, box-shadow 160ms ease;
}

.game-tile:hover {
  transform: translateY(-5px);
  border-color: rgba(103, 239, 255, 0.38);
  box-shadow: 0 18px 38px rgba(0, 0, 0, 0.28), 0 0 22px rgba(103, 239, 255, 0.055);
}

.game-tile[hidden] {
  display: none;
}

.tile-art {
  height: 155px;
  position: relative;
  overflow: hidden;
}

.tile-expansion-art {
  display: grid;
  place-items: center;
  background:
    radial-gradient(circle at 50% 42%, rgba(255,255,255,.62), transparent 38%),
    linear-gradient(145deg, var(--expansion-color), #353440);
}

.expansion-symbol {
  width: 82px;
  height: 82px;
  display: grid;
  place-items: center;
  border: 2px solid rgba(255,255,255,.72);
  border-radius: 22px;
  background: rgba(255,255,255,.22);
  color: #fff;
  font: 800 29px "Oxanium", Arial, sans-serif;
  text-shadow: 0 2px 8px rgba(0,0,0,.2);
  box-shadow: 0 10px 24px rgba(0,0,0,.16), inset 0 1px rgba(255,255,255,.34);
  transform: rotate(-7deg);
}

.tile-neon {
  background:
    radial-gradient(circle at 50% 30%, rgba(170, 114, 255, 0.45), transparent 45%),
    linear-gradient(140deg, #142643, #30154a 54%, #111322);
}

.tile-star-catcher {
  background:
    radial-gradient(circle at 75% 22%, rgba(103, 239, 255, 0.18), transparent 3px),
    radial-gradient(circle at 25% 35%, rgba(255, 255, 255, 0.7), transparent 2px),
    radial-gradient(circle at 62% 65%, rgba(255, 255, 255, 0.7), transparent 2px),
    linear-gradient(145deg, #10243e, #182954 55%, #21153f);
}

.star-moon {
  position: absolute;
  width: 90px;
  height: 90px;
  top: 16px;
  left: 50%;
  border-radius: 50%;
  background: linear-gradient(145deg, #c2fbff, #67efff 60%, #7a70ea);
  box-shadow: 0 0 35px rgba(103, 239, 255, 0.48);
  transform: translateX(-50%);
}

.star-moon::before,
.star-moon::after {
  content: "✦";
  position: absolute;
  color: #fff3a8;
  font-size: 15px;
  text-shadow: 0 0 12px #fff3a8;
}

.star-moon::before {
  top: 4px;
  left: -43px;
}

.star-moon::after {
  right: -44px;
  top: 30px;
  font-size: 11px;
}

.star-basket {
  position: absolute;
  width: 61px;
  height: 28px;
  z-index: 1;
  left: 50%;
  bottom: 17px;
  border: 2px solid #ff85ab;
  border-top: 0;
  border-radius: 0 0 14px 14px;
  background: linear-gradient(180deg, transparent, rgba(255, 102, 138, 0.45));
  box-shadow: 0 0 17px rgba(255, 102, 138, 0.4);
  transform: translateX(-50%);
}

.tile-breaker {
  background: radial-gradient(circle at 50% 77%, rgba(103, 239, 255, 0.19), transparent 35%), linear-gradient(145deg, #171537, #301948 65%, #111322);
}

.breaker-bricks {
  position: absolute;
  top: 29px;
  left: 50%;
  width: 148px;
  height: 66px;
  background:
    linear-gradient(#ff668a, #ff668a) 0 0 / 44px 15px,
    linear-gradient(#a97cff, #a97cff) 52px 0 / 44px 15px,
    linear-gradient(#67efff, #67efff) 104px 0 / 44px 15px,
    linear-gradient(#a97cff, #a97cff) 0 22px / 44px 15px,
    linear-gradient(#67efff, #67efff) 52px 22px / 44px 15px,
    linear-gradient(#ff668a, #ff668a) 104px 22px / 44px 15px,
    linear-gradient(#67efff, #67efff) 0 44px / 44px 15px,
    linear-gradient(#ff668a, #ff668a) 52px 44px / 44px 15px,
    linear-gradient(#a97cff, #a97cff) 104px 44px / 44px 15px;
  background-repeat: no-repeat;
  filter: drop-shadow(0 0 9px rgba(169, 124, 255, 0.5));
}

.breaker-paddle {
  position: absolute;
  width: 66px;
  height: 7px;
  left: 50%;
  bottom: 20px;
  border-radius: 7px;
  background: #67efff;
  box-shadow: 0 0 15px #67efff;
  transform: translateX(-50%);
}

.tile-sprint {
  background: linear-gradient(180deg, #281449, #662659 61%, #121827);
}

.sprint-sun {
  position: absolute;
  width: 82px;
  height: 82px;
  top: 21px;
  right: 30px;
  border-radius: 50%;
  background: linear-gradient(180deg, #ffbd7d, #ff668a);
  box-shadow: 0 0 30px rgba(255, 102, 138, 0.36);
}

.sprint-ground {
  position: absolute;
  height: 34px;
  left: 0;
  right: 0;
  bottom: 0;
  border-top: 2px solid #67efff;
  background: repeating-linear-gradient(90deg, transparent 0 29px, rgba(103, 239, 255, 0.42) 30px 31px), #101528;
  box-shadow: 0 -7px 18px rgba(103, 239, 255, 0.12);
}

.sprint-runner {
  position: absolute;
  z-index: 1;
  width: 22px;
  height: 38px;
  left: 27%;
  bottom: 31px;
  border: 2px solid #c8fbff;
  border-radius: 8px 8px 3px 3px;
  background: linear-gradient(130deg, #67efff, #7454dc);
  box-shadow: 0 0 14px rgba(103, 239, 255, 0.6);
  transform: skewY(-8deg);
}

.tile-maze {
  background: linear-gradient(145deg, #10243e, #182954 60%, #111322);
}

.maze-mini {
  position: absolute;
  width: 138px;
  height: 92px;
  top: 28px;
  left: 50%;
  background:
    linear-gradient(90deg, transparent 47%, #67efff 48% 51%, transparent 52%) 0 0 / 28px 30px,
    linear-gradient(0deg, transparent 46%, #a97cff 47% 50%, transparent 51%) 0 0 / 28px 30px;
  border: 2px solid rgba(103, 239, 255, 0.72);
  box-shadow: 0 0 17px rgba(103, 239, 255, 0.18);
  transform: translateX(-50%);
}

.maze-dot {
  position: absolute;
  width: 11px;
  height: 11px;
  top: 99px;
  left: calc(50% + 37px);
  border-radius: 50%;
  background: #ffdc72;
  box-shadow: 0 0 14px #ffdc72;
}

.tile-blaster {
  background:
    radial-gradient(circle at 50% 35%, rgba(80, 68, 166, 0.4), transparent 50%),
    linear-gradient(145deg, #10152b, #171335 65%, #101322);
}

.blaster-meteor {
  position: absolute;
  width: 26px;
  height: 26px;
  border-radius: 8px;
  background: linear-gradient(145deg, #ffca8a, #ff668a);
  box-shadow: 0 0 18px rgba(255, 102, 138, 0.52);
  transform: rotate(25deg);
}

.meteor-a {
  top: 33px;
  left: 31%;
}

.meteor-b {
  top: 64px;
  right: 27%;
  width: 18px;
  height: 18px;
  background: linear-gradient(145deg, #c0a3ff, #8b5cff);
  box-shadow: 0 0 14px rgba(169, 124, 255, 0.56);
}

.blaster-ship {
  position: absolute;
  width: 0;
  height: 0;
  left: 50%;
  bottom: 17px;
  border-right: 17px solid transparent;
  border-bottom: 37px solid #67efff;
  border-left: 17px solid transparent;
  filter: drop-shadow(0 0 12px rgba(103, 239, 255, 0.78));
  transform: translateX(-50%);
}

.tile-pong {
  background: linear-gradient(135deg, #10243e, #182954 55%, #101322);
}

.pong-ball {
  position: absolute;
  width: 15px;
  height: 15px;
  top: 50%;
  left: 50%;
  border-radius: 50%;
  background: #fff;
  box-shadow: 0 0 15px #67efff;
  transform: translate(-50%, -50%);
}

.pong-paddle {
  position: absolute;
  width: 7px;
  height: 48px;
  top: 50%;
  border-radius: 5px;
  background: #67efff;
  box-shadow: 0 0 13px #67efff;
  transform: translateY(-50%);
}

.pong-left { left: 24%; }
.pong-right { right: 24%; background: #a97cff; box-shadow: 0 0 13px #a97cff; }

.tile-tic {
  display: grid;
  place-items: center;
  background: linear-gradient(135deg, #25143c, #17213a 70%, #111322);
}

.tic-mark {
  color: #67efff;
  font-family: "Oxanium", Arial, sans-serif;
  font-size: 73px;
  font-weight: 700;
  letter-spacing: 8px;
  text-shadow: 0 0 16px rgba(103, 239, 255, 0.6);
}

.tic-mark i {
  color: #ff668a;
  font-style: normal;
  text-shadow: 0 0 16px rgba(255, 102, 138, 0.6);
}

.tile-lights {
  display: grid;
  place-items: center;
  background: linear-gradient(135deg, #171537, #222052 65%, #111322);
}

.light-grid {
  width: 108px;
  height: 108px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 7px;
}

.light-grid i {
  border-radius: 6px;
  background: #40336c;
}

.light-grid i:nth-child(2),
.light-grid i:nth-child(4),
.light-grid i:nth-child(5),
.light-grid i:nth-child(9) {
  background: #a97cff;
  box-shadow: 0 0 12px rgba(169, 124, 255, 0.7);
}

.tile-words {
  display: grid;
  place-items: center;
  background: linear-gradient(145deg, #122b37, #153d4b 65%, #111322);
}

.word-tiles {
  display: flex;
  gap: 5px;
  transform: rotate(-6deg);
}

.word-tiles i {
  width: 33px;
  height: 40px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(103, 239, 255, 0.65);
  border-radius: 5px;
  background: #132d3a;
  color: #a8f7ff;
  font-family: "Oxanium", Arial, sans-serif;
  font-size: 20px;
  font-style: normal;
  font-weight: 800;
  box-shadow: 0 0 12px rgba(103, 239, 255, 0.15);
}

.tile-target {
  background: radial-gradient(circle at center, #2b1d55, #141325 70%);
}

.target-rings {
  position: absolute;
  width: 83px;
  height: 83px;
  top: 50%;
  left: 50%;
  border: 7px solid #ff668a;
  border-radius: 50%;
  box-shadow: 0 0 20px rgba(255, 102, 138, 0.4), inset 0 0 18px rgba(255, 102, 138, 0.28);
  transform: translate(-50%, -50%);
}

.target-rings::before,
.target-rings::after {
  content: "";
  position: absolute;
  border: 5px solid #67efff;
  border-radius: 50%;
}

.target-rings::before { inset: 9px; }
.target-rings::after { inset: 25px; background: #a97cff; }

.tile-code {
  display: grid;
  place-items: center;
  background: linear-gradient(145deg, #f8d59b, #e99e68);
}

.code-pegs {
  display: flex;
  gap: 12px;
}

.code-pegs i {
  width: 23px;
  height: 23px;
  border: 3px solid rgba(255, 255, 255, 0.7);
  border-radius: 50%;
  background: #e46e61;
  box-shadow: 0 3px 0 rgba(112, 62, 53, 0.2);
}

.code-pegs i:nth-child(2) { background: #5da37d; }
.code-pegs i:nth-child(3) { background: #5d8dc5; }
.code-pegs i:nth-child(4) { background: #9874bb; }

.tile-pairs {
  display: grid;
  place-items: center;
  background: linear-gradient(145deg, #efe2c5, #d6bd91);
}

.pair-cards {
  display: grid;
  grid-template-columns: repeat(2, 48px);
  gap: 8px;
  transform: rotate(-7deg);
}

.pair-cards i {
  width: 48px;
  height: 55px;
  display: grid;
  place-items: center;
  border: 1px solid #b39b74;
  border-radius: 7px;
  background: #fffaf0;
  color: #aa7554;
  font-size: 24px;
  font-style: normal;
  font-weight: 700;
  box-shadow: 0 4px 0 rgba(119, 88, 52, 0.2);
}

.pair-cards i:nth-child(2),
.pair-cards i:nth-child(4) { color: #e0a947; }

.tile-mines {
  display: grid;
  place-items: center;
  background: linear-gradient(145deg, #b9d1ad, #728f6d);
}

.mine-tiles {
  display: grid;
  grid-template-columns: repeat(3, 43px);
  gap: 5px;
  transform: rotate(-5deg);
}

.mine-tiles i {
  width: 43px;
  height: 39px;
  display: grid;
  place-items: center;
  border-radius: 4px;
  background: #d7ddc5;
  color: #5076a4;
  font: 800 17px "Oxanium", Arial, sans-serif;
  font-style: normal;
  box-shadow: 0 2px 0 rgba(61, 80, 57, 0.26);
}

.mine-tiles i:nth-child(5) {
  background: #d16d50;
  color: white;
}

.tile-numbers {
  display: grid;
  place-items: center;
  background: linear-gradient(145deg, #f4cf77, #ee9858);
}

.number-stack {
  display: flex;
  align-items: end;
  gap: 6px;
  transform: rotate(-7deg);
}

.number-stack i {
  width: 36px;
  height: 42px;
  display: grid;
  place-items: center;
  border-radius: 8px;
  background: #fff8df;
  color: #546b50;
  font: 800 16px "Oxanium", Arial, sans-serif;
  font-style: normal;
  box-shadow: 0 4px 0 rgba(126, 87, 43, 0.18);
}

.number-stack i:nth-child(even) { transform: translateY(-12px); }

.tile-reaction {
  display: grid;
  place-items: center;
  background: linear-gradient(145deg, #bad8e8, #719ac5);
}

.reaction-orb {
  width: 78px;
  height: 78px;
  border: 8px solid rgba(255, 255, 255, 0.75);
  border-radius: 50%;
  background: radial-gradient(circle at 34% 30%, #fff8bd, #f5a444 70%);
  box-shadow: 0 10px 0 rgba(43, 77, 116, 0.22), inset -6px -9px 16px rgba(145, 75, 38, 0.15);
}

.tile-depth {
  perspective: 320px;
  background: linear-gradient(#a6d8e8 0 48%, #81a876 49% 100%);
}

.depth-road {
  position: absolute;
  left: 50%;
  bottom: -15px;
  width: 79%;
  height: 90%;
  background: #666b70;
  clip-path: polygon(41% 0, 59% 0, 100% 100%, 0 100%);
  transform: translateX(-50%);
}

.depth-road i {
  position: absolute;
  top: 0;
  bottom: 0;
  width: 2px;
  background: #f5efdc;
  transform-origin: top;
}

.depth-road i:first-child { left: 43%; transform: rotate(-12deg); }
.depth-road i:last-child { right: 43%; transform: rotate(12deg); }

.depth-block {
  position: absolute;
  width: 27px;
  height: 25px;
  left: 58%;
  top: 53%;
  border-radius: 3px;
  background: #b75842;
  box-shadow: 7px -5px 0 #824336;
  transform: rotateX(-15deg) rotateY(-12deg);
}

.depth-player {
  position: absolute;
  width: 24px;
  height: 38px;
  left: 49%;
  bottom: 17px;
  border-radius: 13px 13px 5px 5px;
  background: #f1bd4f;
  box-shadow: inset 0 -12px #4f927a;
  transform: translateX(-50%);
}

.tile-snake { display: grid; place-items: center; background: linear-gradient(145deg, #d6e5ad, #6e9a6d); }
.snake-art { width: 116px; height: 66px; position: relative; }
.snake-art i { position: absolute; width: 24px; height: 24px; border-radius: 8px; background: #34785a; box-shadow: inset 0 2px rgba(255,255,255,.25); }
.snake-art i:nth-child(1) { left: 67px; top: 8px; }
.snake-art i:nth-child(2) { left: 43px; top: 8px; }
.snake-art i:nth-child(3) { left: 19px; top: 8px; }
.snake-art b { position: absolute; left: 90px; top: 34px; width: 13px; height: 13px; border-radius: 50%; background: #cf574a; }

.tile-merge { display: grid; place-items: center; background: linear-gradient(145deg, #eacb9e, #bb8156); }
.merge-art { display: grid; grid-template-columns: repeat(2, 48px); gap: 6px; transform: rotate(-7deg); }
.merge-art i { height: 44px; display: grid; place-items: center; border-radius: 7px; background: #fff0d3; color: #806247; font: 800 21px "Space Grotesk", Arial, sans-serif; font-style: normal; box-shadow: 0 4px rgba(86, 59, 38, .16); }
.merge-art i:nth-child(3) { background: #edac67; color: white; }
.merge-art i:nth-child(4) { background: #dc8050; color: white; }

.tile-connect { display: grid; place-items: center; background: linear-gradient(145deg, #5c89b2, #335679); }
.connect-art { width: 132px; padding: 9px; display: grid; grid-template-columns: repeat(4, 1fr); gap: 6px; border-radius: 8px; background: #e0b558; transform: rotate(-5deg); }
.connect-art i { aspect-ratio: 1; border-radius: 50%; background: #f3ead2; box-shadow: inset 0 2px 4px rgba(54, 60, 53, .2); }
.connect-art i:nth-child(2), .connect-art i:nth-child(6), .connect-art i:nth-child(9) { background: #d65b50; }
.connect-art i:nth-child(4), .connect-art i:nth-child(8), .connect-art i:nth-child(11) { background: #f2e7cb; }

.tile-sudoku { display: grid; place-items: center; background: linear-gradient(145deg, #c8d6c3, #91aa9c); }
.sudoku-art { width: 112px; display: grid; grid-template-columns: repeat(4, 1fr); border: 2px solid #526f67; background: #f5f0df; transform: rotate(4deg); box-shadow: 7px 8px 0 rgba(53, 78, 70, .2); }
.sudoku-art i { aspect-ratio: 1; display: grid; place-items: center; border: 1px solid #9cad9d; color: #456b69; font: 700 14px "Space Grotesk", Arial, sans-serif; font-style: normal; }
.sudoku-art i:nth-child(4n + 2) { border-right: 2px solid #526f67; }
.sudoku-art i:nth-child(n + 5):nth-child(-n + 8) { border-bottom: 2px solid #526f67; }

.tile-simon { display: grid; place-items: center; background: linear-gradient(145deg, #e7d4ad, #b99576); }
.simon-art { width: 112px; height: 112px; display: grid; grid-template-columns: 1fr 1fr; gap: 6px; padding: 8px; border-radius: 50%; background: #403f42; transform: rotate(-8deg); box-shadow: 0 8px 0 rgba(65, 53, 45, .2); }
.simon-art i { border-radius: 50%; }
.simon-art i:nth-child(1) { background: #74a878; }
.simon-art i:nth-child(2) { background: #d86f5b; }
.simon-art i:nth-child(3) { background: #e4bd5f; }
.simon-art i:nth-child(4) { background: #6795be; }

.tile-blackjack { display: grid; place-items: center; background: linear-gradient(145deg, #698b73, #315c4d); }
.blackjack-art { position: relative; width: 118px; height: 102px; }
.blackjack-art i { position: absolute; top: 7px; width: 61px; height: 86px; padding: 9px; border-radius: 7px; background: #fffaf0; color: #263d39; font: 700 16px Georgia, serif; font-style: normal; box-shadow: 0 5px 9px rgba(20, 38, 34, .25); }
.blackjack-art i:first-child { left: 10px; transform: rotate(-12deg); }
.blackjack-art i:last-child { right: 7px; color: #bd4b46; transform: rotate(11deg); }

.tile-tower { display: grid; place-items: center; background: linear-gradient(145deg, #d9e7e4, #91b5bc); }
.tower-art { width: 134px; height: 112px; position: relative; border-bottom: 6px solid #697f82; }
.tower-art i { position: absolute; left: 50%; width: 82px; height: 17px; border: 2px solid rgba(255,255,255,.55); background: #d58a61; transform: translateX(-50%); }
.tower-art i:nth-child(1) { bottom: 0; width: 126px; background: #608e8b; }
.tower-art i:nth-child(2) { bottom: 17px; width: 110px; background: #daa95c; }
.tower-art i:nth-child(3) { bottom: 34px; width: 94px; background: #d47c60; }
.tower-art i:nth-child(4) { bottom: 51px; width: 78px; background: #6b9b8a; }
.tower-art i:nth-child(5) { bottom: 68px; width: 61px; background: #d6a757; }

.tile-neon::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(transparent 55%, rgba(9, 8, 17, 0.7));
}

.tile-badge {
  position: absolute;
  z-index: 3;
  top: 10px;
  left: 10px;
  padding: 4px 7px;
  border-radius: 4px;
  background: #ff668a;
  color: white;
  font-family: "Oxanium", Arial, sans-serif;
  font-size: 9px;
  font-weight: 800;
}

.tile-orbit {
  position: absolute;
  width: 145px;
  height: 145px;
  top: 16px;
  left: 50%;
  border: 1px solid rgba(103, 239, 255, 0.5);
  border-radius: 50%;
  box-shadow: 0 0 24px rgba(103, 239, 255, 0.15), inset 0 0 24px rgba(103, 239, 255, 0.1);
  transform: translateX(-50%) rotateX(52deg);
}

.tile-diamond {
  position: absolute;
  z-index: 2;
  width: 35px;
  height: 35px;
  left: 50%;
  bottom: 22px;
  border: 2px solid #67efff;
  border-radius: 7px;
  background: linear-gradient(145deg, #67efff, #7454dc);
  box-shadow: 0 0 20px rgba(103, 239, 255, 0.65);
  transform: translateX(-50%) rotate(45deg);
}

.tile-play {
  position: absolute;
  z-index: 4;
  width: 38px;
  height: 38px;
  top: 50%;
  left: 50%;
  display: grid;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, 0.45);
  border-radius: 50%;
  background: rgba(15, 12, 25, 0.76);
  color: white;
  font-size: 12px;
  opacity: 0;
  transition: opacity 160ms ease;
  transform: translate(-50%, -50%);
}

.game-tile:hover .tile-play,
.game-tile:focus-visible .tile-play {
  opacity: 1;
}

@keyframes tile-in {
  from {
    opacity: 0;
    transform: translateY(8px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
  }
}

.tile-info {
  min-height: 66px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 11px 13px;
}

.tile-info h3 {
  margin: 0 0 4px;
  font-size: 14px;
  font-weight: 700;
}

.tile-info p {
  margin: 0;
  color: #9892a6;
  font-size: 11px;
}

.tile-arrow {
  color: #67efff;
  font-size: 17px;
}

.no-games {
  padding: 30px 0;
  color: #aaa3bc;
  text-align: center;
}

.coming-soon {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-top: 25px;
  padding: 17px 19px;
  border: 1px dashed #373144;
  border-radius: 9px;
  color: #9c96a9;
  font-size: 12px;
  line-height: 1.7;
}

.coming-soon strong {
  color: #ded9e9;
  font-size: 13px;
}

.coming-icon {
  color: #a97cff;
  font-size: 25px;
}

.portal-footer {
  min-height: 56px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 clamp(18px, 4vw, 58px);
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  background: #0a0910;
  color: #858091;
  font-size: 11px;
}

.portal-footer b {
  color: #a97cff;
}

.footer-links {
  display: flex;
  gap: 18px;
}

.footer-links a {
  color: #aaa5b7;
  text-decoration: none;
}

.footer-links a:hover,
.footer-links a[aria-current="page"] {
  color: #67efff;
}

@media (max-width: 760px) {
  .portal-header {
    min-height: 64px;
    flex-wrap: wrap;
    gap: 0 18px;
    padding: 10px 16px;
  }

  .portal-brand {
    margin-right: auto;
    font-size: 13px;
  }

  .portal-nav {
    height: 42px;
    order: 3;
    width: 100%;
    gap: 20px;
  }

  .portal-search {
    width: min(230px, 46vw);
    height: 36px;
    margin-left: 0;
  }

  .header-play {
    display: none;
  }

  .portal-main {
    padding: 20px 16px 38px;
  }

  .featured-game {
    grid-template-columns: 1fr;
    gap: 20px;
    padding: 27px 22px 22px;
  }

  .featured-copy h1 {
    font-size: clamp(42px, 10vw, 60px);
  }

  .featured-art {
    min-height: 235px;
  }

  .art-sun {
    width: 125px;
    height: 125px;
  }

  .game-cards {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 11px;
  }

  .latest-game-list {
    grid-template-columns: 1fr;
  }

  .tile-art {
    height: 125px;
  }

  .tile-info {
    padding: 10px;
  }

  .tile-info h3 {
    font-size: 12px;
  }

  .portal-footer {
    flex-wrap: wrap;
    justify-content: center;
    gap: 10px 20px;
    padding: 16px;
    text-align: center;
  }
}

@media (max-width: 390px) {
  .portal-brand {
    gap: 7px;
    font-size: 11px;
  }

  .brand-symbol {
    width: 31px;
    height: 31px;
  }

  .portal-search {
    width: 41vw;
  }

  .game-cards {
    grid-template-columns: 1fr;
  }

  .tile-art {
    height: 165px;
  }
}

.about-main {
  width: min(1120px, 100%);
  flex: 1;
  margin: 0 auto;
  padding: clamp(32px, 6vw, 72px) clamp(18px, 4vw, 58px) 64px;
}

.about-hero {
  position: relative;
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  align-items: center;
  gap: clamp(28px, 5vw, 64px);
  padding: clamp(26px, 5vw, 58px);
  border: 1px solid rgba(190, 167, 255, 0.2);
  border-radius: 22px;
  background:
    radial-gradient(ellipse at 82% 50%, rgba(110, 62, 185, 0.22), transparent 38%),
    linear-gradient(115deg, rgba(26, 21, 39, 0.96), rgba(23, 19, 36, 0.94));
  overflow: hidden;
  isolation: isolate;
}

.about-hero::before {
  position: absolute;
  z-index: -1;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(103, 239, 255, 0.035) 1px, transparent 1px),
    linear-gradient(rgba(103, 239, 255, 0.035) 1px, transparent 1px);
  background-size: 32px 32px;
  content: "";
}

.about-title {
  margin: 14px 0;
  font-family: "Oxanium", Arial, sans-serif;
  font-size: clamp(42px, 6vw, 72px);
  line-height: 0.98;
  letter-spacing: -3px;
}

.about-title span {
  color: #b19aff;
  text-shadow: 0 0 24px rgba(169, 124, 255, 0.3);
}

.about-lede {
  max-width: 480px;
  margin: 0 0 22px;
  color: #b2adbe;
  font-size: 15px;
  line-height: 1.75;
}

.about-lede a {
  color: #67efff;
  text-decoration-color: rgba(103, 239, 255, 0.5);
  text-underline-offset: 3px;
}

.about-lede a:hover {
  color: #b7f9ff;
}

.about-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px;
}

.about-secondary {
  padding: 12px 16px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 999px;
  color: #e7e2f4;
  font-size: 13px;
  font-weight: 600;
  text-decoration: none;
  transition: 160ms ease;
}

.about-secondary:hover {
  border-color: rgba(103, 239, 255, 0.5);
  color: #67efff;
}

.about-meta {
  display: flex;
  align-items: center;
  gap: 8px;
  margin: 20px 0 0;
  color: #9892a6;
  font-size: 11px;
}

.about-visual {
  min-height: 310px;
  position: relative;
  display: grid;
  place-items: center;
  border: 1px solid rgba(103, 239, 255, 0.12);
  border-radius: 17px;
  background:
    radial-gradient(circle at center, rgba(103, 239, 255, 0.12), transparent 44%),
    rgba(8, 8, 19, 0.48);
  overflow: hidden;
}

.about-visual::before,
.about-visual::after {
  position: absolute;
  width: 220px;
  height: 220px;
  border: 1px solid rgba(169, 124, 255, 0.2);
  border-radius: 50%;
  content: "";
}

.about-visual::after {
  width: 275px;
  height: 275px;
  border-color: rgba(103, 239, 255, 0.13);
}

.about-orbit {
  width: 154px;
  height: 154px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(103, 239, 255, 0.56);
  border-radius: 50%;
  background: linear-gradient(145deg, rgba(103, 239, 255, 0.1), rgba(169, 124, 255, 0.12));
  box-shadow: 0 0 55px rgba(103, 239, 255, 0.13), inset 0 0 30px rgba(169, 124, 255, 0.12);
  transform: rotate(-12deg);
}

.about-orbit-core {
  width: 82px;
  height: 82px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, 0.55);
  border-radius: 23px;
  background: linear-gradient(140deg, #25375c, #6538a0);
  color: #67efff;
  font-family: "Oxanium", Arial, sans-serif;
  font-size: 48px;
  font-weight: 800;
  box-shadow: 0 0 34px rgba(103, 239, 255, 0.28);
}

.about-visual-label,
.about-visual-mark {
  position: absolute;
  color: #d7d0eb;
  font-family: "Oxanium", Arial, sans-serif;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 1.5px;
  line-height: 1.6;
}

.about-visual-label {
  left: 20px;
  bottom: 18px;
}

.about-visual-mark {
  top: 20px;
  right: 22px;
  color: #67efff;
  font-size: 22px;
}

.about-values {
  margin-top: clamp(48px, 7vw, 78px);
}

.about-section-heading h2,
.about-games h2 {
  margin: 8px 0 0;
  font-family: "Oxanium", Arial, sans-serif;
  font-size: clamp(25px, 3vw, 36px);
  letter-spacing: -0.5px;
}

.about-value-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  margin-top: 24px;
}

.about-value {
  min-height: 182px;
  padding: 22px;
  border: 1px solid rgba(255, 255, 255, 0.09);
  border-radius: 15px;
  background: linear-gradient(145deg, rgba(27, 22, 41, 0.92), rgba(17, 15, 28, 0.92));
}

.about-value-number {
  color: #67efff;
  font-family: "Oxanium", Arial, sans-serif;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 1px;
}

.about-value h3 {
  margin: 18px 0 7px;
  font-family: "Oxanium", Arial, sans-serif;
  font-size: 18px;
}

.about-value p {
  margin: 0;
  color: #aaa5b7;
  font-size: 13px;
  line-height: 1.65;
}

.about-games {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  align-items: center;
  gap: 28px;
  margin-top: clamp(48px, 7vw, 78px);
  padding: 26px 0 0;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.about-contact {
  display: grid;
  grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr);
  gap: clamp(24px, 5vw, 58px);
  margin-top: clamp(48px, 7vw, 78px);
  padding: clamp(22px, 4vw, 34px);
  border: 1px solid rgba(103, 239, 255, 0.14);
  border-radius: 16px;
  background: linear-gradient(145deg, rgba(27, 22, 41, 0.92), rgba(17, 15, 28, 0.92));
}

.about-contact-heading h2 {
  margin: 8px 0 10px;
  font-family: "Oxanium", Arial, sans-serif;
  font-size: clamp(25px, 3vw, 36px);
}

.about-contact-heading > p:last-child,
.contact-privacy {
  color: #aaa5b7;
  font-size: 13px;
  line-height: 1.65;
}

.about-contact-heading > p:last-child {
  margin: 0;
}

.contact-form {
  display: grid;
  gap: 13px;
}

.contact-form label {
  display: grid;
  gap: 7px;
  color: #d8d4e6;
  font-size: 13px;
}

.contact-form label > span {
  display: inline;
  color: #9892a6;
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  min-width: 0;
  padding: 11px 13px;
  border: 1px solid rgba(255, 255, 255, 0.13);
  border-radius: 8px;
  outline: 0;
  background: rgba(8, 8, 19, 0.58);
  color: #f7f5ff;
  font: 13px "Space Grotesk", Arial, sans-serif;
}

.contact-form input {
  height: 42px;
}

.contact-form textarea {
  min-height: 132px;
  resize: vertical;
}

.contact-form input:focus,
.contact-form textarea:focus {
  border-color: rgba(103, 239, 255, 0.55);
  box-shadow: 0 0 12px rgba(103, 239, 255, 0.08);
}

.contact-form button {
  justify-self: start;
  border: 0;
  cursor: pointer;
}

.contact-form button:disabled {
  opacity: 0.55;
  cursor: wait;
}

.contact-status,
.contact-privacy {
  margin: 0;
}

.contact-status {
  min-height: 20px;
  color: #ff8aa7;
  font-size: 13px;
}

.contact-status.success {
  color: #67efff;
}

.contact-privacy {
  font-size: 11px;
}

.about-game-links {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}

.about-game-links a {
  display: flex;
  align-items: center;
  gap: 9px;
  padding: 14px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 11px;
  background: rgba(255, 255, 255, 0.035);
  color: #f7f5ff;
  font-size: 12px;
  font-weight: 600;
  text-decoration: none;
  transition: 160ms ease;
}

.about-game-links a:hover {
  border-color: rgba(103, 239, 255, 0.45);
  background: rgba(103, 239, 255, 0.06);
}

.about-game-links span {
  color: #a97cff;
  font-family: "Oxanium", Arial, sans-serif;
  font-size: 10px;
}

.about-game-links b {
  margin-left: auto;
  color: #67efff;
  font-size: 14px;
}

@media (max-width: 760px) {
  .about-main {
    padding-top: 24px;
  }

  .about-hero {
    grid-template-columns: 1fr;
  }

  .about-visual {
    min-height: 235px;
  }

  .about-value-grid {
    grid-template-columns: 1fr;
  }

  .about-value {
    min-height: 0;
  }

  .about-games {
    grid-template-columns: 1fr;
    gap: 18px;
  }

  .about-contact {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 420px) {
  .about-title {
    letter-spacing: -2px;
  }

  .about-game-links {
    grid-template-columns: 1fr;
  }
}

.community-main {
  width: min(1050px, 100%);
  flex: 1;
  margin: 0 auto;
  padding: clamp(30px, 5vw, 58px) clamp(18px, 4vw, 48px) 64px;
}

.community-heading {
  margin-bottom: 28px;
  text-align: center;
}

.community-heading h1 {
  margin: 10px 0;
  font-family: "Oxanium", Arial, sans-serif;
  font-size: clamp(38px, 7vw, 66px);
  letter-spacing: -2px;
}

.community-heading h1 span {
  color: #b19aff;
  text-shadow: 0 0 24px rgba(169, 124, 255, 0.3);
}

.community-heading > p:last-child {
  margin: 0;
  color: #aaa5b7;
  font-size: 14px;
}

.community-card {
  margin-top: 18px;
  padding: clamp(19px, 3vw, 30px);
  border: 1px solid rgba(190, 167, 255, 0.16);
  border-radius: 17px;
  background: linear-gradient(145deg, rgba(27, 22, 41, 0.96), rgba(17, 15, 28, 0.96));
  box-shadow: 0 20px 55px rgba(0, 0, 0, 0.12);
}

.community-card-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
}

.community-card-heading h2 {
  margin: 5px 0 0;
  font-family: "Oxanium", Arial, sans-serif;
  font-size: clamp(23px, 4vw, 30px);
}

.community-game-select select {
  min-width: 150px;
  height: 40px;
  padding: 0 12px;
  border: 1px solid rgba(103, 239, 255, 0.28);
  border-radius: 8px;
  background: #131022;
  color: #f7f5ff;
  font: 600 13px "Space Grotesk", Arial, sans-serif;
}

.community-status {
  min-height: 20px;
  margin: 14px 0;
  color: #aaa5b7;
  font-size: 13px;
  line-height: 1.5;
}

.community-privacy-note {
  margin: -4px 0 13px;
  color: #858091;
  font-size: 11px;
  line-height: 1.5;
}

.leaderboard-list,
.community-list,
.friend-score-list {
  display: grid;
  gap: 8px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.leaderboard-entry {
  display: grid;
  grid-template-columns: 50px minmax(0, 1fr) auto;
  align-items: center;
  gap: 12px;
  min-height: 52px;
  padding: 9px 14px;
  border: 1px solid rgba(255, 255, 255, 0.07);
  border-radius: 9px;
  background: rgba(255, 255, 255, 0.025);
}

.leaderboard-first {
  border-color: rgba(103, 239, 255, 0.3);
  background: linear-gradient(90deg, rgba(103, 239, 255, 0.08), rgba(169, 124, 255, 0.06));
}

.leaderboard-rank {
  color: #a97cff;
  font-family: "Oxanium", Arial, sans-serif;
  font-size: 13px;
  font-weight: 800;
}

.leaderboard-first .leaderboard-rank {
  color: #67efff;
}

.leaderboard-username {
  overflow: hidden;
  color: #f7f5ff;
  font-size: 14px;
  font-weight: 600;
  text-overflow: ellipsis;
}

.leaderboard-score {
  color: #67efff;
  font-family: "Oxanium", Arial, sans-serif;
  font-size: 16px;
  font-variant-numeric: tabular-nums;
}

.community-empty {
  padding: 14px;
  border: 1px dashed rgba(255, 255, 255, 0.11);
  border-radius: 9px;
  color: #9993a7;
  font-size: 13px;
  text-align: center;
}

.friend-request-form {
  display: flex;
  gap: 9px;
  margin: 16px 0 24px;
}

.friend-request-form input {
  width: 100%;
  min-width: 0;
  height: 42px;
  padding: 0 13px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 8px;
  outline: 0;
  background: rgba(255, 255, 255, 0.045);
  color: #f7f5ff;
  font: 13px "Space Grotesk", Arial, sans-serif;
}

.friend-request-form input:focus {
  border-color: rgba(103, 239, 255, 0.5);
}

.friend-request-form button,
.friend-request-actions button,
.community-list-item > button {
  min-height: 38px;
  padding: 0 14px;
  border: 1px solid rgba(103, 239, 255, 0.32);
  border-radius: 7px;
  background: rgba(103, 239, 255, 0.09);
  color: #b7f9ff;
  font: 600 12px "Space Grotesk", Arial, sans-serif;
  cursor: pointer;
  white-space: nowrap;
}

.friend-request-form button:disabled,
.friend-request-actions button:disabled,
.community-list-item > button:disabled {
  opacity: 0.45;
  cursor: not-allowed;
}

.friend-columns {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 24px;
}

.friend-columns h3,
.friend-stats h3 {
  margin: 0 0 12px;
  font-family: "Oxanium", Arial, sans-serif;
  font-size: 16px;
}

.leaderboard-modes {
  display: inline-flex;
  gap: 5px;
  margin-top: 18px;
  padding: 4px;
  border: 1px solid rgba(255, 255, 255, 0.09);
  border-radius: 9px;
  background: rgba(0, 0, 0, 0.18);
}

.leaderboard-modes button {
  min-height: 34px;
  padding: 0 13px;
  border: 1px solid transparent;
  border-radius: 6px;
  background: transparent;
  color: #aaa5b7;
  font: 600 12px "Space Grotesk", Arial, sans-serif;
  cursor: pointer;
}

.leaderboard-modes button.selected {
  border-color: rgba(103, 239, 255, 0.2);
  background: rgba(103, 239, 255, 0.09);
  color: #b7f9ff;
}

.challenge-status-badge {
  padding: 7px 10px;
  border: 1px solid rgba(169, 124, 255, 0.34);
  border-radius: 999px;
  color: #c8b3ff;
  font-family: "Oxanium", Arial, sans-serif;
  font-size: 9px;
  font-weight: 800;
  letter-spacing: 1px;
}

.daily-challenge-copy {
  margin: 16px 0 0;
  color: #e2dded;
  font-size: 15px;
  line-height: 1.6;
}

.challenge-play-link {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 10px 14px;
  border-radius: 999px;
  background: linear-gradient(135deg, #7551dc, #9a62ed);
  color: white;
  font-size: 12px;
  font-weight: 700;
  text-decoration: none;
}

.challenge-play-link span {
  color: #b7f9ff;
}

.achievement-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
  margin: 14px 0 0;
  padding: 0;
  list-style: none;
}

.achievement-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  min-height: 48px;
  padding: 10px 12px;
  border: 1px solid rgba(255, 255, 255, 0.07);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.025);
}

.achievement-unlocked {
  border-color: rgba(103, 239, 255, 0.25);
  background: rgba(103, 239, 255, 0.055);
}

.achievement-name {
  color: #c5bfd2;
  font-size: 12px;
}

.achievement-unlocked .achievement-name {
  color: #f7f5ff;
}

.achievement-requirement {
  color: #8d879a;
  font-family: "Oxanium", Arial, sans-serif;
  font-size: 9px;
  font-weight: 800;
  white-space: nowrap;
}

.achievement-unlocked .achievement-requirement {
  color: #67efff;
}

.community-list-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  min-height: 46px;
  padding: 7px 10px;
  border: 1px solid rgba(255, 255, 255, 0.07);
  border-radius: 8px;
  color: #e5e0ef;
  font-size: 13px;
}

.friend-request-actions {
  display: flex;
  gap: 6px;
}

.friend-list-actions {
  display: flex;
  align-items: center;
  gap: 6px;
}

.friend-request-actions button {
  min-height: 32px;
  padding: 0 9px;
}

.friend-request-actions .button-quiet,
.community-list-item > .button-quiet {
  border-color: rgba(255, 255, 255, 0.12);
  background: transparent;
  color: #c2bbd1;
}

.friend-stats {
  margin-top: 24px;
  padding-top: 20px;
  border-top: 1px solid rgba(255, 255, 255, 0.09);
}

.friend-score-list li {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  padding: 11px 12px;
  border: 1px solid rgba(255, 255, 255, 0.07);
  border-radius: 8px;
  color: #c5bfd2;
  font-size: 13px;
}

.friend-score-list strong {
  color: #67efff;
  font-family: "Oxanium", Arial, sans-serif;
  font-size: 15px;
}

@media (max-width: 600px) {
  .community-heading {
    text-align: left;
  }

  .community-heading h1 {
    letter-spacing: -1px;
  }

  .community-card-heading {
    align-items: flex-start;
    flex-direction: column;
  }

  .friend-columns {
    grid-template-columns: 1fr;
  }

  .achievement-list {
    grid-template-columns: 1fr;
  }

  .friend-request-form {
    align-items: stretch;
    flex-direction: column;
  }

  .friend-request-form button {
    min-height: 42px;
  }
}
