/* landing_page/frontend/css/styles.css */
/* SkyBound: Artilharia Tática — Portal Oficial */
/* Estúdio: L&R Distribuição / AR Games Studio (SkyBound AR Games) */
/* Direção de Arte AAA: Supercell / HoYoverse Living Portal + 60 FPS Composite Architecture */

:root {
  color-scheme: dark;

  /* Core Base Palette (6 Tokens Nomeados) */
  --abyss-sky: #060e22;
  --imperial-cobalt: #0a1e46;
  --arcane-vault: #160d2e;
  --solar-gold: #ffb800;
  --astral-cyan: #00e5ff;
  --crimson-ruby: #ff3b5c;

  /* Surfaces & Materials */
  --bg-deep: #060e22;
  --bg-panel: rgba(9, 22, 50, 0.94);
  --bg-card: linear-gradient(180deg, rgba(16, 37, 82, 0.96) 0%, rgba(8, 19, 44, 0.98) 100%);
  --bg-well: rgba(4, 11, 27, 0.92);

  /* Borders & Specular Highlights */
  --border-subtle: rgba(96, 165, 250, 0.28);
  --border-sapphire: rgba(56, 189, 248, 0.48);
  --border-gold: #ffd54f;
  --border-ruby: #ff5c77;
  --border-violet: rgba(192, 132, 252, 0.55);

  /* Typography Ink */
  --text-main: #f8fafc;
  --text-ivory: #fffaf0;
  --text-soft: #dbeafe;
  --text-muted: #93b4dc;

  /* 3D Arcade Bevel Lips */
  --gold-light: #fff099;
  --gold: #ffd54f;
  --gold-deep: #ff9500;
  --gold-lip: #9e5600;

  --cyan: #00e5ff;
  --sapphire-bright: #2563eb;
  --sapphire-lip: #0e2563;

  --ruby: #ff3b5c;
  --ruby-deep: #d81b43;
  --ruby-lip: #7f0d26;

  --emerald: #00e676;
  --emerald-deep: #00b248;
  --emerald-lip: #006629;

  --violet-epic: #a855f7;
  --violet-lip: #581c87;

  /* Typefaces */
  --font-display: "Russo One", "Segoe UI", system-ui, sans-serif;
  --font-body: "Plus Jakarta Sans", "Segoe UI", system-ui, -apple-system, sans-serif;

  /* Geometry */
  --radius-2xl: 24px;
  --radius-xl: 20px;
  --radius-lg: 16px;
  --radius-md: 12px;
  --radius-sm: 9px;

  --shadow-card: 0 14px 34px rgba(2, 7, 20, 0.68), inset 0 1px 0 rgba(255, 255, 255, 0.14);
}

*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  overflow-x: clip;
  scroll-padding-top: 92px;
  background-color: var(--abyss-sky);
}

@media (pointer: fine) {
  html {
    overscroll-behavior-x: none;
  }
}

body {
  font-family: var(--font-body);
  background-color: var(--abyss-sky);
  color: var(--text-main);
  line-height: 1.58;
  overflow-x: clip;
  -webkit-tap-highlight-color: rgba(255, 213, 79, 0.2);
}

img,
video {
  max-width: 100%;
}

button,
a,
input,
select,
textarea,
[role="tab"] {
  touch-action: manipulation;
}

/* Acessibilidade: Skip Link & Screen Reader Only & Focus Visible */
.skip-link {
  position: fixed;
  top: -120px;
  left: 16px;
  z-index: 1200;
  padding: 12px 18px;
  border-radius: 12px;
  background: var(--gold);
  color: #1c0e00;
  font-weight: 800;
  text-decoration: none;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.65);
  transition: top 0.18s ease;
}

.skip-link:focus-visible {
  top: 14px;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

:focus-visible {
  outline: 3px solid var(--gold);
  outline-offset: 3px;
}

section[id],
div[id] {
  scroll-margin-top: 92px;
}

.tabular-nums {
  font-variant-numeric: tabular-nums;
}

.container {
  width: 100%;
  max-width: 1320px;
  margin: 0 auto;
  padding: 0 24px;
}

.hidden {
  display: none !important;
}

.inline-link {
  color: var(--cyan);
  text-decoration: underline;
  text-underline-offset: 3px;
  font-weight: 700;
  transition: color 0.16s ease;
}

.inline-link:hover {
  color: var(--gold);
}

.text-cyan {
  color: var(--cyan);
}

.text-gold {
  color: var(--gold);
}

.text-ruby {
  color: #ff6b81;
}

/* ==========================================================================
   NAVBAR SUPERIOR SAFIRA & OURO 3D
   ========================================================================== */
.navbar {
  position: sticky;
  top: 0;
  z-index: 500;
  background: linear-gradient(180deg, rgba(6, 16, 40, 0.96) 0%, rgba(5, 13, 32, 0.95) 100%);
  backdrop-filter: blur(14px);
  border-bottom: 2px solid rgba(255, 213, 79, 0.42);
  box-shadow: 0 8px 28px rgba(0, 0, 0, 0.62);
}

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 74px;
  gap: 12px;
  padding-left: max(24px, env(safe-area-inset-left, 0px));
  padding-right: max(24px, env(safe-area-inset-right, 0px));
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  color: var(--text-main);
  flex-shrink: 0;
}

.brand-app-icon {
  width: 44px;
  height: 44px;
  border-radius: 11px;
  object-fit: cover;
  border: 2px solid var(--gold);
  box-shadow: 0 3px 0 var(--gold-lip), 0 6px 14px rgba(0, 0, 0, 0.5);
  transition: transform 0.18s ease;
}

.brand-winged-logo {
  height: 40px;
  width: auto;
  object-fit: contain;
  filter: drop-shadow(0 3px 8px rgba(0, 0, 0, 0.7));
  transition: transform 0.18s ease;
}

.brand:hover .brand-app-icon,
.brand:hover .brand-winged-logo {
  transform: translateY(-1px) scale(1.03);
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 4px;
}

.nav-links a {
  color: var(--text-soft);
  text-decoration: none;
  font-size: 12.8px;
  font-weight: 800;
  padding: 7px 10px;
  border-radius: 9px;
  border: 1px solid transparent;
  white-space: nowrap;
  transition: color 0.16s ease, background-color 0.16s ease, border-color 0.16s ease;
}

.nav-links a:hover,
.nav-links a.active {
  color: var(--gold);
  background-color: rgba(255, 213, 79, 0.13);
  border-color: rgba(255, 213, 79, 0.4);
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 8px;
}

.nav-store-btns {
  display: flex;
  align-items: center;
  gap: 8px;
}

.nav-store-chip {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 12px;
  min-height: 40px;
  border-radius: 10px;
  background: linear-gradient(180deg, #ffd54f 0%, #ff9500 100%);
  border: 2px solid #fff099;
  box-shadow: 0 3px 0 var(--gold-lip), inset 0 1px 0 rgba(255, 255, 255, 0.5);
  color: #1c0f00;
  font-family: var(--font-body);
  font-size: 12px;
  font-weight: 800;
  text-decoration: none;
  cursor: pointer;
  white-space: nowrap;
  transition: transform 0.12s ease, box-shadow 0.12s ease, filter 0.15s ease;
}

.nav-store-chip.ios {
  background: linear-gradient(180deg, #3b82f6 0%, #1d4ed8 100%);
  border-color: #93c5fd;
  box-shadow: 0 3px 0 var(--sapphire-lip), inset 0 1px 0 rgba(255, 255, 255, 0.35);
  color: #ffffff;
}

.nav-store-chip:hover {
  filter: brightness(1.06);
  transform: translateY(-1px);
}

.nav-store-chip:active {
  transform: translateY(2px);
  box-shadow: 0 1px 0 var(--gold-lip);
}

.nav-store-chip.ios:active {
  box-shadow: 0 1px 0 var(--sapphire-lip);
}

.nav-store-chip svg {
  width: 15px;
  height: 15px;
  flex-shrink: 0;
}

/* Botão Hambúrguer Mobile */
.hamburger-btn {
  display: none;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 5px;
  width: 44px;
  height: 44px;
  background: linear-gradient(180deg, #163268 0%, #0d1f45 100%);
  border: 2px solid rgba(255, 213, 79, 0.6);
  box-shadow: 0 3px 0 #07122b;
  border-radius: 11px;
  cursor: pointer;
  padding: 8px;
}

.ham-bar {
  display: block;
  width: 22px;
  height: 2.5px;
  background-color: var(--gold);
  border-radius: 4px;
  transition: transform 0.2s ease, opacity 0.16s ease;
}

.hamburger-btn.open .ham-bar:nth-child(1) {
  transform: translateY(7.5px) rotate(45deg);
}

.hamburger-btn.open .ham-bar:nth-child(2) {
  opacity: 0;
}

.hamburger-btn.open .ham-bar:nth-child(3) {
  transform: translateY(-7.5px) rotate(-45deg);
}

.mobile-nav-menu {
  display: none;
  background: linear-gradient(180deg, #0b1b3d 0%, #061026 100%);
  border-bottom: 3px solid var(--gold);
  padding: 16px 20px 22px;
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.82);
}

.mobile-nav-menu.open {
  display: block;
  animation: slideDownMenu 0.18s ease-out;
}

@keyframes slideDownMenu {
  from {
    opacity: 0;
    transform: translateY(-8px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.mobile-nav-links {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-bottom: 14px;
}

.mobile-nav-link {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 11px 14px;
  min-height: 44px;
  background-color: rgba(16, 36, 77, 0.92);
  border: 1.5px solid var(--border-subtle);
  border-radius: 11px;
  color: var(--text-main);
  text-decoration: none;
  font-size: 14px;
  font-weight: 800;
  transition: border-color 0.16s ease, color 0.16s ease;
}

.mobile-nav-link:hover {
  border-color: var(--gold);
  color: var(--gold);
}

.mobile-nav-footer {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}

/* ==========================================================================
   BOTÕES TÁTEIS 3D ARCADE (CHANFRO FÍSICO & RESPOSTA DE CLIQUE)
   ========================================================================== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 11px 20px;
  min-height: 46px;
  border-radius: 13px;
  font-family: var(--font-body);
  font-size: 14px;
  font-weight: 800;
  text-decoration: none;
  cursor: pointer;
  border: 2px solid transparent;
  user-select: none;
  transition: transform 0.12s ease, box-shadow 0.12s ease, filter 0.16s ease, border-color 0.16s ease;
}

.btn:hover {
  filter: brightness(1.07);
  transform: translateY(-2px);
}

.btn:active {
  transform: translateY(3px);
}

.btn:disabled {
  opacity: 0.55;
  cursor: not-allowed;
  transform: none;
  filter: none;
}

.btn-sm {
  padding: 8px 15px;
  min-height: 42px;
  font-size: 12.8px;
  border-radius: 11px;
}

.btn-block {
  width: 100%;
}

.btn-gold {
  border-color: #fff099;
  background: linear-gradient(180deg, #ffe066 0%, #ff9500 100%);
  color: #1e0f00;
  box-shadow: 0 5px 0 var(--gold-lip), 0 12px 24px rgba(255, 160, 0, 0.34), inset 0 2px 0 rgba(255, 255, 255, 0.55);
}

.btn-gold:active {
  box-shadow: 0 2px 0 var(--gold-lip);
}

.btn-fire {
  border-color: #ff9eb0;
  background: linear-gradient(180deg, #ff4d6a 0%, #d81b43 100%);
  color: #ffffff;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.55);
  box-shadow: 0 5px 0 var(--ruby-lip), 0 12px 24px rgba(216, 27, 67, 0.38), inset 0 2px 0 rgba(255, 255, 255, 0.35);
}

.btn-fire:active {
  box-shadow: 0 2px 0 var(--ruby-lip);
}

.btn-danger {
  border-color: #ff8a9b;
  background: linear-gradient(180deg, #ff4757 0%, #c0392b 100%);
  color: #ffffff;
  box-shadow: 0 5px 0 #7f1d1d, 0 10px 22px rgba(255, 71, 87, 0.35);
}

.btn-danger:active {
  box-shadow: 0 2px 0 #7f1d1d;
}

.btn-outline-cyan {
  background: linear-gradient(180deg, rgba(29, 78, 216, 0.62) 0%, rgba(12, 32, 82, 0.92) 100%);
  border-color: rgba(56, 189, 248, 0.72);
  color: #e0f2fe;
  box-shadow: 0 4px 0 #081536, 0 8px 18px rgba(0, 0, 0, 0.4), inset 0 1px 0 rgba(255, 255, 255, 0.2);
}

.btn-outline-cyan:active {
  box-shadow: 0 1px 0 #081536;
}

.btn-outline-gold {
  background: linear-gradient(180deg, rgba(255, 213, 79, 0.24) 0%, rgba(146, 64, 14, 0.45) 100%);
  border-color: rgba(255, 213, 79, 0.72);
  color: var(--gold-light);
  box-shadow: 0 4px 0 #5c3400, 0 8px 18px rgba(0, 0, 0, 0.38);
}

.btn-outline-gold:active {
  box-shadow: 0 1px 0 #5c3400;
}

.badge {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 5px 11px;
  border-radius: 999px;
  font-size: 11.5px;
  font-weight: 800;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.16);
}

.badge-gold {
  background: linear-gradient(180deg, rgba(255, 213, 79, 0.26) 0%, rgba(255, 152, 0, 0.18) 100%);
  border: 1.5px solid rgba(255, 213, 79, 0.68);
  color: var(--gold-light);
}

.badge-cyan {
  background: linear-gradient(180deg, rgba(0, 229, 255, 0.22) 0%, rgba(37, 99, 235, 0.22) 100%);
  border: 1.5px solid rgba(0, 229, 255, 0.58);
  color: #a5f3fc;
}

.badge-ruby {
  background: linear-gradient(180deg, rgba(255, 82, 104, 0.28) 0%, rgba(190, 18, 60, 0.22) 100%);
  border: 1.5px solid rgba(255, 114, 133, 0.65);
  color: #fecdd3;
}

/* ==========================================================================
   SISTEMA DE ZONAS DO PORTAL & DIVISORES DIAGONAIS ANGULADOS (-3.5deg a -5deg)
   ========================================================================== */
.portal-band {
  position: relative;
}

.band-inner {
  position: relative;
  z-index: 3;
}

/* Faixa Diagonal Inclinada para a Direita Superior */
.band-diagonal-down {
  clip-path: polygon(0 3.2vw, 100% 0, 100% calc(100% - 3.2vw), 0 100%);
  margin-top: -3.2vw;
  margin-bottom: -3.2vw;
  z-index: 4;
  padding-block: clamp(76px, 8.5vw, 120px);
}

/* Faixa Diagonal Inclinada para a Esquerda Superior (Alternância de Ritmo) */
.band-diagonal-up {
  clip-path: polygon(0 0, 100% 3.2vw, 100% 100%, 0 calc(100% - 3.2vw));
  margin-top: -3.2vw;
  margin-bottom: -3.2vw;
  z-index: 4;
  padding-block: clamp(80px, 8.8vw, 124px);
}

/* Última Faixa: topo diagonal e base reta colando no rodapé */
.band-community-hub.band-diagonal-down {
  clip-path: polygon(0 3.2vw, 100% 0, 100% 100%, 0 100%);
  margin-top: -3.2vw;
  margin-bottom: 0;
  z-index: 4;
  padding-top: clamp(80px, 8.5vw, 118px);
  padding-bottom: 72px;
}

/* Atmosferas Contrastantes por Zona (Zero Monotonia SaaS) */
.band-cobalt-imperial {
  background:
    radial-gradient(circle at 50% 8%, rgba(255, 184, 0, 0.22) 0%, transparent 48%),
    radial-gradient(circle at 15% 75%, rgba(0, 229, 255, 0.14) 0%, transparent 44%),
    linear-gradient(180deg, #0b2252 0%, #071638 52%, #051029 100%);
  border-top: 3px solid rgba(255, 213, 79, 0.45);
}

.band-hangar-stage {
  position: relative;
  z-index: 2;
  padding-block: clamp(92px, 9.5vw, 138px);
  background-color: #040b1b;
  overflow: hidden;
}

.band-royal-vault {
  background:
    radial-gradient(circle at 18% 15%, rgba(255, 59, 92, 0.22) 0%, transparent 42%),
    radial-gradient(circle at 84% 22%, rgba(168, 85, 247, 0.24) 0%, transparent 46%),
    radial-gradient(circle at 50% 78%, rgba(255, 184, 0, 0.15) 0%, transparent 50%),
    linear-gradient(180deg, #170c30 0%, #1d103c 38%, #0e1a3d 100%);
}

.band-tectonic-arenas {
  position: relative;
  z-index: 2;
  padding-block: clamp(90px, 9.2vw, 134px);
  background:
    radial-gradient(circle at 80% 25%, rgba(0, 229, 255, 0.16) 0%, transparent 45%),
    radial-gradient(circle at 20% 75%, rgba(0, 230, 118, 0.12) 0%, transparent 45%),
    linear-gradient(180deg, #05162b 0%, #08203a 50%, #051326 100%);
}

.band-community-hub {
  background:
    radial-gradient(circle at 15% 20%, rgba(255, 213, 79, 0.14) 0%, transparent 42%),
    radial-gradient(circle at 85% 65%, rgba(37, 99, 235, 0.2) 0%, transparent 48%),
    linear-gradient(180deg, #091b40 0%, #06122c 60%, #060d21 100%);
}

/* Fitas de Zona (Substituindo Eyebrows Genéricos por Insígnias de Jogo) */
.zone-ribbon {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 5px 13px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 800;
  margin-bottom: 10px;
  box-shadow: 0 3px 10px rgba(0, 0, 0, 0.35), inset 0 1px 0 rgba(255, 255, 255, 0.2);
}

.gold-ribbon {
  background: linear-gradient(90deg, rgba(255, 184, 0, 0.24) 0%, rgba(180, 83, 9, 0.26) 100%);
  border: 1.5px solid rgba(255, 213, 79, 0.65);
  color: var(--gold-light);
}

.cyan-ribbon {
  background: linear-gradient(90deg, rgba(0, 229, 255, 0.2) 0%, rgba(29, 78, 216, 0.3) 100%);
  border: 1.5px solid rgba(0, 229, 255, 0.58);
  color: #a5f3fc;
}

.ruby-gold-ribbon {
  background: linear-gradient(90deg, rgba(255, 59, 92, 0.28) 0%, rgba(255, 184, 0, 0.24) 100%);
  border: 1.5px solid rgba(255, 184, 0, 0.68);
  color: #ffe8a3;
}

.section-header {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 28px;
  flex-wrap: wrap;
}

.section-title {
  font-family: var(--font-display);
  font-size: clamp(25px, 3.1vw, 36px);
  font-weight: 400;
  line-height: 1.15;
  letter-spacing: 0.3px;
  color: var(--text-ivory);
  text-wrap: balance;
  text-shadow: 0 3px 0 #040a18, 0 8px 20px rgba(0, 0, 0, 0.72);
}

.section-subtitle {
  color: var(--text-soft);
  font-size: 15px;
  max-width: 66ch;
  margin-top: 8px;
}

/* ==========================================================================
   FAIXA 1: HERO CINEMATOGRÁFICO VIVO ("LIVING SKY WORLD" — #showcase)
   ========================================================================== */
.hero-section {
  position: relative;
  z-index: 3;
  padding: 20px 0 clamp(76px, 8.5vw, 118px);
  background-color: var(--abyss-sky);
  background-image: url("../assets/video/trailer_poster.webp?v=1046");
  background-size: cover;
  background-position: center center;
  overflow: hidden;
}

.hero-video-stage {
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  overflow: hidden;
}

.hero-bg-video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center center;
  display: block;
  filter: saturate(1.12) contrast(1.04);
}

/* Scrim Direcional Safira Profundo (WCAG AAA sobre explosões do vídeo) */
.hero-scrim-directional {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    94deg,
    rgba(5, 14, 34, 0.95) 0%,
    rgba(5, 14, 34, 0.86) 44%,
    rgba(6, 18, 44, 0.56) 76%,
    rgba(5, 14, 34, 0.42) 100%
  );
}

.hero-scrim-vignette {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 18% 24%, rgba(255, 184, 0, 0.14) 0%, transparent 42%),
    linear-gradient(180deg, rgba(5, 14, 34, 0.55) 0%, transparent 28%, rgba(5, 14, 34, 0.94) 100%);
}

.hero-inner {
  position: relative;
  z-index: 2;
}

/* Controle Discreto e Acessível do Vídeo de Fundo */
.hero-ambient-row {
  display: flex;
  justify-content: flex-end;
  margin-bottom: 18px;
}

.ambient-toggle-btn {
  background-color: rgba(9, 22, 50, 0.82);
  backdrop-filter: blur(8px);
  border: 1.5px solid rgba(148, 163, 184, 0.42);
  color: var(--text-soft);
  font-family: var(--font-body);
  font-size: 11.5px;
  font-weight: 800;
  padding: 6px 13px;
  min-height: 34px;
  border-radius: 999px;
  cursor: pointer;
  transition: border-color 0.16s ease, color 0.16s ease, background-color 0.16s ease;
}

.ambient-toggle-btn:hover {
  border-color: var(--cyan);
  background-color: rgba(15, 35, 78, 0.94);
  color: #ffffff;
}

/* Composição Assimétrica de Estúdio */
.hero-grid {
  display: grid;
  grid-template-columns: 1.04fr 1.16fr;
  gap: 36px;
  align-items: center;
}

.hero-brand-lockup {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 14px;
  margin-bottom: 18px;
}

.hero-winged-logo {
  height: 82px;
  width: auto;
  object-fit: contain;
  filter: drop-shadow(0 10px 22px rgba(0, 0, 0, 0.82));
}

.hero-release-pill {
  display: inline-flex;
  align-items: center;
  padding: 6px 13px;
  border-radius: 10px;
  background: linear-gradient(180deg, rgba(16, 39, 86, 0.94) 0%, rgba(8, 20, 48, 0.96) 100%);
  border: 1.5px solid var(--gold);
  color: var(--gold-light);
  font-size: 12px;
  font-weight: 800;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.5);
}

/* Headline Escultórica 3D Arcade (Russo One pura c/ extrusão física — Zero clichê de palavras coloridas) */
.hero-title {
  font-family: var(--font-display);
  font-size: clamp(30px, 3.55vw, 46px);
  font-weight: 400;
  line-height: 1.11;
  letter-spacing: 0.3px;
  color: var(--text-ivory);
  text-wrap: balance;
  margin-bottom: 16px;
  text-shadow:
    0 2px 0 #162e63,
    0 5px 0 #040a18,
    0 12px 28px rgba(0, 0, 0, 0.88);
}

.hero-description {
  color: #e2eeff;
  font-size: 16px;
  max-width: 60ch;
  margin-bottom: 24px;
  text-shadow: 0 2px 8px rgba(0, 0, 0, 0.78);
}

.hero-description strong {
  color: var(--gold-light);
}

/* Fila de Ação Tátil 3D Arcade */
.hero-arcade-cta-stack {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.store-badges-row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.store-badge-btn {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  padding: 11px 19px;
  min-height: 62px;
  border-radius: 15px;
  font-family: var(--font-body);
  text-decoration: none;
  cursor: pointer;
  transition: transform 0.12s ease, box-shadow 0.12s ease, filter 0.16s ease;
}

.store-badge-btn.playstore {
  background: linear-gradient(180deg, #ffe169 0%, #ff9500 100%);
  border: 2px solid #fff5b8;
  color: #1c0e00;
  box-shadow:
    0 6px 0 var(--gold-lip),
    0 14px 28px rgba(255, 149, 0, 0.38),
    inset 0 2px 0 rgba(255, 255, 255, 0.6);
}

.store-badge-btn.appstore {
  background: linear-gradient(180deg, #38bdf8 0%, #1d4ed8 100%);
  border: 2px solid #bae6fd;
  color: #ffffff;
  box-shadow:
    0 6px 0 var(--sapphire-lip),
    0 14px 28px rgba(29, 78, 216, 0.42),
    inset 0 2px 0 rgba(255, 255, 255, 0.42);
}

.store-badge-btn.trailer-ruby {
  background: linear-gradient(180deg, #ff5470 0%, #c8143c 100%);
  border: 2px solid #ffb3c1;
  color: #ffffff;
  box-shadow:
    0 6px 0 var(--ruby-lip),
    0 14px 28px rgba(216, 27, 67, 0.44),
    inset 0 2px 0 rgba(255, 255, 255, 0.38);
}

.store-badge-btn:hover {
  transform: translateY(-2px);
  filter: brightness(1.06);
}

.store-badge-btn.playstore:active {
  transform: translateY(4px);
  box-shadow: 0 2px 0 var(--gold-lip);
}

.store-badge-btn.appstore:active {
  transform: translateY(4px);
  box-shadow: 0 2px 0 var(--sapphire-lip);
}

.store-badge-btn.trailer-ruby:active {
  transform: translateY(4px);
  box-shadow: 0 2px 0 var(--ruby-lip);
}

.store-badge-icon {
  width: 28px;
  height: 28px;
  flex-shrink: 0;
}

.trailer-btn-cannon {
  width: 34px;
  height: 34px;
  object-fit: contain;
  flex-shrink: 0;
  filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.55));
}

.store-badge-text {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  line-height: 1.15;
}

.store-badge-sub {
  font-size: 10.5px;
  font-weight: 800;
  opacity: 0.9;
}

.store-badge-main {
  font-family: var(--font-display);
  font-size: 17px;
  letter-spacing: 0.3px;
}

/* DIREITA DO HERO: Console Mobile 3D em Perspectiva + Pop-Out 3D */
.hero-console-perspective {
  position: relative;
  padding-top: 38px;
  perspective: 1100px;
}

.hero-popout-vehicle {
  position: absolute;
  top: -16px;
  right: 8px;
  z-index: 8;
  display: flex;
  flex-direction: column;
  align-items: center;
  pointer-events: none;
  user-select: none;
  animation: heroFloatVehicle 4.2s ease-in-out infinite;
}

@keyframes heroFloatVehicle {
  0%, 100% {
    transform: translateY(0) rotate(-2deg);
  }
  50% {
    transform: translateY(-8px) rotate(1.5deg);
  }
}

.hero-popout-img {
  width: 118px;
  height: 87px;
  object-fit: contain;
  pointer-events: none;
  filter: drop-shadow(0 14px 18px rgba(0, 0, 0, 0.82)) drop-shadow(0 0 16px rgba(0, 229, 255, 0.32));
}

.hero-popout-tag {
  margin-top: -10px;
  padding: 2px 9px;
  border-radius: 999px;
  background: linear-gradient(90deg, #07193d 0%, #0d2e69 100%);
  border: 1.5px solid var(--cyan);
  color: #a5f3fc;
  font-size: 10px;
  font-weight: 800;
  line-height: 1.3;
  pointer-events: none;
  box-shadow: 0 6px 14px rgba(0, 0, 0, 0.65);
}

.hero-gallery-card {
  position: relative;
  z-index: 4;
  background: linear-gradient(180deg, rgba(16, 38, 86, 0.96) 0%, rgba(7, 17, 42, 0.98) 100%);
  border: 2.5px solid rgba(255, 213, 79, 0.72);
  border-radius: var(--radius-2xl);
  padding: 15px;
  transform: rotateY(-3.5deg) rotateX(1.8deg);
  transform-origin: center center;
  box-shadow:
    0 10px 0 #040d21,
    0 28px 56px rgba(0, 0, 0, 0.82),
    inset 0 1px 0 rgba(255, 255, 255, 0.24);
  transition: transform 0.25s ease;
}

.hero-gallery-card:hover {
  transform: rotateY(-1deg) rotateX(0.5deg);
}

.console-top-bar {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 10px;
  min-height: 30px;
  margin-bottom: 12px;
  padding-right: 168px;
}

.console-badge-title {
  font-family: var(--font-display);
  font-size: 13px;
  color: var(--gold);
  letter-spacing: 0.4px;
}

.console-counter {
  font-size: 11.5px;
  font-weight: 800;
  color: var(--cyan);
  background-color: rgba(0, 229, 255, 0.14);
  border: 1px solid rgba(0, 229, 255, 0.4);
  padding: 3px 10px;
  border-radius: 999px;
}

.gallery-tabs {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 6px;
  margin-bottom: 11px;
}

.gallery-tab {
  background: linear-gradient(180deg, #132c63 0%, #0b1b40 100%);
  border: 1.5px solid rgba(96, 165, 250, 0.36);
  box-shadow: 0 3px 0 #061029;
  color: var(--text-soft);
  padding: 7px 8px;
  min-height: 40px;
  border-radius: 10px;
  font-family: var(--font-body);
  font-size: 11.5px;
  font-weight: 800;
  cursor: pointer;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  transition: border-color 0.15s ease, color 0.15s ease, transform 0.12s ease;
}

.gallery-tab:hover {
  border-color: var(--gold);
  color: var(--gold-light);
}

.gallery-tab.active {
  background: linear-gradient(180deg, #ffd54f 0%, #ff9500 100%);
  border-color: #fff099;
  color: #1c0e00;
  box-shadow: 0 3px 0 var(--gold-lip), 0 6px 14px rgba(255, 160, 0, 0.3);
}

.gallery-viewport {
  position: relative;
  border-radius: 14px;
  overflow: hidden;
  border: 2.5px solid #2d5196;
  background-color: #040915;
}

.gallery-stage {
  position: relative;
  touch-action: pan-y;
}

.gallery-img {
  width: 100%;
  aspect-ratio: 16 / 9;
  height: auto;
  object-fit: cover;
  display: block;
  transition: opacity 0.18s ease;
}

.gallery-nav-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: linear-gradient(180deg, rgba(16, 38, 84, 0.92) 0%, rgba(7, 18, 42, 0.95) 100%);
  border: 2px solid var(--gold);
  color: var(--gold);
  font-size: 16px;
  font-weight: 900;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.7);
  z-index: 5;
  transition: background-color 0.15s ease, color 0.15s ease, transform 0.15s ease;
}

.gallery-nav-btn:hover {
  background: var(--gold);
  color: #1c0e00;
}

.gallery-nav-btn.prev {
  left: 10px;
}

.gallery-nav-btn.next {
  right: 10px;
}

.gallery-caption {
  padding: 11px 14px;
  font-size: 12.5px;
  color: var(--text-soft);
  background: linear-gradient(180deg, rgba(8, 19, 44, 0.98) 0%, rgba(5, 12, 29, 0.99) 100%);
  border-top: 1.5px solid rgba(96, 165, 250, 0.3);
}

.gallery-caption strong {
  color: var(--gold);
}

/* Faixa Compacta Integrada de Telemetria dentro do Console */
.console-kpi-strip {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 8px;
  margin-top: 12px;
}

.console-kpi-cell {
  background: rgba(5, 13, 32, 0.88);
  border: 1.5px solid rgba(96, 165, 250, 0.34);
  border-radius: 12px;
  padding: 9px 6px;
  text-align: center;
}

.console-kpi-cell.highlight {
  border-color: rgba(255, 213, 79, 0.62);
  background: linear-gradient(180deg, rgba(255, 184, 0, 0.16) 0%, rgba(8, 19, 44, 0.94) 100%);
}

.kpi-val {
  display: block;
  font-family: var(--font-display);
  font-size: 21px;
  color: var(--gold);
  line-height: 1.1;
  text-shadow: 0 2px 0 rgba(0, 0, 0, 0.8);
}

.kpi-lbl {
  display: block;
  margin-top: 3px;
  font-size: 10.5px;
  color: var(--text-soft);
  font-weight: 800;
}

/* ==========================================================================
   FAIXA 2: HALL DOS CAMPEÕES — COFRE DE OURO SUPERCELL & PÓDIO 3D (#ranking)
   ========================================================================== */
.supercell-vault-banner {
  position: relative;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 24px;
  padding: 22px 26px;
  margin: 6px 0 24px;
  border-radius: 22px;
  background:
    radial-gradient(circle at 14% 50%, rgba(255, 230, 102, 0.34) 0%, transparent 46%),
    radial-gradient(circle at 88% 20%, rgba(255, 92, 119, 0.22) 0%, transparent 42%),
    linear-gradient(180deg, #3f2204 0%, #241203 54%, #150b04 100%);
  border: 3px solid #ffd54f;
  box-shadow:
    0 7px 0 #7a4400,
    0 22px 44px rgba(0, 0, 0, 0.72),
    0 0 36px rgba(255, 184, 0, 0.22),
    inset 0 2px 0 rgba(255, 248, 196, 0.65);
  overflow: hidden;
}

.supercell-vault-banner::before {
  content: "";
  position: absolute;
  top: 0;
  left: -8%;
  width: 42%;
  height: 100%;
  background: linear-gradient(
    105deg,
    transparent 0%,
    rgba(255, 240, 153, 0.09) 45%,
    rgba(255, 255, 255, 0.14) 50%,
    transparent 56%
  );
  pointer-events: none;
}

.vault-treasure-cluster {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 132px;
  height: 106px;
  border-radius: 18px;
  background: radial-gradient(
    circle at 50% 42%,
    rgba(255, 213, 79, 0.45) 0%,
    rgba(122, 68, 0, 0.28) 68%,
    rgba(20, 10, 0, 0.7) 100%
  );
  border: 2px solid rgba(255, 224, 102, 0.75);
  box-shadow:
    0 5px 0 #5c3100,
    inset 0 2px 0 rgba(255, 255, 255, 0.42);
  flex-shrink: 0;
}

.vault-coin-back {
  position: absolute;
  top: 8px;
  left: 12px;
  width: 48px;
  height: 48px;
  object-fit: contain;
  transform: rotate(-16deg);
  filter: drop-shadow(0 6px 10px rgba(0, 0, 0, 0.75));
}

.vault-crest-center {
  position: relative;
  z-index: 2;
  width: 62px;
  height: 62px;
  object-fit: contain;
  margin-top: -12px;
  filter: drop-shadow(0 8px 14px rgba(0, 0, 0, 0.85)) drop-shadow(0 0 14px rgba(255, 213, 79, 0.5));
}

.vault-coin-front {
  position: absolute;
  top: 12px;
  right: 10px;
  z-index: 3;
  width: 52px;
  height: 52px;
  object-fit: contain;
  transform: rotate(14deg);
  filter: drop-shadow(0 8px 12px rgba(0, 0, 0, 0.82));
}

.vault-amount-tag {
  position: absolute;
  bottom: -8px;
  z-index: 4;
  padding: 4px 12px;
  border-radius: 999px;
  background: linear-gradient(180deg, #00e676 0%, #00a844 100%);
  border: 2px solid #b9f6ca;
  box-shadow: 0 3px 0 #005722, 0 6px 12px rgba(0, 0, 0, 0.65);
  font-family: var(--font-display);
  font-size: 13.5px;
  color: #03220f;
  white-space: nowrap;
  letter-spacing: 0.3px;
}

.vault-copy-col {
  position: relative;
  z-index: 2;
  min-width: 0;
}

.vault-kicker-row {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 7px;
}

.vault-official-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px 11px;
  border-radius: 999px;
  background: linear-gradient(180deg, #ff5470 0%, #c8143c 100%);
  border: 1.5px solid #ffb3c1;
  box-shadow: 0 3px 0 #6e0920;
  font-size: 11.5px;
  font-weight: 800;
  color: #ffffff;
}

.vault-skill-pill {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 4px 11px;
  border-radius: 999px;
  background: rgba(0, 230, 118, 0.16);
  border: 1.5px solid rgba(0, 230, 118, 0.62);
  font-size: 11.5px;
  font-weight: 800;
  color: #86efac;
}

.vault-headline {
  font-family: var(--font-display);
  font-size: clamp(20px, 2vw, 23px);
  font-weight: 400;
  line-height: 1.22;
  letter-spacing: 0.25px;
  color: #fff8db;
  text-shadow:
    0 2px 0 #592e00,
    0 5px 0 #1c0c00,
    0 10px 22px rgba(0, 0, 0, 0.88);
  margin-bottom: 8px;
}

.vault-headline .hl-money {
  display: inline-block;
  padding: 1px 10px;
  margin: 0 2px;
  border-radius: 9px;
  background: linear-gradient(180deg, #ffe57f 0%, #ff9d00 100%);
  border: 2px solid #fff8cc;
  color: #1f0e00;
  text-shadow: none;
  box-shadow: 0 3px 0 #7a4400;
  font-variant-numeric: tabular-nums;
}

.vault-subcopy {
  font-size: 14px;
  line-height: 1.48;
  color: #fdecc8;
  font-weight: 600;
  max-width: 68ch;
}

.vault-subcopy strong {
  color: #ffffff;
  font-weight: 800;
}

.vault-cycle-box {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 6px;
  padding: 14px 18px;
  min-width: 254px;
  border-radius: 17px;
  background: linear-gradient(180deg, #0d224c 0%, #07132e 100%);
  border: 2px solid #ffd54f;
  box-shadow:
    0 5px 0 #040a1a,
    inset 0 1px 0 rgba(255, 255, 255, 0.22);
  text-align: center;
  flex-shrink: 0;
}

.vault-cycle-status {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 11.5px;
  font-weight: 800;
  color: #ffd54f;
}

.vault-pulse-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #00e676;
  box-shadow: 0 0 10px #00e676;
  flex-shrink: 0;
  animation: vaultPulseDot 2.2s ease-in-out infinite;
}

@keyframes vaultPulseDot {
  0%, 100% {
    transform: scale(1);
    opacity: 1;
  }
  50% {
    transform: scale(1.22);
    opacity: 0.72;
  }
}

.vault-cycle-timer {
  font-family: var(--font-display);
  font-size: 16.5px;
  color: #ffffff;
  background: rgba(4, 10, 25, 0.85);
  border: 1.5px solid rgba(0, 229, 255, 0.48);
  padding: 6px 14px;
  border-radius: 11px;
  width: 100%;
  font-variant-numeric: tabular-nums;
  text-shadow: 0 2px 0 #000000;
  white-space: nowrap;
}

.vault-cycle-timer strong {
  color: #00e676;
  font-weight: 400;
}

.vault-cycle-cta-tag {
  font-size: 11.5px;
  font-weight: 800;
  color: #bae6fd;
}

.podium-stage-3d {
  display: grid;
  grid-template-columns: 1fr 1.14fr 1fr;
  gap: 20px;
  align-items: end;
  padding-top: 74px;
  margin-bottom: 26px;
}

.podium-pedestal {
  position: relative;
  overflow: visible;
  border-radius: 22px 22px 16px 16px;
  padding: 66px 20px 22px;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  transition: transform 0.2s ease;
}

.podium-pedestal:hover {
  transform: translateY(-4px);
}

/* #2 Prata à Esquerda */
.podium-pedestal.slot-rank-2 {
  order: 1;
  min-height: 242px;
  background: linear-gradient(180deg, rgba(56, 78, 114, 0.94) 0%, rgba(15, 30, 64, 0.98) 100%);
  border: 2.5px solid #cbd5e1;
  box-shadow: 0 8px 0 #334155, 0 20px 38px rgba(0, 0, 0, 0.58), inset 0 2px 0 rgba(255, 255, 255, 0.32);
}

/* #1 Campeão Imperial Dourado Mais Alto no Centro */
.podium-pedestal.slot-rank-1 {
  order: 2;
  min-height: 318px;
  padding-top: 76px;
  background:
    radial-gradient(circle at 50% 0%, rgba(255, 213, 79, 0.36) 0%, transparent 62%),
    linear-gradient(180deg, rgba(92, 58, 8, 0.95) 0%, rgba(18, 36, 78, 0.98) 100%);
  border: 3px solid var(--gold);
  box-shadow: 0 10px 0 #7a4400, 0 26px 52px rgba(255, 184, 0, 0.36), inset 0 2px 0 rgba(255, 240, 153, 0.65);
}

/* #3 Bronze à Direita */
.podium-pedestal.slot-rank-3 {
  order: 3;
  min-height: 226px;
  background: linear-gradient(180deg, rgba(88, 48, 22, 0.92) 0%, rgba(14, 28, 60, 0.98) 100%);
  border: 2.5px solid #fb923c;
  box-shadow: 0 8px 0 #7c2d12, 0 20px 38px rgba(0, 0, 0, 0.58), inset 0 2px 0 rgba(255, 255, 255, 0.25);
}

/* Pop-Out 3D dos Mobiles e Medalhões de Patente acima dos Pedestais */
.podium-popout-figure {
  position: absolute;
  top: -54px;
  left: 50%;
  transform: translateX(-50%);
  width: 146px;
  height: 112px;
  display: flex;
  align-items: center;
  justify-content: center;
  pointer-events: none;
}

.podium-pedestal.slot-rank-1 .podium-popout-figure {
  top: -64px;
  width: 168px;
  height: 126px;
}

.podium-popout-veh {
  width: 100%;
  height: 100%;
  object-fit: contain;
  filter: drop-shadow(0 16px 18px rgba(0, 0, 0, 0.82));
}

.podium-popout-crest {
  position: absolute;
  bottom: -4px;
  right: -6px;
  width: 46px;
  height: 46px;
  object-fit: contain;
  filter: drop-shadow(0 4px 8px rgba(0, 0, 0, 0.9));
}

.podium-pedestal.slot-rank-1 .podium-popout-crest {
  width: 54px;
  height: 54px;
}

.podium-crown-pill {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 4px 12px;
  border-radius: 999px;
  font-family: var(--font-display);
  font-size: 12px;
  margin-bottom: 8px;
  background-color: rgba(5, 13, 30, 0.72);
  border: 1px solid rgba(255, 255, 255, 0.22);
}

.slot-rank-1 .podium-crown-pill {
  color: var(--gold);
  border-color: var(--gold);
}

.slot-rank-2 .podium-crown-pill {
  color: #f1f5f9;
  border-color: #cbd5e1;
}

.slot-rank-3 .podium-crown-pill {
  color: #fdba74;
  border-color: #fb923c;
}

.podium-nick {
  font-size: 19px;
  font-weight: 800;
  color: #ffffff;
  max-width: 100%;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.slot-rank-1 .podium-nick {
  font-size: 22px;
  color: var(--gold-light);
}

.podium-sub {
  font-size: 12px;
  color: var(--text-soft);
  margin-top: 4px;
}

.podium-prize-leader-plate {
  margin-top: 11px;
  margin-bottom: 4px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 7px;
  max-width: 100%;
  padding: 7px 14px;
  border-radius: 12px;
  background: linear-gradient(180deg, #ffe26a 0%, #ffa000 100%);
  border: 2px solid #fff9c4;
  box-shadow:
    0 4px 0 #7a4400,
    0 8px 18px rgba(0, 0, 0, 0.6),
    inset 0 1px 0 rgba(255, 255, 255, 0.75);
  color: #1c0d00;
  font-family: var(--font-display);
  font-size: 12.8px;
  letter-spacing: 0.25px;
}

.podium-prize-leader-plate .leader-plate-txt {
  white-space: nowrap;
}

.podium-prize-leader-plate .leader-plate-val {
  background: #052e16;
  color: #4ade80;
  padding: 2px 7px;
  border-radius: 6px;
  font-size: 12px;
  border: 1px solid rgba(74, 222, 128, 0.55);
  white-space: nowrap;
}

.podium-gp-plate {
  margin-top: auto;
  padding-top: 12px;
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  flex-wrap: wrap;
}

.podium-gp {
  font-family: var(--font-display);
  font-size: 16px;
  color: var(--gold-light);
  background-color: rgba(4, 10, 24, 0.72);
  padding: 6px 14px;
  border-radius: 10px;
  border: 1.5px solid rgba(255, 213, 79, 0.45);
  font-variant-numeric: tabular-nums;
}

/* Tabela / Lista de Elite #4 a #10 */
.leaderboard-card {
  background: var(--bg-panel);
  border: 2px solid rgba(255, 213, 79, 0.48);
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: var(--shadow-card);
}

.leaderboard-card-banner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 12px 20px;
  background: linear-gradient(90deg, rgba(255, 184, 0, 0.16) 0%, rgba(12, 30, 68, 0.9) 100%);
  border-bottom: 1px solid rgba(255, 213, 79, 0.3);
  font-family: var(--font-display);
  font-size: 14px;
  color: var(--gold-light);
}

.leaderboard-live-hint {
  font-family: var(--font-body);
  font-size: 12px;
  font-weight: 700;
  color: var(--cyan);
}

.leaderboard-head {
  display: grid;
  grid-template-columns: 92px 1.4fr 1.25fr 165px 125px;
  gap: 12px;
  padding: 12px 20px;
  background: #06122b;
  border-bottom: 1.5px solid rgba(96, 165, 250, 0.28);
  font-size: 11.5px;
  font-weight: 800;
  color: var(--text-muted);
}

.leaderboard-body {
  display: flex;
  flex-direction: column;
}

.leaderboard-row {
  display: grid;
  grid-template-columns: 92px 1.4fr 1.25fr 165px 125px;
  gap: 12px;
  align-items: center;
  padding: 13px 20px;
  border-bottom: 1px solid rgba(59, 130, 246, 0.2);
  transition: background-color 0.16s ease;
}

.leaderboard-row:last-child {
  border-bottom: none;
}

.leaderboard-row:hover {
  background-color: rgba(0, 229, 255, 0.08);
}

.rank-num {
  font-family: var(--font-display);
  font-size: 15px;
  color: var(--cyan);
  font-variant-numeric: tabular-nums;
}

.lb-col-pilot {
  display: flex;
  align-items: center;
  gap: 12px;
  min-width: 0;
}

.lb-vehicle-icon {
  width: 44px;
  height: 44px;
  border-radius: 10px;
  object-fit: contain;
  background: var(--bg-well);
  border: 1.5px solid rgba(96, 165, 250, 0.4);
  padding: 3px;
  flex-shrink: 0;
}

.lb-pilot-info {
  display: flex;
  flex-direction: column;
  min-width: 0;
}

.lb-nickname {
  font-size: 15px;
  font-weight: 800;
  color: #ffffff;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.lb-vehicle-lbl {
  font-size: 11.5px;
  color: var(--text-muted);
  font-weight: 600;
}

.lb-col-level {
  display: flex;
  align-items: center;
  gap: 9px;
  min-width: 0;
}

.lb-rank-medallion {
  width: 38px;
  height: 38px;
  object-fit: contain;
  flex-shrink: 0;
  filter: drop-shadow(0 3px 6px rgba(0, 0, 0, 0.7));
}

.lb-rank-meta {
  display: flex;
  flex-direction: column;
  min-width: 0;
}

.lb-rank-lvl {
  font-size: 12px;
  font-weight: 800;
  color: var(--cyan);
  font-variant-numeric: tabular-nums;
}

.lb-rank-title {
  font-size: 11.5px;
  font-weight: 700;
  color: var(--text-soft);
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.lb-gp-val {
  font-family: var(--font-display);
  color: var(--gold);
  font-size: 15px;
  font-variant-numeric: tabular-nums;
}

.lb-presence {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-size: 12px;
  font-weight: 800;
  padding: 4px 11px;
  border-radius: 999px;
}

.lb-presence.online {
  color: var(--emerald);
  background-color: rgba(0, 230, 118, 0.14);
  border: 1px solid rgba(0, 230, 118, 0.45);
}

.lb-presence.offline {
  color: var(--text-muted);
  background-color: rgba(148, 163, 184, 0.12);
  border: 1px solid rgba(148, 163, 184, 0.26);
}

.leaderboard-empty {
  padding: 28px 20px;
  text-align: center;
  color: var(--text-soft);
  font-size: 14px;
}

/* ==========================================================================
   FAIXA 3: PALCO INTERATIVO "HANGAR SPOTLIGHT STAGE" DOS 10 MOBILES (#hangar)
   ========================================================================== */
.hangar-backdrop-wrap {
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  overflow: hidden;
}

.hangar-stage-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center center;
  opacity: 0;
  transform: scale(1.05);
  transition: opacity 0.55s ease, transform 0.75s ease;
}

.hangar-stage-bg.is-visible {
  opacity: 0.46;
  transform: scale(1);
}

.hangar-stage-scrim {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 28% 54%, rgba(0, 229, 255, 0.18) 0%, transparent 45%),
    linear-gradient(90deg, rgba(4, 11, 27, 0.88) 0%, rgba(5, 14, 34, 0.76) 46%, rgba(4, 11, 27, 0.92) 100%),
    linear-gradient(180deg, rgba(4, 11, 27, 0.95) 0%, transparent 18%, transparent 82%, rgba(4, 11, 27, 0.96) 100%);
}

.top-voted-banner {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: linear-gradient(180deg, rgba(255, 213, 79, 0.22) 0%, rgba(146, 64, 14, 0.36) 100%);
  border: 2px solid var(--gold);
  padding: 10px 16px;
  border-radius: 13px;
  font-size: 13.5px;
  font-weight: 800;
  color: var(--gold-light);
  box-shadow: 0 4px 0 #6b3c00;
}

.hangar-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  margin-bottom: 18px;
  flex-wrap: wrap;
}

.filter-group {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.filter-btn {
  background: linear-gradient(180deg, rgba(19, 44, 99, 0.92) 0%, rgba(10, 25, 58, 0.96) 100%);
  border: 1.5px solid rgba(96, 165, 250, 0.4);
  box-shadow: 0 3px 0 #060f26;
  color: var(--text-soft);
  padding: 9px 14px;
  min-height: 44px;
  border-radius: 11px;
  font-family: var(--font-body);
  font-size: 12.5px;
  font-weight: 800;
  cursor: pointer;
  white-space: nowrap;
  transition: border-color 0.15s ease, color 0.15s ease, transform 0.12s ease;
}

.filter-btn:hover {
  border-color: var(--gold);
  color: var(--gold-light);
}

.filter-btn.active {
  background: linear-gradient(180deg, #ffd54f 0%, #ff9500 100%);
  border-color: #fff099;
  color: #1c0e00;
  box-shadow: 0 3px 0 var(--gold-lip);
}

.filter-btn.filter-btn-sub {
  border-color: rgba(255, 167, 38, 0.65);
  color: #ffd580;
}

.filter-btn.filter-btn-sub.active {
  background: linear-gradient(180deg, #ffb74d 0%, #ef6c00 100%);
  border-color: #ffe0b2;
  color: #1f0d00;
  box-shadow: 0 3px 0 #8a3b00;
}

.search-sort-group {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

.search-sort-group .input-control {
  width: auto;
}

.input-control {
  width: 100%;
  max-width: 100%;
  background-color: #06132c;
  color: var(--text-main);
  border: 1.5px solid rgba(96, 165, 250, 0.42);
  padding: 10px 14px;
  min-height: 44px;
  border-radius: 11px;
  font-family: var(--font-body);
  font-size: 14px;
  font-weight: 600;
  transition: border-color 0.18s ease, box-shadow 0.18s ease;
}

select.input-control option {
  background-color: #07142e;
  color: #f8fafc;
}

.input-control:focus-visible {
  outline: none;
  border-color: var(--gold);
  box-shadow: 0 0 0 3px rgba(255, 213, 79, 0.28);
}

/* Barra Seletora Tátil Horizontal dos 10 Mobiles (Roster Switcher) */
.hangar-roster-bar {
  display: flex;
  gap: 10px;
  overflow-x: auto;
  padding: 6px 4px 14px;
  margin-bottom: 20px;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: thin;
  scrollbar-color: var(--gold) rgba(8, 20, 46, 0.7);
}

.roster-tab-btn {
  flex: 0 0 auto;
  min-width: 132px;
  min-height: 76px;
  scroll-snap-align: start;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 8px 12px;
  border-radius: 14px;
  background: linear-gradient(180deg, rgba(14, 33, 74, 0.92) 0%, rgba(7, 17, 40, 0.96) 100%);
  border: 2px solid rgba(96, 165, 250, 0.36);
  box-shadow: 0 4px 0 #040b1d;
  color: var(--text-soft);
  font-family: var(--font-body);
  text-align: left;
  cursor: pointer;
  transition: transform 0.14s ease, border-color 0.16s ease, box-shadow 0.14s ease;
}

.roster-tab-btn:hover {
  border-color: var(--cyan);
  transform: translateY(-2px);
}

.roster-tab-btn.active {
  background: linear-gradient(180deg, rgba(255, 196, 36, 0.28) 0%, rgba(20, 44, 96, 0.98) 100%);
  border-color: var(--gold);
  box-shadow: 0 4px 0 var(--gold-lip), 0 10px 22px rgba(255, 184, 0, 0.25);
  color: #ffffff;
}

.roster-tab-icon {
  width: 46px;
  height: 46px;
  border-radius: 11px;
  background-color: rgba(4, 10, 24, 0.9);
  border: 1.5px solid rgba(255, 255, 255, 0.18);
  padding: 3px;
  object-fit: contain;
  flex-shrink: 0;
}

.roster-tab-meta {
  display: flex;
  flex-direction: column;
  min-width: 0;
}

.roster-tab-name-row {
  display: flex;
  align-items: center;
  gap: 6px;
}

.roster-tab-name {
  font-size: 12.5px;
  font-weight: 800;
  color: #ffffff;
  white-space: nowrap;
}

.roster-sub-badge {
  display: inline-flex;
  align-items: center;
  padding: 1px 6px;
  border-radius: 5px;
  background: linear-gradient(180deg, #ffb300 0%, #e65100 100%);
  border: 1px solid #ffe082;
  color: #1e0b00;
  font-family: var(--font-display);
  font-size: 9.5px;
  letter-spacing: 0.3px;
  line-height: 1.25;
  flex-shrink: 0;
}

.roster-tab-votes {
  font-size: 11px;
  font-weight: 700;
  color: var(--gold-light);
  margin-top: 2px;
  font-variant-numeric: tabular-nums;
}

/* Palco Principal Spotlight (Centro-Esquerda Render Gigante | Centro-Direita Telemetria & 3 Armas) */
.hangar-spotlight-grid {
  display: grid;
  grid-template-columns: 0.95fr 1.15fr;
  gap: 28px;
  align-items: stretch;
  background: linear-gradient(180deg, rgba(10, 24, 56, 0.84) 0%, rgba(5, 13, 32, 0.92) 100%);
  backdrop-filter: blur(10px);
  border: 2px solid rgba(96, 165, 250, 0.44);
  border-radius: var(--radius-2xl);
  padding: 28px;
  box-shadow: 0 18px 48px rgba(0, 0, 0, 0.72), inset 0 1px 0 rgba(255, 255, 255, 0.16);
}

.spotlight-stage-left {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: space-between;
  padding: 18px 16px;
  border-radius: 20px;
  background:
    radial-gradient(circle at 50% 48%, rgba(0, 229, 255, 0.2) 0%, rgba(6, 15, 36, 0.72) 68%),
    rgba(4, 11, 26, 0.65);
  border: 1.5px solid rgba(0, 229, 255, 0.32);
}

.spotlight-badges-top {
  width: 100%;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
}

.spotlight-figure-zone {
  position: relative;
  width: 100%;
  min-height: 250px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 8px 0 14px;
}

/* Anel / Pedestal Energético Dourado/Ciano */
.spotlight-energy-pedestal {
  position: absolute;
  bottom: 8px;
  left: 50%;
  transform: translateX(-50%);
  width: min(300px, 84%);
  height: 44px;
  border-radius: 50%;
  background:
    radial-gradient(closest-side, rgba(255, 213, 79, 0.55) 0%, rgba(0, 229, 255, 0.34) 55%, transparent 100%);
  border: 2px solid rgba(0, 229, 255, 0.62);
  box-shadow: 0 0 28px rgba(0, 229, 255, 0.42), inset 0 0 18px rgba(255, 213, 79, 0.45);
}

.spotlight-hero-render {
  position: relative;
  z-index: 3;
  width: 303px;
  height: 224px;
  max-width: 100%;
  object-fit: contain;
  filter: drop-shadow(0 20px 24px rgba(0, 0, 0, 0.85));
  animation: spotlightIdleBob 3.8s ease-in-out infinite;
}

@keyframes spotlightIdleBob {
  0%, 100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-8px);
  }
}

.spotlight-arena-pill {
  font-size: 12px;
  font-weight: 800;
  color: #e0f2fe;
  background-color: rgba(6, 18, 44, 0.9);
  border: 1px solid rgba(56, 189, 248, 0.48);
  padding: 5px 12px;
  border-radius: 999px;
  margin-bottom: 12px;
}

.spotlight-vote-cta {
  width: 100%;
  min-height: 50px;
  font-size: 14.5px;
}

/* Centro-Direita do Palco: Nome, Passiva, Barras ScaleX e 3 Cards de Arma */
.spotlight-stage-right {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.spotlight-header-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}

.spotlight-mobile-name {
  font-family: var(--font-display);
  font-size: clamp(24px, 2.6vw, 32px);
  font-weight: 400;
  color: #ffffff;
  text-shadow: 0 3px 0 #040a18;
}

.spotlight-meta-pills {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
}

.spotlight-domain-pill {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 5px 11px;
  border-radius: 10px;
  font-size: 12px;
  font-weight: 800;
}

.spotlight-domain-pill.domain-sub {
  background: linear-gradient(90deg, rgba(245, 124, 0, 0.28) 0%, rgba(180, 83, 9, 0.34) 100%);
  border: 1.5px solid #ffb74d;
  color: #ffe0b2;
}

.spotlight-domain-pill.domain-aerial {
  background-color: rgba(0, 229, 255, 0.14);
  border: 1.5px solid rgba(56, 189, 248, 0.52);
  color: #bae6fd;
}

.spotlight-difficulty-pill {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 5px 10px;
  border-radius: 10px;
  background-color: rgba(255, 213, 79, 0.15);
  border: 1.5px solid rgba(255, 213, 79, 0.52);
  color: var(--gold-light);
  font-size: 12px;
  font-weight: 800;
}

.spotlight-angle-badge {
  font-family: var(--font-display);
  font-size: 13px;
  color: var(--cyan);
  background-color: rgba(0, 229, 255, 0.14);
  border: 1.5px solid rgba(0, 229, 255, 0.48);
  padding: 5px 12px;
  border-radius: 10px;
}

.spotlight-lore {
  font-size: 14.5px;
  color: var(--text-soft);
  max-width: 62ch;
}

.spotlight-class-advantage {
  font-size: 12.5px;
  font-weight: 700;
  color: var(--gold-light);
  background-color: rgba(255, 184, 0, 0.12);
  border-left: 3px solid var(--gold);
  padding: 8px 12px;
  border-radius: 0 10px 10px 0;
}

.spotlight-telemetry-bars {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
}

.telemetry-bar-card {
  background-color: rgba(5, 13, 32, 0.88);
  border: 1.5px solid rgba(96, 165, 250, 0.3);
  border-radius: 12px;
  padding: 10px 12px;
}

.telemetry-bar-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 12px;
  font-weight: 800;
  color: var(--text-soft);
  margin-bottom: 7px;
}

.telemetry-bar-top strong {
  font-family: var(--font-display);
  font-size: 14px;
  color: #ffffff;
  font-variant-numeric: tabular-nums;
}

.stat-track {
  width: 100%;
  height: 9px;
  background-color: #040b1c;
  border: 1px solid rgba(96, 165, 250, 0.25);
  border-radius: 999px;
  overflow: hidden;
}

.stat-fill {
  width: 100%;
  height: 100%;
  border-radius: 999px;
  transform-origin: left center;
  transition: transform 0.38s cubic-bezier(0.22, 1, 0.36, 1);
}

.stat-fill.hp {
  background: linear-gradient(90deg, #00c853 0%, #69f0ae 100%);
}

.stat-fill.shield {
  background: linear-gradient(90deg, #0288d1 0%, #00e5ff 100%);
}

.stat-fill.fuel {
  background: linear-gradient(90deg, #ff8f00 0%, #ffd54f 100%);
}

/* 3 Cards de Habilidade / Arma (Tiro 1, Tiro 2, Super Shot SS) */
.spotlight-weapons-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  margin-top: auto;
}

.skill-shot-card {
  background: linear-gradient(180deg, rgba(15, 34, 76, 0.95) 0%, rgba(7, 17, 40, 0.98) 100%);
  border: 1.5px solid rgba(96, 165, 250, 0.42);
  border-radius: 14px;
  padding: 12px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  box-shadow: 0 4px 0 #040b1d;
}

.skill-shot-card.ss-ultimate {
  background: linear-gradient(180deg, rgba(78, 42, 12, 0.9) 0%, rgba(22, 16, 52, 0.98) 100%);
  border: 2px solid var(--gold);
  box-shadow: 0 4px 0 #6b3c00, 0 10px 22px rgba(255, 184, 0, 0.22);
}

.skill-shot-head {
  display: flex;
  align-items: center;
  gap: 9px;
}

.skill-shot-head img {
  width: 38px;
  height: 38px;
  object-fit: contain;
  flex-shrink: 0;
  filter: drop-shadow(0 3px 6px rgba(0, 0, 0, 0.65));
}

.skill-shot-slot {
  display: block;
  font-size: 10.5px;
  font-weight: 800;
  color: var(--cyan);
}

.skill-shot-card.ss-ultimate .skill-shot-slot {
  color: var(--gold);
}

.skill-shot-name {
  display: block;
  font-family: var(--font-display);
  font-size: 13.5px;
  color: #ffffff;
  line-height: 1.2;
}

.skill-shot-sub {
  display: block;
  font-size: 11.2px;
  font-weight: 700;
  color: #bae6fd;
  line-height: 1.3;
}

.skill-shot-card.ss-ultimate .skill-shot-sub {
  color: #ffe8a3;
}

.skill-shot-metrics {
  margin-top: auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 6px;
  padding-top: 6px;
  border-top: 1px solid rgba(148, 163, 184, 0.2);
  font-size: 11.5px;
  font-weight: 800;
  font-variant-numeric: tabular-nums;
}

.dmg-pill {
  color: #ff8a9b;
}

.skill-shot-card.ss-ultimate .dmg-pill {
  color: var(--gold-light);
}

.dly-pill {
  color: var(--text-muted);
}

/* Classes de Categoria Compartilhadas */
.mobile-class-tag {
  font-size: 11.5px;
  font-weight: 800;
  padding: 5px 11px;
  border-radius: 999px;
}

.cat-MECHANICAL {
  background-color: rgba(255, 213, 79, 0.2);
  color: var(--gold-light);
  border: 1.5px solid rgba(255, 213, 79, 0.62);
}

.cat-SHIELD {
  background-color: rgba(0, 229, 255, 0.18);
  color: var(--cyan);
  border: 1.5px solid rgba(0, 229, 255, 0.56);
}

.cat-BIONIC {
  background-color: rgba(0, 230, 118, 0.18);
  color: var(--emerald);
  border: 1.5px solid rgba(0, 230, 118, 0.56);
}

/* ==========================================================================
   FAIXA 4A: COFRE OFICIAL DAS 119 SKINS HD (#skins-vault)
   ========================================================================== */
.vault-subsection {
  padding-bottom: 48px;
}

.tactical-lab-subsection {
  padding-top: 48px;
}

.vault-lab-divider {
  height: 2px;
  background: linear-gradient(90deg, transparent 0%, rgba(255, 213, 79, 0.5) 50%, transparent 100%);
}

.economy-fairness-card {
  max-width: 470px;
  background: rgba(11, 8, 28, 0.82);
  border: 1.5px solid rgba(255, 213, 79, 0.48);
  border-radius: 16px;
  padding: 14px 16px;
  box-shadow: 0 10px 26px rgba(0, 0, 0, 0.45);
}

.economy-currencies {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 8px;
}

.currency-pill {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 5px 11px;
  border-radius: 10px;
  background-color: rgba(6, 14, 34, 0.92);
  border: 1.5px solid rgba(255, 213, 79, 0.52);
  font-size: 12px;
  font-weight: 800;
  color: var(--gold-light);
}

.currency-pill.ruby {
  border-color: rgba(255, 82, 104, 0.62);
  color: #fecdd3;
}

.currency-pill img {
  width: 22px;
  height: 22px;
  object-fit: contain;
}

.economy-note {
  font-size: 12.5px;
  color: var(--text-soft);
  line-height: 1.45;
}

.economy-note strong {
  color: var(--gold-light);
}

/* Abas de Slot Paper-Doll */
.skins-slot-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 9px;
  margin-bottom: 22px;
}

.skin-tab-btn {
  min-height: 44px;
  padding: 9px 16px;
  border-radius: 12px;
  background: linear-gradient(180deg, rgba(36, 20, 68, 0.92) 0%, rgba(16, 12, 38, 0.96) 100%);
  border: 1.5px solid var(--border-violet);
  box-shadow: 0 4px 0 #0b061c;
  color: #f3e8ff;
  font-family: var(--font-body);
  font-size: 13px;
  font-weight: 800;
  cursor: pointer;
  white-space: nowrap;
  transition: transform 0.12s ease, border-color 0.16s ease, color 0.16s ease;
}

.skin-tab-btn:hover {
  border-color: var(--gold);
  color: var(--gold-light);
}

.skin-tab-btn.active {
  background: linear-gradient(180deg, #ffd54f 0%, #ff9500 100%);
  border-color: #fff099;
  color: #1c0e00;
  box-shadow: 0 4px 0 var(--gold-lip), 0 10px 22px rgba(255, 160, 0, 0.3);
}

/* Cartas Colecionáveis 3D de Skins com Aura de Raridade */
.skins-vault-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
}

.skin-collector-card {
  position: relative;
  border-radius: 20px;
  padding: 16px;
  display: flex;
  flex-direction: column;
  gap: 11px;
  transform-style: preserve-3d;
  transition: transform 0.18s ease, border-color 0.18s ease;
}

/* Lendária: Ouro Solar + Aura Incandescente */
.skin-collector-card.rarity-legendary {
  background:
    radial-gradient(circle at 50% 28%, rgba(255, 184, 0, 0.28) 0%, transparent 56%),
    linear-gradient(180deg, rgba(58, 32, 10, 0.94) 0%, rgba(18, 12, 38, 0.98) 100%);
  border: 2.5px solid #ffb800;
  box-shadow: 0 7px 0 #783f00, 0 18px 36px rgba(255, 140, 0, 0.24), inset 0 1px 0 rgba(255, 240, 153, 0.45);
}

/* Épica: Violeta Arcano + Ciano Neon */
.skin-collector-card.rarity-epic {
  background:
    radial-gradient(circle at 50% 28%, rgba(168, 85, 247, 0.28) 0%, transparent 56%),
    linear-gradient(180deg, rgba(38, 18, 72, 0.94) 0%, rgba(11, 20, 48, 0.98) 100%);
  border: 2.5px solid #c084fc;
  box-shadow: 0 7px 0 var(--violet-lip), 0 18px 36px rgba(168, 85, 247, 0.22), inset 0 1px 0 rgba(233, 213, 255, 0.35);
}

/* Rara: Safira Metálica */
.skin-collector-card.rarity-rare {
  background:
    radial-gradient(circle at 50% 28%, rgba(56, 189, 248, 0.24) 0%, transparent 56%),
    linear-gradient(180deg, rgba(16, 40, 82, 0.95) 0%, rgba(8, 19, 44, 0.98) 100%);
  border: 2.5px solid #38bdf8;
  box-shadow: 0 7px 0 #0c4a6e, 0 18px 34px rgba(14, 165, 233, 0.2), inset 0 1px 0 rgba(186, 230, 253, 0.35);
}

.skin-card-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
}

.skin-rarity-tag {
  font-family: var(--font-display);
  font-size: 10.5px;
  letter-spacing: 0.5px;
  padding: 4px 9px;
  border-radius: 8px;
}

.rarity-legendary .skin-rarity-tag {
  background-color: rgba(255, 184, 0, 0.22);
  border: 1px solid #ffd54f;
  color: var(--gold-light);
}

.rarity-epic .skin-rarity-tag {
  background-color: rgba(168, 85, 247, 0.24);
  border: 1px solid #d8b4fe;
  color: #f3e8ff;
}

.rarity-rare .skin-rarity-tag {
  background-color: rgba(56, 189, 248, 0.2);
  border: 1px solid #7dd3fc;
  color: #e0f2fe;
}

.skin-slot-pill {
  font-size: 11px;
  font-weight: 800;
  color: var(--text-soft);
  background-color: rgba(4, 10, 24, 0.65);
  padding: 3px 9px;
  border-radius: 999px;
}

.skin-art-stage {
  height: 148px;
  border-radius: 14px;
  background-color: rgba(5, 10, 26, 0.72);
  border: 1px solid rgba(255, 255, 255, 0.12);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 10px;
}

.skin-art-stage img {
  width: 124px;
  height: 124px;
  object-fit: contain;
  filter: drop-shadow(0 12px 16px rgba(0, 0, 0, 0.78));
  transition: transform 0.22s ease;
}

.skin-collector-card:hover .skin-art-stage img {
  transform: scale(1.07) translateY(-3px);
}

.skin-card-name {
  font-family: var(--font-display);
  font-size: 16.5px;
  font-weight: 400;
  color: #ffffff;
  line-height: 1.2;
}

.skin-card-desc {
  font-size: 12.2px;
  color: var(--text-soft);
  line-height: 1.42;
}

.skin-stats-chips {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 5px;
  font-variant-numeric: tabular-nums;
}

.skin-stat-chip {
  background-color: rgba(4, 10, 24, 0.78);
  border: 1px solid rgba(148, 163, 184, 0.22);
  border-radius: 7px;
  padding: 4px 5px;
  font-size: 10.5px;
  font-weight: 800;
  color: #e2e8f0;
  text-align: center;
}

.skin-price-footer {
  margin-top: auto;
  padding-top: 8px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
}

.skin-currency-badge {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 6px 12px;
  border-radius: 10px;
  font-family: var(--font-display);
  font-size: 14px;
  font-variant-numeric: tabular-nums;
}

.skin-currency-badge.gems {
  background: rgba(216, 27, 67, 0.22);
  border: 1.5px solid #ff6b8b;
  color: #ffe4e8;
}

.skin-currency-badge.gold {
  background: rgba(255, 184, 0, 0.18);
  border: 1.5px solid #ffd54f;
  color: var(--gold-light);
}

.skin-wallet-hint {
  font-size: 10.5px;
  font-weight: 700;
  color: var(--text-muted);
}

/* ==========================================================================
   FAIXA 4B: SISTEMAS TÁTICOS DE BATALHA (#how-it-works)
   ========================================================================== */
.mechanics-showcase-grid {
  display: grid;
  grid-template-columns: 1.06fr 1fr;
  gap: 22px;
  margin-bottom: 24px;
}

.mechanic-panel {
  background: linear-gradient(180deg, rgba(12, 26, 60, 0.94) 0%, rgba(6, 15, 36, 0.97) 100%);
  border: 2px solid rgba(96, 165, 250, 0.4);
  border-radius: var(--radius-xl);
  padding: 22px;
  box-shadow: var(--shadow-card);
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.mechanic-panel-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
}

.mechanic-panel h3 {
  font-family: var(--font-display);
  font-size: 19px;
  font-weight: 400;
  color: var(--gold);
}

.mechanic-panel p {
  font-size: 13.8px;
  color: var(--text-soft);
}

.satellite-icons-strip {
  display: flex;
  align-items: center;
  gap: 8px;
}

.satellite-icons-strip img {
  width: 42px;
  height: 42px;
  object-fit: contain;
  background: var(--bg-well);
  border: 1.5px solid rgba(0, 229, 255, 0.45);
  border-radius: 10px;
  padding: 4px;
}

.lunar-phases-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 8px;
}

.lunar-phase-btn {
  display: flex;
  align-items: center;
  gap: 8px;
  text-align: left;
  padding: 9px 12px;
  min-height: 42px;
  border-radius: 11px;
  background-color: rgba(8, 19, 44, 0.92);
  border: 1.5px solid rgba(56, 189, 248, 0.34);
  color: var(--text-soft);
  font-family: var(--font-body);
  font-size: 12.5px;
  font-weight: 800;
  cursor: pointer;
  transition: border-color 0.15s ease, background-color 0.15s ease, color 0.15s ease, transform 0.12s ease;
}

.lunar-phase-btn:hover,
.lunar-phase-btn.active {
  background-color: rgba(255, 184, 0, 0.2);
  border-color: var(--gold);
  color: var(--gold-light);
  transform: translateY(-1px);
}

.lunar-readout {
  padding: 12px 14px;
  border-radius: 12px;
  background: var(--bg-well);
  border: 1.5px solid rgba(0, 229, 255, 0.38);
  font-size: 13px;
  color: #e0f2fe;
  margin-top: auto;
}

.lunar-readout strong {
  color: var(--gold);
}

/* Deck Tático de 4 Slots Únicos */
.deck-slots-bar {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 10px;
  padding: 12px;
  border-radius: 14px;
  background: linear-gradient(180deg, #051026 0%, #091a3e 100%);
  border: 2px solid rgba(255, 213, 79, 0.55);
}

.deck-slot-box {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 4px;
  padding: 8px 6px;
  border-radius: 11px;
  background-color: rgba(16, 38, 84, 0.94);
  border: 1.5px solid rgba(96, 165, 250, 0.46);
  text-align: center;
  min-height: 80px;
}

.deck-slot-key {
  font-family: var(--font-display);
  font-size: 10px;
  color: var(--gold);
}

.deck-slot-box img {
  width: 36px;
  height: 36px;
  object-fit: contain;
  filter: drop-shadow(0 3px 6px rgba(0, 0, 0, 0.65));
}

.deck-slot-name {
  font-size: 11px;
  font-weight: 800;
  color: #ffffff;
  line-height: 1.15;
}

.tactical-items-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 9px;
}

.tactical-item-card {
  display: flex;
  align-items: center;
  gap: 9px;
  padding: 8px 10px;
  min-height: 54px;
  border-radius: 12px;
  background-color: rgba(8, 19, 44, 0.92);
  border: 1.5px solid rgba(96, 165, 250, 0.32);
  color: var(--text-soft);
  cursor: pointer;
  text-align: left;
  font-family: var(--font-body);
  transition: border-color 0.15s ease, transform 0.12s ease;
}

.tactical-item-card:hover {
  border-color: var(--cyan);
}

.tactical-item-card.equipped {
  background: linear-gradient(180deg, rgba(255, 213, 79, 0.22) 0%, rgba(16, 38, 84, 0.96) 100%);
  border-color: var(--gold);
  box-shadow: 0 3px 0 #7a4600;
}

.tactical-item-card img {
  width: 38px;
  height: 38px;
  object-fit: contain;
  flex-shrink: 0;
}

.tactical-item-info strong {
  display: block;
  font-size: 12px;
  font-weight: 800;
  color: #ffffff;
  line-height: 1.2;
}

.tactical-item-info span {
  display: block;
  font-size: 10.5px;
  color: var(--text-muted);
  margin-top: 2px;
}

/* Destaques Visuais de Gameplay */
.gameplay-highlights-strip {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.gameplay-feature-tile {
  background: linear-gradient(180deg, rgba(14, 30, 68, 0.95) 0%, rgba(7, 16, 38, 0.98) 100%);
  border: 2px solid rgba(96, 165, 250, 0.38);
  border-bottom: 4px solid var(--gold);
  border-radius: var(--radius-xl);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  box-shadow: var(--shadow-card);
  transition: transform 0.18s ease, border-color 0.18s ease;
}

.gameplay-feature-tile:hover {
  border-color: var(--gold);
}

.gameplay-tile-media {
  position: relative;
  aspect-ratio: 16 / 9;
  background-color: #040915;
  overflow: hidden;
}

.gameplay-tile-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.32s ease;
}

.gameplay-feature-tile:hover .gameplay-tile-media img {
  transform: scale(1.04);
}

.gameplay-tile-tag {
  position: absolute;
  top: 10px;
  left: 10px;
  padding: 4px 10px;
  border-radius: 8px;
  background-color: rgba(5, 13, 30, 0.92);
  border: 1.5px solid var(--gold);
  color: var(--gold-light);
  font-family: var(--font-display);
  font-size: 11px;
}

.gameplay-tile-body {
  padding: 18px 20px 20px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.gameplay-tile-body h3 {
  font-family: var(--font-display);
  font-size: 17.5px;
  font-weight: 400;
  color: #ffffff;
}

.gameplay-tile-body p {
  font-size: 13.5px;
  color: var(--text-soft);
}

/* ==========================================================================
   FAIXA 5: CARROSSEL PANORÂMICO DAS 10 ARENAS HD DESTRUTÍVEIS (#arenas)
   ========================================================================== */
.carousel-nav-controls {
  display: flex;
  align-items: center;
  gap: 10px;
}

.carousel-arrow-btn {
  width: 48px;
  height: 48px;
  border-radius: 13px;
  background: linear-gradient(180deg, #ffd54f 0%, #ff9500 100%);
  border: 2px solid #fff099;
  box-shadow: 0 4px 0 var(--gold-lip);
  color: #1c0e00;
  font-size: 17px;
  font-weight: 900;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.12s ease, box-shadow 0.12s ease, filter 0.15s ease;
}

.carousel-arrow-btn:hover {
  filter: brightness(1.06);
  transform: translateY(-2px);
}

.carousel-arrow-btn:active {
  transform: translateY(3px);
  box-shadow: 0 1px 0 var(--gold-lip);
}

.arenas-carousel-track {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: calc((100% - 48px) / 3.4);
  gap: 16px;
  overflow-x: auto;
  padding: 6px 4px 18px;
  scroll-snap-type: x mandatory;
  scroll-behavior: smooth;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: thin;
  scrollbar-color: var(--cyan) rgba(5, 16, 36, 0.7);
}

.arena-card {
  scroll-snap-align: start;
  background: linear-gradient(180deg, rgba(13, 33, 68, 0.96) 0%, rgba(6, 17, 38, 0.98) 100%);
  border: 2px solid rgba(56, 189, 248, 0.38);
  border-radius: 18px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  box-shadow: 0 8px 0 #040c1e, 0 16px 32px rgba(0, 0, 0, 0.6);
  transition: transform 0.18s ease, border-color 0.18s ease;
}

.arena-card:hover {
  transform: translateY(-4px);
  border-color: var(--gold);
}

.arena-thumb-wrap {
  position: relative;
  aspect-ratio: 16 / 9;
  background-color: #040a18;
  overflow: hidden;
}

.arena-thumb-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.3s ease;
}

.arena-card:hover .arena-thumb-wrap img {
  transform: scale(1.05);
}

.arena-num-badge {
  position: absolute;
  top: 10px;
  left: 10px;
  font-family: var(--font-display);
  font-size: 11.5px;
  padding: 4px 9px;
  border-radius: 8px;
  background-color: rgba(5, 13, 30, 0.92);
  border: 1.5px solid var(--gold);
  color: var(--gold);
}

.arena-biome-badge {
  position: absolute;
  bottom: 10px;
  right: 10px;
  font-size: 10.5px;
  font-weight: 800;
  padding: 3px 9px;
  border-radius: 7px;
  background-color: rgba(5, 13, 30, 0.9);
  border: 1px solid rgba(0, 229, 255, 0.48);
  color: #a5f3fc;
}

.arena-body {
  padding: 14px 16px 16px;
  display: flex;
  flex-direction: column;
  gap: 5px;
}

.arena-title {
  font-family: var(--font-display);
  font-size: 15.5px;
  font-weight: 400;
  color: #ffffff;
  line-height: 1.25;
}

.arena-wind {
  font-size: 12px;
  color: var(--text-soft);
  font-weight: 700;
}

/* ==========================================================================
   FAIXA 6: MURAL DE IDEIAS DA COMUNIDADE (#community)
   ========================================================================== */
.community-subsection {
  padding-bottom: 12px;
}

.card-panel {
  background: var(--bg-card);
  border: 2px solid rgba(96, 165, 250, 0.36);
  border-radius: var(--radius-xl);
  padding: 22px;
  box-shadow: var(--shadow-card);
}

.panel-title {
  font-family: var(--font-display);
  font-size: 19px;
  font-weight: 400;
  color: var(--gold);
  margin-bottom: 8px;
}

.panel-desc {
  font-size: 13.5px;
  color: var(--text-muted);
  margin-bottom: 16px;
}

.community-layout {
  display: grid;
  grid-template-columns: 400px 1fr;
  gap: 24px;
  align-items: start;
}

.feedback-form,
.stack-form {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.grid-form {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 14px;
}

.form-span-full {
  grid-column: 1 / -1;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 6px;
  min-width: 0;
}

.form-group label {
  font-size: 12.5px;
  font-weight: 800;
  color: var(--text-soft);
}

.form-actions {
  display: flex;
  justify-content: flex-end;
  gap: 12px;
  flex-wrap: wrap;
}

.feedback-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin-bottom: 18px;
  flex-wrap: wrap;
}

.feedback-toolbar .filter-btn {
  padding: 7px 12px;
  min-height: 40px;
  font-size: 12px;
}

.feedback-sort {
  width: auto !important;
  min-width: 175px;
  max-width: 215px;
  padding: 7px 11px !important;
  min-height: 40px !important;
  font-size: 12.5px !important;
}

.feedback-list {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.feedback-card {
  background: var(--bg-card);
  border: 2px solid rgba(96, 165, 250, 0.34);
  border-radius: var(--radius-lg);
  padding: 18px 20px;
  display: flex;
  justify-content: space-between;
  gap: 16px;
  align-items: flex-start;
  box-shadow: var(--shadow-card);
  transition: border-color 0.18s ease, transform 0.16s ease;
}

.feedback-card:hover {
  border-color: var(--gold);
  transform: translateY(-2px);
}

.feedback-body {
  min-width: 0;
  flex: 1;
}

.feedback-tags {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  margin-bottom: 8px;
}

.fb-tag {
  font-size: 11px;
  font-weight: 800;
  padding: 3px 9px;
  border-radius: 7px;
  background-color: rgba(59, 130, 246, 0.18);
  border: 1px solid rgba(96, 165, 250, 0.35);
  color: var(--text-soft);
  display: inline-flex;
  align-items: center;
  gap: 5px;
}

.fb-tag-mobile {
  background-color: rgba(6, 14, 34, 0.88);
  border: 1px solid rgba(255, 213, 79, 0.38);
  color: var(--gold-light);
}

.fb-mobile-mini-icon {
  width: 18px;
  height: 18px;
  object-fit: contain;
  border-radius: 3px;
}

.fb-status {
  font-size: 11px;
  font-weight: 800;
  padding: 3px 9px;
  border-radius: 7px;
  background-color: rgba(0, 229, 255, 0.15);
  color: var(--cyan);
  border: 1px solid rgba(0, 229, 255, 0.42);
}

.fb-status.status-planned {
  background-color: rgba(0, 230, 118, 0.16);
  color: var(--emerald);
  border-color: rgba(0, 230, 118, 0.48);
}

.fb-status.status-review {
  background-color: rgba(255, 213, 79, 0.18);
  color: var(--gold);
  border-color: rgba(255, 213, 79, 0.48);
}

.feedback-title {
  font-size: 17px;
  font-weight: 800;
  color: #ffffff;
  margin-bottom: 6px;
  overflow-wrap: break-word;
}

.feedback-desc {
  font-size: 13.5px;
  color: var(--text-soft);
  margin-bottom: 10px;
  overflow-wrap: break-word;
}

.feedback-meta {
  font-size: 12px;
  color: var(--text-muted);
}

.upvote-btn {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-width: 86px;
  min-height: 68px;
  padding: 10px 12px;
  background: linear-gradient(180deg, #163678 0%, #0c204a 100%);
  border: 2px solid rgba(0, 229, 255, 0.55);
  box-shadow: 0 4px 0 #07122b;
  border-radius: 13px;
  color: var(--cyan);
  font-family: var(--font-body);
  font-weight: 800;
  cursor: pointer;
  flex-shrink: 0;
  transition: transform 0.12s ease, border-color 0.15s ease, color 0.15s ease;
}

.upvote-btn:hover {
  border-color: var(--gold);
  color: var(--gold);
  transform: translateY(-2px);
}

.upvote-btn:active {
  transform: translateY(2px);
  box-shadow: 0 1px 0 #07122b;
}

.upvote-btn.upvoted {
  background: linear-gradient(180deg, rgba(0, 230, 118, 0.28) 0%, rgba(5, 102, 68, 0.5) 100%);
  border-color: var(--emerald);
  color: var(--emerald);
}

.upvote-count {
  font-family: var(--font-display);
  font-size: 19px;
  font-variant-numeric: tabular-nums;
}

.upvote-label {
  font-size: 10.5px;
}

/* ==========================================================================
   MODAIS (INCLUINDO TRAILER MODAL CINEMATOGRÁFICO), RODAPÉ & PÁGINAS LEGAIS
   ========================================================================== */
.modal-backdrop {
  position: fixed;
  inset: 0;
  z-index: 900;
  background-color: rgba(3, 8, 20, 0.88);
  backdrop-filter: blur(8px);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  overscroll-behavior: contain;
}

.modal-card {
  width: 100%;
  max-width: 560px;
  max-height: 90vh;
  overflow-y: auto;
  overscroll-behavior: contain;
  background: linear-gradient(180deg, #112756 0%, #081533 100%);
  border: 2.5px solid var(--gold);
  border-radius: 22px;
  padding: 24px;
  box-shadow: 0 8px 0 #060d21, 0 28px 64px rgba(0, 0, 0, 0.88);
}

.trailer-modal-card {
  max-width: 920px;
  padding: 20px 22px 22px;
}

.trailer-video-shell {
  width: 100%;
  aspect-ratio: 16 / 9;
  border-radius: 14px;
  overflow: hidden;
  background-color: #000000;
  border: 2px solid rgba(255, 213, 79, 0.55);
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.75);
}

.official-trailer-player {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: contain;
  background-color: #000000;
}

.trailer-modal-footer {
  margin-top: 14px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  flex-wrap: wrap;
}

.trailer-modal-note {
  font-size: 13px;
  color: var(--text-soft);
}

.trailer-modal-ctas {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

.modal-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 14px;
}

.modal-header h3 {
  font-family: var(--font-display);
  font-size: 19px;
  font-weight: 400;
  color: var(--gold);
}

.modal-close-btn {
  background-color: rgba(255, 255, 255, 0.08);
  border: 1.5px solid rgba(96, 165, 250, 0.45);
  color: var(--text-main);
  width: 42px;
  height: 42px;
  border-radius: 11px;
  font-size: 18px;
  cursor: pointer;
  flex-shrink: 0;
  transition: border-color 0.15s ease, color 0.15s ease;
}

.modal-close-btn:hover {
  border-color: var(--gold);
  color: var(--gold);
}

.modal-body-text {
  font-size: 14.5px;
  color: var(--text-soft);
  margin-bottom: 18px;
  line-height: 1.62;
}

/* Rodapé Oficial */
.footer {
  position: relative;
  z-index: 5;
  padding: 48px 0 36px;
  background: linear-gradient(180deg, #040c1f 0%, #020611 100%);
  border-top: 2px solid rgba(255, 213, 79, 0.36);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: 28px;
  padding-bottom: 28px;
  border-bottom: 1px solid rgba(59, 130, 246, 0.25);
}

.footer-brand-box {
  display: flex;
  align-items: flex-start;
  gap: 14px;
}

.footer-emblem {
  width: 52px;
  height: 52px;
  border-radius: 13px;
  border: 2px solid var(--gold);
  object-fit: cover;
  flex-shrink: 0;
  box-shadow: 0 3px 0 var(--gold-lip);
}

.footer-winged-logo {
  width: 104px;
  height: 38px;
  object-fit: contain;
  display: block;
  margin-bottom: 6px;
}

.footer-tagline {
  color: var(--text-muted);
  font-size: 13px;
}

.footer-studio-tag {
  display: inline-block;
  margin-top: 8px;
  font-size: 12px;
  font-weight: 800;
  color: var(--gold);
}

.footer-col-title {
  font-family: var(--font-display);
  font-size: 14px;
  font-weight: 400;
  color: var(--gold);
  margin-bottom: 12px;
}

.footer-links-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.footer-links-list a {
  color: var(--text-muted);
  text-decoration: none;
  font-size: 13.5px;
  font-weight: 600;
  transition: color 0.16s ease;
}

.footer-links-list a:hover {
  color: var(--gold);
}

.footer-bottom {
  padding-top: 20px;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  font-size: 12.5px;
  color: var(--text-muted);
}

/* Páginas Legais (Harmonia Visual Total: privacidade.html, termos.html, excluir-conta.html) */
.legal-section {
  padding: 48px 0 68px;
  background:
    radial-gradient(circle at 18% 12%, rgba(0, 229, 255, 0.14) 0%, transparent 40%),
    radial-gradient(circle at 82% 20%, rgba(255, 184, 0, 0.12) 0%, transparent 42%),
    linear-gradient(180deg, #06122b 0%, #081838 50%, #060e22 100%);
}

.legal-container {
  max-width: 940px;
  margin: 0 auto;
}

.legal-card {
  background: var(--bg-panel);
  border: 2px solid rgba(96, 165, 250, 0.38);
  border-top: 4px solid var(--gold);
  border-radius: var(--radius-xl);
  padding: 34px;
  box-shadow: var(--shadow-card);
}

.legal-card h1 {
  font-family: var(--font-display);
  font-size: clamp(24px, 3vw, 30px);
  font-weight: 400;
  color: var(--gold);
  margin-bottom: 10px;
  text-wrap: balance;
}

.legal-updated {
  font-size: 12.5px;
  color: var(--cyan);
  font-weight: 800;
  margin-bottom: 24px;
  display: block;
}

.legal-card h2 {
  font-family: var(--font-display);
  font-size: 18.5px;
  font-weight: 400;
  color: #ffffff;
  margin: 26px 0 10px;
  padding-bottom: 6px;
  border-bottom: 1.5px solid rgba(59, 130, 246, 0.32);
}

.legal-card p,
.legal-card li {
  font-size: 14.5px;
  color: var(--text-soft);
  line-height: 1.66;
}

.legal-card code {
  background-color: rgba(6, 14, 34, 0.9);
  border: 1px solid rgba(96, 165, 250, 0.32);
  padding: 2px 6px;
  border-radius: 6px;
  color: var(--gold-light);
  font-size: 13px;
}

.legal-card ul {
  padding-left: 20px;
  margin: 10px 0;
  display: flex;
  flex-direction: column;
  gap: 7px;
}

.legal-alert {
  padding: 15px 18px;
  border-radius: 13px;
  font-size: 14px;
  margin: 18px 0;
  border: 1.5px solid rgba(0, 229, 255, 0.45);
  background-color: rgba(0, 229, 255, 0.1);
  color: #e0f2fe;
}

.legal-alert.danger {
  border-color: rgba(255, 82, 104, 0.65);
  background-color: rgba(216, 27, 67, 0.16);
  color: #fecdd3;
}

.legal-alert.success {
  border-color: rgba(0, 230, 118, 0.6);
  background-color: rgba(0, 230, 118, 0.14);
  color: #bbf7d0;
}

.checkbox-row {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 13.5px;
  color: var(--text-soft);
  cursor: pointer;
}

.checkbox-row input[type="checkbox"] {
  width: 20px;
  height: 20px;
  margin-top: 2px;
  accent-color: var(--ruby);
  flex-shrink: 0;
}

/* Dock Fixo Inferior Mobile Nativo (<= 820px) */
.mobile-bottom-dock {
  display: none;
}

/* Toasts */
.toast-container {
  position: fixed;
  bottom: 22px;
  right: 20px;
  left: 20px;
  pointer-events: none;
  z-index: 999;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 10px;
}

.toast {
  pointer-events: auto;
  background: linear-gradient(180deg, rgba(14, 33, 74, 0.98) 0%, rgba(7, 17, 40, 0.99) 100%);
  border: 1.5px solid rgba(96, 165, 250, 0.45);
  border-left: 5px solid var(--emerald);
  color: #ffffff;
  padding: 12px 18px;
  border-radius: 12px;
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.78);
  font-size: 13.5px;
  font-weight: 700;
  max-width: 440px;
}

.toast.error {
  border-left-color: var(--ruby);
}

/* ==========================================================================
   RESPONSIVIDADE COMPLETA (DESKTOP / TABLET / MOBILE THUMB UX 360px+)
   ========================================================================== */
@media (max-width: 1180px) {
  .nav-links {
    display: none;
  }

  .hamburger-btn {
    display: inline-flex;
  }

  .skins-vault-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .arenas-carousel-track {
    grid-auto-columns: calc((100% - 32px) / 2.3);
  }
}

@media (max-width: 1024px) {
  .hero-grid,
  .hangar-spotlight-grid,
  .mechanics-showcase-grid,
  .gameplay-highlights-strip,
  .community-layout,
  .footer-grid,
  .grid-form {
    grid-template-columns: minmax(0, 1fr);
  }

  .hero-gallery-card {
    transform: none;
  }

  .hero-gallery-card:hover {
    transform: none;
  }

  .leaderboard-head {
    display: none;
  }

  .leaderboard-row {
    grid-template-columns: 74px 1fr auto;
    row-gap: 10px;
  }
}

@media (max-width: 980px) {
  .supercell-vault-banner {
    grid-template-columns: minmax(0, 1fr);
    justify-items: center;
    text-align: center;
    gap: 18px;
    padding: 20px 18px;
  }

  .vault-kicker-row {
    justify-content: center;
  }

  .vault-subcopy {
    margin-inline: auto;
  }

  .vault-cycle-box {
    width: 100%;
    max-width: 390px;
    min-width: 0;
  }
}

@media (max-width: 820px) {
  body.has-mobile-dock {
    padding-bottom: calc(76px + env(safe-area-inset-bottom, 0px));
  }

  .nav-store-btns {
    display: none;
  }

  .podium-stage-3d {
    grid-template-columns: minmax(0, 1fr);
    gap: 58px;
    padding-top: 68px;
  }

  .podium-pedestal.slot-rank-1 {
    order: 1;
    min-height: 258px;
  }

  .podium-pedestal.slot-rank-2 {
    order: 2;
    min-height: 204px;
  }

  .podium-pedestal.slot-rank-3 {
    order: 3;
    min-height: 204px;
  }

  .spotlight-telemetry-bars,
  .spotlight-weapons-grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .tactical-items-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .arenas-carousel-track {
    grid-auto-columns: 78%;
  }

  .mobile-bottom-dock {
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 550;
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 4px;
    padding: 7px max(8px, env(safe-area-inset-right, 0px)) calc(7px + env(safe-area-inset-bottom, 0px)) max(8px, env(safe-area-inset-left, 0px));
    background: linear-gradient(180deg, rgba(9, 22, 52, 0.97) 0%, rgba(4, 10, 26, 0.99) 100%);
    backdrop-filter: blur(14px);
    border-top: 2px solid rgba(255, 213, 79, 0.6);
    box-shadow: 0 -8px 26px rgba(0, 0, 0, 0.78);
  }

  .dock-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 2px;
    min-height: 48px;
    padding: 4px;
    border-radius: 11px;
    text-decoration: none;
    color: var(--text-muted);
    font-size: 10.5px;
    font-weight: 800;
    border: 1.5px solid transparent;
    transition: background-color 0.14s ease, color 0.14s ease, border-color 0.14s ease;
  }

  .dock-item .dock-ico {
    font-size: 16px;
    line-height: 1.1;
  }

  .dock-item.active {
    color: #1c0e00;
    background: linear-gradient(180deg, #ffd54f 0%, #ff9500 100%);
    border-color: #fff099;
    box-shadow: 0 2px 0 var(--gold-lip);
  }

  .toast-container {
    bottom: calc(84px + env(safe-area-inset-bottom, 0px));
  }
}

@media (max-width: 640px) {
  .container {
    padding: 0 16px;
  }

  .nav-inner {
    padding-left: max(16px, env(safe-area-inset-left, 0px));
    padding-right: max(16px, env(safe-area-inset-right, 0px));
  }

  .brand-winged-logo {
    height: 33px;
  }

  .hero-winged-logo {
    height: 60px;
  }

  .store-badges-row {
    flex-direction: column;
  }

  .store-badge-btn {
    width: 100%;
    justify-content: center;
  }

  .hero-console-perspective {
    padding-top: 38px;
  }

  .hero-popout-vehicle {
    top: -24px;
    right: 4px;
  }

  .hero-popout-img {
    width: 96px;
    height: 71px;
  }

  .console-top-bar {
    padding-right: 128px;
  }

  .spotlight-hero-render {
    width: 244px;
    height: 180px;
  }

  .console-kpi-strip,
  .mobile-nav-footer,
  .lunar-phases-grid,
  .deck-slots-bar {
    grid-template-columns: repeat(2, 1fr);
  }

  .gallery-tabs,
  .skins-slot-tabs,
  .filter-group {
    display: flex;
    flex-wrap: nowrap;
    overflow-x: auto;
    width: 100%;
    padding-bottom: 6px;
    -webkit-overflow-scrolling: touch;
  }

  .gallery-tab,
  .skin-tab-btn,
  .filter-btn {
    flex: 0 0 auto;
  }

  .skins-vault-grid,
  .tactical-items-grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .arenas-carousel-track {
    grid-auto-columns: 84%;
  }

  .hangar-spotlight-grid {
    padding: 18px 15px;
  }

  .search-sort-group {
    width: 100%;
    flex-direction: column;
  }

  .search-sort-group .input-control,
  .feedback-sort {
    width: 100% !important;
    max-width: 100% !important;
  }

  .feedback-card {
    flex-direction: column;
  }

  .upvote-btn {
    width: 100%;
    flex-direction: row;
    min-height: 46px;
    gap: 10px;
  }

  .leaderboard-row {
    grid-template-columns: 1fr 1fr;
  }

  .leaderboard-card-banner {
    flex-direction: column;
    align-items: flex-start;
    gap: 4px;
  }

  .supercell-vault-banner {
    padding: 18px 14px;
    gap: 15px;
  }

  .vault-official-pill,
  .vault-skill-pill {
    font-size: 11px;
    padding: 4px 10px;
    max-width: 100%;
  }

  .vault-cycle-box {
    padding: 12px 12px;
  }

  .vault-headline {
    font-size: clamp(17.5px, 5vw, 20.5px);
    line-height: 1.28;
  }

  .vault-headline br {
    display: none;
  }

  .vault-cycle-timer {
    font-size: 15px;
    padding: 6px 10px;
    white-space: normal;
  }

  .podium-prize-leader-plate {
    padding: 6px 10px;
    font-size: 11.5px;
    gap: 5px;
  }

  .lb-col-pilot,
  .lb-col-level {
    grid-column: 1 / -1;
  }

  .legal-card {
    padding: 20px;
  }

  .toast {
    width: 100%;
    max-width: none;
  }
}

/* Acessibilidade: Respeito Integral a prefers-reduced-motion */
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }

  .hero-bg-video {
    display: none !important;
  }

  .hero-gallery-card {
    transform: none !important;
  }
}
