/* =============================================================================
   Casualcade · layout de sitio (home, autenticación, cuenta)
   Sidebar fija + contenido principal. Estética orbital cian/violeta.
   ========================================================================== */

body.site {
  display: flex;
  min-height: 100dvh;
  background-color: #05060f;
  background-image:
    radial-gradient(ellipse 60% 45% at 82% -8%, rgba(61, 232, 255, 0.07), transparent 62%),
    radial-gradient(ellipse 45% 40% at 10% 95%, rgba(255, 61, 154, 0.05), transparent 60%),
    linear-gradient(180deg, #05060f 0%, #070b18 60%, #05060f 100%);
}

body.site::before {
  opacity: 0.42;
}

body.site::after {
  opacity: 0.5;
}

/* ------------------------------------------------------------------ sidebar */
.sidebar {
  position: fixed;
  top: 0;
  bottom: 0;
  left: 0;
  z-index: 60;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  width: 280px;
  padding: 26px 18px 20px;
  overflow-y: auto;
  border-right: 1px solid rgba(120, 170, 255, 0.14);
  background:
    radial-gradient(ellipse at 20% 0%, rgba(61, 232, 255, 0.08), transparent 58%),
    linear-gradient(180deg, #090716 0%, #080b1a 55%, #05060f 100%);
}

.sidebar__top {
  display: flex;
  flex-direction: column;
  gap: 22px;
}

.side-brand {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 4px 8px;
  color: var(--c-text);
  text-decoration: none;
}

.side-brand__mark {
  position: relative;
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  flex: none;
  border: 1px solid rgba(61, 232, 255, 0.5);
  border-radius: 50%;
  box-shadow: 0 0 20px rgba(61, 232, 255, 0.18);
}

.side-brand__mark::before {
  content: '';
  position: absolute;
  width: 46px;
  height: 14px;
  border: 1px solid rgba(255, 61, 154, 0.7);
  border-radius: 50%;
  transform: rotate(-24deg);
}

.side-brand__mark span {
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: radial-gradient(circle at 32% 28%, #e9feff, #3de8ff 38%, #4e5edf 78%, #101633);
  box-shadow: 0 0 12px rgba(61, 232, 255, 0.5);
}

.side-brand__text {
  display: flex;
  flex-direction: column;
  gap: 2px;
  min-width: 0;
}

.side-brand__text strong {
  font-family: var(--font-display);
  font-size: 13px;
  font-weight: 900;
  letter-spacing: 0.13em;
  line-height: 1.15;
}

.side-brand__text small {
  color: var(--c-dim);
  font-size: 8px;
  font-weight: 700;
  letter-spacing: 0.22em;
}

.side-play {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  min-height: 52px;
  padding: 12px 18px;
  border-radius: 12px;
  background: linear-gradient(100deg, #7a5cff 0%, #b44cff 45%, #ff3d9a 100%);
  color: #fff;
  font-family: var(--font-display);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  text-decoration: none;
  box-shadow:
    0 12px 36px rgba(180, 76, 255, 0.28),
    inset 0 1px 0 rgba(255, 255, 255, 0.28);
  transition:
    transform var(--ease) 160ms,
    box-shadow var(--ease) 160ms;
}

.side-play:hover {
  transform: translateY(-1px);
  box-shadow:
    0 16px 44px rgba(255, 61, 154, 0.32),
    inset 0 1px 0 rgba(255, 255, 255, 0.32);
}

.side-play svg {
  width: 18px;
  height: 18px;
}

.side-nav {
  display: flex;
  flex-direction: column;
  gap: 4px;
  margin-top: 4px;
}

.side-nav__item {
  display: flex;
  align-items: center;
  gap: 13px;
  min-height: 47px;
  padding: 0 14px;
  border: 1px solid transparent;
  border-radius: 10px;
  color: var(--c-muted);
  font-family: var(--font-ui);
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-decoration: none;
  transition:
    color 160ms var(--ease),
    background-color 160ms var(--ease),
    border-color 160ms var(--ease);
}

.side-nav__item svg {
  width: 19px;
  height: 19px;
  flex: none;
  opacity: 0.8;
}

.side-nav__item:hover {
  color: var(--c-text);
  background: rgba(120, 190, 255, 0.07);
}

.side-nav__item.is-active {
  border-color: rgba(61, 232, 255, 0.28);
  background: linear-gradient(90deg, rgba(61, 232, 255, 0.13), rgba(157, 123, 255, 0.06));
  color: var(--c-text);
  box-shadow: inset 3px 0 0 var(--c-cyan);
}

.side-nav__item.is-active svg {
  color: var(--c-cyan);
  opacity: 1;
}

.sidebar__bottom {
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin-top: 24px;
  padding-top: 18px;
  border-top: 1px solid var(--c-line);
}

.side-user {
  display: flex;
  align-items: center;
  gap: 10px;
  min-width: 0;
}

.side-user__avatar {
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  flex: none;
  border: 1px solid rgba(61, 232, 255, 0.45);
  border-radius: 50%;
  background: linear-gradient(135deg, rgba(61, 232, 255, 0.25), rgba(157, 123, 255, 0.25));
  color: var(--c-text);
  font-family: var(--font-display);
  font-size: 12px;
  font-weight: 800;
  text-decoration: none;
}

.side-user__avatar--ghost {
  color: var(--c-cyan);
  border-style: dashed;
}

.side-user__name {
  overflow: hidden;
  color: var(--c-muted);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-decoration: none;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.side-user__name:hover {
  color: var(--c-text);
}

.side-lang {
  display: flex;
  flex-direction: column;
  gap: 7px;
}

.side-lang__label {
  display: flex;
  align-items: center;
  gap: 7px;
  color: var(--c-dim);
  font-size: 8px;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.side-lang__label svg {
  width: 12px;
  height: 12px;
}

.side-lang__options {
  display: flex;
  gap: 5px;
}

.side-lang__options a {
  padding: 4px 8px;
  border: 1px solid var(--c-line);
  border-radius: 4px;
  color: var(--c-dim);
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-decoration: none;
}

.side-lang__options a.is-active {
  border-color: rgba(61, 232, 255, 0.55);
  background: rgba(61, 232, 255, 0.1);
  color: var(--c-cyan);
}

.side-links {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.side-links a {
  color: var(--c-dim);
  font-size: 10px;
  text-decoration: none;
}

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

.side-version {
  color: var(--c-dim);
  font-size: 8px;
  letter-spacing: 0.16em;
  opacity: 0.65;
}

/* ------------------------------------------------------------------ main */
.app-main {
  width: calc(100% - 280px);
  min-height: 100dvh;
  margin-left: 280px;
  padding: 0 clamp(18px, 3vw, 42px) 60px;
}

.topbar {
  position: sticky;
  top: 0;
  z-index: 30;
  display: flex;
  align-items: center;
  gap: 18px;
  min-height: 74px;
  border-bottom: 1px solid var(--c-line);
  background: rgba(5, 6, 15, 0.78);
  backdrop-filter: blur(16px);
}

.topbar__menu {
  display: none;
  place-items: center;
  width: 40px;
  height: 40px;
  flex: none;
  border: 1px solid var(--c-line);
  border-radius: 8px;
  color: var(--c-muted);
  cursor: pointer;
}

.topbar__menu:hover {
  color: var(--c-text);
  border-color: var(--c-line-strong);
}

.topbar__search {
  position: relative;
  display: flex;
  align-items: center;
  width: min(560px, 55vw);
}

.topbar__search-icon {
  position: absolute;
  left: 14px;
  display: grid;
  place-items: center;
  color: var(--c-dim);
  pointer-events: none;
}

.topbar__search-icon svg {
  width: 17px;
  height: 17px;
}

.topbar__search input {
  width: 100%;
  height: 44px;
  padding: 0 104px 0 42px;
  border: 1px solid var(--c-line);
  border-radius: 22px;
  background: rgba(12, 21, 48, 0.6);
  color: var(--c-text);
  font-family: var(--font-ui);
  font-size: 14px;
  font-weight: 500;
  letter-spacing: 0.02em;
  transition:
    border-color 160ms var(--ease),
    background-color 160ms var(--ease);
}

.topbar__search input::placeholder {
  color: var(--c-dim);
}

.topbar__search input:focus {
  border-color: rgba(61, 232, 255, 0.6);
  background: rgba(12, 21, 48, 0.85);
  outline: none;
}

.topbar__search-go {
  position: absolute;
  right: 5px;
  height: 34px;
  padding: 0 13px;
  border: 1px solid rgba(61, 232, 255, 0.28);
  border-radius: 17px;
  background: rgba(61, 232, 255, 0.08);
  color: var(--c-cyan);
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  cursor: pointer;
}

.topbar__right {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-left: auto;
}

.topbar__user {
  display: flex;
  align-items: center;
  gap: 8px;
  color: var(--c-muted);
  font-size: 12px;
  font-weight: 700;
  text-decoration: none;
}

.topbar__avatar {
  display: grid;
  place-items: center;
  width: 30px;
  height: 30px;
  border: 1px solid rgba(61, 232, 255, 0.4);
  border-radius: 50%;
  background: linear-gradient(135deg, rgba(61, 232, 255, 0.25), rgba(157, 123, 255, 0.25));
  color: var(--c-text);
  font-family: var(--font-display);
  font-size: 10px;
  font-weight: 800;
}

.topbar__user-name {
  max-width: 130px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.topbar__login {
  padding: 9px 14px;
  border: 1px solid var(--c-line-strong);
  border-radius: 6px;
  color: var(--c-text);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-decoration: none;
  text-transform: uppercase;
}

.topbar__login:hover {
  border-color: var(--c-cyan);
  color: var(--c-cyan);
}

@media (min-width: 981px) {
  .topbar__login {
    display: none;
  }
}

/* ------------------------------------------------------------- home content */
.home-ad {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 7px;
  padding: 22px 0 6px;
}

.home-ad__unit.ad-unit {
  max-width: 100%;
}

.home-ad--tablet,
.home-ad--mobile {
  display: none;
}

.home-ad__caption {
  color: var(--c-dim);
  font-size: 8px;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
}

.home-head {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  justify-content: space-between;
  gap: 20px;
  padding: 30px 0 24px;
  border-bottom: 1px solid var(--c-line);
}

.home-head__copy {
  max-width: 700px;
}

.home-head h1 {
  margin: 7px 0 8px;
  font-size: clamp(28px, 3.6vw, 48px);
  line-height: 1;
  text-transform: uppercase;
}

.home-head p {
  color: var(--c-muted);
  font-size: 15px;
  line-height: 1.5;
}

.home-head__meta {
  color: var(--c-dim);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-align: right;
  text-transform: uppercase;
}

.home-search-note {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
  margin: 18px 0 0;
  color: var(--c-muted);
  font-size: 13px;
}

.home-search-note a {
  color: var(--c-cyan);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.home-empty {
  display: grid;
  place-items: center;
  min-height: 220px;
  margin: 28px 0;
  padding: 30px;
  border: 1px dashed var(--c-line-strong);
  border-radius: 12px;
  background: rgba(8, 14, 32, 0.45);
  color: var(--c-muted);
  font-size: 15px;
  text-align: center;
}

.catalog-empty-action {
  margin-top: 16px;
}

.game-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(170px, 1fr));
  gap: clamp(14px, 1.6vw, 22px);
  padding: 28px 0 10px;
}

.game-tile {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 9px;
  min-width: 0;
  color: var(--c-text);
  text-decoration: none;
}

.game-tile__media {
  position: relative;
  aspect-ratio: 3 / 4;
  overflow: hidden;
  border: 1px solid rgba(120, 190, 255, 0.2);
  border-radius: 12px;
  background:
    radial-gradient(ellipse at 50% 20%, rgba(61, 232, 255, 0.12), transparent 60%),
    #0a1024;
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.35);
  transition:
    transform 300ms var(--ease),
    border-color 300ms var(--ease),
    box-shadow 300ms var(--ease);
}

.game-tile__media img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
  transition: transform 700ms var(--ease);
}

.game-tile:hover .game-tile__media {
  transform: translateY(-4px);
  border-color: rgba(61, 232, 255, 0.55);
  box-shadow:
    0 22px 54px rgba(0, 0, 0, 0.48),
    0 0 34px rgba(61, 232, 255, 0.12);
}

.game-tile:hover .game-tile__media img {
  transform: scale(1.03);
}

.game-tile__shade {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 45%, rgba(5, 6, 15, 0.82) 100%);
  pointer-events: none;
}

.game-tile__play {
  position: absolute;
  right: 10px;
  bottom: 10px;
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  border: 1px solid rgba(255, 255, 255, 0.35);
  border-radius: 50%;
  background: rgba(5, 6, 15, 0.72);
  color: #fff;
  backdrop-filter: blur(6px);
  transition: background-color 200ms var(--ease);
}

.game-tile__play svg {
  width: 15px;
  height: 15px;
  margin-left: 2px;
}

.game-tile:hover .game-tile__play {
  background: var(--c-cyan);
  color: #04121a;
}

.game-tile__badge {
  position: absolute;
  top: 9px;
  left: 9px;
  padding: 4px 7px;
  border: 1px solid rgba(61, 232, 255, 0.38);
  border-radius: 3px;
  background: rgba(5, 6, 15, 0.78);
  color: var(--c-cyan);
  font-size: 8px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.game-tile__body {
  display: flex;
  flex-direction: column;
  gap: 3px;
  min-width: 0;
}

.game-tile__title {
  overflow: hidden;
  font-family: var(--font-display);
  font-size: 14px;
  font-weight: 800;
  letter-spacing: 0.05em;
  line-height: 1.2;
  text-overflow: ellipsis;
  text-transform: uppercase;
  white-space: nowrap;
}

.game-tile__meta {
  overflow: hidden;
  color: var(--c-dim);
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.game-tile__stats {
  display: flex;
  align-items: center;
  gap: 8px;
  color: var(--c-muted);
  font-size: 9px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.game-tile__stats span + span::before {
  content: '·';
  margin-right: 8px;
  color: var(--c-dim);
}

.game-tile__stats strong {
  color: var(--c-amber);
  font-weight: 700;
}

.home-about {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 1px;
  margin-top: 44px;
  overflow: hidden;
  border: 1px solid var(--c-line);
  border-radius: 12px;
  background: var(--c-line);
}

.home-about > div {
  padding: 20px;
  background: linear-gradient(160deg, rgba(12, 21, 48, 0.88), rgba(7, 11, 26, 0.95));
}

.home-about h2 {
  font-size: 15px;
  text-transform: uppercase;
}

.home-about p {
  margin-top: 6px;
  color: var(--c-muted);
  font-size: 12px;
  line-height: 1.45;
}

.home-about strong {
  display: block;
  color: var(--c-cyan);
  font-family: var(--font-display);
  font-size: 12px;
  letter-spacing: 0.08em;
}

.home-about span {
  color: var(--c-dim);
  font-size: 10px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

/* ------------------------------------------------------------------ auth */
.auth-page {
  display: grid;
  place-items: center;
  min-height: calc(100dvh - 74px);
  padding: 40px 0 70px;
}

.auth-card {
  width: min(470px, 100%);
  padding: clamp(24px, 4vw, 38px);
  border: 1px solid rgba(120, 190, 255, 0.28);
  border-radius: 18px;
  background:
    radial-gradient(ellipse at 50% 0%, rgba(61, 232, 255, 0.09), transparent 58%),
    rgba(8, 14, 32, 0.88);
  box-shadow:
    0 30px 90px rgba(0, 0, 0, 0.5),
    inset 0 1px 0 rgba(255, 255, 255, 0.06);
}

.auth-card__mark {
  display: grid;
  place-items: center;
  width: 58px;
  height: 58px;
  margin: 0 auto 20px;
  border: 1px solid rgba(61, 232, 255, 0.5);
  border-radius: 50%;
  color: var(--c-cyan);
  box-shadow: 0 0 30px rgba(61, 232, 255, 0.15);
}

.auth-card__mark svg {
  width: 26px;
  height: 26px;
}

.auth-card h1 {
  margin: 0;
  font-size: clamp(24px, 4vw, 32px);
  text-align: center;
  text-transform: uppercase;
}

.auth-card__lead {
  margin: 10px 0 24px;
  color: var(--c-muted);
  font-size: 14px;
  line-height: 1.5;
  text-align: center;
}

.auth-form {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.auth-form label {
  color: var(--c-muted);
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.auth-form input[type='email'],
.auth-form input[type='text'] {
  width: 100%;
  height: 50px;
  padding: 0 14px;
  border: 1px solid var(--c-line-strong);
  border-radius: 8px;
  background: rgba(5, 6, 15, 0.7);
  color: var(--c-text);
  font-family: var(--font-ui);
  font-size: 16px;
  font-weight: 500;
}

.auth-form input[type='email']:focus,
.auth-form input[type='text']:focus {
  border-color: var(--c-cyan);
  box-shadow: 0 0 0 1px rgba(61, 232, 255, 0.22);
  outline: none;
}

.auth-submit {
  width: 100%;
  min-height: 48px;
  margin-top: 4px;
}

.auth-submit.is-loading {
  cursor: progress;
  opacity: 0.85;
}

.auth-submit.is-loading::after {
  content: '';
  display: inline-block;
  width: 13px;
  height: 13px;
  margin-left: 8px;
  border: 2px solid currentColor;
  border-right-color: transparent;
  border-radius: 50%;
  vertical-align: -2px;
  animation: auth-spin 700ms linear infinite;
}

.auth-form.is-validating .otp-input {
  opacity: 0.75;
}

@keyframes auth-spin {
  to {
    transform: rotate(360deg);
  }
}

.auth-divider {
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 18px 0;
  color: var(--c-dim);
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.auth-divider::before,
.auth-divider::after {
  content: '';
  flex: 1;
  height: 1px;
  background: var(--c-line);
}

.auth-google {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  width: 100%;
  min-height: 48px;
  border: 1px solid var(--c-line-strong);
  border-radius: 8px;
  background: #f5f8ff;
  color: #101828;
  font-family: var(--font-ui);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-decoration: none;
  transition: background-color 160ms var(--ease);
}

.auth-google:hover {
  background: #ffffff;
}

.auth-google svg {
  width: 18px;
  height: 18px;
}

.auth-legal {
  margin-top: 18px;
  color: var(--c-dim);
  font-size: 10px;
  line-height: 1.5;
  text-align: center;
}

.auth-legal a {
  color: var(--c-muted);
}

.auth-note {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  margin-top: 18px;
  padding-top: 16px;
  border-top: 1px solid var(--c-line);
  color: var(--c-dim);
  font-size: 9px;
  letter-spacing: 0.06em;
}

.auth-flash {
  margin-bottom: 16px;
  padding: 10px 12px;
  border: 1px solid rgba(255, 93, 108, 0.35);
  border-radius: 7px;
  background: rgba(255, 93, 108, 0.08);
  color: #ffb3b9;
  font-size: 12px;
  line-height: 1.4;
}

.auth-flash--ok {
  border-color: rgba(166, 255, 106, 0.35);
  background: rgba(166, 255, 106, 0.07);
  color: var(--c-lime);
}

.auth-back {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: 18px;
  color: var(--c-dim);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-decoration: none;
  text-transform: uppercase;
}

.auth-back:hover {
  color: var(--c-cyan);
}

.otp-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 8px;
  margin: 6px 0 4px;
}

.otp-input {
  width: 100%;
  height: 56px;
  padding: 0;
  border: 1px solid var(--c-line-strong);
  border-radius: 8px;
  background: rgba(5, 6, 15, 0.72);
  color: var(--c-cyan);
  font-family: var(--font-display);
  font-size: 22px;
  font-weight: 800;
  text-align: center;
  outline: none;
  transition:
    border-color 160ms var(--ease),
    box-shadow 160ms var(--ease);
}

.otp-input:focus {
  border-color: var(--c-cyan);
  box-shadow: 0 0 0 1px rgba(61, 232, 255, 0.25);
}

.auth-code-meta {
  margin-top: 10px;
  color: var(--c-dim);
  font-size: 10px;
  line-height: 1.45;
}

.auth-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 16px;
}

.auth-actions .btn {
  flex: 1;
  min-width: 130px;
}

.auth-actions button {
  cursor: pointer;
}

/* --------------------------------------------------------------- account */
.account-wrap {
  max-width: 860px;
  padding: 46px 0 60px;
}

.account-head {
  margin-bottom: 28px;
}

.account-head h1 {
  margin: 8px 0;
  font-size: clamp(30px, 4vw, 46px);
  text-transform: uppercase;
}

.account-head p {
  color: var(--c-muted);
}

.account-card {
  padding: 26px;
  border: 1px solid var(--c-line);
  border-radius: 14px;
  background: rgba(8, 14, 32, 0.65);
}

.account-profile {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 24px;
  padding-bottom: 24px;
  border-bottom: 1px solid var(--c-line);
}

.account-avatar {
  display: grid;
  place-items: center;
  width: 64px;
  height: 64px;
  border: 1px solid rgba(61, 232, 255, 0.5);
  border-radius: 50%;
  background: linear-gradient(135deg, rgba(61, 232, 255, 0.24), rgba(157, 123, 255, 0.24));
  color: var(--c-text);
  font-family: var(--font-display);
  font-size: 22px;
  font-weight: 900;
}

.account-profile h2 {
  font-size: 20px;
  text-transform: uppercase;
}

.account-profile p {
  margin-top: 3px;
  color: var(--c-dim);
  font-size: 11px;
}

.account-form {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.account-field {
  display: flex;
  flex-direction: column;
  gap: 7px;
}

.account-field label {
  color: var(--c-muted);
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.account-field input,
.account-field select {
  height: 46px;
  padding: 0 12px;
  border: 1px solid var(--c-line-strong);
  border-radius: 7px;
  background: rgba(5, 6, 15, 0.7);
  color: var(--c-text);
  font-family: var(--font-ui);
  font-size: 15px;
}

.account-field input:focus,
.account-field select:focus {
  border-color: var(--c-cyan);
  outline: none;
}

.account-field input:disabled {
  opacity: 0.55;
}

.account-form__actions {
  grid-column: 1 / -1;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 6px;
}

.account-danger {
  margin-top: 26px;
  padding-top: 20px;
  border-top: 1px solid var(--c-line);
}

.account-danger p {
  margin-bottom: 10px;
  color: var(--c-dim);
  font-size: 11px;
}

/* ------------------------------------------------------------- privacy */
.legal-wrap {
  max-width: 820px;
  padding: 46px 0 70px;
}

.legal-wrap h1 {
  margin: 8px 0 18px;
  font-size: clamp(30px, 4vw, 46px);
  text-transform: uppercase;
}

.legal-wrap p {
  color: var(--c-muted);
  font-size: 15px;
  line-height: 1.7;
}

/* ------------------------------------------------------------- responsive */
@media (max-width: 1200px) {
  .home-ad--desktop {
    display: none;
  }

  .home-ad--tablet {
    display: flex;
  }
}

@media (max-width: 980px) {
  .sidebar {
    width: 292px;
    transform: translateX(-105%);
    transition: transform 280ms var(--ease);
    box-shadow: 30px 0 80px rgba(0, 0, 0, 0.55);
  }

  body.nav-open .sidebar {
    transform: translateX(0);
  }

  .app-main {
    width: 100%;
    margin-left: 0;
    padding: 0 18px 48px;
  }

  .topbar__menu {
    display: grid;
  }

  .nav-scrim {
    position: fixed;
    inset: 0;
    z-index: 55;
    display: none;
    background: rgba(2, 4, 10, 0.6);
    backdrop-filter: blur(2px);
  }

  body.nav-open .nav-scrim {
    display: block;
  }
}

@media (max-width: 760px) {
  .home-ad--tablet {
    display: none;
  }

  .home-ad--mobile {
    display: flex;
  }

  .home-head {
    align-items: flex-start;
    padding-top: 22px;
  }

  .home-head__meta {
    text-align: left;
  }

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

  .home-about {
    grid-template-columns: 1fr;
  }

  .account-form {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 520px) {
  .topbar {
    min-height: 64px;
    gap: 10px;
  }

  .topbar__search {
    width: 100%;
  }

  .topbar__search input {
    height: 40px;
    padding-right: 66px;
    font-size: 13px;
  }

  .topbar__search-go {
    height: 30px;
    padding: 0 9px;
    font-size: 8px;
  }

  .topbar__user-name,
  .topbar__login {
    display: none;
  }

  .auth-card {
    padding: 22px 18px;
  }

  .otp-grid {
    gap: 5px;
  }

  .otp-input {
    height: 48px;
    font-size: 18px;
  }

  .game-tile__title {
    font-size: 12px;
  }
}
