/* =====================================================================
   Dante Discounts — styles.css
   Dark neon / Discord-y theme. Mobile-first (base styles are for phones;
   min-width media queries scale up to tablet/desktop).
   No external fonts or libraries = nothing third-party to compromise.
   ===================================================================== */

/* ---------- Design tokens (change your colors here) ---------- */
:root {
  --bg:        #0b0c1a;   /* page background */
  --bg-2:      #12142b;   /* card background */
  --bg-3:      #1a1d3a;   /* raised elements */
  --text:      #e8eaf6;   /* main text */
  --muted:     #9aa0c3;   /* secondary text */
  --accent:    #5865f2;   /* Discord blurple */
  --accent-2:  #7b5cff;   /* violet */
  --neon:      #00e5ff;   /* cyan glow */
  --border:    rgba(255,255,255,0.08);
  --radius:    16px;
  --maxw:      1080px;
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }

body {
  font-family: system-ui, -apple-system, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

a { color: inherit; text-decoration: none; }
.accent { color: var(--accent); }

/* Subtle static backdrop glow */
body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -1;
  background:
    radial-gradient(600px circle at 20% 0%, rgba(88,101,242,0.18), transparent 60%),
    radial-gradient(500px circle at 90% 20%, rgba(0,229,255,0.10), transparent 55%),
    radial-gradient(700px circle at 50% 100%, rgba(123,92,255,0.14), transparent 60%);
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-block;
  padding: 0.85rem 1.4rem;
  border-radius: 999px;
  font-weight: 700;
  font-size: 1rem;
  color: #fff;
  background: linear-gradient(135deg, var(--accent), var(--accent-2));
  box-shadow: 0 8px 24px rgba(88,101,242,0.35);
  transition: transform .15s ease, box-shadow .15s ease, filter .15s ease;
  cursor: pointer;
  text-align: center;
}
.btn:hover { transform: translateY(-2px); filter: brightness(1.08); box-shadow: 0 12px 30px rgba(88,101,242,0.5); }
.btn:active { transform: translateY(0); }
.btn--sm { padding: 0.55rem 1rem; font-size: 0.9rem; }
.btn--lg { padding: 1.05rem 2rem; font-size: 1.1rem; }
.btn--ghost {
  background: transparent;
  border: 1px solid var(--border);
  box-shadow: none;
  color: var(--text);
}
.btn--ghost:hover { border-color: var(--accent); box-shadow: 0 0 0 3px rgba(88,101,242,0.15); }

/* ---------- Nav ---------- */
.nav {
  position: sticky;
  top: 0;
  z-index: 50;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.9rem 1.1rem;
  background: rgba(11,12,26,0.72);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
}
.nav__brand { display: flex; align-items: center; gap: 0.5rem; font-weight: 800; font-size: 1.15rem; }
.nav__logo { color: var(--neon); text-shadow: 0 0 12px var(--neon); font-size: 1.3rem; }

/* ---------- Layout helpers ---------- */
.section {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 3.5rem 1.1rem;
}
.section__title {
  font-size: 1.7rem;
  line-height: 1.2;
  margin-bottom: 0.6rem;
  letter-spacing: -0.02em;
}
.section__lead { color: var(--muted); max-width: 46ch; margin-bottom: 2rem; }

/* ---------- Hero ---------- */
.hero {
  position: relative;
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 3.5rem 1.1rem 2.5rem;
  text-align: left;
}
.hero__glow {
  position: absolute;
  top: -60px; left: 50%;
  width: 320px; height: 320px;
  transform: translateX(-50%);
  background: radial-gradient(circle, rgba(88,101,242,0.35), transparent 65%);
  filter: blur(30px);
  z-index: -1;
}
.eyebrow {
  display: inline-block;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--neon);
  background: rgba(0,229,255,0.08);
  border: 1px solid rgba(0,229,255,0.2);
  padding: 0.35rem 0.75rem;
  border-radius: 999px;
  margin-bottom: 1.1rem;
}
.hero__title {
  font-size: clamp(2.1rem, 8vw, 3.4rem);
  line-height: 1.08;
  letter-spacing: -0.03em;
  margin-bottom: 1rem;
}
.hero__sub { color: var(--muted); font-size: 1.05rem; max-width: 52ch; margin-bottom: 1.8rem; }
.hero__actions { display: flex; flex-direction: column; gap: 0.75rem; margin-bottom: 2.5rem; }

.hero__stats {
  display: flex;
  gap: 1.5rem;
  list-style: none;
  flex-wrap: wrap;
}
.hero__stats li { display: flex; flex-direction: column; }
.hero__stats strong { font-size: 1.6rem; color: #fff; }
.hero__stats span { font-size: 0.85rem; color: var(--muted); }

/* ---------- Steps ---------- */
.steps { display: grid; grid-template-columns: 1fr; gap: 1rem; }
.step {
  background: var(--bg-2);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.5rem;
}
.step__num {
  display: inline-grid;
  place-items: center;
  width: 40px; height: 40px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--accent), var(--accent-2));
  font-weight: 800;
  margin-bottom: 0.9rem;
}
.step h3 { font-size: 1.15rem; margin-bottom: 0.35rem; }
.step p { color: var(--muted); }

/* ---------- Stores grid ---------- */
.stores { display: grid; grid-template-columns: 1fr; gap: 1rem; }
.store {
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
  background: var(--bg-2);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.3rem;
  transition: transform .15s ease, border-color .15s ease, box-shadow .15s ease;
}
.store:hover {
  transform: translateY(-3px);
  border-color: rgba(88,101,242,0.5);
  box-shadow: 0 10px 30px rgba(0,0,0,0.35);
}
.store__top { display: flex; align-items: center; gap: 0.75rem; }
.store__badge {
  display: grid;
  place-items: center;
  width: 44px; height: 44px;
  border-radius: 12px;
  font-weight: 800;
  font-size: 1.1rem;
  color: #fff;
  background: linear-gradient(135deg, var(--accent), var(--accent-2));
  flex: none;
}
.store__name { font-weight: 700; font-size: 1.1rem; }
.store__cat { font-size: 0.78rem; color: var(--neon); text-transform: uppercase; letter-spacing: 0.05em; }
.store__desc { color: var(--muted); font-size: 0.95rem; }
.store__tag {
  align-self: flex-start;
  margin-top: auto;
  font-size: 0.8rem;
  font-weight: 700;
  color: #d7f9ff;
  background: rgba(0,229,255,0.1);
  border: 1px solid rgba(0,229,255,0.25);
  padding: 0.3rem 0.7rem;
  border-radius: 999px;
}

/* ---------- CTA ---------- */
.cta__card {
  text-align: center;
  background: linear-gradient(135deg, rgba(88,101,242,0.18), rgba(123,92,255,0.12));
  border: 1px solid var(--border);
  border-radius: 24px;
  padding: 2.5rem 1.3rem;
}
.cta__card h2 { font-size: 1.7rem; margin-bottom: 0.5rem; }
.cta__card p { color: var(--muted); margin-bottom: 1.5rem; }
.cta__card .btn { margin: 0 auto; }
.cta__fine { font-size: 0.8rem; color: var(--muted); margin-top: 1rem; }

/* ---------- Footer ---------- */
.footer {
  text-align: center;
  padding: 2rem 1.1rem;
  color: var(--muted);
  font-size: 0.85rem;
  border-top: 1px solid var(--border);
}

/* =====================================================================
   BREAKPOINTS — scale up from mobile
   ===================================================================== */
@media (min-width: 640px) {
  .hero__actions { flex-direction: row; }
  .stores { grid-template-columns: repeat(2, 1fr); }
  .steps  { grid-template-columns: repeat(3, 1fr); }
  .section__title { font-size: 2rem; }
}

@media (min-width: 960px) {
  .hero { padding-top: 5rem; }
  .stores { grid-template-columns: repeat(3, 1fr); }
  .section { padding: 4.5rem 1.5rem; }
}

/* Respect users who prefer less motion */
@media (prefers-reduced-motion: reduce) {
  * { transition: none !important; scroll-behavior: auto !important; }
}
