/* Fortune Gems 2 Demo — fortunegems2.net */
:root {
  --bg-deep: #0c1410;
  --bg-stone: #121c16;
  --bg-panel: #18241c;
  --bg-elevated: #1e2e24;
  --jungle: #1a3d2e;
  --emerald: #2dd4a0;
  --emerald-dim: #1a9b72;
  --gold: #e8c547;
  --gold-deep: #c9a227;
  --ruby: #e85a5a;
  --sapphire: #4db8e8;
  --text: #f2f5f1;
  --text-muted: #a8b5ad;
  --text-soft: #7a8a80;
  --line: rgba(232, 197, 71, 0.18);
  --radius: 14px;
  --radius-sm: 8px;
  --max: 1120px;
  --header-h: 72px;
  --font-display: "Cinzel", "Palatino Linotype", Palatino, Georgia, serif;
  --font-body: "Manrope", "Segoe UI", system-ui, -apple-system, sans-serif;
  --shadow: 0 24px 60px rgba(0, 0, 0, 0.45);
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-body);
  background: var(--bg-deep);
  color: var(--text);
  line-height: 1.6;
  min-height: 100vh;
  overflow-x: hidden;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  color: var(--emerald);
  text-decoration: none;
  transition: color 0.2s var(--ease);
}

a:hover {
  color: var(--gold);
}

ul {
  list-style: none;
}

.container {
  width: min(100% - 2rem, var(--max));
  margin-inline: auto;
}

/* Atmosphere */
.site-bg {
  position: fixed;
  inset: 0;
  z-index: -2;
  background:
    radial-gradient(ellipse 80% 50% at 15% 10%, rgba(45, 212, 160, 0.12), transparent 55%),
    radial-gradient(ellipse 60% 40% at 90% 20%, rgba(232, 197, 71, 0.1), transparent 50%),
    radial-gradient(ellipse 70% 50% at 50% 100%, rgba(26, 61, 46, 0.55), transparent 60%),
    linear-gradient(180deg, #0a100d 0%, #0c1410 40%, #101a14 100%);
}

.site-bg::after {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    radial-gradient(circle at 20% 30%, rgba(232, 197, 71, 0.04) 0 1px, transparent 1px),
    radial-gradient(circle at 70% 60%, rgba(45, 212, 160, 0.035) 0 1px, transparent 1px);
  background-size: 48px 48px, 64px 64px;
  pointer-events: none;
  opacity: 0.7;
}

/* Header */
.header {
  position: sticky;
  top: 0;
  z-index: 100;
  height: var(--header-h);
  display: flex;
  align-items: center;
  backdrop-filter: blur(16px);
  background: rgba(12, 20, 16, 0.82);
  border-bottom: 1px solid var(--line);
}

.header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  width: min(100% - 2rem, var(--max));
  margin-inline: auto;
}

.logo {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  color: var(--text);
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.05rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.logo:hover {
  color: var(--gold);
  opacity: 0.92;
}

.logo__img {
  width: auto;
  height: 36px;
  display: block;
}

.logo__mark {
  width: 36px;
  height: 36px;
  border-radius: 10px;
  background:
    linear-gradient(135deg, var(--gold) 0%, var(--emerald) 55%, var(--sapphire) 100%);
  box-shadow: 0 0 20px rgba(45, 212, 160, 0.35);
  position: relative;
  flex-shrink: 0;
}

.logo__mark::after {
  content: "";
  position: absolute;
  inset: 8px;
  background: var(--bg-deep);
  clip-path: polygon(50% 0%, 100% 50%, 50% 100%, 0% 50%);
  opacity: 0.85;
}

.logo span {
  color: var(--emerald);
}

.nav {
  display: flex;
  align-items: center;
  gap: 1.5rem;
}

.nav a {
  color: var(--text-muted);
  font-size: 0.92rem;
  font-weight: 600;
}

.nav a:hover,
.nav a.is-active {
  color: var(--gold);
}

.nav__cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.55rem 1.1rem;
  border-radius: 999px;
  background: linear-gradient(135deg, var(--gold-deep), var(--gold));
  color: #1a1405 !important;
  font-weight: 700;
  font-size: 0.88rem;
  box-shadow: 0 8px 24px rgba(232, 197, 71, 0.25);
}

.nav__cta:hover {
  filter: brightness(1.08);
  color: #1a1405 !important;
}

.nav-toggle {
  display: none;
  width: 42px;
  height: 42px;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  background: var(--bg-panel);
  cursor: pointer;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 5px;
}

.nav-toggle span {
  display: block;
  width: 18px;
  height: 2px;
  background: var(--text);
  transition: transform 0.25s var(--ease), opacity 0.2s;
}

.nav-toggle.is-open span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.nav-toggle.is-open span:nth-child(2) {
  opacity: 0;
}

.nav-toggle.is-open span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.95rem 1.6rem;
  border-radius: 999px;
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 1rem;
  line-height: 1.25;
  border: none;
  cursor: pointer;
  transition: transform 0.25s var(--ease), filter 0.2s, box-shadow 0.25s;
  text-decoration: none;
  text-align: center;
  max-width: 100%;
  min-width: 0;
  box-sizing: border-box;
}

.btn-label-short {
  display: none;
}

.btn:hover {
  transform: translateY(-2px);
}

.btn--gold {
  background: linear-gradient(135deg, #f0d56a, var(--gold-deep));
  color: #1a1405;
  box-shadow: 0 12px 32px rgba(232, 197, 71, 0.3);
}

.btn--gold:hover {
  color: #1a1405;
  filter: brightness(1.05);
}

.btn--ghost {
  background: transparent;
  color: var(--text);
  border: 1px solid var(--line);
}

.btn--ghost:hover {
  border-color: var(--emerald);
  color: var(--emerald);
}

.btn--emerald {
  background: linear-gradient(135deg, var(--emerald), var(--emerald-dim));
  color: #062218;
  box-shadow: 0 12px 32px rgba(45, 212, 160, 0.28);
}

.btn--emerald:hover {
  color: #062218;
}

/* Hero */
.hero {
  position: relative;
  min-height: calc(100vh - var(--header-h));
  display: grid;
  align-items: end;
  overflow: hidden;
  isolation: isolate;
}

.hero__media {
  position: absolute;
  inset: 0;
  z-index: -1;
}

.hero__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 30%;
  animation: heroZoom 18s var(--ease) infinite alternate;
}

.hero__media::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(12, 20, 16, 0.35) 0%, rgba(12, 20, 16, 0.55) 45%, rgba(12, 20, 16, 0.96) 100%),
    linear-gradient(90deg, rgba(12, 20, 16, 0.7) 0%, transparent 50%, rgba(12, 20, 16, 0.45) 100%);
}

@keyframes heroZoom {
  from { transform: scale(1); }
  to { transform: scale(1.06); }
}

.hero__content {
  width: min(100% - 2rem, var(--max));
  margin: 0 auto;
  padding: 4rem 0 3.5rem;
  animation: fadeUp 0.9s var(--ease) both;
}

@keyframes fadeUp {
  from {
    opacity: 0;
    transform: translateY(28px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.hero__brand {
  font-family: var(--font-display);
  font-size: clamp(2.4rem, 6vw, 4.2rem);
  font-weight: 700;
  letter-spacing: 0.03em;
  line-height: 1.05;
  text-transform: uppercase;
  margin-bottom: 0.85rem;
  background: linear-gradient(120deg, #fff8d6 10%, var(--gold) 40%, var(--emerald) 90%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  text-shadow: 0 0 40px rgba(232, 197, 71, 0.15);
}

.hero__lead {
  max-width: 34rem;
  color: var(--text-muted);
  font-size: clamp(1rem, 2vw, 1.15rem);
  margin-bottom: 1.75rem;
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem;
}

.hero__badge {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  margin-bottom: 1rem;
  padding: 0.35rem 0.75rem;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: rgba(24, 36, 28, 0.7);
  color: var(--gold);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

/* Sections */
.section {
  padding: 4.5rem 0;
}

.section--alt {
  background: linear-gradient(180deg, rgba(24, 36, 28, 0.45), transparent);
}

.section__head {
  margin-bottom: 2rem;
  max-width: 40rem;
}

.section__eyebrow {
  color: var(--emerald);
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  margin-bottom: 0.5rem;
}

.section__title {
  font-family: var(--font-display);
  font-size: clamp(1.6rem, 3.5vw, 2.35rem);
  font-weight: 700;
  letter-spacing: 0.02em;
  line-height: 1.2;
  margin-bottom: 0.65rem;
}

.section__desc {
  color: var(--text-muted);
  font-size: 1.02rem;
}

/* Stats */
.stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
}

.stat {
  text-align: center;
  padding: 1.35rem 1rem;
  background: var(--bg-panel);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  transition: border-color 0.25s, transform 0.25s var(--ease);
}

.stat:hover {
  border-color: rgba(45, 212, 160, 0.4);
  transform: translateY(-3px);
}

.stat__value {
  font-family: var(--font-display);
  font-size: clamp(1.4rem, 3vw, 1.85rem);
  color: var(--gold);
  margin-bottom: 0.25rem;
}

.stat__label {
  color: var(--text-soft);
  font-size: 0.85rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

/* Feature chips */
.features {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.feature-chip {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.7rem 1rem;
  border-radius: var(--radius-sm);
  border: 1px solid rgba(45, 212, 160, 0.35);
  color: var(--emerald);
  background: rgba(45, 212, 160, 0.06);
  font-weight: 700;
  font-size: 0.9rem;
}

.feature-chip svg {
  width: 18px;
  height: 18px;
  flex-shrink: 0;
}

/* Split layout */
.split {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 2.5rem;
  align-items: center;
}

.split--rev {
  grid-template-columns: 0.9fr 1.1fr;
}

.split__text p + p {
  margin-top: 1rem;
}

.split__text p {
  color: var(--text-muted);
}

.split__media {
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
}

.split__media img {
  width: 100%;
  aspect-ratio: 16 / 11;
  object-fit: cover;
  transition: transform 0.6s var(--ease);
}

.split__media:hover img {
  transform: scale(1.04);
}

/* Demo panel */
.demo-panel {
  position: relative;
  border-radius: calc(var(--radius) + 4px);
  overflow: hidden;
  border: 1px solid var(--line);
  background: var(--bg-panel);
  box-shadow: var(--shadow);
}

.demo-panel__frame {
  position: relative;
  aspect-ratio: 16 / 10;
  background: #000;
  min-height: 320px;
}

.demo-panel__frame iframe {
  width: 100%;
  height: 100%;
  border: 0;
  display: none;
}

.demo-panel__frame.is-playing iframe {
  display: block;
}

.demo-panel__cover {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: clamp(1rem, 4vw, 2rem);
  overflow: auto;
  background:
    linear-gradient(180deg, rgba(8, 14, 11, 0.55), rgba(8, 14, 11, 0.88)),
    url("../img/Fortune-Gems-2-7028918.jpg") center / cover no-repeat;
}

.demo-panel__cover-inner {
  width: min(100%, 28rem);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.35rem;
}

.demo-panel__frame.is-playing .demo-panel__cover {
  display: none;
}

.demo-panel__cover h2 {
  font-family: var(--font-display);
  font-size: clamp(1.25rem, 4.5vw, 2rem);
  line-height: 1.15;
  margin-bottom: 0.35rem;
  overflow-wrap: anywhere;
}

.demo-panel__cover p {
  color: var(--text-muted);
  margin-bottom: 1rem;
  max-width: 28rem;
  font-size: clamp(0.88rem, 3.4vw, 1rem);
  line-height: 1.45;
}

.demo-panel__cover .btn {
  width: min(100%, 22rem);
}

.demo-panel__bar {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem 1.25rem;
  align-items: center;
  justify-content: space-between;
  padding: 1rem 1.25rem;
  border-top: 1px solid var(--line);
  background: var(--bg-elevated);
}

.demo-panel__meta {
  color: var(--text-soft);
  font-size: 0.85rem;
  line-height: 1.4;
  flex: 1 1 12rem;
  min-width: 0;
  overflow-wrap: anywhere;
}

.demo-panel__bar .btn {
  flex: 0 1 auto;
}

/* Cards for content blocks — only where interactive/list */
.info-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
}

.info-block {
  padding: 1.5rem;
  border-top: 2px solid var(--gold);
  background: transparent;
}

.info-block h3 {
  font-family: var(--font-display);
  font-size: 1.15rem;
  margin-bottom: 0.6rem;
  color: var(--gold);
}

.info-block p {
  color: var(--text-muted);
  font-size: 0.95rem;
}

/* Paytable */
.paytable {
  width: 100%;
  border-collapse: collapse;
  overflow: hidden;
  border-radius: var(--radius);
  border: 1px solid var(--line);
}

.paytable th,
.paytable td {
  padding: 0.9rem 1.1rem;
  text-align: left;
  border-bottom: 1px solid var(--line);
}

.paytable th {
  background: var(--bg-elevated);
  color: var(--gold);
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.paytable tr:last-child td {
  border-bottom: none;
}

.paytable td {
  color: var(--text-muted);
  background: var(--bg-panel);
}

.paytable tr:hover td {
  color: var(--text);
}

/* Pros / cons */
.compare {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
}

.compare__col h3 {
  font-family: var(--font-display);
  margin-bottom: 1rem;
  font-size: 1.2rem;
}

.compare__col--pro h3 { color: var(--emerald); }
.compare__col--con h3 { color: var(--ruby); }

.compare__col li {
  position: relative;
  padding: 0.55rem 0 0.55rem 1.4rem;
  color: var(--text-muted);
  border-bottom: 1px solid rgba(255, 255, 255, 0.04);
}

.compare__col li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 1rem;
  width: 7px;
  height: 7px;
  border-radius: 50%;
}

.compare__col--pro li::before { background: var(--emerald); }
.compare__col--con li::before { background: var(--ruby); }

/* FAQ */
.faq {
  display: grid;
  gap: 0.75rem;
}

.faq details {
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  background: var(--bg-panel);
  padding: 1rem 1.15rem;
}

.faq summary {
  cursor: pointer;
  font-weight: 700;
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
}

.faq summary::-webkit-details-marker {
  display: none;
}

.faq summary::after {
  content: "+";
  color: var(--gold);
  font-size: 1.25rem;
  line-height: 1;
}

.faq details[open] summary::after {
  content: "−";
}

.faq details p {
  margin-top: 0.75rem;
  color: var(--text-muted);
  padding-right: 1.5rem;
}

/* Gallery */
.gallery {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
}

.gallery a {
  display: block;
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--line);
  aspect-ratio: 16 / 11;
}

.gallery img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s var(--ease);
}

.gallery a:hover img {
  transform: scale(1.05);
}

/* Page hero (inner) */
.page-hero {
  padding: 3.5rem 0 2rem;
  border-bottom: 1px solid var(--line);
}

.page-hero h1 {
  font-family: var(--font-display);
  font-size: clamp(1.8rem, 4vw, 2.8rem);
  line-height: 1.15;
  margin-bottom: 0.75rem;
}

.page-hero p {
  color: var(--text-muted);
  max-width: 40rem;
  font-size: 1.05rem;
}

.breadcrumb {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  margin-bottom: 1rem;
  font-size: 0.85rem;
  color: var(--text-soft);
}

.breadcrumb a {
  color: var(--text-soft);
}

.breadcrumb a:hover {
  color: var(--gold);
}

/* Content prose */
.prose {
  max-width: 720px;
}

.prose h2 {
  font-family: var(--font-display);
  font-size: 1.45rem;
  margin: 2.25rem 0 0.85rem;
  color: var(--gold);
}

.prose h3 {
  font-family: var(--font-display);
  font-size: 1.15rem;
  margin: 1.75rem 0 0.65rem;
}

.prose p,
.prose li {
  color: var(--text-muted);
  margin-bottom: 1rem;
}

.prose ul,
.prose ol {
  padding-left: 1.25rem;
  margin-bottom: 1.25rem;
}

.prose ul {
  list-style: disc;
}

.prose ol {
  list-style: decimal;
}

.prose li {
  margin-bottom: 0.45rem;
}

.prose strong {
  color: var(--text);
  font-weight: 700;
}

.prose a {
  text-decoration: underline;
  text-underline-offset: 3px;
}

/* Contact */
.contact-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 2rem;
}

.form {
  display: grid;
  gap: 1rem;
}

.form label {
  display: grid;
  gap: 0.4rem;
  font-weight: 600;
  font-size: 0.9rem;
}

.form input,
.form textarea,
.form select {
  width: 100%;
  padding: 0.85rem 1rem;
  border-radius: var(--radius-sm);
  border: 1px solid var(--line);
  background: var(--bg-panel);
  color: var(--text);
  font: inherit;
  outline: none;
  transition: border-color 0.2s;
}

.form input:focus,
.form textarea:focus,
.form select:focus {
  border-color: var(--emerald);
}

.form textarea {
  min-height: 140px;
  resize: vertical;
}

.contact-aside {
  padding: 1.5rem 0;
}

.contact-aside h2 {
  font-family: var(--font-display);
  font-size: 1.25rem;
  margin-bottom: 0.75rem;
}

.contact-aside p {
  color: var(--text-muted);
  margin-bottom: 1.25rem;
}

.contact-aside a {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  color: var(--text);
  font-weight: 600;
  margin-bottom: 0.75rem;
}

/* Steps */
.steps {
  display: grid;
  gap: 1.25rem;
  counter-reset: step;
}

.step {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 1rem;
  align-items: start;
}

.step::before {
  counter-increment: step;
  content: counter(step);
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: linear-gradient(135deg, var(--gold), var(--gold-deep));
  color: #1a1405;
  font-weight: 800;
  font-family: var(--font-display);
}

.step h3 {
  font-size: 1.05rem;
  margin-bottom: 0.3rem;
}

.step p {
  color: var(--text-muted);
  font-size: 0.95rem;
}

/* CTA band */
.cta-band {
  margin: 2rem 0;
  padding: 2.5rem;
  border-radius: var(--radius);
  border: 1px solid var(--line);
  background:
    radial-gradient(ellipse at 20% 50%, rgba(45, 212, 160, 0.12), transparent 55%),
    radial-gradient(ellipse at 90% 30%, rgba(232, 197, 71, 0.1), transparent 45%),
    var(--bg-panel);
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
}

.cta-band--mt {
  margin-top: 2rem;
}

.cta-band__copy {
  flex: 1 1 16rem;
  min-width: 0;
}

.cta-band__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  align-items: center;
  flex: 0 1 auto;
  min-width: 0;
}

.cta-band > .btn {
  flex: 0 1 auto;
  min-width: 0;
}

.cta-band h2 {
  font-family: var(--font-display);
  font-size: clamp(1.25rem, 4vw, 1.8rem);
  line-height: 1.2;
  margin-bottom: 0.4rem;
  overflow-wrap: anywhere;
}

.cta-band p {
  color: var(--text-muted);
  max-width: 32rem;
  line-height: 1.5;
}

/* Footer */
.footer {
  border-top: 1px solid var(--line);
  background: #0a100d;
  padding: 3rem 0 2rem;
  margin-top: 2rem;
}

.footer__grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: 2rem;
  margin-bottom: 2.5rem;
}

.footer__brand {
  font-family: var(--font-display);
  font-size: 1.15rem;
  margin-bottom: 0.75rem;
}

.footer__brand span {
  color: var(--emerald);
}

.footer p,
.footer li {
  color: var(--text-soft);
  font-size: 0.9rem;
}

.footer a {
  color: var(--text-muted);
}

.footer a:hover {
  color: var(--gold);
}

.footer h3 {
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--gold);
  margin-bottom: 0.85rem;
}

.footer ul {
  display: grid;
  gap: 0.45rem;
}

.footer__bottom {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  justify-content: space-between;
  align-items: center;
  padding-top: 1.5rem;
  border-top: 1px solid var(--line);
  color: var(--text-soft);
  font-size: 0.85rem;
}

.age-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: 2px solid var(--ruby);
  color: var(--ruby);
  font-weight: 800;
  font-size: 0.75rem;
}

/* Reveal animation */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.7s var(--ease), transform 0.7s var(--ease);
}

.reveal.is-visible {
  opacity: 1;
  transform: none;
}

/* Lightbox */
.lightbox {
  position: fixed;
  inset: 0;
  z-index: 200;
  display: none;
  place-items: center;
  background: rgba(0, 0, 0, 0.88);
  padding: 1.5rem;
}

.lightbox.is-open {
  display: grid;
}

.lightbox img {
  max-height: 90vh;
  max-width: 95vw;
  border-radius: var(--radius);
}

.lightbox__close {
  position: absolute;
  top: 1rem;
  right: 1rem;
  width: 44px;
  height: 44px;
  border: none;
  border-radius: 50%;
  background: var(--bg-elevated);
  color: var(--text);
  font-size: 1.4rem;
  cursor: pointer;
}

/* Form success */
.form-note {
  display: none;
  padding: 0.85rem 1rem;
  border-radius: var(--radius-sm);
  background: rgba(45, 212, 160, 0.12);
  border: 1px solid rgba(45, 212, 160, 0.35);
  color: var(--emerald);
  font-weight: 600;
}

.form-note.is-show {
  display: block;
}

/* Responsive */
@media (max-width: 900px) {
  .stats {
    grid-template-columns: repeat(2, 1fr);
  }

  .split,
  .split--rev,
  .contact-grid,
  .footer__grid,
  .compare,
  .info-grid,
  .gallery {
    grid-template-columns: 1fr;
  }

  .nav-toggle {
    display: flex;
  }

  .nav {
    position: fixed;
    top: var(--header-h);
    left: 0;
    right: 0;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 1rem;
    background: rgba(12, 20, 16, 0.96);
    border-bottom: 1px solid var(--line);
    transform: translateY(-120%);
    opacity: 0;
    pointer-events: none;
    transition: transform 0.3s var(--ease), opacity 0.3s;
  }

  .nav.is-open {
    transform: none;
    opacity: 1;
    pointer-events: auto;
  }

  .nav a {
    padding: 0.85rem 0.5rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
  }

  .nav__cta {
    margin-top: 0.5rem;
    text-align: center;
  }

  .gallery {
    grid-template-columns: 1fr 1fr;
  }
}

/* Trust / promise strip — India SERP clarity */
.promise-strip {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0.75rem;
  margin-top: 1.5rem;
}

.promise {
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
  padding: 0.85rem 0.9rem;
  border-radius: var(--radius-sm);
  border: 1px solid var(--line);
  background: rgba(24, 36, 28, 0.75);
  text-align: center;
}

.promise__label {
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--gold);
}

.promise__text {
  font-size: 0.82rem;
  color: var(--text-muted);
  font-weight: 600;
  line-height: 1.3;
}

.trust-bar {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-bottom: 1rem;
}

.trust-chip {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.4rem 0.7rem;
  border-radius: 999px;
  background: rgba(45, 212, 160, 0.1);
  border: 1px solid rgba(45, 212, 160, 0.28);
  color: var(--emerald);
  font-size: 0.78rem;
  font-weight: 700;
}

.trust-chip--gold {
  background: rgba(232, 197, 71, 0.1);
  border-color: rgba(232, 197, 71, 0.3);
  color: var(--gold);
}

.trust-chip--soft {
  background: rgba(255, 255, 255, 0.04);
  border-color: var(--line);
  color: var(--text-muted);
}

/* Inline specs under demo */
.specs-inline {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 0.65rem;
  margin-top: 1.25rem;
}

.specs-inline .stat {
  padding: 1rem 0.65rem;
}

.specs-inline .stat__value {
  font-size: 1.25rem;
}

/* How-to compact for mobile India */
.howto-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 0.85rem;
}

.howto-card {
  padding: 1.15rem 1rem;
  border-radius: var(--radius);
  border: 1px solid var(--line);
  background: var(--bg-panel);
  min-height: 100%;
}

.howto-card__num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--gold), var(--gold-deep));
  color: #1a1405;
  font-weight: 800;
  font-size: 0.85rem;
  margin-bottom: 0.7rem;
}

.howto-card h3 {
  font-size: 0.98rem;
  margin-bottom: 0.35rem;
}

.howto-card p {
  color: var(--text-muted);
  font-size: 0.88rem;
  line-height: 1.45;
}

/* Related Tier-2 games */
.related-rail {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
}

.related-card {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  padding: 1.15rem;
  border-radius: var(--radius);
  border: 1px solid var(--line);
  background: var(--bg-panel);
  color: inherit;
  transition: border-color 0.25s, transform 0.25s var(--ease);
  min-height: 100%;
}

.related-card:hover {
  border-color: rgba(45, 212, 160, 0.45);
  transform: translateY(-3px);
  color: inherit;
}

.related-card__icon {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  display: grid;
  place-items: center;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.85rem;
  color: #0c1410;
}

.related-card__icon--emerald { background: linear-gradient(135deg, #5ff0c0, #1a9b72); }
.related-card__icon--gold { background: linear-gradient(135deg, #f0d56a, #c9a227); }
.related-card__icon--ruby { background: linear-gradient(135deg, #ff8a8a, #c94444); }
.related-card__icon--sapphire { background: linear-gradient(135deg, #7ad0f5, #2a8fbf); }
.related-card__icon--amber { background: linear-gradient(135deg, #ffc878, #d4892a); }
.related-card__icon--violet { background: linear-gradient(135deg, #c4a8ff, #7a5cc8); }

.related-card h3 {
  font-family: var(--font-display);
  font-size: 1.05rem;
  line-height: 1.25;
}

.related-card p {
  color: var(--text-muted);
  font-size: 0.9rem;
  flex: 1;
}

.related-card__meta {
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--text-soft);
}

/* Diff / compare table */
.diff-table {
  width: 100%;
  border-collapse: collapse;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
}

.diff-table th,
.diff-table td {
  padding: 0.95rem 1rem;
  text-align: left;
  border-bottom: 1px solid var(--line);
  vertical-align: top;
}

.diff-table th {
  background: var(--bg-elevated);
  color: var(--gold);
  font-size: 0.82rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.diff-table td {
  background: var(--bg-panel);
  color: var(--text-muted);
  font-size: 0.95rem;
}

.diff-table tr:last-child td {
  border-bottom: none;
}

.diff-table .hl {
  color: var(--emerald);
  font-weight: 700;
}

/* India note */
.india-note {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 1.5rem;
  align-items: center;
  padding: 1.5rem;
  border-radius: var(--radius);
  border: 1px solid rgba(45, 212, 160, 0.25);
  background:
    radial-gradient(ellipse at 0% 50%, rgba(45, 212, 160, 0.1), transparent 55%),
    var(--bg-panel);
}

.india-note h3 {
  font-family: var(--font-display);
  font-size: 1.25rem;
  margin-bottom: 0.5rem;
}

.india-note p {
  color: var(--text-muted);
}

.india-note__points {
  display: grid;
  gap: 0.55rem;
}

.india-note__points li {
  display: flex;
  gap: 0.55rem;
  align-items: flex-start;
  color: var(--text-muted);
  font-size: 0.92rem;
}

.india-note__points li::before {
  content: "";
  width: 8px;
  height: 8px;
  margin-top: 0.45rem;
  border-radius: 50%;
  background: var(--emerald);
  flex-shrink: 0;
}

/* Sticky mobile play bar */
.mobile-playbar {
  display: none;
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 90;
  padding: 0.65rem 0.85rem calc(0.65rem + env(safe-area-inset-bottom, 0px));
  background: rgba(10, 16, 13, 0.96);
  backdrop-filter: blur(12px);
  border-top: 1px solid var(--line);
  gap: 0.55rem;
  align-items: stretch;
  box-sizing: border-box;
  width: 100%;
  max-width: 100vw;
}

.mobile-playbar .btn {
  flex: 1 1 0;
  min-width: 0;
  padding: 0.8rem 0.65rem;
  font-size: 0.9rem;
  white-space: nowrap;
}

.mobile-playbar .btn--ghost {
  flex: 0 0 auto;
  min-width: 4.75rem;
  padding-inline: 0.9rem;
}

.mobile-playbar .btn--gold {
  flex: 1 1 auto;
}

.mobile-playbar .btn-label-long {
  display: none;
}

.mobile-playbar .btn-label-short {
  display: inline;
}

body.has-playbar {
  padding-bottom: calc(4.75rem + env(safe-area-inset-bottom, 0px));
}

.disclaimer {
  margin-top: 0.85rem;
  color: var(--text-soft);
  font-size: 0.82rem;
  line-height: 1.45;
}

@media (max-width: 900px) {
  .container {
    width: min(100% - 1.5rem, var(--max));
  }

  .section {
    padding: 3.25rem 0;
  }

  .promise-strip {
    grid-template-columns: repeat(2, 1fr);
  }

  .specs-inline {
    grid-template-columns: repeat(3, 1fr);
  }

  .howto-grid {
    grid-template-columns: 1fr;
  }

  .related-rail {
    grid-template-columns: 1fr 1fr;
  }

  .india-note {
    grid-template-columns: 1fr;
  }

  .mobile-playbar {
    display: flex;
  }

  body.has-playbar {
    padding-bottom: calc(4.75rem + env(safe-area-inset-bottom, 0px));
  }

  .demo-panel__frame {
    aspect-ratio: 4 / 3;
    min-height: 280px;
  }

  .demo-panel__bar {
    flex-direction: column;
    align-items: stretch;
    gap: 0.85rem;
    padding: 1rem;
  }

  .demo-panel__meta {
    flex: none;
    width: 100%;
    text-align: center;
  }

  .demo-panel__bar .btn {
    width: 100%;
  }

  .cta-band {
    flex-direction: column;
    align-items: stretch;
    padding: 1.5rem;
    gap: 1.15rem;
  }

  .cta-band__copy,
  .cta-band > div:not(.cta-band__actions) {
    width: 100%;
  }

  .cta-band__actions {
    width: 100%;
    flex-direction: column;
  }

  .cta-band__actions .btn,
  .cta-band > .btn {
    width: 100%;
  }

  .footer__bottom {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.75rem;
  }

  .footer__bottom p {
    max-width: 100%;
    overflow-wrap: anywhere;
  }
}

@media (max-width: 560px) {
  .container {
    width: min(100% - 1.25rem, var(--max));
  }

  .stats {
    grid-template-columns: 1fr 1fr;
  }

  .gallery {
    grid-template-columns: 1fr;
  }

  .logo__img {
    height: 30px;
  }

  .section {
    padding: 2.75rem 0;
  }

  .section__title {
    font-size: clamp(1.35rem, 7vw, 1.85rem);
    overflow-wrap: anywhere;
  }

  .hero {
    min-height: 78vh;
  }

  .hero__content {
    width: min(100% - 1.25rem, var(--max));
    padding: 2.5rem 0 2rem;
  }

  .hero__brand {
    font-size: clamp(1.85rem, 9vw, 2.6rem);
    overflow-wrap: anywhere;
  }

  .hero__lead {
    font-size: 0.98rem;
    margin-bottom: 1.35rem;
  }

  .hero__actions {
    flex-direction: column;
    align-items: stretch;
    gap: 0.65rem;
  }

  .hero__actions .btn {
    width: 100%;
  }

  .trust-bar {
    gap: 0.4rem;
  }

  .trust-chip {
    font-size: 0.72rem;
    padding: 0.35rem 0.6rem;
  }

  .promise-strip {
    grid-template-columns: 1fr 1fr;
    gap: 0.55rem;
  }

  .promise {
    padding: 0.7rem 0.55rem;
  }

  .promise__text {
    font-size: 0.75rem;
  }

  .demo-panel {
    border-radius: var(--radius);
  }

  .demo-panel__frame {
    aspect-ratio: 3 / 4;
    min-height: 320px;
    max-height: min(70vh, 520px);
  }

  .demo-panel__cover {
    padding: 1rem 0.85rem;
  }

  .demo-panel__cover h2 {
    font-size: clamp(1.15rem, 6vw, 1.45rem);
  }

  .demo-panel__cover p {
    margin-bottom: 0.85rem;
    font-size: 0.88rem;
  }

  .demo-panel__meta {
    font-size: 0.78rem;
  }

  .specs-inline {
    grid-template-columns: repeat(2, 1fr);
    gap: 0.5rem;
  }

  .specs-inline .stat {
    padding: 0.85rem 0.45rem;
  }

  .specs-inline .stat__value {
    font-size: 1.1rem;
  }

  .related-rail {
    grid-template-columns: 1fr;
  }

  .cta-band {
    padding: 1.25rem;
    margin: 1.25rem 0;
  }

  .cta-band h2 {
    font-size: 1.2rem;
  }

  .cta-band p {
    font-size: 0.92rem;
  }

  .btn {
    white-space: normal;
    padding: 0.85rem 1.15rem;
    font-size: 0.95rem;
  }

  .mobile-playbar .btn {
    white-space: nowrap;
    font-size: 0.88rem;
    padding: 0.78rem 0.55rem;
  }

  .diff-table {
    display: block;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation: none !important;
    transition: none !important;
  }
}
