/* === RESET & BASE === */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --pink: #e879f9;
  --pink-dark: #d946ef;
  --purple: #a855f7;
  --purple-dark: #7c3aed;
  --pink-light: #f0abfc;
  --bg: #0d0015;
  --bg2: #110018;
  --bg3: #16001f;
  --card: rgba(217,70,239,0.07);
  --card-border: rgba(217,70,239,0.18);
  --text: #ffffff;
  --text-muted: rgba(255,255,255,0.6);
  --text-faint: rgba(255,255,255,0.3);
  --gradient: linear-gradient(135deg, #e879f9, #a855f7);
  --radius: 12px;
  --radius-lg: 20px;
  --nav-h: calc(64px + env(safe-area-inset-top, 0px));
}

html { scroll-behavior: smooth; overflow-x: hidden; }

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  background: var(--bg);
  color: var(--text);
  overflow-x: hidden;
  max-width: 100%;
  line-height: 1.6;
}

a { text-decoration: none; color: inherit; }
ul { list-style: none; }
img { display: block; max-width: 100%; }
button { font-family: inherit; }

/* === UTILITY === */
.gradient-text {
  background: var(--gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.center { text-align: center; }

/* === BUTTONS === */
.btn-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  background: var(--gradient);
  color: #fff;
  border: none;
  border-radius: 999px;
  padding: 10px 22px;
  font-weight: 600;
  font-size: 14px;
  cursor: pointer;
  transition: opacity .2s, transform .15s;
  white-space: nowrap;
}
.btn-primary:hover { opacity: .85; transform: translateY(-1px); }

.btn-ghost {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: transparent;
  color: var(--text-muted);
  border: 1px solid var(--card-border);
  border-radius: 999px;
  padding: 9px 20px;
  font-size: 14px;
  font-weight: 500;
  cursor: pointer;
  transition: color .2s, border-color .2s;
  white-space: nowrap;
}
.btn-ghost:hover { color: #fff; border-color: var(--pink); }

.btn-outline {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: transparent;
  color: #fff;
  border: 1px solid var(--card-border);
  border-radius: 999px;
  padding: 11px 28px;
  font-size: 15px;
  font-weight: 600;
  cursor: pointer;
  transition: border-color .2s, background .2s;
}
.btn-outline:hover { border-color: var(--pink); background: rgba(232,121,249,0.08); }

/* === SCROLL TOP === */
.scroll-top {
  position: fixed;
  bottom: 24px;
  right: 24px;
  z-index: 999;
  background: var(--gradient);
  border: none;
  border-radius: 50%;
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  cursor: pointer;
  opacity: 0;
  pointer-events: none;
  transition: opacity .3s, transform .2s;
  box-shadow: 0 4px 24px rgba(217,70,239,0.4);
}
.scroll-top.visible { opacity: 1; pointer-events: auto; }
.scroll-top:hover { transform: translateY(-2px); }

/* === NAVBAR === */
.navbar {
  position: fixed;
  top: 0; left: 0; right: 0;
  height: var(--nav-h);
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: env(safe-area-inset-top, 0px) max(40px, calc((100% - 1020px) / 2)) 0;
  background: rgba(13,0,21,0.85);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid rgba(217,70,239,0.1);
}

.nav-logo {
  flex: 1;
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 17px;
  font-weight: 700;
  color: #fff;
  flex-shrink: 0;
}
.nav-logo-img {
  width: 28px;
  height: 28px;
  object-fit: contain;
  border-radius: 6px;
}
.nav-logo .dot { color: var(--pink); }

.nav-links {
  display: flex;
  gap: 32px;
}
.nav-links a {
  font-size: 14px;
  font-weight: 500;
  color: var(--text-muted);
  transition: color .2s;
}
.nav-links a:hover { color: #fff; }

.nav-actions {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 10px;
  flex-shrink: 0;
}

/* === NAV USER (logged-in pfp + dropdown) === */
.nav-user { position: relative; }

.nav-pfp-btn {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: 2px solid rgba(217,70,239,0.3);
  padding: 0;
  background: none;
  cursor: pointer;
  overflow: hidden;
  transition: border-color .2s, box-shadow .2s;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
}
.nav-pfp-btn:hover {
  border-color: var(--pink);
  box-shadow: 0 0 0 3px rgba(217,70,239,0.12);
}
.nav-pfp-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  border-radius: 50%;
}

.nav-dropdown {
  position: absolute;
  top: calc(100% + 10px);
  right: 0;
  background: rgba(13,0,21,0.97);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid var(--card-border);
  border-radius: var(--radius);
  min-width: 172px;
  padding: 6px;
  z-index: 200;
  opacity: 0;
  pointer-events: none;
  transform: translateY(-6px);
  transition: opacity .18s, transform .18s;
  box-shadow: 0 8px 32px rgba(0,0,0,0.45);
}
.nav-dropdown.open {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
}

.nav-dd-item {
  display: flex;
  align-items: center;
  gap: 9px;
  padding: 9px 12px;
  border-radius: 8px;
  font-size: 13px;
  font-weight: 500;
  color: var(--text-muted);
  transition: color .15s, background .15s;
}
.nav-dd-item:hover { color: #fff; background: rgba(255,255,255,0.06); }
.nav-dd-item.logout:hover { color: #f87171; background: rgba(248,113,113,0.07); }
.nav-dd-sep { height: 1px; background: var(--card-border); margin: 4px 6px; }

.nav-hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
}
.nav-hamburger span {
  display: block;
  width: 22px;
  height: 2px;
  background: #fff;
  border-radius: 2px;
}

.mobile-nav {
  display: none;
  position: fixed;
  top: var(--nav-h);
  left: 0; right: 0;
  background: rgba(13,0,21,0.97);
  backdrop-filter: blur(20px);
  padding: 24px;
  flex-direction: column;
  gap: 16px;
  border-bottom: 1px solid var(--card-border);
  z-index: 99;
}
.mobile-nav.open { display: flex; }
.mobile-nav > a {
  font-size: 16px;
  color: var(--text-muted);
  padding: 4px 0;
}
.mobile-nav > a:hover { color: #fff; }
.mobile-nav-actions {
  display: flex;
  gap: 10px;
  margin-top: 8px;
}

/* === HERO === */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  padding: calc(var(--nav-h) + 80px) 40px 100px;
  position: relative;
  overflow: hidden;
  text-align: center;
  gap: 64px;
}

.hero-glow {
  position: absolute;
  top: -100px;
  left: 50%;
  transform: translateX(-50%);
  width: 1000px;
  height: 700px;
  background: radial-gradient(ellipse at top, rgba(217,70,239,0.2) 0%, rgba(168,85,247,0.08) 50%, transparent 70%);
  pointer-events: none;
}

.hero-content {
  max-width: 640px;
  z-index: 1;
}

.hero-badge {
  display: inline-block;
  background: rgba(217,70,239,0.12);
  border: 1px solid rgba(217,70,239,0.3);
  color: var(--pink-light);
  border-radius: 999px;
  padding: 5px 16px;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.5px;
  margin-bottom: 24px;
  text-transform: uppercase;
}

.hero-heading {
  font-size: clamp(44px, 8vw, 80px);
  font-weight: 900;
  line-height: 1.05;
  letter-spacing: -2.5px;
  margin-bottom: 20px;
}

.hero-sub {
  font-size: 17px;
  color: var(--text-muted);
  max-width: 500px;
  margin: 0 auto 36px;
  line-height: 1.75;
}

/* === CLAIM BAR === */
.claim-bar {
  display: flex;
  align-items: center;
  background: rgba(255,255,255,0.05);
  border: 1px solid var(--card-border);
  border-radius: 999px;
  padding: 5px 5px 5px 20px;
  max-width: 420px;
  margin: 0 auto;
  backdrop-filter: blur(10px);
  transition: border-color .2s;
}
.claim-bar:focus-within { border-color: rgba(217,70,239,0.5); }

.claim-prefix {
  color: var(--text-faint);
  font-size: 14px;
  white-space: nowrap;
  flex-shrink: 0;
}
.claim-input {
  flex: 1;
  background: none;
  border: none;
  outline: none;
  color: #fff;
  font-size: 14px;
  padding: 6px 8px;
  font-family: inherit;
  min-width: 0;
}
.claim-input::placeholder { color: var(--text-faint); }
.claim-btn { flex-shrink: 0; }

/* === HERO SEARCH === */
.hero-search {
  position: relative;
  max-width: 400px;
  margin: 16px auto 0;
}
.search-box {
  display: flex;
  align-items: center;
  gap: 10px;
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(217,70,239,0.2);
  border-radius: 999px;
  padding: 10px 18px;
  transition: border-color .2s;
}
.search-box:focus-within {
  border-color: rgba(217,70,239,0.5);
  background: rgba(217,70,239,0.04);
}
.search-box svg { color: rgba(255,255,255,0.35); flex-shrink: 0; }
.search-box input {
  flex: 1;
  background: none;
  border: none;
  outline: none;
  color: #fff;
  font-size: 14px;
  font-family: inherit;
}
.search-box input::placeholder { color: rgba(255,255,255,0.3); }
.search-results {
  position: absolute;
  top: calc(100% + 6px);
  left: 0; right: 0;
  background: #0c0018;
  border: 1px solid rgba(217,70,239,0.2);
  border-radius: 14px;
  overflow: hidden;
  box-shadow: 0 16px 48px rgba(0,0,0,0.6);
  z-index: 100;
}
.search-result {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 14px;
  text-decoration: none;
  color: #fff;
  transition: background .12s;
}
.search-result:hover { background: rgba(232,121,249,0.1); }
.search-result img {
  width: 32px; height: 32px;
  border-radius: 50%;
  object-fit: cover;
  flex-shrink: 0;
  border: 1px solid rgba(232,121,249,0.2);
}
.result-name { font-size: 13px; font-weight: 600; }
.result-handle { font-size: 11px; color: rgba(255,255,255,0.4); margin-top: 1px; }

/* === HERO MOCKUP === */
.hero-mockup {
  z-index: 1;
  width: 100%;
  max-width: 900px;
}

.mockup-screenshot {
  width: 100%;
  display: block;
  border-radius: var(--radius-lg);
  border: 1px solid rgba(217,70,239,0.22);
  box-shadow: 0 40px 100px rgba(217,70,239,0.12), 0 0 0 1px rgba(255,255,255,0.04);
}

.mockup-window {
  background: rgba(255,255,255,0.03);
  border: 1px solid rgba(217,70,239,0.22);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: 0 40px 100px rgba(217,70,239,0.12), 0 0 0 1px rgba(255,255,255,0.04);
}

.mockup-titlebar {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 12px 16px;
  background: rgba(255,255,255,0.025);
  border-bottom: 1px solid rgba(217,70,239,0.1);
}
.mockup-dots { display: flex; gap: 6px; }
.mdot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  flex-shrink: 0;
}
.mdot.red { background: #ff5f57; }
.mdot.yellow { background: #febc2e; }
.mdot.green { background: #28c840; }

.mockup-url {
  margin-left: 8px;
  font-size: 11px;
  color: var(--text-faint);
  background: rgba(255,255,255,0.05);
  border-radius: 6px;
  padding: 3px 12px;
}

.mockup-body {
  display: grid;
  grid-template-columns: 130px 1fr 150px;
  min-height: 240px;
}

.mockup-sidebar {
  border-right: 1px solid rgba(217,70,239,0.1);
  padding: 14px 6px;
  display: flex;
  flex-direction: column;
  gap: 2px;
}
.mockup-nav-item {
  padding: 7px 10px;
  font-size: 11px;
  color: var(--text-faint);
  cursor: pointer;
  border-radius: 7px;
  transition: background .15s, color .15s;
}
.mockup-nav-item:hover { color: var(--text-muted); background: rgba(255,255,255,0.04); }
.mockup-nav-item.active { background: rgba(217,70,239,0.15); color: var(--pink-light); }

.mockup-main {
  padding: 16px;
  border-right: 1px solid rgba(217,70,239,0.1);
}
.mockup-section-title {
  font-size: 10px;
  font-weight: 600;
  color: var(--text-faint);
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-bottom: 12px;
}
.mockup-asset-row {
  display: flex;
  gap: 8px;
  margin-bottom: 10px;
  flex-wrap: wrap;
}
.mockup-btn {
  font-size: 10px;
  padding: 5px 10px;
  border-radius: 7px;
  cursor: pointer;
  font-weight: 500;
  border: none;
}
.mockup-btn.pink { background: var(--gradient); color: #fff; }
.mockup-btn.outline {
  background: transparent;
  border: 1px solid var(--card-border);
  color: var(--text-muted);
}
.mockup-shape-row {
  display: flex;
  gap: 8px;
  align-items: center;
  font-size: 12px;
  color: var(--text-faint);
  margin-bottom: 10px;
}
.mockup-shape.active { color: var(--pink); }
.mockup-color-row { display: flex; gap: 6px; }
.mockup-color {
  width: 18px;
  height: 18px;
  border-radius: 50%;
  cursor: pointer;
  transition: transform .15s;
}
.mockup-color:hover { transform: scale(1.2); }

.mockup-preview {
  padding: 16px 12px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
}
.mockup-avatar {
  position: relative;
  width: 44px;
  height: 44px;
  flex-shrink: 0;
}
.mockup-avatar-ring {
  position: absolute;
  inset: 0;
  border-radius: 50%;
  background: var(--gradient);
  padding: 2px;
}
.mockup-avatar-inner {
  position: absolute;
  inset: 2px;
  border-radius: 50%;
  background: var(--bg2);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 16px;
  color: var(--pink);
}
.mockup-username {
  font-size: 10px;
  color: var(--text-muted);
}
.mockup-link-pill {
  width: 100%;
  height: 18px;
  background: rgba(217,70,239,0.12);
  border-radius: 6px;
  border: 1px solid rgba(217,70,239,0.18);
}

/* === EARLY SECTION === */
.early-section {
  text-align: center;
  padding: 60px 40px 20px;
}
.early-heading {
  font-size: clamp(24px, 4vw, 36px);
  font-weight: 800;
  letter-spacing: -1px;
  margin-bottom: 10px;
}
.early-sub {
  font-size: 16px;
  color: var(--text-muted);
  margin-bottom: 32px;
}
.early-stats {
  display: inline-flex;
  align-items: center;
  gap: 0;
  background: var(--card);
  border: 1px solid var(--card-border);
  border-radius: 999px;
  padding: 12px 28px;
  flex-wrap: wrap;
  justify-content: center;
}
.early-stat {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  font-weight: 500;
  color: var(--text-muted);
  padding: 0 16px;
}
.early-icon { display: flex; align-items: center; justify-content: center; }
.early-icon svg { width: 16px; height: 16px; color: var(--pink); stroke: currentColor; }
.early-divider {
  width: 1px;
  height: 20px;
  background: var(--card-border);
}

/* === MARQUEE === */
.marquee-wrapper {
  overflow: hidden;
  padding: 40px 0;
  position: relative;
}
.marquee-wrapper::before,
.marquee-wrapper::after {
  content: '';
  position: absolute;
  top: 0; bottom: 0;
  width: 140px;
  z-index: 2;
  pointer-events: none;
}
.marquee-wrapper::before { left: 0; background: linear-gradient(to right, var(--bg), transparent); }
.marquee-wrapper::after { right: 0; background: linear-gradient(to left, var(--bg), transparent); }

.marquee-track {
  display: flex;
  gap: 12px;
  width: max-content;
  animation: marquee 32s linear infinite;
}
@keyframes marquee {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

.user-card {
  display: flex;
  align-items: center;
  gap: 10px;
  background: var(--card);
  border: 1px solid var(--card-border);
  border-radius: 999px;
  padding: 8px 16px 8px 8px;
  white-space: nowrap;
  cursor: pointer;
  transition: border-color .2s;
}
.user-card:hover { border-color: rgba(217,70,239,0.45); }
.user-avatar {
  width: 30px;
  height: 30px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 12px;
  color: #fff;
  flex-shrink: 0;
}
.user-card > span {
  font-size: 13px;
  font-weight: 500;
  color: var(--text-muted);
  display: flex;
  gap: 5px;
}
.user-card em {
  font-style: normal;
  color: var(--text-faint);
}

/* === FEATURES === */
.features-section {
  padding: 80px 40px;
  max-width: 1100px;
  margin: 0 auto;
}

.section-tag {
  display: inline-block;
  background: rgba(217,70,239,0.1);
  border: 1px solid rgba(217,70,239,0.28);
  color: var(--pink-light);
  border-radius: 999px;
  padding: 4px 14px;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 1px;
  text-transform: uppercase;
  margin-bottom: 14px;
}

.section-heading {
  font-size: clamp(28px, 5vw, 46px);
  font-weight: 900;
  letter-spacing: -1.5px;
  margin-bottom: 14px;
  line-height: 1.1;
}

.section-sub {
  font-size: 16px;
  color: var(--text-muted);
  max-width: 500px;
  margin-bottom: 52px;
  line-height: 1.7;
}

.features-layout {
  display: grid;
  grid-template-columns: 1fr;
  gap: 28px;
  align-items: start;
  margin-bottom: 28px;
}

/* Feature demo card */
.feature-demo-card {
  background: var(--card);
  border: 1px solid var(--card-border);
  border-radius: var(--radius-lg);
  overflow: hidden;
}
.feature-demo-inner {
  padding: 28px;
  display: flex;
  flex-direction: column;
  gap: 18px;
}
.demo-label {
  font-size: 12px;
  font-weight: 600;
  color: var(--text-faint);
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.demo-color-row {
  display: flex;
  gap: 10px;
  align-items: center;
}
.demo-color-btn {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  border: 2px solid transparent;
  cursor: pointer;
  transition: transform .15s, border-color .15s;
  flex-shrink: 0;
  padding: 0;
}
.demo-color-btn:hover { transform: scale(1.15); }
.demo-color-btn.active { border-color: rgba(255,255,255,0.8); box-shadow: 0 0 0 3px rgba(255,255,255,0.15); }

.demo-toggle-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 13px;
  color: var(--text-muted);
}
.toggle-switch {
  width: 40px;
  height: 22px;
  border-radius: 999px;
  background: rgba(255,255,255,0.12);
  border: 1px solid var(--card-border);
  cursor: pointer;
  position: relative;
  transition: background .2s;
  flex-shrink: 0;
}
.toggle-switch::after {
  content: '';
  position: absolute;
  top: 2px;
  left: 2px;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: var(--text-faint);
  transition: transform .2s, background .2s;
}
.toggle-switch.active { background: var(--gradient); border-color: var(--pink); }
.toggle-switch.active::after { transform: translateX(18px); background: #fff; }

.demo-avatar-area {
  display: flex;
  justify-content: center;
  padding: 8px 0;
}
.demo-avatar-ring {
  width: 72px;
  height: 72px;
  border-radius: 50%;
  background: var(--gradient);
  padding: 3px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.demo-avatar {
  width: 66px;
  height: 66px;
  border-radius: 50%;
  background: var(--bg2);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
  font-weight: 700;
  color: var(--pink);
}

.demo-font-label {
  font-size: 12px;
  font-weight: 600;
  color: var(--text-faint);
  text-transform: uppercase;
  letter-spacing: 0.5px;
}
.demo-font-row {
  display: flex;
  gap: 6px;
  flex-wrap: wrap;
}
.demo-font {
  background: rgba(255,255,255,0.05);
  border: 1px solid var(--card-border);
  border-radius: 7px;
  color: var(--text-muted);
  font-size: 12px;
  padding: 5px 12px;
  cursor: pointer;
  transition: border-color .15s, color .15s, background .15s;
}
.demo-font:hover { border-color: rgba(217,70,239,0.4); color: #fff; }
.demo-font.active {
  border-color: var(--pink);
  color: var(--pink-light);
  background: rgba(232,121,249,0.1);
}

/* Feature grid */
.feature-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}
.feature-item {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  background: var(--card);
  border: 1px solid var(--card-border);
  border-radius: var(--radius);
  padding: 16px;
  transition: border-color .2s, transform .2s;
}
.feature-item:hover { border-color: rgba(217,70,239,0.4); transform: translateY(-2px); }
.feature-icon { flex-shrink: 0; margin-top: 2px; display: flex; align-items: center; justify-content: center; width: 32px; height: 32px; border-radius: 8px; background: rgba(232,121,249,0.08); border: 1px solid rgba(232,121,249,0.18); }
.feature-icon svg { width: 16px; height: 16px; color: var(--pink); stroke: currentColor; flex-shrink: 0; }
.feature-item--premium .feature-icon { background: rgba(192,132,252,0.08); border-color: rgba(192,132,252,0.2); }
.feature-item--premium .feature-icon svg { color: #c084fc; }
.feature-item strong { font-size: 13px; font-weight: 600; display: block; margin-bottom: 3px; }
.feature-item p { font-size: 12px; color: var(--text-muted); line-height: 1.5; }

.features-premium-divider {
  display: flex; align-items: center; gap: 14px;
  margin: 36px 0 20px;
  color: #c084fc; font-size: 12px; font-weight: 700; letter-spacing: 1px; text-transform: uppercase;
}
.features-premium-divider::before,
.features-premium-divider::after {
  content: ''; flex: 1; height: 1px;
  background: linear-gradient(to right, transparent, rgba(192,132,252,0.3), transparent);
}
.feature-item--premium {
  border-color: rgba(192,132,252,0.15);
  background: rgba(192,132,252,0.04);
}
.feature-item--premium:hover { border-color: rgba(192,132,252,0.45); }
.feature-item--premium strong::after {
  content: ' ◈';
  color: #c084fc; font-size: 11px; font-weight: 700;
}

/* Widgets area */
.widgets-area {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
}

.widget-card {
  background: var(--card);
  border: 1px solid var(--card-border);
  border-radius: var(--radius-lg);
  padding: 28px;
}
.widget-tag {
  display: inline-block;
  background: rgba(217,70,239,0.1);
  border: 1px solid rgba(217,70,239,0.28);
  color: var(--pink-light);
  border-radius: 999px;
  padding: 3px 12px;
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 1px;
  text-transform: uppercase;
  margin-bottom: 12px;
}
.widget-card h3 {
  font-size: 18px;
  font-weight: 700;
  margin-bottom: 8px;
}
.widget-card p {
  font-size: 14px;
  color: var(--text-muted);
  margin-bottom: 20px;
  line-height: 1.6;
}
.widget-heading { margin-bottom: 20px; }

/* Music player */
.music-player {
  display: flex;
  gap: 14px;
  align-items: center;
  background: rgba(255,255,255,0.04);
  border: 1px solid var(--card-border);
  border-radius: var(--radius);
  padding: 14px;
}
.music-cover-placeholder {
  width: 56px;
  height: 56px;
  border-radius: 8px;
  background: linear-gradient(135deg, rgba(217,70,239,0.3), rgba(168,85,247,0.3));
  border: 1px solid var(--card-border);
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--pink-light);
}
.music-info { flex: 1; min-width: 0; }
.music-title {
  font-size: 13px;
  font-weight: 600;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  margin-bottom: 2px;
}
.music-artist {
  font-size: 12px;
  color: var(--text-muted);
  margin-bottom: 10px;
}
.music-progress {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 10px;
}
.music-time { font-size: 10px; color: var(--text-faint); }
.music-bar {
  flex: 1;
  height: 3px;
  background: rgba(255,255,255,0.1);
  border-radius: 999px;
  overflow: hidden;
}
.music-fill {
  height: 100%;
  background: var(--gradient);
  border-radius: 999px;
}
.music-controls {
  display: flex;
  gap: 8px;
  align-items: center;
}
.music-btn {
  background: rgba(255,255,255,0.07);
  border: none;
  border-radius: 50%;
  width: 28px;
  height: 28px;
  color: var(--text-muted);
  cursor: pointer;
  font-size: 11px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background .15s, color .15s;
}
.music-btn:hover { background: rgba(217,70,239,0.2); color: #fff; }
.music-btn.play {
  background: var(--gradient);
  color: #fff;
  width: 32px;
  height: 32px;
  font-size: 12px;
}

/* Integrations */
.integration-icons {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}
.integration-icon {
  width: 44px;
  height: 44px;
  background: rgba(255,255,255,0.04);
  border: 1px solid var(--card-border);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-muted);
  cursor: pointer;
  transition: border-color .15s, transform .15s, background .15s, color .15s;
}
.integration-icon:hover {
  border-color: var(--pink);
  background: rgba(217,70,239,0.1);
  color: var(--pink-light);
  transform: translateY(-2px);
}

/* === PREMIUM === */
.discord-section {
  text-align: center;
  padding: 80px 40px;
  position: relative;
  overflow: hidden;
}
.discord-glow {
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 700px;
  height: 500px;
  background: radial-gradient(ellipse at center, rgba(217,70,239,0.18) 0%, transparent 65%);
  pointer-events: none;
}
.discord-section .section-sub {
  margin: 0 auto 36px;
}
.features-header {
  text-align: center;
  margin-bottom: 0;
}
.features-header .section-sub {
  margin: 0 auto 16px;
}
.features-desktop-tip {
  font-size: 13px;
  color: rgba(255,255,255,0.35);
  margin: 0 auto 48px;
  max-width: 500px;
}
.discord-widget-wrap {
  display: flex;
  justify-content: center;
}
.discord-invite-card {
  position: relative;
  background: rgba(10,5,20,0.9);
  border: 1px solid rgba(217,70,239,0.22);
  border-radius: 24px;
  padding: 44px 40px 36px;
  width: 360px;
  max-width: 100%;
  text-align: center;
  box-shadow: 0 0 80px rgba(217,70,239,0.12), 0 0 0 1px rgba(168,85,247,0.07);
  overflow: hidden;
}
.discord-invite-top-glow {
  position: absolute;
  top: -40px;
  left: 50%;
  transform: translateX(-50%);
  width: 260px;
  height: 100px;
  background: radial-gradient(ellipse at center, rgba(232,121,249,0.22) 0%, transparent 70%);
  pointer-events: none;
}
.discord-invite-icon-wrap {
  display: flex;
  justify-content: center;
  margin-bottom: 20px;
}
.discord-invite-icon {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  background: rgba(232,121,249,0.1);
  border: 2px solid rgba(232,121,249,0.3);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #e879f9;
  box-shadow: 0 0 32px rgba(232,121,249,0.18);
}
.discord-invite-tagline {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: rgba(255,255,255,0.35);
  margin-bottom: 6px;
}
.discord-invite-name {
  font-size: 22px;
  font-weight: 800;
  color: #fff;
  margin-bottom: 12px;
}
.discord-invite-desc {
  font-size: 13px;
  color: rgba(255,255,255,0.45);
  line-height: 1.6;
  margin-bottom: 22px;
  max-width: 280px;
  margin-left: auto;
  margin-right: auto;
}
.discord-invite-divider {
  height: 1px;
  background: rgba(217,70,239,0.12);
  margin-bottom: 18px;
}
.discord-invite-stats {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  margin-bottom: 24px;
}
.discord-invite-stat {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 12px;
  color: rgba(255,255,255,0.4);
  font-weight: 500;
}
.dc-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  flex-shrink: 0;
}
.dc-dot--online { background: #3ba55d; box-shadow: 0 0 6px rgba(59,165,93,0.6); }
.dc-dot--members { background: rgba(255,255,255,0.25); }
.dc-stat-sep {
  width: 3px;
  height: 3px;
  border-radius: 50%;
  background: rgba(255,255,255,0.15);
}
.discord-join-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  background: var(--gradient);
  color: #fff;
  border-radius: 999px;
  padding: 12px 32px;
  font-size: 14px;
  font-weight: 700;
  width: 100%;
  transition: opacity .2s, transform .15s;
  box-shadow: 0 4px 20px rgba(217,70,239,0.25);
}
.discord-join-btn:hover { opacity: .88; transform: translateY(-1px); }

.premium-section {
  text-align: center;
  padding: 100px 40px;
  position: relative;
  overflow: hidden;
}
.premium-glow {
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 800px;
  height: 500px;
  background: radial-gradient(ellipse at center, rgba(217,70,239,0.18) 0%, transparent 65%);
  pointer-events: none;
}
.premium-section .section-sub { margin: 0 auto 52px; }

.pricing-cards {
  display: flex;
  justify-content: center;
  gap: 20px;
  flex-wrap: wrap;
  position: relative;
  z-index: 1;
}

.pricing-card {
  background: rgba(255,255,255,0.035);
  border: 1px solid var(--card-border);
  border-radius: var(--radius-lg);
  padding: 36px 32px;
  width: 310px;
  text-align: left;
  position: relative;
  overflow: hidden;
  transition: border-color .25s, transform .2s, box-shadow .25s;
}
.pricing-card:hover {
  border-color: rgba(217,70,239,0.45);
  transform: translateY(-4px);
}

.premium-card {
  border-color: rgba(217,70,239,0.38);
  box-shadow: 0 0 40px rgba(217,70,239,0.12);
  background: rgba(217,70,239,0.06);
}
.premium-card:hover {
  box-shadow: 0 8px 60px rgba(217,70,239,0.2);
}

.pricing-badge {
  position: absolute;
  top: 20px;
  right: 20px;
  background: var(--gradient);
  color: #fff;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.5px;
  padding: 3px 10px;
  border-radius: 999px;
}

.pricing-tier {
  font-size: 14px;
  font-weight: 600;
  color: var(--text-muted);
  margin-bottom: 12px;
}

.billing-toggle {
  display: flex;
  gap: 4px;
  margin-bottom: 16px;
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 10px;
  padding: 3px;
}
.billing-btn {
  flex: 1;
  padding: 5px 10px;
  border-radius: 7px;
  border: none;
  background: transparent;
  color: var(--text-muted);
  font-size: 12px;
  font-weight: 600;
  cursor: pointer;
  transition: all .15s;
  font-family: inherit;
}
.billing-btn.active {
  background: rgba(217,70,239,0.18);
  color: #e879f9;
}
.pricing-price {
  font-size: 44px;
  font-weight: 900;
  letter-spacing: -2px;
  margin-bottom: 6px;
  line-height: 1;
}
.pricing-price span {
  font-size: 15px;
  font-weight: 400;
  color: var(--text-muted);
  letter-spacing: 0;
}
.pricing-desc {
  font-size: 14px;
  color: var(--text-muted);
  margin-bottom: 22px;
  line-height: 1.6;
}
.pricing-cta {
  display: flex;
  width: 100%;
  max-width: 100%;
  margin-bottom: 28px;
  text-align: center;
}
.pricing-features {
  display: flex;
  flex-direction: column;
  gap: 11px;
}
.pricing-features li {
  font-size: 13px;
  color: var(--text-muted);
  display: flex;
  align-items: center;
  gap: 10px;
}
.check {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: rgba(217,70,239,0.18);
  color: var(--pink);
  font-size: 10px;
  flex-shrink: 0;
  font-weight: 700;
}

/* === FAQ === */
.faq-section {
  max-width: 700px;
  margin: 0 auto;
  padding: 80px 40px;
  position: relative;
}
.faq-glow {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 600px;
  height: 300px;
  background: radial-gradient(ellipse, rgba(168,85,247,0.08) 0%, transparent 65%);
  pointer-events: none;
}
.faq-section .section-heading { margin-bottom: 44px; }

.faq-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
  position: relative;
}
.faq-item {
  background: var(--card);
  border: 1px solid var(--card-border);
  border-radius: var(--radius);
  overflow: hidden;
  transition: border-color .2s;
}
.faq-item.open { border-color: rgba(217,70,239,0.4); }

.faq-btn {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px 20px;
  background: none;
  border: none;
  color: #fff;
  font-size: 14px;
  font-weight: 500;
  font-family: inherit;
  cursor: pointer;
  text-align: left;
  gap: 16px;
  line-height: 1.4;
}
.faq-btn:hover { color: var(--pink-light); }
.faq-icon {
  flex-shrink: 0;
  transition: transform .25s;
  color: var(--text-muted);
}
.faq-icon.rotated { transform: rotate(180deg); }
.faq-answer {
  max-height: 0;
  overflow: hidden;
  font-size: 14px;
  color: var(--text-muted);
  line-height: 1.7;
  padding: 0 20px;
  transition: max-height .35s ease, padding .3s ease;
}
.faq-answer.open { max-height: 200px; padding: 0 20px 18px; }

/* === CTA === */
.cta-section {
  text-align: center;
  padding: 100px 40px;
  position: relative;
}
.cta-glow {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 700px;
  height: 400px;
  background: radial-gradient(ellipse, rgba(217,70,239,0.15) 0%, transparent 65%);
  pointer-events: none;
}
.cta-heading {
  font-size: clamp(28px, 5vw, 48px);
  font-weight: 900;
  letter-spacing: -1.5px;
  margin-bottom: 14px;
  position: relative;
}
.cta-sub {
  font-size: 16px;
  color: var(--text-muted);
  margin-bottom: 32px;
  position: relative;
}
.cta-section .claim-bar { position: relative; }

/* === FOOTER === */
.footer {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 24px 40px;
  border-top: 1px solid rgba(217,70,239,0.1);
  font-size: 13px;
  color: var(--text-faint);
  gap: 14px;
}
.footer-links {
  display: flex;
  gap: 24px;
  flex-wrap: wrap;
  justify-content: center;
}
.footer-links a {
  font-size: 13px;
  color: var(--text-faint);
  transition: color .2s;
}
.footer-links a:hover { color: var(--pink-light); }

/* === PAGE LAYOUTS (subpages) === */
.page-wrapper {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}
.page-content {
  flex: 1;
  padding: calc(var(--nav-h) + 60px) 40px 80px;
  max-width: 900px;
  margin: 0 auto;
  width: 100%;
}
.page-title {
  font-size: clamp(32px, 5vw, 52px);
  font-weight: 900;
  letter-spacing: -1.5px;
  margin-bottom: 12px;
}
.page-subtitle {
  font-size: 15px;
  color: var(--text-muted);
  margin-bottom: 48px;
}

/* Auth pages */
.auth-wrapper {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 80px 24px 40px;
  position: relative;
}
.auth-glow {
  position: absolute;
  top: 20%;
  left: 50%;
  transform: translateX(-50%);
  width: 600px;
  height: 400px;
  background: radial-gradient(ellipse, rgba(217,70,239,0.15) 0%, transparent 65%);
  pointer-events: none;
}
.auth-card {
  background: rgba(255,255,255,0.04);
  border: 1px solid var(--card-border);
  border-radius: var(--radius-lg);
  padding: 40px;
  width: 100%;
  max-width: 420px;
  position: relative;
  z-index: 1;
}
.auth-logo {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 16px;
  font-weight: 700;
  margin-bottom: 28px;
  text-decoration: none;
  color: #fff;
}
.auth-logo img {
  width: 24px;
  height: 24px;
  object-fit: contain;
  border-radius: 5px;
}
.auth-heading {
  font-size: 26px;
  font-weight: 800;
  letter-spacing: -0.5px;
  margin-bottom: 6px;
}
.auth-sub {
  font-size: 14px;
  color: var(--text-muted);
  margin-bottom: 24px;
}
.auth-divider {
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 20px 0;
}
.auth-divider::before,
.auth-divider::after {
  content: '';
  flex: 1;
  height: 1px;
  background: var(--card-border);
}
.auth-divider span {
  font-size: 12px;
  color: var(--text-faint);
  white-space: nowrap;
}
.form-group { margin-bottom: 16px; }
.form-label {
  display: block;
  font-size: 13px;
  font-weight: 500;
  color: var(--text-muted);
  margin-bottom: 6px;
}
.form-input {
  width: 100%;
  background: rgba(255,255,255,0.05);
  border: 1px solid var(--card-border);
  border-radius: var(--radius);
  padding: 11px 14px;
  color: #fff;
  font-size: 14px;
  font-family: inherit;
  outline: none;
  transition: border-color .2s;
}
.form-input::placeholder { color: var(--text-faint); }
.form-input:focus { border-color: rgba(217,70,239,0.5); }
.form-hint {
  font-size: 12px;
  color: var(--text-faint);
  margin-top: 5px;
}
.form-hint a { color: var(--pink-light); }
.form-hint a:hover { text-decoration: underline; }
.form-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 20px;
}
.form-check {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  color: var(--text-muted);
  cursor: pointer;
}
.form-check input { accent-color: var(--pink); }
.form-link {
  font-size: 13px;
  color: var(--pink-light);
}
.form-link:hover { text-decoration: underline; }
.btn-discord {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  background: #5865F2;
  color: #fff;
  border: none;
  border-radius: var(--radius);
  padding: 12px;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  transition: opacity .2s;
  font-family: inherit;
}
.btn-discord:hover { opacity: .88; }
.btn-full {
  width: 100%;
  border-radius: var(--radius);
  padding: 12px;
  font-size: 15px;
}
.auth-footer {
  text-align: center;
  margin-top: 20px;
  font-size: 13px;
  color: var(--text-muted);
}
.auth-footer a { color: var(--pink-light); }
.auth-footer a:hover { text-decoration: underline; }

.auth-footer-text {
  text-align: center;
  margin-top: 14px;
  font-size: 12px;
  color: var(--text-faint);
}

.auth-error {
  background: rgba(239, 68, 68, 0.1);
  border: 1px solid rgba(239, 68, 68, 0.3);
  color: #fca5a5;
  border-radius: 10px;
  padding: 10px 14px;
  font-size: 13px;
  margin-bottom: 16px;
  text-align: center;
}

/* Leaderboard */
.leaderboard-table {
  width: 100%;
  border-collapse: separate;
  border-spacing: 0 8px;
}
.lb-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 8px 16px;
  font-size: 12px;
  font-weight: 600;
  color: var(--text-faint);
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-bottom: 4px;
}
.lb-row {
  display: flex;
  align-items: center;
  gap: 16px;
  background: var(--card);
  border: 1px solid var(--card-border);
  border-radius: var(--radius);
  padding: 14px 20px;
  transition: border-color .2s, transform .15s;
  cursor: pointer;
  margin-bottom: 8px;
  text-decoration: none;
  color: inherit;
}
.lb-row:hover { border-color: rgba(217,70,239,0.4); transform: translateX(4px); }
.lb-rank {
  font-size: 14px;
  font-weight: 700;
  color: var(--text-faint);
  width: 28px;
  flex-shrink: 0;
  text-align: center;
}
.lb-rank.top1 { color: #FFD700; }
.lb-rank.top2 { color: #C0C0C0; }
.lb-rank.top3 { color: #CD7F32; }
.lb-avatar {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--gradient);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 14px;
  color: #fff;
  flex-shrink: 0;
}
.lb-name {
  flex: 1;
  font-size: 14px;
  font-weight: 600;
}
.lb-views {
  font-size: 13px;
  font-weight: 600;
  color: var(--pink-light);
}
.lb-pagination {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  margin-top: 24px;
  font-size: 13px;
  color: var(--text-muted);
}
.lb-page-btn {
  background: var(--card);
  border: 1px solid var(--card-border);
  border-radius: 8px;
  color: var(--text-muted);
  padding: 7px 12px;
  cursor: pointer;
  font-size: 13px;
  transition: border-color .2s, color .2s;
  font-family: inherit;
}
.lb-page-btn:hover:not(:disabled) { border-color: var(--pink); color: #fff; }
.lb-page-btn:disabled { opacity: .35; cursor: default; }

/* Legal pages */
.legal-content {
  color: var(--text-muted);
  font-size: 15px;
  line-height: 1.8;
}
.legal-content h2 {
  font-size: 22px;
  font-weight: 700;
  color: #fff;
  margin: 36px 0 12px;
  letter-spacing: -0.5px;
}
.legal-content h3 {
  font-size: 17px;
  font-weight: 600;
  color: rgba(255,255,255,0.85);
  margin: 24px 0 8px;
}
.legal-content p { margin-bottom: 14px; }
.legal-content ul {
  list-style: disc;
  padding-left: 24px;
  margin-bottom: 14px;
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.legal-content a { color: var(--pink-light); }
.legal-content a:hover { text-decoration: underline; }
.legal-content strong { color: rgba(255,255,255,0.85); }

/* Casino coming soon */
.casino-page {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 80px 40px;
  position: relative;
}
.casino-glow {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 700px;
  height: 500px;
  background: radial-gradient(ellipse, rgba(217,70,239,0.2) 0%, transparent 65%);
  pointer-events: none;
}
.casino-icon {
  font-size: 72px;
  margin-bottom: 24px;
}
.casino-heading {
  font-size: clamp(32px, 5vw, 52px);
  font-weight: 900;
  letter-spacing: -1.5px;
  margin-bottom: 14px;
}
.casino-sub {
  font-size: 17px;
  color: var(--text-muted);
  max-width: 440px;
  margin: 0 auto 32px;
  line-height: 1.7;
}

/* 404 */
.notfound-page {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 80px 40px;
  position: relative;
}
.notfound-glow {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 600px;
  height: 400px;
  background: radial-gradient(ellipse, rgba(217,70,239,0.15) 0%, transparent 65%);
  pointer-events: none;
}
.notfound-code {
  font-size: clamp(80px, 15vw, 160px);
  font-weight: 900;
  letter-spacing: -4px;
  line-height: 1;
  background: var(--gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin-bottom: 16px;
  position: relative;
}
.notfound-heading {
  font-size: clamp(20px, 3vw, 28px);
  font-weight: 700;
  margin-bottom: 12px;
}
.notfound-sub {
  font-size: 16px;
  color: var(--text-muted);
  margin-bottom: 32px;
}

/* === RESPONSIVE === */

/* ── Tablet: 641–900px ── */
@media (max-width: 900px) {
  .features-layout { grid-template-columns: 1fr; }
  .feature-grid { grid-template-columns: 1fr 1fr; }
  .widgets-area { grid-template-columns: 1fr; }
  .mockup-body { grid-template-columns: 120px 1fr; }
  .mockup-preview { display: none; }
}

@media (min-width: 641px) and (max-width: 900px) {
  .hero { padding: calc(var(--nav-h) + 60px) 32px 80px; gap: 48px; }
  .features-section { padding: 64px 32px; }
  .premium-section { padding: 80px 32px; }
  .faq-section { padding: 64px 32px; }
  .cta-section { padding: 80px 32px; }
  .mockup-sidebar { display: none; }
  .mockup-body { grid-template-columns: 1fr; }
  .page-content { padding: calc(var(--nav-h) + 48px) 32px 64px; }
}

/* ── Mobile: ≤640px ── */
@media (max-width: 640px) {
  /* Nav */
  .navbar { padding: 0 20px; background: rgba(13,0,21,0.85); backdrop-filter: blur(20px); -webkit-backdrop-filter: blur(20px); border-bottom: 1px solid rgba(217,70,239,0.1); }
  .nav-links, .nav-actions { display: none; }
  .nav-hamburger { display: flex; }

  /* Search bar */
  .search-box { background: transparent; border-color: rgba(217,70,239,0.15); }
  .search-box:focus-within { background: rgba(217,70,239,0.04); }

  /* Hero - remove 100vh centering so content starts near top */
  .hero {
    min-height: auto;
    align-items: flex-start;
    padding: calc(var(--nav-h) + 20px) 20px 48px;
    gap: 28px;
  }
  .hero-content { width: 100%; }
  .hero-heading { letter-spacing: -1.5px; }
  .hero-sub { font-size: 15px; }
  .hero-mockup { display: none; }

  /* Claim bar: tighten padding on mobile */
  .claim-bar { padding: 4px 4px 4px 14px; max-width: 100%; }
  .claim-prefix { font-size: 13px; }

  /* Early access */
  .early-section { padding: 48px 20px 16px; }
  .early-stats { padding: 10px 12px; gap: 0; }
  .early-stat { padding: 4px 10px; font-size: 13px; }
  .early-divider { display: none; }

  /* Features */
  .features-section { padding: 56px 20px; }
  .feature-grid { grid-template-columns: 1fr; }
  .section-sub { margin-bottom: 36px; }

  /* Premium */
  .premium-section { padding: 56px 20px; }
  .pricing-cards { flex-direction: column; align-items: center; }
  .pricing-card { width: 100%; max-width: 100%; padding: 28px 22px; }

  /* FAQ */
  .faq-section { padding: 56px 20px; }
  .faq-btn { font-size: 13.5px; padding: 16px 18px; }

  /* CTA */
  .cta-section { padding: 56px 20px; }

  /* Footer */
  .footer { padding: 24px 20px; flex-direction: column; text-align: center; }
  .footer-links { justify-content: center; }

  /* Subpages */
  .page-content { padding: calc(var(--nav-h) + 36px) 18px 56px; }
  .auth-card { padding: 28px 20px; }

  /* Touch targets - 44px min-height for all interactive elements */
  .btn-primary, .btn-ghost, .btn-outline { min-height: 44px; }
  .btn-discord { min-height: 48px; }
  .faq-btn { min-height: 52px; }

  /* Leaderboard */
  .lb-row { gap: 10px; padding: 12px 14px; }
  .lb-header { padding: 6px 14px; }
  .lb-page-btn { padding: 9px 14px; min-height: 40px; }
}

/* ── Small mobile: ≤480px ── */
@media (max-width: 480px) {
  /* Claim bar: centered, stacked - prefix hidden, input centered, button full-width */
  .claim-bar {
    flex-direction: column;
    border-radius: 16px;
    padding: 12px;
    gap: 8px;
    align-items: stretch;
    max-width: 100%;
  }
  .claim-prefix { display: none; }
  .claim-input {
    text-align: center;
    font-size: 15px;
    padding: 10px 8px;
  }
  .claim-btn {
    border-radius: 10px;
    padding: 13px;
    justify-content: center;
    text-align: center;
    width: 100%;
  }

  /* Pricing */
  .pricing-card { padding: 24px 18px; }

  /* Nav hamburger easier to tap */
  .nav-hamburger { padding: 8px; }

  /* Leaderboard tighter */
  .lb-row { gap: 8px; padding: 10px 12px; }
}
