:root {
  --bg: #050505;
  --bg-elevated: #0c0c0c;
  --bg-card: rgba(14, 14, 14, 0.88);
  --red: #e10600;
  --red-bright: #ff1f1f;
  --red-deep: #8f0400;
  --red-soft: rgba(225, 6, 0, 0.16);
  --red-border: rgba(225, 6, 0, 0.35);
  --text: #f5f5f5;
  --text-muted: #a3a3a3;
  --line: rgba(255, 255, 255, 0.08);
  --radius: 16px;
  --shadow: 0 24px 60px rgba(0, 0, 0, 0.55);
  --header-h: 78px;
  --font-display: "Bebas Neue", sans-serif;
  --font-body: "Inter", system-ui, sans-serif;
  --max: 1180px;
}

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

html {
  scroll-behavior: smooth;
}

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

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

a {
  color: inherit;
  text-decoration: none;
}

button {
  font: inherit;
  border: 0;
  background: none;
  cursor: pointer;
  color: inherit;
}

#bg-canvas {
  position: fixed;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
  pointer-events: none;
}

.bg-vignette,
.bg-glow {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 0;
}

.bg-vignette {
  background:
    radial-gradient(ellipse at center, transparent 0%, rgba(0, 0, 0, 0.55) 70%, rgba(0, 0, 0, 0.9) 100%),
    linear-gradient(180deg, rgba(225, 6, 0, 0.08), transparent 35%, rgba(0, 0, 0, 0.55) 100%);
}

.bg-glow {
  background:
    radial-gradient(circle at 15% 10%, rgba(225, 6, 0, 0.18), transparent 32%),
    radial-gradient(circle at 85% 20%, rgba(225, 6, 0, 0.12), transparent 28%),
    radial-gradient(circle at 50% 100%, rgba(225, 6, 0, 0.1), transparent 40%);
}

.container {
  width: min(100% - 2.5rem, var(--max));
  margin-inline: auto;
}

.site-header,
main,
.site-footer {
  position: relative;
  z-index: 1;
}

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  height: var(--header-h);
  display: flex;
  align-items: center;
  border-bottom: 1px solid transparent;
  transition: background 0.25s ease, border-color 0.25s ease, backdrop-filter 0.25s ease;
}

.site-header.scrolled {
  background: rgba(5, 5, 5, 0.82);
  border-bottom-color: var(--line);
  backdrop-filter: blur(16px);
}

.header-inner {
  display: flex;
  align-items: center;
  gap: 1.25rem;
  width: min(100% - 2.5rem, var(--max));
}

.logo {
  display: inline-flex;
  align-items: center;
  gap: 0.7rem;
  flex-shrink: 0;
}

.logo-mark {
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  border-radius: 12px;
  overflow: hidden;
  background: #0a0a0a;
  box-shadow: 0 0 24px rgba(225, 6, 0, 0.45);
  flex-shrink: 0;
}

.logo-mark img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.logo-animated {
  position: relative;
  animation: logo-pulse 2.8s ease-in-out infinite;
}

.logo-animated::after {
  content: "";
  position: absolute;
  inset: -2px;
  border-radius: 14px;
  background: linear-gradient(120deg, transparent 20%, rgba(255, 60, 40, 0.55), transparent 80%);
  opacity: 0;
  animation: logo-sheen 3.4s ease-in-out infinite;
  pointer-events: none;
}

.logo-text {
  font-family: var(--font-display);
  font-size: 1.7rem;
  letter-spacing: 0.12em;
}

@keyframes logo-pulse {
  0%, 100% {
    box-shadow: 0 0 14px rgba(225, 6, 0, 0.35);
    transform: scale(1);
  }
  50% {
    box-shadow: 0 0 28px rgba(225, 6, 0, 0.7);
    transform: scale(1.05);
  }
}

@keyframes logo-sheen {
  0%, 100% { opacity: 0; transform: translateX(-8px); }
  40% { opacity: 0.55; }
  70% { opacity: 0; transform: translateX(8px); }
}

@media (prefers-reduced-motion: reduce) {
  .logo-animated,
  .logo-animated::after {
    animation: none;
  }
}

.nav {
  display: flex;
  align-items: center;
  gap: 0.25rem;
  margin-left: auto;
}

.nav-link {
  padding: 0.55rem 0.9rem;
  border-radius: 999px;
  color: var(--text-muted);
  font-size: 0.92rem;
  font-weight: 500;
  transition: color 0.2s ease, background 0.2s ease;
}

.nav-link:hover,
.nav-link.active {
  color: var(--text);
  background: rgba(255, 255, 255, 0.04);
}

.nav-link.active {
  color: #fff;
  box-shadow: inset 0 -2px 0 var(--red);
  border-radius: 0;
  background: transparent;
}

.nav-discord {
  color: #fff;
}

.header-cta {
  margin-left: 0.5rem;
}

.nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  margin-left: auto;
  place-items: center;
  gap: 5px;
  flex-direction: column;
}

.nav-toggle span {
  display: block;
  width: 20px;
  height: 2px;
  background: #fff;
  border-radius: 2px;
  transition: transform 0.2s ease, opacity 0.2s ease;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.55rem;
  min-height: 48px;
  padding: 0.75rem 1.25rem;
  border-radius: 12px;
  font-weight: 600;
  font-size: 0.95rem;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease, border-color 0.2s ease;
}

.btn:hover {
  transform: translateY(-1px);
}

.btn-primary {
  background: linear-gradient(180deg, var(--red-bright), var(--red));
  color: #fff;
  box-shadow: 0 10px 28px rgba(225, 6, 0, 0.35);
}

.btn-primary:hover {
  box-shadow: 0 14px 34px rgba(225, 6, 0, 0.48);
}

.btn-ghost {
  border: 1px solid var(--red-border);
  background: rgba(225, 6, 0, 0.08);
  color: #fff;
}

.btn-ghost:hover {
  border-color: rgba(225, 6, 0, 0.6);
  background: rgba(225, 6, 0, 0.16);
}

.btn-sm {
  min-height: 40px;
  padding: 0.45rem 0.95rem;
  font-size: 0.88rem;
}

.btn-lg {
  min-height: 54px;
  padding: 0.9rem 1.5rem;
  font-size: 1rem;
}

.btn-block {
  width: 100%;
}

/* Typography helpers */
.eyebrow {
  display: inline-block;
  margin-bottom: 0.85rem;
  color: var(--red-bright);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

h1,
h2,
h3 {
  font-family: var(--font-display);
  font-weight: 400;
  line-height: 0.95;
  letter-spacing: 0.03em;
}

h1 {
  font-size: clamp(3.2rem, 8vw, 5.6rem);
  margin-bottom: 1.1rem;
}

h2 {
  font-size: clamp(2.4rem, 5vw, 3.6rem);
  margin-bottom: 0.75rem;
}

h3 {
  font-size: 1.7rem;
  letter-spacing: 0.04em;
  margin-bottom: 0.55rem;
}

.hero-lead,
.section-lead {
  max-width: 620px;
  color: var(--text-muted);
  font-size: 1.05rem;
}

/* Hero */
.hero {
  padding: clamp(4rem, 10vh, 7rem) 0 clamp(4rem, 8vh, 6rem);
}

.hero-inner {
  max-width: 760px;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem;
  margin-top: 1.75rem;
}

.hero-stats {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
  margin-top: 3rem;
  max-width: 560px;
}

.stat {
  padding: 1rem 1.1rem;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.02);
}

.stat strong {
  display: block;
  font-family: var(--font-display);
  font-size: 1.8rem;
  letter-spacing: 0.06em;
  color: #fff;
}

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

/* Products */
.products-section {
  padding: 4.5rem 0 2rem;
}

.products-section-alt {
  padding-top: 2rem;
  padding-bottom: 4.5rem;
}

.section-head {
  margin-bottom: 2.25rem;
}

.product-grid {
  display: grid;
  gap: 1.35rem;
}

.product-grid-boost {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  max-width: 820px;
  margin-inline: auto;
  gap: 1.1rem;
}

.product-grid-boost .product-body {
  padding: 1rem 1.05rem 1.15rem;
}

.product-grid-boost .product-body p {
  font-size: 0.88rem;
  min-height: 2.6em;
}

.product-grid-boost h3 {
  font-size: 1.45rem;
}

.product-grid-boost .btn {
  min-height: 42px;
  font-size: 0.9rem;
}

.product-grid-sources {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.product-card {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--bg-card);
  box-shadow: var(--shadow);
  backdrop-filter: blur(10px);
  transition: transform 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease;
}

.product-card:hover {
  transform: translateY(-6px);
  border-color: var(--red-border);
  box-shadow: 0 28px 70px rgba(225, 6, 0, 0.18), var(--shadow);
}

.product-media {
  position: relative;
  aspect-ratio: 1 / 1;
  overflow: hidden;
  background: #000;
}

.product-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.45s ease;
}

.product-card:hover .product-media img {
  transform: scale(1.04);
}

.product-badge {
  position: absolute;
  top: 1rem;
  left: 1rem;
  padding: 0.35rem 0.7rem;
  border-radius: 999px;
  background: rgba(225, 6, 0, 0.92);
  color: #fff;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.product-body {
  padding: 1.25rem 1.25rem 1.4rem;
}

.product-body p {
  color: var(--text-muted);
  font-size: 0.94rem;
  margin-bottom: 1rem;
  min-height: 3.2em;
}

.product-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-bottom: 1.15rem;
}

.product-tag {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.35rem 0.65rem;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.03);
  color: var(--text-muted);
  font-size: 0.78rem;
}

/* CTA band */
.cta-band {
  padding: 1rem 0 5rem;
}

.cta-band-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  padding: 2rem;
  border-radius: 20px;
  border: 1px solid var(--red-border);
  background:
    linear-gradient(135deg, rgba(225, 6, 0, 0.18), rgba(0, 0, 0, 0.55)),
    var(--bg-elevated);
  box-shadow: 0 20px 50px rgba(225, 6, 0, 0.12);
}

.cta-band-inner p:last-child {
  color: var(--text-muted);
  max-width: 480px;
}

/* Rules page */
.page-hero {
  padding: clamp(3.5rem, 8vh, 5.5rem) 0 2rem;
}

.page-hero .hero-lead {
  margin-bottom: 1.5rem;
}

.rules-section {
  padding: 1rem 0 5rem;
}

.rules-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
}

.rule-card {
  padding: 1.35rem;
  border-radius: 16px;
  border: 1px solid var(--line);
  background: rgba(14, 14, 14, 0.85);
  transition: border-color 0.25s ease, transform 0.25s ease;
}

.rule-card:hover {
  border-color: var(--red-border);
  transform: translateY(-3px);
}

.rule-icon {
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  margin-bottom: 0.9rem;
  border-radius: 12px;
  background: var(--red-soft);
  color: var(--red-bright);
  font-size: 1.1rem;
}

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

.rules-cta {
  margin-top: 1.5rem;
}

.rules-cta-box {
  padding: 2rem;
  border-radius: 20px;
  border: 1px solid var(--red-border);
  background: linear-gradient(160deg, rgba(225, 6, 0, 0.16), rgba(0, 0, 0, 0.5));
  text-align: center;
}

.rules-cta-box p {
  color: var(--text-muted);
  margin: 0.75rem auto 1.35rem;
  max-width: 560px;
}

/* Footer */
.site-footer {
  border-top: 1px solid var(--line);
  padding: 2.5rem 0 2rem;
  background: rgba(0, 0, 0, 0.45);
}

.footer-inner {
  display: grid;
  gap: 1.25rem;
}

.footer-brand p {
  margin-top: 0.75rem;
  color: var(--text-muted);
  max-width: 360px;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
}

.footer-links a {
  color: var(--text-muted);
  transition: color 0.2s ease;
}

.footer-links a:hover {
  color: #fff;
}

.footer-copy {
  color: #666;
  font-size: 0.85rem;
}

/* Clickable product cards */
.product-card-link {
  display: flex;
  flex-direction: column;
  color: inherit;
}

.product-card-link .btn {
  pointer-events: none;
}

.btn:disabled,
.btn[disabled] {
  opacity: 0.55;
  cursor: not-allowed;
  transform: none;
  box-shadow: none;
}

.btn.is-loading {
  opacity: 0.75;
  pointer-events: none;
}

/* Product detail page */
.product-page {
  padding: clamp(2.5rem, 6vh, 4rem) 0 5rem;
}

.product-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
  gap: 2rem;
  align-items: start;
}

.product-gallery {
  overflow: hidden;
  border-radius: 20px;
  border: 1px solid var(--line);
  background: #000;
  box-shadow: var(--shadow);
}

.product-gallery img {
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
}

.product-info h1 {
  font-size: clamp(2.8rem, 6vw, 4.2rem);
  margin-bottom: 0.6rem;
}

.price-line {
  color: var(--text-muted);
  margin-bottom: 1.1rem;
  font-size: 1.05rem;
}

.price-value {
  color: #fff;
  font-size: 1.35rem;
}

.product-desc {
  color: var(--text-muted);
  margin-bottom: 1.25rem;
  max-width: 560px;
}

.feature-list {
  list-style: none;
  display: grid;
  gap: 0.7rem;
  margin-bottom: 1.4rem;
}

.feature-list li {
  display: flex;
  align-items: flex-start;
  gap: 0.7rem;
  color: var(--text-muted);
}

.feature-list i {
  color: var(--red-bright);
  margin-top: 0.2rem;
}

.option-box {
  display: grid;
  gap: 0.75rem;
  margin-bottom: 1.2rem;
  padding: 1rem;
  border-radius: 16px;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.02);
}

.option-title {
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text-muted);
}

.option-row {
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 0.85rem;
  align-items: center;
  padding: 0.9rem 1rem;
  border-radius: 12px;
  border: 1px solid var(--line);
  background: rgba(0, 0, 0, 0.35);
  cursor: pointer;
  transition: border-color 0.2s ease, background 0.2s ease;
}

.option-row:hover,
.option-row:has(input:checked) {
  border-color: var(--red-border);
  background: rgba(225, 6, 0, 0.08);
}

.option-row input {
  accent-color: var(--red);
  width: 18px;
  height: 18px;
}

.option-main {
  display: grid;
  gap: 0.2rem;
}

.option-main strong {
  color: #fff;
  font-size: 0.98rem;
}

.option-main small {
  color: var(--text-muted);
  font-size: 0.82rem;
}

.option-price {
  font-family: var(--font-display);
  font-size: 1.4rem;
  letter-spacing: 0.04em;
  color: #fff;
}

.secure-note {
  margin-top: 0.85rem;
  color: #777;
  font-size: 0.85rem;
  text-align: center;
}

.secure-note i {
  margin-right: 0.35rem;
  color: var(--red);
}

@media (max-width: 900px) {
  .product-layout {
    grid-template-columns: 1fr;
  }
}

.product-layout-wide {
  margin-bottom: 2.5rem;
}

.product-gallery-wide img {
  aspect-ratio: 16 / 10;
  object-fit: cover;
  object-position: left center;
}

.feature-catalog {
  padding-bottom: 1rem;
}

.feature-groups {
  display: grid;
  gap: 1rem;
}

.feature-group {
  padding: 1.35rem 1.4rem;
  border-radius: 16px;
  border: 1px solid var(--line);
  background: rgba(14, 14, 14, 0.88);
}

.feature-group h3 {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  margin-bottom: 0.9rem;
  font-size: 1.55rem;
}

.feature-group h3 i {
  color: var(--red-bright);
  font-size: 1rem;
}

.feature-group ul {
  list-style: none;
  display: grid;
  gap: 0.65rem;
}

.feature-group li {
  color: var(--text-muted);
  padding-left: 0.95rem;
  border-left: 2px solid rgba(225, 6, 0, 0.35);
  font-size: 0.94rem;
  line-height: 1.55;
}

.feature-group li strong {
  color: #fff;
}

/* Reveal animation */
[data-reveal] {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.55s ease, transform 0.55s ease;
}

[data-reveal].visible {
  opacity: 1;
  transform: none;
}

/* Responsive */
@media (max-width: 980px) {
  .product-grid-sources {
    grid-template-columns: 1fr 1fr;
  }

  .cta-band-inner {
    flex-direction: column;
    align-items: flex-start;
  }
}

@media (max-width: 820px) {
  .nav-toggle {
    display: inline-flex;
  }

  .header-cta {
    display: none;
  }

  .nav {
    position: fixed;
    top: var(--header-h);
    left: 0;
    right: 0;
    display: none;
    flex-direction: column;
    gap: 0.35rem;
    padding: 1rem;
    background: rgba(5, 5, 5, 0.96);
    border-bottom: 1px solid var(--line);
    backdrop-filter: blur(16px);
  }

  .nav.open {
    display: flex;
  }

  .nav-link {
    width: 100%;
    padding: 0.85rem 1rem;
  }

  .nav-link.active {
    box-shadow: none;
    border-left: 3px solid var(--red);
    background: rgba(225, 6, 0, 0.08);
  }

  .product-grid-boost,
  .rules-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 640px) {
  .hero-stats {
    grid-template-columns: 1fr;
  }

  .product-grid-sources {
    grid-template-columns: 1fr;
  }

  .product-body p {
    min-height: 0;
  }
}
