:root {
  --blue: #1d7fff;
  --blue-deep: #0a4bd4;
  --blue-bright: #3b9dff;
  --blue-soft: #e8f1ff;
  --ink: #0b1b33;
  --ink-soft: #44556f;
  --white: #ffffff;
  --bg: #f5f9ff;
  --card: #ffffff;
  --border: rgba(29, 127, 255, 0.14);
  --shadow: 0 18px 50px -20px rgba(10, 75, 212, 0.35);
  --radius: 22px;
  --maxw: 1120px;
}

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

html { scroll-behavior: smooth; }

body {
  font-family: "Outfit", system-ui, -apple-system, sans-serif;
  background: var(--bg);
  color: var(--ink);
  line-height: 1.6;
  overflow-x: hidden;
  position: relative;
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
  -webkit-tap-highlight-color: transparent;
}

img { max-width: 100%; }

a { text-decoration: none; color: inherit; }
ul { list-style: none; }
.icon { width: 22px; height: 22px; }

/* ---------- Animated background ---------- */
.bg-orbs { position: fixed; inset: 0; z-index: -2; overflow: hidden; }
.orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(70px);
  opacity: 0.55;
  animation: float 18s ease-in-out infinite;
}
.orb-1 { width: 480px; height: 480px; background: var(--blue-bright); top: -120px; left: -80px; }
.orb-2 { width: 420px; height: 420px; background: var(--blue); bottom: -140px; right: -60px; animation-delay: -6s; }
.orb-3 { width: 360px; height: 360px; background: #8fc4ff; top: 40%; left: 55%; animation-delay: -11s; }

@keyframes float {
  0%, 100% { transform: translate(0, 0) scale(1); }
  33% { transform: translate(40px, -50px) scale(1.08); }
  66% { transform: translate(-30px, 30px) scale(0.95); }
}

.bg-grid {
  position: fixed; inset: 0; z-index: -1;
  background-image:
    linear-gradient(rgba(29,127,255,0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(29,127,255,0.04) 1px, transparent 1px);
  background-size: 46px 46px;
  mask-image: radial-gradient(ellipse 80% 60% at 50% 0%, #000 40%, transparent 100%);
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  gap: 10px;
  font-weight: 600; font-size: 0.95rem;
  padding: 12px 22px; border-radius: 999px;
  cursor: pointer; border: 1px solid transparent;
  transition: transform .2s ease, box-shadow .25s ease, background .25s ease, color .2s ease;
  white-space: nowrap;
}
.btn-lg { padding: 16px 30px; font-size: 1.05rem; }
.btn-small { padding: 8px 18px; font-size: 0.85rem; }

.btn-primary {
  background: linear-gradient(135deg, var(--blue-bright), var(--blue-deep));
  color: #fff;
  box-shadow: 0 12px 28px -10px rgba(29,127,255,0.7);
}
.btn-primary:hover { transform: translateY(-3px); box-shadow: 0 20px 38px -12px rgba(29,127,255,0.85); }

.btn-ghost {
  background: rgba(255,255,255,0.7);
  color: var(--blue-deep);
  border-color: var(--border);
  backdrop-filter: blur(8px);
}
.btn-ghost:hover { transform: translateY(-3px); background: #fff; border-color: var(--blue); }

.btn-small { background: var(--blue-soft); color: var(--blue-deep); }
.btn-small:hover { background: var(--blue); color: #fff; }

.btn-nav { padding: 10px 20px; background: linear-gradient(135deg, var(--blue-bright), var(--blue-deep)); color: #fff; box-shadow: 0 8px 20px -8px rgba(29,127,255,0.7); }
.btn-nav:hover { transform: translateY(-2px); }

.btn-youtube { background: #ff0033; color: #fff; box-shadow: 0 12px 28px -10px rgba(255,0,51,0.6); }
.btn-youtube:hover { transform: translateY(-3px); background: #e6002e; box-shadow: 0 20px 38px -12px rgba(255,0,51,0.7); }

/* ---------- Navbar ---------- */
.nav {
  position: sticky; top: 0; z-index: 50;
  display: flex; align-items: center; justify-content: space-between;
  gap: 20px;
  max-width: var(--maxw); margin: 0 auto;
  padding: 18px 24px;
  transition: padding .3s ease;
}
.nav.scrolled {
  background: rgba(255,255,255,0.75);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--border);
  padding: 12px 24px;
  border-radius: 0 0 18px 18px;
}
.nav-brand { display: flex; align-items: center; gap: 12px; font-weight: 800; font-size: 1.2rem; }
.brand-mark {
  display: grid; place-items: center;
  width: 40px; height: 40px; border-radius: 12px;
  background: linear-gradient(135deg, var(--blue-bright), var(--blue-deep));
  color: #fff; font-weight: 900; font-size: 1rem;
  box-shadow: 0 8px 18px -6px rgba(29,127,255,0.7);
}
.nav-links { display: flex; gap: 28px; }
.nav-links a { font-weight: 500; color: var(--ink-soft); transition: color .2s; }
.nav-links a:hover { color: var(--blue-deep); }

/* ---------- Layout ---------- */
.section { max-width: var(--maxw); margin: 0 auto; padding: 70px 24px; }
.section-title { font-size: clamp(1.8rem, 4vw, 2.6rem); font-weight: 800; letter-spacing: -0.02em; }
.section-sub { color: var(--ink-soft); font-size: 1.05rem; max-width: 560px; margin: 14px auto 0; }
.section-head { text-align: center; margin-bottom: 50px; }
.section-head .section-sub { margin-left: auto; margin-right: auto; }

.gradient-text {
  background: linear-gradient(120deg, var(--blue-bright), var(--blue-deep) 60%, #7b3bff);
  -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent;
}

/* ---------- Hero ---------- */
.hero { max-width: var(--maxw); margin: 0 auto; padding: 80px 24px 40px; text-align: center; }
.hero-inner { max-width: 760px; margin: 0 auto; }
.badge {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 7px 16px; border-radius: 999px;
  background: var(--blue-soft); color: var(--blue-deep);
  font-size: 0.85rem; font-weight: 600;
  border: 1px solid var(--border); margin-bottom: 26px;
}
.badge-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--blue); box-shadow: 0 0 0 0 rgba(29,127,255,0.6); animation: pulse 2s infinite; }
@keyframes pulse {
  0% { box-shadow: 0 0 0 0 rgba(29,127,255,0.55); }
  70% { box-shadow: 0 0 0 10px rgba(29,127,255,0); }
  100% { box-shadow: 0 0 0 0 rgba(29,127,255,0); }
}
.hero-title { font-size: clamp(2.6rem, 7vw, 4.6rem); font-weight: 900; letter-spacing: -0.03em; line-height: 1.05; }
.hero-sub { color: var(--ink-soft); font-size: 1.15rem; margin: 22px auto 34px; max-width: 600px; }
.hero-cta { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }

.hero-stats {
  display: inline-flex; align-items: center; gap: 28px;
  margin-top: 56px; padding: 22px 36px;
  background: rgba(255,255,255,0.7);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  backdrop-filter: blur(10px);
  box-shadow: var(--shadow);
}
.stat { display: flex; flex-direction: column; align-items: center; }
.stat-value { display: inline-flex; align-items: baseline; }
.stat-num { font-size: 1.9rem; font-weight: 800; color: var(--blue-deep); }
.stat-suffix { font-size: 1.9rem; font-weight: 800; color: var(--blue-deep); }
.stat-label { font-size: 0.8rem; color: var(--ink-soft); text-transform: uppercase; letter-spacing: 0.08em; margin-top: 4px; }
.stat-divider { width: 1px; height: 40px; background: var(--border); }

/* ---------- Discord ---------- */
.discord-card {
  position: relative; overflow: hidden;
  max-width: 760px; margin: 0 auto;
  background: linear-gradient(160deg, #ffffff, #f0f6ff);
  border: 1px solid var(--border);
  border-radius: 30px;
  padding: 56px 44px;
  text-align: center;
  box-shadow: var(--shadow);
}
.discord-glow {
  position: absolute; top: -80px; left: 50%; transform: translateX(-50%);
  width: 380px; height: 380px; border-radius: 50%;
  background: radial-gradient(circle, rgba(29,127,255,0.25), transparent 70%);
  pointer-events: none;
}
.discord-content { position: relative; z-index: 1; }
.discord-icon {
  width: 78px; height: 78px; margin: 0 auto 22px;
  display: grid; place-items: center;
  border-radius: 22px;
  background: linear-gradient(135deg, var(--blue-bright), var(--blue-deep));
  color: #fff;
  box-shadow: 0 16px 34px -12px rgba(29,127,255,0.8);
}
.discord-icon svg { width: 42px; height: 42px; }
.discord-perks { display: inline-flex; flex-direction: column; gap: 12px; margin: 28px 0 34px; text-align: left; }
.discord-perks li { display: flex; align-items: center; gap: 12px; font-weight: 500; color: var(--ink-soft); }
.check { display: grid; place-items: center; width: 24px; height: 24px; border-radius: 50%; background: var(--blue-soft); color: var(--blue-deep); font-size: 0.8rem; font-weight: 800; flex-shrink: 0; }
.discord-btn { width: 100%; max-width: 360px; }
.discord-note { margin-top: 14px; font-size: 0.8rem; color: #9aa7bd; }

/* ---------- Merch ---------- */
.merch-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 24px;
}
.merch-card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  transition: transform .3s ease, box-shadow .3s ease;
}
.merch-card:hover { transform: translateY(-8px); box-shadow: var(--shadow); }
.merch-media {
  position: relative;
  display: block;
  height: 260px;
  background: linear-gradient(135deg, #f6faff, #e3eeff);
  overflow: hidden;
}
.merch-media img {
  width: 100%; height: 100%;
  object-fit: contain;
  padding: 14px;
  transition: transform .35s ease;
}
.merch-card:hover .merch-media img { transform: scale(1.06); }
.merch-tag {
  position: absolute; top: 14px; left: 14px;
  background: var(--blue-deep); color: #fff;
  font-size: 0.72rem; font-weight: 700;
  padding: 4px 12px; border-radius: 999px;
  text-transform: uppercase; letter-spacing: 0.05em;
}
.merch-body { padding: 20px 22px 24px; }
.merch-body h3 { font-size: 1.2rem; font-weight: 700; }
.merch-body p { color: var(--ink-soft); font-size: 0.92rem; margin: 6px 0 18px; }
.merch-foot { display: flex; align-items: center; justify-content: space-between; }
.price { font-weight: 800; font-size: 1.15rem; color: var(--blue-deep); }
.merch-cta { text-align: center; margin-top: 44px; }

/* ---------- About ---------- */
.about-card {
  max-width: 760px; margin: 0 auto; text-align: center;
  background: rgba(255,255,255,0.7);
  border: 1px solid var(--border);
  border-radius: 30px;
  padding: 50px 40px;
  backdrop-filter: blur(10px);
  box-shadow: var(--shadow);
}
.about-links { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; margin-top: 30px; }

/* ---------- Footer ---------- */
.footer { border-top: 1px solid var(--border); margin-top: 40px; background: rgba(255,255,255,0.6); }
.footer-inner {
  max-width: var(--maxw); margin: 0 auto;
  padding: 30px 24px;
  display: flex; align-items: center; justify-content: space-between; gap: 18px; flex-wrap: wrap;
}
.footer-brand { display: flex; align-items: center; gap: 10px; font-weight: 800; }
.footer-brand .brand-mark { width: 32px; height: 32px; font-size: 0.85rem; border-radius: 9px; }
.footer-copy { color: var(--ink-soft); font-size: 0.9rem; }
.footer-socials { display: flex; gap: 22px; }
.footer-socials a { color: var(--ink-soft); font-weight: 600; transition: color .2s; }
.footer-socials a:hover { color: var(--blue-deep); }

/* ---------- Reveal animation ---------- */
.reveal { opacity: 0; transform: translateY(28px); transition: opacity .7s ease, transform .7s ease; }
.reveal.visible { opacity: 1; transform: translateY(0); }

/* ---------- Responsive ---------- */
@media (max-width: 720px) {
  .nav { padding: 14px 18px; }
  .nav-links { display: none; }
  .btn-nav { padding: 9px 16px; font-size: 0.9rem; }

  .hero { padding: 48px 20px 30px; }
  .hero-sub { font-size: 1.05rem; }
  .hero-cta { flex-direction: column; align-items: stretch; gap: 12px; }
  .hero-cta .btn { width: 100%; }

  .hero-stats {
    width: 100%;
    display: flex; gap: 6px; padding: 18px 12px;
    margin-top: 40px;
  }
  .stat { flex: 1 1 0; min-width: 0; }
  .stat-num, .stat-suffix { font-size: 1.5rem; }
  .stat-label { font-size: 0.68rem; }
  .stat-divider { display: none; }

  .section { padding: 50px 20px; }
  .discord-card { padding: 38px 22px; }
  .discord-perks li { font-size: 0.95rem; }
  .about-card { padding: 36px 20px; }
  .about-links { flex-direction: column; align-items: stretch; }
  .about-links .btn { width: 100%; }

  .merch-grid { grid-template-columns: repeat(2, 1fr); gap: 14px; }
  .merch-media { height: 150px; }
  .merch-body { padding: 14px 14px 16px; }
  .merch-body h3 { font-size: 1rem; }
  .price { font-size: 1rem; }
  .btn-small { padding: 7px 14px; font-size: 0.8rem; }

  .footer-inner { flex-direction: column; text-align: center; gap: 12px; }
}

@media (max-width: 380px) {
  .merch-grid { grid-template-columns: 1fr; }
  .merch-media { height: 220px; }
  .hero-stats { padding: 16px 8px; }
  .stat-num, .stat-suffix { font-size: 1.3rem; }
}

@media (prefers-reduced-motion: reduce) {
  .orb { animation: none; }
  .reveal { transition: none; opacity: 1; transform: none; }
  html { scroll-behavior: auto; }
}
