/* ═══════════════════════════════════════════════
   MemeDex — LOUD Design System
   Inspired by LOUD Digital Product Company
   Bold typography, noise textures, scroll reveals
   ═══════════════════════════════════════════════ */

@import url('https://fonts.googleapis.com/css2?family=Inter+Tight:wght@300;400;500;600;700;800;900&display=swap');

/* ─── Design Tokens ─── */

:root {
  color-scheme: dark;
  --black: #000000;
  --white: #ffffff;
  --gray-100: #f5f5f5;
  --gray-200: #e5e5e5;
  --gray-400: #a3a3a3;
  --gray-600: #525252;
  --gray-800: #262626;
  --gray-900: #171717;
  --accent: #8b5cf6;
  --accent-hover: #a78bfa;
  --accent-dim: rgba(139, 92, 246, 0.16);
  --purple: #c4b5fd;
  --gold: #fbbf24;
  --danger: #fb7185;
  --font: 'Inter Tight', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --space-xs: 8px;
  --space-sm: 16px;
  --space-md: 24px;
  --space-lg: 48px;
  --space-xl: 80px;
  --space-2xl: 120px;
  --radius-sm: 6px;
  --radius-md: 12px;
  --radius-lg: 20px;
  --radius-full: 999px;
}

/* ─── Reset ─── */

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

html {
  min-height: 100%;
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  min-height: 100vh;
  overflow-x: hidden;
  color: var(--white);
  font-family: var(--font);
  font-size: 16px;
  font-weight: 400;
  line-height: 1.5;
  letter-spacing: 0;
  background: var(--black);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

button, input, select, textarea {
  font: inherit;
  letter-spacing: inherit;
}

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

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

/* Lightweight grain overlay */

body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: 9999;
  pointer-events: none;
  opacity: 0.12;
  background-image: radial-gradient(rgba(255, 255, 255, 0.2) 0.55px, transparent 0.55px);
  background-size: 4px 4px;
}

/* ─── Typography ─── */

h1, h2, h3, h4 {
  margin: 0;
  color: var(--white);
  font-weight: 800;
  letter-spacing: 0;
  line-height: 0.95;
}

h1 {
  font-size: clamp(56px, 10vw, 140px);
  font-weight: 900;
}

h2 {
  font-size: clamp(36px, 6vw, 80px);
}

h3 {
  font-size: clamp(24px, 3vw, 36px);
  line-height: 1.1;
}

h4 {
  font-size: 20px;
  line-height: 1.2;
}

p {
  color: var(--gray-400);
  font-size: clamp(16px, 1.6vw, 19px);
  line-height: 1.6;
  max-width: 56ch;
}

strong {
  color: var(--white);
  font-weight: 700;
}

/* ─── Section Structure ─── */

section {
  position: relative;
}

.section-pad {
  padding: var(--space-xl) clamp(20px, 5vw, 80px);
}

.section-pad-lg {
  padding: var(--space-2xl) clamp(20px, 5vw, 80px);
}

.container {
  width: min(1400px, 100%);
  margin: 0 auto;
  padding: 0 clamp(20px, 5vw, 80px);
}

/* ─── Dividers ─── */

.divider {
  height: 1px;
  background: var(--gray-800);
  border: none;
}

.divider-accent {
  height: 2px;
  background: var(--accent);
  border: none;
  width: 60px;
}

/* ─── Labels / Eyebrow ─── */

.label {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--accent);
}

.label::before {
  content: "";
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--accent);
  animation: pulse-dot 2s ease-in-out infinite;
}

@keyframes pulse-dot {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.4; transform: scale(0.7); }
}

/* ─── Navigation ─── */

.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
  padding: 0 clamp(24px, 5vw, 80px);
  background: rgba(0, 0, 0, 0.8);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.brand {
  font-size: 20px;
  font-weight: 900;
  letter-spacing: 0;
  color: var(--white);
  display: inline-flex;
  align-items: center;
  gap: 10px;
}

.brand-icon {
  width: 32px;
  height: 32px;
  border-radius: 8px;
  object-fit: cover;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 6px;
}

.nav-links a,
.nav-links button {
  display: inline-flex;
  align-items: center;
  height: 40px;
  padding: 0 18px;
  font-size: 14px;
  font-weight: 600;
  color: var(--gray-400);
  background: transparent;
  border: 1px solid transparent;
  border-radius: var(--radius-full);
  cursor: pointer;
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}

.nav-links a:hover,
.nav-links button:hover {
  color: var(--white);
  background: rgba(255, 255, 255, 0.06);
}

.nav-links .btn-nav-cta {
  color: var(--white);
  background: var(--accent);
  font-weight: 800;
}

.nav-links .btn-nav-cta:hover {
  background: var(--accent-hover);
  transform: translateY(-1px);
  box-shadow: 0 8px 32px rgba(139, 92, 246, 0.35);
}

/* ─── Buttons ─── */

.actions {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 52px;
  padding: 0 28px;
  font-family: var(--font);
  font-size: 15px;
  font-weight: 700;
  letter-spacing: 0;
  color: var(--white);
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: var(--radius-full);
  cursor: pointer;
  white-space: nowrap;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.btn:hover {
  background: rgba(255, 255, 255, 0.14);
  border-color: rgba(255, 255, 255, 0.2);
  transform: translateY(-2px);
}

.btn:active {
  transform: translateY(0);
}

.btn.primary {
  color: var(--white);
  background: var(--accent);
  border-color: var(--accent);
  font-weight: 800;
}

.btn.primary:hover {
  background: var(--accent-hover);
  border-color: var(--accent-hover);
  box-shadow: 0 12px 40px rgba(139, 92, 246, 0.38);
}

.btn.gold {
  color: var(--black);
  background: var(--gold);
  border-color: var(--gold);
  font-weight: 800;
}

.btn.gold:hover {
  background: #fcd34d;
  box-shadow: 0 12px 40px rgba(251, 191, 36, 0.3);
}

.btn.danger {
  color: var(--danger);
  background: rgba(251, 113, 133, 0.08);
  border-color: rgba(251, 113, 133, 0.2);
}

.btn.danger:hover {
  background: rgba(251, 113, 133, 0.15);
}

.btn-xl {
  height: 60px;
  padding: 0 36px;
  font-size: 16px;
  border-radius: var(--radius-full);
}

/* ─── Hero Section ─── */

.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding-top: 72px;
  overflow: hidden;
}

.hero-content {
  position: relative;
  z-index: 2;
  padding: var(--space-xl) clamp(20px, 5vw, 80px);
}

.hero h1 {
  max-width: 12ch;
  margin-top: var(--space-md);
}

.hero h1 .line-accent {
  color: var(--accent);
}

.hero-desc {
  margin-top: var(--space-md);
  font-size: clamp(18px, 2vw, 22px);
  color: var(--gray-400);
  max-width: 50ch;
  line-height: 1.5;
}

.hero-actions {
  margin-top: var(--space-lg);
}

.hero-stats {
  display: flex;
  gap: var(--space-lg);
  margin-top: var(--space-xl);
  padding-top: var(--space-lg);
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.hero-stat strong {
  display: block;
  font-size: clamp(36px, 5vw, 56px);
  font-weight: 900;
  letter-spacing: 0;
  line-height: 1;
}

.hero-stat span {
  display: block;
  margin-top: 8px;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--gray-600);
}

/* Hero background decoration */

.hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  overflow: hidden;
}

.hero-bg::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, var(--black) 0%, transparent 40%);
}

.hero-glow {
  position: absolute;
  width: 600px;
  height: 600px;
  border-radius: 50%;
  filter: blur(120px);
  opacity: 0.15;
  pointer-events: none;
}

.hero-glow-1 {
  top: -200px;
  right: 10%;
  background: var(--accent);
}

.hero-glow-2 {
  bottom: -100px;
  left: 5%;
  width: 400px;
  height: 400px;
  background: var(--purple);
  opacity: 0.1;
}

/* ─── Marquee Strip ─── */

.marquee-strip {
  position: relative;
  overflow: hidden;
  padding: var(--space-md) 0;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  background: rgba(255, 255, 255, 0.02);
}

.marquee-track {
  display: flex;
  gap: var(--space-lg);
  width: max-content;
  animation: marquee 30s linear infinite;
}

.marquee-track:hover {
  animation-play-state: paused;
}

.marquee-item {
  display: flex;
  align-items: center;
  gap: var(--space-sm);
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--gray-400);
  white-space: nowrap;
}

.marquee-item .dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--accent);
  flex-shrink: 0;
}

@keyframes marquee {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

/* ─── Feature Cards ─── */

.feature-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2px;
  background: rgba(255, 255, 255, 0.04);
  border-radius: var(--radius-lg);
  overflow: hidden;
}

.feature-card {
  padding: clamp(28px, 3vw, 44px);
  background: var(--black);
  transition: background 0.4s ease;
}

.feature-card:hover {
  background: var(--gray-900);
}

.feature-card .feature-num {
  display: block;
  font-size: 13px;
  font-weight: 800;
  color: var(--accent);
  letter-spacing: 0.05em;
  margin-bottom: 16px;
}

.feature-card h4 {
  margin-bottom: 10px;
}

.feature-card p {
  font-size: 15px;
  color: var(--gray-400);
  line-height: 1.55;
}

/* ─── Split Section ─── */

.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(40px, 6vw, 120px);
  align-items: start;
}

.split-sticky {
  position: sticky;
  top: 120px;
}

/* ─── Timeline / Steps ─── */

.steps {
  display: grid;
  gap: 2px;
  background: rgba(255, 255, 255, 0.04);
  border-radius: var(--radius-lg);
  overflow: hidden;
}

.step {
  display: grid;
  grid-template-columns: 80px 1fr;
  gap: var(--space-md);
  padding: clamp(24px, 3vw, 40px);
  background: var(--black);
  transition: background 0.4s ease;
}

.step:hover {
  background: var(--gray-900);
}

.step-num {
  font-size: clamp(32px, 4vw, 48px);
  font-weight: 900;
  letter-spacing: 0;
  color: var(--accent);
  line-height: 1;
}

.step h4 {
  margin-bottom: 8px;
}

.step p {
  font-size: 15px;
}

/* ─── CTA Band ─── */

.cta-band {
  position: relative;
  padding: clamp(48px, 6vw, 100px);
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: var(--gray-900);
  border: 1px solid rgba(255, 255, 255, 0.06);
}

.cta-band::before {
  content: "";
  position: absolute;
  top: -50%;
  right: -20%;
  width: 500px;
  height: 500px;
  border-radius: 50%;
  background: var(--accent);
  filter: blur(120px);
  opacity: 0.08;
  pointer-events: none;
}

.cta-band h2 {
  max-width: 14ch;
}

.cta-band p {
  margin-top: var(--space-sm);
}

.cta-band .actions {
  margin-top: var(--space-lg);
}

/* ─── Stat Grid ─── */

.stat-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 2px;
  background: rgba(255, 255, 255, 0.04);
  border-radius: var(--radius-lg);
  overflow: hidden;
}

.stat-card {
  padding: clamp(20px, 2.5vw, 32px);
  background: var(--black);
  transition: background 0.4s ease;
}

.stat-card:hover {
  background: var(--gray-900);
}

.stat-card strong {
  display: block;
  font-size: clamp(28px, 4vw, 44px);
  font-weight: 900;
  letter-spacing: 0;
  line-height: 1;
}

.stat-card .stat-val {
  display: flex;
  align-items: center;
  gap: 8px;
}

.stat-card span {
  display: block;
  margin-top: 8px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--gray-600);
}

/* ─── Dashboard ─── */

.page-content {
  padding-top: 120px;
  padding-bottom: 80px;
}

.dashboard-header {
  display: flex;
  align-items: center;
  gap: var(--space-md);
  margin-bottom: var(--space-lg);
}

.avatar {
  width: 72px;
  height: 72px;
  border-radius: var(--radius-md);
  border: 2px solid rgba(255, 255, 255, 0.1);
}

.badge {
  display: inline-flex;
  padding: 5px 14px;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  border-radius: var(--radius-full);
  color: var(--gray-400);
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.badge.premium {
  color: var(--accent);
  background: var(--accent-dim);
  border-color: rgba(139, 92, 246, 0.28);
}

/* ─── Cards & Panels ─── */

.panel {
  padding: clamp(24px, 3vw, 40px);
  border-radius: var(--radius-lg);
  background: var(--gray-900);
  border: 1px solid rgba(255, 255, 255, 0.06);
}

.panel-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2px;
  background: rgba(255, 255, 255, 0.04);
  border-radius: var(--radius-lg);
  overflow: hidden;
  margin-top: var(--space-md);
}

.panel-grid .panel {
  border-radius: 0;
  border: none;
}

/* ─── Tables ─── */

table {
  width: 100%;
  border-collapse: collapse;
}

td, th {
  padding: 12px 16px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  text-align: left;
  font-size: 14px;
}

th {
  color: var(--gray-600);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

td {
  color: var(--gray-200);
}

/* ─── Forms ─── */

input, select, textarea {
  width: 100%;
  margin: 6px 0;
  padding: 12px 16px;
  font-family: var(--font);
  font-size: 15px;
  font-weight: 500;
  color: var(--white);
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--radius-md);
  outline: none;
  transition: all 0.25s ease;
}

input::placeholder, textarea::placeholder {
  color: var(--gray-600);
}

textarea {
  min-height: 80px;
  resize: vertical;
}

input:focus, select:focus, textarea:focus {
  border-color: var(--accent);
  box-shadow: 0 0 0 3px var(--accent-dim);
}

select {
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%23525252' d='M6 8L1 3h10z'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 14px center;
  padding-right: 36px;
}

/* ─── Premium Page ─── */

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

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

.tier-card {
  display: flex;
  flex-direction: column;
  gap: 22px;
  min-height: 520px;
  padding: clamp(24px, 3vw, 34px);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 8px;
  background: var(--gray-900);
}

.tier-card.featured {
  border-color: rgba(139, 92, 246, 0.58);
  box-shadow: 0 18px 56px rgba(76, 29, 149, 0.24);
}

.tier-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 14px;
}

.tier-price {
  margin-top: 10px;
  font-size: 48px;
  line-height: 1;
  font-weight: 800;
}

.tier-price span {
  color: var(--gray-400);
  font-size: 14px;
  font-weight: 600;
}

.tier-current,
.tier-pill {
  padding: 6px 10px;
  border: 1px solid rgba(139, 92, 246, 0.45);
  border-radius: 999px;
  color: var(--accent-hover);
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
}

.tier-current {
  background: rgba(139, 92, 246, 0.16);
}

.tier-benefits {
  display: grid;
  gap: 14px;
}

.tier-benefits span {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  padding-bottom: 14px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.07);
  color: var(--gray-300);
  font-size: 14px;
}

.tier-benefits strong {
  color: var(--white);
  font-size: 16px;
}

.tier-billing {
  color: var(--gray-400);
  font-size: 13px;
}

.tier-actions {
  display: grid;
  gap: 12px;
  min-height: 74px;
  margin-top: auto;
}

.tier-actions .btn {
  justify-content: center;
  width: 100%;
}

.tier-message {
  min-height: 22px;
  margin-top: 22px;
  text-align: center;
}

.premium-return {
  justify-content: center;
  margin-top: 22px;
}

.perk-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2px;
  background: rgba(255, 255, 255, 0.04);
  border-radius: var(--radius-lg);
  overflow: hidden;
  margin-top: var(--space-lg);
}

.perk {
  padding: clamp(20px, 2.5vw, 32px);
  background: var(--black);
  transition: background 0.4s ease;
}

.perk:hover {
  background: var(--gray-900);
}

.perk strong {
  display: block;
  font-size: clamp(28px, 4vw, 40px);
  font-weight: 900;
  letter-spacing: 0;
  line-height: 1;
}

.perk span {
  display: block;
  margin-top: 8px;
  font-size: 13px;
  font-weight: 600;
  color: var(--gray-600);
}

/* ─── Checkout Card ─── */

.checkout-card {
  position: sticky;
  top: 96px;
  padding: clamp(24px, 3vw, 40px);
  border-radius: var(--radius-lg);
  background: var(--gray-900);
  border: 1px solid rgba(255, 255, 255, 0.06);
}

.checkout-top {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  padding-bottom: var(--space-md);
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.checkout-top span {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--gray-600);
}

.checkout-top strong {
  font-size: 36px;
  font-weight: 900;
  letter-spacing: 0;
}

.checkout-note {
  margin-top: var(--space-md);
  font-size: 14px;
  color: var(--gray-400);
  line-height: 1.6;
}

.checkout-includes {
  display: grid;
  gap: 10px;
  margin-top: var(--space-md);
}

.checkout-includes span {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 14px;
  font-weight: 600;
  color: var(--gray-200);
}

.checkout-includes span::before {
  content: "";
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--accent);
  flex-shrink: 0;
  box-shadow: 0 0 12px rgba(139, 92, 246, 0.55);
}

.checkout-actions {
  margin-top: var(--space-md);
}

.checkout-message {
  margin-top: var(--space-sm);
  font-size: 14px;
  color: var(--gray-400);
}

.paypal-buttons {
  width: min(360px, 100%);
}

.polar-pay-button {
  gap: 10px;
}

.polar-mark {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: var(--white);
  color: var(--black);
}

.polar-mark svg {
  width: 16px;
  height: 16px;
}

.polar-mark circle, .polar-mark ellipse, .polar-mark path {
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

/* ─── Comparison Grid ─── */

.comparison-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2px;
  background: rgba(255, 255, 255, 0.04);
  border-radius: var(--radius-lg);
  overflow: hidden;
  margin-top: var(--space-lg);
}

.comparison-card {
  padding: clamp(24px, 3vw, 36px);
  background: var(--black);
  transition: background 0.4s ease;
}

.comparison-card:hover {
  background: var(--gray-900);
}

.comparison-card.featured {
  background: var(--gray-900);
  border-left: 2px solid var(--accent);
}

.comparison-card span {
  display: block;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--gray-600);
}

.comparison-card strong {
  display: block;
  margin-top: 10px;
  font-size: 22px;
  font-weight: 800;
  letter-spacing: 0;
}

.comparison-card p {
  margin-top: 8px;
  font-size: 14px;
  line-height: 1.55;
}

/* ─── Status Pages ─── */

.status-page {
  min-height: calc(100vh - 72px - 80px);
  display: flex;
  flex-direction: column;
  justify-content: center;
  text-align: left;
}

.status-page h1 {
  margin-top: var(--space-md);
  max-width: 12ch;
}

.status-page p {
  margin-top: var(--space-sm);
  font-size: 18px;
}

.status-page .actions {
  margin-top: var(--space-lg);
}

/* ─── Legal Pages ─── */

.legal-shell {
  max-width: 800px;
}

.legal-shell h1 {
  margin-top: var(--space-md);
  font-size: clamp(48px, 8vw, 96px);
}

.legal-updated {
  margin-top: var(--space-sm);
  font-size: 14px;
  color: var(--gray-600);
}

.legal-card {
  margin-top: var(--space-lg);
  padding: clamp(28px, 3vw, 44px);
  border-radius: var(--radius-lg);
  background: var(--gray-900);
  border: 1px solid rgba(255, 255, 255, 0.06);
}

.legal-section + .legal-section {
  margin-top: 32px;
  padding-top: 32px;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
}

.legal-section h2 {
  margin-bottom: 12px;
  font-size: 18px;
  font-weight: 800;
  line-height: 1.3;
}

.legal-section p,
.legal-section li {
  color: var(--gray-400);
  font-size: 15px;
  line-height: 1.7;
}

.legal-section p + p {
  margin-top: 12px;
}

.legal-section ul {
  margin: 12px 0 0 20px;
  padding: 0;
}

.legal-section li {
  padding: 4px 0;
}

.legal-section a {
  color: var(--accent);
}

.legal-section a:hover {
  text-decoration: underline;
}

/* ─── Footer ─── */

.footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: var(--space-md) clamp(20px, 5vw, 80px);
  border-top: 1px solid rgba(255, 255, 255, 0.06);
}

.footer a {
  font-size: 13px;
  font-weight: 600;
  color: var(--gray-600);
  transition: color 0.2s;
}

.footer a:hover {
  color: var(--white);
}

.footer-links {
  display: flex;
  gap: var(--space-md);
}

/* ─── Scroll Reveal Animation ─── */

.reveal {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1),
              transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

.reveal-stagger > * {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.6s cubic-bezier(0.16, 1, 0.3, 1),
              transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

.reveal-stagger.is-visible > * {
  opacity: 1;
  transform: translateY(0);
}

.reveal-stagger.is-visible > *:nth-child(1) { transition-delay: 0s; }
.reveal-stagger.is-visible > *:nth-child(2) { transition-delay: 0.08s; }
.reveal-stagger.is-visible > *:nth-child(3) { transition-delay: 0.16s; }
.reveal-stagger.is-visible > *:nth-child(4) { transition-delay: 0.24s; }
.reveal-stagger.is-visible > *:nth-child(5) { transition-delay: 0.32s; }
.reveal-stagger.is-visible > *:nth-child(6) { transition-delay: 0.4s; }

/* ─── Page Enter ─── */

@keyframes page-enter {
  from { opacity: 0; }
  to { opacity: 1; }
}

.page-enter {
  animation: page-enter 0.5s ease-out both;
}

/* ─── Gradient Text ─── */

.gradient-text {
  background: linear-gradient(135deg, var(--accent) 0%, var(--accent-hover) 52%, var(--purple) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* ─── Muted ─── */

.muted {
  color: var(--gray-400);
  font-size: 14px;
}

/* ─── Coin ─── */

.coin-value {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.coin-icon {
  width: 24px;
  height: 24px;
  object-fit: contain;
  flex-shrink: 0;
}

.coin-icon.small {
  width: 16px;
  height: 16px;
}

/* ─── Scrollbar ─── */

::-webkit-scrollbar {
  width: 6px;
  height: 6px;
}

::-webkit-scrollbar-track {
  background: transparent;
}

::-webkit-scrollbar-thumb {
  background: rgba(255, 255, 255, 0.1);
  border-radius: 3px;
}

::-webkit-scrollbar-thumb:hover {
  background: rgba(255, 255, 255, 0.2);
}

::selection {
  background: rgba(139, 92, 246, 0.36);
  color: var(--white);
}

/* ─── Responsive ─── */

@media (max-width: 1024px) {
  .checkout-card {
    position: static;
  }

  .split {
    grid-template-columns: 1fr;
    gap: var(--space-lg);
  }

  .split-sticky {
    position: static;
  }
}

@media (max-width: 768px) {
  .nav {
    height: 60px;
    padding: 0 20px;
  }

  .nav-links a,
  .nav-links button {
    height: 36px;
    padding: 0 12px;
    font-size: 13px;
  }

  .hero-content {
    padding: var(--space-lg) 20px;
  }

  .hero-stats {
    flex-direction: column;
    gap: var(--space-md);
  }

  .feature-grid,
  .steps {
    grid-template-columns: 1fr;
  }

  .perk-grid,
  .comparison-grid,
  .tier-grid {
    grid-template-columns: 1fr;
  }

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

  .dashboard-header {
    flex-direction: column;
    align-items: flex-start;
  }

  .actions {
    flex-direction: column;
    align-items: stretch;
  }

  .btn, .btn-xl {
    width: 100%;
    text-align: center;
  }

  .footer {
    flex-direction: column;
    gap: var(--space-sm);
    text-align: center;
  }

  .paypal-buttons {
    width: 100%;
  }
}

@media (max-width: 480px) {
  .nav {
    padding: 0 14px;
  }

  .brand {
    gap: 7px;
    font-size: 18px;
  }

  .brand-icon {
    width: 28px;
    height: 28px;
  }

  .nav-links {
    gap: 3px;
  }

  .nav-links > a:not(.btn-nav-cta):first-child {
    display: none;
  }

  .nav-links a,
  .nav-links button {
    padding: 0 10px;
  }

  .stat-grid {
    grid-template-columns: 1fr;
  }

  .step {
    grid-template-columns: 1fr;
  }

  .step-num {
    font-size: 28px;
  }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
  }

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

  .reveal-stagger > * {
    opacity: 1;
    transform: none;
  }
}

/* Landing page: collector arena */

.landing-page {
  --arena-bg: #070910;
  --arena-panel: rgba(18, 21, 33, 0.7);
  --arena-panel-solid: #101420;
  --arena-stroke: rgba(196, 181, 253, 0.16);
  --arena-text: #f8fafc;
  --arena-muted: #9aa5bd;
  --arena-violet: #8b5cf6;
  --arena-violet-bright: #b39bff;
  --arena-cyan: #35d8ff;
  --arena-gold: #f8cf64;
  --arena-pink: #ee76cb;
  background:
    linear-gradient(122deg, rgba(124, 58, 237, 0.08), transparent 32%),
    linear-gradient(305deg, rgba(53, 216, 255, 0.06), transparent 35%),
    var(--arena-bg);
  color: var(--arena-text);
}

.landing-page h1,
.landing-page h2,
.landing-page h3,
.landing-page h4,
.landing-page strong {
  color: var(--arena-text);
  letter-spacing: 0;
}

.landing-page h1 {
  font-size: 78px;
  line-height: 0.98;
}

.landing-page h2 {
  font-size: 54px;
  line-height: 1.04;
}

.landing-page h3 {
  font-size: 22px;
  line-height: 1.25;
}

.landing-page p {
  color: var(--arena-muted);
}

.landing-main {
  overflow: hidden;
}

.landing-container {
  width: min(1240px, calc(100% - 48px));
  margin: 0 auto;
}

.landing-nav {
  height: 76px;
  padding: 0;
  background: rgba(7, 9, 16, 0.6);
  border-bottom: 1px solid rgba(181, 191, 220, 0.1);
  backdrop-filter: blur(18px) saturate(145%);
}

.landing-nav-inner {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 52px;
  width: min(1240px, calc(100% - 48px));
  height: 100%;
  margin: 0 auto;
}

.landing-nav .brand-icon {
  width: 42px;
  height: 42px;
  border-radius: 8px;
}

.landing-nav .brand {
  gap: 12px;
  font-size: 21px;
}

.landing-nav-links {
  display: flex;
  align-items: center;
  gap: 30px;
}

.landing-nav-links a,
.nav-login {
  position: relative;
  color: var(--arena-muted);
  font-size: 14px;
  font-weight: 600;
  transition: color 0.24s ease;
}

.landing-nav-links a::after {
  content: "";
  position: absolute;
  right: 0;
  bottom: -11px;
  left: 0;
  height: 2px;
  background: var(--arena-violet-bright);
  transform: scaleX(0);
  transform-origin: center;
  transition: transform 0.24s ease;
}

.landing-nav-links a:hover,
.nav-login:hover {
  color: var(--arena-text);
}

.landing-nav-links a:hover::after {
  transform: scaleX(1);
}

.landing-nav-actions {
  display: flex;
  align-items: center;
  gap: 20px;
}

.landing-nav .nav-invite {
  height: 44px;
  padding: 0 20px;
  color: var(--arena-text);
  background: rgba(139, 92, 246, 0.14);
  border-color: rgba(179, 155, 255, 0.4);
}

.landing-nav .nav-invite:hover {
  background: rgba(139, 92, 246, 0.3);
  border-color: var(--arena-violet-bright);
  box-shadow: 0 0 30px rgba(139, 92, 246, 0.24);
}

.arena-hero {
  position: relative;
  display: flex;
  align-items: center;
  min-height: min(790px, calc(100svh - 36px));
  padding: 126px 0 66px;
  overflow: hidden;
}

.arena-backdrop {
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.arena-backdrop::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, transparent 0%, rgba(7, 9, 16, 0.08) 64%, var(--arena-bg) 100%),
    linear-gradient(90deg, rgba(7, 9, 16, 0.86) 0%, rgba(7, 9, 16, 0.3) 52%, rgba(7, 9, 16, 0.62) 100%);
}

.arena-grid {
  position: absolute;
  inset: 18% -5% 0;
  opacity: 0.4;
  background-image:
    linear-gradient(rgba(114, 91, 183, 0.16) 1px, transparent 1px),
    linear-gradient(90deg, rgba(114, 91, 183, 0.16) 1px, transparent 1px);
  background-size: 62px 62px;
  transform: perspective(650px) rotateX(58deg) translateY(170px);
  mask-image: linear-gradient(to bottom, transparent, black 32%, black 66%, transparent);
}

.arena-beam {
  position: absolute;
  width: 68%;
  height: 46%;
  opacity: 0.25;
  filter: blur(54px);
  animation: beam-shift 12s ease-in-out infinite alternate;
}

.beam-violet {
  top: 12%;
  right: -18%;
  background: linear-gradient(110deg, transparent, rgba(139, 92, 246, 0.62), transparent);
}

.beam-cyan {
  bottom: 0;
  left: -24%;
  background: linear-gradient(110deg, transparent, rgba(53, 216, 255, 0.25), transparent);
  animation-delay: -5s;
}

@keyframes beam-shift {
  to { transform: translate3d(-32px, 18px, 0) rotate(3deg); }
}

.hero-layout {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(450px, 1fr) minmax(414px, 0.85fr);
  align-items: center;
  gap: 52px;
}

.arena-kicker {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  height: 36px;
  padding: 0 14px;
  color: var(--arena-violet-bright);
  background: rgba(139, 92, 246, 0.1);
  border: 1px solid rgba(179, 155, 255, 0.24);
  border-radius: 999px;
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
}

.live-pulse {
  width: 8px;
  height: 8px;
  background: var(--arena-cyan);
  border-radius: 50%;
  box-shadow: 0 0 12px var(--arena-cyan);
  animation: arena-pulse 1.8s ease-in-out infinite;
}

@keyframes arena-pulse {
  50% { opacity: 0.4; transform: scale(0.7); }
}

.hero-copy h1 {
  margin-top: 24px;
}

.hero-copy h1 span {
  color: transparent;
  background: linear-gradient(96deg, #bca6ff 0%, #8664fe 42%, #35d8ff 100%);
  background-clip: text;
  -webkit-background-clip: text;
}

.arena-summary {
  margin-top: 22px;
  max-width: 550px;
  font-size: 18px;
  line-height: 1.65;
}

.mobile-pull {
  display: none;
}

.arena-actions {
  margin-top: 34px;
}

.landing-page .btn {
  position: relative;
  overflow: hidden;
  height: 54px;
  border-radius: 8px;
  background: rgba(23, 27, 41, 0.74);
  border-color: rgba(190, 199, 224, 0.18);
}

.landing-page .btn::after {
  content: "";
  position: absolute;
  top: -100%;
  left: -45%;
  width: 36%;
  height: 290%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.32), transparent);
  transform: rotate(24deg) translateX(-180%);
  transition: transform 0.52s ease;
}

.landing-page .btn:hover::after {
  transform: rotate(24deg) translateX(420%);
}

.landing-page .btn-xl {
  height: 56px;
  padding: 0 25px;
  font-size: 15px;
}

.landing-page .btn.primary {
  color: var(--white);
  background: linear-gradient(126deg, #7138da, #9364ff);
  border-color: rgba(196, 181, 253, 0.52);
}

.landing-page .btn.primary:hover {
  box-shadow: 0 18px 44px rgba(124, 58, 237, 0.38);
}

.premium-button {
  color: #1c1305;
  background: linear-gradient(125deg, #f4c958, #fced9b) !important;
  border-color: rgba(248, 207, 100, 0.66) !important;
}

.premium-button:hover {
  box-shadow: 0 18px 42px rgba(248, 207, 100, 0.25);
}

.arena-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 34px;
}

.meta-pill {
  padding: 10px 14px;
  color: var(--arena-muted);
  border: 1px solid rgba(181, 191, 220, 0.12);
  border-radius: 999px;
  font-size: 13px;
}

.meta-pill strong {
  margin-right: 5px;
  color: var(--arena-cyan);
}

.hero-showcase {
  --tilt-x: 0deg;
  --tilt-y: 0deg;
  position: relative;
  width: min(510px, 100%);
  height: 600px;
  margin-left: auto;
  transform: perspective(1000px) rotateX(var(--tilt-x)) rotateY(var(--tilt-y));
  transition: transform 0.22s ease;
}

.showcase-halo {
  position: absolute;
  inset: 90px 20px 80px;
  background: linear-gradient(130deg, rgba(139, 92, 246, 0.32), rgba(53, 216, 255, 0.12));
  filter: blur(56px);
  opacity: 0.75;
}

.drop-card {
  position: absolute;
  top: 46px;
  left: 80px;
  z-index: 3;
  width: 340px;
  padding: 20px;
  background: linear-gradient(165deg, rgba(24, 27, 43, 0.96), rgba(12, 14, 25, 0.98));
  border: 1px solid rgba(179, 155, 255, 0.26);
  border-radius: 8px;
  box-shadow: 0 32px 92px rgba(0, 0, 0, 0.54);
  animation: card-float 6s ease-in-out infinite;
}

@keyframes card-float {
  50% { transform: translateY(-10px); }
}

.card-shadow {
  position: absolute;
  top: 86px;
  left: 91px;
  z-index: 1;
  width: 320px;
  height: 415px;
  border: 1px solid rgba(179, 155, 255, 0.2);
  border-radius: 8px;
  background: rgba(17, 20, 34, 0.8);
}

.card-shadow-left {
  transform: rotate(-7deg) translate(-30px, 26px);
}

.card-shadow-right {
  transform: rotate(7deg) translate(31px, 19px);
  border-color: rgba(53, 216, 255, 0.18);
}

.drop-topline,
.drop-footer,
.drop-status,
.drop-tags {
  display: flex;
  align-items: center;
}

.drop-topline {
  justify-content: space-between;
  margin-bottom: 16px;
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
}

.drop-status {
  gap: 8px;
  color: var(--arena-cyan);
}

.drop-status span {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--arena-cyan);
  box-shadow: 0 0 12px var(--arena-cyan);
}

.drop-id {
  color: #77839a;
}

.drop-rarity {
  margin-bottom: 10px;
  color: var(--arena-violet-bright);
  font-size: 12px;
  font-weight: 800;
}

.drop-image {
  width: 100%;
  aspect-ratio: 1.32;
  border-radius: 6px;
  object-fit: cover;
}

.drop-tags {
  gap: 10px;
  margin-top: 16px;
}

.drop-tags span {
  padding: 5px 9px;
  color: #f7df89;
  background: rgba(248, 207, 100, 0.12);
  border: 1px solid rgba(248, 207, 100, 0.4);
  border-radius: 999px;
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
}

.drop-tags strong {
  font-size: 17px;
}

.drop-footer {
  justify-content: space-between;
  margin-top: 17px;
  padding-top: 15px;
  border-top: 1px solid rgba(181, 191, 220, 0.12);
  color: var(--arena-muted);
  font-size: 12px;
  font-weight: 700;
}

.hero-coin-value {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.hero-coin-value img {
  width: 18px;
  height: 18px;
}

.floating-rarity {
  position: absolute;
  z-index: 4;
  padding: 9px 13px;
  border-radius: 999px;
  font-size: 11px;
  font-weight: 800;
  text-transform: uppercase;
  animation: badge-hover 4.5s ease-in-out infinite;
}

.rarity-rare {
  top: 106px;
  left: 18px;
  color: #5de8ff;
  background: rgba(12, 30, 46, 0.9);
  border: 1px solid rgba(53, 216, 255, 0.42);
}

.rarity-mythic {
  right: 15px;
  bottom: 104px;
  color: #ffe6a0;
  background: rgba(38, 30, 14, 0.92);
  border: 1px solid rgba(248, 207, 100, 0.48);
  animation-delay: -1.4s;
}

@keyframes badge-hover {
  50% { transform: translateY(-8px); }
}

.discord-claim {
  position: absolute;
  right: 0;
  top: 24px;
  z-index: 5;
  display: flex;
  gap: 11px;
  width: 224px;
  padding: 12px;
  background: rgba(16, 20, 32, 0.92);
  border: 1px solid rgba(53, 216, 255, 0.22);
  border-radius: 8px;
  box-shadow: 0 18px 48px rgba(0, 0, 0, 0.32);
  animation: message-arrive 6s ease-in-out infinite;
}

@keyframes message-arrive {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-7px); }
}

.discord-claim img {
  width: 35px;
  height: 35px;
  border-radius: 8px;
}

.discord-claim small,
.discord-claim strong,
.discord-claim span {
  display: block;
}

.discord-claim small {
  color: var(--arena-violet-bright);
  font-size: 10px;
  font-weight: 800;
}

.discord-claim strong {
  margin: 3px 0;
  font-size: 12px;
}

.discord-claim span {
  color: var(--arena-muted);
  font-size: 10px;
}

.balance-chip {
  position: absolute;
  bottom: 60px;
  left: 42px;
  z-index: 5;
  display: flex;
  align-items: center;
  gap: 11px;
  padding: 12px 18px 12px 12px;
  background: rgba(16, 20, 32, 0.94);
  border: 1px solid rgba(248, 207, 100, 0.3);
  border-radius: 8px;
  box-shadow: 0 16px 50px rgba(0, 0, 0, 0.3);
}

.balance-chip img {
  width: 38px;
  height: 38px;
}

.balance-chip small,
.balance-chip strong {
  display: block;
}

.balance-chip small {
  color: var(--arena-muted);
  font-size: 10px;
  font-weight: 700;
  text-transform: uppercase;
}

.balance-chip strong {
  font-size: 18px;
}

.landing-stats {
  position: relative;
  z-index: 3;
  padding: 0 0 58px;
}

.stat-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
}

.glow-stat {
  position: relative;
  min-height: 130px;
  padding: 26px 29px;
  background: rgba(15, 19, 31, 0.68);
  border: 1px solid var(--arena-stroke);
  border-radius: 8px;
  overflow: hidden;
}

.glow-stat::before {
  content: "";
  position: absolute;
  top: 0;
  left: 22px;
  width: 72px;
  height: 2px;
  background: var(--arena-violet-bright);
  box-shadow: 0 0 22px var(--arena-violet);
}

.glow-stat:nth-child(2)::before {
  background: var(--arena-cyan);
  box-shadow: 0 0 22px var(--arena-cyan);
}

.glow-stat:nth-child(3)::before {
  background: var(--arena-gold);
  box-shadow: 0 0 22px var(--arena-gold);
}

.glow-stat strong {
  display: block;
  font-size: 44px;
  line-height: 1.08;
}

.glow-stat span {
  display: block;
  margin-top: 10px;
  color: var(--arena-muted);
  font-size: 13px;
  font-weight: 600;
  text-transform: uppercase;
}

.live-rail {
  position: relative;
  overflow: hidden;
  padding: 18px 0;
  border-block: 1px solid rgba(181, 191, 220, 0.1);
  background: rgba(12, 16, 27, 0.7);
}

.live-rail::before,
.live-rail::after {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  z-index: 1;
  width: 110px;
}

.live-rail::before {
  left: 0;
  background: linear-gradient(90deg, var(--arena-bg), transparent);
}

.live-rail::after {
  right: 0;
  background: linear-gradient(270deg, var(--arena-bg), transparent);
}

.live-rail-track {
  display: flex;
  align-items: center;
  gap: 45px;
  width: max-content;
  animation: live-rail 28s linear infinite;
}

.live-rail-track span {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  color: #aeb7c9;
  font-size: 13px;
  font-weight: 700;
  text-transform: uppercase;
}

.live-rail-track i {
  width: 6px;
  height: 6px;
  background: var(--arena-violet-bright);
  border-radius: 50%;
  box-shadow: 0 0 11px var(--arena-violet);
}

@keyframes live-rail {
  to { transform: translateX(-50%); }
}

.landing-section {
  padding: 102px 0;
}

.landing-section-header {
  max-width: 650px;
  margin-bottom: 48px;
}

.landing-section-header.centered {
  margin-right: auto;
  margin-left: auto;
  text-align: center;
}

.section-tag {
  display: inline-flex;
  margin-bottom: 19px;
  color: var(--arena-violet-bright);
  font-size: 12px;
  font-weight: 800;
  text-transform: uppercase;
}

.landing-section-header h2 {
  margin-bottom: 18px;
}

.landing-section-header p {
  font-size: 18px;
}

.feature-deck {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

.arena-feature {
  --tilt-x: 0deg;
  --tilt-y: 0deg;
  position: relative;
  min-height: 250px;
  padding: 28px;
  background: linear-gradient(150deg, rgba(20, 24, 39, 0.8), rgba(11, 13, 23, 0.92));
  border: 1px solid rgba(181, 191, 220, 0.12);
  border-radius: 8px;
  transform: perspective(800px) rotateX(var(--tilt-x)) rotateY(var(--tilt-y));
  transition: transform 0.22s ease, border-color 0.28s ease, box-shadow 0.28s ease;
}

.arena-feature:hover {
  border-color: var(--feature-accent);
  box-shadow: 0 22px 55px rgba(0, 0, 0, 0.22), inset 0 1px rgba(255, 255, 255, 0.05);
}

.arena-feature::before {
  content: "";
  position: absolute;
  top: -1px;
  right: 34px;
  left: 34px;
  height: 2px;
  background: var(--feature-accent);
  opacity: 0;
  transition: opacity 0.25s ease;
}

.arena-feature:hover::before {
  opacity: 1;
}

.accent-violet { --feature-accent: rgba(179, 155, 255, 0.7); }
.accent-cyan { --feature-accent: rgba(53, 216, 255, 0.65); }
.accent-gold { --feature-accent: rgba(248, 207, 100, 0.72); }
.accent-pink { --feature-accent: rgba(238, 118, 203, 0.64); }

.feature-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 46px;
  height: 46px;
  margin-bottom: 25px;
  color: var(--feature-accent);
  background: rgba(139, 92, 246, 0.08);
  border: 1px solid var(--feature-accent);
  border-radius: 8px;
  font-size: 24px;
}

.feature-icon.coin-feature img {
  width: 32px;
  height: 32px;
}

.arena-feature h3 {
  margin-bottom: 10px;
}

.arena-feature p {
  margin-bottom: 21px;
  font-size: 15px;
  line-height: 1.55;
}

.feature-link {
  color: var(--feature-accent);
  font-size: 12px;
  font-weight: 800;
  text-transform: uppercase;
}

.how-stage {
  border-block: 1px solid rgba(181, 191, 220, 0.08);
  background: rgba(11, 13, 23, 0.36);
}

.arena-flow {
  display: grid;
  grid-template-columns: 1fr 92px 1fr 92px 1fr;
  align-items: center;
}

.flow-step {
  min-height: 224px;
  padding: 32px 28px;
  background: rgba(15, 19, 31, 0.52);
  border: 1px solid var(--arena-stroke);
  border-radius: 8px;
}

.flow-number {
  display: block;
  margin-bottom: 28px;
  color: var(--arena-violet-bright);
  font-size: 36px;
  font-weight: 800;
}

.flow-step h3 {
  margin-bottom: 10px;
}

.flow-step p {
  font-size: 15px;
}

.flow-connector {
  height: 1px;
  background: rgba(179, 155, 255, 0.24);
}

.flow-connector span {
  display: block;
  width: 12px;
  height: 12px;
  margin: -6px auto 0;
  background: var(--arena-violet);
  border-radius: 50%;
  box-shadow: 0 0 22px var(--arena-violet);
  animation: connector-pulse 2.6s ease infinite;
}

@keyframes connector-pulse {
  50% { transform: scale(1.45); opacity: 0.45; }
}

.premium-pass {
  position: relative;
  display: grid;
  grid-template-columns: 1fr 430px;
  align-items: center;
  gap: 62px;
  padding: 64px;
  border: 1px solid transparent;
  border-radius: 8px;
  background:
    linear-gradient(var(--arena-panel-solid), var(--arena-panel-solid)) padding-box,
    linear-gradient(110deg, rgba(248, 207, 100, 0.8), rgba(139, 92, 246, 0.65), rgba(53, 216, 255, 0.42), rgba(248, 207, 100, 0.8)) border-box;
  background-size: auto, 240% 100%;
  animation: ticket-border 7s linear infinite;
  overflow: hidden;
}

@keyframes ticket-border {
  to { background-position: 0 0, 240% 0; }
}

.premium-copy h2 {
  margin: 12px 0 20px;
}

.premium-copy h2 span {
  color: var(--arena-gold);
}

.premium-copy p {
  margin-bottom: 31px;
  font-size: 17px;
}

.gold-tag {
  color: var(--arena-gold);
}

.premium-ticket {
  --tilt-x: 0deg;
  --tilt-y: 0deg;
  padding: 25px;
  background: rgba(7, 9, 16, 0.64);
  border: 1px solid rgba(248, 207, 100, 0.26);
  border-radius: 8px;
  transform: perspective(900px) rotateX(var(--tilt-x)) rotateY(var(--tilt-y));
  transition: transform 0.22s ease;
}

.ticket-head {
  display: flex;
  align-items: center;
  gap: 12px;
  padding-bottom: 20px;
  border-bottom: 1px solid rgba(181, 191, 220, 0.1);
}

.ticket-head img {
  width: 45px;
  height: 45px;
  border-radius: 8px;
}

.ticket-head small,
.ticket-head strong {
  display: block;
}

.ticket-head small {
  color: var(--arena-muted);
  font-size: 11px;
}

.ticket-badge {
  margin-left: auto;
  padding: 6px 9px;
  color: var(--arena-gold);
  border: 1px solid rgba(248, 207, 100, 0.44);
  border-radius: 999px;
  font-size: 10px;
  font-weight: 800;
}

.ticket-benefits {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 22px 16px;
  padding: 25px 0;
}

.ticket-benefits strong,
.ticket-benefits span {
  display: block;
}

.ticket-benefits strong {
  font-size: 26px;
}

.ticket-benefits span {
  margin-top: 5px;
  color: var(--arena-muted);
  font-size: 12px;
}

.coin-benefit strong {
  display: flex;
  align-items: center;
  gap: 6px;
}

.coin-benefit img {
  width: 25px;
  height: 25px;
}

.ticket-footer {
  padding-top: 17px;
  border-top: 1px solid rgba(181, 191, 220, 0.1);
  color: var(--arena-muted);
  font-size: 12px;
  font-weight: 600;
}

.closing-stage {
  padding-top: 36px;
  padding-bottom: 108px;
}

.closing-cta {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 74px 30px;
  text-align: center;
  background:
    linear-gradient(110deg, rgba(139, 92, 246, 0.08), transparent 50%, rgba(53, 216, 255, 0.06)),
    rgba(12, 15, 25, 0.62);
  border: 1px solid rgba(181, 191, 220, 0.11);
  border-radius: 8px;
}

.closing-logo {
  width: 70px;
  height: 70px;
  margin-bottom: 28px;
  border-radius: 8px;
}

.closing-cta h2 {
  max-width: 730px;
}

.closing-cta p {
  margin: 18px auto 36px;
  font-size: 18px;
}

.closing-cta .actions {
  justify-content: center;
}

.landing-footer {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  gap: 20px;
  align-items: center;
  width: min(1240px, calc(100% - 48px));
  margin: 0 auto;
  padding: 26px 0;
  border-top-color: rgba(181, 191, 220, 0.1);
}

.landing-footer .brand {
  font-size: 17px;
}

.landing-footer .brand-icon {
  width: 32px;
  height: 32px;
}

.landing-footer .copyright {
  color: var(--arena-muted);
  font-size: 13px;
}

.landing-footer .footer-links {
  justify-content: flex-end;
}

.landing-footer a {
  color: var(--arena-muted);
}

.page-rise {
  opacity: 0;
  transform: translateY(22px);
  animation: rise-in 0.76s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

.page-rise.delay-1 { animation-delay: 0.08s; }
.page-rise.delay-2 { animation-delay: 0.15s; }
.page-rise.delay-3 { animation-delay: 0.22s; }
.page-rise.delay-4 { animation-delay: 0.31s; }

@keyframes rise-in {
  to { opacity: 1; transform: translateY(0); }
}

@media (max-width: 1160px) {
  .landing-page h1 {
    font-size: 62px;
  }

  .hero-layout {
    grid-template-columns: minmax(400px, 1fr) minmax(390px, 0.9fr);
    gap: 26px;
  }

  .hero-showcase {
    transform: scale(0.93) perspective(1000px) rotateX(var(--tilt-x)) rotateY(var(--tilt-y));
    transform-origin: center right;
  }

  .premium-pass {
    padding: 46px;
    gap: 34px;
    grid-template-columns: 1fr 390px;
  }
}

@media (max-width: 930px) {
  .landing-nav-inner {
    gap: 24px;
  }

  .landing-nav-links {
    display: none;
  }

  .hero-layout {
    display: flex;
    flex-direction: column;
    gap: 44px;
  }

  .arena-hero {
    padding-top: 126px;
  }

  .hero-showcase {
    margin: 0 auto;
    transform: none;
  }

  .feature-deck {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .arena-flow {
    grid-template-columns: 1fr;
    gap: 15px;
  }

  .flow-connector {
    width: 1px;
    height: 33px;
    margin: 0 auto;
  }

  .flow-connector span {
    margin: 11px 0 0 -6px;
  }

  .premium-pass {
    grid-template-columns: 1fr;
  }

  .premium-ticket {
    width: min(430px, 100%);
  }
}

@media (max-width: 700px) {
  .landing-container,
  .landing-nav-inner,
  .landing-footer {
    width: min(100% - 34px, 1240px);
  }

  .landing-nav {
    height: 68px;
  }

  .landing-nav .brand span {
    display: none;
  }

  .nav-login {
    display: none;
  }

  .landing-page h1 {
    font-size: 48px;
  }

  .landing-page h2 {
    font-size: 38px;
  }

  .arena-hero {
    min-height: 0;
    padding: 108px 0 42px;
  }

  .arena-summary {
    font-size: 16px;
  }

  .mobile-pull {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-top: 22px;
    padding: 10px;
    background: rgba(15, 19, 31, 0.76);
    border: 1px solid rgba(248, 207, 100, 0.27);
    border-radius: 8px;
  }

  .mobile-pull-image {
    width: 66px;
    height: 66px;
    border-radius: 6px;
    object-fit: cover;
  }

  .mobile-pull-copy small,
  .mobile-pull-copy strong,
  .mobile-pull-copy span {
    display: block;
  }

  .mobile-pull-copy small {
    color: var(--arena-gold);
    font-size: 10px;
    font-weight: 800;
    text-transform: uppercase;
  }

  .mobile-pull-copy strong {
    margin: 4px 0;
    font-size: 15px;
  }

  .mobile-pull-copy span {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    color: var(--arena-muted);
    font-size: 12px;
    font-weight: 700;
  }

  .mobile-pull-copy span img {
    width: 17px;
    height: 17px;
  }

  .arena-actions {
    display: grid;
    grid-template-columns: 1fr 1fr;
    align-items: stretch;
    gap: 10px;
    margin-top: 22px;
  }

  .arena-actions .btn:first-child {
    grid-column: 1 / -1;
  }

  .arena-meta {
    display: none;
  }

  .hero-showcase {
    display: none;
  }

  .stat-row,
  .feature-deck {
    grid-template-columns: 1fr;
  }

  .glow-stat {
    min-height: 105px;
  }

  .landing-section {
    padding: 72px 0;
  }

  .premium-pass {
    padding: 28px 20px;
  }

  .closing-stage {
    padding-top: 10px;
  }

  .closing-cta {
    padding: 52px 18px;
  }

  .landing-footer {
    display: flex;
    flex-direction: column;
  }
}

@media (max-width: 430px) {
  .landing-page h1 {
    font-size: 42px;
  }

  .landing-nav-actions .nav-invite {
    padding: 0 13px;
    font-size: 13px;
  }

  .arena-actions .btn {
    width: 100%;
  }

}

@media (prefers-reduced-motion: reduce) {
  .landing-page .arena-beam,
  .landing-page .live-pulse,
  .landing-page .drop-card,
  .landing-page .floating-rarity,
  .landing-page .discord-claim,
  .landing-page .flow-connector span,
  .landing-page .premium-pass,
  .landing-page .live-rail-track {
    animation: none !important;
  }

  .landing-page .page-rise {
    opacity: 1;
    transform: none;
    animation: none !important;
  }

  .landing-page [data-tilt] {
    transform: none !important;
  }
}
