:root {
  color-scheme: dark;
  --bg: #050505;
  --panel: #0b0d0d;
  --panel-2: #111313;
  --ink: #f7f2e8;
  --muted: #a9aaa4;
  --soft: #6f726e;
  --gold: #d7b46a;
  --gold-2: #f0d28a;
  --blue: #2a8cff;
  --line: rgba(215, 180, 106, 0.2);
  --line-bright: rgba(240, 210, 138, 0.58);
  --glass: rgba(255, 255, 255, 0.055);
  --shadow: 0 30px 90px rgba(0, 0, 0, 0.42);
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  min-width: 320px;
  overflow-x: hidden;
  color: var(--ink);
  font-family:
    Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont,
    "SF Pro Display", "Segoe UI", "PingFang SC", "Microsoft YaHei", sans-serif;
  background:
    linear-gradient(90deg, rgba(5, 5, 5, 0.32), rgba(5, 5, 5, 0.74) 52%, rgba(5, 5, 5, 0.42)),
    linear-gradient(180deg, rgba(5, 5, 5, 0.08), #050505 92vh),
    url("assets/deep-sea-hero.png"),
    radial-gradient(circle at 72% 8%, rgba(42, 140, 255, 0.16), transparent 28rem),
    linear-gradient(180deg, #050505 0%, #070806 48%, #020202 100%);
  background-attachment: scroll, scroll, fixed, scroll, scroll;
  background-position: center top, center top, center top, center top, center top;
  background-repeat: no-repeat;
  background-size: cover, 100% 110vh, max(100vw, 1500px) auto, auto, auto;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background:
    linear-gradient(90deg, rgba(255, 255, 255, 0.035) 1px, transparent 1px),
    linear-gradient(180deg, rgba(255, 255, 255, 0.025) 1px, transparent 1px);
  background-size: 80px 80px;
  mask-image: linear-gradient(180deg, #000 0%, transparent 82%);
}

a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; }

.topbar {
  position: fixed;
  top: 0;
  left: 50%;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  width: 100%;
  min-height: 104px;
  padding: 0 clamp(26px, 5vw, 72px);
  border: 0;
  border-radius: 0;
  background:
    linear-gradient(180deg, rgba(5, 9, 10, 0.78), rgba(5, 9, 10, 0.28) 72%, transparent),
    rgba(5, 5, 5, 0.08);
  box-shadow: none;
  backdrop-filter: none;
  transform: translateX(-50%);
}

.brand {
  display: inline-flex;
  align-items: center;
  min-height: 56px;
  color: #ffffff;
  font-weight: 900;
  font-size: 20px;
}

.brand span {
  line-height: 1;
}

.nav {
  display: flex;
  gap: clamp(22px, 3vw, 46px);
  margin-left: auto;
  margin-right: auto;
}

.nav a,
.topbar-action,
.primary-btn,
.secondary-btn,
.domain-card button,
.market-card button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  padding: 0 16px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 999px;
  color: var(--ink);
  background: rgba(255, 255, 255, 0.045);
  cursor: pointer;
  transition:
    transform 0.18s ease,
    border-color 0.18s ease,
    background 0.18s ease,
    box-shadow 0.18s ease;
}

.nav a {
  min-height: auto;
  padding: 0;
  border: 0;
  border-radius: 0;
  color: rgba(247, 242, 232, 0.66);
  background: transparent;
  font-size: 17px;
  font-weight: 500;
}

.topbar-right {
  display: flex;
  align-items: center;
  gap: 22px;
}

.topbar-link {
  color: rgba(247, 242, 232, 0.72);
  font-size: 17px;
  font-weight: 500;
}

.nav a:hover,
.topbar-link:hover,
.secondary-btn:hover,
.domain-card button:hover,
.market-card button:hover {
  color: #fff;
}

.topbar-action {
  min-height: 54px;
  padding: 0 26px;
  border-color: rgba(255, 255, 255, 0.22);
  border-radius: 999px;
  color: #ffffff;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.12), rgba(255, 255, 255, 0.04)),
    rgba(3, 8, 10, 0.58);
  box-shadow:
    inset 0 0 0 1px rgba(255, 255, 255, 0.08),
    0 0 0 5px rgba(145, 187, 196, 0.12),
    0 10px 28px rgba(0, 0, 0, 0.36);
  backdrop-filter: blur(14px);
}

.topbar-action:hover {
  border-color: rgba(255, 255, 255, 0.42);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.18), rgba(255, 255, 255, 0.06)),
    rgba(5, 15, 18, 0.74);
}

.primary-btn {
  border-color: rgba(240, 210, 138, 0.72);
  color: #090909;
  background: linear-gradient(135deg, #f5df9d, #c59a43);
  font-weight: 900;
  box-shadow: 0 16px 52px rgba(215, 180, 106, 0.2);
}

.primary-btn:hover {
  transform: translateY(-1px);
  box-shadow: 0 20px 70px rgba(215, 180, 106, 0.3);
}

.secondary-btn {
  backdrop-filter: blur(18px);
}

main {
  width: min(1380px, calc(100% - 36px));
  margin: 0 auto;
}

.hero {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 0.92fr) minmax(360px, 1.08fr);
  gap: 32px;
  min-height: 100vh;
  padding: 136px 0 70px;
  align-items: center;
}

.hero::before {
  content: "";
  position: absolute;
  inset: 8% 0 5%;
  z-index: -1;
  pointer-events: none;
  background:
    radial-gradient(circle at 18% 30%, rgba(0, 179, 255, 0.16), transparent 22rem),
    radial-gradient(circle at 78% 62%, rgba(215, 180, 106, 0.12), transparent 24rem);
  filter: blur(2px);
}

.hero-copy {
  padding-left: clamp(0px, 2vw, 26px);
}

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

h1, h2, h3, p { margin-top: 0; }

h1 {
  max-width: 760px;
  margin-bottom: 20px;
  font-size: clamp(62px, 9vw, 148px);
  line-height: 0.86;
  letter-spacing: 0;
}

h2 {
  margin: 0;
  font-size: clamp(38px, 5vw, 88px);
  line-height: 0.94;
  letter-spacing: 0;
}

.hero-subtitle {
  margin-bottom: 24px;
  color: #fff;
  font-size: clamp(26px, 3.2vw, 52px);
  font-weight: 850;
  line-height: 1.05;
}

.lede {
  max-width: 580px;
  margin-bottom: 0;
  color: var(--muted);
  font-size: clamp(17px, 1.4vw, 22px);
  line-height: 1.7;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 34px;
}

.hero-stage {
  display: grid;
  place-items: center;
  min-height: min(720px, 72vh);
  perspective: 900px;
}

.domain-monolith {
  position: relative;
  display: grid;
  align-content: center;
  width: min(100%, 640px);
  min-height: 520px;
  padding: clamp(26px, 4vw, 54px);
  border: 1px solid rgba(240, 210, 138, 0.22);
  border-radius: 8px;
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.07), rgba(255, 255, 255, 0.015)),
    linear-gradient(180deg, rgba(42, 140, 255, 0.15), transparent 60%);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.1),
    0 0 80px rgba(42, 140, 255, 0.16),
    0 0 110px rgba(215, 180, 106, 0.11);
  overflow: hidden;
  transform-style: preserve-3d;
  transition: transform 0.18s ease;
}

.domain-monolith::before {
  content: "";
  position: absolute;
  inset: -1px;
  pointer-events: none;
  background: linear-gradient(110deg, transparent 12%, rgba(240, 210, 138, 0.22) 48%, transparent 70%);
  opacity: 0.46;
  transform: translateX(-60%);
  animation: sheen 7s ease-in-out infinite;
}

.domain-monolith span,
.domain-monolith strong,
.domain-monolith small,
.domain-monolith em {
  position: relative;
  display: block;
}

.domain-monolith span {
  color: var(--gold-2);
  font-size: 12px;
  font-weight: 900;
  text-transform: uppercase;
}

.domain-monolith strong {
  margin: 26px 0 18px;
  color: #fff8e8;
  font-size: clamp(56px, 8vw, 126px);
  line-height: 0.82;
  text-shadow:
    0 0 34px rgba(215, 180, 106, 0.34),
    0 0 72px rgba(42, 140, 255, 0.24);
}

.domain-monolith small {
  max-width: 360px;
  color: var(--muted);
  font-size: 20px;
  line-height: 1.45;
}

.domain-monolith em {
  margin-top: 24px;
  color: var(--gold-2);
  font-size: clamp(28px, 3vw, 46px);
  font-style: normal;
  font-weight: 900;
  line-height: 1;
}

.domain-monolith.is-switching span,
.domain-monolith.is-switching strong,
.domain-monolith.is-switching small,
.domain-monolith.is-switching em {
  opacity: 0;
  transform: translateY(10px);
}

.domain-monolith span,
.domain-monolith strong,
.domain-monolith small,
.domain-monolith em {
  transition: opacity 0.28s ease, transform 0.28s ease;
}

.featured-cards,
.marketplace,
.why,
.deal,
.faq {
  padding: clamp(80px, 11vw, 150px) 0;
}

.section-kicker {
  display: grid;
  grid-template-columns: minmax(0, 0.45fr) minmax(0, 0.8fr);
  gap: 28px;
  align-items: end;
  margin-bottom: 32px;
}

.domain-grid,
.market-grid,
.why-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}

.domain-card,
.market-card,
.why-grid article,
.search-panel,
details {
  border: 1px solid rgba(255, 255, 255, 0.105);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.045);
  box-shadow: var(--shadow);
  backdrop-filter: blur(20px);
}

.domain-card {
  position: relative;
  display: grid;
  gap: 24px;
  min-height: 360px;
  padding: 26px;
  overflow: hidden;
  transition: transform 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
}

.domain-card::before {
  content: "";
  position: absolute;
  inset: -2px;
  z-index: -1;
  background: linear-gradient(115deg, transparent 12%, rgba(240, 210, 138, 0.55), rgba(42, 140, 255, 0.2), transparent 72%);
  opacity: 0;
  transition: opacity 0.2s ease;
}

.domain-card:hover {
  transform: translateY(-6px);
  border-color: rgba(240, 210, 138, 0.48);
  box-shadow: 0 28px 90px rgba(0, 0, 0, 0.58);
}

.domain-card:hover::before {
  opacity: 1;
  animation: borderFlow 1.6s linear infinite;
}

.card-label,
.market-tag,
.deal-form span,
.filter-row span {
  color: var(--muted);
  font-size: 12px;
  font-weight: 900;
  text-transform: uppercase;
}

.domain-card h3 {
  margin: 0;
  color: #fff8e8;
  font-size: clamp(42px, 4.8vw, 76px);
  line-height: 0.9;
}

.domain-card p,
.market-card p,
.why-grid p,
details p {
  margin: 0;
  color: var(--muted);
  line-height: 1.65;
}

.domain-card strong {
  color: var(--gold-2);
  font-size: 28px;
}

.domain-card button {
  width: fit-content;
  border-color: rgba(240, 210, 138, 0.35);
}

.market-head {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 24px;
}

.search-panel {
  padding: clamp(18px, 3vw, 30px);
  margin-bottom: 16px;
}

.search-field input {
  width: 100%;
  min-height: 84px;
  border: 0;
  border-bottom: 1px solid rgba(240, 210, 138, 0.25);
  border-radius: 0;
  color: #fff;
  background: transparent;
  outline: none;
  font-size: clamp(30px, 5vw, 74px);
  font-weight: 850;
}

.search-field input::placeholder { color: rgba(247, 242, 232, 0.24); }

.extension-tabs,
.filter-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.extension-tabs {
  margin: 24px 0 18px;
}

.extension-tabs button,
.filter-row select,
.filter-row button,
.deal-form input,
.deal-form select,
.deal-form textarea {
  min-height: 44px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 999px;
  color: var(--ink);
  background: rgba(255, 255, 255, 0.06);
  outline: none;
}

.extension-tabs button {
  padding: 0 16px;
  cursor: pointer;
}

.extension-tabs button.active {
  border-color: var(--line-bright);
  color: #080808;
  background: linear-gradient(135deg, #f5df9d, #c59a43);
}

.filter-row label {
  display: grid;
  gap: 7px;
  min-width: 160px;
}

.filter-row select {
  padding: 0 16px;
}

.market-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.market-card {
  display: grid;
  gap: 28px;
  min-height: 240px;
  padding: 20px;
}

.market-card h3 {
  margin: 18px 0 10px;
  color: #fff8e8;
  font-size: clamp(28px, 3vw, 46px);
  line-height: 0.92;
}

.market-card-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.market-card strong { color: var(--gold-2); }

.empty-state {
  grid-column: 1 / -1;
  margin: 0;
  padding: 34px;
  border: 1px solid rgba(255, 255, 255, 0.105);
  border-radius: 8px;
  color: var(--muted);
  background: rgba(255, 255, 255, 0.045);
}

.why {
  display: grid;
  grid-template-columns: 0.86fr 1.14fr;
  gap: 26px;
  align-items: start;
}

.why-grid article {
  min-height: 220px;
  padding: 22px;
}

.why-grid h3 {
  margin-bottom: 16px;
  color: #fff8e8;
  font-size: 24px;
}

.deal {
  display: grid;
  grid-template-columns: minmax(0, 0.82fr) minmax(330px, 0.78fr);
  gap: 28px;
}

.deal-form {
  display: grid;
  gap: 12px;
}

.deal-form label {
  display: grid;
  gap: 8px;
}

.deal-form input,
.deal-form select,
.deal-form textarea {
  width: 100%;
  border-radius: 8px;
  padding: 13px 15px;
}

.deal-form textarea {
  min-height: 112px;
  resize: vertical;
}

.faq {
  display: grid;
  gap: 12px;
  padding-top: 40px;
}

details {
  padding: 20px 22px;
}

summary {
  color: #fff8e8;
  cursor: pointer;
  font-size: 20px;
  font-weight: 850;
}

details p {
  margin-top: 12px;
}

.footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  width: min(1380px, calc(100% - 36px));
  margin: 0 auto;
  padding: 36px 0 50px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  color: var(--muted);
}

.footer span {
  color: #fff8e8;
  font-weight: 900;
}

@keyframes sheen {
  50% { transform: translateX(58%); }
  100% { transform: translateX(58%); }
}

@keyframes borderFlow {
  0% { transform: translateX(-20%); }
  100% { transform: translateX(20%); }
}

@media (max-width: 1080px) {
  .hero,
  .section-kicker,
  .why,
  .deal {
    grid-template-columns: 1fr;
  }

  .market-grid,
  .why-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 780px) {
  .topbar {
    position: absolute;
    top: 0;
    min-height: 130px;
    padding: 18px 18px 12px;
    flex-wrap: wrap;
    gap: 12px;
  }

  .brand {
    font-size: 18px;
  }

  .nav {
    order: 3;
    width: 100%;
    gap: 22px;
    margin: 0;
    overflow-x: auto;
  }

  .nav a {
    flex: 0 0 auto;
    font-size: 15px;
  }

  .topbar-right {
    gap: 12px;
    margin-left: auto;
  }

  .topbar-link {
    font-size: 15px;
  }

  .topbar-action {
    min-height: 44px;
    padding: 0 16px;
  }

  main,
  .footer {
    width: min(100% - 22px, 1380px);
  }

  .hero {
    padding-top: 172px;
  }

  h1 {
    font-size: clamp(56px, 17vw, 86px);
  }

  .hero-stage {
    min-height: 420px;
  }

  .domain-monolith {
    min-height: 390px;
  }

  .domain-grid,
  .market-grid,
  .why-grid {
    grid-template-columns: 1fr;
  }

  .market-head {
    align-items: flex-start;
    flex-direction: column;
  }
}
