:root {
  --bg: #080C1A;
  --bg-alt: #111829;
  --bg-elevated: #141B30;
  --fg: #F5F0E0;
  --fg-soft: #C9C5B5;
  --fg-muted: #8B91A8;
  --blue: #3E90FF;
  --blue-deep: #6FA8FF;
  --border: rgba(245, 240, 224, 0.08);
  --border-strong: rgba(245, 240, 224, 0.16);

  --cta-bg: var(--fg);
  --cta-fg: var(--bg);

  --display: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, sans-serif;
  --body: 'Roboto', -apple-system, BlinkMacSystemFont, sans-serif;

  --max-w: 1200px;
  --max-w-text: 720px;
  --radius-lg: 24px;
}

*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; overscroll-behavior: contain; color-scheme: dark; }

body {
  background: var(--bg);
  color: var(--fg);
  font-family: var(--body);
  font-size: 1.05rem;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
  min-height: 100vh;
}

.nav {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--bg);
  padding: 1.4rem 2.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid transparent;
  transition: border-color 0.2s;
}
.nav.scrolled { border-bottom-color: var(--border); }

.nav-logo {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  font-family: var(--display);
  font-weight: 800;
  font-size: 1.45rem;
  color: var(--fg);
  text-decoration: none;
  letter-spacing: -0.025em;
}
.nav-logo-mark {
  width: 38px;
  height: 38px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--blue);
}
.nav-logo-mark svg { width: 100%; height: 100%; }

.nav-links {
  display: flex;
  align-items: center;
  gap: 2.4rem;
}
.nav-link {
  font-family: var(--display);
  font-weight: 500;
  font-size: 0.98rem;
  color: var(--fg);
  text-decoration: none;
  display: flex;
  align-items: center;
  gap: 0.3rem;
  transition: color 0.15s;
}
.nav-link:hover { color: var(--blue); }
.nav-link .caret {
  display: inline-block;
  width: 10px;
  height: 10px;
  border-right: 1.8px solid currentColor;
  border-bottom: 1.8px solid currentColor;
  transform: rotate(45deg) translate(-2px, -2px);
  margin-left: 0.1rem;
}

.nav-cta {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  padding: 0.4rem 0.85rem;
  background: var(--cta-bg);
  color: var(--cta-fg);
  border-radius: 999px;
  font-family: var(--display);
  font-weight: 700;
  font-size: 0.85rem;
  text-decoration: none;
  transition: transform 0.15s;
}
.nav-cta:hover { transform: translateY(-1px); }

.hero {
  padding: 2.5rem 2.5rem 5rem;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.hero-title {
  font-family: var(--display);
  font-weight: 800;
  font-size: clamp(2.8rem, 7vw, 6rem);
  line-height: 1.02;
  letter-spacing: -0.035em;
  color: var(--fg);
  margin: 0 auto;
  max-width: 1250px;
  position: relative;
}

.hero-sub {
  max-width: 920px;
  margin: 1.1rem auto 0;
  font-family: var(--display);
  font-weight: 500;
  font-size: 1.55rem;
  line-height: 1.45;
  letter-spacing: -0.018em;
  color: var(--fg);
  padding: 0 1rem;
  text-align: center;
}
.hero-sub .muted { color: var(--fg-muted); font-weight: 400; }
.hero-sub .hl {
  position: relative;
  color: var(--blue);
  white-space: nowrap;
  font-weight: 700;
}
.hero-sub .hl::after {
  content: '';
  position: absolute;
  left: -2%;
  right: -2%;
  bottom: -0.12em;
  height: 7px;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 200 10' preserveAspectRatio='none'><path d='M2 7 Q 50 1, 100 5 T 198 6' stroke='%233E90FF' stroke-width='3' stroke-linecap='round' fill='none'/></svg>");
  background-repeat: no-repeat;
  background-size: 100% 100%;
}

.hero-ctas {
  display: flex;
  justify-content: center;
  gap: 1rem;
  margin-top: 2.5rem;
  flex-wrap: wrap;
}

.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  padding: 0.5rem 1.1rem;
  border-radius: 999px;
  font-family: var(--display);
  font-weight: 700;
  font-size: 0.9rem;
  text-decoration: none;
  border: 2px solid transparent;
  cursor: pointer;
  transition: transform 0.15s, background 0.15s, box-shadow 0.15s, color 0.15s;
}
.btn-primary {
  background: var(--blue);
  color: #ffffff;
  box-shadow: 0 4px 0 var(--blue-deep);
}
.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 0 var(--blue-deep);
}
.btn-secondary {
  background: transparent;
  color: var(--fg);
  border-color: var(--fg);
}
.btn-secondary:hover {
  background: var(--fg);
  color: var(--bg);
}

.section {
  padding: clamp(4.5rem, 8vw, 7rem) 2rem;
  position: relative;
}
.section-alt {
  background: var(--bg-alt);
}
.section-inner { max-width: var(--max-w-text); margin: 0 auto; }
.section-wide { max-width: var(--max-w); }

.section h2 {
  font-family: var(--display);
  font-size: clamp(2rem, 3.4vw + 0.5rem, 3rem);
  font-weight: 800;
  line-height: 1.05;
  letter-spacing: -0.03em;
  color: var(--fg);
  margin-bottom: 1.6rem;
}
.section p {
  font-family: var(--display);
  font-weight: 500;
  color: var(--fg-muted);
  font-size: 1.25rem;
  line-height: 1.5;
  letter-spacing: -0.018em;
  margin-bottom: 1.2rem;
}
.section-intro {
  color: var(--fg);
  margin-bottom: 2.4rem;
}
.section .hl {
  color: var(--blue);
  font-weight: 700;
}
.section .muted { color: var(--fg-muted); font-weight: 400; }

.section-center { text-align: center; }
.section-center .section-inner { margin: 0 auto; }

.markets {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
  margin-top: 2.5rem;
}
.market-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 1.5rem 1.25rem 1.4rem;
  background: rgba(20, 27, 48, 0.2);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  color: var(--fg);
  text-decoration: none;
  transition: border-color 0.15s, transform 0.15s, background 0.15s;
}
.market-card.is-muted { opacity: 0.7; }
.market-card.is-muted:hover { opacity: 0.9; }
.market-card.is-muted .market-icon { filter: grayscale(0.6); }
.market-card:hover {
  border-color: var(--border-strong);
  transform: translateY(-2px);
}
.market-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 64px;
  height: 64px;
  border-radius: 16px;
  overflow: hidden;
  margin-bottom: 0.85rem;
  background: #000;
}
.market-icon img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.market-card h3 {
  font-family: var(--display);
  font-size: 1.05rem;
  font-weight: 700;
  margin: 0;
  letter-spacing: -0.01em;
  color: var(--fg-soft);
}

@media (max-width: 1100px) {
  .markets { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 780px) {
  .markets { grid-template-columns: repeat(2, 1fr); }
  .desktop-br { display: none; }
  .cta-grid { grid-template-columns: 1fr; gap: 1rem; text-align: center; }
  .cta-card--content { text-align: center; }
  .cta-card-inner { grid-template-columns: 1fr; }
  .cta-buttons { justify-content: center; }
  .cta-bot { margin: 0; justify-content: center; }
  .cta-bot img { height: auto; width: 100%; max-width: 240px; }
}

.hero-cluster {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 100%;
  margin: 0 auto 1rem;
  padding: 20px 0 10px;
  pointer-events: none;
  perspective: 1200px;
}
.hero-gift {
  flex-shrink: 0;
  margin-left: -30px;
  transform: rotate(var(--grot, 0deg)) scale(var(--gscale, 1));
  transform-origin: center bottom;
  filter: drop-shadow(0 18px 30px rgba(0, 0, 0, 0.35));
  z-index: var(--gz, 1);
}
.hero-gift:first-child { margin-left: 0; }
@media (max-width: 760px) {
  .hero-cluster { transform: scale(0.7); transform-origin: center top; margin-top: 2rem; }
}

.gift-card {
  --gc-bg: #3D9AE1;
  --gc-pat: #ffffff;
  --gc-edge: #25608c;
  position: relative;
  width: 116px;
  height: 116px;
  flex-shrink: 0;
  border-radius: 16px;
  background: var(--gc-bg);
  overflow: hidden;
  isolation: isolate;
}

.gc-backlight {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 220px;
  height: 220px;
  transform: translate(-50%, -50%);
  background: url('../assets/backlight.svg') center/contain no-repeat;
  mix-blend-mode: overlay;
  pointer-events: none;
  z-index: 1;
}

.gc-syms { position: absolute; inset: 0; z-index: 2; pointer-events: none; }
.gc-sym {
  position: absolute;
  width: 20px;
  height: 20px;
  transform: translateX(-50%);
  background-color: #ffffff;
  mix-blend-mode: overlay;
  opacity: 0.65;
  -webkit-mask-size: contain;
          mask-size: contain;
  -webkit-mask-position: center;
          mask-position: center;
  -webkit-mask-repeat: no-repeat;
          mask-repeat: no-repeat;
}
.gc-sym--1  { top: 22.41%; left: calc(50% - 39px); }
.gc-sym--2  { top:  3.45%; left: 50%; }
.gc-sym--3  { top: 61.21%; left: calc(50% + 39px); }
.gc-sym--4  { top: 41.38%; left: calc(50% + 64px); }
.gc-sym--5  { top: 61.21%; left: calc(50% - 39px); }
.gc-sym--6  { top: 42.24%; left: calc(50% - 65px); }
.gc-sym--7  { top: 78.45%; left: 50%; }
.gc-sym--8  { top: 21.55%; left: calc(50% + 38px); }
.gc-sym--9  { top: -5.17%; left: calc(50% - 32px); }
.gc-sym--10 { top: 87.07%; left: calc(50% + 31px); }
.gc-sym--11 { top: 87.07%; left: calc(50% - 30px); }

.gc-img {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 80px;
  height: 80px;
  transform: translate(-50%, -50%);
  object-fit: contain;
  pointer-events: none;
  z-index: 3;
}

.gc-ribbon {
  position: absolute;
  top: -2px;
  right: -1px;
  width: 56px;
  height: 56px;
  pointer-events: none;
  z-index: 4;
}
.gc-ribbon-fills {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  display: block;
  overflow: visible;
}

.explore-marquee {
  position: relative;
  width: 100%;
  overflow: hidden;
  margin-top: 3rem;
  padding: 0.5rem 0;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent);
          mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent);
}
.explore-track {
  display: flex;
  gap: 14px;
  width: max-content;
}
.explore-track + .explore-track { margin-top: 14px; }
.explore-track--left  { animation: explore-marquee-left  160s linear infinite; animation-play-state: paused; }
.explore-track--right { animation: explore-marquee-right 160s linear infinite; animation-play-state: paused; }
.explore-marquee.is-active .explore-track--left,
.explore-marquee.is-active .explore-track--right { animation-play-state: running; }
@keyframes explore-marquee-left  {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}
@keyframes explore-marquee-right {
  from { transform: translateX(-50%); }
  to   { transform: translateX(0); }
}
@media (prefers-reduced-motion: reduce) {
  .explore-track--left, .explore-track--right { animation: none; }
}

.cta-section { padding-top: 2rem; padding-bottom: 5rem; }
.cta-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.25rem;
  align-items: stretch;
}
.cta-card {
  border-radius: 28px;
  background: linear-gradient(180deg, var(--blue-deep), var(--blue));
  box-shadow: 0 20px 60px -20px rgba(62, 144, 255, 0.4);
  overflow: hidden;
}
.cta-card--content {
  padding: clamp(2.2rem, 5vw, 3.5rem);
  padding-left: 2.25rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.cta-card-inner {
  display: grid;
  grid-template-columns: 1fr minmax(0, 200px);
  gap: 1.5rem;
  align-items: stretch;
}
.cta-text { align-self: center; }
.cta-bot {
  position: relative;
  margin: calc(-1 * clamp(2.2rem, 5vw, 3.5rem)) calc(-1 * clamp(2.2rem, 5vw, 3.5rem)) calc(-1 * clamp(2.2rem, 5vw, 3.5rem)) 0;
  overflow: hidden;
}
.cta-bot img,
.cta-bot .cta-lottie {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  display: block;
}
.cta-bot img { object-fit: cover; object-position: center; }
.cta-bot .cta-lottie { transform: translateX(-20px); }
.cta-bot .cta-lottie svg { width: 100% !important; height: 100% !important; }
.cta-card--content { text-align: center; }
.cta-card .cta-title {
  font-family: var(--display);
  font-size: clamp(1.8rem, 3.2vw, 2.6rem);
  font-weight: 800;
  line-height: 1.05;
  letter-spacing: -0.028em;
  color: #ffffff;
  margin-bottom: 0.6rem;
  white-space: nowrap;
}
.cta-card .cta-description {
  font-family: var(--display);
  font-size: 1.05rem;
  font-weight: 500;
  line-height: 1.5;
  color: #ffffff;
  margin: 0 0 1.6rem;
  min-height: calc(1.5em * 2);
  display: flex;
  align-items: center;
  justify-content: center;
}
.cta-buttons {
  display: flex;
  gap: 0.75rem;
  flex-wrap: wrap;
  justify-content: center;
}
.btn-cta {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  padding: 0.65rem 1.3rem;
  background: #ffffff;
  color: var(--blue);
  border-radius: 999px;
  font-family: var(--display);
  font-weight: 800;
  font-size: 1rem;
  text-decoration: none;
  letter-spacing: -0.01em;
  border: 2px solid transparent;
  transition: transform 0.15s, background 0.15s, box-shadow 0.15s;
  box-shadow: 0 4px 0 rgba(0, 0, 0, 0.08);
}
.btn-cta:hover {
  transform: translateY(-2px);
  background: rgba(255, 255, 255, 0.92);
  box-shadow: 0 6px 0 rgba(0, 0, 0, 0.1);
}

.footer {
  padding: 3.5rem 2rem;
}
.footer-inner {
  max-width: var(--max-w);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr auto;
  gap: 3rem;
  align-items: start;
}
.footer-logo {
  display: inline-block;
  width: 100px;
  color: var(--blue);
  text-decoration: none;
  margin-bottom: 0.9rem;
}
.footer-logo svg {
  width: 100%;
  height: auto;
  display: block;
}
.footer-tagline {
  font-family: var(--display);
  font-weight: 400;
  font-size: 0.95rem;
  color: var(--fg-muted);
  line-height: 1.55;
  letter-spacing: 0;
  word-spacing: 0.05em;
  white-space: normal;
}
.footer-col {
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
}
.footer-link {
  font-family: var(--display);
  font-weight: 500;
  font-size: 1rem;
  color: var(--fg);
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.55rem 0;
  letter-spacing: -0.012em;
  transition: color 0.15s;
}
.footer-link:hover { color: var(--blue); }
.footer-link-head {
  font-weight: 800;
  letter-spacing: -0.018em;
}
.caret {
  display: inline-block;
  width: 10px;
  height: 10px;
  border-right: 1.8px solid currentColor;
  border-bottom: 1.8px solid currentColor;
  transform: rotate(45deg) translate(-2px, -2px);
  margin-left: 0.1rem;
}
.footer-col-social {
  display: flex;
  flex-direction: row;
  gap: 0.6rem;
  align-items: center;
  padding-top: 0.5rem;
}
.footer-social {
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--border);
  border-radius: 999px;
  color: var(--fg);
  text-decoration: none;
  transition: color 0.15s, border-color 0.15s, background 0.15s;
}
.footer-social:hover {
  color: var(--blue);
  border-color: var(--blue);
}
.footer-social svg { width: 18px; height: 18px; }

.footer { padding-bottom: 0; }

.footer-bigname {
  position: relative;
  width: 100%;
  margin-top: 4rem;
  height: clamp(60px, 12vw, 220px);
  overflow: hidden;
  user-select: none;
  --mx: 50%;
  --my: 50%;
}
.bigname-svg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: auto;
  display: block;
  pointer-events: none;
}
.bigname-svg text {
  font-family: var(--display);
  font-weight: 800;
}
.bigname-svg.outline text {
  fill: var(--bg);
  stroke: var(--blue);
  stroke-width: 3;
  paint-order: stroke fill;
  stroke-linejoin: round;
  stroke-linecap: round;
}
.bigname-svg.fill {
  opacity: 0;
  -webkit-mask-image: radial-gradient(circle 280px at var(--mx) var(--my), #000 0%, rgba(0, 0, 0, 0.7) 40%, transparent 100%);
          mask-image: radial-gradient(circle 280px at var(--mx) var(--my), #000 0%, rgba(0, 0, 0, 0.7) 40%, transparent 100%);
  transition: opacity 0.25s ease;
}
.bigname-svg.fill text {
  fill: var(--blue);
}
.footer-bigname:hover .bigname-svg.fill { opacity: 1; }

.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}
.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

a:focus-visible, button:focus-visible {
  outline: 2px solid var(--blue);
  outline-offset: 2px;
  border-radius: 4px;
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    transition-duration: 0.01ms !important;
  }
}

@media (max-width: 900px) {
  .nav { padding: 1rem 1.5rem; }
  .nav-links { display: none; }
  .hero { padding: 3rem 1.5rem 3rem; }
  .hero-ctas { flex-direction: column; align-items: center; }
  .footer-inner { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 700px) {
  .footer-inner {
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem 1.25rem;
  }
  .footer-inner > .footer-col:first-child,
  .footer-inner > .footer-col-social { grid-column: 1 / -1; }
  .hero-sub { font-size: 1.25rem; }
}

@media (max-width: 520px) {
  .nav { padding: 0.9rem 1.1rem; }
  .nav-logo { font-size: 1.2rem; }
  .nav-cta { padding: 0.65rem 1.1rem; font-size: 0.85rem; }
  .hero { padding: 2.5rem 1.1rem 2.5rem; }
  .btn { width: 100%; justify-content: center; }
  .hero-ctas { width: 100%; flex-direction: column; }
}

body { overflow-x: hidden; }

.nav-link:focus-visible,
.nav-link:active { color: var(--blue); }

.nav-cta:focus-visible,
.nav-cta:active { transform: translateY(-1px); }

.btn-primary:focus-visible,
.btn-primary:active {
  transform: translateY(-2px);
  box-shadow: 0 6px 0 var(--blue-deep);
}

.btn-secondary:focus-visible,
.btn-secondary:active {
  background: var(--fg);
  color: var(--bg);
}

.btn-cta:focus-visible,
.btn-cta:active {
  transform: translateY(-2px);
  background: rgba(255, 255, 255, 0.92);
  box-shadow: 0 6px 0 rgba(0, 0, 0, 0.1);
}

.market-card:focus-visible,
.market-card:active {
  border-color: var(--border-strong);
  transform: translateY(-2px);
}

.footer-link:focus-visible,
.footer-link:active { color: var(--blue); }

.footer-social:focus-visible,
.footer-social:active {
  color: var(--blue);
  border-color: var(--blue);
}

@media (max-width: 600px) {
  .btn, .btn-primary, .btn-secondary {
    min-height: 44px;
    padding-top: 0.6rem;
    padding-bottom: 0.6rem;
  }
  .btn-cta {
    min-height: 44px;
    padding-top: 0.6rem;
    padding-bottom: 0.6rem;
  }
  .nav-cta { min-height: 44px; }
}

@media (max-width: 480px) {
  .hero-cluster {
    transform: scale(0.52);
    transform-origin: center top;
    margin-top: 0.5rem;
    margin-bottom: -3.5rem;
  }
  .cta-card .cta-title {
    white-space: normal;
    font-size: clamp(1.5rem, 6vw, 1.8rem);
  }
  .cta-card--content { padding: 1.5rem 1.25rem; }
}

@media (max-width: 400px) {
  .hero-sub .hl { white-space: normal; }
  .hero-sub { font-size: 1.1rem; }
  .markets { gap: 0.75rem; }
  .market-card { padding: 1.1rem 0.85rem 1rem; }
}

@media (max-width: 380px) {
  .hero-cluster {
    transform: scale(0.42);
    margin-bottom: -5rem;
  }
  .section { padding-left: 1rem; padding-right: 1rem; }
  .hero { padding-left: 0.9rem; padding-right: 0.9rem; }
}

@media (max-width: 500px) {
  .explore-marquee {
    -webkit-mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent);
            mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent);
  }
}