:root {
  --bg-deep: #0f1430;
  --bg-mid: #18204a;
  --gold: #dba77b;
  --gold-soft: #f0dcc6;
  --gold-deep: #a47854;
  --ink: #101018;
  --text-main: #f6f7fb;
  --text-soft: #c8d1ea;
  --line: rgba(255, 255, 255, 0.14);
  --panel: rgba(18, 24, 52, 0.72);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  font-family: "Manrope", "Segoe UI", sans-serif;
  color: var(--text-main);
  background:
    radial-gradient(circle at 8% 12%, rgba(215, 167, 122, 0.18), transparent 34%),
    radial-gradient(circle at 92% 84%, rgba(146, 170, 255, 0.12), transparent 36%),
    linear-gradient(145deg, #090f22 0%, #111a3a 48%, #0d1430 100%);
}

@media (min-width: 768px) and (min-height: 600px) {
  html {
    scroll-snap-type: y mandatory;
  }
  
  .hero,
  .problem-block,
  .agenda-block,
  .speakers-block,
  .audience-block,
  .register-block {
    scroll-snap-align: start;
    scroll-snap-stop: always;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    box-sizing: border-box;
  }
  
  .footer {
    scroll-snap-align: end;
  }
}

.hero {
  position: relative;
  overflow: hidden;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  padding: 28px clamp(24px, 4vw, 72px) clamp(32px, 5vw, 56px);
}

.hero-bg {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(118deg, rgba(215, 167, 122, 0.12), transparent 48%),
    repeating-linear-gradient(
      -22deg,
      rgba(255, 255, 255, 0.02) 0,
      rgba(255, 255, 255, 0.02) 1px,
      transparent 1px,
      transparent 22px
    );
  background-size: auto, 44px 44px;
  animation: move-pattern 40s linear infinite;
  -webkit-mask-image: linear-gradient(to bottom, rgba(0, 0, 0, 1) 50%, rgba(0, 0, 0, 0) 100%);
  mask-image: linear-gradient(to bottom, rgba(0, 0, 0, 1) 50%, rgba(0, 0, 0, 0) 100%);
  pointer-events: none;
}

@keyframes move-pattern {
  0% {
    background-position: 0 0, 0 0;
  }
  100% {
    background-position: 0 0, 44px 44px;
  }
}

.hero-shell {
  position: relative;
  flex: 1;
  display: flex;
  flex-direction: column;
  width: 100%;
  max-width: 1360px;
  margin: 0 auto;
}

.hero-topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: clamp(26px, 6vh, 54px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0;
  color: var(--text-main);
  text-decoration: none;
}

.brand-mark {
  width: 44px;
  height: 44px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: linear-gradient(165deg, var(--gold-soft), var(--gold));
  overflow: hidden;
}

.brand-logo {
  display: block;
  width: auto;
  height: 44px;
  max-width: 210px;
  object-fit: contain;
  object-position: left center;
  flex-shrink: 0;
}

.brand-mark--image {
  width: 172px;
  height: 44px;
  border-radius: 0;
  background: transparent;
}

.brand-mark--image img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: contain;
  object-position: left center;
}

.brand-text {
  font-size: 15px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-soft);
}

.brand-mark--image + .brand-text {
  display: none;
}

.top-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 10px 24px;
  color: var(--gold-soft);
  text-decoration: none;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  border: 1px solid rgba(216, 185, 143, 0.4);
  border-radius: 999px;
  background: rgba(24, 32, 74, 0.28);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  transition: all 240ms cubic-bezier(0.25, 0.8, 0.25, 1);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.top-cta:hover {
  color: var(--ink);
  background: linear-gradient(91.02deg, rgb(219, 167, 123) 0.12%, rgb(164, 120, 84) 100.12%);
  border-color: transparent;
  transform: translateY(-2px);
  box-shadow: 0 8px 22px rgba(216, 185, 143, 0.3);
}

.hero-grid {
  flex: 1;
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: clamp(26px, 4vw, 64px);
  align-items: center;
}

.eyebrow {
  margin: 0 0 14px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  font-size: 12px;
  color: var(--gold);
}

h1 {
  margin: 0;
  font-family: "Fraunces", Georgia, serif;
  font-size: clamp(42px, 5vw, 74px);
  line-height: 0.96;
  max-width: 12ch;
  text-wrap: balance;
}

.subtitle {
  margin: clamp(16px, 2vw, 24px) 0 0;
  max-width: 60ch;
  font-size: clamp(17px, 1.6vw, 21px);
  line-height: 1.45;
  color: var(--text-soft);
}

.meta-row {
  margin-top: clamp(22px, 2.6vw, 30px);
  display: flex;
  flex-wrap: wrap;
  gap: clamp(18px, 3vw, 36px);
}

.meta-pill {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 4px 0;
}

.meta-pill > div {
  display: flex;
  flex-direction: column;
  line-height: 1.2;
}

.meta-icon {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border-radius: 12px;
  color: var(--gold);
  background: rgba(216, 185, 143, 0.1);
  flex-shrink: 0;
}

.meta-icon svg {
  width: 22px;
  height: 22px;
  display: block;
}

.meta-pill > div > span {
  display: block;
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: #9eb2cf;
}

.meta-pill strong {
  display: block;
  margin-top: 4px;
  font-size: 15px;
  font-weight: 600;
}

.hero-actions {
  margin-top: clamp(26px, 3vw, 34px);
  display: flex;
  align-items: center;
  gap: 18px;
  flex-wrap: wrap;
}

.primary-cta {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  color: var(--ink);
  background: linear-gradient(91.02deg, rgb(219, 167, 123) 0.12%, rgb(164, 120, 84) 100.12%);
  font-weight: 800;
  letter-spacing: 0.02em;
  border-radius: 999px;
  padding: 15px 24px;
  transition: transform 220ms ease, box-shadow 220ms ease;
  box-shadow: 0 12px 28px rgba(210, 177, 136, 0.28);
}

.primary-cta svg {
  width: 18px;
  height: 18px;
  transition: transform 220ms ease;
}

.primary-cta:hover {
  transform: translateY(-2px);
  box-shadow: 0 16px 34px rgba(210, 177, 136, 0.35);
}

.primary-cta:hover svg {
  transform: translateX(4px);
}

.cta-note {
  margin: 0;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--text-soft);
  font-size: 14px;
}

.cta-note svg {
  width: 16px;
  height: 16px;
  color: var(--gold);
}

.hero-visual {
  justify-self: stretch;
}

.stock-card {
  position: relative;
  margin: 0 0 0 auto;
  width: min(100%, 540px);
  overflow: hidden;
  border-radius: 24px;
}

.stock-image {
  width: 100%;
  height: clamp(420px, 68vh, 660px);
  object-fit: cover;
  display: block;
}

.stock-caption {
  position: absolute;
  left: 18px;
  bottom: 16px;
  margin: 0;
  font-size: 13px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-main);
  text-shadow: 0 2px 12px rgba(0, 0, 0, 0.55);
}

.anchor-placeholder {
  height: 1px;
}

.audience-block {
  padding: clamp(60px, 9vw, 130px) clamp(24px, 4vw, 72px);
  position: relative;
  overflow: hidden;
}

.audience-shell {
  max-width: 1180px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: clamp(36px, 5vw, 64px);
}

.audience-head {
  text-align: center;
  max-width: 720px;
  margin: 0 auto;
}

.audience-head h2 {
  margin: 0;
  font-family: "Fraunces", Georgia, serif;
  font-weight: 500;
  font-size: clamp(38px, 5vw, 72px);
  line-height: 1.02;
  letter-spacing: -0.01em;
}

.audience-grid {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: clamp(32px, 5vw, 72px);
  align-items: center;
}

/* Investor physical card styling */
.investor-card-wrap {
  perspective: 1200px;
  display: flex;
  justify-content: center;
}

.investor-card {
  position: relative;
  width: 100%;
  max-width: 500px;
  aspect-ratio: 1.586 / 1;
  background: linear-gradient(135deg, rgba(29, 41, 64, 0.45) 0%, rgba(18, 26, 42, 0.75) 100%);
  border: 1px solid rgba(216, 185, 143, 0.28);
  border-radius: 28px;
  padding: clamp(28px, 3.2vw, 40px);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  box-shadow: 
    0 40px 80px rgba(0, 0, 0, 0.5),
    inset 0 1px 0 rgba(255, 255, 255, 0.1),
    0 0 60px rgba(216, 185, 143, 0.05);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  transition: transform 300ms cubic-bezier(0.25, 0.8, 0.25, 1), box-shadow 300ms ease, border-color 300ms ease;
  transform-style: preserve-3d;
  overflow: hidden;
}

.investor-card:hover {
  transform: translateY(-6px) rotateX(4deg) rotateY(-4deg);
  border-color: rgba(216, 185, 143, 0.65);
  box-shadow: 
    0 50px 100px rgba(0, 0, 0, 0.65),
    inset 0 1px 0 rgba(255, 255, 255, 0.15),
    0 0 70px rgba(216, 185, 143, 0.15);
}

.card-glow {
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at var(--mouse-x, 50%) var(--mouse-y, 50%), rgba(216, 185, 143, 0.15) 0%, transparent 60%);
  opacity: 0;
  transition: opacity 300ms ease;
  pointer-events: none;
}

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

.card-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.card-brand {
  font-size: 13px;
  letter-spacing: 0.18em;
  font-weight: 700;
  color: var(--gold);
}

.card-chip {
  width: 54px;
  height: 40px;
  background: linear-gradient(135deg, #dfc095 0%, #a88755 100%);
  border-radius: 8px;
  position: relative;
  opacity: 0.85;
}

.card-chip::after {
  content: "";
  position: absolute;
  inset: 7px;
  border: 1px solid rgba(0, 0, 0, 0.15);
  border-radius: 5px;
}

.card-body {
  margin: 22px 0;
}

.card-label {
  margin: 0;
  font-size: 14px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--text-soft);
  opacity: 0.8;
}

.card-value {
  margin: 6px 0 0;
  font-family: "Fraunces", Georgia, serif;
  font-size: clamp(46px, 5vw, 64px);
  font-weight: 700;
  line-height: 1;
  letter-spacing: -0.01em;
  background: linear-gradient(91.02deg, rgb(219, 167, 123) 0.12%, rgb(164, 120, 84) 100.12%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.card-footer {
  display: flex;
  justify-content: space-between;
  font-size: 12px;
  letter-spacing: 0.12em;
  color: var(--text-soft);
  opacity: 0.65;
}

/* Audience list items styling */
.audience-list {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.audience-card {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 20px;
  align-items: start;
  padding: 24px;
  border-radius: 16px;
  background: rgba(29, 41, 64, 0.25);
  border: 1px solid rgba(255, 255, 255, 0.05);
  transition: transform 260ms ease, background 260ms ease, border-color 260ms ease;
}

.audience-card:hover {
  transform: translateX(6px);
  background: rgba(29, 41, 64, 0.45);
  border-color: rgba(216, 185, 143, 0.25);
}

.audience-icon {
  display: grid;
  place-items: center;
  width: 48px;
  height: 48px;
  border-radius: 12px;
  background: rgba(216, 185, 143, 0.1);
  color: var(--gold);
  flex-shrink: 0;
}

.audience-icon svg {
  width: 22px;
  height: 22px;
}

.audience-info h3 {
  margin: 0 0 6px;
  font-family: "Fraunces", Georgia, serif;
  font-weight: 500;
  font-size: clamp(18px, 2vw, 22px);
  color: var(--gold-soft);
}

.audience-info p {
  margin: 0;
  font-size: 15px;
  line-height: 1.5;
  color: var(--text-soft);
}

@media (max-width: 960px) {
  .audience-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }
}

.agenda-block {
  padding: clamp(40px, 7vw, 100px) clamp(24px, 4vw, 72px) clamp(60px, 9vw, 120px);
}

.agenda-shell {
  max-width: 1180px;
  margin: 0 auto;
}

.agenda-head {
  text-align: center;
  max-width: 720px;
  margin: 0 auto clamp(36px, 5vw, 64px);
}

.section-kicker {
  margin: 0 0 14px;
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.22em;
  color: var(--gold);
}

.agenda-head h2 {
  margin: 0;
  font-family: "Fraunces", Georgia, serif;
  font-weight: 500;
  font-size: clamp(40px, 5vw, 72px);
  line-height: 1.02;
  letter-spacing: -0.01em;
}

.agenda-grid {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: clamp(20px, 2.6vw, 36px);
}

.agenda-item {
  position: relative;
  display: grid;
  grid-template-columns: auto 1fr;
  align-items: start;
  gap: clamp(18px, 2vw, 26px);
  padding: clamp(20px, 2.4vw, 28px) 0;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  transition: border-color 320ms ease;
}

.agenda-item:hover {
  border-top-color: rgba(216, 185, 143, 0.55);
}

.agenda-item--wide {
  grid-column: 1 / -1;
  justify-content: center;
  grid-template-columns: auto auto;
}

.agenda-item--wide p {
  max-width: 60ch;
}

.agenda-num {
  font-family: "Fraunces", Georgia, serif;
  font-weight: 500;
  font-size: clamp(34px, 3.6vw, 52px);
  line-height: 1;
  color: var(--gold);
  letter-spacing: -0.02em;
}

.agenda-item p {
  margin: 0;
  font-size: clamp(17px, 1.5vw, 21px);
  line-height: 1.4;
  color: var(--text-main);
  font-weight: 500;
  max-width: 45ch;
}

.agenda-item--wide p {
  max-width: none;
}

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

  .agenda-item--wide {
    grid-column: auto;
  }
}

.speakers-block {
  padding: clamp(60px, 8vh, 120px) clamp(24px, 4vw, 72px);
  position: relative;
  overflow: hidden;
  background: 
    radial-gradient(circle at 20% 30%, rgba(215, 167, 122, 0.06), transparent 45%),
    radial-gradient(circle at 80% 70%, rgba(25, 34, 78, 0.42), transparent 50%);
}

.speakers-shell {
  max-width: 1200px;
  margin: 0 auto;
  width: 100%;
}

.speakers-head {
  text-align: center;
  max-width: 720px;
  margin: 0 auto clamp(36px, 5vw, 64px);
}

.speakers-head h2 {
  margin: 0;
  font-family: "Fraunces", Georgia, serif;
  font-weight: 500;
  font-size: clamp(40px, 5vw, 72px);
  line-height: 1.02;
  letter-spacing: -0.01em;
}

.speakers-container {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: clamp(24px, 3vw, 40px);
}

.speaker-card {
  display: grid;
  grid-template-columns: 220px 1fr;
  background: rgba(29, 41, 64, 0.28);
  border: 1px solid rgba(216, 185, 143, 0.14);
  border-radius: 24px;
  overflow: hidden;
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  box-shadow: 
    0 30px 60px rgba(0, 0, 0, 0.4),
    inset 0 1px 0 rgba(255, 255, 255, 0.05);
  transition: transform 400ms cubic-bezier(0.16, 1, 0.3, 1), border-color 300ms ease, box-shadow 350ms ease;
}

.speaker-card:hover {
  transform: translateY(-6px);
  border-color: rgba(216, 185, 143, 0.55);
  box-shadow: 
    0 40px 80px rgba(0, 0, 0, 0.5),
    0 0 40px rgba(216, 185, 143, 0.12),
    inset 0 1px 0 rgba(255, 255, 255, 0.08);
}

.speaker-photo-wrap {
  position: relative;
  width: 100%;
  height: 100%;
  min-height: 340px;
  overflow: hidden;
  background: #0b111e;
  border-right: 1px solid rgba(216, 185, 143, 0.1);
}

.speaker-photo {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 15%; /* Keep face centered & clear */
  display: block;
  transition: transform 700ms cubic-bezier(0.16, 1, 0.3, 1);
}

.speaker-card:hover .speaker-photo {
  transform: scale(1.05);
}

.speaker-content {
  padding: clamp(24px, 3.2vw, 36px);
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 12px;
}

.speaker-badge {
  align-self: flex-start;
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  padding: 4px 12px;
  border-radius: 20px;
  background: rgba(216, 185, 143, 0.1);
  color: var(--gold);
  border: 1px solid rgba(216, 185, 143, 0.25);
  font-weight: 700;
}

.speaker-badge.gold {
  background: linear-gradient(135deg, rgba(216, 185, 143, 0.15) 0%, rgba(201, 169, 127, 0.15) 100%);
  border-color: rgba(216, 185, 143, 0.3);
}

.speaker-content h3 {
  margin: 0;
  font-family: "Fraunces", Georgia, serif;
  font-weight: 500;
  font-size: clamp(24px, 2.2vw, 32px);
  line-height: 1.1;
  color: var(--text-main);
}

.speaker-lead {
  margin: 0;
  font-size: 14px;
  font-weight: 700;
  color: var(--gold-soft);
  letter-spacing: 0.02em;
}

.speaker-divider {
  width: 32px;
  height: 2px;
  background: var(--gold);
  margin: 4px 0;
  opacity: 0.8;
}

.speaker-bullet-tags {
  margin: 6px 0;
  padding: 0;
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.speaker-bullet-tags li {
  position: relative;
  padding-left: 18px;
  font-size: 14px;
  line-height: 1.4;
  color: var(--text-soft);
}

.speaker-bullet-tags li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.65em;
  width: 6px;
  height: 1px;
  background: var(--gold);
  opacity: 0.75;
}

.speaker-quote {
  margin: 10px 0 0;
  padding-left: 14px;
  border-left: 2px solid rgba(216, 185, 143, 0.55);
  font-family: "Fraunces", Georgia, serif;
  font-style: italic;
  font-size: clamp(14px, 1.2vw, 16px);
  line-height: 1.45;
  color: rgba(255, 255, 255, 0.82);
}

@media (max-width: 1024px) {
  .speakers-container {
    grid-template-columns: 1fr;
    gap: 32px;
  }
  
  .speaker-card {
    grid-template-columns: 200px 1fr;
    max-width: 720px;
    margin: 0 auto;
  }
}

@media (max-width: 720px) {
  .speaker-card {
    grid-template-columns: 1fr;
  }
  
  .speaker-photo-wrap {
    height: 300px;
    min-height: auto;
    border-right: none;
    border-bottom: 1px solid rgba(216, 185, 143, 0.1);
  }
}

@media (max-width: 480px) {
  .speaker-photo-wrap {
    height: 250px;
  }
  
  .speaker-content {
    padding: 24px 20px;
  }
}

.problem-block {
  padding: clamp(60px, 10vw, 130px) clamp(24px, 4vw, 72px);
}

.problem-shell {
  max-width: 880px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: clamp(20px, 2.4vw, 30px);
}

.problem-kicker {
  margin: 0;
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.22em;
  color: var(--gold);
  position: relative;
  padding: 0 26px;
}

.problem-kicker::before,
.problem-kicker::after {
  content: "";
  position: absolute;
  top: 50%;
  width: 18px;
  height: 1px;
  background: rgba(216, 185, 143, 0.6);
}

.problem-kicker::before {
  left: 0;
}

.problem-kicker::after {
  right: 0;
}

.problem-shell h2 {
  margin: 0;
  font-family: "Fraunces", Georgia, serif;
  font-weight: 500;
  font-size: clamp(38px, 5vw, 72px);
  line-height: 1.02;
  letter-spacing: -0.01em;
}

.problem-shell h2 .muted {
  color: var(--text-soft);
}

.problem-lead {
  margin: 0;
  max-width: 56ch;
  font-size: clamp(17px, 1.4vw, 19px);
  line-height: 1.6;
  color: var(--text-soft);
}

.problem-divider {
  width: 1px;
  height: 56px;
  background: linear-gradient(
    to bottom,
    transparent,
    rgba(216, 185, 143, 0.65),
    transparent
  );
}

.problem-hook {
  margin: 0;
  max-width: 28ch;
  font-family: "Fraunces", Georgia, serif;
  font-style: italic;
  font-weight: 500;
  font-size: clamp(24px, 2.6vw, 36px);
  line-height: 1.25;
  color: var(--gold-soft);
}

.reveal {
  opacity: 0;
  transform: translateY(30px) scale(0.97);
  filter: blur(6px);
  will-change: transform, opacity, filter;
  transition: 
    opacity 800ms cubic-bezier(0.16, 1, 0.3, 1),
    transform 800ms cubic-bezier(0.16, 1, 0.3, 1),
    filter 800ms cubic-bezier(0.16, 1, 0.3, 1);
}

.reveal.in {
  opacity: 1;
  transform: translateY(0) scale(1);
  filter: blur(0);
}

@media (max-width: 960px) {
  .hero {
    min-height: auto;
  }

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

  .hero-visual {
    justify-self: start;
  }

  .stock-card {
    margin-left: 0;
    max-width: 100%;
  }
}

@media (max-width: 640px) {
  .hero {
    padding-top: 20px;
  }

  .brand-logo {
    height: 36px;
    max-width: 170px;
  }

  .brand-text {
    font-size: 12px;
  }

  .top-cta {
    padding: 8px 16px;
    font-size: 12px;
  }

  h1 {
    line-height: 1;
  }
}

/* --- Registration Section --- */
.register-block {
  padding: clamp(60px, 9vw, 130px) clamp(24px, 4vw, 72px);
  position: relative;
  background: linear-gradient(180deg, transparent 0%, rgba(18, 26, 58, 0.42) 100%);
}

.register-shell {
  max-width: 640px;
  margin: 0 auto;
  text-align: center;
}

.register-head {
  margin-bottom: 40px;
}

.register-head h2 {
  margin: 0 0 18px;
  font-family: "Fraunces", Georgia, serif;
  font-weight: 500;
  font-size: clamp(34px, 4.5vw, 56px);
  line-height: 1.08;
  letter-spacing: -0.01em;
}

.register-lead {
  margin: 0 auto;
  max-width: 50ch;
  font-size: clamp(15px, 1.3vw, 17px);
  line-height: 1.55;
  color: var(--text-soft);
}

.register-form {
  background: rgba(24, 32, 74, 0.35);
  border: 1px solid rgba(215, 167, 122, 0.18);
  border-radius: 24px;
  padding: clamp(24px, 4vw, 44px);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  box-shadow: 0 30px 60px rgba(0, 0, 0, 0.3);
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.form-group {
  position: relative;
  width: 100%;
}

.form-input {
  width: 100%;
  padding: 18px clamp(16px, 2.5vw, 24px);
  font-family: "Manrope", sans-serif;
  font-size: 16px;
  color: var(--text-main);
  background: rgba(12, 18, 39, 0.52);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 12px;
  outline: none;
  transition: border-color 220ms ease, box-shadow 220ms ease;
}

.form-input:focus {
  border-color: var(--gold);
  box-shadow: 0 0 0 3px rgba(215, 167, 122, 0.15);
}

/* Floating labels */
.form-label {
  position: absolute;
  left: clamp(16px, 2.5vw, 24px);
  top: 50%;
  transform: translateY(-50%);
  font-size: 16px;
  color: var(--text-soft);
  opacity: 0.7;
  pointer-events: none;
  transition: transform 220ms cubic-bezier(0.25, 0.8, 0.25, 1), font-size 220ms ease, opacity 220ms ease;
}

.form-input:focus ~ .form-label,
.form-input:not(:placeholder-shown) ~ .form-label,
.phone-group .form-label {
  transform: translateY(-165%) translateX(-4px);
  font-size: 11px;
  opacity: 0.9;
  color: var(--gold);
  background: #161f47;
  padding: 0 6px;
  border-radius: 4px;
  z-index: 2;
}

/* intlTelInput overrides */
.phone-group .iti {
  width: 100%;
}

.iti__country-list {
  background-color: #121a3a !important;
  border: 1px solid rgba(255, 255, 255, 0.1) !important;
  color: #ffffff !important;
  border-radius: 8px !important;
  margin-top: 4px !important;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5) !important;
  z-index: 100 !important;
}

.iti__country-list .iti__country.iti__highlight {
  background-color: rgba(255, 255, 255, 0.1) !important;
}

.iti__country-list .iti__divider {
  border-bottom: 1px solid rgba(255, 255, 255, 0.1) !important;
}

.iti__country-name, .iti__dial-code {
  color: #ffffff !important;
}



.submit-btn {
  width: 100%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  background: linear-gradient(91.02deg, rgb(219, 167, 123) 0.12%, rgb(164, 120, 84) 100.12%);
  color: var(--ink);
  font-family: "Manrope", sans-serif;
  font-weight: 800;
  font-size: 16px;
  letter-spacing: 0.02em;
  padding: 18px 28px;
  border: none;
  border-radius: 12px;
  cursor: pointer;
  box-shadow: 0 10px 24px rgba(210, 177, 136, 0.2);
  transition: transform 220ms cubic-bezier(0.25, 0.8, 0.25, 1), box-shadow 220ms ease;
}

.submit-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 14px 30px rgba(210, 160, 111, 0.35);
}

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

.submit-btn svg {
  width: 18px;
  height: 18px;
  transition: transform 220ms ease;
}

.submit-btn:hover svg {
  transform: translateX(4px);
}

.submit-btn.loading {
  pointer-events: none;
  opacity: 0.8;
}

.form-status {
  font-size: 14px;
  line-height: 1.4;
  margin-top: -6px;
  border-radius: 8px;
  transition: opacity 220ms ease;
}

.form-status.success {
  color: #4ade80;
}

.form-status.error {
  color: #f87171;
}

/* --- Footer --- */
.footer {
  padding: 60px clamp(24px, 4vw, 72px) 40px;
  border-top: 1px solid var(--line);
  background: #090f1b;
  color: var(--text-soft);
}

.footer-shell {
  max-width: 1180px;
  margin: 0 auto;
}

.footer-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 24px;
  margin-bottom: 30px;
}

.footer-tagline {
  margin: 0;
  font-size: 14px;
  letter-spacing: 0.04em;
  color: var(--text-soft);
  opacity: 0.8;
}

.footer-divider {
  height: 1px;
  background: var(--line);
  margin-bottom: 30px;
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 20px;
}

.copyright {
  margin: 0;
  font-size: 13px;
  opacity: 0.7;
}

.footer-links {
  display: flex;
  gap: clamp(16px, 3vw, 32px);
}

.footer-links a {
  color: var(--text-soft);
  text-decoration: none;
  font-size: 13px;
  opacity: 0.7;
  transition: opacity 200ms ease, color 200ms ease;
}

.footer-links a:hover {
  opacity: 1;
  color: var(--gold-soft);
}

@media (max-width: 640px) {
  .footer-top, .footer-bottom {
    flex-direction: column;
    align-items: flex-start;
  }
}

/* --- Ambient Animated Background & Dynamic Auroras --- */
.bg-dynamics {
  position: fixed;
  inset: 0;
  z-index: -2;
  overflow: hidden;
  pointer-events: none;
}

.aurora {
  position: absolute;
  border-radius: 50%;
  filter: blur(140px);
  opacity: 0.16;
  mix-blend-mode: screen;
  will-change: transform;
}

.aurora-1 {
  width: min(80vw, 700px);
  aspect-ratio: 1;
  background: radial-gradient(circle, rgba(215, 167, 122, 0.32) 0%, transparent 70%);
  left: -200px;
  top: -100px;
  animation: float-aurora-1 45s infinite alternate ease-in-out;
}

.aurora-2 {
  width: min(70vw, 600px);
  aspect-ratio: 1;
  background: radial-gradient(circle, rgba(23, 35, 82, 0.72) 0%, transparent 70%);
  right: -100px;
  top: 25%;
  animation: float-aurora-2 38s infinite alternate ease-in-out;
}

.aurora-3 {
  width: min(80vw, 800px);
  aspect-ratio: 1;
  background: radial-gradient(circle, rgba(215, 167, 122, 0.2) 0%, transparent 70%);
  left: 20%;
  bottom: -250px;
  animation: float-aurora-3 52s infinite alternate ease-in-out;
}

@keyframes float-aurora-1 {
  0% { transform: translate3d(0, 0, 0) scale(1); }
  50% { transform: translate3d(120px, 80px, 0) scale(1.15); }
  100% { transform: translate3d(-60px, 140px, 0) scale(0.9); }
}

@keyframes float-aurora-2 {
  0% { transform: translate3d(0, 0, 0) scale(1); }
  50% { transform: translate3d(-100px, 120px, 0) scale(0.85); }
  100% { transform: translate3d(80px, -60px, 0) scale(1.1); }
}

@keyframes float-aurora-3 {
  0% { transform: translate3d(0, 0, 0) scale(1); }
  50% { transform: translate3d(90px, -150px, 0) scale(1.25); }
  100% { transform: translate3d(-120px, -50px, 0) scale(0.95); }
}

/* Floating Gold Dust Particles */
.particles-container {
  position: absolute;
  inset: 0;
}

.particle {
  position: absolute;
  bottom: -20px;
  background: radial-gradient(circle, rgba(215, 167, 122, 0.95) 0%, rgba(215, 167, 122, 0) 70%);
  border-radius: 50%;
  pointer-events: none;
  will-change: transform, opacity;
  animation: rise linear infinite;
}

@keyframes rise {
  0% {
    transform: translate3d(0, 0, 0) scale(0.4);
    opacity: 0;
  }
  12% {
    opacity: var(--max-opacity, 0.6);
  }
  88% {
    opacity: var(--max-opacity, 0.6);
  }
  100% {
    transform: translate3d(var(--drift-x, 60px), -108vh, 0) scale(1.3);
    opacity: 0;
  }
}

/* --- Legal Pages Layout --- */
html:has(.legal-page) {
  scroll-snap-type: none !important;
  scroll-behavior: smooth;
}

html:has(.legal-page) .footer {
  scroll-snap-align: unset !important;
}

.legal-page {
  padding: clamp(40px, 6vw, 80px) clamp(24px, 4vw, 72px);
  min-height: auto;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
}

.legal-shell {
  max-width: 820px;
  margin: 0 auto;
  width: 100%;
}

.legal-header {
  margin-bottom: 40px;
}

.back-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--gold);
  text-decoration: none;
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.04em;
  margin-bottom: 24px;
  transition: transform 220ms ease, color 220ms ease;
}

.back-btn:hover {
  color: var(--gold-soft);
  transform: translateX(-4px);
}

.back-btn svg {
  width: 16px;
  height: 16px;
}

.legal-content h1 {
  margin: 0 0 16px;
  font-family: "Fraunces", Georgia, serif;
  font-size: clamp(32px, 4vw, 48px);
  line-height: 1.1;
  color: var(--text-main);
}

.legal-meta {
  font-size: 13px;
  color: var(--text-soft);
  opacity: 0.7;
  margin-bottom: 32px;
}

.legal-content h2 {
  font-family: "Fraunces", Georgia, serif;
  font-size: clamp(20px, 2.4vw, 26px);
  margin: 40px 0 16px;
  color: var(--gold-soft);
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  padding-bottom: 8px;
}

.legal-content p {
  font-size: 15px;
  line-height: 1.65;
  color: var(--text-soft);
  margin-bottom: 18px;
}

.legal-content ul {
  padding-left: 20px;
  margin-bottom: 20px;
}

/* Remove default focus outline from target sections when navigating via anchor links */
:target {
  outline: none;
}

*:focus:not(:focus-visible) {
  outline: none;
}

.legal-content li {
  font-size: 15px;
  line-height: 1.6;
  color: var(--text-soft);
  margin-bottom: 8px;
}
