/* Sv9win — sv9win.live
   Brand palette derived from logo: red + gold + peach gradient */

:root {
  --red-700: #c41e2a;
  --red-600: #e62028;
  --red-500: #ff3a45;
  --gold: #f5c518;
  --gold-deep: #d8a800;
  --peach-50: #fff5f1;
  --peach-100: #ffe4d8;
  --peach-200: #ffc7b3;
  --cream: #fff9f5;

  --bg: #fff9f5;
  --surface: #ffffff;
  --surface-alt: #fff0e6;
  --border: #f5d4c2;
  --text: #2a1a14;
  --text-dim: #5e4438;
  --text-muted: #8a6f63;

  --radius: 16px;
  --radius-sm: 10px;
  --shadow: 0 14px 40px rgba(196, 30, 42, .12);
  --shadow-sm: 0 4px 14px rgba(196, 30, 42, .08);
  --maxw: 1180px;
  --font-en: 'Inter', system-ui, -apple-system, Segoe UI, Roboto, Helvetica, Arial, sans-serif;
  --font-bn: 'Hind Siliguri', 'Inter', system-ui, sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--font-en);
  font-size: 16px;
  line-height: 1.65;
  color: var(--text);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

img { max-width: 100%; height: auto; display: block; }
a { color: var(--red-600); text-decoration: none; }
a:hover { text-decoration: underline; }

h1, h2, h3, h4 { font-weight: 800; line-height: 1.2; margin: 0 0 .6em; color: var(--text); }
h1 { font-size: clamp(1.85rem, 4.5vw, 3rem); }
h2 { font-size: clamp(1.55rem, 3vw, 2.3rem); }
h3 { font-size: 1.18rem; }

.container { max-width: var(--maxw); margin: 0 auto; padding: 0 20px; }

.skip-link {
  position: absolute; left: -9999px; top: 0;
  background: var(--gold); color: #1a1300; padding: 8px 14px; z-index: 1000;
  font-weight: 700;
}
.skip-link:focus { left: 10px; top: 10px; }

/* HEADER */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255, 249, 245, .95);
  backdrop-filter: saturate(150%) blur(10px);
  border-bottom: 1px solid var(--border);
}
.header-inner {
  display: flex; align-items: center; gap: 24px;
  padding: 12px 20px;
}
.brand { display: flex; align-items: center; gap: 10px; color: var(--text); }
.brand:hover { text-decoration: none; }
.brand img { height: 38px; width: auto; }
.brand-bn {
  font-family: var(--font-bn); color: var(--red-600); font-weight: 700;
  font-size: 1rem; padding-left: 12px; border-left: 2px solid var(--peach-200);
}
@media (max-width: 480px) { .brand-bn { display: none; } }

.primary-nav { flex: 1; }
.primary-nav ul {
  list-style: none; display: flex; gap: 22px; margin: 0; padding: 0;
}
.primary-nav a { color: var(--text-dim); font-weight: 600; font-size: .95rem; }
.primary-nav a:hover { color: var(--red-600); text-decoration: none; }
.cta-group { display: flex; gap: 10px; }

.btn {
  display: inline-flex; align-items: center; justify-content: center;
  padding: 11px 20px; border-radius: 999px;
  font-weight: 700; font-size: .95rem; letter-spacing: .2px;
  border: 2px solid transparent; cursor: pointer;
  transition: transform .12s ease, box-shadow .15s ease, background .15s;
  white-space: nowrap;
}
.btn:hover { transform: translateY(-2px); text-decoration: none; }
.btn-primary {
  background: linear-gradient(135deg, var(--red-500), var(--red-700));
  color: #fff;
  box-shadow: 0 6px 18px rgba(230, 32, 40, .35);
}
.btn-primary:hover { box-shadow: 0 12px 28px rgba(230, 32, 40, .5); }
.btn-gold {
  background: linear-gradient(135deg, var(--gold), var(--gold-deep));
  color: #1a1300;
  box-shadow: 0 6px 18px rgba(245, 197, 24, .35);
}
.btn-gold:hover { box-shadow: 0 12px 28px rgba(245, 197, 24, .5); }
.btn-ghost { background: transparent; color: var(--text); border-color: var(--border); }
.btn-ghost:hover { background: var(--surface-alt); }
.btn-telegram {
  background: linear-gradient(135deg, #229ED9, #1a7fb0);
  color: #fff;
  box-shadow: 0 6px 18px rgba(34, 158, 217, .35);
}
.btn-telegram:hover { box-shadow: 0 12px 28px rgba(34, 158, 217, .5); color: #fff; }
.btn-outline { background: transparent; color: var(--red-600); border-color: var(--red-600); }
.btn-outline:hover { background: rgba(230, 32, 40, .08); }
.btn-lg { padding: 15px 28px; font-size: 1rem; }

.nav-toggle {
  display: none; background: transparent; border: 0; padding: 8px;
  flex-direction: column; gap: 5px; cursor: pointer;
}
.nav-toggle span { width: 24px; height: 2px; background: var(--text); display: block; }
.mobile-nav {
  display: none; flex-direction: column; gap: 12px; padding: 16px 20px;
  border-top: 1px solid var(--border); background: var(--surface);
}
.mobile-nav a { color: var(--text); padding: 8px 0; font-weight: 600; }
.mobile-nav[hidden] { display: none !important; }

@media (max-width: 920px) {
  .primary-nav, .cta-group { display: none; }
  .nav-toggle { display: flex; }
  .mobile-nav:not([hidden]) { display: flex; }
}

/* HERO */
.hero {
  position: relative; overflow: hidden;
  background:
    radial-gradient(1200px 600px at 80% 20%, var(--peach-100), transparent 70%),
    radial-gradient(800px 400px at 0% 100%, rgba(245, 197, 24, .15), transparent 60%),
    linear-gradient(180deg, var(--peach-50) 0%, var(--cream) 100%);
  padding: 70px 0 60px;
}
.hero-inner {
  display: grid; grid-template-columns: 1.15fr 1fr; gap: 50px; align-items: center;
}
.eyebrow {
  display: inline-block; padding: 6px 14px; margin: 0 0 20px;
  background: rgba(230, 32, 40, .1); color: var(--red-700);
  border: 1px solid rgba(230, 32, 40, .2); border-radius: 999px;
  font-size: .85rem; font-weight: 700;
}
.hero-text h1 { color: var(--text); }
.hero-text h1 strong { color: var(--red-600); }
.hero-text .lead {
  color: var(--text-dim); font-size: 1.1rem; margin: 18px 0 28px;
  max-width: 56ch;
}
.hero-text .lead strong { color: var(--red-700); font-family: var(--font-bn); }
.hero-cta { display: flex; gap: 12px; flex-wrap: wrap; }
.hero-trust {
  display: flex; flex-wrap: wrap; gap: 14px 22px;
  list-style: none; padding: 0; margin: 30px 0 0;
  color: var(--text-dim); font-size: .92rem; font-weight: 500;
}

.hero-visual { display: flex; justify-content: center; align-items: center; position: relative; }
.hero-visual img.hero-illust {
  width: 100%; max-width: 420px; height: auto;
  filter: drop-shadow(0 30px 50px rgba(196, 30, 42, .25));
  position: relative; z-index: 2;
}
.hero-visual::before {
  content: ''; position: absolute;
  width: 480px; height: 480px; border-radius: 50%;
  background: radial-gradient(circle, var(--peach-100) 0%, transparent 70%);
  z-index: 1;
}

@media (max-width: 820px) {
  .hero { padding: 50px 0 40px; }
  .hero-inner { grid-template-columns: 1fr; gap: 30px; text-align: center; }
  .hero-cta, .hero-trust { justify-content: center; }
  .hero-visual img.hero-illust { max-width: 320px; }
  .hero-visual::before { width: 360px; height: 360px; }
}

/* TRUST BAR */
.trust-bar {
  background: linear-gradient(135deg, var(--red-700), var(--red-600));
  color: #fff;
  padding: 24px 0;
}
.trust-grid {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; text-align: center;
}
.trust-grid > div { display: flex; flex-direction: column; }
.trust-grid strong {
  font-size: 1.6rem; color: var(--gold); font-weight: 800;
  font-family: var(--font-bn);
}
.trust-grid span { color: rgba(255,255,255,.85); font-size: .85rem; margin-top: 2px; }
@media (max-width: 640px) { .trust-grid { grid-template-columns: repeat(2, 1fr); gap: 18px; } }

/* SECTIONS */
.section { padding: 70px 0; }
.section-alt { background: var(--surface-alt); }
.section h2 { text-align: center; margin-bottom: 14px; }
.section h2 strong { color: var(--red-600); }
.section > .container > p { color: var(--text-dim); max-width: 70ch; margin: 0 auto 32px; text-align: center; font-size: 1.02rem; }

/* FEATURES */
.feature-grid {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px;
  margin-top: 30px;
}
.feature {
  background: var(--surface); border: 1px solid var(--border);
  border-radius: var(--radius); padding: 28px 24px;
  transition: transform .15s ease, border-color .15s ease, box-shadow .2s;
  box-shadow: var(--shadow-sm);
}
.feature:hover {
  transform: translateY(-4px);
  border-color: var(--red-500);
  box-shadow: var(--shadow);
}
.feature-icon { font-size: 2rem; margin-bottom: 12px; }
.feature h3 { color: var(--red-700); }
.feature p { color: var(--text-dim); margin: 0; font-size: .96rem; }
@media (max-width: 880px) { .feature-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 600px) { .feature-grid { grid-template-columns: 1fr; } }

/* STEPS */
.steps {
  list-style: none; padding: 0; margin: 30px auto 0;
  max-width: 800px; display: grid; gap: 14px;
}
.steps li {
  background: var(--surface); border: 1px solid var(--border);
  border-radius: var(--radius); padding: 22px 26px;
  box-shadow: var(--shadow-sm);
  position: relative;
}
.steps h3 {
  color: var(--red-700); margin: 0 0 6px; font-size: 1.08rem;
  font-family: var(--font-bn);
}
.steps p { color: var(--text-dim); margin: 0; }

/* PAYMENTS */
.payment-grid {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px;
  margin: 30px 0 18px; max-width: 800px; margin-left: auto; margin-right: auto;
}
.payment {
  background: var(--surface); border: 1px solid var(--border);
  border-radius: var(--radius-sm); padding: 18px;
  text-align: center; font-weight: 700; color: var(--text);
  box-shadow: var(--shadow-sm);
  transition: transform .12s, border-color .15s;
}
.payment:hover { transform: translateY(-2px); border-color: var(--gold); }
.muted { color: var(--text-muted); font-size: .9rem; text-align: center; }
@media (max-width: 700px) { .payment-grid { grid-template-columns: repeat(2, 1fr); } }

/* FAQ */
.faq { max-width: 820px; margin: 30px auto 0; }
.faq details {
  background: var(--surface); border: 1px solid var(--border);
  border-radius: var(--radius-sm); padding: 18px 22px; margin-bottom: 12px;
  box-shadow: var(--shadow-sm);
  transition: border-color .15s;
}
.faq details[open] { border-color: var(--red-500); }
.faq summary {
  cursor: pointer; font-weight: 700; color: var(--text); list-style: none;
  display: flex; justify-content: space-between; align-items: center;
  font-family: var(--font-bn); font-size: 1.02rem;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: '+'; color: var(--red-600); font-size: 1.4rem; font-weight: 800; }
.faq details[open] summary::after { content: '−'; }
.faq p { color: var(--text-dim); margin: 14px 0 0; }

/* CTA */
.cta-section {
  text-align: center; padding: 80px 20px;
  background:
    radial-gradient(800px 400px at 50% 0%, rgba(245, 197, 24, .25), transparent 60%),
    linear-gradient(135deg, var(--red-700), var(--red-600));
  color: #fff;
}
.cta-section h2 { color: #fff; }
.cta-section h2 strong { color: var(--gold); }
.cta-section p { color: rgba(255, 255, 255, .92); margin: 6px 0 26px; font-size: 1.05rem; }
.cta-section .btn { margin: 6px; }
.cta-section .btn-outline { color: #fff; border-color: #fff; }
.cta-section .btn-outline:hover { background: rgba(255,255,255,.15); }

/* FOOTER */
.site-footer { background: #1a0d09; color: #d4b8a8; padding: 50px 0 30px; }
.footer-grid {
  display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 32px; margin-bottom: 30px;
}
.site-footer img.footer-logo { height: 40px; margin-bottom: 12px; }
.site-footer h3 { color: var(--gold); margin-bottom: 10px; }
.site-footer h4 { color: #fff; margin-bottom: 12px; font-size: 1rem; }
.site-footer ul { list-style: none; padding: 0; margin: 0; }
.site-footer li { margin-bottom: 8px; }
.site-footer a { color: #d4b8a8; }
.site-footer a:hover { color: var(--gold); }
.site-footer p { color: #d4b8a8; font-size: .94rem; }
.footer-bottom {
  padding-top: 24px; border-top: 1px solid #3a261d;
  text-align: center; color: #b39685; font-size: .9rem;
}
.footer-bottom p { margin: 4px 0; }
@media (max-width: 760px) {
  .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 480px) {
  .footer-grid { grid-template-columns: 1fr; }
}

/* ===== Feature thumbnail (used in Latest Blog Posts cards) ===== */
.feature-thumb {
  display: block;
  width: 100%;
  height: 160px;
  margin: -8px 0 16px;
  border-radius: 12px;
  overflow: hidden;
  background: linear-gradient(135deg, var(--peach-50) 0%, var(--peach-100) 100%);
  text-decoration: none;
}
.feature-thumb img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  padding: 14px;
  transition: transform .35s ease;
}
.feature:hover .feature-thumb img {
  transform: scale(1.06);
}

/* Read more link inside feature card */
.feature .read-more {
  display: inline-block;
  margin-top: 14px;
  color: var(--red-600);
  font-weight: 700;
  font-size: .92rem;
  text-decoration: none;
  letter-spacing: .2px;
  transition: color .15s, transform .15s;
}
.feature .read-more:hover {
  color: var(--red-700);
  transform: translateX(3px);
  text-decoration: none;
}
.feature h3 a {
  color: inherit;
  text-decoration: none;
}
.feature h3 a:hover {
  text-decoration: none;
  color: var(--red-600);
}



/* Reduce motion */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: 0s !important; transition: none !important; }
  html { scroll-behavior: auto; }
}
