/* =========================================================
   D spin — style.css
   Clean, simple, trustworthy design (solid colors only)
   Palette: navy blue + gold + light gray
   ========================================================= */

:root {
  --primary: #1C66D6;
  --primary-dark: #1552AE;
  --primary-deep: #0E2E5C;
  --primary-soft: #E8F1FC;
  --gold: #F5A623;
  --gold-soft: #FEF4E1;
  --green: #1F9D55;
  --green-light: #E7F6EC;
  --red: #D64545;
  --bg: #F3F6FB;
  --card: #ffffff;
  --line: #E4E9F2;
  --text: #1C2737;
  --text-dim: #51617A;
  --text-mute: #8B9AAE;
  --radius: 14px;
  --shadow-card: 0 10px 30px -18px rgba(14,46,92,.25);
  --font-head: "Poppins", sans-serif;
  --font-body: "Inter", sans-serif;
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { font-family: var(--font-body); color: var(--text); background: var(--bg); font-size: 15px; line-height: 1.6; -webkit-font-smoothing: antialiased; }
img, svg { display: block; }
a { text-decoration: none; color: inherit; }
button { font-family: inherit; }
.container { max-width: 1140px; margin: 0 auto; padding: 0 20px; }
.container-narrow { max-width: 760px; }
.section { padding: 80px 0; }
.section-alt { background: var(--bg); }

/* ---------- Helpers ---------- */
.accent { color: var(--primary); }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 9px;
  font-family: var(--font-head); font-weight: 600; font-size: .92rem;
  padding: 12px 24px; border-radius: 10px; border: 1px solid transparent;
  cursor: pointer; transition: background .2s ease, color .2s ease, border-color .2s ease;
  white-space: nowrap;
}
.btn-lg { padding: 14px 30px; font-size: 1rem; }
.btn-full { width: 100%; display: flex; }
.btn-primary { background: var(--primary); color: #fff; }
.btn-primary:hover { background: var(--primary-dark); }
.btn-ghost { background: transparent; color: var(--primary-dark); border-color: transparent; }
.btn-ghost:hover { background: var(--primary-soft); }
.btn-outline { background: #fff; color: var(--primary); border-color: rgba(28,102,214,.28); }
.btn-outline:hover { border-color: var(--primary); background: var(--primary-soft); }
.btn-gold { background: var(--gold); color: var(--primary-deep); }
.btn-gold:hover { background: #e29512; }

/* ---------- Avatar ---------- */
.avatar {
  width: 38px; height: 38px; border-radius: 50%;
  display: inline-flex; align-items: center; justify-content: center;
  font-family: var(--font-head); font-weight: 600; font-size: .78rem;
  background: var(--primary); color: #fff; border: 2px solid #fff; flex-shrink: 0;
}
.avatar.more { background: var(--gold); color: var(--primary-deep); }

/* ---------- Navbar ---------- */
.navbar {
  position: sticky; top: 0; z-index: 60;
  background: rgba(255,255,255,.92); backdrop-filter: blur(8px);
  border-bottom: 1px solid transparent;
}
.navbar.scrolled { border-bottom-color: var(--line); box-shadow: 0 8px 24px -18px rgba(14,46,92,.4); }
.nav-inner { display: flex; align-items: center; gap: 28px; padding: 14px 20px; }
.brand { display: inline-flex; align-items: center; gap: 10px; font-family: var(--font-head); font-weight: 800; font-size: 1.22rem; color: var(--primary-deep); }
.brand-logo-img { height: 36px; width: auto; border-radius: 8px; display: inline-block; flex-shrink: 0; }
.brand.light { color: #fff; }
.brand-text { letter-spacing: -.2px; }
.nav-links { display: flex; gap: 4px; flex: 1; justify-content: center; }
.nav-link {
  padding: 8px 14px; border-radius: 8px; font-weight: 500; font-size: .95rem;
  color: var(--text-dim); transition: color .2s ease, background .2s ease;
}
.nav-link:hover { color: var(--primary); }
.nav-link.active { color: var(--primary); background: var(--primary-soft); font-weight: 600; }
.nav-actions { display: flex; align-items: center; gap: 10px; }
.nav-toggle { display: none; flex-direction: column; gap: 5px; background: none; border: none; cursor: pointer; padding: 6px; }
.nav-toggle span { width: 24px; height: 2.5px; background: var(--primary-deep); border-radius: 3px; transition: transform .2s ease, opacity .2s ease; }
.nav-mobile { display: none; flex-direction: column; padding: 10px 20px 18px; gap: 2px; border-bottom: 1px solid var(--line); background: #fff; }
.nav-mobile .nav-link { padding: 12px 10px; }
.nav-mobile-actions { display: flex; gap: 10px; margin-top: 12px; }

/* ---------- Hero ---------- */
.hero { padding: 72px 0 56px; }
.hero-grid { display: grid; grid-template-columns: 1.15fr .85fr; gap: 48px; align-items: center; }
.hero-badge {
  display: inline-flex; align-items: center; gap: 8px;
  background: #fff; border: 1px solid var(--line); color: var(--primary);
  font-weight: 600; font-size: .82rem; padding: 7px 16px; border-radius: 100px; margin-bottom: 18px;
  box-shadow: 0 4px 14px -8px rgba(14,46,92,.25);
}
.hero-content h1 {
  font-family: var(--font-head); font-weight: 800; font-size: clamp(1.9rem, 4.4vw, 3rem);
  line-height: 1.18; letter-spacing: -.5px; color: var(--primary-deep); margin-bottom: 16px;
}
.hero-content p { color: var(--text-dim); font-size: 1.05rem; max-width: 520px; margin-bottom: 28px; }
.hero-content p strong { color: var(--text); }
.hero-actions { display: flex; gap: 14px; flex-wrap: wrap; margin-bottom: 30px; }
.hero-trust { display: flex; align-items: center; gap: 14px; }
.avatar-stack { display: flex; }
.avatar-stack .avatar { margin-left: -10px; }
.avatar-stack .avatar:first-child { margin-left: 0; }
.hero-trust p { margin: 0; color: var(--text-dim); font-size: .9rem; font-weight: 500; }

/* Hero estimate panel */
.hero-panel {
  background: var(--card); border: 1px solid var(--line); border-radius: 18px;
  padding: 28px; box-shadow: var(--shadow-card);
}
.panel-title { font-family: var(--font-head); font-weight: 700; font-size: 1.05rem; color: var(--primary-deep); margin-bottom: 18px; }
.est-row {
  display: flex; align-items: center; justify-content: space-between;
  padding: 13px 0; border-bottom: 1px solid var(--line);
}
.est-label { color: var(--text-dim); font-size: .94rem; }
.est-value { font-family: var(--font-head); font-weight: 700; color: var(--green); }
.est-total {
  display: flex; align-items: center; justify-content: space-between;
  margin-top: 18px; padding: 14px 16px; border-radius: 12px;
  background: var(--gold-soft); border: 1px solid rgba(245,166,35,.3);
}
.est-total span { color: var(--text-dim); font-size: .88rem; }
.est-total strong { font-family: var(--font-head); font-weight: 800; font-size: 1.25rem; color: var(--primary-deep); }
.est-note { margin-top: 12px; font-size: .78rem; color: var(--text-mute); }

/* ---------- Stats strip ---------- */
.stats { background: var(--primary-deep); color: #fff; padding: 34px 0; }
.stats-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; text-align: center; }
.stat-num { display: block; font-family: var(--font-head); font-weight: 800; font-size: 1.9rem; color: var(--gold); }
.stat-label { display: block; margin-top: 4px; color: #c3cfe2; font-size: .9rem; }

/* ---------- Section head ---------- */
.section-head { max-width: 620px; margin: 0 auto 46px; text-align: center; }
.section-tag {
  display: inline-block; color: var(--primary); background: var(--primary-soft);
  font-weight: 700; font-size: .78rem; text-transform: uppercase; letter-spacing: 1px;
  padding: 5px 14px; border-radius: 100px; margin-bottom: 12px;
}
.section-head h2 { font-family: var(--font-head); font-weight: 800; font-size: clamp(1.5rem, 3vw, 2.1rem); color: var(--primary-deep); margin-bottom: 10px; }
.section-head p { color: var(--text-dim); font-size: 1rem; }

/* ---------- Methods ---------- */
.methods-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.method-card {
  background: var(--card); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 26px 22px; transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
}
.method-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-card); border-color: rgba(28,102,214,.35); }
.method-icon {
  width: 52px; height: 52px; border-radius: 14px;
  background: var(--primary-soft); color: var(--primary);
  display: flex; align-items: center; justify-content: center; margin-bottom: 16px;
}
.method-icon svg { width: 26px; height: 26px; }
.method-card h3 { font-family: var(--font-head); font-weight: 700; font-size: 1.05rem; color: var(--primary-deep); margin-bottom: 8px; }
.method-card p { font-size: .88rem; color: var(--text-dim); margin-bottom: 16px; }
.method-link { font-weight: 600; font-size: .85rem; color: var(--green); }

/* ---------- Steps ---------- */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.step {
  background: var(--card); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 34px 26px 30px; text-align: center; position: relative;
}
.step-num {
  position: absolute; top: -17px; left: 50%; transform: translateX(-50%);
  width: 34px; height: 34px; border-radius: 50%; background: var(--primary); color: #fff;
  font-family: var(--font-head); font-weight: 700; display: flex; align-items: center; justify-content: center;
  border: 3px solid var(--bg);
}
.step h3 { font-family: var(--font-head); font-weight: 700; font-size: 1.1rem; color: var(--primary-deep); margin: 6px 0 8px; }
.step p { font-size: .9rem; color: var(--text-dim); }

/* ---------- Withdrawal methods ---------- */
.pay-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; max-width: 640px; margin: 0 auto; }
.pay-method {
  background: var(--card); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 18px; display: flex; flex-direction: column; align-items: center; gap: 8px;
  font-family: var(--font-head); font-weight: 600; color: var(--text);
}
.pay-name { font-family: var(--font-head); font-weight: 600; font-size: .95rem; color: var(--text); }
.pay-fast { font-size: .7rem; font-weight: 700; color: var(--green); background: var(--green-light); border-radius: 100px; padding: 2px 10px; }

/* ---------- Testimonials ---------- */
.testi-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.testi-card {
  background: var(--card); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 24px;
}
.stars { color: var(--gold); letter-spacing: 3px; }
.testi-card > p { font-size: .9rem; color: var(--text-dim); margin: 12px 0 18px; }
.testi-card > p strong { color: var(--text); }
.testi-user { display: flex; align-items: center; gap: 12px; padding-top: 14px; border-top: 1px solid var(--line); }
.testi-user strong { display: block; font-family: var(--font-head); font-size: .92rem; color: var(--primary-deep); }
.testi-user span { font-size: .78rem; color: var(--text-mute); }

/* ---------- FAQ ---------- */
.faq-list { display: flex; flex-direction: column; gap: 12px; }
.faq-item { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
.faq-q {
  width: 100%; display: flex; align-items: center; justify-content: space-between; gap: 12px;
  background: none; border: none; cursor: pointer; padding: 18px 20px;
  font-family: var(--font-head); font-weight: 600; font-size: .98rem; color: var(--primary-deep); text-align: left;
}
.faq-q span { color: var(--primary); font-size: 1.2rem; transition: transform .2s ease; }
.faq-item.open .faq-q span { transform: rotate(45deg); }
.faq-a { max-height: 0; overflow: hidden; transition: max-height .3s ease; }
.faq-a p { padding: 0 20px 18px; font-size: .9rem; color: var(--text-dim); }

/* ---------- CTA ---------- */
.cta { background: var(--primary-deep); color: #fff; text-align: center; padding: 70px 0; }
.cta h2 { font-family: var(--font-head); font-weight: 800; font-size: clamp(1.6rem, 3.2vw, 2.3rem); margin-bottom: 12px; }
.cta p { color: #c3cfe2; font-size: 1rem; margin-bottom: 28px; }

/* ---------- Footer ---------- */
.footer { background: #0A2148; color: #9fb0cd; padding-top: 56px; font-size: .9rem; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.2fr; gap: 32px; padding-bottom: 40px; }
.footer .brand { margin-bottom: 14px; }
.footer-about { max-width: 260px; color: #8194b5; font-size: .85rem; }
.footer-col h4 { font-family: var(--font-head); font-weight: 600; font-size: .95rem; color: #fff; margin-bottom: 14px; }
.footer-col a { display: block; color: #8194b5; padding: 5px 0; transition: color .2s ease; }
.footer-col a:hover { color: var(--gold); }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.1); padding: 18px 20px; text-align: center; font-size: .8rem; color: #5d6f90; }

/* ---------- Hero illustration ---------- */
.hero-badge svg { width: 15px; height: 15px; color: var(--gold); }
.hero-illus svg { width: 100%; height: auto; display: block; }

/* ---------- Daily Spin section ---------- */
.spin-wrap { display: grid; grid-template-columns: 1fr 1.05fr; gap: 48px; align-items: center; }
.spin-illus svg { width: 100%; height: auto; }
.spin-info .section-tag.left { margin-bottom: 14px; }
.spin-info h2 { font-family: var(--font-head); font-weight: 800; font-size: clamp(1.6rem, 3.2vw, 2.2rem); color: var(--primary-deep); margin-bottom: 14px; }
.spin-info p { color: var(--text-dim); font-size: 1.02rem; margin-bottom: 20px; }
.spin-info p strong { color: var(--text); }

.tick-list { list-style: none; margin-bottom: 26px; display: flex; flex-direction: column; gap: 10px; }
.tick-list li { display: flex; align-items: center; gap: 10px; color: var(--text-dim); font-size: .95rem; }
.tick-list svg { width: 19px; height: 19px; color: var(--green); flex-shrink: 0; }

/* ---------- Referral matrix ---------- */
.matrix-row {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  padding: 30px; display: grid; grid-template-columns: auto auto 1fr; gap: 26px; align-items: center;
  max-width: 900px; margin: 0 auto 34px;
}
.matrix-hero { text-align: center; min-width: 120px; }
.avatar-lg { width: 62px; height: 62px; font-size: 1.1rem; border-color: var(--line); }
.matrix-hero strong { display: block; font-family: var(--font-head); font-weight: 700; font-size: 1.05rem; color: var(--primary-deep); margin-top: 8px; }
.matrix-comm {
  display: inline-block; background: var(--gold); color: var(--primary-deep);
  font-family: var(--font-head); font-weight: 800; font-size: .9rem;
  padding: 4px 14px; border-radius: 100px; margin-top: 6px;
}
.matrix-desc { display: block; color: var(--text-mute); font-size: .78rem; margin-top: 6px; }
.matrix-conn svg { width: 36px; height: 54px; }
.matrix-levels { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.matrix-level {
  background: var(--bg); border: 1px solid var(--line); border-radius: 12px;
  padding: 16px 14px; text-align: center; display: flex; flex-direction: column; align-items: center; gap: 8px;
}
.level-badge {
  font-family: var(--font-head); font-weight: 800; font-size: .72rem; letter-spacing: 1px;
  background: var(--primary-soft); color: var(--primary); padding: 3px 10px; border-radius: 100px;
}
.level-person { width: 30px; height: 30px; font-size: .62rem; margin: 0 -4px; }
.level-person.av-1 { background: var(--primary); }
.level-person.av-2 { background: var(--gold); color: var(--primary-deep); }
.level-person.av-3 { background: var(--green); }
.matrix-level .avatar { display: inline-flex; }
.level-meta { font-size: .76rem; color: var(--text-mute); }
.level-meta strong { color: var(--primary-deep); }

.ref-points { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; max-width: 900px; margin: 0 auto; }
.ref-point {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  padding: 22px; text-align: center;
}
.rp-icon {
  width: 46px; height: 46px; margin: 0 auto 12px; border-radius: 12px;
  background: var(--primary-soft); color: var(--primary);
  display: flex; align-items: center; justify-content: center;
}
.rp-icon svg { width: 23px; height: 23px; }
.ref-point h4 { font-family: var(--font-head); font-weight: 700; font-size: 1rem; color: var(--primary-deep); margin-bottom: 6px; }
.ref-point p { font-size: .85rem; color: var(--text-dim); }

/* ---------- Legal pages (Terms / Privacy) ---------- */
.legal-page { padding: 56px 0 84px; }
.legal-top { display: flex; align-items: center; justify-content: space-between; gap: 14px; margin-bottom: 28px; flex-wrap: wrap; }
.legal-card {
  background: #fff; border: 1px solid var(--line); border-radius: 18px;
  padding: 42px; max-width: 820px; margin: 0 auto; box-shadow: var(--shadow-card);
}
.legal-card h1 { font-family: var(--font-head); font-weight: 800; font-size: 1.85rem; color: var(--primary-deep); letter-spacing: -.5px; }
.legal-updated { color: var(--text-mute); font-size: .84rem; margin: 6px 0 26px; }
.legal-card h2 { font-family: var(--font-head); font-weight: 700; font-size: 1.12rem; color: var(--primary-deep); margin: 26px 0 8px; }
.legal-card p, .legal-card li { font-size: .95rem; color: var(--text-dim); line-height: 1.7; }
.legal-card ul, .legal-card ol { padding-left: 22px; margin: 8px 0; display: grid; gap: 6px; }
.legal-card strong { color: var(--text); }
.legal-card a { color: var(--primary); font-weight: 600; }
@media(max-width: 640px) {
  .legal-card { padding: 26px 20px; }
}

/* ---------- Responsive ---------- */
@media(max-width: 980px) {
  .hero-grid { grid-template-columns: 1fr; gap: 36px; }
  .steps { grid-template-columns: 1fr; }
  .steps .step { margin-top: 12px; }
  .pay-grid { grid-template-columns: repeat(2, 1fr); }
  .testi-grid { grid-template-columns: 1fr; }
  .stats-grid { grid-template-columns: repeat(2, 1fr); gap: 24px; }
  .footer-grid { grid-template-columns: repeat(2, 1fr); }
  .spin-wrap { grid-template-columns: 1fr; gap: 30px; }
  .matrix-row { grid-template-columns: 1fr; gap: 18px; text-align: center; }
  .matrix-conn { display: none; }
  .ref-points { grid-template-columns: repeat(2, 1fr); }
}
@media(max-width: 640px) {
  .section { padding: 56px 0; }
  .nav-links { display: none; }
  .nav-toggle { display: flex; }
  .nav-inner { justify-content: space-between; gap: 12px; }
  .nav-actions .btn { display: none; }
  .nav-mobile.show { display: flex; }
  .pay-grid { grid-template-columns: 1fr; }
  .hero { padding: 48px 0 40px; }
  .matrix-levels { grid-template-columns: 1fr; }
  .ref-points { grid-template-columns: 1fr; }
  .hero-trust { flex-wrap: wrap; gap: 10px; }
  .cta { padding: 54px 0; }
  .footer-grid { grid-template-columns: 1fr; gap: 22px; }
}

/* =========================================================
   STRONGER LOOK + RESPONSIVE FIXES (English version)
   ========================================================= */

/* Buttons — more presence */
.btn {
  font-size: .95rem; font-weight: 700; letter-spacing: -.1px;
  box-shadow: 0 8px 20px -12px rgba(14,46,92,.45);
}
.btn-primary { box-shadow: 0 12px 26px -12px rgba(28,102,214,.65); }
.btn-gold { box-shadow: 0 12px 26px -12px rgba(245,166,35,.6); }
.btn-lg { font-size: 1.03rem; }

/* Hero — stronger */
.hero { padding: 80px 0 64px; background: var(--bg); }
.hero-content h1 { letter-spacing: -1.2px; }
.hero-badge {
  background: var(--gold-soft); border-color: rgba(245,166,35,.35); color: var(--primary-deep);
  box-shadow: 0 6px 18px -10px rgba(245,166,35,.6);
}
.hero-badge svg { width: 16px; height: 16px; }
.hero-illus svg {
  filter: drop-shadow(0 30px 40px rgba(14,46,92,.18));
}
.hero-trust p strong { font-weight: 800; }
.avatar { font-weight: 700; }

/* Stats — stronger */
.stats { padding: 44px 0; background: var(--primary-deep); border-top: 4px solid var(--gold); }
.stat { border-right: 1px solid rgba(255,255,255,.12); }
.stat:last-child { border-right: none; }
.stat-num { font-size: 2.15rem; }
.stat-label { font-size: .92rem; text-transform: uppercase; letter-spacing: .6px; color: #c9d5ea; }

/* Section tags — stronger */
.section-tag { background: var(--primary-deep); color: #fff; padding: 6px 16px; padding-top: 7px; }
.section-alt .section-tag { background: var(--gold); color: var(--primary-deep); }
.section-head h2 { letter-spacing: -.6px; }

/* Referral illustration sizing */
.portrait { max-width: 400px; margin: 0 auto; }
.portrait-mini { max-width: 200px; }
.matrix-hero.portrait-mini svg { width: 100%; height: auto; }

/* Matrix strengthen */
.matrix-row { box-shadow: var(--shadow-card); padding: 34px; }
.level-badge { background: var(--gold); color: var(--primary-deep); }
.level-meta { line-height: 1.5; }

/* Cards hover */
.step:hover, .ref-point:hover, .pay-method:hover, .testi-card:hover {
  transform: translateY(-4px); box-shadow: var(--shadow-card); border-color: rgba(28,102,214,.35);
}
.step, .ref-point, .pay-method, .testi-card { transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease; }

/* Spin section responsive */
@media(max-width: 980px) {
  .spin-illus.portrait { max-width: 330px; }
  .matrix-row { max-width: 620px; }
}

/* Extra mobile tuning */
@media(max-width: 480px) {
  .container { padding: 0 16px; }
  .hero-actions .btn { width: 100%; }
  .stats-grid { gap: 18px; }
  .stat-num { font-size: 1.7rem; }
  .hero-content p { font-size: .98rem; }
  .footer .brand-text { white-space: normal; }
}