/* Local Font: Jost */
@font-face {
  font-family: 'Jost';
  src: url('./fonts/Jost-VariableFont_wght.ttf') format('truetype');
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
}

:root {
  --bg: #050505;
  --text: #ffffff;
  --muted: rgba(255, 255, 255, .65);
  --muted2: rgba(255, 255, 255, .40);
  --red: #D14836;
  --green: #27ae60;
  --panel: rgba(255, 255, 255, .03);
  --stroke: rgba(255, 255, 255, .08);
  --shadow: 0 40px 100px rgba(0, 0, 0, .8);
}

* {
  box-sizing: border-box;
}

html,
body {
  height: 100%;
}

body {
  margin: 0;
  font-family: "Jost", system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
  background: var(--bg);
  color: var(--text);
  overflow-x: hidden;
}

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

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

#smooth-wrapper {
  position: relative;
}

#smooth-content {
  will-change: transform;
}

/* FILM GRAIN - Disabled for performance (causing stutter) */
/* .film-grain {
  position: fixed;
  inset: 0;
  z-index: 9999;
  pointer-events: none;
  opacity: 0.05;
  background-image: url("...noise...");
} */

/* ---------- Shared Sections ---------- */
.hero-section,
.team-section {
  height: 100vh;
  width: 100%;
  overflow: hidden;
  position: relative;
}

.strategy-scroll-container {
  width: 100%;
  height: 100vh;
  overflow: hidden;
  position: relative;
}

/* ---------- Topbar ---------- */
.hero-topbar {
  position: absolute;
  top: 24px;
  left: 24px;
  right: 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  z-index: 5;
  pointer-events: none;
}

.brand-logo {
  height: 60px;
  /* Increased from 40px */
  width: auto;
  /* Maintain aspect ratio */
  object-fit: contain;
  /* Prevent distortion */
  opacity: 1;
  pointer-events: auto;
  filter: drop-shadow(0 0 10px rgba(255, 255, 255, .2)) brightness(0.85);
  /* Subtle dimming for white logo */
  max-width: 250px;
  /* Ensure wide logo fits */
}

.cta {
  pointer-events: auto;
  background: var(--red);
  color: #fff;
  padding: 14px 20px;
  border-radius: 2px;
  font-weight: 600;
  font-size: 13px;
  letter-spacing: .08em;
  text-transform: uppercase;
  box-shadow: 0 20px 50px rgba(209, 72, 54, .3);
  transform: translateZ(0);
  transition: transform .3s ease, filter .3s ease;
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.cta-secondary {
  pointer-events: auto;
  background: transparent;
  color: rgba(255, 255, 255, .8);
  border: 1px solid rgba(255, 255, 255, .2);
  padding: 13px 20px;
  /* Aligns with cta */
  margin-right: 12px;
  border-radius: 2px;
  font-weight: 600;
  font-size: 13px;
  letter-spacing: .08em;
  text-transform: uppercase;
  transform: translateZ(0);
  transition: all .3s ease;
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.cta-secondary:hover {
  background: rgba(39, 174, 96, .1);
  border-color: var(--green);
  color: var(--green);
}

.cta:hover {
  filter: brightness(1.1);
  transform: translateY(-2px);
}

/* ---------- HERO ---------- */
.hero-bg {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(1400px 900px at 50% 30%, rgba(209, 72, 54, .08), transparent 60%),
    linear-gradient(to bottom, rgba(0, 0, 0, .45), rgba(0, 0, 0, .95));
  z-index: 1;
}

/* Replaced via direct CSS since we dropped JS injection for BG */
.hero-bg::before {
  content: "";
  position: absolute;
  inset: -40px;
  background-image: url("./assets/nyse_bg.png");
  background-position: center;
  background-size: cover;
  background-repeat: no-repeat;
  filter: grayscale(1) contrast(1.15) brightness(.6);
  transform: scale(1.05);
  opacity: .4;
  will-change: transform;
  z-index: -1;
}

.hero-stage {
  position: relative;
  z-index: 3;
  height: 100%;
  display: grid;
  place-items: center;
  padding: 64px 20px 40px;
}

.hero-copy {
  width: min(1200px, 92vw);
  text-align: center;
}

.kicker {
  font-weight: 500;
  letter-spacing: .35em;
  text-transform: uppercase;
  color: var(--muted2);
  font-size: 11px;
  margin-bottom: 24px;
}

.hero-text {
  margin: 0;
  line-height: .8;
  letter-spacing: -0.04em;
  font-weight: 800;
  text-transform: uppercase;
  font-size: clamp(80px, 14vw, 220px);
  text-shadow: 0 40px 100px rgba(0, 0, 0, .8);
  transform-origin: 50% 50%;
  will-change: transform, opacity;
}

.hero-sub {
  display: block;
  font-size: clamp(14px, 1.8vw, 32px);
  letter-spacing: .45em;
  font-weight: 400;
  color: rgba(255, 255, 255, .6);
  margin-top: 12px;
  text-align: center;
  width: 100%;
}

.hero-lead {
  margin: 32px auto 0;
  width: min(600px, 90vw);
  font-size: clamp(16px, 1.4vw, 18px);
  color: var(--muted);
  font-weight: 300;
  line-height: 1.6;
}

.hero-portal {
  position: absolute;
  width: min(80vmin, 700px);
  aspect-ratio: 1/1;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, .05);
  box-shadow:
    0 0 0 1px rgba(0, 0, 0, .6) inset,
    0 40px 200px rgba(0, 0, 0, .8);
  opacity: .3;
  transform: translateY(20px);
  backdrop-filter: blur(4px);
  pointer-events: none;
}

/* Scroll hint */
.scroll-hint {
  position: absolute;
  left: 50%;
  bottom: 32px;
  transform: translateX(-50%);
  z-index: 4;
  opacity: .5;
  display: grid;
  justify-items: center;
  gap: 12px;
}

.scroll-hint .dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #fff;
}

.scroll-hint .line {
  width: 1px;
  height: 40px;
  background: linear-gradient(to bottom, rgba(255, 255, 255, .1), rgba(255, 255, 255, .4));
}

/* ---------- STRATEGY HORIZONTAL ---------- */
.strategy-track {
  display: flex;
  width: 300vw;
  height: 100%;
}

.strategy-panel {
  width: 100vw;
  height: 100vh;
  position: relative;
  display: grid;
  place-items: center;
  padding: 40px 22px;
  background:
    radial-gradient(1000px 600px at 15% 45%, rgba(209, 72, 54, .08), transparent 60%),
    radial-gradient(1000px 600px at 85% 55%, rgba(255, 255, 255, .04), transparent 60%),
    linear-gradient(to bottom, rgba(255, 255, 255, .02), rgba(0, 0, 0, .0));
}

.panel-inner {
  width: min(1200px, 92vw);
  display: grid;
  gap: 24px;
  align-content: center;
}

.panel-eyebrow {
  letter-spacing: .25em;
  text-transform: uppercase;
  color: var(--muted2);
  font-weight: 600;
  font-size: 11px;
}

.panel-title {
  margin: 0;
  font-size: clamp(42px, 7vw, 100px);
  line-height: .9;
  letter-spacing: -0.03em;
  text-transform: uppercase;
  font-weight: 700;
}

.big-number {
  color: var(--red);
  font-weight: 800;
  text-shadow: 0 0 60px rgba(209, 72, 54, .3);
}

.red {
  color: var(--red);
}

.panel-text {
  margin: 0;
  color: var(--muted);
  font-size: clamp(18px, 1.8vw, 22px);
  max-width: 58ch;
  line-height: 1.5;
  font-weight: 300;
}

.panel-media {
  position: relative;
  margin-top: 24px;
  border-radius: 4px;
  background: rgba(10, 10, 10, .6);
  border: 1px solid var(--stroke);
  box-shadow: var(--shadow);
  overflow: hidden;
  min-height: clamp(300px, 40vh, 500px);
  /* Reduced size for strategy panels */
  max-width: 70%;
  margin-left: auto;
  margin-right: auto;
}

.panel-media::after {
  content: "";
  position: absolute;
  inset: 0;
  box-shadow: inset 0 0 100px rgba(0, 0, 0, .5);
  pointer-events: none;
}

.panel-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: contrast(1.1) saturate(0) sepia(0.2) brightness(0.9);
  /* Cinematic desaturated look */
  transform: scale(1.05);
  opacity: 0.8;
}

.panel-cta-row {
  display: flex;
  gap: 16px;
  align-items: center;
  margin-top: 16px;
  justify-content: center;
  /* Center buttons below reduced image */
}

.ghost {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 24px;
  border-radius: 2px;
  border: 1px solid rgba(255, 255, 255, .2);
  color: rgba(255, 255, 255, .8);
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: .08em;
  background: transparent;
  transition: all .3s ease;
}

.ghost:hover {
  background: rgba(255, 255, 255, .05);
  border-color: rgba(255, 255, 255, .4);
}

/* Floating “candlestick-like” blocks */
.floating {
  position: absolute;
  width: 2px;
  /* Thinner lines */
  height: 100px;
  background: linear-gradient(to bottom, rgba(209, 72, 54, .8), rgba(255, 255, 255, .0));
  opacity: .6;
  mix-blend-mode: screen;
  filter: blur(0px);
  transform: translateZ(0);
}

/* Boxes attached to lines */
.floating::after {
  content: "";
  position: absolute;
  left: 50%;
  top: 20%;
  transform: translateX(-50%);
  width: 14px;
  height: 40px;
  background: rgba(209, 72, 54, .4);
  border: 1px solid rgba(209, 72, 54, .8);
  box-shadow: 0 0 20px rgba(209, 72, 54, .2);
}

/* Candle Parts */

/* Floating elements (kept for panels 2 & 3) */
.floating-4 {
  left: 16%;
  top: 62%;
  height: 180px;
}

.floating-5 {
  left: 48%;
  top: 22%;
  height: 140px;
}

.floating-6 {
  left: 80%;
  top: 58%;
  height: 240px;
}

.floating-7 {
  left: 18%;
  top: 22%;
  height: 190px;
}

.floating-8 {
  left: 78%;
  top: 58%;
  height: 160px;
}

/* Slab card on panel 3 */
.panel-slab {
  padding: 40px;
  min-height: clamp(300px, 40vh, 500px);
  display: grid;
  align-content: center;
  gap: 24px;
  background:
    radial-gradient(800px 400px at 30% 30%, rgba(209, 72, 54, .08), transparent 60%),
    linear-gradient(to bottom, rgba(255, 255, 255, .02), rgba(0, 0, 0, .3));
}

.slab-title {
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: .15em;
  color: rgba(255, 255, 255, .7);
  font-size: 12px;
}

.slab-list {
  display: grid;
  gap: 16px;
}

.slab-item {
  display: flex;
  gap: 16px;
  align-items: center;
  padding: 16px 20px;
  border-radius: 4px;
  /* Sharper */
  border: 1px solid rgba(255, 255, 255, .08);
  background: rgba(0, 0, 0, .4);
  color: rgba(255, 255, 255, .8);
  font-weight: 400;
  font-size: 18px;
  backdrop-filter: blur(4px);
}

.badge {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: rgba(209, 72, 54, .2);
  border: 1px solid rgba(209, 72, 54, .4);
  color: #fff;
  font-size: 12px;
  font-weight: 600;
}

/* ---------- TEAM ---------- */
.team-bg {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(1200px 800px at 50% 45%, rgba(255, 255, 255, .03), transparent 60%),
    linear-gradient(to bottom, rgba(0, 0, 0, .5), rgba(0, 0, 0, 1));
}

.team-bg::before {
  content: "";
  position: absolute;
  inset: -40px;
  background-image: url("./assets/nyse_bg.png");
  background-position: center;
  background-size: cover;
  background-repeat: no-repeat;
  filter: grayscale(1) contrast(1.2) brightness(.4);
  opacity: .3;
  transform: scale(1.06);
  will-change: transform;
}

.team-center {
  position: relative;
  z-index: 3;
  min-height: 70vh;
  /* Reduced from 100% to avoid forcing huge gaps */
  display: grid;
  place-items: center;
  padding: 40px 20px;
}

.team-quote {
  width: min(800px, 92vw);
  text-align: center;
  /* Glass panel effect */
  background: rgba(255, 255, 255, .01);
  border: 1px solid rgba(255, 255, 255, .06);
  backdrop-filter: blur(8px);
  padding: 48px 32px;
}

.team-kicker {
  letter-spacing: .25em;
  text-transform: uppercase;
  color: var(--muted2);
  font-weight: 600;
  font-size: 11px;
  margin-bottom: 16px;
}

.team-title {
  margin: 0;
  font-size: clamp(40px, 6vw, 90px);
  line-height: .9;
  text-transform: uppercase;
  font-weight: 800;
  letter-spacing: -0.02em;
}

.team-text {
  margin: 24px auto 32px;
  color: var(--muted);
  font-size: clamp(18px, 1.8vw, 24px);
  max-width: 60ch;
  font-weight: 300;
}

.team-foreground {
  position: absolute;
  inset: 0;
  z-index: 4;
  pointer-events: none;
}

.strategy-image {
  width: 100%;
  height: 240px;
  /* Enforce consistent height */
  object-fit: cover;
  /* Crop to fit */
  border-radius: 4px;
  margin-bottom: 24px;
  border: 1px solid rgba(255, 255, 255, .1);
  filter: grayscale(1) contrast(1.1);
  transition: all .5s ease;
}

.team-photo {
  position: absolute;
  width: min(29vmin, 340px);
  /* Reduced by ~10% from 32vmin/380px */
  height: auto;
  border-radius: 4px;
  border: 1px solid rgba(255, 255, 255, .15);
  box-shadow: 0 40px 120px rgba(0, 0, 0, .9);
  opacity: 0;
  /* Start hidden for animation reveal maybe? or kept visible but subtle */
  opacity: 1;
  will-change: transform;
  filter: grayscale(1) contrast(1.1);
}

.team-photo-michael {
  left: 2vw;
  /* Pushed further left */
  top: 30vh;
  transform: rotate(-3deg);
}

.team-photo-matthias {
  right: 2vw;
  /* Pushed further right */
  bottom: 30vh;
  transform: rotate(3deg);
}

/* ---------- FOOTER ---------- */
.footer {
  position: relative;
  /* Changed from absolute to relative */
  padding: 60px 24px 40px;
  z-index: 5;
  display: flex;
  flex-direction: column;
  /* Stack vertically */
  align-items: center;
  /* Center horizontally */
  justify-content: center;
  gap: 16px;
  /* Space between rows */
  color: rgba(255, 255, 255, .3);
  font-size: 14px;
  letter-spacing: .05em;
  text-transform: uppercase;
  background: var(--bg);
  pointer-events: none;
  /* Allow clicking through container */
}

.footer-links {
  display: flex;
  gap: 24px;
  pointer-events: auto;
  /* Enable clicking links */
}

.social-links {
  display: flex;
  gap: 16px;
  align-items: center;
  pointer-events: auto;
  /* Enable clicking icons */
}

.social-icon {
  color: rgba(255, 255, 255, .5);
  transition: all .3s ease;
  display: flex;
  align-items: center;
  justify-content: center;
}

.social-icon:hover {
  color: #fff;
  transform: translateY(-2px);
  filter: drop-shadow(0 0 8px rgba(255, 255, 255, .4));
}

.footer-copyright {
  font-size: 11px;
  color: var(--muted2);
  margin-top: 8px;
}

.footer-link {
  color: rgba(255, 255, 255, .5);
  text-decoration: none;
  transition: color .3s ease;
}

.footer-link:hover {
  color: #fff;
}

.footer-left {
  position: absolute;
  right: 0;
  /* OnlyTraders copy moved to far right */
  top: 50%;
  transform: translateY(-50%);
}

.footer-right {
  display: flex;
  gap: 24px;
}

.footer-link {
  color: rgba(255, 255, 255, .5);
}

.footer-link:hover {
  color: #fff;
}

@media (max-width: 760px) {
  .footer {
    flex-direction: column;
    gap: 16px;
    right: 24px;
  }

  .footer-left {
    position: relative;
    right: auto;
    transform: none;
    order: 2;
  }

  .footer-right {
    order: 1;
  }

  .team-photo {
    width: min(40vmin, 300px);
  }

  .team-photo-michael {
    left: 5vw;
    top: 15vh;
  }

  .team-photo-matthias {
    right: 5vw;
    bottom: 12vh;
  }

  .hero-text {
    font-size: 14vw;
  }

  /* Adjustment for mobile */
}

/* ---------- NEWSLETTER FORM ---------- */
.newsletter-section {
  position: relative;
  padding: 120px 24px;
  background: radial-gradient(circle at 50% 50%, rgba(255, 255, 255, .03), transparent 60%);
  z-index: 3;
}

.newsletter-form-container {
  max-width: 600px;
  margin: 0 auto;
  text-align: center;
}

.form-group {
  margin-bottom: 24px;
  text-align: left;
}

.form-label {
  display: block;
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: .1em;
  color: var(--muted);
  margin-bottom: 8px;
}

.cinematic-input {
  width: 100%;
  background: rgba(0, 0, 0, .4);
  border: 1px solid rgba(255, 255, 255, .1);
  border-left: 2px solid var(--red);
  padding: 16px 20px;
  color: #fff;
  font-family: inherit;
  font-size: 16px;
  transition: all .3s ease;
  outline: none;
}

.cinematic-input:focus {
  background: rgba(0, 0, 0, .6);
  border-color: rgba(255, 255, 255, .3);
  box-shadow: 0 0 30px rgba(209, 72, 54, .1);
}

.checkbox-group {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 32px;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.4;
  text-align: left;
}

.cinematic-checkbox {
  appearance: none;
  width: 20px;
  height: 20px;
  border: 1px solid rgba(255, 255, 255, .2);
  background: transparent;
  cursor: pointer;
  position: relative;
  flex-shrink: 0;
}

.cinematic-checkbox:checked {
  background: #27ae60;
  /* Green tone requested */
  border-color: #27ae60;
  box-shadow: 0 0 10px rgba(39, 174, 96, .4);
}

.cinematic-checkbox:checked::after {
  content: "✔";
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  color: #fff;
  font-size: 12px;
}

/* ---------- MEMBERSHIP & OFFER ---------- */
.membership-section,
.faq-section {
  position: relative;
  background: var(--bg);
  padding: 120px 24px;
  z-index: 2;
}

.faq-section {
  padding-bottom: 40px;
  /* Reduced from 120px to minimize gap to Team section */
}

.content-limit {
  max-width: 1200px;
  margin: 0 auto;
}

.section-header {
  margin-bottom: 60px;
}

.section-header.center {
  text-align: center;
}

.eyebrow {
  color: var(--red);
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: .25em;
  font-weight: 700;
  margin-bottom: 16px;
  display: block;
}

.section-title {
  font-size: clamp(32px, 5vw, 64px);
  text-transform: uppercase;
  font-weight: 800;
  margin: 0;
  line-height: 1;
}

.pricing-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 32px;
  align-items: start;
}

.pricing-card {
  background: rgba(255, 255, 255, .02);
  border: 1px solid var(--stroke);
  padding: 40px;
  border-radius: 4px;
  position: relative;
  transition: transform .3s ease;
}

.pricing-card:hover {
  transform: translateY(-5px);
  background: rgba(255, 255, 255, .04);
}

.ghost-card {
  border-color: rgba(255, 255, 255, .1);
}

.glow-card {
  border-color: rgba(209, 72, 54, .5);
  box-shadow: 0 20px 80px rgba(0, 0, 0, .5);
  background: linear-gradient(to bottom, rgba(209, 72, 54, .05), rgba(0, 0, 0, 0));
}

.badge-overlay {
  position: absolute;
  top: -12px;
  right: 24px;
  background: var(--red);
  color: #fff;
  font-size: 10px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .1em;
  padding: 6px 12px;
  border-radius: 2px;
}

.card-title {
  font-size: 24px;
  font-weight: 700;
  text-transform: uppercase;
  margin: 0 0 16px;
}

.price {
  font-size: 48px;
  font-weight: 800;
  color: #fff;
  line-height: 1;
  margin-bottom: 8px;
}

.period {
  font-size: 13px;
  color: var(--muted);
}

.benefit-list {
  list-style: none;
  padding: 0;
  margin: 40px 0;
  display: grid;
  gap: 16px;
}

.benefit-list li {
  font-size: 15px;
  color: var(--muted);
  display: flex;
  gap: 12px;
  line-height: 1.4;
}

.check {
  color: var(--red);
  font-weight: 700;
}

.cta-outline {
  display: block;
  text-align: center;
  border: 1px solid rgba(255, 255, 255, .3);
  padding: 14px;
  color: #fff;
  text-transform: uppercase;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: .1em;
  transition: all .3s;
}

.cta-outline:hover {
  border-color: #fff;
  background: rgba(255, 255, 255, .05);
}

.full-width {
  width: 100%;
}

/* ---------- FAQ ---------- */
.faq-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
  gap: 40px 60px;
}

.faq-q {
  color: #fff;
  font-size: 18px;
  margin: 0 0 16px;
  font-weight: 600;
}

.faq-a {
  color: var(--muted);
  font-size: 15px;
  line-height: 1.6;
  margin: 0;
}

@media (max-width: 768px) {
  .section-title {
    font-size: 42px;
  }

  .faq-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }
}

/* ---------- LIMITED SPOTS SECTION ---------- */
.limited-section {
  padding: 80px 24px;
  background: linear-gradient(to bottom, rgba(0, 0, 0, .6), var(--bg));
  text-align: center;
}

.limit-content {
  max-width: 600px;
  margin: 40px auto 0;
}

.limit-question {
  font-size: clamp(20px, 2.5vw, 28px);
  font-weight: 700;
  color: #fff;
  margin-bottom: 16px;
}

.limit-answer {
  color: var(--muted);
  font-size: 18px;
  line-height: 1.6;
  margin-bottom: 12px;
}

/* ---------- WAITLIST CTA SECTION ---------- */
.waitlist-cta-section {
  padding: 100px 24px;
  background: linear-gradient(to bottom, var(--bg), rgba(209, 72, 54, .08));
  text-align: center;
}

.waitlist-cta-text {
  color: var(--muted);
  font-size: 18px;
  max-width: 500px;
  margin: 16px auto 32px;
  line-height: 1.6;
}


/* ---------- LEGAL PAGES ---------- */
.legal-page {
  padding-top: 140px;
  padding-bottom: 80px;
  min-height: 100vh;
  background: var(--bg);
  position: relative;
  z-index: 2;
}

.legal-content {
  max-width: 800px;
  margin: 0 auto;
  padding: 0 24px;
}

.legal-content h1 {
  font-size: clamp(32px, 5vw, 48px);
  margin-bottom: 40px;
  text-transform: uppercase;
  font-weight: 800;
  color: #fff;
}

.legal-content h2 {
  font-size: 20px;
  margin-top: 40px;
  margin-bottom: 16px;
  color: #fff;
  text-transform: uppercase;
  letter-spacing: .05em;
}

.legal-content p,
.legal-content ul,
.legal-content li {
  color: var(--muted);
  line-height: 1.6;
  margin-bottom: 16px;
  font-size: 16px;
}

.legal-content strong {
  color: #fff;
}

.legal-content a {
  color: #fff;
  text-decoration: underline;
  text-decoration-color: var(--red);
}

/* ---------- LOGIN MODAL ---------- */
.modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, .85);
  backdrop-filter: blur(8px);
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
}

.modal-content {
  background: rgba(20, 20, 20, .98);
  border: 1px solid rgba(255, 255, 255, .1);
  border-radius: 12px;
  padding: 48px 40px;
  max-width: 420px;
  width: 100%;
  position: relative;
  box-shadow: 0 40px 100px rgba(0, 0, 0, .8);
}

.modal-close {
  position: absolute;
  top: 16px;
  right: 16px;
  background: none;
  border: none;
  color: rgba(255, 255, 255, .5);
  font-size: 28px;
  cursor: pointer;
  transition: color .3s ease;
  line-height: 1;
}

.modal-close:hover {
  color: #fff;
}

.modal-title {
  font-size: 28px;
  font-weight: 800;
  text-transform: uppercase;
  margin-bottom: 8px;
  text-align: center;
  color: #fff;
}

.modal-subtitle {
  color: var(--muted);
  text-align: center;
  margin-bottom: 32px;
  font-size: 15px;
}

.login-form .form-group {
  margin-bottom: 20px;
}

.modal-footer-text {
  text-align: center;
  margin-top: 24px;
  font-size: 14px;
  color: var(--muted);
}

.modal-footer-text a {
  color: var(--red);
  text-decoration: none;
}

.modal-footer-text a:hover {
  text-decoration: underline;
}