:root {
  --bg: #120806;
  --bg-2: #1a0d09;
  --surface: rgba(32, 18, 13, 0.78);
  --surface-strong: #21120d;
  --surface-soft: #2a1812;
  --line: rgba(255, 122, 24, 0.22);
  --line-soft: rgba(255, 255, 255, 0.11);
  --text: #fff7ee;
  --muted: #c9b7a9;
  --primary: #ff7a18;
  --primary-2: #ffc04a;
  --danger: #ff3d1f;
  --cyan: #3edcff;
  --green: #56f29a;
  --shadow: 0 24px 64px rgba(0, 0, 0, 0.42);
  --glow: 0 0 34px rgba(255, 122, 24, 0.32);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--text);
  background:
    linear-gradient(120deg, rgba(255, 122, 24, 0.05), transparent 36%),
    repeating-linear-gradient(90deg, rgba(255, 255, 255, 0.025) 0 1px, transparent 1px 84px),
    var(--bg);
  font-family: "Space Grotesk", Arial, sans-serif;
  letter-spacing: 0;
  overflow-x: hidden;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background-image:
    linear-gradient(rgba(255, 122, 24, 0.045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 122, 24, 0.045) 1px, transparent 1px);
  background-size: 64px 64px;
  mask-image: linear-gradient(to bottom, rgba(0, 0, 0, 0.68), transparent 82%);
}

a {
  color: inherit;
  text-decoration: none;
}

a:hover,
a:focus {
  color: inherit;
  text-decoration: none;
}

img {
  display: block;
  max-width: 100%;
}

button {
  font: inherit;
}

.container-nuvra {
  width: min(1160px, calc(100% - 32px));
  margin: 0 auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(18, 8, 6, 0.82);
  border-bottom: 1px solid var(--line-soft);
  backdrop-filter: blur(18px);
  transition: background 180ms ease, box-shadow 180ms ease;
}

.site-header::after {
  content: "";
  position: absolute;
  left: 0;
  right: auto;
  bottom: -1px;
  width: var(--scroll-progress, 0%);
  height: 1px;
  background: linear-gradient(90deg, var(--primary), var(--primary-2));
  box-shadow: var(--glow);
}

.site-header.is-scrolled {
  background: rgba(18, 8, 6, 0.94);
  box-shadow: 0 14px 36px rgba(0, 0, 0, 0.28);
}

.nav-shell {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  min-height: 78px;
}

.brand-link {
  display: inline-flex;
  align-items: center;
  min-width: 168px;
}

.brand-link img {
  width: 154px;
  height: auto;
  max-height: 46px;
  object-fit: contain;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 0;
  margin: 0;
  list-style: none;
}

.nav-links a {
  display: inline-flex;
  align-items: center;
  min-height: 40px;
  padding: 0 12px;
  border-radius: 8px;
  color: rgba(255, 247, 238, 0.78);
  font-size: 14px;
  font-weight: 700;
}

.nav-dropdown {
  position: relative;
}

.nav-dropdown::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: 100%;
  height: 14px;
}

.nav-dropdown-toggle i {
  margin-left: 3px;
  font-size: 12px;
}

.nav-dropdown-menu {
  position: absolute;
  top: calc(100% + 12px);
  left: 0;
  z-index: 60;
  display: grid;
  grid-template-columns: repeat(2, minmax(118px, 1fr));
  gap: 4px;
  min-width: 286px;
  padding: 10px;
  border: 1px solid var(--line-soft);
  border-radius: 8px;
  background: rgba(18, 8, 6, 0.96);
  box-shadow: var(--shadow);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transform: translateY(8px);
  transition: opacity 160ms ease, transform 160ms ease, visibility 160ms ease;
}

.nav-dropdown-menu a {
  min-height: 36px;
  padding: 0 10px;
  color: rgba(255, 247, 238, 0.78);
  font-size: 13px;
}

.nav-dropdown:hover .nav-dropdown-menu,
.nav-dropdown:focus-within .nav-dropdown-menu {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: translateY(0);
}

.nav-links a:hover,
.nav-links a:focus {
  color: var(--text);
  background: rgba(255, 122, 24, 0.11);
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 10px;
}

.mobile-toggle {
  display: none;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  border: 1px solid var(--line-soft);
  border-radius: 8px;
  color: var(--text);
  background: rgba(255, 255, 255, 0.06);
  cursor: pointer;
}

.btn-nuvra {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  min-height: 46px;
  padding: 11px 18px;
  border: 1px solid rgba(255, 122, 24, 0.62);
  border-radius: 8px;
  color: #180905;
  background: linear-gradient(135deg, var(--primary), var(--primary-2));
  box-shadow: var(--glow);
  font-size: 15px;
  line-height: 1.1;
  font-weight: 800;
  transition: transform 180ms ease, border-color 180ms ease, background 180ms ease, box-shadow 180ms ease;
  cursor: pointer;
}

.btn-nuvra:hover,
.btn-nuvra:focus {
  transform: translateY(-2px);
  box-shadow: 0 0 44px rgba(255, 122, 24, 0.46);
}

.btn-nuvra.btn-secondary {
  color: var(--text);
  background: rgba(255, 255, 255, 0.07);
  border-color: var(--line-soft);
  box-shadow: none;
}

.btn-nuvra.btn-secondary:hover,
.btn-nuvra.btn-secondary:focus {
  border-color: rgba(255, 122, 24, 0.62);
  background: rgba(255, 122, 24, 0.11);
}

.btn-nuvra.btn-small {
  min-height: 40px;
  padding: 9px 13px;
  font-size: 13px;
}

.hero {
  position: relative;
  overflow: hidden;
  min-height: 86vh;
  display: flex;
  align-items: center;
  background:
    linear-gradient(90deg, rgba(18, 8, 6, 0.98), rgba(18, 8, 6, 0.78) 47%, rgba(18, 8, 6, 0.42)),
    url("../images/brand/hero-cloud.jpg") center / cover no-repeat;
}

.hero::before,
.page-hero::before,
.game-page-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background:
    radial-gradient(circle at var(--mx, 72%) var(--my, 35%), rgba(255, 122, 24, 0.22), transparent 28%),
    radial-gradient(circle at 16% 78%, rgba(62, 220, 255, 0.12), transparent 30%),
    var(--game-bg, transparent);
  mix-blend-mode: screen;
  opacity: 0.86;
}

.hero::after {
  content: "";
  position: absolute;
  inset: auto 0 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--primary), transparent);
}

.hero-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 1.04fr) minmax(320px, 0.76fr);
  gap: 42px;
  align-items: center;
  padding: 96px 0 70px;
}

.page-hero .container-nuvra,
.game-page-hero .container-nuvra {
  position: relative;
  z-index: 1;
}

.hero h1,
.page-hero h1 {
  max-width: 820px;
  margin: 22px 0 18px;
  font-family: "Orbitron", "Space Grotesk", sans-serif;
  font-size: clamp(40px, 6vw, 46px);
  line-height: 1.00;
  font-weight: 100;
}

.page-hero h1 {
  margin-top: 0;
}

.text-gradient {
  background: linear-gradient(135deg, var(--primary), var(--primary-2));
  color: transparent;
  -webkit-background-clip: text;
  background-clip: text;
}

.hero-copy,
.lead-copy {
  max-width: 660px;
  margin: 0;
  color: var(--muted);
  font-size: 18px;
  line-height: 1.65;
  font-weight: 500;
}

.hero-actions,
.inline-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 28px;
}

.hero-stats {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  max-width: 630px;
  margin-top: 36px;
}

.stat-box,
.glass-card,
.game-card,
.plan-card,
.feature-card,
.faq-item,
.contact-card,
.policy-card {
  border: 1px solid var(--line-soft);
  border-radius: 8px;
  background: var(--surface);
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.25);
  backdrop-filter: blur(16px);
}

.stat-box {
  min-height: 92px;
  padding: 16px;
}

.stat-box strong {
  display: block;
  font-family: "Orbitron", "Space Grotesk", sans-serif;
  color: var(--primary-2);
  font-size: 25px;
  line-height: 1.1;
}

.stat-box span {
  display: block;
  margin-top: 8px;
  color: rgba(255, 247, 238, 0.72);
  font-size: 13px;
  font-weight: 700;
}

.hero-panel {
  position: relative;
  padding: 18px;
}

.hero-panel img {
  width: 100%;
  border-radius: 8px;
  border: 1px solid var(--line-soft);
}

.floating-label {
  position: absolute;
  display: flex;
  align-items: center;
  gap: 10px;
  max-width: 250px;
  padding: 12px 14px;
  border: 1px solid var(--line);
  border-radius: 8px;
  color: var(--text);
  background: rgba(18, 8, 6, 0.84);
  box-shadow: var(--shadow);
}

.floating-label i {
  color: var(--primary-2);
}

.floating-label strong {
  display: block;
  font-size: 13px;
}

.floating-label span {
  display: block;
  color: var(--muted);
  font-size: 12px;
}

.label-a {
  left: -18px;
  top: 40px;
}

.label-b {
  right: -14px;
  bottom: 46px;
}

.quick-games {
  border-bottom: 1px solid var(--line-soft);
  background: rgba(18, 8, 6, 0.72);
}

.quick-games-row {
  display: grid;
  grid-template-columns: repeat(8, minmax(96px, 1fr));
  gap: 1px;
  overflow-x: auto;
}

.quick-game {
  display: grid;
  place-items: center;
  min-height: 76px;
  padding: 12px 10px;
  border-left: 1px solid rgba(255, 255, 255, 0.06);
  color: rgba(255, 247, 238, 0.78);
  font-size: 13px;
  font-weight: 800;
  text-align: center;
}

.quick-game:hover,
.quick-game:focus {
  color: var(--primary-2);
  background: rgba(255, 122, 24, 0.08);
}

.section {
  padding: 88px 0;
}

.section.compact {
  padding: 64px 0;
}

.section.alt {
  background: rgba(255, 255, 255, 0.025);
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.section-head {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 28px;
  margin-bottom: 34px;
}

.section-head h2,
.simple-head h2,
h2.simple-head {
  margin: 8px 0 0;
  max-width: 760px;
  font-family: "Orbitron", "Space Grotesk", sans-serif;
  font-size: clamp(30px, 4vw, 50px);
  line-height: 1.08;
  font-weight: 800;
}

.section-head p,
.simple-head p {
  max-width: 520px;
  margin: 0;
  color: var(--muted);
  font-size: 16px;
  line-height: 1.62;
}

.game-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
}

.game-card {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  overflow: hidden;
  min-height: 340px;
  padding: 22px;
  isolation: isolate;
  background: #180905;
}

.game-card::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -2;
  background: var(--game-bg, linear-gradient(135deg, rgba(255, 122, 24, 0.16), transparent));
}

.game-card::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    radial-gradient(circle at 78% 8%, rgba(255, 122, 24, 0.16), transparent 32%),
    linear-gradient(180deg, rgba(18, 8, 6, 0.05) 0%, rgba(18, 8, 6, 0.28) 38%, rgba(18, 8, 6, 0.94) 100%);
}

.game-card h3,
.plan-card h3,
.feature-card h3,
.contact-card h3 {
  margin: 0 0 10px;
  font-family: "Orbitron", "Space Grotesk", sans-serif;
  font-size: 22px;
  line-height: 1.12;
  font-weight: 800;
}

.game-card h3 {
  text-shadow: 0 8px 22px rgba(0, 0, 0, 0.62);
}

.game-card p,
.plan-card p,
.feature-card p,
.contact-card p {
  margin: 0;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.58;
}

.game-card p {
  color: rgba(255, 247, 238, 0.86);
  text-shadow: 0 6px 18px rgba(0, 0, 0, 0.58);
}

.game-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin-top: 22px;
}

.price-mini {
  color: var(--text);
  font-size: 13px;
  font-weight: 700;
}

.price-mini strong {
  display: block;
  color: var(--primary-2);
  font-family: "Orbitron", "Space Grotesk", sans-serif;
  font-size: 18px;
}

.plans-grid,
.secondary-grid,
.feature-grid,
.contact-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
}

.plans-grid.two-col,
.secondary-grid.two-col {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.plan-card {
  display: flex;
  flex-direction: column;
  min-height: 100%;
  padding: 24px;
}

.plan-card.featured {
  border-color: rgba(255, 122, 24, 0.78);
  box-shadow: var(--glow), 0 26px 60px rgba(0, 0, 0, 0.36);
}

.plan-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  margin-bottom: 18px;
}

.plan-top img {
  width: 58px;
  height: 58px;
  object-fit: contain;
}

.plan-top i {
  display: grid;
  place-items: center;
  width: 54px;
  height: 54px;
  border: 1px solid var(--line);
  border-radius: 8px;
  color: var(--primary-2);
  background: rgba(255, 122, 24, 0.1);
  font-size: 23px;
}

.plan-badge {
  display: inline-flex;
  min-height: 28px;
  align-items: center;
  padding: 4px 9px;
  border: 1px solid var(--line);
  border-radius: 999px;
  color: var(--primary-2);
  background: rgba(255, 122, 24, 0.08);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.price {
  display: flex;
  align-items: flex-end;
  gap: 6px;
  margin: 16px 0 20px;
}

.price strong {
  font-family: "Orbitron", "Space Grotesk", sans-serif;
  color: var(--primary-2);
  font-size: 36px;
  line-height: 1;
}

.price span {
  margin-bottom: 4px;
  color: var(--muted);
  font-weight: 700;
}

.spec-list,
.check-list {
  display: grid;
  gap: 11px;
  padding: 0;
  margin: 0 0 24px;
  list-style: none;
}

.spec-list li,
.check-list li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  color: rgba(255, 247, 238, 0.86);
  font-size: 14px;
  line-height: 1.45;
  font-weight: 600;
}

.spec-list i,
.check-list i {
  margin-top: 3px;
  color: var(--green);
}

.plan-card .btn-nuvra {
  width: 100%;
  margin-top: auto;
}

.feature-card,
.contact-card {
  padding: 24px;
}

.feature-icon,
.contact-icon {
  display: grid;
  place-items: center;
  width: 48px;
  height: 48px;
  margin-bottom: 18px;
  border: 1px solid var(--line);
  border-radius: 8px;
  color: var(--primary-2);
  background: rgba(255, 122, 24, 0.1);
  font-size: 22px;
}

.split-feature {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 42px;
  align-items: center;
}

.split-feature .visual-card {
  position: relative;
  overflow: hidden;
  padding: 18px;
}

.visual-card img {
  width: min(560px, 100%);
  margin: 0 auto;
  filter: drop-shadow(0 30px 42px rgba(0, 0, 0, 0.38));
}

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

.game-row {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 18px;
  align-items: center;
  padding: 18px;
  border: 1px solid var(--line-soft);
  border-radius: 8px;
  background: var(--surface);
}

.game-row h3 {
  margin: 0 0 5px;
  font-family: "Orbitron", "Space Grotesk", sans-serif;
  font-size: 20px;
}

.game-row p {
  margin: 0;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.5;
}

.row-action {
  min-width: 154px;
  text-align: right;
}

.row-action strong {
  display: block;
  margin-bottom: 8px;
  color: var(--primary-2);
  font-family: "Orbitron", "Space Grotesk", sans-serif;
}

.cta-band {
  position: relative;
  overflow: hidden;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background:
    linear-gradient(90deg, rgba(255, 61, 31, 0.24), rgba(255, 122, 24, 0.11)),
    url("../images/template/footer-bg-2.png") center / cover;
}

.cta-grid {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 28px;
  align-items: center;
  padding: 58px 0;
}

.cta-grid h2 {
  max-width: 760px;
  margin: 0 0 10px;
  font-family: "Orbitron", "Space Grotesk", sans-serif;
  font-size: clamp(28px, 4vw, 46px);
  line-height: 1.08;
}

.cta-grid p {
  max-width: 680px;
  margin: 0;
  color: var(--muted);
  line-height: 1.6;
}

.faq-list {
  display: grid;
  gap: 12px;
  max-width: 820px;
  margin: 0 auto;
}

.faq-question {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  min-height: 64px;
  padding: 18px 20px;
  border: 0;
  color: var(--text);
  background: transparent;
  text-align: left;
  font-size: 16px;
  line-height: 1.3;
  font-weight: 800;
  cursor: pointer;
}

.faq-answer {
  padding: 0 20px 20px;
  color: var(--muted);
  line-height: 1.65;
}

.page-hero {
  position: relative;
  overflow: hidden;
  background:
    linear-gradient(90deg, rgba(18, 8, 6, 0.98), rgba(18, 8, 6, 0.72)),
    url("../images/brand/hero-cloud.jpg") center / cover no-repeat;
}

.page-hero::after,
.game-page-hero::after {
  content: "";
  position: absolute;
  inset: auto 0 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--primary), transparent);
}

.page-hero .container-nuvra {
  padding: 88px 0 72px;
}

.filter-bar {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 28px;
}

.game-page-hero {
  position: relative;
  overflow: hidden;
  background:
    linear-gradient(90deg, rgba(18, 8, 6, 0.99), rgba(18, 8, 6, 0.76) 58%, rgba(18, 8, 6, 0.48)),
    var(--game-page-bg, url("../images/brand/hero-cloud.jpg")) center / cover no-repeat;
}

.game-hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(320px, 0.72fr);
  gap: 42px;
  align-items: center;
  padding: 94px 0 76px;
}

.game-command-panel {
  position: relative;
  overflow: hidden;
  padding: 26px;
}

.game-command-icon {
  display: grid;
  place-items: center;
  width: 68px;
  height: 68px;
  margin-bottom: 18px;
  border: 1px solid var(--line);
  border-radius: 8px;
  color: var(--primary-2);
  background: rgba(255, 122, 24, 0.11);
  box-shadow: var(--glow);
  font-size: 30px;
}

.game-command-panel h2 {
  margin: 15px 0 18px;
  font-family: "Orbitron", "Space Grotesk", sans-serif;
  font-size: 34px;
  line-height: 1.05;
}

.status-strip {
  display: grid;
  grid-template-columns: 1.1fr 0.75fr 0.45fr;
  gap: 8px;
  margin: 0 0 18px;
}

.status-strip span {
  height: 7px;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--primary), rgba(255, 192, 74, 0.2));
  animation: signalPulse 2.6s ease-in-out infinite;
}

.status-strip span:nth-child(2) {
  animation-delay: 180ms;
}

.status-strip span:nth-child(3) {
  animation-delay: 360ms;
}

.command-row {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  padding: 13px 0;
  border-top: 1px solid var(--line-soft);
  color: var(--muted);
  font-size: 14px;
  font-weight: 700;
}

.command-row strong {
  color: var(--primary-2);
  font-family: "Orbitron", "Space Grotesk", sans-serif;
  text-align: right;
}

.command-list {
  margin-top: 18px;
}

.game-plans .plan-card {
  position: relative;
  overflow: hidden;
}

.game-plans .plan-card::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  opacity: 0;
  background: radial-gradient(circle at 80% 0%, rgba(255, 122, 24, 0.18), transparent 32%);
  transition: opacity 180ms ease;
}

.game-plans .plan-card:hover::before,
.game-plans .plan-card:focus-within::before {
  opacity: 1;
}

.game-detail-grid,
.related-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
}

.related-game {
  display: flex;
  align-items: center;
  gap: 14px;
  min-height: 94px;
  padding: 18px;
  border: 1px solid var(--line-soft);
  border-radius: 8px;
  background: var(--surface);
  transition: transform 180ms ease, border-color 180ms ease, background 180ms ease;
}

.related-game i {
  display: grid;
  place-items: center;
  flex: 0 0 48px;
  width: 48px;
  height: 48px;
  border: 1px solid var(--line);
  border-radius: 8px;
  color: var(--primary-2);
  background: rgba(255, 122, 24, 0.1);
  font-size: 21px;
}

.related-game strong,
.related-game em {
  display: block;
}

.related-game strong {
  color: var(--text);
  font-family: "Orbitron", "Space Grotesk", sans-serif;
  font-size: 17px;
  font-style: normal;
}

.related-game em {
  margin-top: 4px;
  color: var(--muted);
  font-style: normal;
  font-weight: 700;
}

.related-game:hover,
.related-game:focus {
  transform: translateY(-3px);
  border-color: rgba(255, 122, 24, 0.48);
  background: rgba(255, 122, 24, 0.08);
}

.motion-field {
  position: relative;
  isolation: isolate;
}

.game-command-panel.motion-field > :not(.spark),
.hero-panel.motion-field > img {
  position: relative;
  z-index: 1;
}

.hero-panel.motion-field .floating-label {
  z-index: 2;
}

.spark {
  position: absolute;
  z-index: 0;
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: var(--primary-2);
  box-shadow: 0 0 14px rgba(255, 192, 74, 0.72);
  opacity: 0;
  pointer-events: none;
  animation: sparkFloat 5.8s ease-in-out infinite;
}

.reveal {
  opacity: 0;
  transform: translateY(22px);
  transition:
    opacity 620ms ease var(--reveal-delay, 0ms),
    transform 620ms ease var(--reveal-delay, 0ms);
}

.reveal.is-visible {
  opacity: 1;
  transform: none;
}

[data-tilt],
.game-card {
  transform-style: preserve-3d;
  will-change: transform;
}

.floating-label {
  animation: floatCard 6s ease-in-out infinite;
}

.label-b {
  animation-delay: -2.2s;
}

.btn-nuvra i {
  transition: transform 180ms ease;
}

.btn-nuvra:hover i,
.btn-nuvra:focus i {
  transform: translateX(2px);
}

@keyframes signalPulse {
  0%,
  100% {
    opacity: 0.42;
    transform: scaleX(0.68);
  }

  50% {
    opacity: 1;
    transform: scaleX(1);
  }
}

@keyframes sparkFloat {
  0%,
  100% {
    opacity: 0;
    transform: translate3d(0, 10px, 0) scale(0.7);
  }

  45% {
    opacity: 0.75;
  }

  70% {
    opacity: 0.16;
    transform: translate3d(0, -18px, 0) scale(1.15);
  }
}

@keyframes floatCard {
  0%,
  100% {
    transform: translateY(0);
  }

  50% {
    transform: translateY(-8px);
  }
}

.site-footer {
  border-top: 1px solid var(--line-soft);
  background: #0d0504;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.35fr repeat(3, 0.75fr);
  gap: 28px;
  padding: 56px 0 34px;
}

.footer-grid p,
.footer-links a,
.footer-bottom {
  color: var(--muted);
  font-size: 14px;
  line-height: 1.65;
}

.footer-grid h3 {
  margin: 0 0 14px;
  color: var(--text);
  font-size: 15px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.footer-links {
  display: grid;
  gap: 9px;
}

.footer-links a:hover,
.footer-links a:focus {
  color: var(--primary-2);
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  padding: 22px 0;
  border-top: 1px solid var(--line-soft);
}

.floating-whatsapp {
  position: fixed;
  right: 18px;
  bottom: 18px;
  z-index: 40;
  display: grid;
  place-items: center;
  width: 56px;
  height: 56px;
  border: 1px solid rgba(86, 242, 154, 0.65);
  border-radius: 8px;
  color: #06140c;
  background: linear-gradient(135deg, #25d366, var(--green));
  box-shadow: 0 0 30px rgba(86, 242, 154, 0.3);
  font-size: 26px;
}

.policy-layout {
  display: grid;
  grid-template-columns: 0.35fr 0.65fr;
  gap: 24px;
}

.policy-nav {
  position: sticky;
  top: 100px;
  align-self: start;
  display: grid;
  gap: 10px;
}

.policy-nav a,
.policy-card {
  border: 1px solid var(--line-soft);
  border-radius: 8px;
  background: var(--surface);
}

.policy-nav a {
  padding: 12px 14px;
  color: var(--text);
  font-weight: 800;
}

.policy-card {
  padding: 22px;
  margin-bottom: 16px;
}

.policy-card h2 {
  margin: 0 0 10px;
  font-family: "Orbitron", "Space Grotesk", sans-serif;
  font-size: 22px;
}

.policy-card p,
.policy-card li {
  color: var(--muted);
  line-height: 1.7;
}

.policy-card ul {
  margin: 0;
  padding-left: 20px;
}

@media (max-width: 1080px) {
  .hero-grid,
  .split-feature,
  .policy-layout,
  .game-hero-grid {
    grid-template-columns: 1fr;
  }

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

  .game-command-panel {
    max-width: 680px;
  }

  .quick-games-row {
    grid-template-columns: repeat(8, minmax(128px, 1fr));
  }

  .footer-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .label-a,
  .label-b {
    position: static;
    margin-top: 12px;
  }
}

@media (max-width: 900px) {
  .nav-links,
  .nav-actions {
    display: none;
  }

  .mobile-toggle {
    display: inline-flex;
  }

  .mobile-open .nav-links {
    position: absolute;
    left: 0;
    right: 0;
    top: 78px;
    display: grid;
    gap: 4px;
    padding: 14px 16px 18px;
    background: rgba(18, 8, 6, 0.96);
    border-bottom: 1px solid var(--line-soft);
  }

  .mobile-open .nav-links a {
    justify-content: center;
  }

  .nav-dropdown::after {
    display: none;
  }

  .mobile-open .nav-dropdown-menu {
    position: static;
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    min-width: 0;
    margin-top: 4px;
    padding: 8px;
    border-color: rgba(255, 122, 24, 0.16);
    background: rgba(255, 122, 24, 0.06);
    box-shadow: none;
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    transform: none;
  }

  .plans-grid,
  .secondary-grid,
  .feature-grid,
  .contact-grid,
  .game-list,
  .game-detail-grid,
  .related-grid {
    grid-template-columns: 1fr;
  }

  .section-head,
  .cta-grid {
    display: block;
  }

  .section-head p {
    margin-top: 14px;
  }

  .cta-grid .btn-nuvra {
    margin-top: 22px;
  }
}

@media (max-width: 640px) {
  .container-nuvra {
    width: min(100% - 22px, 1160px);
  }

  .brand-link {
    min-width: 0;
  }

  .brand-link img {
    width: 132px;
  }

  .hero {
    min-height: auto;
  }

  .hero-grid {
    padding: 58px 0 44px;
  }

  .hero h1,
  .page-hero h1,
  .game-page-hero h1 {
    font-size: 39px;
  }

  .hero-copy,
  .lead-copy {
    font-size: 16px;
  }

  .hero-stats,
  .game-grid {
    grid-template-columns: 1fr;
  }

  .section {
    padding: 62px 0;
  }

  .game-row {
    grid-template-columns: 1fr;
  }

  .game-hero-grid {
    padding: 62px 0 48px;
  }

  .game-command-panel {
    padding: 20px;
  }

  .row-action {
    min-width: 0;
    text-align: left;
  }

  .footer-grid,
  .footer-bottom {
    display: grid;
    grid-template-columns: 1fr;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    animation-duration: 1ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 1ms !important;
  }

  .reveal {
    opacity: 1;
    transform: none;
  }
}
