:root {
  color-scheme: light dark;
  /* Palette: gold-focused */
  --color-bg-0: #000000;
  /* preto (fundo) */
  --color-bg-1: #0c0c0c;
  /* preto (fundo) */
  --color-text: #b5800e;
  /* dourado intenso */
  --color-text-muted: #ffffff;
  /* dourado claro */
  --accent: #b5800e;
  /* dourado intenso */
  --accent-2: #f5c43b;
  /* dourado claro (reflexos) */
  --gold: #7a5a0b;
  /* dourado escuro (sombras) */
  --color-surface: rgba(26, 16, 3, 0.18);
  /* marrom quase preto, translúcido */
  --color-border: hsla(0, 0%, 100%, 0.5);
  /* contornos */
  --shadow-elev: 0 24px 64px rgba(0, 0, 0, 0.65);
  --radius-lg: 28px;
  --radius-pill: 15px;
  --space-1: 8px;
  --space-2: 12px;
  --space-3: 16px;
  --space-4: 20px;
  --space-5: 24px;
  --space-6: 32px;
  --transition-fast: .15s ease;
  --loading: white;
  --bg-loading: rgba(0, 0, 0, 0.5);
  --bg-line-square: rgba(59, 48, 13, 0.35);
  --bg-star: rgba(255, 255, 255, 0.25);
  --bg-noise: rgba(255, 255, 255, 0.03);
}

.title {
  font-size: 2rem;
}

#titulo-controle {
  text-align: center;
  display: flex;
  margin: 0 auto;
}

.act2 {
  display: flex;
  flex-direction: column;
}

.sub2 {
  margin-bottom: 2rem;
}

.thumb img {
  max-width: 100%;
  border-radius: 8px;
}

.loader {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 9999;
  transition: opacity 0.5s ease, visibility 0.5s ease;
  background-color: var(--bg-loading);
  backdrop-filter: blur(3px);
  -webkit-backdrop-filter: blur(3px);
}

.loader.hidden {
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.8s ease, visibility 0.8s ease;
}

.loader_container {
  width: 50px;
  height: 50px;
  position: relative;
  transform: rotate(45deg);
}

.orbe {
  position: absolute;
  width: 100%;
  height: 100%;
  --delay: calc(var(--index) * 0.1s);
  animation: orbit7456 ease-in-out 1.5s var(--delay) infinite;
  opacity: calc(1 - calc(0.2 * var(--index)));
}

.orbe::after {
  position: absolute;
  content: '';
  top: 0;
  left: 0;
  width: 10px;
  height: 10px;
  background-color: var(--loading);
  box-shadow: 0px 0px 5px 2px var(--loading);
  border-radius: 50%;
}

@keyframes orbit7456 {
  0% {}

  80%,
  100% {
    transform: rotate(360deg);
  }
}

/*                 BACKGROUND              */
.background {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  overflow: hidden;
  z-index: 0;
}

.background_grid-square {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background:
    linear-gradient(90deg, var(--bg-line-square) 1px, transparent 1px) 0 0 / 40px 40px,
    linear-gradient(0deg, var(--bg-line-square) 1px, transparent 1px) 0 0 / 40px 40px;
  opacity: 0.25;
  pointer-events: none;
  z-index: 1;
}

.background_noise {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: repeating-radial-gradient(circle at 50% 50%, var(--bg-noise) 0, rgba(0, 0, 0, 0.1) 1px, rgba(255, 255, 255, 0.05) 10px);
  opacity: 0.1;
  pointer-events: none;
  z-index: 1;
  animation: noise 60s linear infinite;
}

@keyframes noise {

  0%,
  100% {
    transform: translate(0, 0);
  }

  10% {
    transform: translate(-5%, -5%);
  }

  20% {
    transform: translate(-10%, 5%);
  }

  30% {
    transform: translate(5%, -10%);
  }

  40% {
    transform: translate(-5%, 15%);
  }

  50% {
    transform: translate(-10%, 5%);
  }

  60% {
    transform: translate(15%, 0);
  }

  70% {
    transform: translate(0, 10%);
  }

  80% {
    transform: translate(-15%, 0);
  }

  90% {
    transform: translate(10%, 5%);
  }
}

.star {
  position: absolute;
  width: 1px;
  height: 1px;
  background: var(--bg-star);
  border-radius: 100%;
  opacity: 0.8;
  animation: moveStar linear infinite;
}

@keyframes moveStar {
  0% {
    transform: translateY(0) scale(1);
    opacity: 1;
  }

  100% {
    transform: translateY(-120vh) scale(0.8);
    opacity: 0;
  }
}

* {
  box-sizing: border-box;
}

html,
body {
  height: 100%;
  margin: 0;
  font-family: system-ui, -apple-system, Segoe UI, Roboto, Ubuntu, Cantarell, "Helvetica Neue", Arial, "Noto Sans", "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol";
  color: var(--color-text);
  overflow-x: hidden;
  /* evita quebra lateral no mobile */
  /* Dark + mystical background: emerald and gold glows, subtle symbol pattern */
  background:
    radial-gradient(1200px 600px at 50% -10%, rgba(0, 0, 0, 0.1), transparent 70%),
    radial-gradient(900px 600px at -10% 110%, rgba(0, 0, 0, 0.1), transparent 60%),
    linear-gradient(to bottom, var(--color-bg-1) 0%, hsl(0, 0%, 1%) 100%),
    var(--color-bg-0);
}

/* Thin gold scrollbar (Firefox) */
body {
  scrollbar-width: thin;
  scrollbar-color: var(--accent) transparent;
}

body::before,
body::after {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 0;
}

body::before {
  background:
    radial-gradient(520px 520px at 50% 0%, rgba(46, 139, 87, 0.16), transparent 65%);
  filter: blur(24px);
}

body::after {
  background:
    radial-gradient(560px 560px at 50% 100%, rgba(46, 139, 87, 0.14), transparent 65%);
  filter: blur(26px);
}

/* Thin gold scrollbar (WebKit/Blink) */
body::-webkit-scrollbar {
  width: 8px;
  height: 8px;
}

body::-webkit-scrollbar-track {
  background: transparent;
}

body::-webkit-scrollbar-thumb {
  background: color-mix(in srgb, var(--accent) 85%, #000 15%);
  border-radius: 9999px;
}

body::-webkit-scrollbar-thumb:hover {
  background: color-mix(in srgb, var(--accent) 100%, #000 0%);
}

header {
  text-align: end;
}

.app-content {
  scrollbar-width: thin;
  scrollbar-color: var(--accent) transparent;
}

.app-content::-webkit-scrollbar {
  width: 8px;
  height: 8px;
}

.app-content::-webkit-scrollbar-thumb {
  background: color-mix(in srgb, var(--accent) 85%, #000 15%);
  border-radius: 9999px;
}

.page {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: clamp(16px, 4vh, 40px);
  padding-left: calc(16px + env(safe-area-inset-left));
  padding-right: calc(16px + env(safe-area-inset-right));
  animation: fade-in .6s ease both;
}

/* Prefer dynamic viewport units on supported browsers (fix 100vh issues on mobile) */
@supports (height: 100dvh) {
  .page {
    min-height: 100dvh;
  }
}

/* Sidebar right cards spacing and typography */
.sidebar-right .side-card+.side-card {
  margin-top: var(--space-3);
}

.side-card {
  background: color-mix(in srgb, var(--color-bg-1) 70%, #111 30%);
  border: 1px solid var(--color-border);
  border-radius: 14px;
  padding: var(--space-3);
}

.side-subtitle {
  margin: 0 0 6px;
  font-size: 0.95rem;
}

.side-desc {
  margin: 0 0 10px;
  color: var(--color-text-muted);
  font-size: 0.9rem;
}

/* A11y: link para pular conteúdo */
.skip-link {
  position: absolute;
  left: -9999px;
  top: auto;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.skip-link:focus {
  left: 16px;
  top: 16px;
  width: auto;
  height: auto;
  background: #111827;
  color: #e5e7eb;
  padding: 8px 12px;
  border-radius: 8px;
  outline: 2px solid var(--accent);
}

.card {
  width: min(92vw, 420px);
  height: min(92vh, 860px);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: space-between;
  /* padrão */
  padding: clamp(20px, 3vh, 28px) clamp(18px, 5vw, 28px);
  border-radius: var(--radius-lg);
  backdrop-filter: blur(8px);
  text-align: center;
  animation: rise-in .7s cubic-bezier(.2, .7, .2, 1) .05s both;
}

/* Home layout: apenas logo e botão centralizados */
.card.home {
  justify-content: center;
  gap: 18px;
  height: auto;
  min-height: min(70vh, 560px);
}

.logo {
  display: block;
  width: clamp(250px, 36vw, 320px);
  height: auto;
  margin-top: clamp(4px, 3vh, 32px);
  margin-bottom: clamp(8px, 3vh, 24px);
  user-select: none;
  animation: logo-enter .7s ease .15s both;
}

.logo2 {
  display: block;
  width: 170px;
  height: auto;
  margin-top: clamp(4px, 3vh, 32px);
  margin-bottom: clamp(8px, 3vh, 24px);
  user-select: none;
  animation: logo-enter .7s ease .15s both;
}

.logo.radar-loader {
  width: clamp(160px, 60vw, 220px);
  aspect-ratio: 1 / 1;
  flex: 0 0 auto;
  margin-top: clamp(4px, 3vh, 32px);
  margin-bottom: clamp(8px, 3vh, 24px);
}

.radar-loader {
  position: relative;
  width: 100%;
  height: 100%;
  aspect-ratio: 1 / 1;
  background: rgba(33, 33, 33, 0.2);
  border-radius: 50%;
  box-shadow: inset 0px 0px 7px seagreen;
  border: 1px solid seagreen;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
}

.radar-loader .orb-btn {
  position: relative;
  z-index: 2;
}

.radar-loader::before {
  content: "";
  position: absolute;
  inset: 30px;
  background: transparent;
  border: 1px solid seagreen;
  border-radius: 50%;
  box-shadow: inset 0px 0px 5px seagreen;
}

.radar-loader::after {
  content: "";
  position: absolute;
  width: 75px;
  height: 75px;
  border-radius: 50%;
  border: 1px solid seagreen;
  box-shadow: inset 0px 0px 3px seagreen;
}

.radar-loader span {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 100%;
  height: 100%;
  background: transparent;
  transform-origin: top left;
  animation: radar-spin 2s linear infinite;
  box-shadow: -25px -75px 30px -50px seagreen;
  border-top: 2px solid #2e8b57;
}

.radar-loader span::before {
  display: none;
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 15%;
  height: 100%;
  background: seagreen;
  transform-origin: top left;
  transform: rotate(-90deg);
  filter: blur(15px) drop-shadow(10px 0px 10px seagreen);
}

@keyframes radar-spin {
  0% {
    transform: rotate(0deg);
  }

  100% {
    transform: rotate(360deg);
  }
}

#radar-dot-1 {
  --dot-start-top: 66.67%;
  --dot-start-left: 93.33%;
  --dot-end-top: 86.67%;
  --dot-end-left: 13.33%;
  --delay: 0s;
}

#radar-dot-2 {
  --dot-start-top: 66.67%;
  --dot-start-left: 0%;
  --dot-end-top: -2%;
  --dot-end-left: 60%;
  --delay: 0s;
}

#radar-dot-3 {
  --dot-start-top: 66.67%;
  --dot-start-left: 70%;
  --dot-end-top: 12%;
  --dot-end-left: 12%;
  --delay: 0s;
}

#radar-dot-4 {
  --dot-start-top: 73.33%;
  --dot-start-left: 100%;
  --dot-end-top: 93.33%;
  --dot-end-left: 20%;
  --delay: 0s;
}

#radar-dot-5 {
  --dot-start-top: -3.33%;
  --dot-start-left: 56.67%;
  --dot-end-top: 83.33%;
  --dot-end-left: 80%;
  --delay: 4s;
}

.radar-dot.dot-1 {
  --dot-start-top: 66.67%;
  --dot-start-left: 93.33%;
  --dot-end-top: 86.67%;
  --dot-end-left: 13.33%;
  --delay: 0s;
}

.radar-dot.dot-2 {
  --dot-start-top: 66.67%;
  --dot-start-left: 0%;
  --dot-end-top: -2%;
  --dot-end-left: 60%;
  --delay: 0s;
}

.radar-dot.dot-3 {
  --dot-start-top: 66.67%;
  --dot-start-left: 70%;
  --dot-end-top: 12%;
  --dot-end-left: 12%;
  --delay: 0s;
}

.radar-dot.dot-4 {
  --dot-start-top: 73.33%;
  --dot-start-left: 100%;
  --dot-end-top: 93.33%;
  --dot-end-left: 20%;
  --delay: 0s;
}

.radar-dot.dot-5 {
  --dot-start-top: -3.33%;
  --dot-start-left: 56.67%;
  --dot-end-top: 83.33%;
  --dot-end-left: 80%;
  --delay: 4s;
}

.radar-dot {
  width: 5px;
  height: 5px;
  position: absolute;
  top: var(--dot-start-top);
  left: var(--dot-start-left);
  border-radius: 9999px;
  background: rgba(255, 255, 255);
  box-shadow: inset 0px 0px 10px 2px rgba(0, 255, 182, 0.5),
    0px 0px 10px 2px rgba(0, 255, 135, 0.3);
  animation: radar-fly 32s linear infinite;
  animation-delay: var(--delay);
}

@keyframes radar-fly {
  0% {
    top: var(--dot-start-top);
    left: var(--dot-start-left);
  }

  100% {
    top: var(--dot-end-top);
    left: var(--dot-end-left);
  }

  5%,
  15%,
  25%,
  35%,
  45%,
  55%,
  65%,
  75%,
  85%,
  95% {
    background: rgba(255, 255, 255, 1);
    box-shadow: inset 0 0 10px 2px rgba(0, 255, 182, 0.5),
      0 0 15px 2px rgba(0, 255, 135, 1);
  }

  0%,
  10%,
  20%,
  30%,
  40%,
  50%,
  60%,
  70%,
  80%,
  90% {
    background: rgba(255, 255, 255, 0.3);
    box-shadow: inset 0 0 10px 2px rgba(0, 255, 182, 0.5),
      0 0 5px 2px rgba(0, 255, 135, 0.3);
  }
}


/* Float only on home */
.card.home .logo {
  animation: logo-enter .7s ease .15s both, float-y 4.2s ease-in-out .4s infinite;
  filter: drop-shadow(0 6px 14px rgba(0, 0, 0, 0.55)) drop-shadow(0 0 12px rgba(242, 207, 99, 0.10));
}

.title {
  margin: 0 0 8px;
  font-size: clamp(18px, 3.6vw, 22px);
  letter-spacing: 0.4px;
  color: rgba(226, 240, 235, 0.95);
  text-shadow: 0 0 16px rgba(242, 207, 99, 0.10);
}

.subtitle {
  margin: 0;
  opacity: 0.85;
  font-size: clamp(14px, 3.2vw, 16px);
  color: white;
}

.form {
  width: 100%;
  max-width: 420px;
  margin-top: var(--space-5);
}

.field {
  text-align: left;
  margin-bottom: var(--space-4);
}



.field label {
  display: block;
  font-size: 14px;
  color: var(--color-text-muted);
  margin-bottom: 6px;

}

.input {
  width: 100%;
  height: 44px;
  padding: 10px 14px;
  border-radius: 12px;
  border: 1px solid rgba(143, 255, 210, 0.18);
  background: linear-gradient(to bottom, rgba(255, 255, 255, 0.06), rgba(255, 255, 255, 0.02));
  color: var(--color-text);
  outline: none;
  transition: border-color var(--transition-fast), box-shadow var(--transition-fast), background var(--transition-fast);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.06);
}

.input::placeholder {
  color: rgba(231, 248, 242, 0.5);
}

.input:focus {
  border-color: rgba(23, 230, 161, 0.55);
  box-shadow: 0 0 0 3px rgba(23, 230, 161, 0.25);
  background: linear-gradient(to bottom, rgba(255, 255, 255, 0.1), rgba(255, 255, 255, 0.02));
}

.list {
  text-align: left;
  color: var(--color-text-muted);
  margin: var(--space-5) auto;
  max-width: 440px;
}

.list li {
  margin-bottom: var(--space-2);
}

.actions {
  width: 100%;
  display: flex;
  justify-content: center;
  margin-top: auto;
  margin-bottom: clamp(10px, 3vh, 24px);
}

.card.home .actions {
  margin-top: 6px;
  margin-bottom: 0;
}

/* Neon-gold circular CTA inspired by provided snippet */
.orb-btn {
  --size: 83px;
  appearance: none;
  cursor: pointer;
  background: transparent;
  border: 0;
  padding: 0;
  position: relative;
  width: var(--size);
  height: var(--size);
  border-radius: 50%;
  display: grid;
  place-items: center;
  outline: none;
  animation: attract 2.2s ease-in-out infinite;
}

.orb-btn:focus-visible {
  box-shadow: 0 0 0 3px rgba(242, 207, 99, 0.55);
  border-radius: 9999px;
}

/* Soft ring pulse to attract clicks */
.orb-btn::after {
  content: "";
  position: absolute;
  inset: -6px;
  border-radius: 50%;
  border: 3px solid rgba(46, 139, 87, 0.6);
  transform: scale(0.9);
  opacity: 0.18;
  pointer-events: none;
  box-shadow: 0 0 26px rgba(46, 139, 87, 0.35), 0 0 64px rgba(46, 139, 87, 0.25);
  animation: ring-pulse 1.9s ease-out 0.2s infinite;
}

.orb-shell {
  width: var(--size);
  height: var(--size);
  border-radius: 50%;
  position: relative;
  display: grid;
  place-items: center;
  background: linear-gradient(180deg, rgba(22, 18, 10, 0.98), rgba(8, 6, 3, 0.98));
  box-shadow: inset 0 0 1px 1px rgba(0, 0, 0, 0.55), 2px 4px 8px rgba(0, 0, 0, 0.45), 0 0 10px rgba(0, 0, 0, 0.4);
  border: 1px solid rgba(46, 139, 87, 0.4);
}

.orb-shadow {
  position: absolute;
  width: calc(var(--size) - 11px);
  height: calc(var(--size) - 11px);
  top: 5px;
  left: 50%;
  transform: translateX(-50%);
  border-radius: 50%;
  filter: blur(1px);
  background: #000;
  opacity: .9;
  z-index: 0;
}

.orb-core {
  position: absolute;
  width: calc(var(--size) - 11px);
  height: calc(var(--size) - 11px);
  top: 5px;
  left: 50%;
  transform: translateX(-50%);
  border-radius: 50%;
  z-index: 1;
  background:
    radial-gradient(circle at 35% 30%,
      rgba(142, 247, 196, 0.95) 0%,
      rgba(90, 212, 159, 0.9) 32%,
      rgba(46, 139, 87, 0.85) 62%,
      rgba(19, 73, 45, 0.95) 100%),
    linear-gradient(180deg, rgba(122, 235, 180, 0.9), rgba(26, 94, 58, 0.95));
  box-shadow:
    inset 0 6px 5px rgba(152, 255, 212, 0.28),
    inset 0 -8px 6px rgba(20, 98, 60, 0.6),
    0 0 22px rgba(46, 139, 87, 0.35),
    0 0 48px rgba(46, 139, 87, 0.22);
  display: grid;
  place-items: center;
  transition: transform .08s ease, box-shadow .2s ease, filter .2s ease;
  animation: orb-blink 2.4s ease-in-out infinite, shadow-pulse 3.2s ease-in-out .6s infinite;
}

.orb-btn:active .orb-core {
  transform: translateX(-50%) translateY(1px);
  box-shadow: inset 0 4px 2px rgba(122, 235, 180, 0.4), inset 0 -4px 2px rgba(26, 94, 58, 0.55), 0 0 2px rgba(0, 0, 0, 0.4);
  filter: brightness(.98);
}

.orb-icon {
  width: 32px;
  height: 32px;
  color: #ffffff;
  /* play branco */
  filter: drop-shadow(0 2px 2px rgba(0, 0, 0, 0.55));
  animation: icon-blink 2.4s ease-in-out infinite;
}

@media (max-width: 480px) {
  .orb-btn {
    --size: 76px;
  }

  .orb-icon {
    width: 28px;
    height: 28px;
  }
}

@keyframes attract {

  0%,
  100% {
    transform: scale(1)
  }

  50% {
    transform: scale(1.08)
  }
}

@keyframes ring-pulse {
  0% {
    opacity: .15;
    transform: scale(0.88);
  }

  40% {
    opacity: .55;
  }

  100% {
    opacity: 0;
    transform: scale(1.28);
  }
}

/* Click ripple */
.ripple {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 10px;
  height: 10px;
  pointer-events: none;
  border-radius: 9999px;
  background: radial-gradient(circle, rgba(255, 255, 255, 0.8) 0%, rgba(242, 207, 99, 0.45) 40%, rgba(242, 207, 99, 0) 70%);
  transform: translate(-50%, -50%) scale(0.2);
  animation: ripple-expand .6s ease-out forwards;
}

@keyframes ripple-expand {
  to {
    transform: translate(-50%, -50%) scale(3.2);
    opacity: 0;
  }
}

@media (prefers-reduced-motion: reduce) {
  .orb-btn {
    animation: none !important;
  }

  .orb-btn::after {
    display: none !important;
  }
}

@keyframes orb-blink {

  0%,
  100% {
    filter: brightness(1);
    box-shadow: inset 0 4px 3px rgba(242, 207, 99, 0.16), inset 0 -5px 4px rgba(212, 160, 23, 0.28), 0 0 10px rgba(242, 207, 99, 0.12);
  }

  50% {
    filter: brightness(1.12);
    box-shadow: inset 0 7px 4px rgba(242, 207, 99, 0.35), inset 0 -7px 5px rgba(212, 160, 23, 0.5), 0 0 24px rgba(242, 207, 99, 0.28);
  }
}

@keyframes icon-blink {

  0%,
  100% {
    opacity: 0.78;
    text-shadow: 0 0 2px rgba(255, 255, 255, 0.22), 0 0 7px rgba(242, 207, 99, 0.16);
  }

  50% {
    opacity: 1;
    text-shadow: 0 0 7px rgba(255, 255, 255, 0.6), 0 0 16px rgba(242, 207, 99, 0.35);
  }
}

.btn,
.boost-btn {
  --green: #19ff9d;
  text-decoration: none;
  appearance: none;
  position: relative;
  overflow: hidden;
  border: 2px solid var(--green);
  background: rgba(0, 0, 0, 0.35);
  color: var(--green);
  font-weight: 800;
  height: 48px;
  padding: 0.3em 2.7em;
  border-radius: 8px;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  letter-spacing: 0.04em;
  line-height: 1.4em;
  text-transform: uppercase;
  text-align: center;
  transition: transform .15s ease, box-shadow .25s ease, color .25s ease;
  box-shadow:
    0 0 0 1px rgba(25, 255, 157, 0.25) inset,
    0 0 12px rgba(25, 255, 157, 0.35),
    0 0 24px rgba(25, 255, 157, 0.2);
}

.boost-btn {
  --green: var(--accent-2);
  border-color: rgba(242, 207, 99, 0.55);
  background: linear-gradient(180deg, rgba(245, 196, 59, 0.18), rgba(0, 0, 0, 0.1));
  color: #ffffff;
  box-shadow:
    0 0 0 1px rgba(242, 207, 99, 0.25) inset,
    0 0 12px rgba(242, 207, 99, 0.35),
    0 0 24px rgba(242, 207, 99, 0.2);
}

.btn.pill {
  width: auto;
  min-width: 160px;
  justify-content: center;
}

.btn:hover,
.boost-btn:hover {
  color: #d4ffe8;
  box-shadow:
    0 0 0 1px rgba(25, 255, 157, 0.35) inset,
    0 0 16px rgba(25, 255, 157, 0.55),
    0 0 32px rgba(25, 255, 157, 0.35);
  transform: translateY(-1px);
}

.boost-btn:hover {
  color: #ffffff;
  box-shadow:
    0 0 0 1px rgba(242, 207, 99, 0.35) inset,
    0 0 16px rgba(242, 207, 99, 0.55),
    0 0 32px rgba(242, 207, 99, 0.35);
}

.btn:active {
  transform: translateY(1px);
}

@media (hover: hover) and (pointer: fine) {

  .btn::before,
  .boost-btn::before {
    content: "";
    position: absolute;
    left: -4em;
    width: 4em;
    height: 100%;
    top: 0;
    transition: transform .4s ease-in-out;
    background: linear-gradient(to right, transparent 1%, rgba(27, 253, 156, 0.1) 40%, rgba(27, 253, 156, 0.1) 60%, transparent 100%);
  }

  .btn:hover::before,
  .boost-btn:hover::before {
    transform: translateX(15em);
  }

  .btn .icon,
  .boost-btn .icon {
    display: block;
    color: currentColor;
    transition: transform var(--transition-fast);
  }

  .btn:hover .icon,
  .boost-btn:hover .icon {
    transform: translateX(4px);
  }
}

.btn .label {
  font-weight: 700;
  letter-spacing: .2px;
}

/* Keyboard accessibility */
.btn:focus-visible {
  outline: none;
  box-shadow: 0 0 0 3px rgba(27, 253, 156, 0.55), 0 8px 20px rgba(0, 0, 0, 0.45);
}

/* Reduzir movimento: desativa animações não essenciais */
@media (prefers-reduced-motion: reduce) {

  .btn,
  .btn .icon {
    transition: none !important;
  }

  .btn::before {
    display: none !important;
  }

  *,
  *::before,
  *::after {
    animation: none !important;
  }

  .swipe-hint .l,
  .swipe-hint .r {
    animation: none !important;
  }
}

/* Estados do botão */
.btn[disabled] {
  opacity: .6;
  cursor: not-allowed;
}

.btn .spinner {
  display: none;
}

.btn.loading .spinner {
  display: inline-block;
  animation: spin 1s linear infinite;
}

.btn.loading .icon,
.btn.loading .label {
  opacity: 0;
}



/* Animations */
@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}

@keyframes fade-in {
  from {
    opacity: 0
  }

  to {
    opacity: 1
  }
}

@keyframes rise-in {
  from {
    opacity: 0;
    transform: translateY(10px) scale(.985)
  }

  to {
    opacity: 1;
    transform: translateY(0) scale(1)
  }
}

@keyframes bump-in {
  from {
    opacity: 0;
    transform: translateY(8px)
  }

  to {
    opacity: 1;
    transform: translateY(0)
  }
}

@keyframes logo-enter {
  from {
    opacity: 0;
    transform: translateY(-6px)
  }

  to {
    opacity: 1;
    transform: translateY(0)
  }
}

@keyframes float-y {
  0% {
    transform: translateY(0)
  }

  50% {
    transform: translateY(-6px)
  }

  100% {
    transform: translateY(0)
  }
}

@keyframes shadow-pulse {

  0%,
  100% {
    box-shadow: 0 0 0 2px rgba(242, 207, 99, 0.10) inset, 0 10px 26px rgba(0, 0, 0, 0.5), 0 0 30px rgba(242, 207, 99, 0.10)
  }

  50% {
    box-shadow: 0 0 0 2px rgba(242, 207, 99, 0.18) inset, 0 12px 30px rgba(0, 0, 0, 0.6), 0 0 40px rgba(242, 207, 99, 0.2)
  }
}

/* Breakpoints */
@media (max-width: 480px) {
  .card {
    border-radius: 26px;
  }
}

@media (min-width: 768px) {
  .card {
    width: min(80vw, 440px);
    height: min(90vh, 880px);
    border-radius: 30px;
  }
}

@media (min-width: 1024px) {
  body {
    background-attachment: fixed;
  }
}

/* ===== App layout (sidebar + content + bottom nav) ===== */
.app-layout {
  min-height: 100vh;
  display: grid;
  grid-template-columns: 1fr;
  /* mobile/tablet default */
  gap: 0;
  position: relative;
  z-index: 1;
}

@supports (height: 100dvh) {
  .app-layout {
    min-height: 100dvh;
  }
}

.sidebar {
  position: sticky;
  top: 0;
  height: 100vh;
  padding: 20px 16px;
  background: linear-gradient(180deg, #0c0c0c, #0c0c0c);
  border-right: 1px solid rgba(242, 207, 99, 0.12);
  display: flex;
  flex-direction: column;
  gap: 16px;
  transition: transform var(--transition-fast);
  will-change: transform;
}

.brand {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  display: grid;
  place-items: center;
  color: #3e2a00;
  background: linear-gradient(#fffdf6, #fff1b8);
  border: 1px solid rgba(242, 207, 99, 0.35);
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.35);
  font-weight: 800;
}

/* Close button inside sidebar (desktop only) */
.sidebar-close {
  display: none;
  width: 36px;
  height: 36px;
  border-radius: 10px;
  border: 1px solid rgba(242, 207, 99, 0.22);
  background: rgba(255, 255, 255, 0.06);
  color: var(--color-text);
  align-items: center;
  justify-content: center;
  cursor: pointer;
}

@media (min-width: 1024px) {
  .sidebar {
    position: sticky;
  }

  .sidebar-top {
    display: flex;
    align-items: center;
    gap: 10px;
  }

  .sidebar-close {
    display: none;
    /* no close button in desktop */
  }
}

/* Show close button on mobile/tablet; position at top-right of sidebar */
@media (max-width: 1023px) {
  .sidebar-top {
    position: relative;
  }

  .sidebar-close {
    display: inline-flex;
    position: absolute;
    top: 8px;
    right: 8px;
    z-index: 10000;
  }
}

.side-nav {
  display: grid;
  gap: 8px;
  margin-top: 1.5rem;
}

.side-link {
  color: var(--color-text-muted);
  text-decoration: none;
  padding: 10px 12px;
  border-radius: 10px;
  transition: background var(--transition-fast), color var(--transition-fast);
}

.side-link:hover {
  background: rgba(242, 207, 99, 0.08);
  color: var(--color-text);
}

.side-link.active {
  background: rgba(255, 255, 255, 0.12);
  color: var(--color-text);
}

.app-content {
  padding: 24px clamp(16px, 4vw, 48px);
  min-width: 0;
  /* prevent grid overflow on small screens */
  position: relative;
  z-index: 1;
}

.app-content:focus {
  outline: none;
}

.app-green {
  --color-text: #bff7da;
  --color-text-muted: rgba(191, 247, 218, 0.7);
  --accent: #2e8b57;
  --accent-2: #7aeab4;
  --color-border: rgba(46, 139, 87, 0.3);
}

.app-green .app-content {
  gap: 22px;
}

.app-green .sidebar,
.app-green .sidebar-right {
  background: linear-gradient(180deg, rgba(6, 18, 12, 0.98), rgba(4, 12, 8, 0.98));
  border-color: rgba(46, 139, 87, 0.25);
}

.app-green .sidebar-close {
  border-color: rgba(46, 139, 87, 0.35);
  color: #eafff5;
}

.app-green .side-link:hover {
  background: rgba(46, 139, 87, 0.15);
  color: #eafff5;
}

.app-green .side-link.active {
  background: rgba(46, 139, 87, 0.22);
  color: #eafff5;
}

.app-green .badge {
  background: rgba(46, 139, 87, 0.2);
  border: 1px solid rgba(46, 139, 87, 0.35);
  color: #eafff5;
}

.app-green .slider-btn {
  border-color: rgba(46, 139, 87, 0.35);
  background: rgba(46, 139, 87, 0.12);
  color: #eafff5;
}

.app-green .game-card {
  background: rgba(10, 30, 20, 0.25);
  border-color: rgba(46, 139, 87, 0.25);
}

.app-green .wins-table {
  background: rgba(10, 30, 20, 0.2);
}

.app-green .wins-row+.wins-row {}

.app-green .wins-head {
  background: rgba(46, 139, 87, 0.08);
}

.app-green .btn {
  border-color: var(--green);
  background: linear-gradient(to right, rgba(27, 253, 156, 0.1) 1%, transparent 40%, transparent 60%, rgba(27, 253, 156, 0.1) 100%);
  color: var(--green);
  box-shadow: inset 0 0 10px rgba(27, 253, 156, 0.4), 0 0 9px 3px rgba(27, 253, 156, 0.1);
}

.app-green .btn:hover {
  color: #82ffc9;
  box-shadow: inset 0 0 10px rgba(27, 253, 156, 0.6), 0 0 9px 3px rgba(27, 253, 156, 0.2);
}

.hero {
  position: relative;
  display: grid;
  align-content: center;
  border-radius: 20px 20px 0 0;
  overflow: hidden;
  box-shadow: 0 14px 32px rgba(0, 0, 0, 0.45);
  margin-bottom: 18px;
  height: clamp(230px, 38vw, 340px);
  z-index: 1;
}

.hero-bg {
  position: absolute;
  inset: 0;
  /* Support either CSS background or <img src> inside */
  background: center/cover no-repeat;
  background-image: var(--hero-img);
  z-index: 0;
}

.hero-bg,
.hero-bg img {
  border-radius: inherit;
}

.hero-bg img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  /* replicate same visual treatment of the background */
  filter: saturate(0.95) contrast(1.02) brightness(0.78);
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(120% 80% at 50% 100%, rgba(0, 0, 0, 0.55), transparent 70%),
    linear-gradient(180deg, rgba(0, 0, 0, 0.46), rgba(0, 0, 0, 0.58));
  pointer-events: none;
  /* do not block scroll/taps */
}

.hero-content {
  position: relative;
  z-index: 1;
  text-align: center;
  padding: clamp(16px, 5vw, 28px) clamp(16px, 6vw, 40px);
  display: grid;
  gap: 10px;
  justify-items: center;
  color: #f8fafc;
}

.badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 10px;
  border-radius: 9999px;
  background: rgba(255, 255, 255, 0.16);
  color: #fff;
  font-weight: 600;
}

.hero-title {
  margin: 0;
  font-size: clamp(20px, 3.4vw, 34px);
  text-shadow: 0 2px 18px rgba(0, 0, 0, 0.5);
}

.hero-sub {
  margin: 0;
  max-width: 720px;
  color: #e2e8f0;
  opacity: .9;
  margin-bottom: .5rem;
}

.hero .btn {
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  animation: hero-pulse 1.6s ease-in-out infinite;
}

@keyframes hero-pulse {

  0%,
  100% {
    transform: scale(1);
    box-shadow: 0 0 0 0 rgba(25, 255, 157, 0.45), 0 0 18px rgba(25, 255, 157, 0.35);
  }

  50% {
    transform: scale(1.04);
    box-shadow: 0 0 0 10px rgba(25, 255, 157, 0), 0 0 26px rgba(25, 255, 157, 0.55);
  }
}

.games-slider {
  margin-top: 10px;
}

.slider-header {
  display: flex;
  align-items: st;
  justify-content: space-between;
  margin-bottom: 8px;
  position: relative;
}


.SLIDE-HE

/* Avoid header controls blocking page scroll; only buttons receive events */
.slider-controls {
  pointer-events: none;
}

.slider-controls .slider-btn {
  pointer-events: auto;
}

.slider-header h2 {
  margin: 0;
}

.slider-controls {
  display: flex;
  gap: 8px;
}

.slider-btn {
  width: 30px;
  height: 30px;
  border-radius: 100%;
  border: 1px solid rgba(242, 207, 99, 0.22);
  background: rgba(255, 255, 255, 0.06);
  color: white;
  display: grid;
  place-items: center;
  font-size: 18px;
  font-weight: 700;
  cursor: pointer;

}

.slider-viewport {
  position: relative;
  overflow: hidden;
}

.slider-track {
  display: flex;
  gap: 15px;
  overflow-x: auto;
  scroll-behavior: smooth;
  padding-bottom: 6px;
  margin-top: 1rem;

  /* robust snapping */
  scroll-snap-type: x mandatory;
}

.slider-track.dragging {
  cursor: grabbing;
  scroll-behavior: auto;
}

.slider-track {
  -webkit-overflow-scrolling: touch;
  /* allow both axes so a vertical swipe scrolls the page */
  touch-action: auto;
  scrollbar-width: none;
  /* hide Firefox scrollbar */
}

/* hide WebKit scrollbar for track */
.slider-track::-webkit-scrollbar {
  display: none;
}

.slider-dots {
  display: none;
  justify-content: center;
  gap: 6px;
  padding: 8px 0;
}

/* Slider button icon size */
.slider-btn i {
  font-size: 18px;
  line-height: 1;
}

/* Hide hint and dots to improve scroll fluidity */
.swipe-hint {
  display: none !important;
}

.slider-dots {
  display: none !important;
}

.swipe-hint {
  display: none;
}

.swipe-hint .bi {
  font-size: 18px;
  line-height: 1;
}

@keyframes hint-left {

  0%,
  100% {
    transform: translateX(0);
    opacity: .7
  }

  50% {
    transform: translateX(-6px);
    opacity: 1
  }
}

@keyframes hint-right {

  0%,
  100% {
    transform: translateX(0);
    opacity: .7
  }

  50% {
    transform: translateX(6px);
    opacity: 1
  }
}

.dot {
  width: 8px;
  height: 8px;
  border-radius: 9999px;
  background: rgba(255, 255, 255, 0.25);
  border: 1px solid rgba(242, 207, 99, 0.25);
}

.dot.active {
  background: rgba(242, 207, 99, 0.9);
  box-shadow: 0 0 8px rgba(242, 207, 99, 0.6);
}

.game-card {
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(242, 207, 99, 0.12);
  box-shadow: 0 8px 18px rgba(0, 0, 0, 0.35);
  display: grid;
  gap: 8px;
  align-content: start;
  padding: 1rem;
  z-index: 999;
  min-height: 240px;

  /* each card snaps at start */
  scroll-snap-align: start;
  scroll-snap-stop: always;
}

.scan-progress {
  display: grid;
  gap: 6px;
}

.scan-progress-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 10px;
  letter-spacing: .3px;
  text-transform: uppercase;
  color: var(--color-text-muted);
}

.scan-percent {
  color: var(--accent-2);
  font-weight: 700;
}

.scan-bar {
  height: 8px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.08);
  overflow: hidden;
  border: 1px solid rgba(242, 207, 99, 0.18);
}

.scan-fill {
  display: block;
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, rgba(27, 253, 156, 0.2), rgba(27, 253, 156, 0.8));
  box-shadow: 0 0 10px rgba(27, 253, 156, 0.35);
  transition: width .6s ease;
}

.thumb {
  position: relative;
}

.header-radar {
  width: 90px;
  height: 90px;
  margin: 0 auto;
}

.card-radar {
  display: none;
  width: 72px;
  height: 72px;
  margin: 0 auto;
  pointer-events: none;
}

.game-card.is-locked .btn {
  opacity: 0.5;
  pointer-events: none;
  filter: grayscale(0.2);
}

.game-card.is-locked .btn.pill.small {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.2);
  color: rgba(255, 255, 255, 0.6);
}

.game-card.is-unlocked {
  border: solid 2px;
  border-color: rgba(27, 253, 156, 0.45);
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.45);
}

.game-card.is-dim {
  filter: grayscale(1);
  opacity: 0.45;
}

.game-card.is-dim a {
  pointer-events: none;
}

.games-slider .game-card:not(.is-featured) a {
  pointer-events: none;
}

.game-card.is-featured {
  animation: card-pop .6s ease both;
  margin-top: .5rem;
}

.game-card.is-scanning .scan-progress {
  display: block;
}

.game-card.is-scanning .card-radar {
  display: flex;
  position: absolute;
  inset: 0;
  margin: auto;
  z-index: 2;
}

.game-card.is-scanning .thumb img {
  filter: grayscale(1);
  opacity: 0.6;
}

.scan-validity {
  margin-top: 6px;
  font-size: 10px;
  text-align: center;
  color: var(--color-text-muted);
  letter-spacing: .2px;
}

@keyframes card-pop {
  0% {
    transform: translateY(0);
  }

  60% {
    transform: translateY(-8px);
  }

  100% {
    transform: translateY(-4px);
  }
}

.game-title {
  font-size: 11px;
  text-align: center;
  color: var(--color-text);
  margin-bottom: .5rem;
}

.btn.small {
  height: 40px;
  padding: 0 14px;
}


/* Sidebar direita (desktop only) */
.sidebar-right {
  display: none;
  /* hidden by default, shown on desktop */
  position: sticky;
  top: 0;
  height: 100vh;
  padding: 20px 16px;
  background: linear-gradient(180deg, #0c0c0c, #0c0c0c);
  border-left: 1px solid rgba(242, 207, 99, 0.12);
  flex-direction: column;
  gap: 16px;
}

.sidebar-right .side-title {
  margin: 0 0 8px;
  font-size: 14px;
  color: var(--color-text-muted);
}

.sidebar-right .side-card {
  border: 1px solid rgba(242, 207, 99, 0.14);
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.03);
  padding: 12px;
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.35);
}

:root {
  color-scheme: light dark;
  /* Palette: gold-focused */
  --color-bg-0: #000000;
  /* preto (fundo) */
  --color-bg-1: #0c0c0c;
  /* preto (fundo) */
  --color-text: #b5800e;
  /* dourado intenso */
  --color-text-muted: #ffffff;
  /* dourado claro */
  --accent: #b5800e;
  /* dourado intenso */
  --accent-2: #f5c43b;
  /* dourado claro (reflexos) */
  --gold: #7a5a0b;
  /* dourado escuro (sombras) */
  --color-surface: rgba(26, 16, 3, 0.18);
  /* marrom quase preto, translúcido */
  --color-border: hsla(0, 0%, 100%, 0.5);
  /* contornos */
  --shadow-elev: 0 24px 64px rgba(0, 0, 0, 0.65);
  --radius-lg: 28px;
  --radius-pill: 15px;
  --space-1: 8px;
  --space-2: 12px;
  --space-3: 16px;
  --space-4: 20px;
  --space-5: 24px;
  --space-6: 32px;
  --transition-fast: .15s ease;
  --loading: white;
  --bg-loading: rgba(0, 0, 0, 0.5);
  --bg-line-square: rgba(59, 48, 13, 0.35);
  --bg-star: rgba(255, 255, 255, 0.25);
  --bg-noise: rgba(255, 255, 255, 0.03);
}


.title {
  font-size: 2rem;
}

#titulo-controle {
  text-align: center;
  display: flex;
  margin: 0 auto;
}





.thumb img {
  max-width: 100%;
  border-radius: 8px;
}

.loader {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 9999;
  transition: opacity 0.5s ease, visibility 0.5s ease;
  background-color: var(--bg-loading);
  backdrop-filter: blur(3px);
  -webkit-backdrop-filter: blur(3px);
}

.loader.hidden {
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.8s ease, visibility 0.8s ease;
}

.loader_container {
  width: 50px;
  height: 50px;
  position: relative;
  transform: rotate(45deg);
}

.orbe {
  position: absolute;
  width: 100%;
  height: 100%;
  --delay: calc(var(--index) * 0.1s);
  animation: orbit7456 ease-in-out 1.5s var(--delay) infinite;
  opacity: calc(1 - calc(0.2 * var(--index)));
}

.orbe::after {
  position: absolute;
  content: '';
  top: 0;
  left: 0;
  width: 10px;
  height: 10px;
  background-color: var(--loading);
  box-shadow: 0px 0px 5px 2px var(--loading);
  border-radius: 50%;
}

@keyframes orbit7456 {
  0% {}

  80%,
  100% {
    transform: rotate(360deg);
  }
}

/*                 BACKGROUND              */
.background {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  overflow: hidden;
  z-index: 0;
}

.background_grid-square {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background:
    linear-gradient(90deg, var(--bg-line-square) 1px, transparent 1px) 0 0 / 40px 40px,
    linear-gradient(0deg, var(--bg-line-square) 1px, transparent 1px) 0 0 / 40px 40px;
  opacity: 0.25;
  pointer-events: none;
  z-index: 1;
}



@keyframes noise {

  0%,
  100% {
    transform: translate(0, 0);
  }

  10% {
    transform: translate(-5%, -5%);
  }

  20% {
    transform: translate(-10%, 5%);
  }

  30% {
    transform: translate(5%, -10%);
  }

  40% {
    transform: translate(-5%, 15%);
  }

  50% {
    transform: translate(-10%, 5%);
  }

  60% {
    transform: translate(15%, 0);
  }

  70% {
    transform: translate(0, 10%);
  }

  80% {
    transform: translate(-15%, 0);
  }

  90% {
    transform: translate(10%, 5%);
  }
}

.star {
  position: absolute;
  width: 1px;
  height: 1px;
  background: var(--bg-star);
  border-radius: 100%;
  opacity: 0.8;
  animation: moveStar linear infinite;
}

@keyframes moveStar {
  0% {
    transform: translateY(0) scale(1);
    opacity: 1;
  }

  100% {
    transform: translateY(-120vh) scale(0.8);
    opacity: 0;
  }
}

* {
  box-sizing: border-box;
}

html,
body {
  height: 100%;
  margin: 0;
  font-family: "Archivo Black", sans-serif;
  color: var(--color-text);
  overflow-x: hidden;
  /* evita quebra lateral no mobile */
  /* Dark + mystical background: emerald and gold glows, subtle symbol pattern */
  background:
    radial-gradient(1200px 600px at 50% -10%, rgba(0, 0, 0, 0.1), transparent 70%),
    radial-gradient(900px 600px at -10% 110%, rgba(0, 0, 0, 0.1), transparent 60%),
    linear-gradient(to bottom, var(--color-bg-1) 0%, hsl(0, 0%, 1%) 100%),
    var(--color-bg-0);
}

/* Thin gold scrollbar (Firefox) */
body {
  scrollbar-width: thin;
  scrollbar-color: var(--accent) transparent;
}

body::before,
body::after {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 0;
}

body::before {
  background:
    radial-gradient(520px 520px at 50% 0%, rgba(46, 139, 87, 0.16), transparent 65%);
  filter: blur(24px);
}

body::after {
  background:
    radial-gradient(560px 560px at 50% 100%, rgba(46, 139, 87, 0.14), transparent 65%);
  filter: blur(26px);
}

/* Thin gold scrollbar (WebKit/Blink) */
body::-webkit-scrollbar {
  width: 8px;
  height: 8px;
}

body::-webkit-scrollbar-track {
  background: transparent;
}

body::-webkit-scrollbar-thumb {
  background: color-mix(in srgb, var(--accent) 85%, #000 15%);
  border-radius: 9999px;
}

body::-webkit-scrollbar-thumb:hover {
  background: color-mix(in srgb, var(--accent) 100%, #000 0%);
}

header {
  text-align: end;
}

.app-content {
  scrollbar-width: thin;
  scrollbar-color: var(--accent) transparent;
}

.app-content::-webkit-scrollbar {
  width: 8px;
  height: 8px;
}

.app-content::-webkit-scrollbar-thumb {
  background: color-mix(in srgb, var(--accent) 85%, #000 15%);
  border-radius: 9999px;
}



/* Prefer dynamic viewport units on supported browsers (fix 100vh issues on mobile) */


/* Sidebar right cards spacing and typography */
.sidebar-right .side-card+.side-card {
  margin-top: var(--space-3);
}

.side-card {
  background: color-mix(in srgb, var(--color-bg-1) 70%, #111 30%);
  border: 1px solid var(--color-border);
  border-radius: 14px;
  padding: var(--space-3);
}

.side-subtitle {
  margin: 0 0 6px;
  font-size: 0.95rem;
}

.side-desc {
  margin: 0 0 10px;
  color: var(--color-text-muted);
  font-size: 0.9rem;
}

/* A11y: link para pular conteúdo */




.card {
  width: min(92vw, 420px);
  height: min(92vh, 860px);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: space-between;
  /* padrão */
  padding: clamp(20px, 3vh, 28px) clamp(18px, 5vw, 28px);
  border-radius: var(--radius-lg);
  backdrop-filter: blur(8px);
  text-align: center;
  animation: rise-in .7s cubic-bezier(.2, .7, .2, 1) .05s both;
}

/* Home layout: apenas logo e botão centralizados */








.radar-loader {
  position: relative;
  width: 100%;
  height: 100%;
  aspect-ratio: 1 / 1;
  background: rgba(33, 33, 33, 0.2);
  border-radius: 50%;
  box-shadow: inset 0px 0px 7px seagreen;
  border: 1px solid seagreen;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
}



.radar-loader::before {
  content: "";
  position: absolute;
  inset: 30px;
  background: transparent;
  border: 1px solid seagreen;
  border-radius: 50%;
  box-shadow: inset 0px 0px 5px seagreen;
}

.radar-loader::after {
  content: "";
  position: absolute;
  width: 75px;
  height: 75px;
  border-radius: 50%;
  border: 1px solid seagreen;
  box-shadow: inset 0px 0px 3px seagreen;
}

.radar-loader span {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 100%;
  height: 100%;
  background: transparent;
  transform-origin: top left;
  animation: radar-spin 2s linear infinite;
  box-shadow: -25px -75px 30px -50px seagreen;
  border-top: 2px solid #2e8b57;
}

.radar-loader span::before {
  display: none;
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 15%;
  height: 100%;
  background: seagreen;
  transform-origin: top left;
  transform: rotate(-90deg);
  filter: blur(15px) drop-shadow(10px 0px 10px seagreen);
}

@keyframes radar-spin {
  0% {
    transform: rotate(0deg);
  }

  100% {
    transform: rotate(360deg);
  }
}

#radar-dot-1 {
  --dot-start-top: 66.67%;
  --dot-start-left: 93.33%;
  --dot-end-top: 86.67%;
  --dot-end-left: 13.33%;
  --delay: 0s;
}

#radar-dot-2 {
  --dot-start-top: 66.67%;
  --dot-start-left: 0%;
  --dot-end-top: -2%;
  --dot-end-left: 60%;
  --delay: 0s;
}

#radar-dot-3 {
  --dot-start-top: 66.67%;
  --dot-start-left: 70%;
  --dot-end-top: 12%;
  --dot-end-left: 12%;
  --delay: 0s;
}

#radar-dot-4 {
  --dot-start-top: 73.33%;
  --dot-start-left: 100%;
  --dot-end-top: 93.33%;
  --dot-end-left: 20%;
  --delay: 0s;
}

#radar-dot-5 {
  --dot-start-top: -3.33%;
  --dot-start-left: 56.67%;
  --dot-end-top: 83.33%;
  --dot-end-left: 80%;
  --delay: 4s;
}

.radar-dot.dot-1 {
  --dot-start-top: 66.67%;
  --dot-start-left: 93.33%;
  --dot-end-top: 86.67%;
  --dot-end-left: 13.33%;
  --delay: 0s;
}

.radar-dot.dot-2 {
  --dot-start-top: 66.67%;
  --dot-start-left: 0%;
  --dot-end-top: -2%;
  --dot-end-left: 60%;
  --delay: 0s;
}

.radar-dot.dot-3 {
  --dot-start-top: 66.67%;
  --dot-start-left: 70%;
  --dot-end-top: 12%;
  --dot-end-left: 12%;
  --delay: 0s;
}

.radar-dot.dot-4 {
  --dot-start-top: 73.33%;
  --dot-start-left: 100%;
  --dot-end-top: 93.33%;
  --dot-end-left: 20%;
  --delay: 0s;
}

.radar-dot.dot-5 {
  --dot-start-top: -3.33%;
  --dot-start-left: 56.67%;
  --dot-end-top: 83.33%;
  --dot-end-left: 80%;
  --delay: 4s;
}

.radar-dot {
  width: 5px;
  height: 5px;
  position: absolute;
  top: var(--dot-start-top);
  left: var(--dot-start-left);
  border-radius: 9999px;
  background: rgba(255, 255, 255);
  box-shadow: inset 0px 0px 10px 2px rgba(0, 255, 182, 0.5),
    0px 0px 10px 2px rgba(0, 255, 135, 0.3);
  animation: radar-fly 32s linear infinite;
  animation-delay: var(--delay);
}

@keyframes radar-fly {
  0% {
    top: var(--dot-start-top);
    left: var(--dot-start-left);
  }

  100% {
    top: var(--dot-end-top);
    left: var(--dot-end-left);
  }

  5%,
  15%,
  25%,
  35%,
  45%,
  55%,
  65%,
  75%,
  85%,
  95% {
    background: rgba(255, 255, 255, 1);
    box-shadow: inset 0 0 10px 2px rgba(0, 255, 182, 0.5),
      0 0 15px 2px rgba(0, 255, 135, 1);
  }

  0%,
  10%,
  20%,
  30%,
  40%,
  50%,
  60%,
  70%,
  80%,
  90% {
    background: rgba(255, 255, 255, 0.3);
    box-shadow: inset 0 0 10px 2px rgba(0, 255, 182, 0.5),
      0 0 5px 2px rgba(0, 255, 135, 0.3);
  }
}


/* Float only on home */


.title {
  margin: 0 0 8px;
  font-size: clamp(18px, 3.6vw, 22px);
  letter-spacing: 0.4px;
  color: rgba(226, 240, 235, 0.95);
  text-shadow: 0 0 16px rgba(242, 207, 99, 0.10);
}

.subtitle {
  margin: 0;
  opacity: 0.85;
  font-size: clamp(14px, 3.2vw, 16px);
  color: white;
}

.form {
  width: 100%;
  max-width: 420px;
  margin-top: var(--space-5);
}

.field {
  text-align: left;
  margin-bottom: var(--space-4);
}



.field label {
  display: block;
  font-size: 14px;
  color: var(--color-text-muted);
  margin-bottom: 6px;

}

.input {
  width: 100%;
  height: 44px;
  padding: 10px 14px;
  border-radius: 12px;
  border: 1px solid rgba(143, 255, 210, 0.18);
  background: linear-gradient(to bottom, rgba(255, 255, 255, 0.06), rgba(255, 255, 255, 0.02));
  color: var(--color-text);
  outline: none;
  transition: border-color var(--transition-fast), box-shadow var(--transition-fast), background var(--transition-fast);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.06);
}

.input::placeholder {
  color: rgba(231, 248, 242, 0.5);
}

.input:focus {
  border-color: rgba(23, 230, 161, 0.55);
  box-shadow: 0 0 0 3px rgba(23, 230, 161, 0.25);
  background: linear-gradient(to bottom, rgba(255, 255, 255, 0.1), rgba(255, 255, 255, 0.02));
}





.actions {
  width: 100%;
  display: flex;
  justify-content: center;
  margin-top: auto;
  margin-bottom: clamp(10px, 3vh, 24px);
}

.actions .boost-btn {
  width: 100%;
}

@media (min-width: 1024px) {
  .actions .boost-btn {
    width: auto;
  }
}



/* Neon-gold circular CTA inspired by provided snippet */




/* Soft ring pulse to attract clicks */














@keyframes attract {

  0%,
  100% {
    transform: scale(1)
  }

  50% {
    transform: scale(1.08)
  }
}

@keyframes ring-pulse {
  0% {
    opacity: .15;
    transform: scale(0.88);
  }

  40% {
    opacity: .55;
  }

  100% {
    opacity: 0;
    transform: scale(1.28);
  }
}

/* Click ripple */


@keyframes ripple-expand {
  to {
    transform: translate(-50%, -50%) scale(3.2);
    opacity: 0;
  }
}



@keyframes orb-blink {

  0%,
  100% {
    filter: brightness(1);
    box-shadow: inset 0 4px 3px rgba(242, 207, 99, 0.16), inset 0 -5px 4px rgba(212, 160, 23, 0.28), 0 0 10px rgba(242, 207, 99, 0.12);
  }

  50% {
    filter: brightness(1.12);
    box-shadow: inset 0 7px 4px rgba(242, 207, 99, 0.35), inset 0 -7px 5px rgba(212, 160, 23, 0.5), 0 0 24px rgba(242, 207, 99, 0.28);
  }
}

@keyframes cta-blink {

  0%,
  100% {
    filter: brightness(1);
    box-shadow: 0 0 10px rgba(25, 255, 157, 0.25), inset 0 0 0 1px rgba(25, 255, 157, 0.16);
  }

  50% {
    filter: brightness(1.12);
    box-shadow: 0 0 16px rgba(25, 255, 157, 0.45), inset 0 0 0 1px rgba(25, 255, 157, 0.24);
  }
}

@keyframes icon-blink {

  0%,
  100% {
    opacity: 0.78;
    text-shadow: 0 0 2px rgba(255, 255, 255, 0.22), 0 0 7px rgba(242, 207, 99, 0.16);
  }

  50% {
    opacity: 1;
    text-shadow: 0 0 7px rgba(255, 255, 255, 0.6), 0 0 16px rgba(242, 207, 99, 0.35);
  }
}

.btn,
.boost-btn {
  --green: #19ff9d;
  text-decoration: none;
  appearance: none;
  position: relative;
  overflow: hidden;
  border: 2px solid var(--green);
  background: rgba(0, 0, 0, 0.35);
  color: var(--green);
  font-weight: 800;
  height: 48px;
  padding: 0.3em 2.7em;
  border-radius: 8px;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  letter-spacing: 0.04em;
  line-height: 1.4em;
  text-transform: uppercase;
  text-align: center;
  transition: transform .15s ease, box-shadow .25s ease, color .25s ease;
  box-shadow:
    0 0 0 1px rgba(25, 255, 157, 0.25) inset,
    0 0 12px rgba(25, 255, 157, 0.35),
    0 0 24px rgba(25, 255, 157, 0.2);
}

.boost-btn {
  --green: var(--accent-2);
  border-color: rgba(242, 207, 99, 0.55);
  background: linear-gradient(180deg, rgba(245, 196, 59, 0.18), rgba(0, 0, 0, 0.1));
  color: #ffffff;
  box-shadow:
    0 0 0 1px rgba(242, 207, 99, 0.25) inset,
    0 0 12px rgba(242, 207, 99, 0.35),
    0 0 24px rgba(242, 207, 99, 0.2);
}

.btn.pill {
  width: auto;
  min-width: 160px;
  justify-content: center;
}

.btn:hover,
.boost-btn:hover {
  color: #d4ffe8;
  box-shadow:
    0 0 0 1px rgba(25, 255, 157, 0.35) inset,
    0 0 16px rgba(25, 255, 157, 0.55),
    0 0 32px rgba(25, 255, 157, 0.35);
  transform: translateY(-1px);
}

.boost-btn:hover {
  color: #ffffff;
  box-shadow:
    0 0 0 1px rgba(242, 207, 99, 0.35) inset,
    0 0 16px rgba(242, 207, 99, 0.55),
    0 0 32px rgba(242, 207, 99, 0.35);
}

.btn:active {
  transform: translateY(1px);
}

@media (hover: hover) and (pointer: fine) {

  .btn::before,
  .boost-btn::before {
    content: "";
    position: absolute;
    left: -4em;
    width: 4em;
    height: 100%;
    top: 0;
    transition: transform .4s ease-in-out;
    background: linear-gradient(to right, transparent 1%, rgba(27, 253, 156, 0.1) 40%, rgba(27, 253, 156, 0.1) 60%, transparent 100%);
  }

  .btn:hover::before,
  .boost-btn:hover::before {
    transform: translateX(15em);
  }




}

.btn .label {
  font-weight: 700;
  letter-spacing: .2px;
}

/* Keyboard accessibility */
.btn:focus-visible {
  outline: none;
  box-shadow: 0 0 0 3px rgba(27, 253, 156, 0.55), 0 8px 20px rgba(0, 0, 0, 0.45);
}

/* Reduzir movimento: desativa animações não essenciais */
@media (prefers-reduced-motion: reduce) {

  .btn {
    transition: none !important;
  }

  .btn::before {
    display: none !important;
  }

  *,
  *::before,
  *::after {
    animation: none !important;
  }


}

/* Estados do botão */
.btn[disabled] {
  opacity: .6;
  cursor: not-allowed;
}





.btn.loading .label {
  opacity: 0;
}



/* Animations */
@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}

@keyframes fade-in {
  from {
    opacity: 0
  }

  to {
    opacity: 1
  }
}

@keyframes rise-in {
  from {
    opacity: 0;
    transform: translateY(10px) scale(.985)
  }

  to {
    opacity: 1;
    transform: translateY(0) scale(1)
  }
}

@keyframes bump-in {
  from {
    opacity: 0;
    transform: translateY(8px)
  }

  to {
    opacity: 1;
    transform: translateY(0)
  }
}

@keyframes logo-enter {
  from {
    opacity: 0;
    transform: translateY(-6px)
  }

  to {
    opacity: 1;
    transform: translateY(0)
  }
}

@keyframes float-y {
  0% {
    transform: translateY(0)
  }

  50% {
    transform: translateY(-6px)
  }

  100% {
    transform: translateY(0)
  }
}

@keyframes shadow-pulse {

  0%,
  100% {
    box-shadow: 0 0 0 2px rgba(242, 207, 99, 0.10) inset, 0 10px 26px rgba(0, 0, 0, 0.5), 0 0 30px rgba(242, 207, 99, 0.10)
  }

  50% {
    box-shadow: 0 0 0 2px rgba(242, 207, 99, 0.18) inset, 0 12px 30px rgba(0, 0, 0, 0.6), 0 0 40px rgba(242, 207, 99, 0.2)
  }
}

/* Breakpoints */
@media (max-width: 480px) {
  .card {
    border-radius: 26px;
  }
}

@media (min-width: 768px) {
  .card {
    width: min(80vw, 440px);
    height: min(90vh, 880px);
    border-radius: 30px;
  }
}

@media (min-width: 1024px) {
  body {
    background-attachment: fixed;
  }
}

/* ===== App layout (sidebar + content + bottom nav) ===== */
.app-layout {
  min-height: 100vh;
  display: grid;
  grid-template-columns: 1fr;
  /* mobile/tablet default */
  gap: 0;
  position: relative;
  z-index: 1;
}

@supports (height: 100dvh) {
  .app-layout {
    min-height: 100dvh;
  }
}

.sidebar {
  position: sticky;
  top: 0;
  height: 100vh;
  padding: 20px 16px;
  background: linear-gradient(180deg, #0c0c0c, #0c0c0c);
  border-right: 1px solid rgba(242, 207, 99, 0.12);
  display: flex;
  flex-direction: column;
  gap: 16px;
  transition: transform var(--transition-fast);
  will-change: transform;
}



/* Close button inside sidebar (desktop only) */
.sidebar-close {
  display: none;
  width: 36px;
  height: 36px;
  border-radius: 10px;
  border: 1px solid rgba(242, 207, 99, 0.22);
  background: rgba(255, 255, 255, 0.06);
  color: var(--color-text);
  align-items: center;
  justify-content: center;
  cursor: pointer;
}

@media (min-width: 1024px) {
  .sidebar {
    position: sticky;
  }

  .sidebar-top {
    display: flex;
    align-items: center;
    gap: 10px;
  }

  .sidebar-close {
    display: none;
    /* no close button in desktop */
  }
}

/* Show close button on mobile/tablet; position at top-right of sidebar */
@media (max-width: 1023px) {
  .sidebar-top {
    position: relative;
  }

  .sidebar-close {
    display: inline-flex;
    position: absolute;
    top: 8px;
    right: 8px;
    z-index: 10000;
  }
}

.side-nav {
  display: grid;
  gap: 8px;
  margin-top: 1.5rem;
}

.side-link {
  color: var(--color-text-muted);
  text-decoration: none;
  padding: 10px 12px;
  border-radius: 10px;
  transition: background var(--transition-fast), color var(--transition-fast);
}

.side-link:hover {
  background: rgba(242, 207, 99, 0.08);
  color: var(--color-text);
}

.side-link.active {
  background: rgba(255, 255, 255, 0.12);
  color: var(--color-text);
}

.app-content {
  padding: 24px clamp(16px, 4vw, 48px);
  min-width: 0;
  /* prevent grid overflow on small screens */
  position: relative;
  z-index: 1;
}

.app-content:focus {
  outline: none;
}

.app-green {
  --color-text: #bff7da;
  --color-text-muted: rgba(191, 247, 218, 0.7);
  --accent: #2e8b57;
  --accent-2: #7aeab4;
  --color-border: rgba(46, 139, 87, 0.3);
}

.app-green .app-content {
  gap: 22px;
}

.app-green .sidebar,
.app-green .sidebar-right {
  background: linear-gradient(180deg, rgba(6, 18, 12, 0.98), rgba(4, 12, 8, 0.98));
  border-color: rgba(46, 139, 87, 0.25);
}

.app-green .sidebar-close {
  border-color: rgba(46, 139, 87, 0.35);
  color: #eafff5;
}

.app-green .side-link:hover {
  background: rgba(46, 139, 87, 0.15);
  color: #eafff5;
}

.app-green .side-link.active {
  background: rgba(46, 139, 87, 0.22);
  color: #eafff5;
}



.app-green .slider-btn {
  border-color: rgba(46, 139, 87, 0.35);
  background: rgba(46, 139, 87, 0.12);
  color: #eafff5;
}

.app-green .game-card {
  background: rgba(10, 30, 20, 0.25);
  border-color: rgba(46, 139, 87, 0.25);
}

.app-green .wins-table {
  background: linear-gradient(180deg, rgba(8, 6, 3, 0.98), rgba(0, 0, 0, 0.9));
}

.app-green .wins-row+.wins-row {}

.app-green .wins-head {
  background: linear-gradient(90deg, rgba(245, 196, 59, 0.12), rgba(0, 0, 0, 0));
}

.app-green .btn {
  border-color: var(--green);
  background: linear-gradient(to right, rgba(27, 253, 156, 0.1) 1%, transparent 40%, transparent 60%, rgba(27, 253, 156, 0.1) 100%);
  color: var(--green);
  box-shadow: inset 0 0 10px rgba(27, 253, 156, 0.4), 0 0 9px 3px rgba(27, 253, 156, 0.1);
}

.app-green .btn:hover {
  color: #82ffc9;
  box-shadow: inset 0 0 10px rgba(27, 253, 156, 0.6), 0 0 9px 3px rgba(27, 253, 156, 0.2);
}





















@keyframes hero-pulse {

  0%,
  100% {
    transform: scale(1);
    box-shadow: 0 0 0 0 rgba(25, 255, 157, 0.45), 0 0 18px rgba(25, 255, 157, 0.35);
  }

  50% {
    transform: scale(1.04);
    box-shadow: 0 0 0 10px rgba(25, 255, 157, 0), 0 0 26px rgba(25, 255, 157, 0.55);
  }
}

.games-slider {
  margin-top: 10px;
}

.vsl-section {
  margin-top: 8px;
}

.vsl-card {
  background: rgba(10, 30, 20, 0.25);
  border: 1px solid rgba(46, 139, 87, 0.25);
  border-radius: 14px;
  padding: clamp(12px, 2vw, 18px);
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.35);
}

.vsl-media {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  border-radius: 10px;
  overflow: hidden;
  background: #000;
}

.vsl-play {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  z-index: 2;
  pointer-events: none;
}

.vsl-play-core {
  width: 64px;
  height: 64px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: linear-gradient(180deg, rgba(25, 255, 157, 0.35), rgba(10, 30, 20, 0.95));
  color: #000000;
  border: 1px solid rgba(46, 139, 87, 0.6);
  box-shadow: 0 0 18px rgba(46, 139, 87, 0.45), inset 0 0 12px rgba(25, 255, 157, 0.2);
  position: relative;
  overflow: hidden;
  animation: vsl-pulse 1.6s ease-in-out infinite;
}

.vsl-play-core::before {
  content: "";
  position: absolute;
  inset: -10px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(25, 255, 157, 0.35) 0%, rgba(25, 255, 157, 0) 70%);
  filter: blur(8px);
  opacity: 0.8;
  z-index: -1;
  animation: vsl-glow 1.6s ease-in-out infinite;
}

.vsl-play-core i {
  font-size: 32px;
  line-height: 1;
}

.vsl-media iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
}

@keyframes vsl-pulse {

  0%,
  100% {
    transform: scale(1);
    box-shadow: 0 0 18px rgba(46, 139, 87, 0.4), inset 0 0 12px rgba(25, 255, 157, 0.18);
  }

  50% {
    transform: scale(1.06);
    box-shadow: 0 0 26px rgba(46, 139, 87, 0.7), inset 0 0 18px rgba(25, 255, 157, 0.3);
  }
}

@keyframes vsl-glow {

  0%,
  100% {
    opacity: 0.6;
  }

  50% {
    opacity: 1;
  }
}

.slider-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 8px;
  position: relative;
}

/* Avoid header controls blocking page scroll; only buttons receive events */
.slider-controls {
  pointer-events: none;
}

.slider-controls .slider-btn {
  pointer-events: auto;
}

.slider-header h2 {
  margin: 0;
}

.slider-controls {
  display: flex;
  gap: 8px;
}

.slider-btn {
  width: 30px;
  height: 30px;
  border-radius: 100%;
  border: 1px solid rgba(242, 207, 99, 0.22);
  background: rgba(255, 255, 255, 0.06);
  color: white;
  display: grid;
  place-items: center;
  font-size: 18px;
  font-weight: 700;
  cursor: pointer;

}

.slider-viewport {
  position: relative;
  overflow: hidden;
}

.slider-track {
  display: flex;
  gap: 15px;
  overflow-x: auto;
  scroll-behavior: smooth;
  padding-bottom: 6px;
  margin-top: 1rem;

  /* robust snapping */
  scroll-snap-type: x mandatory;
}



.slider-track {
  -webkit-overflow-scrolling: touch;
  /* allow both axes so a vertical swipe scrolls the page */
  touch-action: auto;
  scrollbar-width: none;
  /* hide Firefox scrollbar */
}

/* hide WebKit scrollbar for track */
.slider-track::-webkit-scrollbar {
  display: none;
}

.slider-dots {
  display: none;
  justify-content: center;
  gap: 6px;
  padding: 8px 0;
}

/* Slider button icon size */
.slider-btn i {
  font-size: 18px;
  line-height: 1;
}

/* Hide hint and dots to improve scroll fluidity */


.slider-dots {
  display: none !important;
}





@keyframes hint-left {

  0%,
  100% {
    transform: translateX(0);
    opacity: .7
  }

  50% {
    transform: translateX(-6px);
    opacity: 1
  }
}

@keyframes hint-right {

  0%,
  100% {
    transform: translateX(0);
    opacity: .7
  }

  50% {
    transform: translateX(6px);
    opacity: 1
  }
}





.game-card {
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(242, 207, 99, 0.12);
  display: grid;
  gap: 8px;
  align-content: start;
  padding: 1rem;
  z-index: 999;
  min-height: 240px;

  /* each card snaps at start */
  scroll-snap-align: start;
  scroll-snap-stop: always;
}

.scan-progress {
  display: grid;
  gap: 6px;
}

.scan-progress-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 10px;
  letter-spacing: .3px;
  text-transform: uppercase;
  color: var(--color-text-muted);
}

.scan-percent {
  color: var(--accent-2);
  font-weight: 700;
}

.scan-bar {
  height: 8px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.08);
  overflow: hidden;
  border: 1px solid rgba(242, 207, 99, 0.18);
}

.scan-fill {
  display: block;
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, rgba(27, 253, 156, 0.2), rgba(27, 253, 156, 0.8));
  box-shadow: 0 0 10px rgba(27, 253, 156, 0.35);
  transition: width .6s ease;
}

.thumb {
  position: relative;
}



.card-radar {
  display: none;
  width: 72px;
  height: 72px;
  margin: 0 auto;
  pointer-events: none;
}

.game-card.is-locked .btn {
  opacity: 0.5;
  pointer-events: none;
  filter: grayscale(0.2);
}

.game-card.is-locked .btn.pill.small {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.2);
  color: rgba(255, 255, 255, 0.6);
}

.game-card.is-unlocked {
  border: solid 2px;
  border-color: rgba(27, 253, 156, 0.45);
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.45);
}

.game-card.is-dim {
  filter: grayscale(1);
  opacity: 0.45;
}

.game-card.is-dim a {
  pointer-events: none;
}

.games-slider .game-card:not(.is-featured) a {
  pointer-events: none;
}

.game-card.is-featured {
  animation: card-pop .6s ease both;
  margin-top: .5rem;
}

.game-card.is-scanning .scan-progress {
  display: block;
}

.game-card.is-scanning .card-radar {
  display: flex;
  position: absolute;
  inset: 0;
  margin: auto;
  z-index: 2;
}

.game-card.is-scanning .thumb img {
  filter: grayscale(1);
  opacity: 0.6;
}

.scan-validity {
  margin-top: 6px;
  font-size: 10px;
  text-align: center;
  color: var(--color-text-muted);
  letter-spacing: .2px;
}

@keyframes card-pop {
  0% {
    transform: translateY(0);
  }

  60% {
    transform: translateY(-8px);
  }

  100% {
    transform: translateY(-4px);
  }
}

.game-title {
  font-size: 11px;
  text-align: center;
  color: var(--color-text);
  margin-bottom: .5rem;
}

.btn.small {
  height: 40px;
  padding: 0 14px;
}

.winners {
  margin-top: 5rem;
  z-index: 999;
}

.wins-header {
  align-items: center;
  text-align: center;
  margin: 0 auto;
}

.wins-header h2 {
  margin: 0;
  font-size: 25px;
  color: var(--color-text);
  margin-bottom: 1rem;
  text-align: center;
  font-family: "Teko", sans-serif;
  line-height: 30px;
}

.wins-rank-wrap {
  padding: 28px 14px 12px;
  background: linear-gradient(180deg, rgba(245, 196, 59, 0.12), rgba(0, 0, 0, 0));
  border-bottom: 1px solid rgba(242, 207, 99, 0.25);
}

.wins-rank-title {
  text-align: center;
  font-size: 12px;
  letter-spacing: .4px;
  text-transform: uppercase;
  color: var(--color-text-muted);
  margin: 0 0 50px;
}


.wins-rank-title .live-dot {
  display: inline-block;
  width: 8px;
  height: 8px;
  margin-right: 8px;
  border-radius: 50%;
  background: #ff3b30;
  box-shadow: 0 0 8px rgba(255, 59, 48, 0.9);
  vertical-align: middle;
  animation: live-blink 1.2s ease-in-out infinite;
}

@keyframes live-blink {

  0%,
  100% {
    transform: scale(0.85);
    opacity: 0.4;
  }

  50% {
    transform: scale(1);
    opacity: 1;
  }
}

.wins-rank {
  display: flex;
  align-items: flex-end;
  justify-content: center;
  gap: 12px;
  margin-bottom: 2px;
}

.rank-card {
  width: 98px;
  padding: 10px 10px 12px;
  border-radius: 16px;
  border: 1px solid rgba(245, 196, 59, 0.3);
  background: linear-gradient(180deg, rgba(245, 196, 59, 0.08), rgba(0, 0, 0, 0.2));
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.35), 0 0 12px rgba(245, 196, 59, 0.2);
  text-align: center;
  --rank-offset: 0px;
  --rank-float: -8px;
  --rank-scale: 1;
  animation: rank-float 5.2s ease-in-out infinite;
  will-change: transform;
}

.rank-card.rank-1 {
  width: 108px;
  --rank-offset: -24px;
  --rank-float: -14px;
  --rank-scale: 1.05;
  border-color: rgba(242, 207, 99, 0.55);
  background: linear-gradient(180deg, rgba(245, 196, 59, 0.18), rgba(0, 0, 0, 0.1));
  animation-delay: 0.2s;
}

.rank-card.rank-2 {
  --rank-offset: -6px;
  animation-delay: 0s;
}

.rank-card.rank-3 {
  --rank-offset: -2px;
  --rank-float: -6px;
  animation-delay: 0.4s;
}

@keyframes rank-float {

  0%,
  100% {
    transform: translateY(calc(var(--rank-offset) + 0px)) scale(var(--rank-scale));
  }

  50% {
    transform: translateY(calc(var(--rank-offset) + var(--rank-float))) scale(var(--rank-scale));
  }
}

.rank-avatar img {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  border: 2px solid rgba(245, 196, 59, 0.6);
  object-fit: cover;
}

.rank-name {
  margin-top: 6px;
  font-size: 12px;
  font-weight: 800;
  color: #ffffff;
  text-transform: uppercase;
}

.rank-amount {
  font-size: 11px;
  color: #ffffff;
  font-weight: 700;
  letter-spacing: .2px;
}

.rank-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  margin-top: 8px;
  padding: 4px 8px;
  border-radius: 999px;
  font-size: 11px;
  color: #ffffff;
  background: rgba(0, 0, 0, 0.35);
}

.rank-badge i {
  color: inherit;
}

.rank-card.rank-1 .rank-badge {
  color: #ffffff;
  background: rgba(245, 196, 59, 0.22);
}

.rank-card.rank-3 .rank-badge {
  color: #ffffff;
  background: rgba(245, 196, 59, 0.2);
}

@media (max-width: 420px) {
  .wins-rank-wrap {
    padding: 26px 10px 10px;
  }

  .wins-rank {
    gap: 8px;
    flex-wrap: wrap;
  }

  .rank-card,
  .rank-card.rank-1 {
    width: 96px;
  }
}

.wins-table {
  width: 100%;
  max-width: min(100%, 920px);
  margin-inline: auto;
  border: 1px solid rgba(242, 207, 99, 0.6);
  border-radius: 14px;
  background: linear-gradient(180deg, rgba(8, 6, 3, 0.98), rgba(0, 0, 0, 0.9));
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.45), 0 0 18px rgba(245, 196, 59, 0.22);
  overflow: hidden;
}

.wins-cta {
  display: flex;
  justify-content: center;
  margin-top: 14px;
}

.wins-cta .btn {
  width: 100%;
}

.wins-cta .boost-btn {
  width: 100%;
}

.btn.btn-gold {
  background: linear-gradient(180deg, #f5c43b 0%, #b5800e 100%) !important;
  color: #1b1003 !important;
  border-color: rgba(245, 196, 59, 0.7) !important;
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.35), 0 0 12px rgba(245, 196, 59, 0.4) !important;
}

.btn.btn-gold:hover {
  filter: brightness(1.05);
  box-shadow: 0 12px 24px rgba(0, 0, 0, 0.45), 0 0 16px rgba(245, 196, 59, 0.6);
}

.wins-body {
  position: relative;
  overflow: hidden;
}

.wins-track {
  will-change: transform;
}

/* Sidebar direita (desktop only) */
.sidebar-right {
  display: none;
  /* hidden by default, shown on desktop */
  position: sticky;
  top: 0;
  height: 100vh;
  padding: 20px 16px;
  background: linear-gradient(180deg, #0c0c0c, #0c0c0c);
  border-left: 1px solid rgba(242, 207, 99, 0.12);
  flex-direction: column;
  gap: 16px;
}



.sidebar-right .side-card {
  border: 1px solid rgba(242, 207, 99, 0.14);
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.03);
  padding: 12px;
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.35);
}

.wins-row {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(0, 1.4fr) minmax(0, 0.8fr);
  align-items: center;
  justify-items: center;
  gap: 12px;
  padding: 12px 14px;
  min-height: 52px;
}

.wins-head {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(0, 1.4fr) minmax(0, 0.8fr);
  align-items: center;
  gap: 12px;
  padding: 8px 14px;
  justify-items: center;
}

.wins-head .wins-cell {
  justify-content: center;
  text-align: center;
}

.wins-row+.wins-row {
  border-top: 1px solid rgba(242, 207, 99, 0.18);
}

.wins-head {
  background: linear-gradient(90deg, rgba(245, 196, 59, 0.12), rgba(0, 0, 0, 0));
}

.wins-head .wins-cell {
  font-weight: 700;
  color: rgba(242, 207, 99, 0.85);
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: .4px;
}

.wins-cell {
  color: rgba(242, 207, 99, 0.8);
  display: flex;
  align-items: center;
  gap: 8px;
  min-width: 0;
  margin: 0;
  text-align: left;
  width: 100%;
}

.wins-row .avatar {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  overflow: hidden;
  display: inline-flex;
  flex: 0 0 auto;
  border: 1px solid rgba(242, 207, 99, 0.45);
  box-shadow: 0 0 8px rgba(242, 207, 99, 0.25);
}

.wins-row .avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.wins-row .wins-cell {
  justify-content: flex-start;
  text-align: left;
}

.wins-row .user,
.wins-row .game,
.wins-row .amount {
  font-size: 12px;
  line-height: 1.2;
}

.wins-row .col-amount {
  justify-content: flex-end;
  text-align: right;
}

.wins-head .col-amount {
  justify-content: center;
  text-align: center;
}



.col-game {
  position: relative;
  left: 0;

}











/* VIP game label in gold */


.wins-row.vip {
  border: 1px solid rgba(242, 207, 99, 0.55);
  background: linear-gradient(90deg, rgba(242, 207, 99, 0.10), rgba(242, 206, 99, 0));
}











.wins-row:not(.vip) .wins-cell {
  color: #f2f2f2;
}















/* Desktop wide */
@media (min-width: 1024px) {
  .wins-row {
    grid-template-columns: minmax(0, 1.2fr) minmax(0, 1.6fr) minmax(0, 0.8fr);
  }

  .wins-head {
    grid-template-columns: minmax(0, 1.2fr) minmax(0, 1.6fr) minmax(0, 0.8fr);
  }

  .header-logo {
    height: 100px;
    width: auto;
    display: block;
    filter: drop-shadow(0 2px 6px rgba(0, 0, 0, .35));
    margin: 0 auto 1rem;
  }

  .hamburger {
    display: none;
  }

  /* 3-column layout: left sidebar, content, right sidebar */
  .app-layout {
    grid-template-columns: 240px 1fr 300px;
  }

  .sidebar-right {
    display: flex;
  }
}

/* Explicitly hide right sidebar on mobile/tablet */
@media (max-width: 1024px) {
  .sidebar-right {
    display: none !important;
  }
}


/* Hide bottom nav on desktop; keep only on mobile */
@media (min-width: 1024px) {
  .bottom-nav {
    display: none !important;
  }
}



/* Mobile-first layout */


.hamburger {
  display: none;
}

.wins-cell {
  width: 130px;
}









.wins-row .col-amount {
  justify-self: end;
}

.wins-row .col-user,
.wins-row .col-game,
.wins-row .col-amount {
  grid-column: auto;
  grid-row: auto;

}

.wins-row {
  grid-template-columns: auto minmax(0, 1fr) auto;
  grid-template-rows: auto;
  align-items: center;
  gap: 6px 8px;
  padding: 8px 10px;
}

/* Body rows: single-line layout */
.wins-head .wins-cell {
  font-weight: 700;
  color: var(--color-text-muted);
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: .3px;
  white-space: nowrap;
}

.wins-head {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: center;
  gap: 6px;
  padding: 6px 10px;
  background: rgba(255, 255, 255, 0.04);
}

.header-cta {
  display: none;
}

.slider-controls {}


/* Header row: three columns on one line */
@media (max-width: 680px) {


  @media (max-width: 680px) {

    /* Header row: three columns on one line */
    .wins-head {
      display: grid;
      grid-template-columns: auto minmax(0, 1fr) auto;
      align-items: center;
      gap: 6px;
      padding: 6px 10px;
      background: rgba(255, 255, 255, 0.04);
    }

    .wins-head .wins-cell {
      font-weight: 700;
      color: var(--color-text-muted);
      font-size: 11px;
      text-transform: uppercase;
      letter-spacing: .3px;
      white-space: nowrap;
    }

    /* Body rows: single-line layout */
    .wins-row {
      grid-template-columns: auto minmax(0, 1fr) auto;
      grid-template-rows: auto;
      align-items: center;
      gap: 6px 8px;
      padding: 8px 10px;
    }

    .wins-row .col-user,
    .wins-row .col-game,
    .wins-row .col-amount {
      grid-column: auto;
      grid-row: auto;

    }

    .wins-row .col-amount {
      justify-self: end;
    }








  }


  @media (max-width: 680px) {

    /* Header row: three columns on one line */
    .wins-head {
      display: grid;
      grid-template-columns: auto minmax(0, 1fr) auto;
      align-items: center;
      gap: 6px;
      padding: 6px 10px;
      background: rgba(255, 255, 255, 0.04);
    }

    .wins-head .wins-cell {
      font-weight: 700;
      color: var(--color-text-muted);
      font-size: 11px;
      text-transform: uppercase;
      letter-spacing: .3px;
      white-space: nowrap;
    }

    /* Body rows: single-line layout */
    .wins-row {
      grid-template-columns: auto minmax(0, 1fr) auto;
      grid-template-rows: auto;
      align-items: center;
      gap: 6px 8px;
      padding: 8px 10px;
    }

    .wins-row .col-user,
    .wins-row .col-game,
    .wins-row .col-amount {
      grid-column: auto;
      grid-row: auto;

    }

    .wins-row .col-amount {
      justify-self: end;
    }








  }

  .app-header {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    margin-bottom: 1rem;
    z-index: 2;
  }

  .app-header .hamburger {
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
  }

  .app-header .header-cta {
    position: absolute;
    right: 8px;
    top: 50%;
    transform: translateY(-50%);
    min-width: 0;
    font-size: 12px;
    text-transform: none;
    letter-spacing: 0.02em;
  }

  .app-header .header-cta-btn {
    height: auto;
    padding: 10px 12px;
    border-width: 1px;
    border-radius: 2rem;
    background: linear-gradient(90deg, #0a3b27 0%, rgba(10, 59, 39, 0) 100%);
    color: #19ff9d;
    border-color: #19ff9d;
    box-shadow: 0 0 5px rgba(25, 255, 157, 0.25), inset 0 0 0 1px rgba(25, 255, 157, 0.16);
    display: none !important;
  }

  @media (max-width: 767px) {
    .app-header .header-cta-btn {
      display: inline-flex !important;
    }
  }

  .header-logo {
    height: 54px;
    width: auto;
    display: block;
    filter: drop-shadow(0 2px 6px rgba(0, 0, 0, 0.35));
    animation: logo-enter .7s ease .15s both, float-y 4.2s ease-in-out .4s infinite;
  }

  /* Tablet: match mobile header/menu look */
  @media (min-width: 481px) and (max-width: 1023px) {
    .app-header {
      min-height: 56px;
      padding: 6px 12px;
    }

    .app-header .hamburger {
      left: 12px;
      width: 40px;
      height: 40px;
      display: inline-flex;
      border-radius: 0px;
    }

    .app-header .header-cta {
      right: 12px;
    }

    .header-logo {
      height: 54px;
    }


  }

  @media (min-width: 1024px) {
    .header-logo {
      height: 40px;
    }

    .app-header .header-cta {
      right: 0;
    }

  }

  @media (min-width: 1024px) {
    .app-header {
      position: relative;
      width: 100%;
      justify-content: flex-end;
    }

    .app-header .header-cta {
      position: absolute;
      right: 0;
      top: 50%;
      transform: translateY(-50%);
    }
  }

  .hamburger {
    width: 40px;
    height: 40px;
    border-radius: 8px;
    border: 1px solid rgba(46, 139, 87, 0.45);
    background: linear-gradient(180deg, rgba(10, 30, 20, 0.85), rgba(4, 12, 8, 0.85));
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.06), 0 0 12px rgba(46, 139, 87, 0.35);
    cursor: pointer;
    padding: 8px;
    display: none;
    /* shown on mobile in media query */
    align-items: center;
    justify-content: center;
  }

  .hamburger i {
    font-size: 22px;
    color: #fff;
    line-height: 1;
  }

  .hamburger:hover {
    filter: brightness(1.06);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.08), 0 6px 12px rgba(0, 0, 0, 0.45);
  }

  .hamburger:active {
    /* manter estático no click, apenas feedback visual */
    filter: brightness(0.96);
  }







  .bottom-nav {
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    display: flex;
    justify-content: space-around;
    gap: 18px;
    padding: 12px 16px;
    background: linear-gradient(180deg, rgba(6, 8, 12, 0.6), rgba(6, 8, 12, 0.9));
    border-top: 1px solid rgba(242, 207, 99, 0.12);
    backdrop-filter: blur(8px);
    z-index: 9999;
  }

  .nav-btn {
    width: 46px;
    height: 46px;
    border-radius: 50%;
    border: 1px solid rgba(242, 207, 99, 0.22);
    background: linear-gradient(#fffdf6, #fff6d8);
    color: #3e2a00;
    display: grid;
    place-items: center;
    box-shadow: 0 6px 14px rgba(0, 0, 0, 0.35);
  }

  .nav-btn:active {
    transform: translateY(1px);
  }

  /* Desktop: show sidebar, hide bottom nav */
  @media (min-width: 1024px) {

    .bottom-nav {
      display: none;
    }

    /* Desktop: show slider arrows and keep horizontal slider */
    .slider-controls {
      display: flex;
      gap: 8px;
    }

    .slider-viewport {
      overflow: hidden;
    }

    .slider-track {
      flex-wrap: nowrap;
      overflow-x: auto;
      cursor: default;
    }

    /* Desktop: allow collapsing sidebar */
    .app-layout.collapsed {
      grid-template-columns: 0 1fr 300px;
    }

    .app-layout.collapsed .sidebar {
      width: 0;
      padding: 0;
      border-right: 0;
      overflow: hidden;
    }

    .app-layout.collapsed .hamburger {
      display: inline-flex;
    }
  }

  /* Mobile: off‑canvas sidebar and header menu */
  @media (max-width: 1023px) {
    .app-layout {
      grid-template-columns: 1fr;
    }

    .sidebar {
      position: fixed;
      left: 0;
      top: 0;
      width: 82vw;
      max-width: 320px;
      height: 100vh;
      transform: translateX(-100%);
      z-index: 9999;
      box-shadow: 20px 0 40px rgba(0, 0, 0, 0.45);
    }

    .sidebar.open {
      transform: translateX(0);
    }

    .app-content {
      padding: 14px clamp(12px, 5vw, 18px);
      padding-top: calc(14px + env(safe-area-inset-top));
      padding-bottom: calc(92px + env(safe-area-inset-bottom));
    }

    .hamburger {
      display: inline-flex;
      align-items: center;
      justify-content: center;
    }

    .scrim {
      position: fixed;
      inset: 0;
    }

    .sidebar {
      z-index: 60;
    }

    .app-layout.menu-open .app-content {
      filter: blur(2px);
    }



























    .btn.small {
      height: 50px;
      padding: 0 12px;
    }

    .bottom-nav {
      padding: 10px 12px;
      height: 64px;
      align-items: center;
      gap: 16px;
      padding-bottom: calc(10px + env(safe-area-inset-bottom));
    }

    .nav-btn {
      width: 48px;
      height: 48px;
    }

    /* Show slider arrows on mobile */
    .slider-controls {
      display: flex;
      margin-right: .5rem;
    }

    .slider-track {
      cursor: grab;
    }

    .slider-dots {
      display: none !important;
    }

    .slider-track {
      scroll-snap-type: x mandatory;
    }

    .game-card {
      scroll-snap-align: start;
    }

    /* swipe-hint removido */
  }

  /* Sidebar height fix in modern mobile browsers */
  @supports (height: 100dvh) {
    @media (max-width: 1023px) {
      .sidebar {
        height: 100dvh;
      }
    }
  }

  /* Extras: pequenos reforços de responsividade */
  .scrim[hidden] {
    display: none !important;
  }



  /* Index logo sizing fix for small devices */


  /* Better horizontal scrolling on mobile */




  /* Target common 412x915 and similar widths with precise tweaks */
  @media (max-width: 430px) {

    /* Avoid content underlaps and give breathing room */
    .app-content {
      padding-left: 14px;
      padding-right: 14px;
    }

    /* Keep slider header compact and readable */
    .slider-header {
      margin-top: 3rem;
      gap: 8px;
    }

    .slider-header h2 {
      font-size: 25px;
      text-align: start;
      font-family: "Teko", sans-serif;
    }

    /* Make nav arrows always reachable on small widths */
    .slider-controls {
      position: absolute;
      right: 0px;
      top: 50%;
      transform: translateY(-50%);
    }



    /* Show fuller cards for easier tap targets */
    .game-card {
      flex-basis: clamp(240px, 82vw, 340px);
    }

    /* Prevent hero from dominating the viewport */

  }

  /* Winners animations */
  .wins-row {
    transition: opacity .25s ease, transform .25s ease;
  }

  .wins-row.fade-out {
    opacity: 0;
    transform: translateY(-4px);
  }



  @media (min-width: 1024px) {
    .wins-row {
      grid-template-columns: minmax(0, 1.2fr) minmax(0, 1.6fr) minmax(0, 0.8fr);
    }

    .wins-head {
      grid-template-columns: minmax(0, 1.2fr) minmax(0, 1.6fr) minmax(0, 0.8fr);
    }
  }

  @media (min-width: 1280px) {
    .wins-row {
      grid-template-columns: minmax(0, 1.4fr) minmax(0, 1.6fr) minmax(0, 0.8fr);
    }

    .wins-head {
      grid-template-columns: minmax(0, 1.4fr) minmax(0, 1.6fr) minmax(0, 0.8fr);
    }
  }
}

/* Force mobile/tablet layout up to 1023px */
@media (max-width: 1023px) {
  .app-layout {
    grid-template-columns: 1fr !important;
  }

  /* Left sidebar: off-canvas, opens with .open */
  .sidebar {
    display: flex !important;
    position: fixed;
    left: 0;
    top: 0;
    width: 82vw;
    max-width: 320px;
    height: 100vh;
    transform: translateX(-100%);
    z-index: 9999;
    box-shadow: 20px 0 40px rgba(0, 0, 0, 0.45);
  }

  .sidebar.open {
    transform: translateX(0);
  }

  /* Right sidebar stays hidden on mobile/tablet */
  .sidebar-right {
    display: none !important;
  }

  /* Scrim only visible when sidebar is open */
  .scrim {
    display: block;
  }

  .hamburger {
    display: inline-flex;
  }

  .slider-controls {
    display: flex;
  }
}

/* ============================================================
   Responsive Breakpoints (Organized)
   - Mobile:  <= 480px
   - Tablet:  481px–1023px
   - Desktop: >= 1024px
   This section centralizes the key responsive rules for layout,
   header/menu, sidebars, bottom-nav and a few components.
   Keep base styles above; only overrides live here.               
   ============================================================ */

/* Mobile (<=480px) */
@media (max-width: 480px) {

  /* Layout */
  .app-layout {
    grid-template-columns: 1fr;
  }

  /* Sidebars */
  .sidebar {
    width: 82vw;
    max-width: 320px;
  }

  .sidebar-right {
    display: none !important;
  }

  /* Header */
  .app-header {
    min-height: 56px;
    padding: 6px 12px;
  }

  .app-header .hamburger {
    display: inline-flex;
    left: 12px;
  }

  .header-logo {
    height: 54px;
    width: auto;
  }

  /* Nav + Slider */
  .bottom-nav {
    display: flex;
  }

  .slider-controls {
    display: flex;
  }

  /* Index logo sizing */

}

/* Ensure sidebars stay in columns on desktop (avoid dropping below content) */
@media (min-width: 1024px) {
  .app-layout {
    display: grid;
    grid-template-columns: 240px 1fr 300px;
    align-items: start;
  }

  .app-layout>.sidebar {
    grid-column: 1;
    grid-row: 1;
  }

  .app-layout>.app-content {
    grid-column: 2;
    grid-row: 1;
  }

  .app-layout>.sidebar-right {
    grid-column: 3;
    grid-row: 1;
    display: flex;
  }
}

/* Tablet (481px–1023px) */
@media (min-width: 481px) and (max-width: 1023px) {

  /* Layout */
  .app-layout {
    grid-template-columns: 1fr;
  }

  /* Sidebars */
  .sidebar {
    width: 300px;
    max-width: 90vw;
  }

  .sidebar-right {
    display: none !important;
  }

  /* Header */
  .app-header {
    min-height: 56px;
    padding: 6px 12px;
  }

  .app-header .hamburger {
    display: none;
    left: 12px;
    width: 40px;
    height: 40px;
  }

  .header-logo {
    width: 154px;
    height: 154px;
  }

  /* Nav + Slider */
  .bottom-nav {
    display: none;
  }

  .slider-controls {
    display: flex;
  }
}

/* Desktop (>=1024px) */
@media (min-width: 1024px) {

  /* Layout 3-col: left sidebar / content / right sidebar */
  .app-layout {
    grid-template-columns: 240px 1fr 300px;
  }

  .sidebar-right {
    display: flex;
  }

  /* Header */
  .app-header .hamburger {
    display: none !important;
  }

  .header-logo {
    height: 140px;
  }

  /* Nav + Slider */
  .bottom-nav {
    display: none !important;
  }
}

:root {
  --loading: white;
  --bg-loading: rgba(0, 0, 0, 0.5);
  --bg-line-square: rgba(59, 48, 13, 0.35);
  --bg-star: rgba(255, 255, 255, 0.090);
  --bg-noise: rgba(255, 255, 255, 0.03);
}

/*                  LOADER                 */
.loader {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 9999;
  transition: opacity 0.5s ease, visibility 0.5s ease;
  background-color: var(--bg-loading);
  backdrop-filter: blur(3px);
  -webkit-backdrop-filter: blur(3px);
}

.loader.hidden {
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.8s ease, visibility 0.8s ease;
}

.loader_container {
  width: 50px;
  height: 50px;
  position: relative;
  transform: rotate(45deg);
}

.orbe {
  position: absolute;
  width: 100%;
  height: 100%;
  --delay: calc(var(--index) * 0.1s);
  animation: orbit7456 ease-in-out 1.5s var(--delay) infinite;
  opacity: calc(1 - calc(0.2 * var(--index)));
}

.orbe::after {
  position: absolute;
  content: '';
  top: 0;
  left: 0;
  width: 10px;
  height: 10px;
  background-color: var(--loading);
  box-shadow: 0px 0px 5px 2px var(--loading);
  border-radius: 50%;
}

@keyframes orbit7456 {
  0% {}

  80%,
  100% {
    transform: rotate(360deg);
  }
}

/* Desktop (>=1024px) overrides for slider */
@media (min-width: 1024px) {
  .slider-controls {
    display: flex !important;
    gap: 8px;
  }

  .slider-viewport {
    overflow: hidden;
  }

  .slider-track {
    flex-wrap: nowrap;
    overflow-x: auto;
  }
}



/* Install Popup */
.install-modal {
  position: fixed;
  inset: 0;
  z-index: 12000;
}

.install-modal[hidden] {
  display: none !important;
}

.install-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, .6);
  backdrop-filter: blur(3px);
  -webkit-backdrop-filter: blur(3px);
}

.install-dialog {
  position: relative;
  z-index: 1;
  margin: 6vh auto;
  max-width: 560px;
  width: min(560px, calc(100% - 32px));
  /* espaçamento lateral */
  border: 1px solid var(--color-border);
  border-radius: 16px;
  background: linear-gradient(180deg, rgba(15, 16, 18, .95), rgba(10, 12, 15, .96));
  box-shadow: var(--shadow-elev);
  padding: 18px 18px 16px;
}

.install-close {
  position: absolute;
  top: 10px;
  right: 10px;
  width: 36px;
  height: 36px;
  border-radius: 10px;
  border: 1px solid var(--color-border);
  background: rgba(255, 255, 255, .04);
  color: var(--color-text);
  cursor: pointer;
}

.install-close:hover {
  background: rgba(255, 255, 255, .07);
}

.install-hero {
  display: grid;
  justify-items: center;
  gap: 8px;
  margin-top: 10px;
  margin-bottom: 6px;
}

.install-hero-icon {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  color: white;
  background: radial-gradient(circle at 50% 0%, color-mix(in srgb, var(--accent-2) 100%, #000 0%), color-mix(in srgb, var(--accent-2) 60%, #000 40%));
  box-shadow: 0 0 24px color-mix(in srgb, var(--accent-2) 45%, #000 55%);
}

.install-hero-icon i {
  font-size: 24px;
}

#installTitle {
  margin: 0;
  font-size: 22px;
}









.platform-tabs {
  display: grid;
  grid-auto-flow: column;
  gap: 10px;
  margin: 12px 0;
}

.platform-tabs .tab-btn {
  height: 40px;
  border-radius: 10px;
  border: 1px solid var(--color-border);
  background: rgba(255, 255, 255, 0.04);
  color: white;
  cursor: pointer;
  padding: 0 12px;
  text-align: center;
}

.platform-tabs .tab-btn.active {
  background: color-mix(in srgb, var(--accent-2) 22%, transparent 78%);
  border-color: color-mix(in srgb, var(--accent-2) 45%, transparent 55%);
}

.steps {
  margin: 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 8px;
}

.steps li {
  display: grid;
  grid-template-columns: 26px 1fr;
  gap: 10px;
  align-items: center;
  border: 1px solid var(--color-border);
  background: rgba(255, 255, 255, .03);
  border-radius: 12px;
  padding: 10px 12px;
}

.step-num {
  width: 26px;
  height: 26px;
  border-radius: 999px;
  display: grid;
  place-items: center;
  background: color-mix(in srgb, var(--accent-2) 22%, transparent 78%);
  color: var(--accent-2);
  font-weight: 800;
}

.step-title {
  font-weight: 700;
  color: white;
}

.step-sub {
  color: var(--color-text-muted);
  font-size: 12px;
}





.install-cta {
  margin-top: 14px;
  width: 100%;
  height: 44px;
  border-radius: 9999px;
  border: 0;
  cursor: pointer;
  color: #3e2a00;
  font-weight: 800;
  background: linear-gradient(180deg, var(--accent-2), color-mix(in srgb, var(--accent-2) 75%, #000 25%));
  box-shadow: 0 10px 24px color-mix(in srgb, var(--accent-2) 25%, #000 75%);
}

.install-cta:hover {
  filter: brightness(1.05);
}

/* Winners: desktop font sizes */


/* Allow background scroll when install modal is open */
.install-modal,
.install-backdrop {
  pointer-events: none !important;
}

.install-dialog {
  pointer-events: auto !important;
}

/* Clean fade/slide animation for install modal */
.install-modal {
  opacity: 0;
  transition: opacity .24s ease;
}

.install-modal.open {
  opacity: 1;
}

.install-dialog {
  transform: translateY(10px) scale(.985);
  opacity: 0;
  transition: transform .26s ease, opacity .26s ease;
}

.install-modal.open .install-dialog {
  transform: translateY(0) scale(1);
  opacity: 1;
}

/* Titles in white */
h1,
h2,
h3,
.title {
  color: #ffffff !important;
}

/* Results grid for Controle de Banca */
.results-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 14px;
  width: 100%;
}

.results-grid .result-card {
  width: 100%;
}

@media (min-width: 768px) {
  .results-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (min-width: 1024px) {
  .results-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
}

.results-grid .result-value {
  font-size: 1.35rem;
  font-weight: 800;
  letter-spacing: .2px;
}

/* Controle de Banca: centralizado e moderno */
.cb-wrap {
  max-width: 960px;
  margin-left: auto;
  margin-right: auto;
}

.cb-card {
  width: 100%;
  max-width: 960px;
  height: auto;
  text-align: left;
  align-items: start;
  gap: 14px;
  padding: 24px;
  position: relative;
  overflow: hidden;
}

.cb-card::before {
  content: "";
  position: absolute;
  inset: -20% -20% auto -20%;
  height: 220px;
  background: radial-gradient(60% 60% at 40% 0%, rgba(245, 196, 59, 0.18), transparent 70%);
  pointer-events: none;
}

.cb-card .form {
  max-width: 980px;
}

.cb-card .actions {
  justify-content: flex-start;
  gap: 10px;
}

.cb-card .side-card {
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.04), rgba(255, 255, 255, 0.02));
  border: 1px solid rgba(245, 196, 59, 0.18);
}

.cb-form-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 12px;
  width: 100%;
}

@media (min-width: 1024px) {
  .cb-form-grid {
    grid-template-columns: 1fr 1fr;
  }
}

/* Accent variants for result cards */
.result-card.rc-ganhar {
  border-color: rgba(120, 200, 120, 0.25);
}

.result-card.rc-perder {
  border-color: rgba(200, 120, 120, 0.25);
}

.result-card.rc-meta {
  border-color: rgba(245, 196, 59, 0.35);
}

/* ===== Signal panel (games) ===== */
























@keyframes pulseDots {

  0%,
  100% {
    opacity: .4
  }

  50% {
    opacity: 1
  }
}









/* ===== ORION operation panel ===== */
.op-panel {
  margin: 0px auto;
  max-width: 420px;
  width: min(92vw, 420px);
  border: 1px solid rgba(245, 196, 59, .22);
  border-radius: 16px;
  background: linear-gradient(180deg, rgba(14, 14, 14, .88), rgba(6, 6, 6, .94));
  box-shadow: 0 16px 36px rgba(0, 0, 0, .5)
}

.op-panel.only-button .op-header,
.op-panel.only-button .op-body {
  display: none;
}

.op-panel.results-hidden .op-right {
  display: none;
}

.op-panel.results-hidden #opFollow {
  display: none;
}

@media (min-width: 1024px) {
  .op-panel.results-hidden .op-body {
    grid-template-columns: 1fr;
  }
}

.op-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px 14px;
  border-bottom: 1px solid rgba(255, 255, 255, .08)
}

.op-title {
  display: flex;
  align-items: center;
  gap: 8px;
  font-weight: 800;
  font-family: "Teko", sans-serif;
  text-transform: uppercase;
  color: #fff
}

.op-game-icon {
  width: 32px;
  height: 32px;
  border-radius: 6px;
  object-fit: cover;
  box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.12);
}





.op-body {
  display: grid;
  grid-template-columns: 1fr;
  gap: 14px;
  padding: 14px
}

.op-left {
  display: grid;
  gap: 10px
}



.op-right {
  display: grid;
  gap: 10px;
  align-content: center
}

.op-panel:not(.running) .op-right {
  grid-template-columns: repeat(2, 1fr);
}

/* Desktop layout tweaks: two columns only when running */
@media (min-width: 1024px) {


  .op-panel:not(.running) .op-right {
    grid-template-columns: repeat(2, 1fr);
  }
}

/* Hide progress bar when not running to reduce empty area */
.op-panel:not(.running) .op-progress {
  display: none;
}

.op-panel:not(.results-hidden) .op-progress {
  display: none;
}

.op-panel:not(.results-hidden) .op-left {
  display: none;
}



.op-progress {
  height: 8px;
  border-radius: 9999px;
  background: rgba(255, 255, 255, .06);
  overflow: hidden
}

.op-bar {
  height: 100%;
  background: linear-gradient(90deg, var(--accent-2), #b5800e);
  width: 0%;
  transition: width .25s ease
}

.op-log {
  /* show at most 3 lines; collapsed by default */
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
  line-height: 1.25;
  max-height: 0;
  /* collapsed */
  border: 0;
  border-radius: 10px;
  padding: 0;
  color: #d1d5db;
  background: rgba(0, 0, 0, .2);
}

.op-steps {
  list-style: none;
  margin: 0;
  padding: 0;
  /* collapsed */
  border: 0;
  /* collapsed */
  border-radius: 12px;
  background: rgba(0, 0, 0, .2);
  display: grid;
  gap: 6px;
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace;
  max-height: 0;
  opacity: 0;
  overflow: hidden;
  transition: max-height .35s ease, opacity .25s ease, padding .25s ease, border .25s ease
}

.op-steps.open {
  max-height: 320px;
  opacity: 1;
  padding: 8px;
  border: 1px solid rgba(255, 255, 255, .08)
}

.op-step {
  display: flex;
  align-items: center;
  gap: 8px;
  color: #bfeee0
}



.op-step.pending {
  opacity: .6
}







.op-log {
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace;
  white-space: pre-wrap;
  opacity: 0;
  transition: opacity .25s ease
}

.op-log.open {
  opacity: 1;
  max-height: calc(1.25em * 4);
  padding: 8px;
  border: 1px dashed rgba(255, 255, 255, .12);
}

.op-block {
  border: 1px solid rgba(255, 255, 255, .08);
  border-radius: 12px;
  padding: 10px;
  background: rgba(255, 255, 255, .03);
  min-height: 80px;
  display: grid;
  align-content: center;
  justify-items: center;
  text-align: center;
}

.op-label {
  font-size: .8rem;
  color: var(--color-text-muted);
  letter-spacing: .3px
}

.op-value {
  font-size: 1.2rem;
  font-weight: 800;
  color: #fff
}

#opTurbo {
  color: #f5c43b;
}













@media (max-width: 900px) {
  .op-body {
    grid-template-columns: 1fr
  }
}

/* Hacker skin */
.op-panel.hacker {
  border-color: rgba(46, 139, 87, 0.45);
  background: linear-gradient(180deg, rgba(6, 18, 12, 0.96), rgba(4, 12, 8, 0.96));
  box-shadow: 0 16px 36px rgba(0, 0, 0, .6), 0 0 28px rgba(46, 139, 87, 0.18);
}

.op-panel.hacker .op-title {
  color: #eafff5
}





.op-panel.hacker .op-bar {
  background: linear-gradient(90deg, #2e8b57, #7aeab4)
}



.op-panel.hacker .op-block {
  background: linear-gradient(180deg, rgba(46, 139, 87, 0.12), rgba(8, 16, 12, 0.35));
  border-color: rgba(46, 139, 87, 0.25)
}

.op-panel.hacker .op-label {
  color: rgba(191, 247, 218, 0.8)
}

.op-panel.hacker .op-step {
  color: #c9f7e2;
}









/* Make generate button fill panel width */
.op-panel .btn {
  width: 100%;
  min-width: unset
}

.op-panel .boost-btn {
  width: 100%;
  min-width: unset;
}




















.op-value.muted {
  color: rgba(255, 255, 255, .55)
}

.op-value.loading {
  opacity: .9;
  animation: pulseDots 1.2s ease-in-out infinite
}

.cb-card .result-card {
  padding: 14px 16px;
  min-height: 110px;
  display: grid;
  align-content: start;
  gap: 6px;
  border-radius: 14px;
  background: linear-gradient(180deg, rgba(20, 14, 4, 0.85), rgba(8, 6, 3, 0.92));
  border: 1px solid rgba(245, 196, 59, 0.28);
  box-shadow: 0 10px 28px rgba(0, 0, 0, 0.45), inset 0 1px 0 rgba(255, 255, 255, 0.06);
  position: relative;
}

.cb-card .result-card .side-subtitle {
  margin: 0 0 4px;
  color: var(--color-text);
  opacity: .95;
  display: flex;
  align-items: center;
  gap: 8px;
}

.cb-card .result-card .result-value {
  color: #fff;
  text-shadow: 0 0 8px rgba(245, 196, 59, 0.15);
}

.cb-card .result-card::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 14px;
  pointer-events: none;
  background: radial-gradient(60% 40% at 50% 0%, rgba(245, 196, 59, 0.12), transparent 70%);
}

/* Accent variants for result cards */
.result-card.rc-ganhar {
  border-color: rgba(120, 200, 120, 0.25);
}

.result-card.rc-perder {
  border-color: rgba(200, 120, 120, 0.25);
}

.result-card.rc-meta {
  border-color: rgba(245, 196, 59, 0.35);
}

/* COMO JOGAR */




















.side-card .btn {
  width: 100%;
  min-width: unset;
}

#conteudo {
  margin-top: 1.5rem;
  line-height: 1.6;
  margin-bottom: 1rem;
}

/* ===== Jogos proibidos/secretos (estilo da Nova pasta) ===== */






















































@keyframes glitch-flash {

  0%,
  100% {
    background: var(--glitch-base) center/cover no-repeat;
    opacity: 1;
  }

  92.5% {
    background: var(--glitch-1) center/cover no-repeat;
    opacity: 1;
  }

  95% {
    background: var(--glitch-2) center/cover no-repeat;
    opacity: 0;
  }

  97.5% {
    background: var(--glitch-3) center/cover no-repeat;
    opacity: 1;
  }
}

@keyframes glitch-burst {

  0%,
  100% {
    opacity: 0;
    transform: translateX(0);
  }

  90% {
    opacity: .35;
    transform: translateX(calc(var(--glitch-shift) * -1));
  }

  93% {
    opacity: .75;
    transform: translateX(calc(var(--glitch-shift) * 1.4));
  }

  96% {
    opacity: .15;
    transform: translateX(calc(var(--glitch-shift) * -.6));
  }
}







@keyframes card-float {
  0% {
    transform: translateY(-2px);
  }

  50% {
    transform: translateY(-8px);
  }

  100% {
    transform: translateY(-2px);
  }
}



















.wins-table .wins-row .wins-cell,
.wins-table .wins-head .wins-cell {
  justify-content: center;
  text-align: center;
}

.wins-table .wins-row .col-amount,
.wins-table .wins-head .col-amount {
  justify-content: center;
  text-align: center;
}

.wins-table .wins-row .col-user,
.wins-table .wins-row .col-game,
.wins-table .wins-row .col-amount {
  justify-self: center;
}

.wins-table .wins-head .wins-cell i {
  font-size: 16px;
  line-height: 1;
  width: 50px;
}


/* Desktop wide */
@media (min-width: 1024px) {
  .wins-row {
    grid-template-columns: minmax(240px, 1.2fr) minmax(360px, 1.6fr) auto;
  }

  .wins-head {
    grid-template-columns: minmax(240px, 1.2fr) minmax(360px, 1.6fr) auto;
  }

  .header-logo {
    height: 100px;
    width: auto;
    display: block;
    filter: drop-shadow(0 2px 6px rgba(0, 0, 0, .35));
    margin: 0 auto 1rem;
  }

  .hamburger {
    display: none;
  }

  /* 3-column layout: left sidebar, content, right sidebar */
  .app-layout {
    grid-template-columns: 240px 1fr 300px;
  }

  .sidebar-right {
    display: flex;
  }
}

/* Explicitly hide right sidebar on mobile/tablet */
@media (max-width: 1024px) {
  .sidebar-right {
    display: none !important;
  }
}


/* Hide bottom nav on desktop; keep only on mobile */
@media (min-width: 1024px) {
  .bottom-nav {
    display: none !important;
  }
}



/* Mobile-first layout */
@media (max-width: 680px) {}

.hamburger {
  display: none;
}

.wins-cell .amount {
  font-size: 10px;


}

.wins-cell .user,
.wins-cell .game {
  font-size: 10px;


}

.chip {
  height: 18px;
  padding: 0 6px;
  font-size: 10px;
}

.avatar {
  width: 22px;
  height: 22px;
  font-size: 10px;
}

.wins-row .col-amount {
  justify-self: center;
}

.wins-row .col-user,
.wins-row .col-game,
.wins-row .col-amount {
  grid-column: auto;
  grid-row: auto;

}

.wins-row {
  grid-template-columns: auto minmax(0, 1fr) auto;
  grid-template-rows: auto;
  align-items: center;
  gap: 6px 8px;
  padding: 8px 10px;
}

/* Body rows: single-line layout */
.wins-head .wins-cell {
  font-weight: 700;
  color: var(--color-text-muted);
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: .3px;
  white-space: nowrap;
}

.wins-head {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: center;
  gap: 6px;
  padding: 6px 10px;
  background: rgba(255, 255, 255, 0.04);
}




/* Header row: three columns on one line */
@media (max-width: 680px) {


  @media (max-width: 680px) {

    /* Header row: three columns on one line */
    .wins-head {
      display: grid;
      grid-template-columns: auto minmax(0, 1fr) auto;
      align-items: center;
      gap: 6px;
      padding: 6px 10px;
      background: rgba(255, 255, 255, 0.04);
    }

    .wins-head .wins-cell {
      font-weight: 700;
      color: var(--color-text-muted);
      font-size: 11px;
      text-transform: uppercase;
      letter-spacing: .3px;
      white-space: nowrap;
    }

    /* Body rows: single-line layout */
    .wins-row {
      grid-template-columns: auto minmax(0, 1fr) auto;
      grid-template-rows: auto;
      align-items: center;
      gap: 6px 8px;
      padding: 8px 10px;
    }

    .wins-row .col-user,
    .wins-row .col-game,
    .wins-row .col-amount {
      grid-column: auto;
      grid-row: auto;

    }

    .wins-row .col-amount {
      justify-self: end;
    }

    .avatar {
      width: 22px;
      height: 22px;
      font-size: 10px;
    }

    .chip {
      height: 18px;
      padding: 0 6px;
      font-size: 10px;
    }

    .wins-cell .user,
    .wins-cell .game {
      font-size: 10px;


    }

    .wins-cell .amount {
      font-size: 10px;


    }
  }


  @media (max-width: 680px) {

    /* Header row: three columns on one line */
    .wins-head {
      display: grid;
      grid-template-columns: auto minmax(0, 1fr) auto;
      align-items: center;
      gap: 6px;
      padding: 6px 10px;
      background: rgba(255, 255, 255, 0.04);
    }

    .wins-head .wins-cell {
      font-weight: 700;
      color: var(--color-text-muted);
      font-size: 11px;
      text-transform: uppercase;
      letter-spacing: .3px;
      white-space: nowrap;
    }

    /* Body rows: single-line layout */
    .wins-row {
      grid-template-columns: auto minmax(0, 1fr) auto;
      grid-template-rows: auto;
      align-items: center;
      gap: 6px 8px;
      padding: 8px 10px;
    }

    .wins-row .col-user,
    .wins-row .col-game,
    .wins-row .col-amount {
      grid-column: auto;
      grid-row: auto;

    }

    .wins-row .col-amount {
      justify-self: end;
    }

    .avatar {
      width: 22px;
      height: 22px;
      font-size: 10px;
    }

    .chip {
      height: 18px;
      padding: 0 6px;
      font-size: 10px;
    }

    .wins-cell .user,
    .wins-cell .game {
      font-size: 10px;


    }

    .wins-cell .amount {
      font-size: 10px;


    }
  }

  .app-header {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    margin-bottom: 1rem;
    z-index: 2;
  }

  .app-header .hamburger {
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
  }

  .app-header .header-cta {
    position: absolute;
    right: 8px;
    top: 50%;
    transform: translateY(-50%);
    min-width: 0;
    padding: 0 12px;
    font-size: 12px;
    text-transform: none;
    padding: .5rem;
    letter-spacing: 0.02em;
  }

  .header-logo {
    height: 54px;
    width: auto;
    display: block;
    filter: drop-shadow(0 2px 6px rgba(0, 0, 0, 0.35));
    animation: logo-enter .7s ease .15s both, float-y 4.2s ease-in-out .4s infinite;

  }

  /* Tablet: match mobile header/menu look */
  @media (min-width: 481px) and (max-width: 1023px) {
    .app-header {
      min-height: 56px;
      padding: 6px 12px;
    }

    .app-header .hamburger {
      left: 12px;
      width: 40px;
      height: 40px;
      display: inline-flex;
      border-radius: 12px;
    }

    .app-header .header-cta {
      right: 12px;
    }

    .header-logo {
      height: 54px;
    }


  }

  @media (min-width: 1024px) {
    .header-logo {
      height: 40px;
    }

    .app-header .header-cta {
      right: 0;
    }

  }

  @media (min-width: 1024px) {
    .app-header {
      position: relative;
      width: 100%;
      justify-content: flex-end;
    }

    .app-header .header-cta {
      position: absolute;
      right: 0;
      top: 50%;
      transform: translateY(-50%);
    }
  }

  .hamburger {
    width: 40px;
    height: 40px;
    border-radius: 12px;
    border: 1px solid rgba(46, 139, 87, 0.45);
    background: linear-gradient(180deg, rgba(10, 30, 20, 0.85), rgba(4, 12, 8, 0.85));
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.06), 0 0 12px rgba(46, 139, 87, 0.35);
    cursor: pointer;
    padding: 8px;
    display: none;
    /* shown on mobile in media query */
    align-items: center;
    justify-content: center;
  }

  .hamburger i {
    font-size: 22px;
    color: #fff;
    line-height: 1;
  }

  .hamburger:hover {
    filter: brightness(1.06);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.08), 0 6px 12px rgba(0, 0, 0, 0.45);
  }

  .hamburger:active {
    /* manter estático no click, apenas feedback visual */
    filter: brightness(0.96);
  }

  .app-card {
    margin-top: 16px;
    padding: 16px;
    border-radius: 14px;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(242, 207, 99, 0.12);
    box-shadow: 0 10px 24px rgba(0, 0, 0, 0.35);
  }

  .app-card-title {
    margin: 0 0 6px;
    color: var(--color-text);
  }

  .app-card-text {
    margin: 0;
    color: var(--color-text-muted);
  }

  .bottom-nav {
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    display: flex;
    justify-content: space-around;
    gap: 18px;
    padding: 12px 16px;
    background: linear-gradient(180deg, rgba(6, 8, 12, 0.6), rgba(6, 8, 12, 0.9));
    border-top: 1px solid rgba(242, 207, 99, 0.12);
    backdrop-filter: blur(8px);
    z-index: 9999;
  }

  .nav-btn {
    width: 46px;
    height: 46px;
    border-radius: 50%;
    border: 1px solid rgba(242, 207, 99, 0.22);
    background: linear-gradient(#fffdf6, #fff6d8);
    color: #3e2a00;
    display: grid;
    place-items: center;
    box-shadow: 0 6px 14px rgba(0, 0, 0, 0.35);
  }

  .nav-btn:active {
    transform: translateY(1px);
  }

  /* Desktop: show sidebar, hide bottom nav */
  @media (min-width: 1024px) {

    .bottom-nav {
      display: none;
    }

    /* Desktop: show slider arrows and keep horizontal slider */
    .slider-controls {
      display: flex;
      gap: 8px;
    }

    .slider-viewport {
      overflow: hidden;
    }

    .slider-track {
      flex-wrap: nowrap;
      overflow-x: auto;
      cursor: default;
    }

    /* Desktop: allow collapsing sidebar */
    .app-layout.collapsed {
      grid-template-columns: 0 1fr 300px;
    }

    .app-layout.collapsed .sidebar {
      width: 0;
      padding: 0;
      border-right: 0;
      overflow: hidden;
    }

    .app-layout.collapsed .hamburger {
      display: inline-flex;
    }
  }

  /* Mobile: off‑canvas sidebar and header menu */
  @media (max-width: 1023px) {
    .app-layout {
      grid-template-columns: 1fr;
    }

    .sidebar {
      position: fixed;
      left: 0;
      top: 0;
      width: 82vw;
      max-width: 320px;
      height: 100vh;
      transform: translateX(-100%);
      z-index: 9999;
      box-shadow: 20px 0 40px rgba(0, 0, 0, 0.45);
    }

    .sidebar.open {
      transform: translateX(0);
    }

    .app-content {
      padding: 14px clamp(12px, 5vw, 18px);
      padding-top: calc(14px + env(safe-area-inset-top));
      padding-bottom: calc(92px + env(safe-area-inset-bottom));
    }

    .hamburger {
      display: inline-flex;
      align-items: center;
      justify-content: center;
    }

    .scrim {
      position: fixed;
      inset: 0;
    }

    .sidebar {
      z-index: 60;
    }

    .app-layout.menu-open .app-content {
      filter: blur(2px);
    }

    .hero {
      min-height: clamp(180px, 45vw, 260px);
    }

    .hero-content {
      padding: 22px 14px;
      gap: 6px;
    }

    .hero-title {
      font-size: clamp(18px, 5.4vw, 24px);
    }

    .hero-sub {
      font-size: 13px;
    }

    .toolbar {
      gap: 6px;
      flex-wrap: wrap;
    }

    .toolbar .chip {
      padding: 4px 8px;
    }

    .search input {
      width: 120px;
    }

    .scroller {
      gap: 8px;
      padding-bottom: 6px;
    }

    .promo {
      min-width: 280px;
      height: 120px;
    }

    .offers {
      grid-template-columns: 1fr 1fr;
      gap: 10px;
    }

    .offer-card {
      padding: 12px;
    }

    .grid {
      grid-template-columns: repeat(auto-fill, minmax(130px, 1fr));
      gap: 10px;
    }



    .btn.small {
      height: 46px;
      padding: 0 12px;
    }

    .bottom-nav {
      padding: 10px 12px;
      height: 64px;
      align-items: center;
      gap: 16px;
      padding-bottom: calc(10px + env(safe-area-inset-bottom));
    }

    .nav-btn {
      width: 48px;
      height: 48px;
    }

    /* Show slider arrows on mobile */
    .slider-controls {
      display: flex;
    }

    .slider-track {
      cursor: grab;
    }

    .slider-dots {
      display: none !important;
    }

    .slider-track {
      scroll-snap-type: x mandatory;
    }

    .game-card {
      scroll-snap-align: start;
    }

    /* swipe-hint removido */
  }

  /* Sidebar height fix in modern mobile browsers */
  @supports (height: 100dvh) {
    @media (max-width: 1023px) {
      .sidebar {
        height: 100dvh;
      }
    }
  }

  /* Extras: pequenos reforços de responsividade */
  .scrim[hidden] {
    display: none !important;
  }



  /* Index logo sizing fix for small devices */
  @media (max-width: 480px) {
    .card.home .logo {
      width: clamp(140px, 48vw, 220px);
      margin-bottom: 14px;
    }

    .card.home {
      min-height: auto;
      padding: 20px 16px;
    }
  }

  /* Better horizontal scrolling on mobile */
  .scroller {
    -webkit-overflow-scrolling: touch;
    scroll-snap-type: x proximity;
  }

  .scroller>* {
    scroll-snap-align: start;
  }

  /* Target common 412x915 and similar widths with precise tweaks */
  @media (max-width: 430px) {

    /* Avoid content underlaps and give breathing room */
    .app-content {
      padding-left: 14px;
      padding-right: 14px;
    }

    /* Keep slider header compact and readable */
    .slider-header {
      margin-top: 3rem;
      gap: 8px;
    }

    .slider-header h2 {
      font-size: 20px;
      text-align: start;
    }

    /* Make nav arrows always reachable on small widths */
    .slider-controls {
      position: absolute;
      right: 0px;
      top: 50%;
      transform: translateY(-50%);
    }

    .swipe-hint {
      right: 60px;
    }

    /* Show fuller cards for easier tap targets */
    .game-card {
      flex-basis: clamp(240px, 82vw, 340px);
    }

    /* Prevent hero from dominating the viewport */
    .hero {
      min-height: 200px;
    }
  }

  /* Winners animations */
  .wins-row {
    transition: opacity .25s ease, transform .25s ease;
  }

  .wins-row.fade-out {
    opacity: 0;
    transform: translateY(-4px);
  }

  .wins-row.fade-in {
    opacity: 1;
    transform: translateY(0);
  }

  @media (min-width: 1024px) {
    .wins-row {
      grid-template-columns: minmax(240px, 1.2fr) minmax(360px, 1.6fr) auto;
    }

    .wins-head {
      grid-template-columns: minmax(240px, 1.2fr) minmax(360px, 1.6fr) auto;
    }
  }

  @media (min-width: 1280px) {
    .wins-row {
      grid-template-columns: minmax(280px, 1.4fr) minmax(480px, 1.6fr) auto;
    }

    .wins-head {
      grid-template-columns: minmax(280px, 1.4fr) minmax(480px, 1.6fr) auto;
    }
  }
}

/* Force mobile/tablet layout up to 1023px */
@media (max-width: 1023px) {
  .app-layout {
    grid-template-columns: 1fr !important;
  }

  /* Left sidebar: off-canvas, opens with .open */
  .sidebar {
    display: flex !important;
    position: fixed;
    left: 0;
    top: 0;
    width: 82vw;
    max-width: 320px;
    height: 100vh;
    transform: translateX(-100%);
    z-index: 9999;
    box-shadow: 20px 0 40px rgba(0, 0, 0, 0.45);
  }

  .sidebar.open {
    transform: translateX(0);
  }

  /* Right sidebar stays hidden on mobile/tablet */
  .sidebar-right {
    display: none !important;
  }

  /* Scrim only visible when sidebar is open */
  .scrim {
    display: block;
  }

  .hamburger {
    display: inline-flex;
  }

  .slider-controls {
    display: flex;
  }
}

/* ============================================================
   Responsive Breakpoints (Organized)
   - Mobile:  <= 480px
   - Tablet:  481px–1023px
   - Desktop: >= 1024px
   This section centralizes the key responsive rules for layout,
   header/menu, sidebars, bottom-nav and a few components.
   Keep base styles above; only overrides live here.               
   ============================================================ */

/* Mobile (<=480px) */
@media (max-width: 480px) {

  /* Layout */
  .app-layout {
    grid-template-columns: 1fr;
  }

  /* Sidebars */
  .sidebar {
    width: 82vw;
    max-width: 320px;
  }

  .sidebar-right {
    display: none !important;
  }

  /* Header */
  .app-header {
    min-height: 56px;
    padding: 6px 12px;
  }

  .app-header .hamburger {
    display: inline-flex;
    left: 12px;
  }

  .header-logo {
    height: 54px;
    width: auto;
  }

  /* Nav + Slider */
  .bottom-nav {
    display: flex;
  }

  .slider-controls {
    display: flex;
  }

  /* Index logo sizing */
  .card.home .logo {
    width: clamp(140px, 48vw, 220px);
  }
}

/* Ensure sidebars stay in columns on desktop (avoid dropping below content) */
@media (min-width: 1024px) {
  .app-layout {
    display: grid;
    grid-template-columns: 240px 1fr 300px;
    align-items: start;
  }

  .app-layout>.sidebar {
    grid-column: 1;
    grid-row: 1;
  }

  .app-layout>.app-content {
    grid-column: 2;
    grid-row: 1;
  }

  .app-layout>.sidebar-right {
    grid-column: 3;
    grid-row: 1;
    display: flex;
  }
}

/* Tablet (481px–1023px) */
@media (min-width: 481px) and (max-width: 1023px) {

  /* Layout */
  .app-layout {
    grid-template-columns: 1fr;
  }

  /* Sidebars */
  .sidebar {
    width: 300px;
    max-width: 90vw;
  }

  .sidebar-right {
    display: none !important;
  }

  /* Header */
  .app-header {
    min-height: 56px;
    padding: 6px 12px;
  }

  .app-header .hamburger {
    display: none;
    left: 12px;
    width: 40px;
    height: 40px;
  }

  .header-logo {
    width: 154px;
    height: 154px;
  }

  /* Nav + Slider */
  .bottom-nav {
    display: none;
  }

  .slider-controls {
    display: flex;
  }
}

/* Desktop (>=1024px) */
@media (min-width: 1024px) {

  /* Layout 3-col: left sidebar / content / right sidebar */
  .app-layout {
    grid-template-columns: 240px 1fr 300px;
  }

  .sidebar-right {
    display: flex;
  }

  /* Header */
  .app-header .hamburger {
    display: none !important;
  }

  .header-logo {
    height: 140px;
  }

  /* Nav + Slider */
  .bottom-nav {
    display: none !important;
  }
}

:root {
  --loading: white;
  --bg-loading: rgba(0, 0, 0, 0.5);
  --bg-line-square: rgba(59, 48, 13, 0.35);
  --bg-star: rgba(255, 255, 255, 0.090);
  --bg-noise: rgba(255, 255, 255, 0.03);
}

/*                  LOADER                 */
.loader {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 9999;
  transition: opacity 0.5s ease, visibility 0.5s ease;
  background-color: var(--bg-loading);
  backdrop-filter: blur(3px);
  -webkit-backdrop-filter: blur(3px);
}

.loader.hidden {
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.8s ease, visibility 0.8s ease;
}

.loader_container {
  width: 50px;
  height: 50px;
  position: relative;
  transform: rotate(45deg);
}

.orbe {
  position: absolute;
  width: 100%;
  height: 100%;
  --delay: calc(var(--index) * 0.1s);
  animation: orbit7456 ease-in-out 1.5s var(--delay) infinite;
  opacity: calc(1 - calc(0.2 * var(--index)));
}

.orbe::after {
  position: absolute;
  content: '';
  top: 0;
  left: 0;
  width: 10px;
  height: 10px;
  background-color: var(--loading);
  box-shadow: 0px 0px 5px 2px var(--loading);
  border-radius: 50%;
}

@keyframes orbit7456 {
  0% {}

  80%,
  100% {
    transform: rotate(360deg);
  }
}

/* Desktop (>=1024px) overrides for slider */
@media (min-width: 1024px) {
  .slider-controls {
    display: flex !important;
    gap: 8px;
  }

  .slider-viewport {
    overflow: hidden;
  }

  .slider-track {
    flex-wrap: nowrap;
    overflow-x: auto;
  }
}



/* Install Popup */
.install-modal {
  position: fixed;
  inset: 0;
  z-index: 12000;
}

.install-modal[hidden] {
  display: none !important;
}

.install-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, .6);
  backdrop-filter: blur(3px);
  -webkit-backdrop-filter: blur(3px);
}

.install-dialog {
  position: relative;
  z-index: 1;
  margin: 6vh auto;
  max-width: 560px;
  width: min(560px, calc(100% - 32px));
  /* espaçamento lateral */
  border: 1px solid var(--color-border);
  border-radius: 16px;
  background: linear-gradient(180deg, rgba(15, 16, 18, .95), rgba(10, 12, 15, .96));
  box-shadow: var(--shadow-elev);
  padding: 18px 18px 16px;
}

.install-close {
  position: absolute;
  top: 10px;
  right: 10px;
  width: 36px;
  height: 36px;
  border-radius: 10px;
  border: 1px solid var(--color-border);
  background: rgba(255, 255, 255, .04);
  color: var(--color-text);
  cursor: pointer;
}

.install-close:hover {
  background: rgba(255, 255, 255, .07);
}

.install-hero {
  display: grid;
  justify-items: center;
  gap: 8px;
  margin-top: 10px;
  margin-bottom: 6px;
}

.install-hero-icon {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  color: white;
  background: radial-gradient(circle at 50% 0%, color-mix(in srgb, var(--accent-2) 100%, #000 0%), color-mix(in srgb, var(--accent-2) 60%, #000 40%));
  box-shadow: 0 0 24px color-mix(in srgb, var(--accent-2) 45%, #000 55%);
}

.install-hero-icon i {
  font-size: 24px;
}

#installTitle {
  margin: 0;
  font-size: 22px;
}

.install-subtitle {
  margin: 8px 0 8px;
  font-size: 14px;
  color: var(--color-text);
  display: flex;
  align-items: center;
  gap: 6px;
}

.benefits-list {
  margin: 0;
  padding: 0 0 0 0;
  list-style: none;
  display: grid;
  gap: 6px;
}

.benefits-list li {
  display: flex;
  align-items: center;
  gap: 8px;
  color: var(--color-text-muted);
}

.benefits-list i {
  color: var(--accent-2);
}

.platform-tabs {
  display: grid;
  grid-auto-flow: column;
  gap: 10px;
  margin: 12px 0;
}

.platform-tabs .tab-btn {
  height: 40px;
  border-radius: 10px;
  border: 1px solid var(--color-border);
  background: rgba(255, 255, 255, 0.04);
  color: white;
  cursor: pointer;
  padding: 0 12px;
  text-align: center;
}

.platform-tabs .tab-btn.active {
  background: color-mix(in srgb, var(--accent-2) 22%, transparent 78%);
  border-color: color-mix(in srgb, var(--accent-2) 45%, transparent 55%);
}

.steps {
  margin: 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 8px;
}

.steps li {
  display: grid;
  grid-template-columns: 26px 1fr;
  gap: 10px;
  align-items: center;
  border: 1px solid var(--color-border);
  background: rgba(255, 255, 255, .03);
  border-radius: 12px;
  padding: 10px 12px;
}

.step-num {
  width: 26px;
  height: 26px;
  border-radius: 999px;
  display: grid;
  place-items: center;
  background: color-mix(in srgb, var(--accent-2) 22%, transparent 78%);
  color: var(--accent-2);
  font-weight: 800;
}

.step-title {
  font-weight: 700;
  color: white;
}

.step-sub {
  color: var(--color-text-muted);
  font-size: 12px;
}

.install-desktop-note {
  margin-top: 12px;
  border: 1px solid var(--color-border);
  background: rgba(26, 44, 68, 0.25);
  border-radius: 12px;
  padding: 10px 12px;
  color: var(--color-text-muted);
}

.install-desktop-note .note-title {
  font-weight: 700;
  color: var(--color-text);
  margin-bottom: 4px;
  display: flex;
  align-items: center;
  gap: 6px;
}

.install-cta {
  margin-top: 14px;
  width: 100%;
  height: 44px;
  border-radius: 9999px;
  border: 0;
  cursor: pointer;
  color: #3e2a00;
  font-weight: 800;
  background: linear-gradient(180deg, var(--accent-2), color-mix(in srgb, var(--accent-2) 75%, #000 25%));
  box-shadow: 0 10px 24px color-mix(in srgb, var(--accent-2) 25%, #000 75%);
}

.install-cta:hover {
  filter: brightness(1.05);
}

/* Winners: desktop font sizes */
@media (min-width: 1024px) {

  .wins-table .wins-cell .user,
  .wins-table .wins-cell .game {
    font-size: 14px;
  }

  .wins-table .wins-cell .amount {
    font-size: 16px;
  }
}

/* Allow background scroll when install modal is open */
.install-modal,
.install-backdrop {
  pointer-events: none !important;
}

.install-dialog {
  pointer-events: auto !important;
}

/* Clean fade/slide animation for install modal */
.install-modal {
  opacity: 0;
  transition: opacity .24s ease;
}

.install-modal.open {
  opacity: 1;
}

.install-dialog {
  transform: translateY(10px) scale(.985);
  opacity: 0;
  transition: transform .26s ease, opacity .26s ease;
}

.install-modal.open .install-dialog {
  transform: translateY(0) scale(1);
  opacity: 1;
}

/* Titles in white */
h1,
h2,
h3,
.title,
.hero-title {
  color: #ffffff !important;
}

/* Results grid for Controle de Banca */
.results-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 14px;
  width: 100%;
}

.results-grid .result-card {
  width: 100%;
}

@media (min-width: 768px) {
  .results-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (min-width: 1024px) {
  .results-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
}

.results-grid .result-value {
  font-size: 1.35rem;
  font-weight: 800;
  letter-spacing: .2px;
}

/* Controle de Banca: centralizado e moderno */
.cb-wrap {
  max-width: 960px;
  margin-left: auto;
  margin-right: auto;
}

.cb-card {
  width: 100%;
  max-width: 960px;
  height: auto;
  text-align: left;
  align-items: start;
  gap: 14px;
  padding: 24px;
  position: relative;
  overflow: hidden;
}

.cb-card::before {
  content: "";
  position: absolute;
  inset: -20% -20% auto -20%;
  height: 220px;
  background: radial-gradient(60% 60% at 40% 0%, rgba(245, 196, 59, 0.18), transparent 70%);
  pointer-events: none;
}

.cb-card .form {
  max-width: 980px;
}

.cb-card .actions {
  justify-content: flex-start;
  gap: 10px;
}

.cb-card .side-card {
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.04), rgba(255, 255, 255, 0.02));
  border: 1px solid rgba(245, 196, 59, 0.18);
}

.cb-form-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 12px;
  width: 100%;
}

@media (min-width: 1024px) {
  .cb-form-grid {
    grid-template-columns: 1fr 1fr;
  }
}

/* Accent variants for result cards */
.result-card.rc-ganhar {
  border-color: rgba(120, 200, 120, 0.25);
}

.result-card.rc-perder {
  border-color: rgba(200, 120, 120, 0.25);
}

.result-card.rc-meta {
  border-color: rgba(245, 196, 59, 0.35);
}

/* ===== Signal panel (games) ===== */
.signal-section {
  margin-top: 16px;
}

.signal-card {
  margin: 0 auto;
  max-width: 520px;
  padding: 16px;
  border-radius: 14px;
  background: linear-gradient(180deg, rgba(14, 14, 14, 0.85), rgba(6, 6, 6, 0.92));
  border: 1px solid rgba(245, 196, 59, 0.22);
  box-shadow: 0 14px 32px rgba(0, 0, 0, .45);
}

.signal-grid {
  display: grid;
  grid-template-columns: 1fr 1px 1fr;
  gap: 12px;
  align-items: center;
}

.signal-cell {
  padding: 6px 8px;
  text-align: center;
}

.signal-label {
  font-weight: 800;
  letter-spacing: .3px;
  color: #fff;
  display: flex;
  gap: 8px;
  align-items: center;
  justify-content: center;
}

.signal-label i {
  color: var(--accent-2);
}

.signal-value {
  font-size: 1.4rem;
  font-weight: 800;
  margin-top: 4px;
}

.signal-divider-v {
  width: 1px;
  height: 100%;
  background: rgba(255, 255, 255, .12);
  justify-self: center;
}

.signal-divider-h {
  grid-column: 1 / -1;
  height: 1px;
  background: rgba(255, 255, 255, .12);
}

.signal-card .btn {
  margin-top: 12px;
  width: 100%;
  min-width: unset;
}

.signal-card.analyzing .signal-value {
  opacity: .8;
}

.signal-dots::after {
  content: '\2022 \2022 \2022';
  letter-spacing: 4px;
  animation: pulseDots 1.2s ease-in-out infinite;
}

@keyframes pulseDots {

  0%,
  100% {
    opacity: .4
  }

  50% {
    opacity: 1
  }
}

.sig-normal {
  color: #32e875;
}

.sig-turbo {
  color: #7bf1ff;
}

.sig-valid {
  color: #f5c43b;
}

.sig-hit {
  color: #d38bff;
}

/* ===== ORION operation panel ===== */
.op-panel {
  margin: 12px auto;
  max-width: 960px;
  border: 1px solid rgba(245, 196, 59, .22);
  border-radius: 16px;
  background: linear-gradient(180deg, rgba(14, 14, 14, .88), rgba(6, 6, 6, .94));
  box-shadow: 0 16px 36px rgba(0, 0, 0, .5)
}

.op-panel.only-button .op-header,
.op-panel.only-button .op-body {
  display: none;
}

.op-panel.results-hidden .op-right {
  display: none;
}

.op-panel.results-hidden #opFollow {
  display: none;
}

@media (min-width: 1024px) {
  .op-panel.results-hidden .op-body {
    grid-template-columns: 1fr;
  }
}

.op-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px 14px;
  border-bottom: 1px solid rgba(255, 255, 255, .08)
}

.op-title {
  display: flex;
  align-items: center;
  gap: 8px;
  font-weight: 800;
  color: #fff
}

.op-status {
  font-size: .9rem;
  color: #f5c43b;
  text-transform: uppercase;
  letter-spacing: .3px
}

.op-status.cooldown {
  color: #b5800e
}

.op-body {
  display: grid;
  grid-template-columns: 1fr;
  gap: 14px;
  padding: 14px
}

.op-left {
  display: grid;
  gap: 10px
}

.op-panel.idle .op-left {
  gap: 0
}

.op-right {
  display: grid;
  gap: 10px;
  align-content: start
}

/* Desktop layout tweaks: two columns only when running */
@media (min-width: 1024px) {
  .op-panel.running .op-body {
    grid-template-columns: 2fr 1fr;
  }

  .op-panel:not(.running) .op-right {
    grid-template-columns: repeat(2, 1fr);
  }
}

/* Hide progress bar when not running to reduce empty area */
.op-panel:not(.running) .op-progress {
  display: none;
}

.op-matrix {
  height: 120px;
  border: 1px solid rgba(255, 255, 255, .08);
  border-radius: 12px;
  background: radial-gradient(80% 50% at 50% 0%, rgba(245, 196, 59, .12), transparent 70%), rgba(0, 0, 0, .25);
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace;
  font-size: 12px;
  line-height: 1.2;
  padding: 10px;
  overflow: hidden;
  color: rgba(255, 255, 255, .75)
}

.op-progress {
  height: 8px;
  border-radius: 9999px;
  background: rgba(255, 255, 255, .06);
  overflow: hidden
}

.op-bar {
  height: 100%;
  background: linear-gradient(90deg, var(--accent-2), #b5800e);
  width: 0%;
  transition: width .25s ease
}

.op-log {
  /* show at most 3 lines; collapsed by default */
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
  line-height: 1.25;
  max-height: 0;
  /* collapsed */
  border: 0;
  border-radius: 10px;
  padding: 0;
  color: #d1d5db;
  background: rgba(0, 0, 0, .2);
}

.op-steps {
  list-style: none;
  margin: 0;
  padding: 0;
  /* collapsed */
  border: 0;
  /* collapsed */
  border-radius: 12px;
  background: rgba(0, 0, 0, .2);
  display: grid;
  gap: 6px;
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace;
  max-height: 0;
  opacity: 0;
  overflow: hidden;
  transition: max-height .35s ease, opacity .25s ease, padding .25s ease, border .25s ease
}

.op-steps.open {
  max-height: 320px;
  opacity: 1;
  padding: 8px;
  border: 1px solid rgba(255, 255, 255, .08)
}

.op-step {
  display: flex;
  align-items: center;
  gap: 8px;
  color: #bfeee0
}

.op-step .dot {
  width: 10px;
  height: 10px;
  border-radius: 9999px;
  display: inline-block;
  background: rgba(245, 196, 59, .20);
  box-shadow: 0 0 10px rgba(245, 196, 59, .18)
}

.op-step.pending {
  opacity: .6
}

.op-step.active .dot {
  background: #f5c43b;
  box-shadow: 0 0 14px rgba(245, 196, 59, .85)
}

.op-step.ok {
  color: #05a100;
}

.op-step.ok .dot {
  background: #05a100;
}

.op-log {
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace;
  white-space: pre-wrap;
  opacity: 0;
  transition: opacity .25s ease
}

.op-log.open {
  opacity: 1;
  max-height: calc(1.25em * 4);
  padding: 8px;
  border: 1px dashed rgba(255, 255, 255, .12);
}

.op-block {
  border: 1px solid rgba(255, 255, 255, .08);
  border-radius: 12px;
  padding: 10px;
  background: rgba(255, 255, 255, .03)
}

.op-label {
  font-size: .8rem;
  color: var(--color-text-muted);
  letter-spacing: .3px
}

.op-value {
  font-size: 1.2rem;
  font-weight: 800;
  color: #fff
}

.op-gauge {
  height: 10px;
  border-radius: 9999px;
  background: rgba(255, 255, 255, .06);
  overflow: hidden;
  margin-top: 6px
}

.op-gauge>span {
  display: block;
  height: 100%;
  background: linear-gradient(90deg, #47f58b, #f5c43b, #ff7ab6);
  width: calc(var(--fill));
  transition: width .35s ease
}

.chip.risk {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px 10px;
  border-radius: 9999px;
  border: 1px solid rgba(255, 255, 255, .12);
  background: rgba(255, 255, 255, .06)
}

.risk-low {
  color: #1aff90;
  border-color: rgba(26, 255, 144, .35)
}

.risk-mid {
  color: #ffd166;
  border-color: rgba(255, 209, 102, .35)
}

.risk-high {
  color: #ff7b7b;
  border-color: rgba(255, 123, 123, .35)
}

@media (max-width: 900px) {
  .op-body {
    grid-template-columns: 1fr
  }
}

/* Hacker skin */
.op-panel.hacker {
  border-color: rgba(46, 139, 87, 0.45);
  background: linear-gradient(180deg, rgba(6, 18, 12, 0.96), rgba(4, 12, 8, 0.96));
  box-shadow: 0 16px 36px rgba(0, 0, 0, .6), 0 0 28px rgba(46, 139, 87, 0.18);
}

.op-panel.hacker .op-title {
  color: #eafff5
}

.op-panel.hacker .op-status {
  color: #7aeab4
}

.op-panel.hacker .op-matrix {
  color: #bff7da;
  background: radial-gradient(80% 50% at 50% 0%, rgba(46, 139, 87, .18), transparent 70%), rgba(0, 0, 0, .35);
  border-color: rgba(46, 139, 87, 0.3);
}

.op-panel.hacker .op-bar {
  background: linear-gradient(90deg, #2e8b57, #7aeab4)
}

.op-panel.hacker .op-gauge>span {
  background: linear-gradient(90deg, #2e8b57, #7aeab4)
}

.op-panel.hacker .op-block {
  background: linear-gradient(180deg, rgba(46, 139, 87, 0.12), rgba(8, 16, 12, 0.35));
  border-color: rgba(46, 139, 87, 0.25)
}

.op-panel.hacker .op-label {
  color: rgba(191, 247, 218, 0.8)
}

.op-panel.hacker .op-step {
  color: #c9f7e2;
}

.op-panel.hacker .op-step .dot {
  background: rgba(46, 139, 87, .35);
  box-shadow: 0 0 10px rgba(46, 139, 87, .25);
}

.op-panel.hacker .op-step.active .dot {
  background: #7aeab4;
  box-shadow: 0 0 14px rgba(122, 234, 180, .85);
}

.op-panel.hacker .op-step.ok {
  color: #7aeab4;
}

.op-panel.hacker .op-step.ok .dot {
  background: #7aeab4;
}

/* Make generate button fill panel width */
.op-panel .btn {
  width: 100%;
  min-width: unset
}

.op-panel .boost-btn {
  width: 100%;
  min-width: unset;
}

.op-run {
  --green: #19ff9d;
  height: 52px;
  font-weight: 800;
  background: rgba(0, 0, 0, 0.35);
  color: var(--green);
  border: 2px solid var(--green);
  box-shadow:
    0 0 0 1px rgba(25, 255, 157, 0.25) inset,
    0 0 12px rgba(25, 255, 157, 0.35),
    0 0 24px rgba(25, 255, 157, 0.2);
}

.op-run-wrap {
  position: relative;
  display: grid;
  place-items: center;
  margin-top: 18px;
}

.op-run-wrap .op-run {
  position: relative;
  z-index: 1;
}

.op-run-radar {
  position: absolute;
  inset: auto;
  width: min(70vw, 280px);
  height: min(70vw, 280px);
  opacity: 0.38;
  pointer-events: none;
}

.op-panel.radar-hidden .op-run-wrap {
  display: none;
}

.op-section-centered {
  min-height: calc(100vh - 160px);
  display: grid;
  align-content: center;
  gap: 18px;
}

.op-section-centered .op-run-wrap {
  margin-top: 0;
}

.op-section-centered .op-run {
  width: min(70vw, 120px);
  height: 44px;
  font-size: 13px;
  letter-spacing: 0.03em;
}

.op-run:hover {
  color: #d4ffe8;
  box-shadow:
    0 0 0 1px rgba(25, 255, 157, 0.35) inset,
    0 0 16px rgba(25, 255, 157, 0.55),
    0 0 32px rgba(25, 255, 157, 0.35);
}

.op-run:active {
  transform: translateY(1px)
}

.op-value.muted {
  color: rgba(255, 255, 255, .55)
}

.op-value.loading {
  opacity: .9;
  animation: pulseDots 1.2s ease-in-out infinite
}

.cb-card .result-card {
  padding: 14px 16px;
  min-height: 110px;
  display: grid;
  align-content: start;
  gap: 6px;
  border-radius: 14px;
  background: linear-gradient(180deg, rgba(20, 14, 4, 0.85), rgba(8, 6, 3, 0.92));
  border: 1px solid rgba(245, 196, 59, 0.28);
  box-shadow: 0 10px 28px rgba(0, 0, 0, 0.45), inset 0 1px 0 rgba(255, 255, 255, 0.06);
  position: relative;
}

.cb-card .result-card .side-subtitle {
  margin: 0 0 4px;
  color: var(--color-text);
  opacity: .95;
  display: flex;
  align-items: center;
  gap: 8px;
}

.cb-card .result-card .result-value {
  color: #fff;
  text-shadow: 0 0 8px rgba(245, 196, 59, 0.15);
}

.cb-card .result-card::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 14px;
  pointer-events: none;
  background: radial-gradient(60% 40% at 50% 0%, rgba(245, 196, 59, 0.12), transparent 70%);
}

/* Accent variants for result cards */
.result-card.rc-ganhar {
  border-color: rgba(120, 200, 120, 0.25);
}

.result-card.rc-perder {
  border-color: rgba(200, 120, 120, 0.25);
}

.result-card.rc-meta {
  border-color: rgba(245, 196, 59, 0.35);
}

/* COMO JOGAR */
.howto {
  margin-top: 1.5rem;
}

.howto-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 1rem;
}

.howto-header h2 {
  margin: 0;
  font-size: 1.5rem;
  color: var(--color-text);
  margin-top: 1.5rem;
}

.howto-steps {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 12px;
}

.howto-steps li {
  display: grid;
  grid-template-columns: 40px 1fr;
  gap: 12px;
  align-items: start;
  padding: 14px;
  border: 1px solid rgba(242, 207, 99, 0.16);
  border-radius: 14px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.04), rgba(255, 255, 255, 0.02));
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.35);
  transition: transform .18s ease, border-color .18s ease, box-shadow .18s ease;
}

.howto-steps li:hover {
  transform: translateY(-2px);
  border-color: rgba(245, 196, 59, 0.4);
  box-shadow: 0 14px 32px rgba(0, 0, 0, 0.45);
}

.howto-steps .step-num {
  width: 40px;
  height: 40px;
  border-radius: 12px;
  display: grid;
  place-items: center;
  font-weight: 800;
  color: #1a1003;
  background: linear-gradient(180deg, var(--accent-2), var(--accent));
  border: 1px solid rgba(242, 207, 99, 0.4);
  box-shadow: 0 2px 14px rgba(242, 207, 99, 0.35);
}

.howto-steps .step-title {
  font-weight: 800;
  letter-spacing: .2px;
}

.howto-steps .step-sub {
  color: var(--color-text-muted);
  font-size: .95rem;
  opacity: .95;
}

@media (min-width: 1024px) {
  .howto-steps {
    grid-template-columns: 1fr 1fr;
  }
}

#opFollow {
  margin-top: 2rem;
}

.side-card .btn {
  width: 100%;
  min-width: unset;
}

#conteudo {
  margin-top: 1.5rem;
  line-height: 1.6;
  margin-bottom: 1rem;
}

/* ===== Jogos proibidos/secretos (estilo da Nova pasta) ===== */
.game_Container {
  margin-top: 2.5rem;
  margin-bottom: 4rem;
}

.game_Container--proibidos {
  position: relative;
  overflow: hidden;
  min-height: auto;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  padding-top: 2.5rem;
  padding-bottom: 2.5rem;
  gap: 1.25rem;
}

.game_Container--secretos {
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  min-height: auto;
  gap: 1.25rem;
  padding: 2.5rem 0 2.5rem;
}

.game_Container--secretos::before {
  content: "";
  position: absolute;
  inset: 0;
  background: none;
  pointer-events: none;
  background-size: 100% 100%;
  opacity: 0;
  z-index: 0;
}

.game_Container--secretos>* {
  position: relative;
  z-index: 1;
}

.game_Container--proibidos .game_Header,
.game_Container--proibidos .games_Slider-Viewport {
  position: relative;
  z-index: 1;
  width: min(100%);
  padding: 0 2rem;
  box-sizing: border-box;
}

.game_Container--proibidos .games_Slider-Viewport {
  display: flex;
  align-items: center;
}

.game_Container--secretos .game_Header,
.game_Container--secretos .games_Slider-Viewport {
  position: relative;
  z-index: 1;
  width: min(100%);
  padding: 0 2rem;
  box-sizing: border-box;
}

.game_Container--secretos .games_Slider-Viewport {
  display: flex;
  align-items: center;
}

.game_Header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  position: relative;
  margin-bottom: 1rem;
}

.game_HeaderTitle {
  letter-spacing: .2rem;
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace;
  color: rgba(255, 255, 255, 0.85);
  margin: 0;
  font-size: 1.5rem;
}

.game_Container .slider-controls {
  display: flex;
  gap: 8px;
  pointer-events: none;
}

.game_Container .slider-controls .slider-btn {
  pointer-events: auto;
}

.game_Container .slider-btn {
  width: 30px;
  height: 30px;
  border: none;
  color: white;
  display: grid;
  place-items: center;
  font-size: 18px;
  font-weight: 700;
  cursor: pointer;
  background-color: transparent;
}

.game_Container .slider-btn i {
  font-size: 30px;
  line-height: 1;
}

.games_Slider-Viewport {
  position: relative;
  overflow: hidden;
}

.slider_Track {
  display: flex;
  gap: 15px;
  padding-top: 1rem;
  overflow-x: auto;
  scroll-behavior: smooth;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
  touch-action: auto;
  scrollbar-width: none;
}

.slider_Track.dragging {
  cursor: grabbing;
  scroll-behavior: auto;
}

.slider_Track::-webkit-scrollbar {
  display: none;
}

.game_Card {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  position: relative;
  overflow: hidden;
  z-index: 999;
  width: 240px;
  flex: 0 0 240px;
  min-width: 200px;
  background: rgb(0, 0, 0, 0.1);
  padding: 1rem;
  border: 1px solid rgba(165, 255, 0, 0.16);
  border-radius: .3rem;
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  scroll-snap-align: start;
  scroll-snap-stop: always;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.45);
  transition: transform .22s ease, box-shadow .22s ease, border-color .2s ease;
}

.game_Card::before {
  content: "";
  position: absolute;
  inset: -1px;
  pointer-events: none;
  opacity: .65;
  mix-blend-mode: screen;
}

.game_Name {
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace;
  font-size: 1.3rem;
  text-align: center;
}

.game_CardGlitch {
  position: relative;
  overflow: hidden;
  width: 100%;
  aspect-ratio: 3 / 4;
  min-height: 240px;
  --glitch-base: none;
  --glitch-1: var(--glitch-base);
  --glitch-2: var(--glitch-base);
  --glitch-3: var(--glitch-base);
  --glitch-delay: 0s;
  --glitch-duration: 3.5s;
  --glitch-shift: 1.5px;
}

.game_CardGlitch a {
  display: block;
  width: 100%;
  height: 100%;
  position: relative;
  z-index: 2;
}

.game_CardGlitch a img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.game_CardGlitch::after {
  content: "";
  position: absolute;
  inset: 0;
  background: var(--glitch-base) center/cover no-repeat;
  animation: glitch-flash var(--glitch-duration) infinite steps(1);
  animation-delay: var(--glitch-delay);
  z-index: 2;
  pointer-events: none;
}

.game_CardGlitch::before {
  content: "";
  position: absolute;
  inset: 0;
  background: var(--glitch-1) center/cover no-repeat;
  mix-blend-mode: screen;
  opacity: 0;
  animation: glitch-burst var(--glitch-duration) infinite steps(1);
  animation-delay: calc(var(--glitch-delay) + .05s);
  animation-play-state: paused;
  z-index: 3;
  pointer-events: none;
}

@keyframes glitch-flash {

  0%,
  100% {
    background: var(--glitch-base) center/cover no-repeat;
    opacity: 1;
  }

  92.5% {
    background: var(--glitch-1) center/cover no-repeat;
    opacity: 1;
  }

  95% {
    background: var(--glitch-2) center/cover no-repeat;
    opacity: 0;
  }

  97.5% {
    background: var(--glitch-3) center/cover no-repeat;
    opacity: 1;
  }
}

@keyframes glitch-burst {

  0%,
  100% {
    opacity: 0;
    transform: translateX(0);
  }

  90% {
    opacity: .35;
    transform: translateX(calc(var(--glitch-shift) * -1));
  }

  93% {
    opacity: .75;
    transform: translateX(calc(var(--glitch-shift) * 1.4));
  }

  96% {
    opacity: .15;
    transform: translateX(calc(var(--glitch-shift) * -.6));
  }
}

.glitch-intense::before {
  animation-play-state: running;
}

.glitch-intense {
  --glitch-duration: .75s;
  --glitch-shift: 2px;
}

.card-intense {
  position: relative;
  border: 1px solid rgba(165, 255, 0, 0.75);
  box-shadow:
    0 10px 22px rgba(0, 0, 0, 0.35),
    0 0 16px rgba(165, 255, 0, 0.22);
  animation: card-float 2.4s ease-in-out infinite;
}

@keyframes card-float {
  0% {
    transform: translateY(-2px);
  }

  50% {
    transform: translateY(-8px);
  }

  100% {
    transform: translateY(-2px);
  }
}

.glitch_Card_Bloody-Dawn {
  --glitch-base: url('../application/images/games/1-bloody-dawn.jpg');
  --glitch-1: url('../application/images/games/2-bloody-dawn-glitch.png');
  border-radius: .3rem;
  border: 1px solid rgba(165, 255, 0, 0.16);
  object-fit: cover;
}

.glitch_Card-Wild-Bandito {
  --glitch-base: url('../application/images/games/1-wild-bandito.png.png');
  --glitch-1: url('../application/images/games/2-wild-bandito.png');
  border-radius: .3rem;
  border: 1px solid rgba(165, 255, 0, 0.16);
  object-fit: cover;
}

.glitch_Card-Dynamite-Trio {
  --glitch-base: url('../application/images/games/1-dynamite-trio.png');
  --glitch-1: url('../application/images/games/2-dynamite-trio.png');
  border-radius: .3rem;
  border: 1px solid rgba(165, 255, 0, 0.16);
  object-fit: cover;
}

.glitch_Card-Spell-Master {
  --glitch-base: url('../application/images/games/1-spell-master.png');
  --glitch-1: url('../application/images/games/2-spell-master.png');
  border-radius: .3rem;
  border: 1px solid rgba(165, 255, 0, 0.16);
  object-fit: cover;
}

.glitch_Card-Rage-of-Perun {
  --glitch-base: url('../application/images/games/1-rage-of-perun.png.png');
  --glitch-1: url('../application/images/games/2-rage-of-perun.png');
  border-radius: .3rem;
  border: 1px solid rgba(165, 255, 0, 0.16);
  object-fit: cover;
}

.glitch_Card-Fire-Portals {
  --glitch-base: url('../application/images/games/jogos-secretos/1.png');
  border-radius: .3rem;
  border: 1px solid rgba(165, 255, 0, 0.16);
  object-fit: cover;
}

.glitch_Card-The-Qilin {
  --glitch-base: url('../application/images/games/jogos-secretos/1-rage-of-perun.png');
  border-radius: .3rem;
  border: 1px solid rgba(165, 255, 0, 0.16);
  object-fit: cover;
}

.glitch_Card-GODS-OF-WAR {
  --glitch-base: url('../application/images/games/jogos-secretos/4.webp');
  border-radius: .3rem;
  border: 1px solid rgba(165, 255, 0, 0.16);
  object-fit: cover;
}

.glitch_Card-Anubis {
  --glitch-base: url('../application/images/games/jogos-secretos/5.webp');
  border-radius: .3rem;
  border: 1px solid rgba(165, 255, 0, 0.16);
  object-fit: cover;
}

.game_Button {
  text-decoration: none;
  appearance: none;
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(141, 220, 57, 0.75);
  background: linear-gradient(180deg, #0c1b07, #0b1f05);
  color: #c6ff66;
  font-weight: 700;
  letter-spacing: .4px;
  height: 46px;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  transition: transform .08s ease, filter var(--transition-fast), opacity var(--transition-fast), box-shadow var(--transition-fast), background .12s ease, border-color .12s ease;
  box-shadow:
    0 0 0 1px rgba(141, 220, 57, 0.35) inset,
    0 10px 22px rgba(0, 0, 0, 0.55),
    0 0 18px rgba(141, 220, 57, 0.22);
  animation: bump-in .5s ease .35s both;
  border-radius: .3rem;
}

.game_Button.pill {
  width: auto;
  min-width: 100%;
  justify-content: center;
}

.game_Button:hover {
  filter: brightness(1.05);
  background: linear-gradient(180deg, #10270a, #0f2e07);
  border-color: rgba(152, 232, 76, 0.9);
  box-shadow: 0 0 0 1px rgba(152, 232, 76, 0.45) inset, 0 12px 26px rgba(0, 0, 0, 0.58), 0 0 24px rgba(152, 232, 76, 0.26);
}

.game_Button:active {
  transform: translateY(1px);
}

@media (hover: hover) and (pointer: fine) {
  .game_Button::before {
    content: "";
    position: absolute;
    -webkit-clip-path: var(--btn-clip);
    clip-path: var(--btn-clip);
    top: -1px;
    bottom: -1px;
    left: -40%;
    right: -40%;
    background: linear-gradient(120deg, transparent 0%, rgba(255, 255, 255, 0.35) 50%, transparent 100%);
    transform: translateX(-100%);
    transition: transform .6s ease;
    pointer-events: none;
  }

  .game_Button:hover::before {
    transform: translateX(100%);
  }
}

@media (max-width: 768px) {
  .game_Container {
    margin-top: 1rem;
    margin-bottom: 2rem;
  }

  .game_Header {
    width: 100%;
    padding: 0 0.75rem;
    margin: 0 0 0.75rem;
    flex-wrap: nowrap;
    justify-content: flex-start;
    gap: 0.75rem;
    align-items: center;
  }

  .game_HeaderTitle {
    font-size: 1.25rem;
    letter-spacing: 0.12rem;
    text-align: left;
    flex: 1;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
  }

  .game_Container .slider-controls {
    margin-left: auto;
    pointer-events: none;
    gap: 6px;
    display: none !important;
    align-items: center;
    flex-shrink: 0;
  }

  .game_Container .slider-controls .slider-btn {
    background: rgba(0, 0, 0, 0.4);
    border-radius: 8px;
  }

  .game_Container--proibidos .game_CardGlitch,
  .game_Container--secretos .game_CardGlitch,
  .game_Container--proibidos .game_Name,
  .game_Container--secretos .game_Name {
    display: block !important;
  }

  .game_Container--proibidos .game_Card,
  .game_Container--secretos .game_Card {
    min-height: 420px;
  }

  .game_Container--proibidos,
  .game_Container--secretos {
    min-height: auto;
    overflow: visible;
    align-items: stretch;
    justify-content: flex-start;
    padding: 1rem 0 6rem;
  }

  .game_Container--proibidos .game_Header,
  .game_Container--secretos .game_Header {
    padding: 0 0.75rem;
    margin-bottom: 0.5rem;
    gap: 5rem;
    flex-wrap: nowrap;
    align-items: center;
    justify-content: space-between;
  }

  .game_Container--proibidos .games_Slider-Viewport,
  .game_Container--secretos .games_Slider-Viewport {
    width: 100%;
    padding: 0;
    overflow: hidden;
    max-width: 100%;
    scroll-padding-left: 0.75rem;
  }

  .game_Container--proibidos .slider_Track,
  .game_Container--secretos .slider_Track {
    padding: 0.5rem 0 0 0.75rem;
    gap: 12px;
    justify-content: flex-start;
  }

  .game_Container--proibidos .game_Card,
  .game_Container--secretos .game_Card {
    width: 78vw;
    min-width: 220px;
    max-width: 320px;
    padding: 1rem;
  }

  .game_Container--secretos::before {
    opacity: 0.3;
  }
}

@media (max-width: 1280px) {
  .game_Card {
    min-width: 180px;
  }

  .slider_Track {
    gap: 12px;
    padding: 10px 14px 10px 0;
  }

  .game_HeaderTitle {
    font-size: 1.35rem;
  }
}

@media (min-width: 1281px) {
  .games_Slider-Viewport {
    overflow: hidden;
    padding-right: 0;
  }

  .slider_Track {
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    gap: 2.5rem;
    padding: 1rem 0 0;
    justify-content: flex-start;
    flex-wrap: nowrap;
  }

  .game_Card {
    flex: 0 0 calc((95% - (12px * 4)) / 5);
    width: auto;
    max-width: 100%;
  }
}