:root {
  --bg-dark: #0a0a0b;
  --bg: #ffffff;
  --bg-secondary: #f7f7f8;
  --bg-card: #ffffff;
  --bg-card-hover: #fafafa;
  --text: #111113;
  --text-muted: #6b6b74;
  --text-light: #f5f5f7;
  --text-light-muted: #a0a0a8;
  --accent: #b8e600;
  --accent-dim: #a3cc00;
  --accent-dark: #4a6600;
  --accent-glow: rgba(200, 255, 0, 0.15);
  --border: #e4e4e7;
  --border-hover: #d1d1d6;
  --border-dark: rgba(255, 255, 255, 0.1);
  --radius: 16px;
  --radius-sm: 10px;
}

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

html {
  scroll-behavior: smooth;
  scrollbar-width: thin;
  scrollbar-color: var(--border) var(--bg);
}

body {
  font-family: 'DM Sans', -apple-system, sans-serif;
  background: var(--bg);
  color: var(--text);
  overflow-x: hidden;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

::selection {
  background: var(--accent);
  color: var(--bg-dark);
}

.grain-overlay {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 9999;
  opacity: 0.02;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noise'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noise)'/%3E%3C/svg%3E");
  background-repeat: repeat;
}

.cursor-glow {
  position: fixed;
  width: 600px;
  height: 600px;
  border-radius: 50%;
  pointer-events: none;
  z-index: 1;
  background: radial-gradient(circle, rgba(200, 255, 0, 0.08) 0%, transparent 70%);
  transform: translate(-50%, -50%);
  transition: opacity 0.3s;
  opacity: 0;
}

/* NAV */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 48px;
  background: transparent;
  border-bottom: none;
  transition: background 0.4s, border-color 0.4s, backdrop-filter 0.4s;
}

.nav.scrolled {
  background: rgba(255, 255, 255, 0.85);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border);
}

.nav-logo {
  font-family: 'Syne', sans-serif;
  font-weight: 800;
  font-size: 1.3rem;
  color: var(--text-light);
  text-decoration: none;
  letter-spacing: -0.5px;
  transition: color 0.4s;
}

.nav.scrolled .nav-logo {
  color: var(--text);
}

.dot {
  color: var(--accent);
}

.club .dot,
.perks .dot,
.quotes .dot,
.footer .dot {
  color: var(--accent-dark);
}

.nav-links {
  display: flex;
  gap: 32px;
}

.nav-links a {
  color: var(--text-light-muted);
  text-decoration: none;
  font-size: 0.9rem;
  font-weight: 500;
  transition: color 0.3s;
  position: relative;
}

.nav.scrolled .nav-links a {
  color: var(--text-muted);
}

.nav-links a::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--accent);
  transition: width 0.3s ease, background 0.4s;
}

.nav.scrolled .nav-links a::after {
  background: var(--accent-dark);
}

.nav-links a:hover {
  color: var(--text-light);
}

.nav.scrolled .nav-links a:hover {
  color: var(--text);
}

.nav-links a:hover::after {
  width: 100%;
}

/* HERO — stays dark with video */
.hero {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  padding: 80px 24px 80px;
  position: relative;
  overflow: hidden;
  background: var(--bg-dark);
}

.hero-video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 0;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: rgba(10, 10, 11, 0.4);
  z-index: 1;
}

.hero::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 200px;
  background: linear-gradient(to bottom, transparent, var(--bg));
  z-index: 2;
  pointer-events: none;
}

.hero::before {
  content: '';
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 800px;
  height: 800px;
  background: radial-gradient(ellipse, var(--accent-glow) 0%, transparent 70%);
  pointer-events: none;
  opacity: 0.3;
  z-index: 2;
}

.hero-title,
.hero-sub,
.hero-buttons,
.hero .scroll-hint {
  position: relative;
  z-index: 3;
}

.hero-title {
  font-family: 'Syne', sans-serif;
  font-weight: 800;
  line-height: 1.05;
  letter-spacing: -3px;
  margin-bottom: 24px;
}

.hero-title .line {
  display: block;
}

.line-1 {
  font-size: clamp(2.5rem, 6vw, 5rem);
  color: var(--text-light);
  animation: fadeInUp 0.6s ease 0.1s both;
}

.line-2 {
  font-size: clamp(4rem, 10vw, 9rem);
  color: var(--text-light);
  animation: fadeInUp 0.6s ease 0.25s both;
}

.line-3 {
  font-size: clamp(2rem, 5vw, 4.5rem);
  color: var(--text-light);
  animation: fadeInUp 0.6s ease 0.4s both;
}

.line-3 em {
  color: var(--accent);
  font-style: italic;
}

.hero-sub {
  font-size: 1.15rem;
  color: var(--text-light-muted);
  max-width: 400px;
  margin: 0 auto;
  animation: fadeInUp 0.6s ease 0.55s both;
}

.hero-buttons {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-top: 32px;
  animation: fadeInUp 0.6s ease 0.65s both;
}

.hero-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--border-dark);
  border-radius: 12px;
  cursor: pointer;
  transition: all 0.3s ease;
  text-decoration: none;
  backdrop-filter: blur(10px);
}

.x-btn {
  width: 48px;
  height: 48px;
  background: rgba(255, 255, 255, 0.08);
  color: var(--text-light);
}

.x-btn:hover {
  background: rgba(255, 255, 255, 0.15);
  border-color: rgba(255, 255, 255, 0.2);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.3);
}

.ca-btn {
  height: 48px;
  padding: 0 20px;
  background: var(--accent);
  color: var(--bg-dark);
  border-color: var(--accent);
  font-family: 'DM Sans', sans-serif;
  font-weight: 700;
  font-size: 0.75rem;
  letter-spacing: 0.3px;
  max-width: 480px;
  overflow: hidden;
  text-overflow: ellipsis;
}

.ca-btn:hover {
  background: var(--accent-dim);
  border-color: var(--accent-dim);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(200, 255, 0, 0.25);
}

.scroll-hint {
  position: relative;
  z-index: 3;
  margin-top: 60px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  color: var(--text-light-muted);
  font-size: 0.8rem;
  animation: fadeInUp 0.6s ease 0.9s both;
}

.scroll-arrow {
  animation: bob 2s ease-in-out infinite;
  font-size: 1.2rem;
}

@keyframes bob {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(6px); }
}

.pulse-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--accent-dark);
  animation: pulse 2s ease-in-out infinite;
  flex-shrink: 0;
}

@keyframes pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.5; transform: scale(0.8); }
}

/* CLUB — light theme */
.club {
  padding: 60px 48px 100px;
  text-align: center;
  position: relative;
  background: var(--bg);
}

.club::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 900px;
  height: 500px;
  background: radial-gradient(ellipse, rgba(200, 255, 0, 0.08) 0%, transparent 70%);
  pointer-events: none;
  opacity: 0.5;
}

.club-content {
  position: relative;
  z-index: 2;
}

.club-title {
  font-family: 'Syne', sans-serif;
  font-weight: 800;
  font-size: clamp(2.5rem, 6vw, 5rem);
  letter-spacing: -3px;
  margin: 12px 0 16px;
  color: var(--text);
}

.club-desc {
  color: var(--text-muted);
  font-size: 1.1rem;
  margin-bottom: 40px;
}

.club-input-wrap {
  display: flex;
  max-width: 500px;
  margin: 0 auto 24px;
  border: 1px solid var(--border);
  border-radius: 100px;
  overflow: hidden;
  background: var(--bg-secondary);
  transition: border-color 0.3s;
}

.club-input-wrap:focus-within {
  border-color: var(--accent-dark);
  box-shadow: 0 0 0 3px rgba(200, 255, 0, 0.15);
}

.club-input {
  flex: 1;
  background: transparent;
  border: none;
  padding: 16px 24px;
  color: var(--text);
  font-family: 'DM Sans', sans-serif;
  font-size: 1rem;
  outline: none;
}

.club-input::placeholder {
  color: var(--text-muted);
}

.club-btn {
  background: var(--accent);
  color: var(--bg-dark);
  border: none;
  padding: 16px 32px;
  font-family: 'Syne', sans-serif;
  font-weight: 700;
  font-size: 0.95rem;
  cursor: pointer;
  transition: all 0.3s;
  white-space: nowrap;
}

.club-btn:hover {
  background: var(--accent-dim);
}

.club-response {
  font-size: 1rem;
  color: var(--accent-dark);
  min-height: 28px;
  margin-bottom: 20px;
  font-weight: 500;
}

.member-count {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--text-muted);
  font-size: 0.9rem;
}

/* MARQUEE — light */
.marquee-section {
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  padding: 20px 0;
  overflow: hidden;
  background: var(--bg-secondary);
}

.marquee {
  overflow: hidden;
}

.marquee-inner {
  display: flex;
  gap: 40px;
  white-space: nowrap;
  animation: marquee 25s linear infinite;
  font-family: 'Syne', sans-serif;
  font-weight: 700;
  font-size: 1.1rem;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 3px;
}

.marquee-inner span {
  flex-shrink: 0;
}

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

/* SECTION HEADERS — light */
.section-header {
  text-align: center;
  margin-bottom: 64px;
}

.section-tag {
  display: inline-block;
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 3px;
  color: var(--accent-dark);
  margin-bottom: 12px;
  font-weight: 600;
}

.section-title {
  font-family: 'Syne', sans-serif;
  font-weight: 800;
  font-size: clamp(2.5rem, 5vw, 4rem);
  letter-spacing: -2px;
  color: var(--text);
}

/* PERKS — light */
.perks {
  padding: 120px 48px;
  max-width: 1200px;
  margin: 0 auto;
  background: var(--bg);
}

.perks-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.perk-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 40px 32px;
  transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
  overflow: hidden;
  transform-style: preserve-3d;
  perspective: 1000px;
}

.perk-card::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(200, 255, 0, 0.06) 0%, transparent 50%);
  opacity: 0;
  transition: opacity 0.4s;
}

.perk-card::after {
  content: '';
  position: absolute;
  inset: -1px;
  border-radius: var(--radius);
  background: linear-gradient(135deg, rgba(200, 255, 0, 0.4), transparent 40%, transparent 60%, rgba(200, 255, 0, 0.2));
  opacity: 0;
  transition: opacity 0.5s;
  z-index: -1;
  padding: 1px;
  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
}

.perk-card:hover {
  border-color: rgba(163, 204, 0, 0.3);
  background: var(--bg-card-hover);
  box-shadow:
    0 20px 60px rgba(0, 0, 0, 0.08),
    0 0 40px rgba(200, 255, 0, 0.04),
    inset 0 1px 0 rgba(255, 255, 255, 0.8);
}

.perk-card:hover::before {
  opacity: 1;
}

.perk-card:hover::after {
  opacity: 1;
}

.card-shine {
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    90deg,
    transparent,
    rgba(255, 255, 255, 0.4),
    transparent
  );
  transition: none;
  pointer-events: none;
}

.perk-card:hover .card-shine {
  left: 100%;
  transition: left 0.7s ease;
}

.perk-card.featured {
  border-color: rgba(163, 204, 0, 0.25);
  background: linear-gradient(135deg, rgba(200, 255, 0, 0.04) 0%, var(--bg-card) 100%);
}

.perk-icon-wrap {
  margin-bottom: 24px;
  position: relative;
  z-index: 1;
}

.perk-icon-inner {
  width: 56px;
  height: 56px;
  border-radius: 14px;
  background: linear-gradient(135deg, rgba(200, 255, 0, 0.15), rgba(200, 255, 0, 0.05));
  border: 1px solid rgba(163, 204, 0, 0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--accent-dark);
  transition: all 0.4s ease;
}

.perk-card:hover .perk-icon-inner {
  background: linear-gradient(135deg, rgba(200, 255, 0, 0.25), rgba(200, 255, 0, 0.08));
  border-color: rgba(163, 204, 0, 0.4);
  box-shadow: 0 0 24px rgba(200, 255, 0, 0.15);
  transform: translateZ(20px);
}

.perk-card h3 {
  font-family: 'Syne', sans-serif;
  font-weight: 700;
  font-size: 1.3rem;
  margin-bottom: 10px;
  position: relative;
  z-index: 1;
  color: var(--text);
}

.perk-card p {
  color: var(--text-muted);
  font-size: 0.95rem;
  line-height: 1.6;
  position: relative;
  z-index: 1;
}

/* QUOTES — light */
.quotes {
  padding: 120px 48px;
  max-width: 1200px;
  margin: 0 auto;
  background: var(--bg);
}

.quotes-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
}

.quote-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 40px 36px;
  transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  gap: 20px;
  transform-style: preserve-3d;
}

.quote-number {
  font-family: 'Syne', sans-serif;
  font-weight: 800;
  font-size: 3rem;
  color: rgba(17, 17, 19, 0.1);
  line-height: 1;
  letter-spacing: -2px;
  transition: color 0.4s;
}

.quote-card:hover .quote-number {
  color: rgba(17, 17, 19, 0.2);
}

.quote-glow {
  position: absolute;
  top: -50%;
  right: -50%;
  width: 200px;
  height: 200px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(200, 255, 0, 0.08), transparent 70%);
  opacity: 0;
  transition: opacity 0.5s;
  pointer-events: none;
}

.quote-card:hover .quote-glow {
  opacity: 1;
}

.quote-card:hover {
  border-color: var(--border-hover);
  transform: translateY(-4px);
  box-shadow:
    0 20px 50px rgba(0, 0, 0, 0.06),
    0 0 30px rgba(200, 255, 0, 0.03);
}

.quote-card.highlight {
  background: linear-gradient(135deg, rgba(200, 255, 0, 0.05), var(--bg-card));
  border-color: rgba(163, 204, 0, 0.2);
}

.quote-card.highlight:hover {
  border-color: rgba(163, 204, 0, 0.35);
}

.quote-card blockquote {
  font-size: 1.05rem;
  line-height: 1.75;
  color: var(--text-muted);
  font-style: italic;
  position: relative;
  padding-left: 20px;
  border-left: 2px solid rgba(74, 102, 0, 0.3);
  transition: color 0.3s;
}

.quote-card:hover blockquote {
  color: var(--text);
}

.quote-card.highlight blockquote {
  font-size: 1.2rem;
  color: var(--text);
  font-family: 'Syne', sans-serif;
  font-weight: 600;
  font-style: normal;
  letter-spacing: -0.5px;
  border-left-color: var(--accent-dark);
}

/* FOOTER — light */
.footer {
  border-top: 1px solid var(--border);
  padding: 40px 48px;
  background: var(--bg);
}

.footer-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
  max-width: 1200px;
  margin: 0 auto;
}

.footer-logo {
  font-family: 'Syne', sans-serif;
  font-weight: 800;
  font-size: 1.2rem;
  color: var(--text);
}

.footer-content p {
  color: var(--text-muted);
  font-size: 0.85rem;
}

/* ANIMATIONS */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes fadeInDown {
  from {
    opacity: 0;
    transform: translateY(-20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

[data-reveal] {
  opacity: 0;
  transform: translateY(40px);
  transition: all 0.7s cubic-bezier(0.4, 0, 0.2, 1);
}

[data-reveal].revealed {
  opacity: 1;
  transform: translateY(0);
}

/* RESPONSIVE */
@media (max-width: 900px) {
  .perks-grid {
    grid-template-columns: repeat(2, 1fr);
  }

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

  .nav {
    padding: 16px 24px;
  }

  .nav-links {
    display: none;
  }

  .perks,
  .quotes,
  .club {
    padding: 80px 24px;
  }

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

@media (max-width: 600px) {
  .perks-grid {
    grid-template-columns: 1fr;
  }

  .hero-title .line-2 {
    font-size: clamp(3rem, 15vw, 6rem);
  }

  .club-input-wrap {
    flex-direction: column;
    border-radius: var(--radius);
  }

  .club-btn {
    border-radius: 0;
  }
}
