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

/* ==========================================================================
   Arena Play — lobby de jogos de habilidade (prototipo visual)
   Paleta: aco escuro + laranja mecanico. Sem back-end, sem login real.
   ========================================================================== */

:root {
  --ink: #0a0a0d;
  --ink-2: #050506;
  --panel: #14151a;
  --panel-raised: #1c1d24;
  --line: rgba(255, 255, 255, 0.07);
  --line-strong: rgba(255, 255, 255, 0.14);
  --orange: #ff6a00;
  --orange-bright: #ff8a3d;
  --orange-deep: #9c3d00;
  --orange-dim: rgba(255, 106, 0, 0.16);
  --ivory: #f3f1ea;
  --steel: #8a8d97;
  --steel-dim: #565962;
  --bar-h: 64px;
  --bar-h-m: 56px;
  --side-w: 296px;
  --gap: 24px;
  --radius: 14px;
  --font-display: "Rajdhani", "Arial Narrow", sans-serif;
  --font-body: "IBM Plex Sans", "Segoe UI", sans-serif;
  --font-mono: "IBM Plex Mono", monospace;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  min-height: 100vh;
  background: var(--ink);
  color: var(--ivory);
  font-family: var(--font-body);
  overflow-x: hidden;
}

/* Barra de rolagem — a mesma em página, menu, tabelas e listas. */
html {
  scrollbar-width: thin;
  scrollbar-color: var(--orange-deep) transparent;
}
html::-webkit-scrollbar,
*::-webkit-scrollbar {
  width: 8px;
  height: 8px;
}
html::-webkit-scrollbar-track,
*::-webkit-scrollbar-track {
  background: transparent;
}
html::-webkit-scrollbar-thumb,
*::-webkit-scrollbar-thumb {
  background-color: var(--orange-deep);
  border: 2px solid transparent;
  border-radius: 99px;
  background-clip: padding-box;
}
html::-webkit-scrollbar-thumb:hover,
*::-webkit-scrollbar-thumb:hover {
  background-color: var(--orange);
}
html::-webkit-scrollbar-corner,
*::-webkit-scrollbar-corner {
  background: transparent;
}

a { color: inherit; }

button {
  font-family: inherit;
  cursor: pointer;
  border: none;
  background: none;
  color: inherit;
}

svg.ico {
  width: 1em;
  height: 1em;
  stroke: currentColor;
  fill: none;
  stroke-width: 1.6;
  stroke-linecap: round;
  stroke-linejoin: round;
  display: block;
}

/* Sinal de risco mecanico — usado com moderacao, como divisor de secao */
.hazard-rule {
  height: 4px;
  background: repeating-linear-gradient(
    -45deg,
    var(--orange) 0 10px,
    var(--ink-2) 10px 20px
  );
  border-radius: 2px;
  opacity: 0.85;
}

/* ==========================================================================
   Shell do app
   ========================================================================== */

.shell {
  display: grid;
  grid-template-columns: var(--side-w) 1fr;
  min-height: 100vh;
}

/* ---- Sidebar --------------------------------------------------------- */

.sidebar {
  position: sticky;
  top: 0;
  height: 100vh;
  overflow-y: auto;
  background: var(--panel);
  border-right: 1px solid var(--line);
  padding: 18px 16px 24px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 4px 4px 18px;
  text-decoration: none;
  border-bottom: 1px solid var(--line);
  margin-bottom: 16px;
}

.brand-mark {
  width: 34px;
  height: 34px;
  border-radius: 8px;
  background: var(--orange);
  color: var(--ink-2);
  display: grid;
  place-items: center;
  flex-shrink: 0;
  position: relative;
}

.brand-mark svg.ico { width: 20px; height: 20px; stroke-width: 2; }

.brand-name {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 22px;
  letter-spacing: 0.04em;
  line-height: 1;
  color: var(--ivory);
}

.brand-name b { color: var(--orange); }

.brand-tag {
  display: block;
  font-family: var(--font-mono);
  font-size: 9.5px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--steel);
  margin-top: 3px;
}

.mode-switch {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 6px;
  background: var(--ink);
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 4px;
  margin-bottom: 16px;
}

.mode-switch button {
  padding: 9px 6px;
  border-radius: 7px;
  font-family: var(--font-display);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.04em;
  color: var(--steel);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
}

.mode-switch button.is-active {
  background: var(--orange);
  color: var(--ink-2);
}

.mode-switch button:not(.is-active):hover { color: var(--ivory); }

.side-shortcuts {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
  margin-bottom: 18px;
}

.side-shortcuts a {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  padding: 12px 6px 10px;
  background: var(--panel-raised);
  border: 1px solid var(--line);
  border-radius: 10px;
  text-decoration: none;
  color: var(--steel);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.02em;
  text-align: center;
  transition: border-color 0.15s ease, color 0.15s ease;
}

.side-shortcuts svg.ico { width: 20px; height: 20px; color: var(--orange); }

.side-shortcuts a:hover,
.side-shortcuts a:focus-visible {
  border-color: var(--orange);
  color: var(--ivory);
  outline: none;
}

.side-nav { margin: 0 0 18px; padding: 0; list-style: none; }

.side-nav-label {
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--steel-dim);
  padding: 0 10px;
  margin: 18px 0 8px;
}

.side-nav a {
  display: flex;
  align-items: center;
  gap: 11px;
  padding: 9px 10px;
  border-radius: 8px;
  text-decoration: none;
  color: var(--steel);
  font-size: 14px;
  font-weight: 500;
  border-left: 2px solid transparent;
  transition: background 0.15s ease, color 0.15s ease, border-color 0.15s ease;
}

.side-nav svg.ico { width: 18px; height: 18px; flex-shrink: 0; }

.side-nav a:hover,
.side-nav a:focus-visible {
  background: var(--panel-raised);
  color: var(--ivory);
  outline: none;
}

.side-nav a.is-active {
  background: var(--orange-dim);
  color: var(--orange-bright);
  border-left-color: var(--orange);
}

.side-club {
  position: relative;
  margin-top: 4px;
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background:
    radial-gradient(120px 80px at 100% 0%, var(--orange-dim), transparent 70%),
    var(--panel-raised);
  overflow: hidden;
}

.side-club::before,
.side-club::after,
.rivet-panel::before,
.rivet-panel::after {
  content: "";
  position: absolute;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--line-strong);
  box-shadow: 0 0 0 1px rgba(0, 0, 0, 0.4) inset;
}

.side-club::before,
.rivet-panel::before { top: 7px; left: 7px; }
.side-club::after,
.rivet-panel::after { top: 7px; right: 7px; }

.side-club-top {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 8px;
}

.side-club-eyebrow {
  font-family: var(--font-mono);
  font-size: 9.5px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--steel);
  margin: 0 0 4px;
}

.side-club h3 {
  margin: 0;
  font-family: var(--font-display);
  font-size: 20px;
  font-weight: 700;
  color: var(--ivory);
}

.side-club-seal {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  border: 2px solid var(--orange);
  color: var(--orange);
  display: grid;
  place-items: center;
  flex-shrink: 0;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 11px;
}

.side-club p {
  margin: 8px 0 0;
  font-size: 12px;
  color: var(--steel);
  line-height: 1.45;
}

.side-club-bar {
  margin-top: 10px;
  height: 5px;
  border-radius: 3px;
  background: var(--ink);
  overflow: hidden;
}

.side-club-bar span {
  display: block;
  height: 100%;
  width: 62%;
  background: linear-gradient(90deg, var(--orange-deep), var(--orange));
}

/* ==========================================================================
   Coluna de conteudo
   ========================================================================== */

.content-col {
  min-width: 0;
  display: flex;
  flex-direction: column;
}

/* ---- Barra superior ---------------------------------------------------- */

.topbar {
  position: sticky;
  top: 0;
  z-index: 20;
  height: var(--bar-h);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 0 var(--gap);
  background: rgba(10, 10, 13, 0.86);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}

.topbar-drawer-btn { display: none; }

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

.topbar-crumb {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.08em;
  color: var(--steel-dim);
  white-space: nowrap;
}

.topbar-crumb b { color: var(--steel); font-weight: 500; }

.topbar-right {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
}

.wallet-chip {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 7px 12px 7px 10px;
  border-radius: 9px;
  background: var(--panel);
  border: 1px solid var(--line);
  font-family: var(--font-mono);
  color: inherit;
  text-decoration: none;
}

.wallet-chip:hover,
.wallet-chip:focus-visible {
  text-decoration: none;
  border-color: var(--orange);
  outline: none;
}

.wallet-chip svg.ico { width: 16px; height: 16px; color: var(--orange); }

.wallet-chip .wallet-label {
  font-size: 9px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--steel-dim);
  display: block;
  line-height: 1.2;
}

.wallet-chip .wallet-value {
  font-size: 13px;
  color: var(--ivory);
  font-weight: 500;
  line-height: 1.2;
  text-decoration: none;
  font-variant-numeric: tabular-nums;
}

.icon-btn {
  width: 38px;
  height: 38px;
  border-radius: 9px;
  background: var(--panel);
  border: 1px solid var(--line);
  color: var(--steel);
  display: grid;
  place-items: center;
  position: relative;
  transition: border-color 0.15s ease, color 0.15s ease;
}

.icon-btn svg.ico { width: 18px; height: 18px; }

.icon-btn:hover,
.icon-btn:focus-visible { border-color: var(--orange); color: var(--orange-bright); outline: none; }

.icon-btn .dot {
  position: absolute;
  top: 7px;
  right: 7px;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--orange);
  border: 1.5px solid var(--panel);
}

.btn {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 13.5px;
  letter-spacing: 0.03em;
  border-radius: 9px;
  padding: 10px 18px;
  display: inline-flex;
  align-items: center;
  gap: 7px;
  white-space: nowrap;
  text-decoration: none;
  transition: transform 0.12s ease, box-shadow 0.15s ease, background 0.15s ease;
}

.btn svg.ico { width: 16px; height: 16px; }

.btn-primary {
  background: var(--orange);
  color: var(--ink-2);
  box-shadow: 0 8px 22px -6px rgba(255, 106, 0, 0.55);
}

.btn-primary:hover,
.btn-primary:focus-visible {
  background: var(--orange-bright);
  transform: translateY(-1px);
  outline: none;
  text-decoration: none;
}

.btn-ghost {
  background: transparent;
  border: 1px solid var(--line-strong);
  color: var(--ivory);
}

.btn-ghost:hover,
.btn-ghost:focus-visible { border-color: var(--orange); color: var(--orange-bright); outline: none; }

.avatar-btn {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  border: 1.5px solid var(--line-strong);
  background: linear-gradient(150deg, var(--panel-raised), var(--panel));
  color: var(--orange-bright);
  display: grid;
  place-items: center;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 14px;
  text-decoration: none;
  transition: border-color 0.15s ease;
}

.avatar-btn:hover,
.avatar-btn:focus-visible { border-color: var(--orange); outline: none; }

/* ---- Corpo do conteudo -------------------------------------------------- */

.content-body {
  padding: var(--gap);
  display: flex;
  flex-direction: column;
  gap: 34px;
}

/* Banner / carrossel */

.hero {
  position: relative;
  border-radius: 18px;
  overflow: hidden;
  border: 1px solid var(--line-strong);
  height: 360px;
  background: var(--panel);
}

.hero-track {
  display: flex;
  height: 100%;
  transition: transform 0.6s cubic-bezier(0.65, 0, 0.35, 1);
  will-change: transform;
}

.hero-slide {
  position: relative;
  flex: 0 0 100%;
  height: 100%;
  overflow: hidden;
}

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

.hero-slide::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(5, 5, 6, 0.92) 0%, rgba(5, 5, 6, 0.55) 38%, rgba(5, 5, 6, 0.05) 62%, transparent 80%);
}

.hero-slide.align-right::after {
  background: linear-gradient(270deg, rgba(5, 5, 6, 0.92) 0%, rgba(5, 5, 6, 0.55) 38%, rgba(5, 5, 6, 0.05) 62%, transparent 80%);
}

.hero-copy {
  position: absolute;
  inset: 0;
  z-index: 2;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 12px;
  width: min(480px, 88%);
  padding: 0 58px;
}

.hero-slide.align-right .hero-copy { margin-left: auto; align-items: flex-end; text-align: right; }

.hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--orange-bright);
}

.hero-eyebrow::before {
  content: "";
  width: 16px;
  height: 2px;
  background: var(--orange);
  border-radius: 1px;
}

.hero-slide.align-right .hero-eyebrow { flex-direction: row-reverse; }

.hero-copy h2 {
  margin: 0;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(28px, 3.4vw, 42px);
  line-height: 1.04;
  color: var(--ivory);
  text-shadow: 0 4px 24px rgba(0, 0, 0, 0.5);
}

.hero-copy h2 b { color: var(--orange); }

.hero-copy p {
  margin: 0;
  color: var(--steel);
  font-size: 14.5px;
  line-height: 1.5;
  max-width: 34ch;
}

.hero-copy .btn { margin-top: 6px; align-self: flex-start; }
.hero-slide.align-right .hero-copy .btn { align-self: flex-end; }

.hero-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 3;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: rgba(10, 10, 13, 0.55);
  border: 1px solid var(--line-strong);
  color: var(--ivory);
  display: grid;
  place-items: center;
  backdrop-filter: blur(4px);
  transition: border-color 0.15s ease, color 0.15s ease;
}

.hero-arrow svg.ico { width: 17px; height: 17px; }
.hero-arrow.prev { left: 14px; }
.hero-arrow.prev svg.ico { transform: rotate(180deg); }
.hero-arrow.next { right: 14px; }

.hero-arrow:hover,
.hero-arrow:focus-visible { border-color: var(--orange); color: var(--orange); outline: none; }

.hero-dots {
  position: absolute;
  bottom: 16px;
  left: 40px;
  z-index: 3;
  display: flex;
  gap: 7px;
}

.hero-dots button {
  width: 20px;
  height: 3px;
  border-radius: 2px;
  background: rgba(255, 255, 255, 0.28);
  transition: background 0.2s ease, width 0.2s ease;
}

.hero-dots button.is-active { background: var(--orange); width: 30px; }

/* Faixa de atalhos */

.shortcuts {
  display: grid;
  grid-template-columns: repeat(8, 1fr);
  gap: 12px;
}

.shortcut {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  padding: 16px 8px 12px;
  border-radius: 12px;
  background: var(--panel);
  border: 1px solid var(--line);
  text-decoration: none;
  color: var(--steel);
  font-size: 12px;
  font-weight: 600;
  text-align: center;
  transition: border-color 0.15s ease, transform 0.15s ease, color 0.15s ease;
}

.shortcut-ico {
  width: 42px;
  height: 42px;
  border-radius: 10px;
  background: var(--orange-dim);
  color: var(--orange);
  display: grid;
  place-items: center;
}

.shortcut-ico svg.ico { width: 22px; height: 22px; }

.shortcut:hover,
.shortcut:focus-visible {
  border-color: var(--orange);
  color: var(--ivory);
  transform: translateY(-2px);
  outline: none;
}

/* Busca */

.search-row {
  position: relative;
}

.search-row svg.ico {
  position: absolute;
  left: 16px;
  top: 50%;
  transform: translateY(-50%);
  width: 18px;
  height: 18px;
  color: var(--steel-dim);
  pointer-events: none;
}

.search-row input {
  width: 100%;
  height: 46px;
  padding: 0 16px 0 46px;
  border-radius: 10px;
  background: var(--panel);
  border: 1px solid var(--line);
  color: var(--ivory);
  font-family: var(--font-body);
  font-size: 14px;
}

.search-row input::placeholder { color: var(--steel-dim); }

.search-row input:focus {
  outline: none;
  border-color: var(--orange);
  box-shadow: 0 0 0 3px var(--orange-dim);
}

.search-empty {
  display: none;
  padding: 40px 0;
  text-align: center;
  color: var(--steel);
  font-size: 14px;
}

.search-empty.is-visible { display: block; }

/* Trilhos de jogos */

.rail-section { display: flex; flex-direction: column; gap: 14px; }

.rail-head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 12px;
}

.rail-title {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 0;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 20px;
  letter-spacing: 0.01em;
  color: var(--ivory);
}

.rail-title svg.ico { width: 19px; height: 19px; color: var(--orange); }

.rail-title span.count {
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--steel-dim);
  font-weight: 500;
}

.rail-nav { display: flex; gap: 6px; flex-shrink: 0; }

.rail-nav button {
  width: 30px;
  height: 30px;
  border-radius: 50%;
  border: 1px solid var(--line-strong);
  color: var(--steel);
  display: grid;
  place-items: center;
  transition: border-color 0.15s ease, color 0.15s ease;
}

.rail-nav button svg.ico { width: 15px; height: 15px; }
.rail-nav button.prev svg.ico { transform: rotate(180deg); }

.rail-nav button:hover,
.rail-nav button:focus-visible { border-color: var(--orange); color: var(--orange); outline: none; }

.rail-track {
  --rail-inset: var(--gap);
  display: flex;
  gap: 16px;
  overflow-x: auto;
  scroll-snap-type: x proximity;
  scrollbar-width: none;
  padding-bottom: 4px;
  margin: 0 calc(var(--rail-inset) * -1);
  scroll-padding-inline: var(--rail-inset);
}

.rail-track > :first-child { margin-left: var(--rail-inset); }
.rail-track > :last-child { margin-right: var(--rail-inset); }

.rail-track::-webkit-scrollbar { display: none; }

/* Cartao com capa (trilho principal) */

.game-card {
  position: relative;
  flex: 0 0 168px;
  scroll-snap-align: start;
  display: block;
  aspect-ratio: 2 / 2.66;
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--line-strong);
  background: var(--panel-raised);
  text-decoration: none;
  color: inherit;
  transition: transform 0.18s ease, border-color 0.18s ease, box-shadow 0.18s ease;
}

.game-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 36%;
  display: block;
}

.game-card .shade {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 44%, rgba(0, 0, 0, 0.55) 76%, rgba(0, 0, 0, 0.86) 100%);
}

.game-card .tag {
  position: absolute;
  top: 10px;
  left: 10px;
  padding: 4px 8px;
  border-radius: 5px;
  background: rgba(5, 5, 6, 0.65);
  border: 1px solid rgba(255, 255, 255, 0.25);
  font-family: var(--font-mono);
  font-size: 9.5px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--ivory);
}

.game-card .tag.hot { background: var(--orange); border-color: var(--orange); color: var(--ink-2); font-weight: 600; }

.game-card .copy {
  position: absolute;
  left: 12px;
  right: 12px;
  bottom: 12px;
}

.game-card h3 {
  margin: 0 0 2px;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 18px;
  color: #fff;
  line-height: 1.05;
}

.game-card .studio {
  margin: 0;
  font-size: 10.5px;
  font-weight: 600;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.6);
}

.game-card .play-pill {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 56px;
  height: 56px;
  margin: -28px 0 0 -28px;
  border-radius: 50%;
  background: var(--orange);
  color: var(--ink-2);
  display: grid;
  place-items: center;
  opacity: 0;
  box-shadow: 0 10px 26px -6px rgba(0, 0, 0, 0.55);
  transform: scale(0.7);
  transition: opacity 0.15s ease, transform 0.15s ease;
}

.game-card .play-pill svg.ico { width: 22px; height: 22px; stroke-width: 2.4; }

.game-card:hover .shade,
.game-card:focus-visible .shade {
  background: linear-gradient(180deg, rgba(0, 0, 0, 0.15) 0%, transparent 30%, transparent 60%, rgba(0, 0, 0, 0.6) 82%, rgba(0, 0, 0, 0.88) 100%);
}

.game-card:hover,
.game-card:focus-visible {
  transform: translateY(-4px);
  border-color: var(--orange);
  box-shadow: 0 18px 34px -14px rgba(255, 106, 0, 0.4);
  outline: none;
}

.game-card:hover .play-pill,
.game-card:focus-visible .play-pill { opacity: 1; transform: none; }

.game-card.is-locked {
  cursor: default;
}

.game-card.is-locked .play-pill { display: none; }

.game-card.is-locked .shade {
  background: linear-gradient(180deg, rgba(0, 0, 0, 0.28) 0%, rgba(0, 0, 0, 0.42) 48%, rgba(0, 0, 0, 0.88) 100%);
}

.game-card.is-locked .lock-banner {
  position: absolute;
  left: 10px;
  right: 10px;
  top: 50%;
  z-index: 2;
  transform: translateY(-50%);
  padding: 8px 8px;
  border-radius: 8px;
  background: rgba(10, 10, 13, 0.9);
  border: 1px solid rgba(255, 106, 0, 0.45);
  font-family: var(--font-mono);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.06em;
  line-height: 1.35;
  text-align: center;
  text-transform: uppercase;
  color: var(--ivory);
  pointer-events: none;
}

.game-card.is-locked:hover,
.game-card.is-locked:focus-visible {
  transform: none;
  border-color: var(--line-strong);
  box-shadow: none;
}

.game-card.is-locked:hover .shade,
.game-card.is-locked:focus-visible .shade {
  background: linear-gradient(180deg, rgba(0, 0, 0, 0.28) 0%, rgba(0, 0, 0, 0.42) 48%, rgba(0, 0, 0, 0.88) 100%);
}

/* Cartao piso — trilhos sem arte propria (estilo trilha de provedor) */

.floor-card {
  position: relative;
  flex: 0 0 152px;
  scroll-snap-align: start;
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding: 16px 14px 14px;
  border-radius: var(--radius);
  border: 1px solid var(--line);
  background: var(--panel);
  text-decoration: none;
  color: inherit;
  transition: transform 0.18s ease, border-color 0.18s ease;
}

.floor-card .ico-plate {
  width: 44px;
  height: 44px;
  border-radius: 10px;
  background: var(--orange-dim);
  color: var(--orange);
  display: grid;
  place-items: center;
}

.floor-card .ico-plate svg.ico { width: 23px; height: 23px; }

.floor-card h3 {
  margin: 0;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 15.5px;
  color: var(--ivory);
  line-height: 1.15;
}

.floor-card .studio {
  margin: 0;
  font-size: 10.5px;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--steel-dim);
}

.floor-card:hover,
.floor-card:focus-visible {
  transform: translateY(-3px);
  border-color: var(--orange);
  outline: none;
}

.floor-card:hover .ico-plate { background: var(--orange); color: var(--ink-2); }

/* ==========================================================================
   Rodape
   ========================================================================== */

.site-footer {
  border-top: 1px solid var(--line);
  padding-top: 8px;
}

.footer-inner { padding: 36px var(--gap) 0; }

.footer-grid {
  display: grid;
  grid-template-columns: 1.3fr repeat(3, 1fr);
  gap: 28px;
  padding-bottom: 30px;
}

.footer-brand .brand { border-bottom: none; padding: 0 0 12px; margin-bottom: 0; }

.footer-brand p {
  margin: 8px 0 16px;
  color: var(--steel);
  font-size: 13px;
  line-height: 1.6;
  max-width: 34ch;
}

.footer-social { display: flex; gap: 8px; }

.footer-social a {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  border: 1px solid var(--line-strong);
  display: grid;
  place-items: center;
  color: var(--steel);
  text-decoration: none;
  transition: border-color 0.15s ease, color 0.15s ease;
}

.footer-social svg.ico { width: 15px; height: 15px; }

.footer-social a:hover,
.footer-social a:focus-visible { border-color: var(--orange); color: var(--orange); outline: none; }

.footer-col h4 {
  margin: 0 0 14px;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--steel-dim);
}

.footer-col ul { margin: 0; padding: 0; list-style: none; display: flex; flex-direction: column; gap: 10px; }

.footer-col a {
  color: var(--steel);
  text-decoration: none;
  font-size: 13.5px;
  transition: color 0.15s ease;
}

.footer-col a:hover,
.footer-col a:focus-visible { color: var(--orange-bright); outline: none; }

.footer-legal {
  border-top: 1px solid var(--line);
  padding: 22px var(--gap) 100px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
}

.footer-legal p {
  margin: 0;
  color: var(--steel-dim);
  font-size: 11.5px;
  line-height: 1.6;
  max-width: 62ch;
}

.age-badge {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
  color: var(--steel);
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.age-badge .num {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: 2px solid var(--orange);
  color: var(--orange);
  display: grid;
  place-items: center;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 14px;
  flex-shrink: 0;
}

/* ==========================================================================
   Mobile: gaveta + barra inferior
   ========================================================================== */

.drawer-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.6);
  z-index: 40;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.2s ease;
}

/* ==========================================================================
   Deposito simulado
   ========================================================================== */

.deposit-modal {
  position: fixed;
  inset: 0;
  z-index: 70;
  display: grid;
  place-items: center;
  padding: 24px 16px;
}

.deposit-modal[hidden] { display: none; }

.deposit-modal-overlay {
  position: absolute;
  inset: 0;
  background: rgba(5, 5, 6, 0.82);
  backdrop-filter: blur(3px);
}

.deposit-card {
  position: relative;
  width: min(380px, 100%);
  padding: 26px;
  background: var(--panel);
  border: 1px solid rgba(255, 106, 0, 0.35);
  border-radius: 18px;
  box-shadow: 0 28px 70px rgba(0, 0, 0, 0.55);
}

.deposit-close {
  position: absolute;
  top: 14px;
  right: 14px;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  color: var(--steel);
  display: grid;
  place-items: center;
}

.deposit-close svg.ico { width: 15px; height: 15px; }
.deposit-close:hover { color: var(--ivory); }

.deposit-eyebrow {
  margin: 0 0 6px;
  font-family: var(--font-mono);
  font-size: 10.5px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--orange-bright);
}

.deposit-title {
  margin: 0 0 18px;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 26px;
  color: var(--ivory);
}

.deposit-title b { color: var(--orange); }

.deposit-balance-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px 14px;
  background: var(--ink);
  border: 1px solid var(--line);
  border-radius: 10px;
  font-size: 12px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--steel);
  margin-bottom: 14px;
}

.deposit-balance-row b {
  font-family: var(--font-mono);
  font-size: 15px;
  letter-spacing: 0;
  color: var(--orange-bright);
  text-transform: none;
}

.deposit-help {
  margin: 0 0 16px;
  font-size: 12px;
  line-height: 1.55;
  color: var(--steel-dim);
}

.deposit-quick-row {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 8px;
  margin-bottom: 16px;
}

.deposit-quick-btn {
  padding: 10px 0;
  border-radius: 9px;
  border: 1px solid var(--line-strong);
  background: var(--panel-raised);
  color: var(--ivory);
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 13px;
}

.deposit-quick-btn:hover,
.deposit-quick-btn.is-active {
  border-color: var(--orange);
  color: var(--orange-bright);
  background: var(--orange-dim);
}

.deposit-input-label {
  display: block;
  font-size: 11px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--steel-dim);
  margin-bottom: 8px;
}

.deposit-input-row {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 0 14px;
  border-radius: 10px;
  background: var(--ink);
  border: 1px solid var(--line-strong);
  margin-bottom: 6px;
}

.deposit-input-row:focus-within {
  border-color: var(--orange);
  box-shadow: 0 0 0 3px var(--orange-dim);
}

.deposit-input-prefix {
  font-family: var(--font-mono);
  font-weight: 700;
  color: var(--steel);
  font-size: 14px;
}

#deposit-amount-input {
  flex: 1;
  height: 46px;
  border: none;
  background: transparent;
  color: var(--ivory);
  font-family: var(--font-mono);
  font-weight: 700;
  font-size: 16px;
}

#deposit-amount-input:focus { outline: none; }

.deposit-error {
  min-height: 16px;
  margin: 0 0 8px;
  font-size: 11.5px;
  color: #ff5959;
}

.deposit-confirm-btn {
  width: 100%;
  justify-content: center;
  margin-top: 6px;
  font-size: 14px;
  padding: 13px 0;
}

.bottom-nav { display: none; }

@media (max-width: 1080px) {
  .shortcuts { grid-template-columns: repeat(4, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 980px) {
  .shell { grid-template-columns: 1fr; }

  .sidebar {
    position: fixed;
    top: 0;
    left: 0;
    width: min(var(--side-w), 88vw);
    height: 100dvh;
    z-index: 50;
    transform: translateX(-100%);
    transition: transform 0.25s ease;
    box-shadow: 20px 0 60px rgba(0, 0, 0, 0.5);
    padding-top: calc(18px + env(safe-area-inset-top));
    padding-bottom: calc(24px + env(safe-area-inset-bottom));
  }

  body.drawer-open .sidebar { transform: translateX(0); }
  body.drawer-open .drawer-overlay { opacity: 1; pointer-events: auto; }

  .topbar {
    height: calc(var(--bar-h-m) + env(safe-area-inset-top));
    padding: env(safe-area-inset-top) 12px 0;
  }
  .topbar-drawer-btn { display: grid; }
  .topbar-crumb { display: none; }
  .wallet-chip .wallet-label { display: none; }

  .content-body { padding: 16px; gap: 26px; }
  .hero { height: 220px; }
  .hero-copy { padding: 0 22px; width: 92%; }
  .hero-copy h2 { font-size: clamp(22px, 6vw, 30px); }
  .hero-copy p { display: none; }
  .hero-arrow { display: none; }

  .rail-track { --rail-inset: 16px; }
  .footer-inner { padding: 30px 16px 0; }
  .footer-legal { padding: 20px 16px calc(96px + env(safe-area-inset-bottom)); }

  .bottom-nav {
    display: flex;
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    height: calc(62px + env(safe-area-inset-bottom));
    z-index: 45;
    background: rgba(10, 10, 13, 0.92);
    backdrop-filter: blur(12px);
    border-top: 1px solid var(--line);
    justify-content: space-between;
    padding: 0 6px env(safe-area-inset-bottom);
  }

  .bottom-nav a,
  .bottom-nav button {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 3px;
    color: var(--steel);
    text-decoration: none;
    font-size: 10px;
    font-weight: 600;
  }

  .bottom-nav svg.ico { width: 19px; height: 19px; }
  .bottom-nav a.is-active { color: var(--orange); }

  .bottom-nav .nav-deposit {
    background: var(--orange);
    color: var(--ink-2);
    border-radius: 12px;
    margin: 8px 4px;
    flex: 0 0 auto;
    padding: 0 14px;
    flex-direction: row;
    gap: 6px;
  }
}

@media (max-width: 640px) {
  .shortcuts { grid-template-columns: repeat(4, 1fr); }
  .shortcut span { font-size: 10.5px; }
  .footer-grid { grid-template-columns: 1fr; gap: 22px; }
  .game-card { flex-basis: 132px; }
  .floor-card { flex-basis: 128px; }
  .topbar-right { gap: 6px; }
  .topbar-right .btn { padding: 8px 10px; }
  .wallet-chip { padding: 6px 8px; gap: 6px; }
  .content-body { padding: 12px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .hero-track { transition: none; }
  .game-card,
  .floor-card,
  .shortcut { transition: none; }
}
