:root {
  --bg-deep: #070408;
  --bg: #10080d;
  --bg-elevated: #1a1116;
  --text: #f8f1e6;
  --muted: #c2b0a0;
  --accent: #d9b05a;
  --accent-2: #f3df9a;
  --accent-deep: #9a6f22;
  --danger: #e35d5d;
  --success: #3dbe7a;
  --warning: #e0a93a;
  --border: rgba(243, 223, 154, 0.14);
  --shadow: 0 22px 48px rgba(0, 0, 0, 0.5);
  --radius: 16px;
  --font-display: "Cinzel", serif;
  --font-body: "Outfit", sans-serif;
  --gold: linear-gradient(135deg, #f7e7b4 0%, #d9b05a 46%, #9a6f22 100%);
  --glass: rgba(16, 10, 14, 0.72);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  position: relative;
  font-family: var(--font-body);
  color: var(--text);
  background:
    radial-gradient(1100px 560px at 8% -12%, rgba(217, 176, 90, 0.16), transparent 58%),
    radial-gradient(900px 480px at 96% -4%, rgba(120, 28, 48, 0.28), transparent 52%),
    radial-gradient(700px 420px at 50% 110%, rgba(217, 176, 90, 0.08), transparent 55%),
    linear-gradient(180deg, #160b11 0%, var(--bg) 42%, #080406 100%);
  line-height: 1.55;
  letter-spacing: 0.005em;
  text-rendering: optimizeLegibility;
}

.atmosphere {
  pointer-events: none;
  position: fixed;
  inset: 0;
  z-index: 0;
  overflow: hidden;
}

.atmosphere-aurora {
  position: absolute;
  inset: -20%;
  background:
    conic-gradient(from 210deg at 30% 20%, rgba(217, 176, 90, 0.12), transparent 28%, rgba(120, 28, 48, 0.16) 48%, transparent 70%, rgba(217, 176, 90, 0.08) 100%);
  filter: blur(40px);
  opacity: 0.7;
  animation: aurora-drift 18s ease-in-out infinite alternate;
}

.atmosphere-orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(8px);
  opacity: 0.55;
}

.atmosphere-orb-a {
  width: min(42vw, 420px);
  height: min(42vw, 420px);
  top: -8%;
  right: -6%;
  background: radial-gradient(circle, rgba(243, 223, 154, 0.22), transparent 68%);
  animation: orb-float 14s ease-in-out infinite;
}

.atmosphere-orb-b {
  width: min(48vw, 520px);
  height: min(48vw, 520px);
  bottom: -18%;
  left: -12%;
  background: radial-gradient(circle, rgba(120, 28, 48, 0.28), transparent 70%);
  animation: orb-float 17s ease-in-out infinite reverse;
}

.atmosphere-filament {
  position: absolute;
  inset: 0;
  opacity: 0.18;
  background:
    linear-gradient(115deg, transparent 40%, rgba(243, 223, 154, 0.18) 50%, transparent 60%);
  background-size: 220% 220%;
  animation: filament-sweep 11s linear infinite;
}

.atmosphere-vignette {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse at center, transparent 45%, rgba(0, 0, 0, 0.45) 100%);
}

.felt-overlay {
  pointer-events: none;
  position: fixed;
  inset: 0;
  z-index: 0;
  opacity: 0.28;
  mix-blend-mode: soft-light;
  background-image:
    radial-gradient(rgba(255, 255, 255, 0.04) 0.55px, transparent 0.7px),
    radial-gradient(rgba(0, 0, 0, 0.22) 0.8px, transparent 0.9px);
  background-size: 3px 3px, 8px 8px;
  background-position: 0 0, 1px 2px;
}

body > *:not(.felt-overlay):not(.atmosphere):not(.info-tip-bubble) {
  position: relative;
  z-index: 1;
}

@keyframes aurora-drift {
  from { transform: rotate(0deg) scale(1); }
  to { transform: rotate(12deg) scale(1.08); }
}

@keyframes orb-float {
  0%, 100% { transform: translate3d(0, 0, 0); }
  50% { transform: translate3d(-3%, 4%, 0); }
}

@keyframes filament-sweep {
  from { background-position: 0% 50%; }
  to { background-position: 200% 50%; }
}

a {
  color: inherit;
  text-decoration: none;
}

img {
  max-width: 100%;
  display: block;
}

.container {
  width: min(1120px, calc(100% - 2rem));
  margin: 0 auto;
}

.site-nav {
  position: sticky;
  top: 0;
  z-index: 100;
  backdrop-filter: blur(18px) saturate(1.2);
  background: linear-gradient(180deg, rgba(10, 6, 8, 0.9), rgba(10, 6, 8, 0.72));
  border-bottom: 1px solid rgba(243, 223, 154, 0.12);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.25);
}

.site-nav .inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.9rem 0;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  font-family: var(--font-display);
  font-weight: 800;
  letter-spacing: -0.02em;
}

.brand-mark {
  width: 36px;
  height: 36px;
  border-radius: 10px;
  display: grid;
  place-items: center;
  overflow: hidden;
  flex-shrink: 0;
  background: transparent;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.35);
}

.brand-mark img,
.brand-mark svg {
  width: 100%;
  height: 100%;
  display: block;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  flex-wrap: wrap;
}

.nav-links a:not(.btn) {
  color: var(--muted);
  font-size: 0.95rem;
}

.nav-links a:not(.btn):hover {
  color: var(--text);
}

.nav-links .btn {
  font-size: 0.95rem;
}

.nav-links .btn-primary,
.nav-links .btn-primary:hover,
.nav-links .btn-primary:focus-visible {
  color: #1a0f08;
}

/* Mobile nav — hidden on desktop */
.menu-check {
  position: absolute;
  opacity: 0;
  width: 0;
  height: 0;
  pointer-events: none;
}

.menu-toggle {
  display: none;
}

.nav-drop {
  display: none;
}

.inner {
  position: relative;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.45rem;
  border: 0;
  border-radius: 12px;
  padding: 0.8rem 1.35rem;
  font-weight: 700;
  font-family: var(--font-body);
  letter-spacing: 0.02em;
  cursor: pointer;
  position: relative;
  overflow: hidden;
  transition: transform 0.22s ease, filter 0.22s ease, box-shadow 0.22s ease, background 0.22s ease, border-color 0.22s ease;
}

.btn:hover {
  transform: translateY(-2px);
  filter: brightness(1.05);
}

.btn-primary {
  background: var(--gold);
  color: #1a0f08;
  box-shadow:
    0 8px 22px rgba(217, 176, 90, 0.24),
    inset 0 1px 0 rgba(255, 255, 255, 0.35);
}

.btn-primary::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(110deg, transparent 30%, rgba(255, 255, 255, 0.38) 48%, transparent 62%);
  transform: translateX(-120%);
  animation: btn-sheen 4.8s ease-in-out infinite;
}

.btn-primary:hover {
  box-shadow:
    0 14px 32px rgba(217, 176, 90, 0.34),
    inset 0 1px 0 rgba(255, 255, 255, 0.4);
}

.btn-ghost {
  background: rgba(243, 223, 154, 0.05);
  color: var(--text);
  border: 1px solid rgba(243, 223, 154, 0.18);
  backdrop-filter: blur(8px);
}

.btn-ghost:hover {
  border-color: rgba(243, 223, 154, 0.35);
  background: rgba(243, 223, 154, 0.09);
}

@keyframes btn-sheen {
  0%, 55%, 100% { transform: translateX(-120%); }
  70% { transform: translateX(120%); }
}

.btn-danger {
  background: linear-gradient(135deg, #c24747, var(--danger));
  color: #fff;
}

.btn-block {
  width: 100%;
}

.hero {
  min-height: calc(100vh - 72px);
  display: grid;
  align-items: center;
  position: relative;
  overflow: hidden;
}

.hero-shine {
  position: absolute;
  inset: auto auto 18% -10%;
  width: 55%;
  height: 40%;
  background: radial-gradient(ellipse at center, rgba(240, 215, 140, 0.18), transparent 68%);
  z-index: 0;
  animation: shine-pulse 5.5s ease-in-out infinite;
}

.hero .container {
  position: relative;
  z-index: 1;
  padding: 4.5rem 0 5rem;
}

.hero-brand {
  font-family: var(--font-display);
  font-size: clamp(3.1rem, 8.2vw, 5.8rem);
  line-height: 0.96;
  letter-spacing: 0.02em;
  margin: 0 0 1rem;
  color: var(--accent-2);
  animation: rise 0.8s ease both;
  text-shadow: none;
}

.hero p,
.landing-hero-lead {
  max-width: 34rem;
  font-size: 1.12rem;
  color: #f0e4d4;
  margin: 0 0 1.75rem;
  animation: rise 0.9s ease 0.08s both;
}

.hero-actions {
  display: flex;
  gap: 0.75rem;
  flex-wrap: wrap;
  animation: rise 1s ease 0.14s both;
}

/* Landing — hero tecnológico (atmosfera do scanner) */
.landing-hero {
  min-height: calc(100vh - 72px);
}

.landing-hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  overflow: hidden;
  background:
    radial-gradient(900px 520px at 15% -10%, rgba(212, 168, 75, 0.22), transparent 55%),
    radial-gradient(700px 420px at 90% 10%, rgba(140, 40, 55, 0.28), transparent 50%),
    linear-gradient(180deg, #140a0f 0%, #0b0608 100%);
}

.landing-hero-grid {
  position: absolute;
  inset: 0;
  opacity: 0.4;
  background-image:
    linear-gradient(rgba(240, 215, 140, 0.07) 1px, transparent 1px),
    linear-gradient(90deg, rgba(240, 215, 140, 0.07) 1px, transparent 1px);
  background-size: 48px 48px;
  mask-image: radial-gradient(ellipse at 40% 40%, #000 10%, transparent 72%);
  animation: landing-grid-drift 22s linear infinite;
}

.landing-hero-scan {
  position: absolute;
  left: 0;
  right: 0;
  height: 28%;
  background: linear-gradient(
    180deg,
    transparent,
    rgba(240, 215, 140, 0.07),
    transparent
  );
  animation: landing-scan 4.8s ease-in-out infinite;
}

.landing-hero-glow {
  position: absolute;
  width: 55%;
  height: 45%;
  left: -8%;
  bottom: 10%;
  background: radial-gradient(ellipse at center, rgba(240, 215, 140, 0.16), transparent 68%);
  animation: shine-pulse 5.5s ease-in-out infinite;
}

.landing-hero-inner {
  max-width: 40rem;
}

.landing-free-badge {
  display: inline-flex;
  align-items: center;
  margin: 0 0 0.85rem;
  padding: 0.4rem 0.85rem;
  border-radius: 999px;
  border: 1px solid rgba(61, 190, 122, 0.45);
  background: rgba(61, 190, 122, 0.12);
  color: #86efac;
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  animation: rise 0.75s ease both;
}

.landing-hero-lead strong {
  color: #f0d78c;
}

.landing-hero-telemetry {
  margin: 1.35rem 0 0;
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: 0.82rem;
  color: rgba(240, 215, 140, 0.72);
  letter-spacing: 0.01em;
  animation: rise 1.05s ease 0.2s both;
  min-height: 1.3em;
}

@keyframes landing-grid-drift {
  from { background-position: 0 0; }
  to { background-position: 48px 48px; }
}

@keyframes landing-scan {
  0% { top: -10%; opacity: 0; }
  15% { opacity: 1; }
  85% { opacity: 1; }
  100% { top: 90%; opacity: 0; }
}

.landing-system .landing-scanner {
  margin: 0 0 1.5rem;
  animation: rise 0.7s ease both;
}

.landing-pillars {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
}

.landing-pillars li {
  padding: 0.15rem 0;
  border-top: 1px solid rgba(240, 215, 140, 0.18);
  padding-top: 0.85rem;
}

.landing-pillars strong {
  display: block;
  font-family: var(--font-display);
  font-size: 1.15rem;
  color: var(--accent-2);
  margin-bottom: 0.3rem;
}

.landing-pillars span {
  color: var(--muted);
  font-size: 0.95rem;
}

.landing-steps {
  list-style: none;
  margin: 0 0 1.75rem;
  padding: 0;
  display: grid;
  gap: 1rem;
}

.landing-step {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 1rem;
  align-items: start;
  padding: 0.85rem 0;
  border-bottom: 1px solid rgba(240, 215, 140, 0.1);
}

.landing-step:last-child {
  border-bottom: 0;
}

.landing-step-num {
  font-family: var(--font-display);
  font-size: 1.35rem;
  font-weight: 800;
  color: var(--accent);
  letter-spacing: 0.04em;
  line-height: 1;
  padding-top: 0.15rem;
}

.landing-step h3 {
  margin: 0 0 0.25rem;
  font-family: var(--font-display);
  font-size: 1.2rem;
}

.landing-step p {
  margin: 0;
  color: var(--muted);
}

.landing-cta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.landing-features .feature-icon {
  min-width: 48px;
  font-size: 0.72rem;
  letter-spacing: 0.04em;
}

.landing-finale {
  position: relative;
  overflow: hidden;
  padding: 4.5rem 0;
  border-top: 1px solid var(--border);
  background:
    radial-gradient(700px 320px at 50% 0%, rgba(212, 168, 75, 0.16), transparent 60%),
    rgba(0, 0, 0, 0.22);
}

.landing-finale-inner {
  position: relative;
  max-width: 36rem;
}

.landing-finale h2 {
  font-family: var(--font-display);
  font-size: clamp(1.8rem, 4vw, 2.5rem);
  margin: 0 0 0.75rem;
  letter-spacing: -0.03em;
}

.landing-finale p {
  color: #e8dccb;
  margin: 0 0 1.5rem;
  max-width: 32rem;
}

@media (max-width: 800px) {
  .landing-pillars {
    grid-template-columns: 1fr;
  }
}

@keyframes shine-pulse {
  0%, 100% { opacity: 0.55; transform: translateX(0); }
  50% { opacity: 0.95; transform: translateX(8%); }
}

@keyframes gold-sheen {
  0%, 100% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
}

@keyframes rise {
  from {
    opacity: 0;
    transform: translateY(18px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.section {
  padding: 4.5rem 0;
}

.section h2 {
  font-family: var(--font-display);
  font-size: clamp(1.8rem, 4vw, 2.4rem);
  letter-spacing: -0.03em;
  margin: 0 0 0.75rem;
}

.section-lead {
  color: var(--muted);
  max-width: 40rem;
  margin: 0 0 2rem;
}

.feature-list {
  display: grid;
  gap: 1.25rem;
}

.feature-item {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 1rem;
  align-items: start;
  padding: 0.25rem 0;
}

.feature-icon {
  width: 42px;
  height: 42px;
  border-radius: 12px;
  display: grid;
  place-items: center;
  background: rgba(212, 168, 75, 0.14);
  border: 1px solid rgba(240, 215, 140, 0.25);
  color: var(--accent-2);
  font-family: var(--font-display);
  font-weight: 700;
}

.section-accent {
  background:
    linear-gradient(180deg, rgba(212, 168, 75, 0.06), transparent 70%),
    rgba(0, 0, 0, 0.18);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.feature-item h3 {
  margin: 0 0 0.25rem;
  font-family: var(--font-display);
}

.feature-item p {
  margin: 0;
  color: var(--muted);
}

.site-footer {
  border-top: 1px solid var(--border);
  padding: 1.5rem 0 2.5rem;
  color: var(--muted);
  font-size: 0.92rem;
}

.site-footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 1.25rem;
  margin-bottom: 1rem;
  justify-content: center;
}

.site-footer-links a {
  color: var(--muted);
  text-decoration: none;
  font-size: 0.88rem;
  transition: color 0.2s;
}

.site-footer-links a:hover {
  color: var(--accent);
}

.site-footer-disclaimer {
  display: flex;
  align-items: flex-start;
  gap: 0.65rem;
  background: rgba(217, 176, 90, 0.06);
  border: 1px solid rgba(243, 223, 154, 0.12);
  border-radius: 12px;
  padding: 0.85rem 1rem;
  margin: 0.75rem 0 1.25rem;
  font-size: 0.8rem;
  line-height: 1.5;
  color: var(--muted);
}

.badge-18 {
  flex-shrink: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: var(--danger);
  color: #fff;
  font-weight: 800;
  font-size: 0.7rem;
  line-height: 1;
}

.site-footer-copy {
  text-align: center;
  margin-top: 0.75rem;
  font-size: 0.78rem;
  opacity: 0.6;
}

/* Legal pages */
.legal-page h2 {
  font-family: var(--font-display);
  font-size: 1.25rem;
  color: var(--accent);
  margin-top: 2rem;
}

.legal-page h3 {
  font-size: 1.05rem;
  margin-top: 1.5rem;
}

.legal-page ul, .legal-page ol {
  padding-left: 1.25rem;
  color: var(--muted);
  line-height: 1.7;
}

.legal-page li {
  margin-bottom: 0.35rem;
}

/* FAQ section */
.faq-list {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.faq-item {
  background: var(--bg-elevated);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 1.15rem 1.25rem;
}

.faq-item h3 {
  font-size: 1rem;
  margin: 0 0 0.45rem;
  color: var(--accent-2);
}

.faq-item p {
  margin: 0;
  color: var(--muted);
  font-size: 0.92rem;
  line-height: 1.6;
}

/* Guide cards */
.guide-card a:hover {
  text-decoration: underline !important;
}

.auth-shell {
  width: min(980px, calc(100% - 2rem));
  margin: 0 auto;
  min-height: calc(100vh - 72px);
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  align-items: stretch;
  gap: 0;
  padding: 2rem 0 3rem;
}

.auth-visual {
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(243, 223, 154, 0.16);
  border-right: 0;
  border-radius: var(--radius) 0 0 var(--radius);
  padding: 2.4rem 2rem;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  gap: 0.55rem;
  background:
    radial-gradient(500px 280px at 20% 10%, rgba(217, 176, 90, 0.2), transparent 60%),
    linear-gradient(160deg, rgba(28, 16, 22, 0.95), rgba(8, 4, 6, 0.98));
  box-shadow: var(--shadow);
}

.auth-visual-grid {
  position: absolute;
  inset: 0;
  opacity: 0.22;
  background-image:
    linear-gradient(rgba(243, 223, 154, 0.12) 1px, transparent 1px),
    linear-gradient(90deg, rgba(243, 223, 154, 0.12) 1px, transparent 1px);
  background-size: 28px 28px;
  mask-image: linear-gradient(180deg, #000 20%, transparent 90%);
}

.auth-visual-kicker,
.auth-visual-title,
.auth-visual-copy {
  position: relative;
  z-index: 1;
}

.auth-visual-kicker {
  margin: 0;
  color: var(--accent-2);
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.auth-visual-title {
  font-family: var(--font-display);
  font-size: clamp(1.8rem, 3vw, 2.4rem);
  line-height: 1.1;
  letter-spacing: 0.02em;
}

.auth-visual-copy {
  margin: 0;
  color: var(--muted);
  max-width: 22rem;
}

.auth-panel {
  width: 100%;
  background:
    linear-gradient(180deg, rgba(217, 176, 90, 0.08), transparent 40%),
    rgba(22, 14, 18, 0.94);
  border: 1px solid var(--border);
  border-radius: 0 var(--radius) var(--radius) 0;
  padding: 1.85rem;
  box-shadow: var(--shadow), inset 0 1px 0 rgba(240, 215, 140, 0.12);
  animation: rise 0.55s ease both;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

@media (max-width: 820px) {
  .auth-shell {
    grid-template-columns: 1fr;
    width: min(440px, calc(100% - 2rem));
  }

  .auth-visual {
    display: none;
  }

  .auth-panel {
    border-radius: var(--radius);
  }
}

.auth-panel h1 {
  font-family: var(--font-display);
  margin: 0 0 0.35rem;
  letter-spacing: -0.03em;
}

.auth-panel .sub {
  color: var(--muted);
  margin: 0 0 1.4rem;
}

.form-group {
  margin-bottom: 1rem;
}

.form-group label {
  display: block;
  margin-bottom: 0.35rem;
  color: var(--muted);
  font-size: 0.92rem;
}

.form-group input {
  width: 100%;
  border: 1px solid var(--border);
  background: rgba(0, 0, 0, 0.25);
  color: var(--text);
  border-radius: 12px;
  padding: 0.8rem 0.9rem;
  font: inherit;
}

.form-group input:focus {
  outline: 2px solid rgba(212, 168, 75, 0.35);
  border-color: rgba(240, 215, 140, 0.55);
}

.alert {
  background: rgba(239, 68, 68, 0.12);
  border: 1px solid rgba(239, 68, 68, 0.35);
  color: #fecaca;
  border-radius: 12px;
  padding: 0.75rem 0.9rem;
  margin-bottom: 1rem;
}

.auth-switch {
  margin-top: 1rem;
  color: var(--muted);
  text-align: center;
}

.auth-switch a {
  color: var(--accent);
  font-weight: 700;
}

.online-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  color: var(--accent-2);
  font-size: 0.88rem;
  font-weight: 600;
  padding: 0.35rem 0.7rem;
  border-radius: 10px;
  border: 1px solid rgba(240, 215, 140, 0.22);
  background: rgba(212, 168, 75, 0.08);
  margin-left: auto;
}

.online-pill::before {
  content: "";
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--success);
  box-shadow: 0 0 0 0 rgba(61, 190, 122, 0.5);
  animation: scanner-pulse 1.8s ease-out infinite;
}

.page-title {
  font-family: var(--font-display);
  font-size: clamp(1.8rem, 4vw, 2.55rem);
  letter-spacing: 0.01em;
  margin: 0.5rem 0 0.6rem;
}

.page-lead {
  margin-top: 0;
  margin-bottom: 1.5rem;
}

.notice {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  align-items: center;
  background: rgba(212, 168, 75, 0.1);
  border: 1px solid rgba(240, 215, 140, 0.28);
  border-radius: 14px;
  padding: 0.85rem 1rem;
  margin-bottom: 1.5rem;
  animation: rise 0.5s ease both;
}

.notice button {
  background: transparent;
  border: 0;
  color: var(--text);
  font-size: 1.2rem;
  cursor: pointer;
}

.platforms-grid,
.games-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 1.15rem;
  padding-bottom: 3rem;
}

.games-grid .game-card:nth-child(-n + 8) {
  animation: rise 0.45s ease both;
}

.platform-card,
.game-card {
  background:
    linear-gradient(180deg, rgba(212, 168, 75, 0.07), transparent 28%),
    rgba(28, 18, 24, 0.88);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  transition: transform 0.22s ease, border-color 0.22s ease, box-shadow 0.22s ease;
  position: relative;
}

.games-grid .game-card {
  content-visibility: auto;
  contain-intrinsic-size: auto 520px;
}

/* Antes do JS: só PG, pra não pintar 1500+ cards no primeiro frame */
.games-grid.is-booting .game-card:not([data-provider="PG"]) {
  display: none;
}

.platform-card:hover,
.game-card:hover {
  transform: translateY(-5px);
  border-color: rgba(240, 215, 140, 0.42);
  box-shadow: 0 18px 36px rgba(0, 0, 0, 0.45), 0 0 0 1px rgba(212, 168, 75, 0.12);
}

.game-card.is-top {
  border-color: rgba(240, 215, 140, 0.38);
}

.game-card.is-elite {
  box-shadow: var(--shadow), 0 0 0 1px rgba(212, 168, 75, 0.28);
}

.rank-badge {
  position: absolute;
  top: 0.65rem;
  left: 0.65rem;
  z-index: 2;
  display: inline-flex;
  align-items: center;
  gap: 0.25rem;
  padding: 0.28rem 0.55rem;
  border-radius: 8px;
  background: rgba(10, 6, 8, 0.78);
  border: 1px solid rgba(240, 215, 140, 0.35);
  color: var(--accent-2);
  font-family: var(--font-display);
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  backdrop-filter: blur(6px);
}

.game-card.is-top .rank-badge {
  background: rgba(212, 168, 75, 0.22);
  color: #f8e7b0;
}

.rank-badge .rank-tip {
  width: 1rem;
  height: 1rem;
  font-size: 0.65rem;
}

.social-proof {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.3rem;
  margin: 0 0 0.65rem;
  font-size: 0.82rem;
  color: var(--muted);
}

.social-proof .social-sep {
  opacity: 0.55;
}

.social-proof [data-viewers-label] {
  color: #d8c49a;
  font-weight: 600;
}

.btn-hot {
  box-shadow: 0 0 0 1px rgba(212, 168, 75, 0.35), 0 8px 20px rgba(120, 70, 20, 0.35);
}

.btn-hot.is-pulsing,
.sticky-cta.is-pulsing {
  animation: cta-pulse 1.1s ease-in-out infinite;
}

@keyframes cta-pulse {
  0%,
  100% {
    transform: translateY(0);
    box-shadow: 0 0 0 1px rgba(212, 168, 75, 0.35), 0 8px 20px rgba(120, 70, 20, 0.35);
  }
  50% {
    transform: translateY(-1px);
    box-shadow: 0 0 0 2px rgba(240, 215, 140, 0.55), 0 12px 28px rgba(212, 168, 75, 0.45);
  }
}

.platform-main {
  padding-bottom: 5.5rem;
}

.conv-strip {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  align-items: flex-start;
  margin: 1rem 0 1.15rem;
  padding: 0.9rem 1rem;
  border-radius: 14px;
  background:
    linear-gradient(105deg, rgba(212, 168, 75, 0.16), transparent 60%),
    rgba(28, 18, 24, 0.75);
  border: 1px solid rgba(240, 215, 140, 0.28);
}

.conv-strip-copy {
  display: grid;
  gap: 0.2rem;
}

.conv-strip-copy strong {
  font-family: var(--font-display);
  font-size: 1rem;
  color: var(--accent-2);
}

.conv-strip-copy span {
  color: var(--muted);
  font-size: 0.92rem;
}

.conv-strip button {
  background: transparent;
  border: 0;
  color: var(--text);
  font-size: 1.2rem;
  cursor: pointer;
  line-height: 1;
}

.mesa-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 1rem;
  margin: 0.25rem 0 1.1rem;
  flex-wrap: wrap;
}

.mesa-kicker {
  margin: 0 0 0.35rem;
  font-size: 0.78rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent);
  font-weight: 700;
}

.mesa-head .page-title {
  margin-bottom: 0.35rem;
}

.mesa-head-cta {
  white-space: nowrap;
  flex-shrink: 0;
}

.compact-title-bar {
  padding: 0.25rem 0 0.5rem;
}

.compact-title {
  font-family: var(--font-body);
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--text);
  margin: 0;
  letter-spacing: 0.02em;
}

.compact-title .title-gold {
  color: var(--muted);
  font-weight: 400;
}

.moment-badge {
  position: absolute;
  top: 0.65rem;
  right: 0.65rem;
  z-index: 2;
  padding: 0.28rem 0.55rem;
  border-radius: 8px;
  background: rgba(212, 168, 75, 0.92);
  color: #1a0f08;
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.35);
}

.cta-stack {
  display: grid;
  gap: 0.35rem;
}

.cta-sub {
  display: block;
  text-align: center;
  font-size: 0.75rem;
  color: var(--muted);
}

.quick-filters,
.provider-filters {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
  margin-bottom: 0.75rem;
}

.provider-filters {
  margin-top: -0.25rem;
  padding-bottom: 0.15rem;
  max-height: 5.5rem;
  overflow-y: auto;
}

.game-title-row {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 0.5rem;
  margin-bottom: 0.55rem;
}

.game-title-row h3 {
  margin: 0;
}

.provider-tag {
  flex-shrink: 0;
  margin-top: 0.15rem;
  padding: 0.15rem 0.45rem;
  border-radius: 6px;
  border: 1px solid rgba(240, 215, 140, 0.22);
  background: rgba(0, 0, 0, 0.25);
  color: var(--accent-2);
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.quick-chip {
  border: 1px solid rgba(240, 215, 140, 0.22);
  background: rgba(0, 0, 0, 0.22);
  color: var(--muted);
  border-radius: 999px;
  padding: 0.4rem 0.8rem;
  font: inherit;
  font-size: 0.82rem;
  font-weight: 600;
  cursor: pointer;
  transition: border-color 0.15s ease, color 0.15s ease, background 0.15s ease;
}

.quick-chip:hover {
  color: var(--text);
  border-color: rgba(240, 215, 140, 0.4);
}

.quick-chip.is-active {
  color: #1a0f08;
  background: var(--gold);
  border-color: transparent;
}

.scanner-countdown.is-urgent .countdown-value,
.platform-main.is-urgent .countdown-value {
  color: #f8e7b0;
}

.scanner-countdown.is-critical {
  animation: urgent-glow 1s ease-in-out infinite;
}

@keyframes urgent-glow {
  0%,
  100% {
    box-shadow: inset 0 0 0 1px rgba(212, 168, 75, 0.2);
  }
  50% {
    box-shadow: inset 0 0 0 1px rgba(240, 215, 140, 0.55), 0 0 24px rgba(212, 168, 75, 0.25);
  }
}

.sticky-convert {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 40;
  padding: 0.65rem 0.85rem calc(0.65rem + env(safe-area-inset-bottom));
  background:
    linear-gradient(180deg, transparent, rgba(9, 6, 10, 0.55) 18%),
    rgba(12, 7, 10, 0.92);
  border-top: 1px solid rgba(240, 215, 140, 0.22);
  backdrop-filter: blur(14px);
}

.sticky-convert-inner {
  width: min(1120px, 100%);
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.85rem;
}

.sticky-convert-meta {
  display: grid;
  gap: 0.1rem;
  min-width: 0;
}

.sticky-kicker {
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--accent);
  font-weight: 700;
}

.sticky-convert-meta strong {
  font-family: var(--font-display);
  font-size: 1rem;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.sticky-sub {
  font-size: 0.8rem;
  color: var(--muted);
}

.sticky-cta {
  flex-shrink: 0;
  min-width: 9.5rem;
}

.sticky-convert.is-urgent {
  border-top-color: rgba(240, 215, 140, 0.45);
}

.sticky-convert.is-critical .sticky-kicker {
  color: #f8e7b0;
}

.top-window-cta {
  display: inline-flex;
  margin-top: 0.75rem;
  font-weight: 700;
  color: var(--accent-2);
  font-size: 0.92rem;
}

.top-window-cta:hover {
  color: #fff4cc;
}

.dash-hero {
  margin: 1rem 0 1.25rem;
  padding: 1.15rem 1.2rem;
  border-radius: var(--radius);
  border: 1px solid rgba(240, 215, 140, 0.22);
  background:
    linear-gradient(120deg, rgba(212, 168, 75, 0.14), transparent 55%),
    rgba(22, 14, 18, 0.72);
}

.dash-hero .page-title {
  margin-bottom: 0.4rem;
}

.dash-hero-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
  margin-top: 0.85rem;
}

.dash-chip {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.35rem 0.7rem;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(0, 0, 0, 0.22);
  font-size: 0.8rem;
  color: var(--muted);
}

.dash-chip strong {
  color: var(--accent-2);
  font-weight: 700;
}

.platform-card .cta-sub {
  margin-top: 0.4rem;
}

.hero-proof {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
  margin-top: 1.25rem;
}

.hero-proof span {
  font-size: 0.82rem;
  color: var(--muted);
  padding: 0.35rem 0.7rem;
  border-radius: 999px;
  border: 1px solid rgba(240, 215, 140, 0.18);
  background: rgba(0, 0, 0, 0.2);
}

@media (max-width: 640px) {
  .mesa-head-cta {
    width: 100%;
    text-align: center;
  }

  .sticky-convert-meta strong {
    font-size: 0.92rem;
  }

  .sticky-cta {
    min-width: 7.5rem;
    padding-left: 0.85rem;
    padding-right: 0.85rem;
  }
}

.top-window {
  margin: 0 0 1.1rem;
  padding: 0.85rem 1rem;
  border: 1px solid rgba(240, 215, 140, 0.22);
  border-radius: var(--radius);
  background:
    linear-gradient(105deg, rgba(212, 168, 75, 0.12), transparent 55%),
    rgba(22, 14, 18, 0.75);
}

.top-window-head {
  display: flex;
  align-items: baseline;
  gap: 0.65rem;
  margin-bottom: 0.65rem;
}

.top-window-head strong {
  font-family: var(--font-display);
  font-size: 1.05rem;
  color: var(--accent-2);
}

.top-window-head span {
  font-size: 0.82rem;
  color: var(--muted);
}

.top-window-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
}

.top-window-item {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.35rem 0.65rem;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(0, 0, 0, 0.22);
  font-size: 0.82rem;
  max-width: 100%;
}

.top-window-item.is-elite {
  border-color: rgba(212, 168, 75, 0.4);
  background: rgba(212, 168, 75, 0.1);
}

.tw-rank {
  color: var(--accent);
  font-weight: 700;
  font-family: var(--font-display);
}

.tw-name {
  color: var(--text);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  max-width: 10rem;
}

.tw-rtp {
  color: #86efac;
  font-weight: 700;
}

.tw-viewers {
  color: var(--muted);
  font-size: 0.75rem;
}

@media (max-width: 640px) {
  .tw-viewers {
    display: none;
  }
}

.platform-card img {
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
}

.platform-mark {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 10;
  overflow: hidden;
  display: grid;
  place-items: center;
  background:
    radial-gradient(120% 90% at 50% 0%, rgba(240, 215, 140, 0.2), transparent 55%),
    linear-gradient(160deg, #2a1a14 0%, #12090e 55%, #0b0608 100%);
  border-bottom: 1px solid rgba(240, 215, 140, 0.14);
}

.platform-mark-grid {
  position: absolute;
  inset: 0;
  opacity: 0.35;
  background-image:
    linear-gradient(rgba(240, 215, 140, 0.06) 1px, transparent 1px),
    linear-gradient(90deg, rgba(240, 215, 140, 0.06) 1px, transparent 1px);
  background-size: 22px 22px;
  mask-image: radial-gradient(circle at 50% 40%, #000 20%, transparent 75%);
}

.platform-mark-shine {
  position: absolute;
  inset: -40% -20%;
  background: linear-gradient(
    115deg,
    transparent 35%,
    rgba(255, 240, 190, 0.12) 48%,
    transparent 62%
  );
  transform: translateX(-12%);
  animation: mark-shine 5.5s ease-in-out infinite;
}

@keyframes mark-shine {
  0%,
  55%,
  100% {
    transform: translateX(-18%);
  }
  70% {
    transform: translateX(18%);
  }
}

.platform-mark-content {
  position: relative;
  z-index: 1;
  display: grid;
  justify-items: center;
  gap: 0.2rem;
  padding: 1rem 1.1rem;
  text-align: center;
  max-width: 100%;
}

.platform-mark-kicker {
  font-size: 0.68rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: rgba(240, 215, 140, 0.72);
  font-weight: 700;
}

.platform-mark-number {
  font-family: var(--font-display);
  font-size: clamp(2.4rem, 8vw, 3.4rem);
  font-weight: 800;
  line-height: 0.95;
  letter-spacing: -0.04em;
  background: var(--gold);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  text-shadow: 0 10px 28px rgba(212, 168, 75, 0.18);
  filter: drop-shadow(0 2px 0 rgba(0, 0, 0, 0.25));
}

.platform-mark-initials {
  font-family: var(--font-display);
  font-size: clamp(2.2rem, 7vw, 3rem);
  font-weight: 800;
  line-height: 1;
  letter-spacing: 0.08em;
  color: var(--accent-2);
  text-shadow: 0 8px 24px rgba(0, 0, 0, 0.45);
}

.platform-mark-label {
  font-family: var(--font-display);
  font-size: clamp(1rem, 2.8vw, 1.25rem);
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--text);
  max-width: 100%;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  padding: 0 0.25rem;
}

.platform-mark-line {
  width: 2.75rem;
  height: 2px;
  margin: 0.35rem 0 0.15rem;
  border-radius: 999px;
  background: var(--gold);
  opacity: 0.85;
}

.platform-mark-meta {
  font-size: 0.72rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted);
  font-weight: 600;
}

.platform-card:hover .platform-mark-shine {
  animation-duration: 2.8s;
}

.platform-card:hover .platform-mark-number,
.platform-card:hover .platform-mark-initials {
  transform: scale(1.03);
}

.platform-mark-number,
.platform-mark-initials {
  transition: transform 0.25s ease;
}

/* Variações por plataforma (seed do nome/slug) */
.platform-mark.skin-1 {
  background:
    radial-gradient(120% 90% at 18% 0%, rgba(212, 168, 75, 0.28), transparent 50%),
    linear-gradient(160deg, #2c1c12 0%, #12090e 60%, #0b0608 100%);
}

.platform-mark.skin-2 {
  background:
    radial-gradient(120% 90% at 82% 10%, rgba(190, 70, 80, 0.28), transparent 52%),
    linear-gradient(160deg, #2a1218 0%, #12090e 58%, #0b0608 100%);
}

.platform-mark.skin-3 {
  background:
    radial-gradient(120% 90% at 50% 0%, rgba(240, 215, 140, 0.22), transparent 55%),
    linear-gradient(145deg, #1d2418 0%, #12090e 55%, #0b0608 100%);
}

.platform-mark.skin-4 {
  background:
    radial-gradient(110% 80% at 10% 80%, rgba(80, 120, 160, 0.22), transparent 50%),
    linear-gradient(160deg, #141c28 0%, #12090e 55%, #0b0608 100%);
}

.platform-mark.skin-5 {
  background:
    radial-gradient(120% 90% at 90% 0%, rgba(212, 168, 75, 0.2), transparent 50%),
    radial-gradient(90% 70% at 0% 100%, rgba(120, 50, 70, 0.28), transparent 50%),
    linear-gradient(160deg, #24141a 0%, #12090e 60%, #0b0608 100%);
}

.platform-mark.skin-6 {
  background:
    radial-gradient(100% 80% at 50% 100%, rgba(212, 168, 75, 0.18), transparent 50%),
    linear-gradient(180deg, #1a1410 0%, #12090e 50%, #0b0608 100%);
}

.game-card img,
.game-card img.game-thumb {
  width: 100%;
  height: auto;
  aspect-ratio: 448 / 600;
  object-fit: cover;
  object-position: center top;
  display: block;
  background:
    linear-gradient(110deg, rgba(28, 18, 24, 0.9) 30%, rgba(50, 32, 40, 0.85) 45%, rgba(28, 18, 24, 0.9) 60%);
  background-size: 200% 100%;
}

.game-card img.game-thumb.is-loaded {
  background: rgba(12, 7, 10, 0.45);
}

.games-more {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.45rem;
  padding: 0.25rem 0 2.5rem;
}

.games-more[hidden] {
  display: none;
}

.games-more-meta {
  margin: 0;
  color: var(--muted);
  font-size: 0.82rem;
}

.media-placeholder {
  width: 100%;
  aspect-ratio: 448 / 600;
  display: grid;
  place-items: center;
  background:
    linear-gradient(145deg, rgba(212, 168, 75, 0.22), rgba(120, 40, 55, 0.2)),
    rgba(28, 18, 24, 0.95);
  font-family: var(--font-display);
  font-size: 2rem;
  font-weight: 800;
  letter-spacing: 0.02em;
  color: var(--accent-2);
}

.optional-tag {
  color: var(--muted);
  font-weight: 500;
  font-size: 0.85rem;
}

.admin-thumb-placeholder {
  width: 44px;
  height: 32px;
  border-radius: 6px;
  display: grid;
  place-items: center;
  background: rgba(212, 168, 75, 0.15);
  color: var(--accent);
  font-size: 0.7rem;
  font-weight: 800;
  flex-shrink: 0;
}

.platform-card .body,
.game-card .body {
  padding: 1rem;
}

.platform-card h3,
.game-card h3 {
  margin: 0 0 0.85rem;
  font-family: var(--font-display);
  font-size: 1.15rem;
}

.game-card h3 {
  margin-bottom: 0.55rem;
}

.progress {
  height: 12px;
  background: rgba(255, 255, 255, 0.08);
  border-radius: 999px;
  overflow: hidden;
  margin-bottom: 0.85rem;
}

.progress-bar {
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.7rem;
  font-weight: 800;
  color: #1a0f08;
  transition: width 0.45s ease;
}

.progress-bar.high {
  background: linear-gradient(90deg, #b8923a, var(--accent-2));
  color: #1a0f08;
}

.progress-bar.mid {
  background: linear-gradient(90deg, #c4892a, var(--warning));
  color: #1a0f08;
}

.progress-bar.low {
  background: linear-gradient(90deg, #a33d3d, var(--danger));
  color: #fff;
}

.signal-filters {
  margin: 0 0 1.25rem;
}

.filter-bar {
  display: flex;
  gap: 0.65rem;
  align-items: center;
}

.filter-field {
  display: flex;
  flex-direction: column;
  gap: 0.3rem;
  font-size: 0.78rem;
  color: var(--muted);
}

.filter-field.filter-grow {
  flex: 1 1 auto;
  min-width: 0;
}

.filter-field input,
.filter-field select {
  width: 100%;
  border: 1px solid var(--border);
  border-radius: 10px;
  background: rgba(28, 18, 24, 0.75);
  color: var(--text);
  padding: 0.7rem 0.85rem;
  font: inherit;
  font-size: 0.95rem;
}

.filter-field input:focus,
.filter-field select:focus {
  outline: 1px solid rgba(212, 168, 75, 0.45);
  border-color: rgba(212, 168, 75, 0.45);
}

.filter-open-btn {
  flex: 0 0 auto;
  position: relative;
  white-space: nowrap;
}

.filter-badge {
  display: inline-grid;
  place-items: center;
  min-width: 1.2rem;
  height: 1.2rem;
  margin-left: 0.35rem;
  padding: 0 0.3rem;
  border-radius: 999px;
  background: var(--accent);
  color: #1a0f08;
  font-size: 0.7rem;
  font-weight: 800;
}

.filter-count,
.filter-empty {
  margin: 0.55rem 0 0;
  font-size: 0.85rem;
  color: var(--muted);
}

.filter-empty {
  text-align: center;
  padding: 1.5rem 0 2rem;
}

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.filter-modal[hidden] {
  display: none !important;
}

.filter-modal {
  position: fixed;
  inset: 0;
  z-index: 60;
  display: grid;
  place-items: center;
  padding: 1rem;
}

.filter-modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(4, 10, 16, 0.72);
  backdrop-filter: blur(3px);
}

.filter-modal-panel {
  position: relative;
  z-index: 1;
  width: min(520px, 100%);
  max-height: min(86vh, 720px);
  display: flex;
  flex-direction: column;
  border: 1px solid rgba(212, 168, 75, 0.22);
  border-radius: 16px;
  background: linear-gradient(180deg, rgba(28, 18, 24, 0.98), rgba(12, 7, 10, 0.98));
  box-shadow: var(--shadow);
  overflow: hidden;
}

.filter-modal-head,
.filter-modal-foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  padding: 0.95rem 1.1rem;
  border-bottom: 1px solid var(--border);
}

.filter-modal-foot {
  border-bottom: 0;
  border-top: 1px solid var(--border);
  justify-content: flex-end;
}

.filter-modal-head h2 {
  margin: 0;
  font-family: var(--font-display);
  font-size: 1.15rem;
}

.filter-modal-x {
  width: 36px;
  height: 36px;
  border: 0;
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.06);
  color: var(--text);
  font-size: 1.35rem;
  line-height: 1;
  cursor: pointer;
}

.filter-modal-body {
  padding: 1rem 1.1rem;
  overflow: auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.75rem;
}

.filter-modal-span {
  grid-column: 1 / -1;
}

.filter-modal-section {
  display: flex;
  flex-direction: column;
  gap: 0.45rem;
}

.filter-modal-label {
  color: var(--muted);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.02em;
}

.filter-modal-body .quick-filters,
.filter-modal-body .provider-filters {
  margin: 0;
  max-height: none;
  overflow: visible;
}

.filter-modal-body .provider-filters {
  max-height: 9.5rem;
  overflow-y: auto;
  padding-right: 0.15rem;
}

@media (max-width: 560px) {
  .filter-modal-body {
    grid-template-columns: 1fr;
  }
}

.stake-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.45rem;
  margin: 0 0 0.75rem;
}

.stake-item {
  padding: 0.45rem 0.55rem;
  border-radius: 10px;
  border: 1px solid rgba(212, 168, 75, 0.18);
  background: rgba(12, 7, 10, 0.4);
}

.stake-item .chip-k {
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  font-size: 0.68rem;
  text-transform: uppercase;
  letter-spacing: 0.03em;
  color: var(--muted);
}

.stake-item strong {
  display: block;
  margin-top: 0.15rem;
  font-family: var(--font-display);
  font-size: 1rem;
  color: var(--accent-2);
  font-variant-numeric: tabular-nums;
  letter-spacing: 0.01em;
}

.info-tip {
  width: 15px;
  height: 15px;
  border-radius: 50%;
  border: 1px solid rgba(138, 163, 181, 0.55);
  background: rgba(28, 18, 24, 0.9);
  color: var(--muted);
  font-size: 0.65rem;
  font-weight: 800;
  line-height: 1;
  padding: 0;
  display: inline-grid;
  place-items: center;
  cursor: help;
  vertical-align: middle;
}

.info-tip:hover,
.info-tip:focus-visible {
  color: #1a0f08;
  background: var(--accent);
  border-color: var(--accent);
  outline: none;
}

/* Tooltip do (i): fixed no body, acima de sticky/nav/modais */
body > .info-tip-bubble.info-tip-bubble,
.info-tip-bubble {
  position: fixed;
  top: 0;
  left: 0;
  z-index: 10050;
  max-width: min(280px, calc(100vw - 24px));
  padding: 0.55rem 0.7rem;
  border-radius: 10px;
  border: 1px solid rgba(243, 223, 154, 0.35);
  background: rgba(12, 7, 10, 0.97);
  color: var(--text);
  font-size: 0.8rem;
  line-height: 1.35;
  box-shadow: 0 16px 36px rgba(0, 0, 0, 0.55);
  pointer-events: none;
}

.signal-scanner {
  position: relative;
  overflow: hidden;
  margin: 0 0 1.35rem;
  padding: 1.15rem 1.2rem;
  border: 1px solid rgba(212, 168, 75, 0.28);
  border-radius: 16px;
  background:
    linear-gradient(125deg, rgba(212, 168, 75, 0.1), transparent 42%),
    linear-gradient(180deg, rgba(20, 28, 40, 0.55), rgba(28, 18, 24, 0.88));
  box-shadow: inset 0 1px 0 rgba(240, 215, 140, 0.1);
}

.signal-scanner::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: linear-gradient(
    180deg,
    transparent 0%,
    rgba(240, 215, 140, 0.04) 48%,
    transparent 52%
  );
  background-size: 100% 220%;
  animation: scanline 3.8s linear infinite;
}

.scanner-grid {
  position: absolute;
  inset: 0;
  opacity: 0.14;
  pointer-events: none;
  background-image:
    linear-gradient(rgba(240, 215, 140, 0.18) 1px, transparent 1px),
    linear-gradient(90deg, rgba(240, 215, 140, 0.18) 1px, transparent 1px);
  background-size: 22px 22px;
  mask-image: linear-gradient(180deg, #000 20%, transparent 95%);
}

.scanner-layout {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1.4fr 0.9fr;
  gap: 1rem 1.25rem;
  align-items: stretch;
}

.scanner-main {
  min-width: 0;
}

.scanner-status {
  display: inline-flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.5rem 0.65rem;
  font-weight: 700;
  font-size: 0.95rem;
  margin-bottom: 0.55rem;
}

.scanner-dot {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--success);
  box-shadow: 0 0 0 0 rgba(61, 190, 122, 0.55);
  animation: scanner-pulse 1.8s ease-out infinite;
}

.scanner-chip {
  font-family: ui-monospace, "SF Mono", Consolas, monospace;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  color: var(--accent-2);
  border: 1px solid rgba(240, 215, 140, 0.28);
  background: rgba(0, 0, 0, 0.28);
  border-radius: 8px;
  padding: 0.22rem 0.45rem;
}

.signal-scanner.is-recalculating .scanner-dot {
  background: var(--warning);
  animation: none;
}

.signal-scanner.is-recalculating .countdown-value {
  color: var(--warning);
}

.scanner-countdown {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  gap: 0.35rem;
  padding: 1rem 0.85rem;
  border-radius: 14px;
  border: 1px solid rgba(240, 215, 140, 0.32);
  background:
    radial-gradient(circle at 50% 20%, rgba(240, 215, 140, 0.16), transparent 55%),
    rgba(0, 0, 0, 0.38);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.03);
}

.countdown-label {
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted);
}

.countdown-value {
  font-family: ui-monospace, "SF Mono", Consolas, monospace;
  font-size: clamp(2.6rem, 7vw, 3.6rem);
  font-weight: 800;
  line-height: 1;
  letter-spacing: 0.04em;
  color: var(--accent-2);
  font-variant-numeric: tabular-nums;
  text-shadow: 0 0 24px rgba(212, 168, 75, 0.28);
}

.countdown-sub {
  font-family: ui-monospace, "SF Mono", Consolas, monospace;
  font-size: 0.72rem;
  color: rgba(240, 215, 140, 0.7);
  letter-spacing: 0.03em;
}

.scanner-telemetry {
  margin: 0 0 0.7rem;
  font-family: ui-monospace, "SF Mono", Consolas, monospace;
  font-size: 0.86rem;
  color: #e8dcc8;
  min-height: 1.3em;
}

.scanner-metrics {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0.45rem;
  margin-bottom: 0.7rem;
}

.scanner-metric {
  padding: 0.45rem 0.5rem;
  border-radius: 10px;
  border: 1px solid rgba(240, 215, 140, 0.14);
  background: rgba(0, 0, 0, 0.28);
}

.scanner-metric .sm-k {
  display: block;
  font-size: 0.65rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--muted);
  margin-bottom: 0.15rem;
}

.scanner-metric .sm-v {
  font-family: ui-monospace, "SF Mono", Consolas, monospace;
  font-size: 0.86rem;
  font-weight: 700;
  color: var(--accent-2);
  font-variant-numeric: tabular-nums;
}

.scanner-hint {
  margin: 0;
  font-size: 0.8rem;
  color: var(--muted);
}

@keyframes scanline {
  0% { background-position: 0 -40%; }
  100% { background-position: 0 140%; }
}

@media (max-width: 820px) {
  .scanner-layout {
    grid-template-columns: 1fr;
  }

  .scanner-countdown {
    order: -1;
    padding: 1.15rem 0.9rem;
  }

  .countdown-value {
    font-size: clamp(2.8rem, 14vw, 3.8rem);
  }

  .scanner-metrics {
    grid-template-columns: 1fr 1fr;
  }
}

.chance-meta {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 0.5rem;
  margin-bottom: 0.4rem;
}

.chance-label {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  color: var(--muted);
}

.chance-value {
  font-family: var(--font-display);
  font-size: 1.08rem;
  font-weight: 700;
  color: var(--accent-2);
  font-variant-numeric: tabular-nums;
  letter-spacing: 0.02em;
}

.signal-chips {
  list-style: none;
  margin: 0 0 0.9rem;
  padding: 0;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.4rem;
}

.signal-chip {
  display: flex;
  flex-direction: column;
  gap: 0.1rem;
  padding: 0.4rem 0.5rem;
  border-radius: 10px;
  border: 1px solid var(--border);
  background: rgba(12, 7, 10, 0.45);
  min-width: 0;
}

.signal-chip .chip-k {
  display: inline-flex;
  align-items: center;
  gap: 0.28rem;
  font-size: 0.68rem;
  text-transform: uppercase;
  letter-spacing: 0.03em;
  color: var(--muted);
}

.signal-chip .chip-v {
  font-size: 0.82rem;
  font-weight: 700;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.signal-chip.tone-good .chip-v {
  color: #86efac;
}

.signal-chip.tone-warn .chip-v {
  color: #fcd34d;
}

.signal-chip.tone-bad .chip-v {
  color: #fca5a5;
}

.game-card.is-updating {
  outline: 1px solid rgba(212, 168, 75, 0.35);
}

@keyframes scanner-pulse {
  0% {
    box-shadow: 0 0 0 0 rgba(34, 197, 94, 0.55);
  }
  70% {
    box-shadow: 0 0 0 10px rgba(34, 197, 94, 0);
  }
  100% {
    box-shadow: 0 0 0 0 rgba(34, 197, 94, 0);
  }
}

@media (max-width: 720px) {
  .scanner-top {
    flex-direction: column;
    align-items: flex-start;
  }
}

.admin-games-count {
  display: inline-block;
  margin-left: 0.35rem;
  padding: 0.15rem 0.5rem;
  border-radius: 999px;
  border: 1px solid rgba(243, 223, 154, 0.22);
  background: rgba(217, 176, 90, 0.1);
  color: var(--accent-2);
  font-size: 0.78rem;
  font-weight: 700;
}

.admin-games-toolbar {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
  align-items: stretch;
  margin: 0 0 0.85rem;
}

.admin-games-toolbar .filter-field {
  margin: 0;
}

.admin-games-toolbar .filter-grow {
  flex: 1 1 220px;
}

.admin-games-toolbar input[type="search"],
.admin-games-toolbar select {
  width: 100%;
  min-height: 42px;
  padding: 0.5rem 0.75rem;
  border-radius: 10px;
  border: 1px solid rgba(243, 223, 154, 0.18);
  background: rgba(0, 0, 0, 0.28);
  color: var(--text);
  font: inherit;
}

.admin-games-toolbar select {
  min-width: 180px;
}

.admin-games-scroll {
  max-height: 38rem; /* ~10 linhas + cabeçalho */
  overflow: auto;
  border: 1px solid rgba(243, 223, 154, 0.16);
  border-radius: 14px;
  background: rgba(12, 7, 10, 0.35);
  scrollbar-color: rgba(217, 176, 90, 0.45) rgba(0, 0, 0, 0.35);
  position: relative;
}

.admin-games-empty {
  margin: 0;
  padding: 1.25rem;
  text-align: center;
  color: var(--muted);
  font-size: 0.9rem;
}

.admin-games-table tbody tr[hidden] {
  display: none;
}

.admin-games-scroll:focus-visible {
  outline: 2px solid rgba(217, 176, 90, 0.45);
  outline-offset: 2px;
}

.admin-games-table {
  margin: 0;
}

.admin-games-table thead th {
  position: sticky;
  top: 0;
  z-index: 2;
  background: #1a1116;
  box-shadow: 0 1px 0 rgba(243, 223, 154, 0.14);
}

.admin-games-table tr:last-child td {
  border-bottom: 0;
}

.stats-table {
  width: 100%;
  border-collapse: collapse;
  margin-bottom: 2rem;
  background: rgba(28, 18, 24, 0.55);
  border-radius: 14px;
  overflow: hidden;
}

.stats-table th,
.stats-table td {
  text-align: left;
  padding: 0.85rem 1rem;
  border-bottom: 1px solid var(--border);
  font-size: 0.95rem;
}

.stats-table th {
  color: var(--muted);
  font-weight: 600;
}

.stats-table tr:last-child td {
  border-bottom: 0;
}

.mono {
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: 0.85rem;
}

/* Admin */
.admin-shell {
  display: grid;
  grid-template-columns: 240px 1fr;
  min-height: 100vh;
}

.admin-sidebar {
  background: rgba(12, 7, 10, 0.92);
  border-right: 1px solid var(--border);
  padding: 1.25rem 1rem;
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.admin-nav {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
}

.admin-nav a {
  padding: 0.7rem 0.85rem;
  border-radius: 10px;
  color: var(--muted);
}

.admin-nav a:hover,
.admin-nav a.active {
  background: rgba(212, 168, 75, 0.12);
  color: var(--text);
}

.admin-sidebar-foot {
  margin-top: auto;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.admin-sidebar-foot a {
  color: var(--muted);
  font-size: 0.92rem;
}

.admin-main {
  padding: 1.25rem 1.5rem 3rem;
}

.admin-topbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 1rem;
  padding-bottom: 0.85rem;
  border-bottom: 1px solid var(--border);
}

.admin-heading {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  flex-wrap: wrap;
  margin-bottom: 0.5rem;
}

.admin-heading .page-title {
  margin-bottom: 0;
}

.admin-cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
  gap: 0.9rem;
  margin: 1.25rem 0 1.75rem;
}

.admin-card {
  background: rgba(28, 18, 24, 0.75);
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 1rem 1.1rem;
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
  transition: border-color 0.2s ease, transform 0.2s ease;
}

a.admin-card:hover {
  border-color: rgba(212, 168, 75, 0.4);
  transform: translateY(-2px);
}

.admin-card .label {
  color: var(--muted);
  font-size: 0.9rem;
}

.admin-card strong {
  font-family: var(--font-display);
  font-size: 1.8rem;
  letter-spacing: -0.03em;
}

.admin-actions {
  display: flex;
  gap: 0.65rem;
  flex-wrap: wrap;
  margin-top: 0.5rem;
}

.admin-form {
  max-width: 640px;
  background: rgba(28, 18, 24, 0.55);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 1.25rem;
}

.admin-form.sim-form {
  max-width: 820px;
}

.admin-form select,
.admin-form textarea,
.admin-form input[type="text"],
.admin-form input[type="number"],
.admin-form input[type="email"],
.admin-form input[type="url"],
.admin-filter select {
  width: 100%;
  border: 1px solid var(--border);
  background: rgba(0, 0, 0, 0.25);
  color: var(--text);
  border-radius: 12px;
  padding: 0.8rem 0.9rem;
  font: inherit;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.9rem;
}

.checkbox-row label {
  display: flex;
  align-items: center;
  gap: 0.55rem;
  color: var(--text);
}

.field-hint {
  display: block;
  margin-top: 0.4rem;
  color: var(--muted);
  font-size: 0.85rem;
  line-height: 1.4;
}

.admin-filter {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 1rem;
  flex-wrap: wrap;
}

.admin-filter label {
  color: var(--muted);
}

.admin-filter select {
  width: auto;
  min-width: 220px;
}

.admin-table-actions {
  display: flex;
  gap: 0.4rem;
  flex-wrap: wrap;
}

.admin-table-actions form {
  margin: 0;
}

.btn-sm {
  padding: 0.4rem 0.75rem;
  font-size: 0.85rem;
}

.admin-row-media {
  display: flex;
  align-items: center;
  gap: 0.7rem;
}

.admin-row-media img {
  width: 44px;
  height: 32px;
  object-fit: cover;
  border-radius: 6px;
}

.badge {
  display: inline-flex;
  padding: 0.2rem 0.55rem;
  border-radius: 999px;
  font-size: 0.78rem;
  font-weight: 700;
}

.badge-ok {
  background: rgba(34, 197, 94, 0.15);
  color: #86efac;
}

.badge-off {
  background: rgba(239, 68, 68, 0.15);
  color: #fca5a5;
}

.flash {
  border-radius: 12px;
  padding: 0.75rem 0.95rem;
  margin-bottom: 1rem;
}

.flash-ok {
  background: rgba(34, 197, 94, 0.12);
  border: 1px solid rgba(34, 197, 94, 0.3);
  color: #bbf7d0;
}

.flash-err {
  background: rgba(239, 68, 68, 0.12);
  border: 1px solid rgba(239, 68, 68, 0.3);
  color: #fecaca;
}

.admin-subtitle {
  font-family: var(--font-display);
  font-size: 1.35rem;
  margin: 1.75rem 0 0.75rem;
  letter-spacing: -0.02em;
}

.sim-form .sim-section {
  margin-bottom: 1.5rem;
  padding: 1rem 1.1rem;
  border: 1px solid var(--border);
  border-radius: 14px;
  background: rgba(28, 18, 24, 0.45);
}

.sim-form .sim-section .admin-subtitle {
  margin-top: 0;
}

.featured-toolbar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.75rem 1rem;
  margin-bottom: 1rem;
}

.featured-toolbar .filter-grow {
  flex: 1 1 240px;
  margin: 0;
}

.featured-toolbar input[type="search"] {
  width: 100%;
  min-height: 42px;
  padding: 0.55rem 0.8rem;
  border-radius: 10px;
  border: 1px solid var(--border);
  background: rgba(0, 0, 0, 0.28);
  color: var(--text);
  font: inherit;
}

.featured-limit-hint {
  margin: 0;
  color: var(--muted);
  font-size: 0.85rem;
}

.featured-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 0.65rem;
  margin-bottom: 1.25rem;
  max-height: min(52vh, 560px);
  overflow: auto;
  padding: 0.15rem 0.2rem 0.35rem 0;
}

.featured-grid.featured-selected {
  max-height: none;
  overflow: visible;
}

.featured-pick {
  display: grid;
  grid-template-columns: auto 44px 1fr;
  align-items: center;
  gap: 0.55rem;
  padding: 0.55rem 0.65rem;
  border: 1px solid var(--border);
  border-radius: 12px;
  background: rgba(0, 0, 0, 0.22);
  cursor: pointer;
  transition: border-color 0.15s ease, background 0.15s ease;
}

.featured-pick:hover {
  border-color: rgba(240, 215, 140, 0.35);
}

.featured-pick.is-checked {
  border-color: rgba(212, 168, 75, 0.55);
  background: rgba(212, 168, 75, 0.1);
}

.featured-pick[hidden] {
  display: none !important;
}

.featured-pick input {
  margin: 0;
  width: 1.05rem;
  height: 1.05rem;
  accent-color: var(--accent);
}

.featured-pick-media {
  width: 44px;
  height: 44px;
  border-radius: 8px;
  overflow: hidden;
  background: rgba(12, 7, 10, 0.55);
  display: grid;
  place-items: center;
}

.featured-pick-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.featured-pick-meta {
  display: flex;
  flex-direction: column;
  gap: 0.15rem;
  min-width: 0;
}

.featured-pick-meta strong {
  font-size: 0.88rem;
  line-height: 1.25;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.featured-pick-meta span {
  color: var(--muted);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.sim-subhead {
  margin: 1rem 0 0.5rem;
  font-size: 0.95rem;
  color: var(--muted);
  font-weight: 600;
}

.help-text-field {
  display: block;
  margin-bottom: 1.1rem;
}

.help-text-field textarea {
  width: 100%;
  min-height: 4.5rem;
  resize: vertical;
  margin-top: 0.4rem;
  font-family: var(--font-body, inherit);
  line-height: 1.4;
}

.help-text-label {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.45rem;
  font-weight: 600;
}

.help-text-key {
  font-size: 0.75rem;
  font-weight: 500;
  color: var(--muted);
  background: rgba(0, 0, 0, 0.25);
  padding: 0.1rem 0.4rem;
  border-radius: 6px;
}

.help-text-field .field-hint {
  display: block;
  margin-top: 0.35rem;
  opacity: 0.75;
}

.ua-cell {
  max-width: 220px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

@media (max-width: 900px) {
  .admin-shell {
    grid-template-columns: 1fr;
  }

  .admin-sidebar {
    border-right: 0;
    border-bottom: 1px solid var(--border);
  }

  .admin-nav {
    flex-direction: row;
    flex-wrap: wrap;
  }

  .admin-sidebar-foot {
    flex-direction: row;
    gap: 1rem;
  }

  .form-row {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 720px) {
  .hero {
    min-height: auto;
  }

  .hero .container {
    padding-top: 3rem;
  }

/* ——— UI Refresh: velvet radar ——— */

.hero-brand {
  margin-bottom: 1.1rem;
}

.hero-brand-foil {
  display: inline-block;
  background: linear-gradient(
    105deg,
    #fff8e8 0%,
    #f3df9a 28%,
    #d9b05a 52%,
    #fff4d0 68%,
    #9a6f22 100%
  );
  background-size: 220% 100%;
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  animation: gold-sheen 5.5s ease-in-out infinite;
  filter: drop-shadow(0 10px 28px rgba(0, 0, 0, 0.4));
}

.landing-hero-ring {
  position: absolute;
  width: min(58vw, 560px);
  height: min(58vw, 560px);
  right: -8%;
  top: 12%;
  border-radius: 50%;
  border: 1px solid rgba(243, 223, 154, 0.14);
  box-shadow:
    inset 0 0 60px rgba(217, 176, 90, 0.08),
    0 0 80px rgba(217, 176, 90, 0.05);
  animation: ring-spin 28s linear infinite;
}

.landing-hero-ring::before,
.landing-hero-ring::after {
  content: "";
  position: absolute;
  border-radius: 50%;
  border: 1px dashed rgba(243, 223, 154, 0.18);
}

.landing-hero-ring::before {
  inset: 12%;
}

.landing-hero-ring::after {
  inset: 26%;
  border-style: solid;
  border-color: rgba(243, 223, 154, 0.08);
}

.landing-hero-ring-b {
  width: min(42vw, 380px);
  height: min(42vw, 380px);
  right: 8%;
  top: 28%;
  opacity: 0.7;
  animation-direction: reverse;
  animation-duration: 36s;
}

@keyframes ring-spin {
  to { transform: rotate(360deg); }
}

.landing-free-badge {
  gap: 0.5rem;
  border-color: rgba(61, 190, 122, 0.4);
  background: linear-gradient(90deg, rgba(61, 190, 122, 0.16), rgba(61, 190, 122, 0.06));
  box-shadow: 0 0 24px rgba(61, 190, 122, 0.12);
}

.landing-free-pulse {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #86efac;
  box-shadow: 0 0 0 0 rgba(134, 239, 172, 0.55);
  animation: scanner-pulse 1.8s ease-out infinite;
}

.landing-pillars li {
  padding: 1rem 1.05rem 1.05rem;
  border: 1px solid rgba(243, 223, 154, 0.12);
  border-radius: 14px;
  background: linear-gradient(180deg, rgba(243, 223, 154, 0.05), transparent 70%);
  transition: border-color 0.2s ease, transform 0.2s ease;
}

.landing-pillars li:hover {
  border-color: rgba(243, 223, 154, 0.28);
  transform: translateY(-2px);
}

.landing-step {
  padding: 1rem 1.05rem;
  border: 1px solid rgba(243, 223, 154, 0.1);
  border-radius: 14px;
  border-bottom: 1px solid rgba(243, 223, 154, 0.1);
  background: rgba(0, 0, 0, 0.18);
}

.online-pill {
  border-color: rgba(61, 190, 122, 0.35);
  background: rgba(8, 16, 12, 0.65);
  box-shadow: inset 0 0 0 1px rgba(61, 190, 122, 0.08);
}

.dash-hero {
  position: relative;
  padding: 1.5rem 1.35rem 1.6rem;
  margin-bottom: 1.25rem;
  border-radius: 18px;
  border: 1px solid rgba(243, 223, 154, 0.14);
  background:
    radial-gradient(700px 220px at 0% 0%, rgba(217, 176, 90, 0.14), transparent 55%),
    linear-gradient(180deg, rgba(28, 18, 24, 0.75), rgba(12, 7, 10, 0.55));
  overflow: hidden;
}

.dash-hero::after {
  content: "";
  position: absolute;
  inset: auto -10% -40% auto;
  width: 280px;
  height: 280px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(217, 176, 90, 0.16), transparent 68%);
  pointer-events: none;
}

.platform-card,
.game-card {
  border-color: rgba(243, 223, 154, 0.13);
  background:
    linear-gradient(180deg, rgba(217, 176, 90, 0.09), transparent 30%),
    rgba(22, 14, 18, 0.9);
  box-shadow:
    var(--shadow),
    inset 0 1px 0 rgba(255, 248, 232, 0.04);
}

.game-card::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  pointer-events: none;
  box-shadow: inset 0 0 0 1px rgba(243, 223, 154, 0.04);
  opacity: 0.8;
}

.game-card:hover {
  transform: translateY(-6px);
  border-color: rgba(243, 223, 154, 0.42);
  box-shadow:
    0 22px 40px rgba(0, 0, 0, 0.5),
    0 0 0 1px rgba(217, 176, 90, 0.16),
    0 0 28px rgba(217, 176, 90, 0.08);
}

.game-card:hover img.game-thumb {
  transform: scale(1.04);
}

.game-card img.game-thumb {
  transition: transform 0.45s ease, filter 0.35s ease;
  filter: saturate(1.05) contrast(1.03);
}

.game-card.is-top,
.game-card.is-elite {
  border-color: rgba(243, 223, 154, 0.38);
  box-shadow:
    var(--shadow),
    0 0 0 1px rgba(217, 176, 90, 0.18),
    0 0 32px rgba(217, 176, 90, 0.1);
}

.progress {
  height: 11px;
  background: rgba(255, 255, 255, 0.06);
  box-shadow: inset 0 1px 2px rgba(0, 0, 0, 0.35);
}

.progress-bar {
  position: relative;
  overflow: hidden;
}

.progress-bar.high {
  background: linear-gradient(90deg, #9a6f22, #f3df9a 55%, #fff4d0);
  box-shadow: 0 0 16px rgba(243, 223, 154, 0.25);
}

.progress-bar.high::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.35), transparent);
  animation: bar-glint 2.8s ease-in-out infinite;
}

@keyframes bar-glint {
  0%, 100% { transform: translateX(-100%); opacity: 0; }
  40% { opacity: 1; }
  70% { transform: translateX(100%); opacity: 0; }
}

.signal-scanner {
  border-radius: 18px;
  border-color: rgba(243, 223, 154, 0.26);
  background:
    linear-gradient(125deg, rgba(217, 176, 90, 0.12), transparent 42%),
    linear-gradient(180deg, rgba(18, 24, 34, 0.7), rgba(22, 14, 18, 0.92));
  box-shadow:
    inset 0 1px 0 rgba(243, 223, 154, 0.12),
    0 16px 36px rgba(0, 0, 0, 0.35);
}

.signal-scanner::before {
  content: "";
  position: absolute;
  inset: 10px;
  border: 1px solid rgba(243, 223, 154, 0.08);
  border-radius: 12px;
  pointer-events: none;
  mask-image:
    linear-gradient(#000 0 0) content-box,
    linear-gradient(#000 0 0);
  z-index: 0;
}

.scanner-countdown {
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(circle at 50% 15%, rgba(243, 223, 154, 0.2), transparent 55%),
    linear-gradient(180deg, rgba(28, 18, 24, 0.9), rgba(10, 6, 8, 0.95));
  box-shadow: inset 0 0 0 1px rgba(243, 223, 154, 0.08);
}

.scanner-countdown .countdown-value {
  font-variant-numeric: tabular-nums;
  letter-spacing: 0.06em;
  text-shadow: 0 0 24px rgba(243, 223, 154, 0.25);
}

.top-window {
  border-radius: 16px;
  border: 1px solid rgba(243, 223, 154, 0.16);
  background:
    linear-gradient(90deg, rgba(217, 176, 90, 0.1), transparent 40%),
    rgba(12, 7, 10, 0.55);
  padding: 0.95rem 1.05rem;
  margin-bottom: 1.1rem;
}

.top-window-item {
  transition: background 0.2s ease, border-color 0.2s ease, transform 0.2s ease;
}

.top-window-item:hover {
  background: rgba(243, 223, 154, 0.1);
  border-color: rgba(243, 223, 154, 0.28);
  transform: translateY(-1px);
}

.sticky-convert {
  backdrop-filter: blur(18px) saturate(1.15);
  background: linear-gradient(180deg, rgba(12, 7, 10, 0.2), rgba(8, 5, 7, 0.92));
  border-top: 1px solid rgba(243, 223, 154, 0.18);
  box-shadow: 0 -16px 40px rgba(0, 0, 0, 0.45);
}

.sticky-convert-inner {
  border-radius: 14px;
  border: 1px solid rgba(243, 223, 154, 0.12);
  background: rgba(22, 14, 18, 0.72);
  padding: 0.7rem 0.85rem;
}

.filter-modal-panel {
  border-color: rgba(243, 223, 154, 0.22);
  background:
    radial-gradient(500px 220px at 100% 0%, rgba(217, 176, 90, 0.12), transparent 55%),
    linear-gradient(180deg, rgba(28, 18, 24, 0.98), rgba(10, 6, 8, 0.98));
  box-shadow: 0 28px 60px rgba(0, 0, 0, 0.55);
}

.filter-open-btn {
  position: relative;
}

.mesa-kicker {
  letter-spacing: 0.12em;
  text-transform: uppercase;
  font-size: 0.72rem;
  font-weight: 700;
  color: var(--accent-2);
}

.page-title {
  letter-spacing: 0.01em;
}

.title-gold {
  background: linear-gradient(100deg, #fff8e8, #f3df9a 40%, #d9b05a 85%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.rank-badge {
  backdrop-filter: blur(10px);
  box-shadow: 0 8px 18px rgba(0, 0, 0, 0.35);
}

.provider-tag {
  background: rgba(217, 176, 90, 0.1);
}

.conv-strip {
  border-radius: 14px;
  border: 1px solid rgba(243, 223, 154, 0.16);
  background:
    linear-gradient(90deg, rgba(217, 176, 90, 0.14), rgba(217, 176, 90, 0.04));
}

@media (max-width: 720px) {
  .landing-hero-ring,
  .landing-hero-ring-b {
    opacity: 0.35;
    right: -28%;
  }
}

/* ——— UI Max: dial, marquee, cards, HUD ——— */

.atmosphere-noise {
  position: absolute;
  inset: 0;
  opacity: 0.045;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  background-size: 180px 180px;
  mix-blend-mode: overlay;
}

.landing-hero-stage {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(260px, 0.85fr);
  align-items: center;
  gap: 2rem 2.5rem;
  padding: 4.2rem 0 3.5rem;
  width: min(1120px, calc(100% - 2rem));
  margin: 0 auto;
}

.landing-hero .landing-hero-inner {
  max-width: 38rem;
  padding: 0;
}

.landing-dial {
  justify-self: end;
  width: min(100%, 380px);
  text-align: center;
}

.landing-dial-core {
  position: relative;
  aspect-ratio: 1;
  border-radius: 50%;
  margin: 0 auto;
  background:
    radial-gradient(circle at 50% 50%, rgba(217, 176, 90, 0.12), transparent 42%),
    radial-gradient(circle at 50% 50%, rgba(10, 6, 8, 0.2), rgba(10, 6, 8, 0.85) 70%);
  border: 1px solid rgba(243, 223, 154, 0.22);
  box-shadow:
    0 0 0 12px rgba(243, 223, 154, 0.04),
    0 30px 70px rgba(0, 0, 0, 0.45),
    inset 0 0 40px rgba(217, 176, 90, 0.08);
  overflow: hidden;
}

.landing-dial-ring {
  position: absolute;
  inset: 10%;
  border-radius: 50%;
  border: 1px solid rgba(243, 223, 154, 0.16);
}

.landing-dial-ring-2 {
  inset: 22%;
  border-style: dashed;
  opacity: 0.8;
  animation: ring-spin 22s linear infinite;
}

.landing-dial-ring-3 {
  inset: 34%;
  border-color: rgba(243, 223, 154, 0.28);
}

.landing-dial-sweep {
  position: absolute;
  inset: 8%;
  border-radius: 50%;
  background: conic-gradient(
    from 0deg,
    transparent 0deg,
    rgba(243, 223, 154, 0.28) 40deg,
    transparent 70deg
  );
  animation: ring-spin 3.6s linear infinite;
  mask-image: radial-gradient(circle, transparent 38%, #000 39%);
}

.landing-dial-cross::before,
.landing-dial-cross::after {
  content: "";
  position: absolute;
  background: rgba(243, 223, 154, 0.14);
}

.landing-dial-cross::before {
  left: 50%;
  top: 8%;
  bottom: 8%;
  width: 1px;
  transform: translateX(-50%);
}

.landing-dial-cross::after {
  top: 50%;
  left: 8%;
  right: 8%;
  height: 1px;
  transform: translateY(-50%);
}

.landing-dial-hub {
  position: absolute;
  inset: 38%;
  border-radius: 50%;
  display: grid;
  place-content: center;
  gap: 0.1rem;
  background:
    radial-gradient(circle at 40% 30%, rgba(255, 248, 232, 0.18), transparent 40%),
    linear-gradient(160deg, rgba(40, 26, 20, 0.95), rgba(12, 7, 10, 0.98));
  border: 1px solid rgba(243, 223, 154, 0.35);
  box-shadow: 0 0 30px rgba(217, 176, 90, 0.18);
}

.landing-dial-hub span {
  font-size: 0.65rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  color: #86efac;
}

.landing-dial-hub strong {
  font-family: var(--font-display);
  font-size: 1.35rem;
  color: var(--accent-2);
  letter-spacing: 0.04em;
}

.landing-dial-blip {
  position: absolute;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--accent-2);
  box-shadow: 0 0 12px rgba(243, 223, 154, 0.8);
  animation: blip-pulse 2.4s ease-in-out infinite;
}

.landing-dial-blip-a { top: 22%; left: 62%; }
.landing-dial-blip-b { top: 58%; left: 24%; animation-delay: 0.5s; }
.landing-dial-blip-c { top: 68%; left: 70%; animation-delay: 1.1s; background: #86efac; }

@keyframes blip-pulse {
  0%, 100% { transform: scale(1); opacity: 0.85; }
  50% { transform: scale(1.55); opacity: 1; }
}

.landing-dial-caption {
  margin: 0.85rem 0 0;
  color: rgba(243, 223, 154, 0.65);
  font-size: 0.78rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-weight: 600;
}

.landing-marquee {
  border-top: 1px solid rgba(243, 223, 154, 0.12);
  border-bottom: 1px solid rgba(243, 223, 154, 0.12);
  background: rgba(0, 0, 0, 0.28);
  overflow: hidden;
  mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
}

.landing-marquee-track {
  display: flex;
  gap: 2.5rem;
  width: max-content;
  padding: 0.7rem 0;
  animation: marquee-x 28s linear infinite;
}

.landing-marquee-track span {
  font-family: var(--font-display);
  font-size: 0.82rem;
  letter-spacing: 0.16em;
  color: rgba(243, 223, 154, 0.55);
  white-space: nowrap;
}

@keyframes marquee-x {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

.landing-finale {
  position: relative;
  overflow: hidden;
}

.landing-finale-glow {
  position: absolute;
  inset: -20% 20% auto;
  height: 60%;
  background: radial-gradient(ellipse at center, rgba(217, 176, 90, 0.22), transparent 68%);
  filter: blur(10px);
  animation: shine-pulse 6s ease-in-out infinite;
}

.landing-finale-spark {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(1.5px 1.5px at 15% 40%, rgba(243, 223, 154, 0.55), transparent),
    radial-gradient(1px 1px at 78% 30%, rgba(243, 223, 154, 0.4), transparent),
    radial-gradient(1.5px 1.5px at 60% 70%, rgba(255, 248, 232, 0.35), transparent);
  animation: dust-drift 10s ease-in-out infinite alternate;
  pointer-events: none;
  opacity: 0.8;
}

.landing-finale-inner {
  position: relative;
  z-index: 1;
}

[data-reveal] {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

[data-reveal].is-revealed {
  opacity: 1;
  transform: none;
}

.hud-corner {
  position: absolute;
  width: 18px;
  height: 18px;
  z-index: 2;
  pointer-events: none;
  border: 0 solid rgba(243, 223, 154, 0.55);
}

.hud-tl { top: 8px; left: 8px; border-top-width: 2px; border-left-width: 2px; }
.hud-tr { top: 8px; right: 8px; border-top-width: 2px; border-right-width: 2px; }
.hud-bl { bottom: 8px; left: 8px; border-bottom-width: 2px; border-left-width: 2px; }
.hud-br { bottom: 8px; right: 8px; border-bottom-width: 2px; border-right-width: 2px; }

.countdown-ring {
  position: absolute;
  inset: 10px;
  border-radius: 14px;
  border: 1px dashed rgba(243, 223, 154, 0.22);
  animation: ring-spin 12s linear infinite;
  pointer-events: none;
}

.game-media {
  position: relative;
  overflow: hidden;
  isolation: isolate;
}

.game-media-fade {
  position: absolute;
  inset: auto 0 0;
  height: 42%;
  background: linear-gradient(180deg, transparent, rgba(12, 7, 10, 0.92));
  pointer-events: none;
  z-index: 1;
}

.game-card .body {
  position: relative;
  z-index: 2;
  margin-top: -1.4rem;
  background: linear-gradient(180deg, transparent, rgba(16, 10, 14, 0.96) 18%);
  padding-top: 0.35rem;
}

.chance-meta {
  align-items: flex-end;
}

.chance-value {
  font-family: var(--font-display);
  font-size: 1.85rem;
  font-weight: 800;
  line-height: 1;
  letter-spacing: 0.02em;
  background: linear-gradient(180deg, #fff8e8, #d9b05a);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  filter: drop-shadow(0 6px 14px rgba(0, 0, 0, 0.35));
}

.chance-value small {
  font-size: 0.55em;
  margin-left: 0.08em;
}

.game-card.is-elite .game-media::after,
.game-card.is-top .game-media::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  box-shadow: inset 0 0 0 1px rgba(243, 223, 154, 0.28);
  z-index: 2;
}

.signal-chip {
  backdrop-filter: blur(6px);
  transition: transform 0.15s ease, border-color 0.15s ease;
}

.signal-chip:hover {
  transform: translateY(-1px);
}

.platform-mark {
  position: relative;
}

.platform-live-dot {
  position: absolute;
  top: 0.85rem;
  right: 0.85rem;
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: #86efac;
  box-shadow: 0 0 0 0 rgba(134, 239, 172, 0.5);
  animation: scanner-pulse 1.8s ease-out infinite;
  z-index: 3;
}

.platform-card:hover .platform-mark-shine {
  opacity: 1;
}

.filter-bar input[type="search"] {
  background: rgba(8, 5, 7, 0.55);
  border: 1px solid rgba(243, 223, 154, 0.16);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.03);
}

.filter-bar input[type="search"]:focus {
  border-color: rgba(243, 223, 154, 0.4);
  outline: none;
  box-shadow: 0 0 0 3px rgba(217, 176, 90, 0.12);
}

.sticky-cta {
  min-width: 10.5rem;
  box-shadow: 0 10px 28px rgba(217, 176, 90, 0.28);
}

.site-nav .brand span:last-child {
  background: linear-gradient(100deg, #fff8e8, #f3df9a 55%, #d9b05a);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.admin-shell {
  background:
    radial-gradient(800px 360px at 0% 0%, rgba(217, 176, 90, 0.08), transparent 55%),
    transparent;
}

@media (max-width: 900px) {
  .landing-hero-stage {
    grid-template-columns: 1fr;
    padding-top: 3rem;
  }

  .landing-dial {
    justify-self: center;
    width: min(260px, 68vw);
    margin-top: 0.5rem;
  }

  .landing-dial-hub strong {
    font-size: 1.1rem;
  }
}

@media (max-width: 720px) {
  .landing-hero-ring,
  .landing-hero-ring-b {
    opacity: 0.35;
    right: -28%;
  }

  .chance-value {
    font-size: 1.55rem;
  }
}

/* ——— Surprise pass: ribbon, sticky orb, stagger, chrome ——— */

::selection {
  background: rgba(217, 176, 90, 0.35);
  color: #fff8e8;
}

html {
  scrollbar-color: rgba(217, 176, 90, 0.45) rgba(0, 0, 0, 0.35);
}

html::-webkit-scrollbar {
  width: 10px;
  height: 10px;
}

html::-webkit-scrollbar-thumb {
  background: linear-gradient(180deg, #f3df9a, #9a6f22);
  border-radius: 999px;
  border: 2px solid #10080d;
}

html::-webkit-scrollbar-track {
  background: rgba(0, 0, 0, 0.35);
}

.brand-mark {
  transition: transform 0.35s ease, box-shadow 0.35s ease;
}

.brand:hover .brand-mark {
  transform: rotate(-6deg) scale(1.05);
  box-shadow: 0 8px 22px rgba(217, 176, 90, 0.28);
}

.landing-dial-dust {
  position: absolute;
  inset: 0;
  border-radius: 50%;
  background-image:
    radial-gradient(1.5px 1.5px at 20% 30%, rgba(243, 223, 154, 0.7), transparent),
    radial-gradient(1px 1px at 70% 25%, rgba(243, 223, 154, 0.55), transparent),
    radial-gradient(1.5px 1.5px at 40% 70%, rgba(255, 248, 232, 0.5), transparent),
    radial-gradient(1px 1px at 80% 65%, rgba(243, 223, 154, 0.45), transparent),
    radial-gradient(1px 1px at 55% 40%, rgba(134, 239, 172, 0.45), transparent);
  animation: dust-drift 8s ease-in-out infinite alternate;
  opacity: 0.7;
  pointer-events: none;
}

@keyframes dust-drift {
  from { transform: rotate(0deg) scale(1); }
  to { transform: rotate(18deg) scale(1.04); }
}

.will-stagger {
  opacity: 0;
  transform: translateY(22px) scale(0.985);
  transition:
    opacity 0.55s ease,
    transform 0.55s cubic-bezier(0.22, 1, 0.36, 1);
  transition-delay: calc(var(--stagger, 0) * 45ms);
}

.will-stagger.is-inview {
  opacity: 1;
  transform: none;
}

.sticky-convert-inner {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 0.85rem;
}

.sticky-rtp-orb {
  width: 58px;
  height: 58px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  flex-shrink: 0;
  background:
    radial-gradient(circle at 35% 30%, rgba(255, 248, 232, 0.35), transparent 40%),
    linear-gradient(160deg, rgba(40, 26, 20, 0.95), rgba(12, 7, 10, 0.98));
  border: 1px solid rgba(243, 223, 154, 0.4);
  box-shadow:
    0 0 0 4px rgba(243, 223, 154, 0.06),
    0 0 22px rgba(217, 176, 90, 0.2);
  font-family: var(--font-display);
  font-size: 0.92rem;
  font-weight: 800;
  color: var(--accent-2);
  letter-spacing: 0.02em;
}

.filter-ico {
  width: 14px;
  height: 14px;
  display: inline-block;
  border: 1.5px solid currentColor;
  border-radius: 3px;
  position: relative;
  opacity: 0.85;
}

.filter-ico::before {
  content: "";
  position: absolute;
  left: 2px;
  right: 2px;
  top: 3px;
  height: 1.5px;
  background: currentColor;
  box-shadow: 0 3px 0 currentColor, 0 6px 0 currentColor;
}

.mesa-head {
  position: relative;
  padding-bottom: 0.35rem;
}

.mesa-head::after {
  content: "";
  display: block;
  width: min(180px, 40%);
  height: 2px;
  margin-top: 1rem;
  background: linear-gradient(90deg, var(--accent-2), transparent);
  border-radius: 999px;
}

.top-window-item.is-elite .tw-rank {
  background: var(--gold);
  color: #1a0f08;
  border-radius: 6px;
  padding: 0.05rem 0.3rem;
}

.section .mesa-kicker::before {
  content: "◆";
  margin-right: 0.45rem;
  font-size: 0.65em;
  color: var(--accent);
  opacity: 0.85;
}

.auth-panel {
  position: relative;
  overflow: hidden;
}

.auth-panel::before,
.auth-panel::after {
  content: "";
  position: absolute;
  width: 48px;
  height: 48px;
  border: 0 solid rgba(243, 223, 154, 0.35);
  pointer-events: none;
}

.auth-panel::before {
  top: 10px;
  left: 10px;
  border-top-width: 2px;
  border-left-width: 2px;
}

.auth-panel::after {
  right: 10px;
  bottom: 10px;
  border-right-width: 2px;
  border-bottom-width: 2px;
}

.games-more .btn {
  min-width: 220px;
  border-style: dashed;
}

@media (max-width: 720px) {
  .sticky-convert-inner {
    grid-template-columns: auto 1fr;
    grid-template-areas:
      "orb meta"
      "cta cta";
  }

  .sticky-rtp-orb { grid-area: orb; width: 50px; height: 50px; font-size: 0.82rem; }
  .sticky-convert-meta { grid-area: meta; }
  .sticky-cta { grid-area: cta; width: 100%; }

}

/* ——— Histórico Top 20 ——— */

.historico-page {
  padding-bottom: 3.5rem;
}

.historico-filters {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  gap: 0.85rem;
  margin: 0 0 1.25rem;
  padding: 1rem 1.1rem;
  border-radius: 16px;
  border: 1px solid rgba(243, 223, 154, 0.14);
  background: rgba(12, 7, 10, 0.45);
}

.historico-filters .filter-field {
  margin: 0;
  min-width: 180px;
}

.historico-filters .filter-field span {
  display: block;
  margin-bottom: 0.35rem;
  color: var(--muted);
  font-size: 0.78rem;
  font-weight: 600;
}

.historico-filters select {
  width: 100%;
  min-height: 42px;
  padding: 0.5rem 0.75rem;
  border-radius: 10px;
  border: 1px solid rgba(243, 223, 154, 0.18);
  background: rgba(0, 0, 0, 0.35);
  color: var(--text);
  font: inherit;
}

.historico-summary {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0.75rem;
  margin-bottom: 1.5rem;
}

.historico-day-strong {
  font-size: 1rem !important;
  line-height: 1.25;
}

.historico-board-head {
  margin-bottom: 0.85rem;
}

.historico-board-head .admin-subtitle {
  margin: 0 0 0.25rem;
}

.historico-board-head .section-lead {
  margin: 0;
  font-size: 0.92rem;
}

.historico-list {
  display: grid;
  gap: 0.65rem;
}

.historico-row {
  position: relative;
  display: grid;
  grid-template-columns: auto 56px minmax(0, 1.4fr) minmax(0, 1.6fr);
  gap: 0.75rem 0.9rem;
  align-items: center;
  padding: 0.85rem 1rem 1rem;
  border-radius: 16px;
  border: 1px solid rgba(243, 223, 154, 0.12);
  background:
    linear-gradient(100deg, rgba(217, 176, 90, 0.06), transparent 42%),
    rgba(16, 10, 14, 0.72);
  overflow: hidden;
}

.historico-row.is-podium {
  border-color: rgba(243, 223, 154, 0.32);
  box-shadow: 0 0 0 1px rgba(217, 176, 90, 0.08);
}

.historico-pos {
  font-family: var(--font-display);
  font-size: 1.15rem;
  font-weight: 800;
  color: var(--accent-2);
  min-width: 2.2rem;
}

.historico-media {
  width: 56px;
  height: 56px;
  border-radius: 12px;
  overflow: hidden;
  background: rgba(0, 0, 0, 0.35);
}

.historico-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.historico-meta strong {
  display: block;
  font-size: 1rem;
  margin-bottom: 0.25rem;
}

.historico-sub {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.35rem;
  color: var(--muted);
  font-size: 0.78rem;
}

.historico-stats {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0.45rem;
}

.historico-stat {
  display: grid;
  gap: 0.15rem;
  padding: 0.4rem 0.5rem;
  border-radius: 10px;
  background: rgba(0, 0, 0, 0.22);
  border: 1px solid rgba(255, 255, 255, 0.04);
}

.historico-stat .hs-k {
  color: var(--muted);
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.historico-stat strong {
  font-size: 0.95rem;
}

.historico-bar {
  grid-column: 1 / -1;
  height: 4px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.06);
  overflow: hidden;
}

.historico-bar span {
  display: block;
  height: 100%;
  max-width: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, #9a6f22, #f3df9a);
}

.historico-empty {
  text-align: center;
  padding: 2.5rem 1rem;
  border-radius: 16px;
  border: 1px dashed rgba(243, 223, 154, 0.22);
  background: rgba(0, 0, 0, 0.2);
}

.historico-empty h2 {
  font-family: var(--font-display);
  margin: 0 0 0.5rem;
}

.historico-empty p {
  color: var(--muted);
  margin: 0 0 1.25rem;
}

.historico-windows {
  margin-top: 2rem;
}

.historico-window-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 0.75rem;
}

.historico-window-card {
  border-radius: 14px;
  border: 1px solid rgba(243, 223, 154, 0.14);
  background: rgba(12, 7, 10, 0.55);
  padding: 0.85rem;
}

.historico-window-card header {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  margin-bottom: 0.55rem;
  padding-bottom: 0.45rem;
  border-bottom: 1px solid rgba(243, 223, 154, 0.1);
}

.historico-window-card header strong {
  font-family: var(--font-display);
  color: var(--accent-2);
}

.historico-window-card header span {
  color: var(--muted);
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.historico-window-card ol {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 0.35rem;
}

.historico-window-card li {
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 0.4rem;
  align-items: center;
  font-size: 0.82rem;
}

.historico-window-card li.is-elite .hw-rank {
  color: #1a0f08;
  background: var(--gold);
  border-radius: 5px;
  padding: 0.05rem 0.28rem;
}

.hw-rank {
  color: var(--accent);
  font-weight: 700;
  font-family: var(--font-display);
}

.hw-name {
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.hw-rtp {
  color: var(--accent-2);
  font-weight: 700;
}

@media (max-width: 900px) {
  .historico-summary {
    grid-template-columns: 1fr 1fr;
  }

  .historico-row {
    grid-template-columns: auto 48px 1fr;
  }

  .historico-stats {
    grid-column: 1 / -1;
  }
}

@media (max-width: 560px) {
  .historico-stats {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 768px) {
  /* Disable all fixed background atmosphere effects on mobile */
  .atmosphere-aurora,
  .atmosphere-orb,
  .atmosphere-filament,
  .atmosphere-noise {
    display: none;
  }

  .atmosphere {
    background: radial-gradient(ellipse at 50% 30%, rgba(217,176,90,0.06), transparent 60%);
  }

  .felt-overlay {
    opacity: 0.1;
    mix-blend-mode: normal;
  }

  /* Kill all continuous animations on mobile GPU */
  .atmosphere-aurora,
  .atmosphere-orb-a,
  .atmosphere-orb-b,
  .atmosphere-filament,
  .landing-hero-ring,
  .landing-hero-grid,
  .landing-hero-scan,
  .landing-hero-glow,
  .landing-dial-sweep,
  .landing-dial-ring-2,
  .landing-dial-blip,
  .landing-dial-dust,
  .landing-marquee-track,
  .landing-finale-glow,
  .landing-finale-spark,
  .countdown-ring,
  .btn-primary::after,
  .progress-bar.high::after,
  .hero-brand-foil,
  .landing-free-pulse,
  .scanner-dot,
  .platform-live-dot,
  .signal-scanner::after,
  .platform-mark-shine {
    animation: none !important;
  }

  /* Remove backdrop-filter — biggest mobile scroll killer */
  .site-nav,
  .sticky-convert {
    backdrop-filter: none;
    background: rgba(10, 6, 8, 0.95);
  }

  .sticky-convert {
    background: rgba(8, 5, 7, 0.95);
  }

  .btn-ghost {
    backdrop-filter: none;
  }

  .rank-badge {
    backdrop-filter: none;
    background: rgba(10, 6, 8, 0.75);
  }

  .signal-chip {
    backdrop-filter: none;
  }

  /* Simplify landing hero background */
  .landing-hero-bg {
    background: linear-gradient(180deg, #140a0f 0%, #0b0608 100%);
  }

  .landing-hero-ring,
  .landing-hero-ring::before,
  .landing-hero-ring::after,
  .landing-dial-ring-2,
  .landing-dial-sweep {
    display: none;
  }

  .landing-dial-core {
    box-shadow: none;
  }

  .landing-dial-hub {
    box-shadow: none;
  }

  /* Kill translate3d on orbs */
  .atmosphere-orb-a,
  .atmosphere-orb-b {
    transform: none !important;
  }

  /* Mobile hamburger menu — shared dropdown style */
  .site-nav .inner {
    padding: 0.7rem 0;
    flex-wrap: nowrap;
  }

  .site-nav .brand img {
    width: 30px;
    height: 30px;
  }

  .site-nav .brand span:last-child {
    font-size: 0.95rem;
  }

  .nav-drop {
    display: none;
  }

  .menu-check:checked ~ .nav-drop {
    display: flex;
    flex-direction: column;
    position: fixed;
    top: 56px;
    left: 0;
    right: 0;
    background: rgba(10, 6, 8, 0.98);
    border-bottom: 1px solid rgba(243, 223, 154, 0.18);
    padding: 0.6rem 1.5rem;
    gap: 0;
    z-index: 99999;
  }

  .nav-drop a {
    display: block;
    width: 100%;
    padding: 0.65rem 0;
    border-bottom: 1px solid rgba(243, 223, 154, 0.08);
    font-size: 0.98rem;
    color: var(--muted);
    text-decoration: none;
    text-align: left;
    border-radius: 0;
    background: transparent;
  }

  .nav-drop a:last-child {
    border-bottom: 0;
  }

  /* Hide desktop-only header items on mobile */
  .nav-links,
  .online-pill {
    display: none;
  }

  .menu-toggle {
    display: flex;
    flex-direction: column;
    gap: 5px;
    cursor: pointer;
    padding: 8px;
    z-index: 31;
    margin-left: 0.35rem;
  }

  .menu-toggle span {
    display: block;
    width: 22px;
    height: 2px;
    background: var(--accent-2);
    border-radius: 2px;
    transition: transform 0.2s, opacity 0.2s;
  }

  .menu-check:checked ~ .site-nav .menu-toggle span:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
  }

  .menu-check:checked ~ .site-nav .menu-toggle span:nth-child(2) {
    opacity: 0;
  }

  .menu-check:checked ~ .site-nav .menu-toggle span:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
  }

  .header-cta {
    font-size: 0.8rem !important;
    padding: 0.35rem 0.8rem !important;
    margin-left: auto;
  }
}

@media (prefers-reduced-motion: reduce) {
  .atmosphere-aurora,
  .atmosphere-orb,
  .atmosphere-filament,
  .landing-hero-ring,
  .landing-hero-grid,
  .landing-hero-scan,
  .landing-dial-sweep,
  .landing-dial-ring-2,
  .landing-dial-blip,
  .landing-dial-dust,
  .landing-marquee-track,
  .countdown-ring,
  .btn-primary::after,
  .progress-bar.high::after,
  .hero-brand-foil,
  .landing-free-pulse,
  .scanner-dot,
  .platform-live-dot {
    animation: none !important;
  }

  [data-reveal],
  .will-stagger {
    opacity: 1;
    transform: none;
    transition: none;
  }
}
