/* RK Gold Landing — navy + gold identity (rkgold.in) */
:root {
  --navy: #1A1A3F;
  --navy-deep: #12122B;
  --navy-mid: #252558;
  --navy-soft: #2E2E6A;
  --gold: #FFB800;
  --gold-dark: #E5A600;
  --gold-glow: rgba(255, 184, 0, 0.35);
  --gold-tint: #FFF8E6;
  --cream: #F7F5F0;
  --white: #FFFFFF;
  --text-on-navy: rgba(255, 255, 255, 0.92);
  --text-muted: rgba(255, 255, 255, 0.65);
  --text-dark: #1A1A3F;
  --text-muted-dark: #5C5C7A;
  --telegram: #26A5E4;
  --radius: 14px;
  --radius-lg: 22px;
  --shadow: 0 8px 32px rgba(26, 26, 63, 0.12);
  --shadow-gold: 0 12px 40px rgba(255, 184, 0, 0.25);
  --container: min(100% - 2rem, 1080px);
  --header-h: 64px;
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, sans-serif;
  background: var(--navy-deep);
  color: var(--text-on-navy);
  line-height: 1.6;
  min-height: 100vh;
  -webkit-font-smoothing: antialiased;
}

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

a {
  color: inherit;
}

.container {
  width: var(--container);
  margin-inline: auto;
  padding-inline: 1rem;
}

.text-gold {
  color: var(--gold);
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.75rem 1.35rem;
  font-family: inherit;
  font-size: 0.95rem;
  font-weight: 700;
  text-decoration: none;
  border-radius: var(--radius);
  border: 2px solid transparent;
  cursor: pointer;
  transition: transform 0.18s ease, box-shadow 0.18s ease, background 0.18s ease;
  white-space: nowrap;
}

.btn:active {
  transform: scale(0.98);
}

.btn-icon {
  width: 1.15rem;
  height: 1.15rem;
  flex-shrink: 0;
}

.btn-gold {
  background: linear-gradient(135deg, var(--gold) 0%, var(--gold-dark) 100%);
  color: var(--navy-deep);
  box-shadow: var(--shadow-gold);
}

.btn-gold:hover {
  box-shadow: 0 16px 48px rgba(255, 184, 0, 0.4);
  transform: translateY(-1px);
}

.btn-outline {
  background: transparent;
  color: var(--white);
  border-color: rgba(255, 255, 255, 0.35);
}

.btn-outline:hover {
  border-color: var(--gold);
  color: var(--gold);
}

.btn-telegram {
  background: var(--telegram);
  border-color: var(--telegram);
  color: var(--white);
}

.btn-telegram:hover {
  filter: brightness(1.05);
}

.btn-lg {
  padding: 0.9rem 1.6rem;
  font-size: 1rem;
}

.btn-xl {
  padding: 1rem 2rem;
  font-size: 1.05rem;
  font-weight: 800;
  width: 100%;
  max-width: 360px;
}

.btn-block {
  width: 100%;
}

.btn-header {
  display: none;
  padding: 0.55rem 1rem;
  font-size: 0.85rem;
}

.btn-pulse {
  animation: pulse-gold 2.8s ease-in-out infinite;
}

@keyframes pulse-gold {
  0%, 100% { box-shadow: var(--shadow-gold); }
  50% { box-shadow: 0 0 0 8px rgba(255, 184, 0, 0.12), var(--shadow-gold); }
}

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 200;
  background: rgba(18, 18, 43, 0.92);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(255, 184, 0, 0.12);
}

.header-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: var(--header-h);
  gap: 1rem;
}

.brand {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  text-decoration: none;
  color: var(--white);
  font-weight: 800;
  font-size: 1.15rem;
  min-width: 0;
}

.brand-logo {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  object-fit: cover;
  border: 2px solid rgba(255, 184, 0, 0.4);
}

.brand-name em {
  font-style: normal;
  color: var(--gold);
}

.nav-desktop {
  display: none;
  align-items: center;
  gap: 0.25rem;
}

.nav-desktop a {
  text-decoration: none;
  color: var(--text-muted);
  font-weight: 600;
  font-size: 0.9rem;
  padding: 0.5rem 0.85rem;
  border-radius: 8px;
  transition: color 0.15s, background 0.15s;
}

.nav-desktop a:hover {
  color: var(--gold);
  background: rgba(255, 184, 0, 0.08);
}

.nav-toggle {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 40px;
  height: 40px;
  padding: 8px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 10px;
  cursor: pointer;
}

.nav-toggle span {
  display: block;
  height: 2px;
  background: var(--white);
  border-radius: 2px;
  transition: transform 0.2s, opacity 0.2s;
}

.nav-toggle[aria-expanded="true"] span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.nav-toggle[aria-expanded="true"] span:nth-child(2) {
  opacity: 0;
}

.nav-toggle[aria-expanded="true"] span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

.nav-mobile {
  display: none;
  flex-direction: column;
  gap: 0.25rem;
  padding: 0.75rem 1rem 1.25rem;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  background: var(--navy-deep);
}

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

.nav-mobile a {
  text-decoration: none;
  color: var(--text-on-navy);
  font-weight: 600;
  padding: 0.75rem 0.5rem;
  border-radius: 8px;
}

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

/* Hero */
.hero {
  position: relative;
  overflow: hidden;
  padding: 3rem 0 2.5rem;
  background:
    radial-gradient(ellipse 80% 60% at 70% 20%, rgba(255, 184, 0, 0.14) 0%, transparent 55%),
    linear-gradient(165deg, var(--navy) 0%, var(--navy-deep) 55%, #0D0D22 100%);
}

.hero-glow {
  position: absolute;
  inset: -40% -20% auto;
  height: 70%;
  background: radial-gradient(circle, var(--gold-glow) 0%, transparent 65%);
  pointer-events: none;
  opacity: 0.5;
}

.hero-grid {
  position: relative;
  display: grid;
  gap: 2.5rem;
  align-items: center;
}

.hero-copy h1 {
  font-size: clamp(1.85rem, 6vw, 2.75rem);
  font-weight: 800;
  line-height: 1.15;
  letter-spacing: -0.02em;
  margin-bottom: 1rem;
}

.eyebrow {
  display: inline-block;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 0.85rem;
  padding: 0.35rem 0.75rem;
  border-radius: 999px;
  background: rgba(255, 184, 0, 0.12);
  border: 1px solid rgba(255, 184, 0, 0.25);
}

.hero-lead {
  color: var(--text-muted);
  font-size: 1rem;
  max-width: 34rem;
  margin-bottom: 1.5rem;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.hero-visual {
  display: flex;
  justify-content: center;
}

.phone-frame {
  width: min(100%, 260px);
  padding: 2rem 1.5rem;
  text-align: center;
  border-radius: 28px;
  background: linear-gradient(160deg, var(--navy-mid) 0%, var(--navy-deep) 100%);
  border: 2px solid rgba(255, 184, 0, 0.3);
  box-shadow: 0 24px 64px rgba(0, 0, 0, 0.45), inset 0 1px 0 rgba(255, 255, 255, 0.08);
}

.hero-app-icon {
  width: 96px;
  height: 96px;
  margin: 0 auto 1rem;
  border-radius: 22px;
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.35);
}

.phone-label {
  font-size: 1.35rem;
  font-weight: 800;
  color: var(--gold);
}

.phone-tagline {
  font-size: 0.85rem;
  color: var(--text-muted);
  margin-top: 0.25rem;
}

.hero-cta-row {
  position: relative;
  margin-top: 2rem;
  display: flex;
  justify-content: center;
}

/* Sections */
.section {
  padding: 3.5rem 0;
}

.section-head {
  text-align: center;
  margin-bottom: 2rem;
}

.section-head h2 {
  font-size: clamp(1.5rem, 4vw, 2rem);
  font-weight: 800;
  margin-bottom: 0.35rem;
}

.section-head p {
  color: var(--text-muted);
}

.section-head-light h2 {
  color: var(--text-dark);
}

.section-head-light p {
  color: var(--text-muted-dark);
}

.section-badge {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--navy-deep);
  background: var(--gold);
  padding: 0.35rem 0.9rem;
  border-radius: 999px;
  margin-bottom: 0.85rem;
}

.section-badge-navy {
  background: var(--navy);
  color: var(--gold);
  border: 1px solid rgba(255, 184, 0, 0.35);
}

.section-cta {
  display: flex;
  justify-content: center;
  margin-top: 2rem;
}

.rate-note {
  font-size: 0.9rem;
  margin-top: 0.5rem;
  font-style: italic;
}

/* Matka rates */
.section-rates {
  background: var(--cream);
  color: var(--text-dark);
}

.section-rates .section-head p {
  color: var(--text-muted-dark);
}

.rates-table-wrap {
  display: none;
  overflow-x: auto;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
  border: 1px solid rgba(26, 26, 63, 0.08);
}

.rates-table {
  width: 100%;
  border-collapse: collapse;
  background: var(--white);
}

.rates-table th,
.rates-table td {
  padding: 1rem 1.25rem;
  text-align: left;
  border-bottom: 1px solid rgba(26, 26, 63, 0.06);
}

.rates-table th {
  background: var(--navy);
  color: var(--gold);
  font-size: 0.8rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.rates-table tbody tr:last-child td {
  border-bottom: none;
}

.rates-table tbody tr:hover {
  background: var(--gold-tint);
}

.rate-value strong {
  color: var(--navy);
  font-weight: 800;
}

.rate-highlight {
  background: rgba(255, 184, 0, 0.08);
}

.rate-featured {
  background: linear-gradient(90deg, rgba(255, 184, 0, 0.15), rgba(255, 184, 0, 0.05));
}

.rate-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 1.75rem;
  height: 1.75rem;
  margin-right: 0.5rem;
  border-radius: 8px;
  background: var(--navy);
  color: var(--gold);
  font-size: 0.8rem;
  font-weight: 800;
  vertical-align: middle;
}

.rate-badge-gold {
  background: var(--gold);
  color: var(--navy-deep);
}

.rate-cards-mobile {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0.85rem;
}

.rate-card {
  background: var(--white);
  border-radius: var(--radius);
  padding: 1.1rem 1.25rem;
  border: 1px solid rgba(26, 26, 63, 0.08);
  box-shadow: 0 2px 12px rgba(26, 26, 63, 0.06);
}

.rate-card h3 {
  font-size: 1rem;
  font-weight: 700;
  margin: 0.5rem 0 0.25rem;
}

.rate-card p {
  color: var(--text-muted-dark);
  font-weight: 600;
}

.rate-card-gold {
  border-color: rgba(255, 184, 0, 0.45);
  background: linear-gradient(135deg, #FFFCF5, var(--white));
}

.rate-card-featured {
  border: 2px solid var(--gold);
  background: linear-gradient(135deg, var(--gold-tint), var(--white));
}

/* Starline */
.section-starline {
  background: linear-gradient(180deg, var(--white) 0%, var(--gold-tint) 100%);
  color: var(--text-dark);
}

.starline-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1rem;
}

.starline-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 1.35rem;
  text-align: center;
  border: 1px solid rgba(26, 26, 63, 0.08);
  box-shadow: var(--shadow);
  transition: transform 0.2s, border-color 0.2s;
}

.starline-card:hover {
  transform: translateY(-4px);
  border-color: rgba(255, 184, 0, 0.4);
}

.starline-card h3 {
  font-size: 1rem;
  margin: 0.65rem 0 0.35rem;
}

.starline-card .rate-line {
  color: var(--text-muted-dark);
  font-weight: 600;
}

.starline-card .rate-line strong {
  color: var(--navy);
}

.starline-card-accent {
  border-color: var(--gold);
  background: linear-gradient(160deg, var(--gold-tint), var(--white));
}

/* Jackpot */
.section-jackpot {
  background:
    radial-gradient(circle at 20% 50%, rgba(255, 184, 0, 0.18) 0%, transparent 45%),
    var(--navy);
}

.jackpot-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 1.5rem;
}

.jackpot-copy h2 {
  font-size: clamp(1.5rem, 4vw, 2rem);
  font-weight: 800;
  margin: 0.5rem 0;
}

.jackpot-copy p {
  color: var(--text-muted);
  max-width: 28rem;
}

/* CTA band */
.section-cta-band {
  padding: 2.5rem 0;
  background: linear-gradient(90deg, var(--navy-deep), var(--navy-mid));
  border-block: 1px solid rgba(255, 184, 0, 0.15);
}

.cta-band-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 1.25rem;
}

.cta-band-inner h2 {
  font-size: 1.75rem;
  font-weight: 800;
  color: var(--gold);
}

.cta-band-inner p {
  color: var(--text-muted);
}

/* How to play */
.section-steps {
  background: var(--cream);
  color: var(--text-dark);
}

.steps {
  list-style: none;
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.25rem;
  counter-reset: step;
}

.step {
  position: relative;
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 1.5rem 1.25rem 1.25rem;
  text-align: center;
  border: 1px solid rgba(26, 26, 63, 0.08);
  box-shadow: var(--shadow);
}

.step-num {
  position: absolute;
  top: -0.85rem;
  left: 50%;
  transform: translateX(-50%);
  width: 2rem;
  height: 2rem;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--gold);
  color: var(--navy-deep);
  font-weight: 800;
  font-size: 0.9rem;
  border-radius: 50%;
  box-shadow: 0 4px 12px rgba(255, 184, 0, 0.4);
}

.step-icon {
  display: block;
  font-size: 1.5rem;
  margin: 0.5rem 0;
}

.step h3 {
  font-size: 1.05rem;
  margin-bottom: 0.35rem;
}

.step p {
  font-size: 0.9rem;
  color: var(--text-muted-dark);
}

/* FAQ */
.section-faq {
  background: var(--navy);
}

.faq-list {
  max-width: 640px;
  margin: 0 auto 1.5rem;
}

.faq-item {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--radius);
  margin-bottom: 0.75rem;
  overflow: hidden;
}

.faq-item summary {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 1rem 1.15rem;
  font-weight: 700;
  cursor: pointer;
  list-style: none;
}

.faq-item summary::-webkit-details-marker {
  display: none;
}

.faq-item summary::after {
  content: '+';
  margin-left: auto;
  font-size: 1.25rem;
  color: var(--gold);
  font-weight: 400;
}

.faq-item[open] summary::after {
  content: '−';
}

.faq-num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 1.75rem;
  height: 1.75rem;
  flex-shrink: 0;
  border-radius: 8px;
  background: var(--gold);
  color: var(--navy-deep);
  font-size: 0.85rem;
  font-weight: 800;
}

.faq-item p {
  padding: 0 1.15rem 1.15rem 3.65rem;
  color: var(--text-muted);
  font-size: 0.95rem;
}

.faq-support {
  text-align: center;
  color: var(--text-muted);
  margin-bottom: 1rem;
}

.faq-contact {
  display: flex;
  justify-content: center;
}

/* Footer */
.site-footer {
  padding: 2.5rem 0;
  background: var(--navy-deep);
  border-top: 1px solid rgba(255, 184, 0, 0.12);
}

.footer-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 1.25rem;
}

.footer-copy {
  font-size: 0.88rem;
  color: var(--text-muted);
}

.footer-copy a {
  color: var(--gold);
  text-decoration: none;
}

.footer-copy a:hover {
  text-decoration: underline;
}

/* Responsive */
@media (min-width: 600px) {
  .rate-cards-mobile {
    grid-template-columns: repeat(2, 1fr);
  }

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

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

@media (min-width: 768px) {
  .btn-header {
    display: inline-flex;
  }

  .nav-toggle {
    display: none;
  }

  .nav-desktop {
    display: flex;
  }

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

  .hero-grid {
    grid-template-columns: 1.1fr 0.9fr;
    text-align: left;
  }

  .hero-visual {
    justify-content: flex-end;
  }

  .rates-table-wrap {
    display: block;
  }

  .rate-cards-mobile {
    display: none;
  }

  .starline-grid {
    grid-template-columns: repeat(4, 1fr);
  }

  .steps {
    grid-template-columns: repeat(4, 1fr);
  }

  .jackpot-inner {
    flex-direction: row;
    justify-content: space-between;
    text-align: left;
  }

  .cta-band-inner {
    flex-direction: row;
    justify-content: space-between;
    text-align: left;
  }
}

@media (min-width: 900px) {
  :root {
    --container: 1080px;
  }
}
