/* ============================================================
   Teen Patti Master — Design-Clone Stylesheet
   NOTE: Placeholder/demo build. Front-end techniques only.
   ============================================================ */

@import url('https://fonts.googleapis.com/css2?family=Cinzel:wght@400;600;700;900&family=Cinzel+Decorative:wght@700;900&family=Inter:wght@400;500;600;700;800;900&display=swap');

:root {
  --bg-black: rgb(11, 11, 11);
  --bg-deep: rgb(7, 3, 15);
  --bg-plum: rgb(13, 6, 24);
  --purple: rgb(90, 30, 115);
  --purple-soft: rgba(90, 30, 115, 0.2);
  --gold: rgb(212, 175, 55);
  --gold-bright: rgb(240, 208, 96);
  --gold-dim: rgb(168, 136, 15);
  --white: rgb(255, 255, 255);
  --text-dim: rgba(255, 255, 255, 0.6);
  --text-faint: rgba(255, 255, 255, 0.4);
  --font-display: 'Cinzel Decorative', 'Cinzel', serif;
  --font-heading: 'Cinzel', serif;
  --font-body: 'Inter', sans-serif;
  --radius-lg: 24px;
  --radius-md: 16px;
  --radius-sm: 10px;
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

section[id] {
  scroll-margin-top: 80px;
}

body {
  font-family: var(--font-body);
  background: var(--bg-black);
  color: var(--white);
  line-height: 1.5;
  overflow-x: hidden;
}

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

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

button {
  font-family: inherit;
  border: none;
  background: none;
  cursor: pointer;
  color: inherit;
}

ul {
  list-style: none;
}

.wrap {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 24px;
}

@media (min-width:640px) {
  .wrap {
    padding: 32px 32px;
  }
}

.gold-text {
  background: linear-gradient(135deg, var(--gold-bright), var(--gold), var(--gold-dim));
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
}

/* hero-banner-image */
@keyframes crownFloat {

  0%,
  100% {
    transform: translateY(-2px) rotate(-3deg)
  }

  50% {
    transform: translateY(-12px) rotate(3deg)
  }
}

@keyframes pulseGlow {

  0%,
  100% {
    box-shadow: 0 0 0 2px rgba(212, 175, 55, 0.9), 0 0 40px rgba(212, 175, 55, 0.55), 0 20px 60px rgba(0, 0, 0, 0.8)
  }

  50% {
    box-shadow: 0 0 0 3px rgba(212, 175, 55, 1), 0 0 70px rgba(212, 175, 55, 0.85), 0 20px 60px rgba(0, 0, 0, 0.8)
  }
}

@keyframes spinCW {
  from {
    transform: rotate(0deg)
  }

  to {
    transform: rotate(360deg)
  }
}

@keyframes spinCCW {
  from {
    transform: rotate(0deg)
  }

  to {
    transform: rotate(-360deg)
  }
}

@keyframes floatUp {

  0%,
  100% {
    transform: translateY(0)
  }

  50% {
    transform: translateY(-7px)
  }
}

@keyframes sparkPulse {

  0%,
  100% {
    opacity: 0.5;
    transform: scale(1)
  }

  50% {
    opacity: 1;
    transform: scale(1.5)
  }
}

@keyframes trophyWiggle {

  0%,
  100% {
    transform: rotate(-5deg) scale(1)
  }

  50% {
    transform: rotate(5deg) scale(1.1)
  }
}

@keyframes coinPop {

  0%,
  100% {
    transform: translateY(0) scale(1)
  }

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

@keyframes blobPulse {

  0%,
  100% {
    opacity: 1;
    transform: scale(1)
  }

  50% {
    opacity: 0.7;
    transform: scale(1.1)
  }
}

@keyframes centerPulse {

  0%,
  100% {
    box-shadow: 0 0 0 2px rgba(212, 175, 55, 0.9), 0 0 40px rgba(212, 175, 55, 0.55), 0 20px 60px rgba(0, 0, 0, 0.8)
  }

  50% {
    box-shadow: 0 0 0 3px rgba(212, 175, 55, 1), 0 0 70px rgba(212, 175, 55, 0.85), 0 20px 60px rgba(0, 0, 0, 0.8)
  }
}

/* @media(max-width:768px){#hero{height:0!important;min-height:0!important}} */
/* hero-banner-image */

.eyebrow {
  display: inline-block;
  padding: 6px 16px;
  border-radius: 999px;
  font-family: var(--font-heading);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  background: rgba(212, 175, 55, 0.15);
  border: 1px solid rgba(212, 175, 55, 0.3);
  color: var(--gold);
  margin-bottom: 16px;
}

.section-head {
  text-align: center;
  max-width: 640px;
  margin: 0 auto 48px;
}

.section-head h2 {
  font-family: var(--font-heading);
  font-weight: 900;
  font-size: clamp(28px, 4vw, 38px);
  margin-bottom: 14px;
}

.section-head p {
  color: var(--text-faint);
  font-size: 15px;
}

.section {
  padding: 80px 0;
  position: relative;
}

.section--black {
  background: var(--bg-black);
}

.section--fade-plum {
  background: linear-gradient(var(--bg-black) 0%, var(--bg-plum) 100%);
}

.section--fade-back {
  background: linear-gradient(var(--bg-plum) 0%, var(--bg-black) 100%);
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  justify-content: center;
  border-radius: 12px;
  padding: 16px 32px;
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 15px;
  letter-spacing: 0.04em;
  cursor: pointer;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
  border: 1px solid transparent;
}

.btn-gold {
  background: linear-gradient(135deg, rgb(245, 224, 112) 0%, var(--gold) 45%, rgb(154, 122, 16) 100%);
  color: var(--bg-black);
  box-shadow: 0 0 0 1px rgba(240, 208, 96, 0.4), 0 6px 32px rgba(212, 175, 55, 0.5);
}

.btn-gold:hover {
  transform: translateY(-2px);
  box-shadow: 0 0 0 1px rgba(240, 208, 96, 0.6), 0 10px 40px rgba(212, 175, 55, 0.65);
}

.btn-ghost {
  border: 1px solid rgba(212, 175, 55, 0.25);
  background: rgba(212, 175, 55, 0.06);
  color: rgba(255, 255, 255, 0.85);
  backdrop-filter: blur(8px);
  font-family: var(--font-body);
  font-weight: 600;
}

.btn-ghost:hover {
  background: rgba(212, 175, 55, 0.12);
  transform: translateY(-2px);
}

.btn-pill {
  border-radius: 999px;
  padding: 10px 20px;
  font-size: 13px;
  background: linear-gradient(135deg, var(--gold), var(--gold-dim));
  color: var(--bg-black);
}

.btn-pill:hover {
  transform: translateY(-2px);
}

/* ---------- Scroll progress bar ---------- */
.scroll-progress {
  position: fixed;
  top: 0;
  left: 0;
  height: 3px;
  width: 0%;
  z-index: 110;
  background: linear-gradient(90deg, var(--purple), var(--gold-bright), var(--gold));
  box-shadow: 0 0 12px rgba(212, 175, 55, 0.7);
  transition: width .1s linear;
}

/* ---------- Trust ticker (marquee) ---------- */
.ticker {
  position: relative;
  overflow: hidden;
  padding: 14px 0;
  background: linear-gradient(90deg, var(--bg-deep), rgb(15, 6, 32), var(--bg-deep));
  border-top: 1px solid rgba(212, 175, 55, 0.2);
  border-bottom: 1px solid rgba(212, 175, 55, 0.2);
}

.ticker::before,
.ticker::after {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  width: 60px;
  z-index: 2;
  pointer-events: none;
}

.ticker::before {
  left: 0;
  background: linear-gradient(90deg, var(--bg-deep), transparent);
}

.ticker::after {
  right: 0;
  background: linear-gradient(270deg, var(--bg-deep), transparent);
}

.ticker-track {
  display: flex;
  gap: 40px;
  width: max-content;
  animation: ticker-scroll 32s linear infinite;
}

.ticker:hover .ticker-track {
  animation-play-state: paused;
}

@keyframes ticker-scroll {
  from {
    transform: translateX(0);
  }

  to {
    transform: translateX(-50%);
  }
}

.ticker-item {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  white-space: nowrap;
  font-family: var(--font-heading);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.03em;
  color: rgba(212, 175, 55, 0.9);
}

/* ---------- Nav ---------- */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  background: rgba(10, 5, 20, 0.95);
  backdrop-filter: blur(20px);
  border-bottom: 1px solid rgba(212, 175, 55, 0.3);
  box-shadow: 0 4px 40px rgba(90, 30, 115, 0.3);
  transition: all .3s ease;
}

.nav .wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 64px;
}

@media (min-width:768px) {
  .nav .wrap {
    height: 80px;
  }
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
}

.brand-mark {
  width: 40px;
  height: 40px;
  border-radius: 999px;
  flex-shrink: 0;
  background: radial-gradient(circle at 35% 30%, rgba(212, 175, 55, 0.9), rgb(120, 80, 10));
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
}

.brand span {
  font-family: var(--font-heading);
  font-weight: 700;
  color: var(--gold);
  letter-spacing: 0.03em;
  font-size: 18px;
}

.nav-links {
  display: none;
  align-items: center;
  gap: 24px;
}

.nav-links a {
  font-size: 14px;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.8);
  letter-spacing: 0.02em;
  transition: color .2s;
}

.nav-links a:hover {
  color: var(--gold);
}

.nav-cta {
  display: none;
}

.nav-cta .btn {
  border-radius: 999px;
  padding: 10px 24px;
  font-size: 14px;
  box-shadow: 0 0 20px rgba(212, 175, 55, 0.4), 0 4px 15px rgba(0, 0, 0, 0.3);
  border: 1px solid rgba(240, 208, 96, 0.6);
}

.nav-toggle {
  display: flex;
  flex-direction: column;
  gap: 5px;
  padding: 8px;
}

.nav-toggle span {
  width: 22px;
  height: 2px;
  background: var(--gold);
  display: block;
}

.mobile-menu {
  display: none;
  flex-direction: column;
  gap: 4px;
  padding: 12px 24px 20px;
  background: rgba(10, 5, 20, 0.98);
  border-top: 1px solid rgba(212, 175, 55, 0.15);
}

.mobile-menu.open {
  display: flex;
}

.mobile-menu a {
  padding: 10px 0;
  font-size: 14px;
  color: rgba(255, 255, 255, 0.8);
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.mobile-menu .btn {
  margin-top: 10px;
}

.nav-links-extra {
  display: none;
  align-items: center;
  gap: 24px;
}

@media (min-width:768px) {
  .nav-links {
    display: flex;
  }

  .nav-cta {
    display: flex;
  }

  .nav-toggle {
    display: none;
  }

  .mobile-menu {
    display: none !important;
  }
}

@media (min-width:1180px) {
  .nav-links-extra {
    display: flex;
  }
}

/* ---------- Hero ---------- */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding-top: 96px;
  overflow: hidden;
  background: linear-gradient(135deg, var(--bg-deep) 0%, rgb(15, 6, 32) 50%, var(--bg-deep) 100%);
}

.hero-bg {
  position: absolute;
  inset: 0;
  background-image: url('assets/hero-banner.jpg');
  background-size: cover;
  background-position: center 30%;
  opacity: 0.16;
  filter: saturate(1.1);
}

.hero-bg::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(rgba(7, 3, 15, 0.75) 0%, rgba(7, 3, 15, 0.55) 40%, rgba(7, 3, 15, 0.95) 100%);
}

.hero-bg::after {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(at 50% 40%, rgba(90, 30, 115, 0.45) 0%, transparent 65%);
}

.hero-glow-line {
  position: absolute;
  bottom: 15%;
  left: 50%;
  transform: translateX(-50%);
  width: 70%;
  height: 2px;
  filter: blur(4px);
  background: linear-gradient(90deg, transparent, rgba(212, 175, 55, 0.3), rgba(212, 175, 55, 0.6), rgba(212, 175, 55, 0.3), transparent);
}

.hero .wrap {
  position: relative;
  z-index: 2;
}

.hero-grid {
  display: grid;
  gap: 48px;
  align-items: center;
}

@media (min-width:1024px) {
  .hero-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (min-width:1280px) {
  .hero-grid {
    gap: 80px;
  }
}

.hero-badges {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin-bottom: 20px;
}

.badge-live {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 14px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 700;
  background: rgba(90, 30, 115, 0.7);
  border: 1px solid rgba(212, 175, 55, 0.35);
  color: rgb(224, 192, 96);
  backdrop-filter: blur(8px);
}

.hero h1 {
  font-family: var(--font-display);
  font-weight: 900;
  line-height: 1.05;
}

.hero h1 .line1 {
  display: block;
  font-size: 48px;
  line-height: 1.05;
  background: linear-gradient(140deg, rgb(255, 240, 160) 0%, rgb(240, 208, 96) 20%, var(--gold) 50%, rgb(139, 105, 20) 75%, var(--gold) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
  filter: drop-shadow(0 0 30px rgba(212, 175, 55, 0.4));
}

.hero h1 .line2 {
  display: block;
  font-size: 36px;
  color: var(--white);
  margin-top: 4px;
  line-height: 1.1;
  text-shadow: 0 0 50px rgba(90, 30, 115, 0.9), 0 2px 4px rgba(0, 0, 0, 0.8);
}

@media (min-width:640px) {
  .hero h1 .line1 {
    font-size: 60px;
  }

  .hero h1 .line2 {
    font-size: 48px;
  }
}

@media (min-width:1024px) {
  .hero h1 .line1 {
    font-size: 72px;
  }

  .hero h1 .line2 {
    font-size: 60px;
  }
}

@media (min-width:1280px) {
  .hero h1 .line1 {
    font-size: 80px;
  }

  .hero h1 .line2 {
    font-size: 72px;
  }
}

.hero-divider {
  display: flex;
  align-items: center;
  gap: 16px;
  margin: 18px 0;
}

.hero-divider .line {
  height: 1px;
  flex: 1;
  max-width: 60px;
  background: linear-gradient(90deg, transparent, rgba(212, 175, 55, 0.6));
}

.hero-divider .line.right {
  background: linear-gradient(90deg, rgba(212, 175, 55, 0.6), transparent);
}

.hero-divider span {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: rgba(212, 175, 55, 0.8);
}

.hero p.lede {
  color: rgba(255, 255, 255, 0.68);
  font-size: 16px;
  line-height: 1.8;
  max-width: 520px;
  margin-bottom: 20px;
}

.hero p.lede strong {
  color: rgba(255, 255, 255, 0.92);
}

.chip-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 26px;
}

.chip {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 12px;
  border-radius: 8px;
  font-size: 12px;
  font-weight: 600;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.1);
  color: rgba(255, 255, 255, 0.75);
}

.hero-ctas {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  align-items: center;
  margin-bottom: 26px;
}

.social-proof {
  display: flex;
  align-items: center;
  gap: 16px;
}

.avatar-stack {
  display: flex;
}

.avatar-stack .avatar {
  width: 36px;
  height: 36px;
  border-radius: 999px;
  border: 2px solid var(--bg-deep);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 12px;
  font-weight: 900;
  color: #fff;
  margin-left: -10px;
}

.avatar-stack .avatar:first-child {
  margin-left: 0;
}

.social-proof .text {
  font-size: 14px;
  color: rgba(255, 255, 255, 0.55);
  line-height: 1.3;
}

.social-proof strong {
  color: #fff;
  font-weight: 700;
}

/* ---------- Hero Cards ---------- */
.hero-visual {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  height: 340px;
}

@media (min-width:640px) {
  .hero-visual {
    height: 420px;
  }
}

@media (min-width:1024px) {
  .hero-visual {
    height: 480px;
  }
}

.orb {
  position: absolute;
  border-radius: 999px;
  pointer-events: none;
}

.orb-1 {
  width: 340px;
  height: 340px;
  background: radial-gradient(circle, rgba(90, 30, 115, 0.6) 0%, rgba(212, 175, 55, 0.08) 55%, transparent 70%);
  filter: blur(50px);
}

.orb-2 {
  width: 220px;
  height: 220px;
  background: radial-gradient(circle, rgba(212, 175, 55, 0.18) 0%, transparent 70%);
  filter: blur(28px);
}

.ring {
  position: absolute;
  border-radius: 999px;
  pointer-events: none;
}

.ring-1 {
  width: 240px;
  height: 240px;
  border: 1px dashed rgba(212, 175, 55, 0.18);
}

.ring-2 {
  width: 320px;
  height: 320px;
  border: 1px solid rgba(212, 175, 55, 0.13);
}

.ring-3 {
  width: 400px;
  height: 400px;
  border: 1px dashed rgba(212, 175, 55, 0.08);
}

.hero-banner-img {
  position: relative;
  z-index: 2;
  width: 100%;
  height: auto;
  max-width: 460px;
  aspect-ratio: 1344/768;
  filter: drop-shadow(0 25px 60px rgba(0, 0, 0, 0.65)) drop-shadow(0 0 40px rgba(212, 175, 55, 0.25));
  animation: float 4.5s ease-in-out infinite;
  will-change: transform;
}

@keyframes float {

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

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

@media (min-width:640px) {
  .hero-banner-img {
    max-width: 520px;
  }
}

@media (min-width:1024px) {
  .hero-banner-img {
    max-width: 100%;
  }
}

.chip-dot {
  position: absolute;
  border-radius: 999px;
  background: radial-gradient(circle at 33% 28%, rgb(255, 240, 160), rgb(200, 154, 16));
  border: 2px solid rgba(212, 175, 55, 0.7);
  box-shadow: 0 0 12px rgba(212, 175, 55, 0.45);
  z-index: 3;
}

.chip-dot.d1 {
  top: 10%;
  left: 6%;
  width: 30px;
  height: 30px;
}

.chip-dot.d2 {
  bottom: 8%;
  right: 8%;
  width: 26px;
  height: 26px;
}

/* ---------- Stat strip ---------- */
.stat-strip {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
  margin-top: 64px;
}

@media (min-width:768px) {
  .stat-strip {
    grid-template-columns: repeat(4, 1fr);
  }
}

.stat-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 24px;
  border-radius: 16px;
  background: linear-gradient(145deg, rgba(90, 30, 115, 0.2), rgba(10, 5, 20, 0.6));
  border: 1px solid rgba(212, 175, 55, 0.2);
  backdrop-filter: blur(10px);
  transition: border-color .3s, transform .3s;
}

.stat-card:hover {
  border-color: rgba(212, 175, 55, 0.5);
  transform: translateY(-4px);
}

.stat-card .ico {
  font-size: 28px;
  margin-bottom: 8px;
}

.stat-card .num {
  font-family: var(--font-heading);
  font-weight: 900;
  font-size: clamp(24px, 4vw, 32px);
  color: var(--gold);
}

.stat-card .label {
  font-size: 12px;
  color: rgba(255, 255, 255, 0.6);
  margin-top: 4px;
}

/* ---------- Feature cards ---------- */
.grid-3 {
  display: grid;
  gap: 24px;
  margin-top: 48px;
}

@media (min-width:640px) {
  .grid-3 {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width:1024px) {
  .grid-3 {
    grid-template-columns: repeat(3, 1fr);
  }
}

.feature-card {
  padding: 24px;
  border-radius: 16px;
  cursor: default;
  transition: all .3s ease;
  background: linear-gradient(145deg, rgba(90, 30, 115, 0.15), rgba(10, 5, 20, 0.8));
  border: 1px solid rgba(212, 175, 55, 0.15);
  backdrop-filter: blur(10px);
}

.feature-card:hover {
  border-color: rgba(212, 175, 55, 0.4);
  transform: translateY(-6px);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4);
}

.feature-card .ico {
  font-size: 36px;
  margin-bottom: 16px;
}

.feature-card h3 {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 18px;
  color: var(--gold);
  margin-bottom: 8px;
}

.feature-card p {
  font-size: 14px;
  color: rgba(255, 255, 255, 0.6);
  line-height: 1.6;
}

/* ---------- Mode cards ---------- */
.mode-card {
  position: relative;
  overflow: hidden;
  border-radius: 16px;
  cursor: pointer;
  border: 2px solid rgba(212, 175, 55, 0.2);
  transition: all .3s ease;
}

.mode-card .inner {
  padding: 28px;
  position: relative;
  z-index: 1;
}

.mode-card .ico {
  font-size: 44px;
  margin-bottom: 16px;
}

.mode-card h3 {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 18px;
  margin-bottom: 8px;
}

.mode-card p {
  font-size: 14px;
  color: rgba(255, 255, 255, 0.6);
  margin-bottom: 16px;
}

.mode-card:hover {
  transform: translateY(-6px);
  border-color: rgba(212, 175, 55, 0.5);
}

.mode-1 {
  background: linear-gradient(145deg, rgba(90, 30, 115, 0.25), rgba(10, 5, 20, 0.9));
}

.mode-2 {
  background: linear-gradient(145deg, rgba(30, 72, 115, 0.25), rgba(10, 5, 20, 0.9));
}

.mode-3 {
  background: linear-gradient(145deg, rgba(115, 30, 30, 0.25), rgba(10, 5, 20, 0.9));
}

.mode-4 {
  background: linear-gradient(145deg, rgba(30, 115, 80, 0.25), rgba(10, 5, 20, 0.9));
}

/* ---------- How it works ---------- */
.steps {
  display: flex;
  flex-direction: column;
  gap: 22px;
  margin-top: 56px;
  position: relative;
}

.steps::before {
  content: "";
  position: absolute;
  left: 50%;
  top: 8px;
  bottom: 8px;
  width: 2px;
  transform: translateX(-50%);
  background: linear-gradient(180deg, transparent, rgba(212, 175, 55, 0.5) 8%, rgba(212, 175, 55, 0.5) 92%, transparent);
  z-index: 0;
}

.step-row {
  display: flex;
  align-items: center;
  gap: 10px;
  position: relative;
}

.step-row:nth-child(even) {
  flex-direction: row-reverse;
}

.step-spacer {
  display: block;
  flex: 1;
}

.step-row .step-card {
  text-align: left;
}

@media (min-width:640px) {
  .step-row {
    gap: 16px;
  }
}

@media (min-width:1024px) {
  .step-row {
    gap: 24px;
  }

  .step-row .step-card {
    text-align: right;
  }

  .step-row:nth-child(even) .step-card {
    text-align: left;
  }
}

.step-num {
  flex-shrink: 0;
  width: 40px;
  height: 40px;
  border-radius: 999px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-heading);
  font-weight: 900;
  font-size: 13px;
  color: var(--bg-black);
  background: linear-gradient(135deg, var(--gold), var(--gold-dim));
  box-shadow: 0 0 20px rgba(212, 175, 55, 0.4), 0 0 0 4px var(--bg-black);
  z-index: 1;
  transition: transform .3s ease, box-shadow .3s ease;
}

@media (min-width:640px) {
  .step-num {
    width: 56px;
    height: 56px;
    font-size: 15px;
    box-shadow: 0 0 20px rgba(212, 175, 55, 0.4), 0 0 0 6px var(--bg-black);
  }
}

.step-row:hover .step-num {
  transform: scale(1.08);
  box-shadow: 0 0 28px rgba(212, 175, 55, 0.65), 0 0 0 6px var(--bg-black);
}

.step-card {
  flex: 1 1 0;
  min-width: 0;
  padding: 14px 16px;
  border-radius: 16px;
  background: linear-gradient(145deg, rgba(90, 30, 115, 0.15), rgba(10, 5, 20, 0.8));
  border: 1px solid rgba(212, 175, 55, 0.2);
  transition: transform .3s ease, border-color .3s ease, box-shadow .3s ease;
}

@media (min-width:640px) {
  .step-card {
    padding: 24px;
    flex: 1 1 0;
  }
}

.step-row:hover .step-card {
  transform: translateY(-4px);
  border-color: rgba(212, 175, 55, 0.45);
  box-shadow: 0 16px 32px rgba(0, 0, 0, 0.35);
}

.step-card .ico {
  font-size: 22px;
  margin-bottom: 6px;
}

.step-card .ttl {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 13px;
  color: var(--gold);
  margin-bottom: 4px;
}

.step-card .desc {
  font-size: 12.5px;
  color: rgba(255, 255, 255, 0.6);
  line-height: 1.5;
}

@media (min-width:640px) {
  .step-card .desc {
    font-size: 14px;
  }
}

/* ---------- App feature icon grid ---------- */
.grid-5 {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
  margin-top: 48px;
}

@media (min-width:640px) {
  .grid-5 {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (min-width:1024px) {
  .grid-5 {
    grid-template-columns: repeat(5, 1fr);
  }
}

.icon-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 20px;
  border-radius: 16px;
  transition: all .3s ease;
  background: linear-gradient(145deg, rgba(90, 30, 115, 0.15), rgba(10, 5, 20, 0.8));
  border: 1px solid rgba(212, 175, 55, 0.15);
}

.icon-card:hover {
  transform: translateY(-4px);
  border-color: rgba(212, 175, 55, 0.4);
}

.icon-card .ico {
  font-size: 28px;
  margin-bottom: 10px;
}

.icon-card .label {
  font-size: 12px;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.8);
}

/* ---------- Download panel ---------- */
.download-panel {
  position: relative;
  overflow: hidden;
  padding: 96px 0;
}

.download-panel::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(rgba(90, 30, 115, 0.35) 0%, transparent 70%);
}

.download-box {
  position: relative;
  z-index: 1;
  max-width:100%;
  margin: 0 auto;
  text-align: center;
  padding: 56px 28px;
  border-radius: 24px;
  background: linear-gradient(160deg, rgba(20, 9, 34, 0.95), rgba(9, 4, 17, 0.97));
  border: 1px solid rgba(212, 175, 55, 0.35);
  box-shadow: 0 0 90px rgba(90, 30, 115, 0.25), inset 0 1px 0 rgba(255, 255, 255, 0.05);
}

@media (min-width:640px) {
  .download-box {
    padding: 64px 48px;
  }
}

.download-box .crown {
  font-size: 40px;
  margin-bottom: 18px;
  filter: drop-shadow(0 0 16px rgba(212, 175, 55, 0.5));
  animation: float 4s ease-in-out infinite;
}

.download-box h2 {
  font-family: var(--font-display);
  font-weight: 900;
  font-size: clamp(26px, 5vw, 42px);
  color: var(--gold);
  margin-bottom: 14px;
  line-height: 1.15;
}

.download-box p {
  color: rgba(255, 255, 255, 0.6);
  font-size: 15px;
  max-width: 480px;
  margin: 0 auto 30px;
  line-height: 1.7;
}

.download-cta {
  position: relative;
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  gap: 2px;
  border-radius: 16px;
  padding: 10px 30px;
  background: linear-gradient(135deg, var(--gold-bright), var(--gold), var(--gold-dim));
  color: var(--bg-black);
  box-shadow: 0 0 0 1px rgba(240, 208, 96, 0.5), 0 0 36px rgba(212, 175, 55, 0.45);
  transition: transform .2s ease, box-shadow .2s ease;
  animation: pulse-glow 2.8s ease-in-out infinite;
}

.download-cta:hover {
  transform: translateY(-3px) scale(1.02);
  box-shadow: 0 0 0 1px rgba(240, 208, 96, 0.7), 0 0 46px rgba(212, 175, 55, 0.65);
  animation-play-state: paused;
}

.download-cta .top {
  font-family: var(--font-heading);
  font-weight: 900;
  font-size: 16px;
  letter-spacing: 0.01em;
}

.download-cta .bottom {
  font-size: 11.5px;
  opacity: 0.75;
  letter-spacing: 0.02em;
}

@keyframes pulse-glow {

  0%,
  100% {
    box-shadow: 0 0 0 1px rgba(240, 208, 96, 0.5), 0 0 30px rgba(212, 175, 55, 0.35);
  }

  50% {
    box-shadow: 0 0 0 1px rgba(240, 208, 96, 0.6), 0 0 46px rgba(212, 175, 55, 0.6);
  }
}

.apk-meta {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 14px;
  max-width: 460px;
  margin: 36px auto 0;
}

@media (min-width:640px) {
  .apk-meta {
    grid-template-columns: repeat(4, 1fr);
  }
}

.apk-meta div {
  padding: 14px 10px;
  border-radius: 12px;
  background: rgba(212, 175, 55, 0.06);
  border: 1px solid rgba(212, 175, 55, 0.15);
  text-align: center;
  transition: border-color .3s ease, transform .3s ease;
}

.apk-meta div:hover {
  border-color: rgba(212, 175, 55, 0.4);
  transform: translateY(-2px);
}

.apk-meta .k {
  font-size: 11px;
  color: rgba(255, 255, 255, 0.45);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-bottom: 4px;
}

.apk-meta .v {
  font-family: var(--font-heading);
  font-weight: 700;
  color: var(--gold);
  font-size: 14px;
}

.fine-note {
  font-size: 12px;
  color: rgba(255, 255, 255, 0.4);
  margin-top: 22px;
}

@media (prefers-reduced-motion: reduce) {
  .download-cta {
    animation: none;
  }
}

/* ---------- Testimonials ---------- */
.testi-card {
  padding: 24px;
  border-radius: 16px;
  background: linear-gradient(145deg, rgba(90, 30, 115, 0.15), rgba(10, 5, 20, 0.8));
  border: 1px solid rgba(212, 175, 55, 0.2);
}

.stars {
  display: flex;
  gap: 2px;
  margin-bottom: 12px;
  color: var(--gold);
}

.testi-card p.quote {
  font-size: 14px;
  color: rgba(255, 255, 255, 0.8);
  line-height: 1.6;
  margin-bottom: 16px;
}

.testi-who {
  display: flex;
  align-items: center;
  gap: 12px;
}

.testi-avatar {
  width: 38px;
  height: 38px;
  border-radius: 999px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 14px;
  background: linear-gradient(135deg, var(--purple), var(--gold));
  color: #fff;
}

.testi-name {
  font-size: 14px;
  font-weight: 700;
  color: #fff;
}

.testi-loc {
  font-size: 12px;
  color: rgba(255, 255, 255, 0.4);
}

/* ---------- FAQ ---------- */
.faq-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-top: 48px;
  max-width: 720px;
  margin-left: auto;
  margin-right: auto;
}

.faq-item {
  border-radius: 16px;
  overflow: hidden;
  border: 1px solid rgba(212, 175, 55, 0.2);
  background: rgba(10, 5, 20, 0.6);
}

.faq-q {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px 20px;
  text-align: left;
  font-size: 14px;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.9);
  cursor: pointer;
}

.faq-q .plus {
  color: var(--gold);
  flex-shrink: 0;
  font-size: 18px;
  transition: transform .25s ease;
}

.faq-item.open .faq-q .plus {
  transform: rotate(45deg);
}

.faq-a {
  max-height: 0;
  overflow: hidden;
  transition: max-height .3s ease;
}

.faq-a p {
  padding: 0 20px 18px;
  font-size: 14px;
  color: rgba(255, 255, 255, 0.55);
  line-height: 1.6;
}

/* ---------- Blog ---------- */
.blog-grid {
  display: grid;
  gap: 24px;
  margin-top: 48px;
  grid-template-columns: 1fr;
}

@media (min-width:640px) {
  .blog-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width:1024px) {
  .blog-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.blog-card {
  display: flex;
  flex-direction: column;
  padding: 24px;
  border-radius: 16px;
  background: linear-gradient(145deg, rgba(90, 30, 115, 0.15), rgba(10, 5, 20, 0.8));
  border: 1px solid rgba(212, 175, 55, 0.15);
  transition: all .3s ease;
}

.blog-card:hover {
  border-color: rgba(212, 175, 55, 0.4);
  transform: translateY(-6px);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4);
}

.blog-card-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 16px;
}

.blog-tag {
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .05em;
  color: var(--gold);
  background: rgba(212, 175, 55, 0.1);
  padding: 4px 10px;
  border-radius: 999px;
  border: 1px solid rgba(212, 175, 55, 0.25);
  white-space: nowrap;
}

.blog-read {
  font-size: 12px;
  color: rgba(255, 255, 255, 0.4);
  flex-shrink: 0;
}

.blog-icon {
  font-size: 32px;
  margin-bottom: 14px;
}

.blog-card h3 {
  font-family: var(--font-heading);
  font-size: 17px;
  font-weight: 700;
  color: #fff;
  line-height: 1.35;
  margin-bottom: 10px;
}

.blog-card p {
  font-size: 14px;
  color: rgba(255, 255, 255, 0.6);
  line-height: 1.6;
  margin-bottom: 18px;
  flex-grow: 1;
}

.blog-more {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 13px;
  font-weight: 700;
  color: var(--gold);
  margin-top: auto;
}

.blog-more span {
  transition: transform .25s ease;
}

.blog-more:hover {
  color: var(--gold-bright);
}

.blog-more:hover span {
  transform: translateX(4px);
}

/* ---------- Blog: featured article ---------- */
.blog-featured {
  margin-top: 56px;
  padding: 28px;
  border-radius: 20px;
  background: rgba(10, 5, 20, 0.6);
  border: 1px solid rgba(212, 175, 55, 0.2);
  max-width: 860px;
  margin-left: auto;
  margin-right: auto;
}

@media (min-width:640px) {
  .blog-featured {
    padding: 40px;
  }
}

.blog-featured-badge {
  margin-bottom: 18px;
}

.blog-featured h2 {
  font-family: var(--font-heading);
  font-size: 21px;
  font-weight: 700;
  color: var(--gold);
  line-height: 1.4;
  margin-bottom: 20px;
}

@media (min-width:640px) {
  .blog-featured h2 {
    font-size: 25px;
  }
}

.blog-featured h3 {
  font-family: var(--font-heading);
  font-size: 16px;
  font-weight: 700;
  color: #fff;
  margin: 26px 0 10px;
}

.blog-featured p {
  font-size: 14px;
  color: rgba(255, 255, 255, 0.65);
  line-height: 1.8;
  margin-bottom: 6px;
}

.blog-featured p strong {
  color: var(--gold);
}

.blog-ul {
  margin: 10px 0 6px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.blog-ul li {
  position: relative;
  padding-left: 22px;
  font-size: 14px;
  color: rgba(255, 255, 255, 0.65);
  line-height: 1.6;
}

.blog-ul li::before {
  content: '✓';
  position: absolute;
  left: 0;
  color: var(--gold);
  font-weight: 700;
}

.blog-notice {
  margin-top: 26px;
  padding: 16px 18px;
  border-radius: 12px;
  background: rgba(198, 60, 60, 0.08);
  border: 1px solid rgba(198, 60, 60, 0.3);
  font-size: 13px;
  color: rgba(255, 255, 255, 0.7);
  line-height: 1.6;
}

.blog-notice strong {
  color: #fff;
}

/* ---------- Disclaimer mini (homepage teaser) ---------- */
.disclaimer-mini {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
  align-items: flex-start;
  margin-top: 48px;
  padding: 28px;
  border-radius: 18px;
  background: rgba(198, 60, 60, 0.06);
  border: 1px solid rgba(198, 60, 60, 0.25);
  max-width: 780px;
  margin-left: auto;
  margin-right: auto;
}

.disclaimer-mini-icon {
  font-size: 26px;
  flex-shrink: 0;
}

.disclaimer-mini-body {
  flex: 1;
  min-width: 220px;
}

.disclaimer-mini-body h3 {
  font-family: var(--font-heading);
  font-size: 18px;
  font-weight: 700;
  color: #fff;
  margin-bottom: 8px;
}

.disclaimer-mini-body p {
  font-size: 13.5px;
  color: rgba(255, 255, 255, 0.6);
  line-height: 1.7;
  margin-bottom: 18px;
}

.disclaimer-mini-btn {
  font-size: 13px;
  padding: 10px 22px;
}

/* ---------- Disclaimer callout ---------- */
.disclaimer-box {
  margin-top: 40px;
  padding: 20px;
  border-radius: 16px;
  font-size: 13px;
  color: rgba(255, 255, 255, 0.5);
  line-height: 1.7;
  background: rgba(212, 175, 55, 0.05);
  border: 1px solid rgba(212, 175, 55, 0.15);
}

.disclaimer-box strong {
  color: rgba(255, 255, 255, 0.75);
}

.disclaimer-box.big {
  max-width: 820px;
  margin-left: auto;
  margin-right: auto;
  text-align: center;
}

/* ---------- Simple content pages ---------- */
.page-hero {
  padding: 150px 0 60px;
  text-align: center;
  background: linear-gradient(135deg, var(--bg-deep) 0%, rgb(15, 6, 32) 60%, var(--bg-deep) 100%);
  border-bottom: 1px solid rgba(212, 175, 55, 0.15);
}

.page-hero .eyebrow {
  margin-bottom: 14px;
}

.page-hero h1 {
  font-family: var(--font-display);
  font-weight: 900;
  font-size: clamp(30px, 5vw, 48px);
  color: var(--gold);
  margin-bottom: 12px;
}

.page-hero p {
  color: rgba(255, 255, 255, 0.55);
  max-width: 560px;
  margin: 0 auto;
  font-size: 15px;
}

.prose {
  max-width: 760px;
  margin: 0 auto;
  padding: 64px 0;
}

.prose h2 {
  font-family: var(--font-heading);
  color: var(--gold);
  font-size: 22px;
  margin: 36px 0 12px;
}

.prose h2:first-child {
  margin-top: 0;
}

.prose h3 {
  font-family: var(--font-heading);
  color: #fff;
  font-size: 16px;
  margin: 22px 0 8px;
}

.prose p {
  color: rgba(255, 255, 255, 0.65);
  font-size: 15px;
  line-height: 1.8;
  margin-bottom: 12px;
}

.prose ul {
  margin: 12px 0 12px 4px;
}

.prose li {
  color: rgba(255, 255, 255, 0.65);
  font-size: 15px;
  line-height: 1.8;
  padding-left: 22px;
  position: relative;
  margin-bottom: 8px;
}

.prose li::before {
  content: "♠";
  position: absolute;
  left: 0;
  color: var(--gold);
  font-size: 13px;
  top: 3px;
}

.callout {
  padding: 18px 20px;
  border-radius: 14px;
  background: rgba(212, 175, 55, 0.06);
  border: 1px solid rgba(212, 175, 55, 0.2);
  margin: 20px 0;
  font-size: 14px;
  color: rgba(255, 255, 255, 0.7);
  line-height: 1.7;
}

.callout.warn {
  background: rgba(198, 60, 60, 0.08);
  border-color: rgba(198, 60, 60, 0.3);
}

.callout strong {
  color: #fff;
}

.info-grid {
  display: grid;
  gap: 20px;
  margin: 32px 0;
}

@media (min-width:640px) {
  .info-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

.info-card {
  padding: 22px;
  border-radius: 16px;
  background: linear-gradient(145deg, rgba(90, 30, 115, 0.15), rgba(10, 5, 20, 0.8));
  border: 1px solid rgba(212, 175, 55, 0.15);
}

.info-card .ico {
  font-size: 26px;
  margin-bottom: 10px;
}

.info-card h4 {
  font-family: var(--font-heading);
  color: var(--gold);
  font-size: 14px;
  margin-bottom: 6px;
}

.info-card p {
  font-size: 13px;
  color: rgba(255, 255, 255, 0.55);
  line-height: 1.6;
  margin: 0;
}

/* ---------- Contact form ---------- */
.contact-layout {
  display: grid;
  gap: 32px;
}

@media (min-width:900px) {
  .contact-layout {
    grid-template-columns: 1fr 1fr;
    align-items: start;
  }
}

.form-card {
  padding: 32px;
  border-radius: 22px;
  background: linear-gradient(145deg, rgba(90, 30, 115, 0.15), rgba(10, 5, 20, 0.85));
  border: 1px solid rgba(212, 175, 55, 0.2);
}

.field {
  margin-bottom: 18px;
}

.field label {
  display: block;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: rgba(212, 175, 55, 0.85);
  margin-bottom: 8px;
}

.field input,
.field textarea {
  width: 100%;
  padding: 13px 14px;
  border-radius: 10px;
  font-family: var(--font-body);
  font-size: 14px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(212, 175, 55, 0.2);
  color: #fff;
  transition: border-color .2s;
}

.field input:focus,
.field textarea:focus {
  outline: none;
  border-color: var(--gold);
}

.field textarea {
  resize: vertical;
  min-height: 120px;
}

.field .err {
  display: none;
  font-size: 12px;
  color: #ff6b6b;
  margin-top: 6px;
}

.field.invalid input,
.field.invalid textarea {
  border-color: #ff6b6b;
}

.field.invalid .err {
  display: block;
}

.form-note {
  font-size: 12px;
  color: rgba(255, 255, 255, 0.4);
  margin-top: 10px;
}

.form-success {
  display: none;
  padding: 14px 16px;
  border-radius: 12px;
  background: rgba(90, 180, 110, 0.12);
  border: 1px solid rgba(90, 180, 110, 0.35);
  color: #8fe0a6;
  font-size: 13px;
  margin-bottom: 16px;
}

.form-success.show {
  display: block;
}

.contact-side .info-card {
  margin-bottom: 16px;
}

/* ---------- Footer ---------- */
.site-footer {
  background: var(--bg-black);
  border-top: 1px solid rgba(212, 175, 55, 0.1);
  padding: 64px 0 32px;
}

.footer-grid {
  display: grid;
  gap: 40px;
  margin-bottom: 20px;
}

@media (min-width:768px) {
  .footer-grid {
    grid-template-columns: 1.4fr 1fr 1fr 1fr;
  }
}

.footer-brand p {
  font-size: 13px;
  color: rgba(255, 255, 255, 0.45);
  margin-top: 14px;
  line-height: 1.7;
  max-width: 280px;
}

.footer-col h4 {
  font-family: var(--font-heading);
  color: var(--gold);
  font-size: 14px;
  margin-bottom: 16px;
}

.footer-col ul {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.footer-col a {
  font-size: 13px;
  color: rgba(255, 255, 255, 0.4);
  transition: color .2s;
}

.footer-col a:hover {
  color: rgba(255, 255, 255, 0.8);
}

.footer-bottom {
  margin-top: 32px;
  padding-top: 24px;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  display: flex;
  flex-direction: column;
  gap: 8px;
  align-items: center;
  text-align: center;
}

@media (min-width:640px) {
  .footer-bottom {
    flex-direction: row;
    justify-content: space-between;
    text-align: left;
  }
}

.footer-bottom p {
  font-size: 12px;
  color: rgba(255, 255, 255, 0.3);
}

/* ---------- Scroll reveal ---------- */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity .7s ease, transform .7s ease;
}

.reveal.left {
  transform: translateX(-32px);
}

.reveal.right {
  transform: translateX(32px);
}

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

@media (prefers-reduced-motion: reduce) {
  .reveal {
    opacity: 1;
    transform: none;
    transition: none;
  }

  .hero-banner-img,
  .download-box .crown,
  .download-cta,
  .ticker-track {
    animation: none;
  }

  html {
    scroll-behavior: auto;
  }
}

/* focus visibility */
a:focus-visible,
button:focus-visible,
input:focus-visible,
textarea:focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: 2px;
}

/* ============================================================
   Page-specific extras (moved from inline <style> blocks so
   every page shares one cached stylesheet)
   ============================================================ */

/* ── About page extras ─────────────────────────── */
.about-intro{
  display:grid; gap:40px; align-items:center; padding:64px 0 48px;
}
@media(min-width:900px){ .about-intro{ grid-template-columns:1fr 1fr; gap:64px; } }

.about-badge-row{ display:flex; flex-wrap:wrap; gap:10px; margin-bottom:24px; }
.about-badge{
  display:inline-flex; align-items:center; gap:7px; padding:7px 14px; border-radius:999px;
  font-size:12px; font-weight:600; letter-spacing:.04em;
  background:rgba(212,175,55,0.1); border:1px solid rgba(212,175,55,0.25); color:var(--gold);
}

.about-visual{
  position:relative; display:flex; align-items:center; justify-content:center;
  height:270px; border-radius:24px;
  background:linear-gradient(145deg,rgba(90,30,115,0.25),rgba(10,5,20,0.9));
  border:1px solid rgba(212,175,55,0.2); overflow:hidden;
}
.about-visual::before{
  content:""; position:absolute; inset:0;
  background:radial-gradient(circle at 40% 35%, rgba(90,30,115,0.45), transparent 65%);
}
.about-visual .big-icon{
  font-size:80px; position:relative; z-index:1;
  filter:drop-shadow(0 0 30px rgba(212,175,55,0.5));
  animation:float 3.5s ease-in-out infinite;
}
.about-visual .sparkle{
  position:absolute; color:rgba(212,175,55,0.45); font-size:14px; pointer-events:none;
  animation:sparkPulse 2.5s ease-in-out infinite;
}

.commit-grid{
  display:grid; gap:16px; margin:32px 0;
}
@media(min-width:640px){ .commit-grid{ grid-template-columns:repeat(2,1fr); } }
@media(min-width:1024px){ .commit-grid{ grid-template-columns:repeat(3,1fr); } }
.commit-card{
  display:flex; gap:14px; align-items:flex-start; padding:20px;
  border-radius:16px; transition:all .3s ease;
  background:linear-gradient(145deg,rgba(90,30,115,0.12),rgba(10,5,20,0.8));
  border:1px solid rgba(212,175,55,0.15);
}
.commit-card:hover{ border-color:rgba(212,175,55,0.4); transform:translateY(-3px); }
.commit-card .ico{ font-size:22px; flex-shrink:0; margin-top:2px; }
.commit-card h4{ font-family:var(--font-heading); color:var(--gold); font-size:13px; margin-bottom:5px; font-weight:700; }
.commit-card p{ font-size:13px; color:rgba(255,255,255,0.55); line-height:1.6; margin:0; }

.provide-list{ display:grid; gap:10px; margin:20px 0; }
@media(min-width:640px){ .provide-list{ grid-template-columns:repeat(2,1fr); } }
.provide-item{
  display:flex; align-items:center; gap:10px; padding:12px 16px; border-radius:12px;
  background:rgba(212,175,55,0.05); border:1px solid rgba(212,175,55,0.12);
  font-size:13px; color:rgba(255,255,255,0.75);
}
.provide-item::before{ content:"♠"; color:var(--gold); font-size:12px; flex-shrink:0; }

.notice-card{
  padding:28px; border-radius:20px; margin:40px 0;
  background:linear-gradient(145deg,rgba(139,26,26,0.12),rgba(10,5,20,0.85));
  border:1px solid rgba(198,60,60,0.25);
}
.notice-card h3{ font-family:var(--font-heading); color:#e88; font-size:16px; margin-bottom:10px; }
.notice-card p{ font-size:14px; color:rgba(255,255,255,0.6); line-height:1.8; margin:0; }

.thanks-box{
  text-align:center; padding:48px 32px; border-radius:24px; margin:48px 0 0;
  background:linear-gradient(145deg,rgba(90,30,115,0.2),rgba(10,5,20,0.9));
  border:1px solid rgba(212,175,55,0.25);
  box-shadow:0 0 60px rgba(90,30,115,0.2);
}
.thanks-box .ico{ font-size:44px; margin-bottom:16px; }
.thanks-box h3{ font-family:var(--font-heading); color:var(--gold); font-size:20px; margin-bottom:12px; }
.thanks-box p{ font-size:15px; color:rgba(255,255,255,0.6); max-width:520px; margin:0 auto; line-height:1.8; }

/* ── About-APK page extras ─────────────────────────────── */
.apk-table-wrap{ overflow-x:auto; margin:24px 0; }
.apk-table{ width:100%; border-collapse:collapse; font-size:14px; min-width:320px; }
.apk-table th,.apk-table td{ padding:12px 16px; text-align:left; border-bottom:1px solid rgba(212,175,55,0.12); }
.apk-table th{ font-family:var(--font-heading); color:var(--gold); background:rgba(90,30,115,0.18); font-size:12px; letter-spacing:.06em; text-transform:uppercase; }
.apk-table td{ color:rgba(255,255,255,0.7); }
.apk-table tr:hover td{ background:rgba(212,175,55,0.04); }

.feat-grid{ display:grid; grid-template-columns:repeat(2,1fr); gap:12px; margin:20px 0; }
@media(min-width:640px){ .feat-grid{ grid-template-columns:repeat(3,1fr); } }
@media(min-width:1024px){ .feat-grid{ grid-template-columns:repeat(5,1fr); } }
.feat-chip{ padding:10px 14px; border-radius:10px; background:rgba(90,30,115,0.15); border:1px solid rgba(212,175,55,0.18); font-size:13px; color:rgba(255,255,255,0.75); display:flex; align-items:center; gap:8px; }
.feat-chip::before{ content:"♠"; color:var(--gold); font-size:11px; flex-shrink:0; }

.step-list{ counter-reset:steps; list-style:none; padding:0; margin:16px 0; }
.step-list li{ counter-increment:steps; display:flex; gap:14px; align-items:flex-start; margin-bottom:14px; font-size:14px; color:rgba(255,255,255,0.7); line-height:1.6; }
.step-list li::before{ content:counter(steps); flex-shrink:0; width:28px; height:28px; border-radius:50%; background:linear-gradient(135deg,var(--gold),var(--gold-dim)); color:var(--bg-black); font-family:var(--font-heading); font-weight:900; font-size:12px; display:flex; align-items:center; justify-content:center; margin-top:2px; }

.notice-18{ background:rgba(212,175,55,0.06); border:1px solid rgba(212,175,55,0.25); border-radius:14px; padding:20px 22px; font-size:13px; color:rgba(255,255,255,0.6); line-height:1.8; margin:32px 0 0; }
.notice-18 strong{ color:var(--gold); }

/* ── Disclaimer page extras ─────────────────────── */
.disc-hero-badge{
  display:inline-flex; align-items:center; gap:8px; padding:8px 18px;
  border-radius:999px; font-size:12px; font-weight:700; letter-spacing:.06em;
  background:rgba(198,60,60,0.12); border:1px solid rgba(198,60,60,0.3);
  color:#e88; margin-bottom:20px;
}
.disc-section{
  margin-bottom:36px; padding:28px 30px; border-radius:20px;
  background:linear-gradient(145deg, rgba(90,30,115,0.12), rgba(10,5,20,0.85));
  border:1px solid rgba(212,175,55,0.15);
  transition: border-color .3s ease;
}
.disc-section:hover{ border-color:rgba(212,175,55,0.35); }
.disc-section h2{
  font-family:var(--font-heading); font-size:16px; font-weight:700;
  color:var(--gold); margin-bottom:12px; display:flex; align-items:center; gap:10px;
}
.disc-section p{
  font-size:14px; color:rgba(255,255,255,0.65); line-height:1.9; margin-bottom:10px;
}
.disc-section p:last-child{ margin-bottom:0; }
.disc-section ul{
  list-style:none; padding:0; margin:12px 0 0;
  display:flex; flex-direction:column; gap:10px;
}
.disc-section li{
  font-size:14px; color:rgba(255,255,255,0.65); line-height:1.7;
  padding-left:22px; position:relative;
}
.disc-section li::before{
  content:"♠"; position:absolute; left:0; top:2px;
  color:var(--gold); font-size:12px;
}
.disc-warn{
  background:linear-gradient(145deg, rgba(139,26,26,0.18), rgba(10,5,20,0.9));
  border-color:rgba(198,60,60,0.3);
}
.disc-warn h2{ color:#e88; }
.disc-warn li::before{ color:#e88; }
.disc-warn li{ color:rgba(255,220,220,0.7); }

.disc-toc{
  padding:24px 28px; border-radius:18px; margin-bottom:40px;
  background:rgba(212,175,55,0.05); border:1px solid rgba(212,175,55,0.18);
}
.disc-toc h3{
  font-family:var(--font-heading); color:var(--gold); font-size:13px;
  letter-spacing:.06em; text-transform:uppercase; margin-bottom:14px;
}
.disc-toc ol{
  display:grid; gap:8px; padding-left:18px;
}
@media(min-width:640px){ .disc-toc ol{ grid-template-columns:repeat(2,1fr); } }
.disc-toc li{
  font-size:13px; color:rgba(255,255,255,0.55); line-height:1.5;
}
.disc-toc a{
  color:rgba(255,255,255,0.55); text-decoration:none; transition:color .2s;
}
.disc-toc a:hover{ color:var(--gold); }

.disc-updated{
  font-size:12px; color:rgba(255,255,255,0.3); margin-bottom:32px;
  display:flex; align-items:center; gap:6px;
}
.disc-updated::before{ content:"🕐"; font-size:14px; }

.disc-agree{
  text-align:center; padding:32px; border-radius:20px; margin-top:40px;
  background:linear-gradient(145deg, rgba(90,30,115,0.2), rgba(10,5,20,0.9));
  border:1px solid rgba(212,175,55,0.25);
}
.disc-agree p{ font-size:14px; color:rgba(255,255,255,0.55); line-height:1.8; max-width:560px; margin:0 auto 20px; }

/* ============================================================
   GLOBAL FIX PASS — Favicon · Hero banners · Nav · Footer
   ============================================================ */

/* ── Brand logo image ───────────────────────────────────── */
.brand-mark {
  width: 40px; height: 40px; border-radius: 999px;
  flex-shrink: 0; overflow: hidden; display: flex;
  align-items: center; justify-content: center;
  background: radial-gradient(circle at 35% 30%, rgba(212,175,55,0.9), rgb(120,80,10));
  border: 1px solid rgba(212,175,55,0.4);
}
.brand-logo {
  width: 100%; height: 100%; object-fit: cover; display: block;
}
.brand { display: flex; align-items: center; gap: 12px; text-decoration: none; }
.brand span { font-family: var(--font-heading); font-weight: 700; color: var(--gold); font-size: 17px; letter-spacing: .03em; }
@media(max-width:480px){ .brand span { font-size: 14px; } }

/* ── Page hero with bg image ────────────────────────────── */
.page-hero--img {
  position: relative;
  background-size: cover !important;
  background-position: center center !important;
  background-repeat: no-repeat !important;
  min-height: 340px;
}
.page-hero-overlay {
  position: absolute; inset: 0; z-index: 1;
  background: linear-gradient(
    135deg,
    rgba(7,3,15,0.88) 0%,
    rgba(13,6,24,0.80) 40%,
    rgba(7,3,15,0.92) 100%
  );
}
.page-hero--img .wrap { position: relative; z-index: 2; }
.page-hero { position: relative; }

/* ── Page hero responsive ───────────────────────────────── */
@media(max-width:639px) {
  .page-hero, .page-hero--img {
    padding: 110px 0 40px;
    min-height: auto;
  }
  .page-hero h1 { font-size: clamp(22px, 7vw, 36px); }
  .page-hero p  { font-size: 13px; }
}

/* ── Footer download btn full-width fix ─────────────────── */
.footer-col .btn.btn-gold {
  display: block; box-sizing: border-box;
  text-align: center; border-radius: 10px;
}

/* ── Footer grid 4-col fix ──────────────────────────────── */
@media(min-width:1024px) {
  .footer-grid { grid-template-columns: 1.6fr 1fr 1fr 1.1fr; }
}
@media(min-width:768px) and (max-width:1023px) {
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 28px; }
}
@media(max-width:767px) {
  .footer-grid { grid-template-columns: 1fr; gap: 28px; }
}

/* ── Nav active states ──────────────────────────────────── */
.nav-links a.active, .mobile-menu a.active { color: var(--gold); }

/* ── Ensure nav-cta always shows correct icon ───────────── */
.nav-cta .btn-gold { gap: 6px; }

/* ── mobile-menu full width buttons ────────────────────── */
.mobile-menu .btn { width: 100%; margin-top: 8px; justify-content: center; }

/* ── hero CTA fix for index ─────────────────────────────── */
.hero-ctas a.btn-gold {
  display: inline-flex; align-items: center; gap: 8px;
}

/* ── Download CTA panel button ──────────────────────────── */
.download-cta {
  display: inline-flex; flex-direction: column; align-items: center;
  gap: 2px; border-radius: 16px; padding: 18px 40px;
  background: linear-gradient(135deg, var(--gold-bright), var(--gold), var(--gold-dim));
  color: var(--bg-black); text-decoration: none;
  box-shadow: 0 0 30px rgba(212,175,55,0.5);
  transition: transform .2s ease, box-shadow .2s ease;
  cursor: pointer;
}
.download-cta:hover { transform: translateY(-3px) scale(1.02); box-shadow: 0 0 40px rgba(212,175,55,0.7); }
.download-cta .top { font-family: var(--font-heading); font-weight: 900; font-size: 16px; }
.download-cta .bottom { font-size: 12px; opacity: .7; }

/* ── Scroll reveal - ensure sub-page reveals work ───────── */
.page-hero .wrap .eyebrow,
.page-hero .wrap h1,
.page-hero .wrap p { opacity: 1; transform: none; }

/* ── Responsive page sections ───────────────────────────── */
@media(max-width:639px) {
  .disc-section { padding: 20px 18px; }
  .disc-toc ol  { grid-template-columns: 1fr; }
  .apk-table-wrap { margin: 16px -4px; }
  .blog-grid { gap: 16px; }
}

/* ============================================================
   HERO IMAGE & BANNER IMPROVEMENTS
   ============================================================ */

/* ── Stronger hero background image ────────────────────── */
.hero-bg {
  opacity: 0.28 !important;
  background-image: url('assets/hero-banner-new.png') !important;
  background-size: cover !important;
  background-position: center center !important;
}

/* ── Hero right panel ───────────────────────────────────── */
.hero-right-panel {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
}

/* ── Hero app image (phone/app screenshot) ──────────────── */
.hero-app-img-wrap {
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  z-index: 5;
  width: clamp(140px, 35%, 220px);
  pointer-events: none;
  animation: float 4.5s ease-in-out infinite;
  filter: drop-shadow(0 20px 40px rgba(212,175,55,0.35)) drop-shadow(0 0 60px rgba(90,30,115,0.5));
}
.hero-app-img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 24px;
  border: 2px solid rgba(212,175,55,0.4);
  box-shadow: 0 0 0 1px rgba(212,175,55,0.15), 0 30px 80px rgba(0,0,0,0.7);
}

/* ── Hero section mobile improvements ──────────────────── */
@media(max-width:639px) {
  .hero {
    padding-top: 80px;
    min-height: auto;
    padding-bottom: 40px;
  }
  .hero-grid {
    gap: 32px;
  }
  .hero h1 .line1 {
    font-size: 40px !important;
  }
  .hero h1 .line2 {
    font-size: 32px !important;
  }
  .hero-right-panel {
    min-height: 260px !important;
  }
  .hero-app-img-wrap {
    width: clamp(120px, 30%, 180px);
  }
  #stack {
    width: clamp(180px, 70vw, 320px) !important;
    height: clamp(130px, 28vw, 200px) !important;
  }
  .hero-ctas {
    gap: 12px;
  }
  .hero-ctas .btn {
    padding: 13px 20px;
    font-size: 13px;
  }
}

@media(max-width:480px) {
  .hero h1 .line1 { font-size: 34px !important; }
  .hero h1 .line2 { font-size: 28px !important; }
  .hero p.lede { font-size: 14px; }
  .hero-badges { flex-direction: column; gap: 8px; }
  .hero-right-panel { min-height: 220px !important; }
}

/* ── Hero grid order on mobile ──────────────────────────── */
@media(max-width:1023px) {
  .hero-grid {
    grid-template-columns: 1fr;
  }
  .hero-right-panel {
    order: -1;
    min-height: 300px;
  }
}

/* ── About visual image fix ─────────────────────────────── */
.about-visual img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 24px;
  display: block;
}

/* ── Page hero improved min-height ─────────────────────── */
.page-hero--img {
  min-height: 380px !important;
  padding: 140px 0 64px !important;
}
@media(max-width:639px) {
  .page-hero--img {
    min-height: 280px !important;
    padding: 110px 0 40px !important;
  }
}

/* ── Improved nav brand on tiny screens ─────────────────── */
@media(max-width:360px) {
  .brand span { display: none; }
  .brand-mark { width: 36px; height: 36px; }
}

/* ── Stats strip responsive ─────────────────────────────── */
@media(max-width:480px) {
  .stat-strip { grid-template-columns: 1fr; }
}

/* ── Blog grid single col on very small screens ─────────── */
@media(max-width:479px) {
  .blog-grid { grid-template-columns: 1fr; }
  .grid-3 { grid-template-columns: 1fr; }
  .grid-5 { grid-template-columns: repeat(2, 1fr); }
}

/* ── Section padding reduced on mobile ─────────────────── */
@media(max-width:639px) {
  .section { padding: 56px 0; }
  .steps::before { display: none; }
  .step-row { flex-direction: column !important; align-items: flex-start; gap: 12px; }
  .step-spacer { display: none; }
  .step-num { margin-bottom: 0; }
  .step-card { width: 100%; text-align: left !important; }
}

/* ── Wrap padding fix ───────────────────────────────────── */
@media(max-width:480px) {
  .wrap { padding: 0 16px; }
}

