/* Veinsteal — Crimson Lifesteal Theme */
:root {
  --bg: #0a0608;
  --bg-elevated: #120a0e;
  --bg-card: #1a0f14;
  --bg-card-hover: #24141c;
  --crimson: #dc143c;
  --crimson-bright: #ff2d55;
  --crimson-dim: #8b0a1e;
  --crimson-glow: rgba(220, 20, 60, 0.45);
  --blood: #9b0f2e;
  --text: #f5e6ea;
  --text-muted: #a88a94;
  --border: rgba(220, 20, 60, 0.25);
  --border-strong: rgba(220, 20, 60, 0.5);
  --success: #2ecc71;
  --radius: 14px;
  --font: "Segoe UI", system-ui, -apple-system, sans-serif;
  --max: 1100px;
}

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

html { scroll-behavior: smooth; }

body {
  font-family: var(--font);
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  min-height: 100vh;
  overflow-x: hidden;
}

/* Ambient background */
body::before {
  content: "";
  position: fixed;
  inset: 0;
  background:
    radial-gradient(ellipse 80% 50% at 50% -20%, rgba(220, 20, 60, 0.18), transparent 60%),
    radial-gradient(ellipse 40% 40% at 90% 60%, rgba(139, 10, 30, 0.12), transparent 50%),
    radial-gradient(ellipse 35% 35% at 10% 80%, rgba(220, 20, 60, 0.08), transparent 50%);
  pointer-events: none;
  z-index: 0;
}

a { color: var(--crimson-bright); text-decoration: none; transition: color 0.2s; }
a:hover { color: #fff; }

img { max-width: 100%; display: block; }

/* Nav */
.nav {
  position: sticky;
  top: 0;
  z-index: 100;
  backdrop-filter: blur(16px);
  background: rgba(10, 6, 8, 0.85);
  border-bottom: 1px solid var(--border);
}

.nav-inner {
  max-width: var(--max);
  margin: 0 auto;
  padding: 0.9rem 1.25rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.logo {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  font-weight: 800;
  font-size: 1.15rem;
  letter-spacing: 0.02em;
  color: var(--text);
}

.logo-mark {
  width: 32px;
  height: 32px;
  border-radius: 8px;
  background: linear-gradient(135deg, var(--crimson-bright), var(--crimson-dim));
  box-shadow: 0 0 18px var(--crimson-glow);
  display: grid;
  place-items: center;
  font-size: 1rem;
}

.nav-links {
  display: flex;
  gap: 0.25rem;
  list-style: none;
  flex-wrap: wrap;
  justify-content: flex-end;
}

.nav-links a {
  color: var(--text-muted);
  padding: 0.45rem 0.85rem;
  border-radius: 8px;
  font-size: 0.92rem;
  font-weight: 600;
}

.nav-links a:hover { color: var(--text); background: rgba(220, 20, 60, 0.12); }

.nav-toggle {
  display: none;
  background: transparent;
  border: 1px solid var(--border);
  color: var(--text);
  padding: 0.4rem 0.7rem;
  border-radius: 8px;
  cursor: pointer;
  font-size: 1.1rem;
}

/* Sections */
.section {
  position: relative;
  z-index: 1;
  padding: 4.5rem 1.25rem;
}

.section-inner {
  max-width: var(--max);
  margin: 0 auto;
}

.section-label {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--crimson-bright);
  margin-bottom: 0.6rem;
}

.section-title {
  font-size: clamp(1.75rem, 4vw, 2.4rem);
  font-weight: 800;
  letter-spacing: -0.02em;
  margin-bottom: 0.75rem;
}

.section-lead {
  color: var(--text-muted);
  max-width: 560px;
  font-size: 1.05rem;
  margin-bottom: 2.25rem;
}

/* Hero */
.hero {
  padding: 5.5rem 1.25rem 4rem;
  text-align: center;
  position: relative;
  z-index: 1;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  padding: 0.35rem 0.9rem;
  border-radius: 999px;
  border: 1px solid var(--border-strong);
  background: rgba(220, 20, 60, 0.1);
  color: var(--crimson-bright);
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  margin-bottom: 1.5rem;
  animation: pulse-glow 2.5s ease-in-out infinite;
}

@keyframes pulse-glow {
  0%, 100% { box-shadow: 0 0 12px transparent; }
  50% { box-shadow: 0 0 20px var(--crimson-glow); }
}

.hero h1 {
  font-size: clamp(2.6rem, 8vw, 4.2rem);
  font-weight: 900;
  letter-spacing: -0.03em;
  line-height: 1.05;
  margin-bottom: 1rem;
  background: linear-gradient(180deg, #fff 20%, var(--crimson-bright) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  text-shadow: none;
  filter: drop-shadow(0 0 40px var(--crimson-glow));
}

.hero-tagline {
  font-size: clamp(1.05rem, 2.5vw, 1.3rem);
  color: var(--text-muted);
  max-width: 520px;
  margin: 0 auto 2rem;
}

.ip-box {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  background: var(--bg-card);
  border: 1px solid var(--border-strong);
  border-radius: 12px;
  padding: 0.65rem 0.75rem 0.65rem 1.1rem;
  margin-bottom: 1.75rem;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.4), inset 0 1px 0 rgba(255, 255, 255, 0.04);
}

.ip-label {
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--text-muted);
  font-weight: 700;
}

.ip-value {
  font-family: ui-monospace, "Cascadia Code", monospace;
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--text);
  letter-spacing: 0.02em;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.45rem;
  padding: 0.7rem 1.35rem;
  border-radius: 10px;
  font-weight: 700;
  font-size: 0.95rem;
  border: none;
  cursor: pointer;
  transition: transform 0.15s, box-shadow 0.2s, background 0.2s;
  text-decoration: none;
}

.btn:active { transform: scale(0.97); }

.btn-primary {
  background: linear-gradient(135deg, var(--crimson-bright), var(--blood));
  color: #fff;
  box-shadow: 0 4px 24px var(--crimson-glow);
}

.btn-primary:hover {
  box-shadow: 0 6px 32px rgba(255, 45, 85, 0.55);
  color: #fff;
}

.btn-ghost {
  background: transparent;
  color: var(--text);
  border: 1px solid var(--border);
}

.btn-ghost:hover {
  background: rgba(220, 20, 60, 0.12);
  border-color: var(--border-strong);
  color: var(--text);
}

.btn-copy {
  background: rgba(220, 20, 60, 0.2);
  color: var(--crimson-bright);
  border: 1px solid var(--border);
  padding: 0.5rem 0.95rem;
  font-size: 0.85rem;
}

.btn-copy:hover { background: rgba(220, 20, 60, 0.35); color: #fff; }
.btn-copy.copied { background: rgba(46, 204, 113, 0.25); color: var(--success); border-color: rgba(46, 204, 113, 0.4); }

.hero-ctas {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  justify-content: center;
}

/* Heart meter visual */
.hearts-row {
  display: flex;
  justify-content: center;
  gap: 0.25rem;
  margin: 2.5rem auto 0;
  flex-wrap: wrap;
  max-width: 420px;
  opacity: 0.85;
}

.heart {
  width: 14px;
  height: 14px;
  background: var(--crimson);
  clip-path: path("M7 13.5C7 13.5 1 9.5 1 5.5C1 3 3 1.5 5 1.5C6.2 1.5 7 2.3 7 2.3C7 2.3 7.8 1.5 9 1.5C11 1.5 13 3 13 5.5C13 9.5 7 13.5 7 13.5Z");
  animation: heart-beat 1.8s ease-in-out infinite;
}

.heart:nth-child(odd) { animation-delay: 0.15s; }
.heart.dim { background: var(--crimson-dim); opacity: 0.4; }

@keyframes heart-beat {
  0%, 100% { transform: scale(1); }
  50% { transform: scale(1.12); }
}

/* Cards grid */
.grid {
  display: grid;
  gap: 1.25rem;
}

.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }
.grid-5 { grid-template-columns: repeat(5, 1fr); }

.card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.5rem;
  transition: border-color 0.2s, transform 0.2s, background 0.2s;
}

.card:hover {
  border-color: var(--border-strong);
  background: var(--bg-card-hover);
  transform: translateY(-3px);
}

.card-icon {
  width: 44px;
  height: 44px;
  border-radius: 10px;
  background: rgba(220, 20, 60, 0.15);
  display: grid;
  place-items: center;
  font-size: 1.35rem;
  margin-bottom: 1rem;
  border: 1px solid var(--border);
}

.card h3 {
  font-size: 1.1rem;
  font-weight: 750;
  margin-bottom: 0.45rem;
}

.card p {
  color: var(--text-muted);
  font-size: 0.92rem;
}

/* How it works steps */
.steps {
  display: grid;
  gap: 1rem;
  counter-reset: step;
}

.step {
  display: flex;
  gap: 1.15rem;
  align-items: flex-start;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.35rem 1.5rem;
  counter-increment: step;
}

.step::before {
  content: counter(step);
  flex-shrink: 0;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--crimson-bright), var(--blood));
  display: grid;
  place-items: center;
  font-weight: 800;
  font-size: 0.95rem;
  box-shadow: 0 0 16px var(--crimson-glow);
}

.step h3 { font-size: 1.05rem; margin-bottom: 0.25rem; }
.step p { color: var(--text-muted); font-size: 0.92rem; }

.about-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
  align-items: start;
}

.stat-box {
  background: linear-gradient(160deg, rgba(220, 20, 60, 0.2), var(--bg-card));
  border: 1px solid var(--border-strong);
  border-radius: var(--radius);
  padding: 2rem;
  text-align: center;
}

.stat-big {
  font-size: 3.5rem;
  font-weight: 900;
  color: var(--crimson-bright);
  line-height: 1;
  margin-bottom: 0.35rem;
  text-shadow: 0 0 40px var(--crimson-glow);
}

.stat-label { color: var(--text-muted); font-weight: 600; font-size: 0.95rem; }

.stat-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
  margin-top: 1rem;
}

.stat-mini {
  background: var(--bg-elevated);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 1.1rem;
  text-align: center;
}

.stat-mini strong {
  display: block;
  font-size: 1.4rem;
  color: var(--crimson-bright);
  margin-bottom: 0.15rem;
}

.stat-mini span { font-size: 0.8rem; color: var(--text-muted); }

/* Store */
.store-header {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-start;
  justify-content: space-between;
  gap: 0.75rem 1.25rem;
  margin-bottom: 0.35rem;
}

.store-header .section-title {
  margin-bottom: 0;
}

.no-p2w-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.4rem 0.85rem;
  border-radius: 999px;
  border: 1px solid rgba(46, 204, 113, 0.45);
  background: rgba(46, 204, 113, 0.12);
  color: var(--success);
  font-size: 0.75rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  white-space: nowrap;
  box-shadow: 0 0 16px rgba(46, 204, 113, 0.15);
  margin-top: 0.35rem;
}

.no-p2w-badge::before {
  content: "✓";
  font-size: 0.85rem;
}

.store-fair-line {
  color: var(--text-muted);
  font-size: 0.95rem;
  max-width: 640px;
  margin: -1.25rem 0 2rem;
  padding: 0.75rem 1rem;
  border-left: 3px solid var(--success);
  background: rgba(46, 204, 113, 0.06);
  border-radius: 0 10px 10px 0;
}

.store-cta-wrap {
  text-align: center;
  margin-bottom: 2.5rem;
  padding: 2rem;
  background: linear-gradient(135deg, rgba(220, 20, 60, 0.18), rgba(139, 10, 30, 0.1));
  border: 1px solid var(--border-strong);
  border-radius: var(--radius);
}

.store-cta-wrap p {
  color: var(--text-muted);
  margin: 0.5rem auto 1.25rem;
  max-width: 420px;
}

.rank-card {
  text-align: center;
  position: relative;
  overflow: hidden;
}

.rank-card.featured {
  border-color: var(--crimson-bright);
  box-shadow: 0 0 28px rgba(220, 20, 60, 0.2);
}

.rank-badge {
  position: absolute;
  top: 12px;
  right: 12px;
  font-size: 0.65rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  background: var(--crimson);
  color: #fff;
  padding: 0.25rem 0.55rem;
  border-radius: 6px;
}

.rank-price {
  font-size: 1.75rem;
  font-weight: 800;
  margin: 0.75rem 0 0.35rem;
  color: var(--text);
}

.rank-price span {
  font-size: 0.85rem;
  color: var(--text-muted);
  font-weight: 600;
}

.rank-perks {
  list-style: none;
  text-align: left;
  margin: 1rem 0 0;
  padding-top: 1rem;
  border-top: 1px solid var(--border);
}

.rank-perks li {
  font-size: 0.88rem;
  color: var(--text-muted);
  padding: 0.3rem 0;
  padding-left: 1.2rem;
  position: relative;
}

.rank-perks li::before {
  content: "♥";
  position: absolute;
  left: 0;
  color: var(--crimson);
  font-size: 0.75rem;
}

.teaser-note {
  text-align: center;
  margin-top: 1.25rem;
  font-size: 0.85rem;
  color: var(--text-muted);
}


.rank-price-sub {
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--crimson-bright);
  margin-bottom: 0.5rem;
}

.rank-price-sub span {
  font-size: 0.8rem;
  color: var(--text-muted);
  font-weight: 600;
}

.rank-perks li strong {
  color: var(--text);
  font-weight: 700;
}

.monthly-kits {
  margin-top: 2.5rem;
  padding: 1.75rem 1.5rem;
  background: var(--bg-elevated);
  border: 1px solid var(--border);
  border-radius: var(--radius);
}

.monthly-kits-title {
  font-size: 1.25rem;
  font-weight: 800;
  margin-bottom: 0.4rem;
  text-align: center;
}

.monthly-kits-lead {
  color: var(--text-muted);
  font-size: 0.95rem;
  max-width: 640px;
  margin: 0 auto 1.5rem;
  text-align: center;
}

.monthly-card {
  text-align: center;
}

.monthly-card h4 {
  font-size: 1.05rem;
  font-weight: 750;
  margin-bottom: 0.15rem;
}

.monthly-card .rank-perks {
  margin-top: 0.5rem;
  padding-top: 0.75rem;
}

/* Staff */
.staff-card {
  text-align: center;
  padding: 1.75rem 1.25rem;
}

.staff-avatar {
  width: 88px;
  height: 88px;
  border-radius: 16px;
  margin: 0 auto 1rem;
  border: 2px solid var(--border-strong);
  box-shadow: 0 0 20px var(--crimson-glow);
  background: var(--bg-elevated);
  image-rendering: pixelated;
}

.staff-role {
  display: inline-block;
  font-size: 0.7rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 0.25rem 0.65rem;
  border-radius: 6px;
  margin-bottom: 0.55rem;
}

.role-owner { background: rgba(255, 215, 0, 0.2); color: #ffd700; }
.role-admin { background: rgba(220, 20, 60, 0.25); color: var(--crimson-bright); }
.role-mod { background: rgba(100, 149, 237, 0.25); color: #87ceeb; }
.role-helper { background: rgba(46, 204, 113, 0.2); color: #2ecc71; }

.staff-card h3 { font-size: 1.05rem; margin-bottom: 0.25rem; }
.staff-card p { font-size: 0.85rem; color: var(--text-muted); }

/* Footer */
.footer {
  position: relative;
  z-index: 1;
  border-top: 1px solid var(--border);
  padding: 2.5rem 1.25rem;
  background: rgba(0, 0, 0, 0.35);
}

.footer-inner {
  max-width: var(--max);
  margin: 0 auto;
  display: flex;
  flex-wrap: wrap;
  gap: 1.5rem;
  justify-content: space-between;
  align-items: flex-start;
}

.footer-brand { max-width: 280px; }
.footer-brand .logo { margin-bottom: 0.6rem; }
.footer-brand p { font-size: 0.88rem; color: var(--text-muted); }

.footer-links h4 {
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--text-muted);
  margin-bottom: 0.75rem;
}

.footer-links ul { list-style: none; }
.footer-links li { margin-bottom: 0.4rem; }
.footer-links a { color: var(--text); font-size: 0.92rem; font-weight: 600; }
.footer-links a:hover { color: var(--crimson-bright); }

.footer-bottom {
  max-width: var(--max);
  margin: 2rem auto 0;
  padding-top: 1.5rem;
  border-top: 1px solid var(--border);
  font-size: 0.8rem;
  color: var(--text-muted);
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  justify-content: space-between;
}

/* Mobile */
@media (max-width: 900px) {
  .grid-3, .grid-4, .grid-5 { grid-template-columns: repeat(2, 1fr); }
  .about-layout { grid-template-columns: 1fr; }
}

@media (max-width: 640px) {
  .nav-toggle { display: block; }
  .nav-links {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    flex-direction: column;
    background: rgba(10, 6, 8, 0.97);
    border-bottom: 1px solid var(--border);
    padding: 0.75rem;
  }
  .nav-links.open { display: flex; }
  .grid-3, .grid-4, .grid-5, .grid-2 { grid-template-columns: 1fr; }
  .ip-box { flex-direction: column; align-items: stretch; text-align: center; }
  .stat-row { grid-template-columns: 1fr; }
  .hero { padding-top: 3.5rem; }
}

/* Fade-in on scroll helpers */
.reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.55s ease, transform 0.55s ease;
}

.reveal.visible {
  opacity: 1;
  transform: none;
}
