/* ── Reset & Base ───────────────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --bg:        #050810;
  --surface:   #0a0f20;
  --surface2:  #0f1730;
  --border:    #1a2748;
  --border2:   #2a3a66;
  --accent:    #7c6cf6;
  --accent2:   #e85d5d;
  --discord:   #7289da;
  --green:     #2dd55b;
  --text:      #e0e8ff;
  --text2:     #aab6e0;
  --muted:     #5a6a96;
  --radius:    14px;
  --font:      'Segoe UI', system-ui, -apple-system, sans-serif;
  --holo:      linear-gradient(120deg, #7c6cf6, #b06cf6, #e85d5d, #f0a060, #4db87a, #6cb8f6, #7c6cf6);
  --rainbow:   linear-gradient(135deg, #7c6cf6, #b06cf6, #e85d5d, #4db87a, #7c6cf6);
}

@keyframes holoGlow { 0%, 100% { background-position: 0% 50%; } 50% { background-position: 100% 50%; } }
@keyframes fadeUp { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: translateY(0); } }

body {
  background: var(--bg);
  color: var(--text);
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

html { scroll-behavior: smooth; }
a { color: var(--accent); text-decoration: none; }
a:hover { text-decoration: none; opacity: 0.9; }
.accent { color: var(--accent); }
.muted  { color: var(--muted); }

.holo {
  background: var(--holo);
  background-size: 300% 100%;
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  animation: holoGlow 5s ease-in-out infinite;
}

/* Rainbow border wrapper (reserved for the hero best-price card + Pro plan) */
.rainbow-border { background: var(--rainbow); border-radius: 18px; padding: 1.5px; }
.rainbow-border-inner { background: var(--surface); border-radius: 16.5px; }

/* ── Nav ───────────────────────────────────────────────────────────────── */
.nav {
  position: sticky; top: 0; z-index: 100;
  background: rgba(5, 8, 16, 0.92);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--border);
}
.nav-inner {
  max-width: 1080px; margin: 0 auto; padding: 13px 24px;
  display: flex; align-items: center; justify-content: space-between;
}
.nav-logo {
  display: flex; align-items: center; gap: 9px;
  font-size: 1.15rem; font-weight: 700; letter-spacing: -0.3px;
}
.nav-logo i { color: var(--accent); font-size: 1.35rem; }
.nav-logo-img { width: 30px; height: 30px; border-radius: 7px; object-fit: cover; flex: none; }
.nav-links { display: flex; align-items: center; gap: 22px; font-size: 0.9rem; }
.nav-links a { color: var(--muted); transition: color 0.15s; }
.nav-links a:hover { color: var(--text); }
.nav-discord { color: var(--discord) !important; font-weight: 600; }
.nav-cta {
  border: 1px solid var(--border2); color: var(--text) !important;
  font-weight: 600; padding: 7px 15px; border-radius: 9px; transition: border-color 0.15s;
}
.nav-cta:hover { border-color: var(--accent); }
.nav-hamburger { display: none; background: none; border: none; color: var(--text); font-size: 1.4rem; cursor: pointer; padding: 4px 8px; }
.nav-mobile { display: none; flex-direction: column; padding: 12px 24px 16px; gap: 14px; border-top: 1px solid var(--border); }
.nav-mobile.open { display: flex; }
.nav-mobile a { color: var(--muted); font-size: 0.95rem; }
.nav-mobile-cta { border: 1px solid var(--border2); color: var(--text) !important; font-weight: 600; padding: 10px 16px; border-radius: 9px; text-align: center; }
@media (max-width: 720px) { .nav-links { display: none; } .nav-hamburger { display: block; } }

/* ── Hero ───────────────────────────────────────────────────────────────── */
.hero {
  max-width: 760px; margin: 0 auto;
  padding: 72px 24px 56px; text-align: center;
  display: flex; flex-direction: column; align-items: center;
  animation: fadeUp 0.5s ease both;
}
@media (max-width: 640px) { .hero { padding: 48px 20px 40px; } }

.hero-badge {
  display: inline-flex; align-items: center; gap: 7px;
  background: var(--surface2); border: 1px solid var(--border);
  color: var(--text2); padding: 6px 13px; border-radius: 99px;
  font-size: 0.8rem; font-weight: 500; margin-bottom: 20px;
}
.hero-badge i { color: var(--accent2); }

.hero h1 {
  font-size: clamp(2.1rem, 5vw, 3.1rem);
  font-weight: 700; line-height: 1.15; letter-spacing: -0.5px;
  margin-bottom: 16px;
}
.hero-sub { font-size: 1.05rem; color: var(--text2); margin-bottom: 28px; max-width: 480px; }

/* Search-hero bar */
.hero-search {
  display: flex; align-items: center; gap: 10px; width: 100%; max-width: 520px;
  background: var(--surface); border: 1.5px solid var(--border2);
  border-radius: var(--radius); padding: 12px 15px; transition: border-color 0.15s;
}
.hero-search:focus-within { border-color: var(--accent); }
.hero-search > i { color: var(--accent); font-size: 1.25rem; }
.hero-search input {
  flex: 1; background: none; border: none; outline: none;
  color: var(--text); font-family: var(--font); font-size: 1rem;
}
.hero-search input::placeholder { color: var(--muted); }
.hero-search .dice { color: var(--muted); font-size: 1.2rem; cursor: pointer; background: none; border: none; }
.hero-search .dice:hover { color: var(--accent); }
.hero-search-btn {
  background: var(--rainbow); color: #fff; font-weight: 600; font-size: 0.9rem;
  border: none; cursor: pointer; padding: 8px 18px; border-radius: 9px; transition: filter 0.15s;
}
.hero-search-btn:hover { filter: brightness(1.1); }

.hero-popular { font-size: 0.82rem; color: var(--muted); margin-top: 12px; }
.hero-popular a { color: var(--text2); }
.hero-popular a:hover { color: var(--accent); }

/* Hero best-price card (rainbow border reserved here) */
.hero-card-wrap { width: 100%; max-width: 440px; margin: 30px auto 0; text-align: left; }
.hero-card { padding: 16px 17px; }
.hero-card-top { display: flex; justify-content: space-between; align-items: center; margin-bottom: 11px; }
.hero-card-best { font-size: 0.72rem; font-weight: 600; color: var(--accent); letter-spacing: 0.3px; }
.hero-card-stock { font-size: 0.72rem; color: var(--green); }
.hero-card-title { font-size: 0.85rem; color: var(--text2); margin-bottom: 11px; }
.hero-card-main { display: flex; align-items: center; gap: 12px; }
.hero-card-thumb { width: 54px; height: 54px; border-radius: 10px; background: var(--surface2); display: flex; align-items: center; justify-content: center; flex: none; }
.hero-card-thumb i { color: #3a4670; font-size: 1.4rem; }
.hero-card-store { flex: 1; min-width: 0; }
.hero-card-storename { display: flex; align-items: center; gap: 6px; font-size: 0.9rem; font-weight: 600; }
.hero-card-rating { color: #f8c030; font-size: 0.75rem; }
.hero-card-ship { font-size: 0.75rem; color: var(--muted); }
.hero-card-pricewrap { text-align: right; flex: none; }
.hero-card-price { font-size: 1.6rem; font-weight: 700; color: var(--green); line-height: 1; }
.hero-card-tag { font-size: 0.68rem; color: var(--green); background: rgba(45,213,91,0.12); border-radius: 5px; padding: 1px 6px; }
.hero-card-foot { display: flex; justify-content: space-between; border-top: 1px solid var(--border); margin-top: 12px; padding-top: 9px; font-size: 0.75rem; color: var(--muted); }

/* ── Proof bar ──────────────────────────────────────────────────────────── */
.proof-bar { background: var(--surface); border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); padding: 22px 24px; }
.proof-inner { max-width: 860px; margin: 0 auto; display: flex; align-items: center; justify-content: center; flex-wrap: wrap; }
.proof-stat { display: flex; flex-direction: column; align-items: center; padding: 6px 34px; gap: 2px; }
.proof-stat + .proof-stat { border-left: 1px solid var(--border); }
.proof-num { font-size: 1.15rem; font-weight: 700; }
.proof-label { font-size: 0.74rem; color: var(--muted); text-transform: uppercase; letter-spacing: 0.5px; }
@media (max-width: 600px) { .proof-stat { padding: 6px 16px; } .proof-stat + .proof-stat { border-left: none; } }

/* ── Sections ───────────────────────────────────────────────────────────── */
.section { padding: 64px 24px; max-width: 1080px; margin: 0 auto; }
.section-alt { background: var(--surface); border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); max-width: none; }
.section-alt > .section-inner { max-width: 1080px; margin: 0 auto; }
.section-head { margin-bottom: 26px; }
.section-head.center { text-align: center; }
.section-title { font-size: clamp(1.5rem, 3vw, 2rem); font-weight: 600; letter-spacing: -0.3px; margin-bottom: 6px; }
.section-title i { color: var(--accent); }
.section-sub { color: var(--muted); font-size: 0.95rem; }
.section-head-row { display: flex; align-items: flex-end; justify-content: space-between; gap: 16px; flex-wrap: wrap; margin-bottom: 22px; }
.section-link { font-size: 0.88rem; color: var(--accent); white-space: nowrap; }

/* ── Deals ──────────────────────────────────────────────────────────────── */
.deal-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
@media (max-width: 860px) { .deal-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 460px) { .deal-grid { grid-template-columns: 1fr; } }
.deal-card { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); padding: 13px; transition: border-color 0.2s, transform 0.2s; }
.deal-card:hover { border-color: var(--border2); transform: translateY(-3px); }
.deal-img { width: 100%; height: 84px; border-radius: 9px; background: var(--surface2); display: flex; align-items: center; justify-content: center; margin-bottom: 10px; }
.deal-img i { color: #3a4670; font-size: 1.6rem; }
.deal-name { font-size: 0.82rem; color: var(--text2); line-height: 1.3; height: 2.6em; overflow: hidden; }
.deal-priceline { display: flex; align-items: baseline; gap: 7px; margin: 8px 0 6px; }
.deal-price { font-size: 1.1rem; font-weight: 700; color: var(--green); }
.deal-was { font-size: 0.78rem; color: var(--muted); text-decoration: line-through; }
.deal-drop { font-size: 0.72rem; color: var(--accent2); background: rgba(232,93,93,0.13); border-radius: 5px; padding: 1px 7px; }

/* ── Steps ──────────────────────────────────────────────────────────────── */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
@media (max-width: 640px) { .steps { grid-template-columns: 1fr; } }
.step { text-align: center; padding: 8px; }
.step-icon { width: 44px; height: 44px; border-radius: 12px; background: var(--surface2); border: 1px solid var(--border2); display: flex; align-items: center; justify-content: center; margin: 0 auto 12px; }
.step-icon i { color: var(--accent); font-size: 1.3rem; }
.step h3 { font-weight: 600; margin-bottom: 6px; font-size: 1rem; }
.step p { color: var(--muted); font-size: 0.88rem; }

/* ── Store grid ─────────────────────────────────────────────────────────── */
.store-grid { display: flex; flex-wrap: wrap; gap: 9px; }
.store-chip { background: var(--surface2); border: 1px solid var(--border); border-radius: 99px; padding: 7px 15px; font-size: 0.84rem; color: var(--text2); transition: border-color 0.15s; }
.store-chip:hover { border-color: var(--border2); }
.stores-note { color: var(--muted); font-size: 0.85rem; margin-top: 16px; }

/* ── Pricing ────────────────────────────────────────────────────────────── */
.pricing { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; max-width: 640px; margin: 0 auto; }
@media (max-width: 560px) { .pricing { grid-template-columns: 1fr; } }
.plan { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); padding: 22px; }
.plan-head { display: flex; align-items: center; justify-content: space-between; }
.plan-name { font-size: 0.95rem; font-weight: 600; }
.plan-tag { font-size: 0.7rem; color: var(--accent); border: 1px solid var(--border2); border-radius: 6px; padding: 2px 8px; }
.plan-price { font-size: 1.9rem; font-weight: 700; margin: 6px 0 16px; }
.plan-price small { font-size: 0.85rem; color: var(--muted); font-weight: 400; }
.plan-feats { list-style: none; display: grid; gap: 9px; font-size: 0.88rem; color: var(--text2); }
.plan-feats li { display: flex; align-items: flex-start; gap: 8px; }
.plan-feats i { margin-top: 2px; flex: none; }
.plan-feats .free-check { color: var(--green); }
.plan-feats .pro-check { color: var(--accent); }
.plan-btn { display: block; text-align: center; margin-top: 18px; padding: 10px; border-radius: 10px; font-weight: 600; font-size: 0.92rem; }
.plan-btn-free { border: 1px solid var(--border2); color: var(--text); }
.plan-btn-free:hover { border-color: var(--accent); }
.plan-btn-pro { background: var(--rainbow); color: #fff; }
.plan-btn-pro:hover { filter: brightness(1.1); }
.plan-pro-inner { padding: 22px; }

/* ── SEO chips ──────────────────────────────────────────────────────────── */
.seo-chips { display: flex; flex-wrap: wrap; gap: 9px; }
.seo-chip { background: var(--surface2); border: 1px solid var(--border); border-radius: 9px; padding: 6px 12px; font-size: 0.82rem; color: var(--text2); transition: border-color 0.15s; }
.seo-chip:hover { border-color: var(--accent); color: var(--text); }
.seo-note { font-size: 0.78rem; color: #3a4670; margin-top: 12px; }

/* ── CTA ────────────────────────────────────────────────────────────────── */
.cta-section { text-align: center; background: var(--surface); border-top: 1px solid var(--border); padding: 56px 24px; }
.cta-section h2 { font-size: clamp(1.5rem, 3vw, 2rem); font-weight: 600; margin-bottom: 8px; }
.cta-section p { color: var(--text2); margin-bottom: 22px; }
.cta-btns { display: flex; gap: 11px; justify-content: center; flex-wrap: wrap; }
.btn-primary { background: var(--rainbow); color: #fff; font-weight: 600; padding: 11px 22px; border-radius: 11px; transition: filter 0.15s; }
.btn-primary:hover { filter: brightness(1.1); }
.btn-secondary { border: 1px solid var(--border2); color: var(--text); font-weight: 600; padding: 11px 22px; border-radius: 11px; transition: border-color 0.15s; }
.btn-secondary:hover { border-color: var(--accent); }

/* ── Footer ─────────────────────────────────────────────────────────────── */
.footer { border-top: 1px solid var(--border); padding: 26px 24px; }
.footer-inner { max-width: 1080px; margin: 0 auto; display: flex; align-items: center; justify-content: space-between; gap: 14px; flex-wrap: wrap; }
.footer-logo { font-weight: 700; font-size: 1rem; }
.footer-links { display: flex; gap: 18px; font-size: 0.84rem; flex-wrap: wrap; }
.footer-links a { color: var(--muted); }
.footer-links a:hover { color: var(--accent); }
.footer-copy { width: 100%; text-align: center; font-size: 0.74rem; color: #3a4670; margin-top: 6px; }
