:root {
  --night: #05070e;
  --midnight: #0b1020;
  --ink: #121426;
  --violet: #5f4476;
  --smoke: #88c4cc;
  --plum: #8b526e;
  --rose: #df9689;
  --wine: #6a1027;
  --gold: #f3c46a;
  --cream: #fff0ca;
  --muted: rgba(255, 240, 202, 0.7);
  --line: rgba(255, 240, 202, 0.16);
  --shadow: 0 30px 90px rgba(0, 0, 0, 0.5);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-width: 320px;
  color: var(--cream);
  background:
    radial-gradient(circle at 20% 14%, rgba(136, 196, 204, 0.18), transparent 28rem),
    radial-gradient(circle at 82% 5%, rgba(223, 150, 137, 0.2), transparent 26rem),
    linear-gradient(145deg, #03050b 0%, #101121 50%, #05070e 100%);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.5;
  overflow-x: hidden;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -2;
  background-image:
    linear-gradient(120deg, transparent 0 43%, rgba(243, 196, 106, 0.08) 43% 44%, transparent 44% 100%),
    linear-gradient(60deg, transparent 0 46%, rgba(136, 196, 204, 0.07) 46% 47%, transparent 47% 100%);
  background-size: 118px 118px;
  opacity: 0.55;
  pointer-events: none;
}

body::after {
  content: "";
  position: fixed;
  inset: auto -20vw 0;
  z-index: -1;
  height: 38vh;
  background: radial-gradient(ellipse at center, rgba(136, 196, 204, 0.24), transparent 68%);
  filter: blur(34px);
  pointer-events: none;
}

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

button {
  font: inherit;
}

.shell {
  width: min(1180px, calc(100% - 32px));
  margin: 0 auto;
}

.topbar {
  position: sticky;
  top: 0;
  z-index: 20;
  border-bottom: 1px solid var(--line);
  background: rgba(5, 7, 14, 0.78);
  backdrop-filter: blur(18px);
}

.nav {
  min-height: 74px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  min-width: 0;
}

.brand-crest {
  width: 44px;
  height: 44px;
  display: grid;
  place-items: center;
  color: #210c12;
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.55), transparent 36%),
    linear-gradient(135deg, var(--gold), var(--rose));
  border: 1px solid rgba(255, 240, 202, 0.4);
  border-radius: 50%;
  box-shadow: 0 0 32px rgba(243, 196, 106, 0.3);
  font-weight: 950;
}

.brand-copy {
  display: grid;
  gap: 1px;
}

.brand-name {
  font-size: 0.98rem;
  font-weight: 950;
  letter-spacing: 0;
}

.brand-ticker {
  color: rgba(255, 240, 202, 0.58);
  font-family: "Courier New", monospace;
  font-size: 0.8rem;
}

.nav-links {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  flex-wrap: wrap;
  gap: 8px;
}

.nav-link,
.small-button {
  min-height: 40px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0 14px;
  border: 1px solid rgba(255, 240, 202, 0.16);
  border-radius: 999px;
  color: rgba(255, 240, 202, 0.78);
  background: rgba(255, 240, 202, 0.055);
  font-size: 0.9rem;
  font-weight: 800;
  cursor: pointer;
  transition: transform 180ms ease, border-color 180ms ease, background 180ms ease;
}

.nav-link:hover,
.small-button:hover {
  transform: translateY(-2px);
  border-color: rgba(243, 196, 106, 0.72);
  background: rgba(243, 196, 106, 0.12);
}

.hero {
  padding: 28px 0 72px;
}

.royal-stage {
  position: relative;
  min-height: clamp(620px, 82vh, 860px);
  overflow: hidden;
  display: grid;
  align-items: stretch;
  border: 1px solid rgba(255, 240, 202, 0.18);
  border-radius: 34px;
  background: var(--night);
  box-shadow: var(--shadow);
}

.royal-stage::before,
.royal-stage::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.royal-stage::before {
  z-index: 1;
  background:
    linear-gradient(90deg, rgba(5, 7, 14, 0.92) 0%, rgba(5, 7, 14, 0.38) 50%, rgba(5, 7, 14, 0.88) 100%),
    linear-gradient(0deg, rgba(5, 7, 14, 0.95) 0%, transparent 44%);
}

.royal-stage::after {
  z-index: 2;
  border: 10px solid rgba(243, 196, 106, 0.08);
  border-radius: inherit;
  box-shadow: inset 0 0 0 1px rgba(255, 240, 202, 0.14);
}

.banner {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  filter: saturate(1.05) contrast(1.04);
}

.hero-grid {
  position: relative;
  z-index: 3;
  display: grid;
  grid-template-columns: minmax(0, 0.88fr) minmax(310px, 0.48fr);
  gap: clamp(24px, 5vw, 62px);
  align-items: end;
  padding: clamp(28px, 5.4vw, 72px);
}

.hero-copy {
  max-width: 720px;
}

.eyebrow {
  width: fit-content;
  margin: 0 0 18px;
  padding: 9px 13px;
  color: var(--cream);
  border: 1px solid rgba(243, 196, 106, 0.38);
  border-radius: 999px;
  background: rgba(5, 7, 14, 0.62);
  font-family: "Courier New", monospace;
  font-size: 0.84rem;
  font-weight: 900;
  text-transform: uppercase;
}

h1 {
  margin: 0;
  color: var(--cream);
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(4.1rem, 11vw, 10rem);
  line-height: 0.82;
  letter-spacing: 0;
}

.hero-text {
  max-width: 650px;
  margin: 26px 0 0;
  color: rgba(255, 240, 202, 0.78);
  font-size: clamp(1.04rem, 2vw, 1.26rem);
}

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

.primary-button,
.ghost-button {
  min-height: 50px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0 18px;
  border-radius: 999px;
  font-weight: 900;
  cursor: pointer;
  transition: transform 180ms ease, filter 180ms ease, border-color 180ms ease;
}

.primary-button {
  color: #1c0c12;
  border: 0;
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.62), transparent 38%),
    linear-gradient(135deg, var(--gold), var(--rose));
  box-shadow: 0 20px 50px rgba(243, 196, 106, 0.24);
}

.ghost-button {
  color: var(--cream);
  border: 1px solid rgba(255, 240, 202, 0.24);
  background: rgba(255, 240, 202, 0.07);
}

.primary-button:hover,
.ghost-button:hover {
  transform: translateY(-2px);
  filter: brightness(1.06);
}

.crest-card {
  --rx: 0deg;
  --ry: 0deg;
  position: relative;
  align-self: center;
  padding: 18px;
  border: 1px solid rgba(255, 240, 202, 0.24);
  border-radius: 30px;
  background:
    linear-gradient(180deg, rgba(255, 240, 202, 0.1), rgba(255, 240, 202, 0.03)),
    rgba(5, 7, 14, 0.7);
  box-shadow: 0 24px 70px rgba(0, 0, 0, 0.42);
  transform: perspective(900px) rotateX(var(--rx)) rotateY(var(--ry));
  transition: transform 180ms ease;
}

.crest-card img {
  display: block;
  width: 100%;
  aspect-ratio: 1;
  object-fit: cover;
  border: 1px solid rgba(255, 240, 202, 0.22);
  border-radius: 24px;
}

.crest-badge {
  position: absolute;
  left: 34px;
  right: 34px;
  bottom: 34px;
  display: flex;
  justify-content: space-between;
  gap: 14px;
  padding: 12px 14px;
  border: 1px solid rgba(243, 196, 106, 0.28);
  border-radius: 18px;
  background: rgba(5, 7, 14, 0.76);
  backdrop-filter: blur(12px);
}

.crest-badge span:first-child {
  color: rgba(255, 240, 202, 0.58);
  font-family: "Courier New", monospace;
  font-size: 0.8rem;
}

.crest-badge span:last-child {
  color: var(--gold);
  font-weight: 950;
}

.court-strip {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
  margin-top: 16px;
}

.strip-item {
  min-height: 86px;
  display: grid;
  align-content: center;
  gap: 2px;
  padding: 18px;
  border: 1px solid rgba(255, 240, 202, 0.16);
  border-radius: 20px;
  background: rgba(255, 240, 202, 0.055);
}

.strip-main {
  color: var(--gold);
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(1.4rem, 2.6vw, 2.25rem);
  line-height: 1;
  font-weight: 900;
}

.strip-label {
  color: rgba(255, 240, 202, 0.58);
  font-size: 0.82rem;
  font-weight: 800;
  text-transform: uppercase;
}

.section {
  padding: 74px 0;
}

.section-head {
  max-width: 760px;
  margin-bottom: 28px;
}

.kicker {
  margin: 0 0 10px;
  color: var(--rose);
  font-family: "Courier New", monospace;
  font-size: 0.86rem;
  font-weight: 900;
  text-transform: uppercase;
}

.section-title {
  margin: 0;
  color: var(--cream);
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(2.6rem, 6.4vw, 6.2rem);
  line-height: 0.88;
  letter-spacing: 0;
}

.section-copy {
  margin: 20px 0 0;
  color: rgba(255, 240, 202, 0.7);
  font-size: 1.04rem;
}

.royal-cards {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

.royal-card {
  min-height: 260px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 24px;
  border: 1px solid rgba(255, 240, 202, 0.16);
  border-radius: 26px;
  background:
    linear-gradient(145deg, rgba(243, 196, 106, 0.12), transparent 42%),
    rgba(255, 240, 202, 0.055);
  box-shadow: 0 22px 60px rgba(0, 0, 0, 0.24);
}

.royal-card:nth-child(2) {
  background:
    linear-gradient(145deg, rgba(136, 196, 204, 0.14), transparent 42%),
    rgba(255, 240, 202, 0.055);
}

.royal-card:nth-child(3) {
  background:
    linear-gradient(145deg, rgba(223, 150, 137, 0.14), transparent 42%),
    rgba(255, 240, 202, 0.055);
}

.card-mark {
  width: 52px;
  height: 52px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(243, 196, 106, 0.35);
  border-radius: 50%;
  color: var(--gold);
  background: rgba(5, 7, 14, 0.48);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.45rem;
  font-weight: 950;
}

.royal-card h3 {
  margin: 34px 0 12px;
  color: var(--cream);
  font-size: 1.28rem;
  line-height: 1.05;
}

.royal-card p {
  margin: 0;
  color: rgba(255, 240, 202, 0.68);
}

.coin-panel {
  position: relative;
  overflow: hidden;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(280px, 0.62fr);
  gap: 28px;
  align-items: end;
  padding: clamp(28px, 6vw, 58px);
  border: 1px solid rgba(255, 240, 202, 0.18);
  border-radius: 34px;
  background:
    radial-gradient(circle at 16% 10%, rgba(243, 196, 106, 0.22), transparent 20rem),
    radial-gradient(circle at 86% 20%, rgba(136, 196, 204, 0.16), transparent 19rem),
    linear-gradient(145deg, rgba(106, 16, 39, 0.44), rgba(5, 7, 14, 0.86));
  box-shadow: var(--shadow);
}

.coin-panel::before {
  content: "WIFDUKE";
  position: absolute;
  right: -0.08em;
  top: -0.16em;
  color: rgba(255, 240, 202, 0.045);
  font-size: clamp(4rem, 13vw, 12rem);
  font-weight: 950;
  line-height: 1;
}

.coin-panel > * {
  position: relative;
}

.coin-panel h2 {
  margin: 0;
  color: var(--cream);
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(3rem, 8vw, 7.4rem);
  line-height: 0.86;
}

.coin-panel p {
  max-width: 680px;
  margin: 20px 0 0;
  color: rgba(255, 240, 202, 0.72);
  font-size: 1.04rem;
}

.ledger {
  padding: 22px;
  border: 1px solid rgba(255, 240, 202, 0.18);
  border-radius: 22px;
  background: rgba(5, 7, 14, 0.48);
}

.ledger dl {
  margin: 0;
}

.ledger div {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  padding: 12px 0;
  border-bottom: 1px solid rgba(255, 240, 202, 0.12);
}

.ledger div:last-child {
  border-bottom: 0;
}

.ledger dt {
  color: rgba(255, 240, 202, 0.52);
}

.ledger dd {
  margin: 0;
  color: var(--gold);
  text-align: right;
  font-weight: 950;
}

.footer {
  padding: 34px 0 46px;
  border-top: 1px solid var(--line);
  color: rgba(255, 240, 202, 0.52);
}

.footer-inner {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  flex-wrap: wrap;
}

@media (max-width: 940px) {
  .hero-grid,
  .coin-panel,
  .royal-cards,
  .court-strip {
    grid-template-columns: 1fr;
  }

  .royal-stage {
    min-height: auto;
  }

  .hero-grid {
    padding-bottom: 34px;
  }

  .crest-card {
    max-width: 420px;
  }

  .nav {
    align-items: flex-start;
    flex-direction: column;
    padding: 16px 0;
  }

  .nav-links {
    justify-content: flex-start;
  }
}

@media (max-width: 560px) {
  .shell {
    width: min(100% - 22px, 1180px);
  }

  .hero {
    padding-top: 16px;
  }

  .royal-stage,
  .coin-panel {
    border-radius: 22px;
  }

  .hero-grid {
    padding: 22px;
  }

  h1 {
    font-size: clamp(3.2rem, 17vw, 5.2rem);
  }

  .brand-name {
    font-size: 0.9rem;
  }

  .nav-link,
  .small-button {
    min-height: 38px;
    padding: 0 12px;
  }

  .crest-badge {
    left: 26px;
    right: 26px;
    bottom: 26px;
  }
}
