:root {
  --bg: #050910;
  --bg-alt: #0b1220;
  --ink: #e7edf8;
  --muted: #b7c0d6;
  --gold: #d9b56f;
  --accent: #5bc7ff;
  --card: rgba(14, 23, 38, 0.8);
  --border: rgba(217, 181, 111, 0.4);
  --radius: 14px;
  --shadow: 0 16px 40px rgba(0, 0, 0, 0.45);
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: "Manrope", system-ui, -apple-system, sans-serif;
  background: radial-gradient(circle at 10% 10%, rgba(91, 199, 255, 0.12), transparent 30%),
    radial-gradient(circle at 90% 0%, rgba(217, 181, 111, 0.12), transparent 30%),
    linear-gradient(140deg, #050910 0%, #050910 40%, #0b1220 100%);
  color: var(--ink);
  min-height: 100vh;
  position: relative;
  overflow-x: hidden;
  padding: 0 0 56px;
}

.page-noise {
  position: fixed;
  inset: 0;
  pointer-events: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 160 160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.8' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='0.045'/%3E%3C/svg%3E");
  z-index: 0;
}

.hero {
  position: relative;
  padding: 32px clamp(16px, 5vw, 64px) 64px;
  max-width: 1200px;
  margin: 0 auto;
  z-index: 1;
}

.hero::before {
  content: "";
  position: absolute;
  inset: 20% -15% -10% -15%;
  background: radial-gradient(circle at 25% 30%, rgba(91, 199, 255, 0.22), transparent 40%),
    radial-gradient(circle at 75% 10%, rgba(217, 181, 111, 0.2), transparent 35%);
  filter: blur(30px);
  z-index: -1;
}

.nav {
  display: grid;
  grid-template-columns: 1fr auto auto;
  align-items: center;
  gap: 16px;
  padding: 8px 16px;
  background: linear-gradient(120deg, rgba(217, 181, 111, 0.12), transparent);
  border: 1px solid rgba(217, 181, 111, 0.24);
  border-radius: 999px;
  box-shadow: var(--shadow);
  backdrop-filter: blur(12px);
  position: relative;
  width: 100%;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-family: "Cinzel", "Times New Roman", serif;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.crest {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: linear-gradient(135deg, rgba(217, 181, 111, 0.8), rgba(91, 199, 255, 0.8));
  color: #051224;
  font-weight: 700;
}

.brand-text {
  display: flex;
  flex-direction: column;
}

.brand-name {
  font-size: 15px;
}

.brand-tagline {
  color: var(--muted);
  font-size: 11px;
  letter-spacing: 0.12em;
}

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

.nav-links a {
  text-decoration: none;
  color: var(--muted);
  font-weight: 600;
  font-size: 14px;
  padding: 8px 12px;
  border-radius: 999px;
  transition: color 0.2s ease, background 0.2s ease;
}

.nav-links a:hover {
  color: var(--ink);
  background: rgba(91, 199, 255, 0.12);
}

.nav-actions {
  display: flex;
  gap: 10px;
  justify-content: flex-end;
}

.cta,
.ghost {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 18px;
  border-radius: 999px;
  font-weight: 700;
  text-decoration: none;
  font-size: 14px;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease, color 0.2s ease;
}

.cta {
  background: linear-gradient(120deg, #d9b56f 0%, #f0d28d 50%, #d9b56f 100%);
  color: #0c1018;
  box-shadow: 0 10px 30px rgba(217, 181, 111, 0.35);
}

.cta.slim {
  padding: 10px 16px;
  font-size: 13px;
}

.ghost {
  border: 1px solid rgba(91, 199, 255, 0.4);
  color: var(--ink);
  background: rgba(91, 199, 255, 0.08);
}

.cta:hover,
.ghost:hover {
  transform: translateY(-2px);
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 32px;
  align-items: center;
  margin-top: 48px;
}

.hero-copy h1 {
  font-family: "Cinzel", "Times New Roman", serif;
  font-size: clamp(30px, 4vw, 48px);
  margin: 12px 0 16px;
  line-height: 1.1;
}

.hero-copy .lede {
  color: var(--muted);
  font-size: 16px;
  line-height: 1.6;
  max-width: 640px;
}

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

.hero-actions {
  display: flex;
  gap: 12px;
  margin: 24px 0 12px;
  flex-wrap: wrap;
}

.hero-meta {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 14px;
  margin-top: 18px;
}

.hero-meta .label {
  display: block;
  color: var(--muted);
  font-size: 12px;
  letter-spacing: 0.08em;
}

.hero-meta .value {
  display: block;
  font-weight: 700;
  margin-top: 2px;
}

.hero-visual {
  display: flex;
  justify-content: flex-end;
}

.hero-frame {
  position: relative;
  background: linear-gradient(150deg, rgba(217, 181, 111, 0.2), rgba(91, 199, 255, 0.2));
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  isolation: isolate;
}

.hero-frame img {
  display: block;
  width: 100%;
  height: auto;
}

.hero-frame .shine {
  position: absolute;
  inset: -40%;
  background: radial-gradient(circle at 30% 30%, rgba(91, 199, 255, 0.18), transparent 45%),
    radial-gradient(circle at 80% 0%, rgba(217, 181, 111, 0.18), transparent 35%);
  filter: blur(24px);
  animation: shimmer 9s ease-in-out infinite alternate;
}

@keyframes shimmer {
  from {
    transform: translateX(0) translateY(0);
  }
  to {
    transform: translateX(-10px) translateY(8px);
  }
}

.hero-banner {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  background: linear-gradient(120deg, rgba(0, 0, 0, 0.65), rgba(12, 23, 39, 0.85));
  padding: 12px 18px;
  font-weight: 700;
  letter-spacing: 0.04em;
}

main {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 clamp(16px, 5vw, 64px) 80px;
  position: relative;
  z-index: 1;
}

.section {
  margin-top: 72px;
  background: linear-gradient(160deg, rgba(12, 23, 39, 0.75), rgba(7, 12, 20, 0.9));
  border: 1px solid rgba(217, 181, 111, 0.12);
  border-radius: var(--radius);
  padding: 32px clamp(16px, 4vw, 40px);
  box-shadow: var(--shadow);
}

.section-heading h2 {
  font-family: "Cinzel", "Times New Roman", serif;
  font-size: clamp(24px, 3vw, 34px);
  margin: 6px 0 10px;
}

.section-lede {
  color: var(--muted);
  font-size: 16px;
  line-height: 1.6;
  max-width: 820px;
}

.pillars {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 16px;
  margin-top: 22px;
}

.pillar {
  padding: 18px;
  background: rgba(13, 22, 36, 0.8);
  border: 1px solid rgba(91, 199, 255, 0.18);
  border-radius: var(--radius);
  transition: transform 0.2s ease, border-color 0.2s ease;
}

.pillar h3 {
  margin: 0 0 8px;
  font-family: "Cinzel", "Times New Roman", serif;
}

.pillar p {
  margin: 0;
  color: var(--muted);
}

.pillar:hover {
  transform: translateY(-4px);
  border-color: rgba(217, 181, 111, 0.4);
}

.cards .card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 16px;
  margin-top: 20px;
}

.card {
  background: var(--card);
  border: 1px solid rgba(217, 181, 111, 0.16);
  border-radius: var(--radius);
  padding: 18px;
  position: relative;
  overflow: hidden;
  transition: transform 0.2s ease, border-color 0.2s ease;
}

.card::after {
  content: "";
  position: absolute;
  inset: -30% 30% auto auto;
  width: 160px;
  height: 160px;
  background: radial-gradient(circle, rgba(91, 199, 255, 0.18), transparent 60%);
  transform: rotate(8deg);
}

.card-topper {
  font-size: 12px;
  letter-spacing: 0.12em;
  color: var(--gold);
  text-transform: uppercase;
  margin-bottom: 8px;
}

.card h3 {
  margin: 0 0 8px;
  font-family: "Cinzel", "Times New Roman", serif;
}

.card p {
  color: var(--muted);
  margin: 0 0 12px;
  position: relative;
  z-index: 1;
}

.tag {
  display: inline-block;
  padding: 6px 10px;
  background: rgba(91, 199, 255, 0.14);
  border: 1px solid rgba(91, 199, 255, 0.3);
  border-radius: 999px;
  font-size: 12px;
  font-weight: 700;
  position: relative;
  z-index: 1;
}

.card:hover {
  transform: translateY(-6px);
  border-color: var(--border);
}

.feature-panels .panel {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 20px;
  align-items: stretch;
}

.panel {
  background: linear-gradient(135deg, rgba(9, 16, 28, 0.8), rgba(12, 22, 36, 0.8));
  border-radius: var(--radius);
  border: 1px solid rgba(91, 199, 255, 0.2);
  padding: 20px;
}

.panel-copy h2 {
  font-family: "Cinzel", "Times New Roman", serif;
  margin: 6px 0 10px;
  font-size: clamp(22px, 3vw, 30px);
}

.panel-copy p {
  color: var(--muted);
  line-height: 1.6;
}

.bullets {
  padding-left: 18px;
  color: var(--ink);
  line-height: 1.6;
}

.panel-visual {
  display: grid;
  align-content: space-between;
  gap: 14px;
  background: radial-gradient(circle at 30% 30%, rgba(217, 181, 111, 0.18), transparent 40%),
    radial-gradient(circle at 70% 70%, rgba(91, 199, 255, 0.18), transparent 50%);
  border: 1px solid rgba(217, 181, 111, 0.24);
  border-radius: var(--radius);
  padding: 18px;
  text-align: center;
}

.sigil {
  font-family: "Cinzel", "Times New Roman", serif;
  font-size: 20px;
  border: 1px solid rgba(217, 181, 111, 0.4);
  padding: 24px;
  border-radius: 50%;
  width: 180px;
  height: 180px;
  display: grid;
  place-items: center;
  margin: 0 auto;
  background: rgba(5, 14, 26, 0.7);
}

.panel-note {
  color: var(--muted);
  font-size: 14px;
}

.highlight {
  background: linear-gradient(145deg, rgba(217, 181, 111, 0.12), rgba(91, 199, 255, 0.1));
  border: 1px solid var(--border);
}

.highlight-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 18px;
  align-items: stretch;
}

.highlight-card {
  background: rgba(10, 18, 30, 0.8);
  border: 1px solid rgba(91, 199, 255, 0.2);
  border-radius: var(--radius);
  padding: 18px;
  box-shadow: inset 0 0 0 1px rgba(217, 181, 111, 0.14);
}

.highlight-card h3 {
  font-family: "Cinzel", "Times New Roman", serif;
  margin: 6px 0 8px;
}

.requirements .req-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 16px;
  margin-top: 16px;
}

.req-card {
  background: rgba(10, 16, 27, 0.85);
  border: 1px solid rgba(217, 181, 111, 0.2);
  border-radius: var(--radius);
  padding: 16px;
}

.req-card h3 {
  margin: 4px 0 10px;
  font-family: "Cinzel", "Times New Roman", serif;
}

.req-card ul {
  padding-left: 18px;
  margin: 0;
  color: var(--muted);
  line-height: 1.5;
}

.community {
  background: linear-gradient(120deg, rgba(217, 181, 111, 0.14), rgba(5, 11, 19, 0.92));
}

.community-card {
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: center;
  gap: 16px;
}

.community-actions {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  justify-content: flex-end;
}

.to-top {
  position: fixed;
  right: 24px;
  bottom: 24px;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  font-weight: 800;
  letter-spacing: 0.08em;
  color: #051224;
  background: linear-gradient(135deg, #d9b56f, #f3dca4);
  text-decoration: none;
  box-shadow: 0 10px 28px rgba(0, 0, 0, 0.35);
  z-index: 50;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.to-top:hover {
  transform: translateY(-4px);
  box-shadow: 0 14px 32px rgba(0, 0, 0, 0.45);
}

.footer {
  padding: 40px 16px 60px;
  text-align: center;
  color: var(--muted);
  font-size: 14px;
}

.footer-inner {
  max-width: 1200px;
  margin: 0 auto;
  border-top: 1px solid rgba(217, 181, 111, 0.2);
  padding-top: 18px;
}

.footer .brand {
  justify-content: center;
  margin-bottom: 6px;
}

.small {
  font-size: 12px;
  color: #8c96aa;
}

@media (max-width: 960px) {
  .nav {
    grid-template-columns: 1fr;
    justify-items: center;
    width: calc(100% - 24px);
    padding: 12px;
    gap: 12px;
  }

  .nav-links {
    flex-wrap: wrap;
    justify-content: center;
    width: 100%;
    gap: 10px;
  }

  .nav-actions {
    justify-content: center;
    width: 100%;
    gap: 8px;
  }

  .hero-grid {
    grid-template-columns: 1fr;
    gap: 20px;
    margin-top: 32px;
  }

  .hero-copy {
    text-align: center;
  }

  .hero-actions {
    justify-content: center;
  }

  .hero-visual {
    order: -1;
  }

  .feature-panels .panel,
  .highlight-grid,
  .community-card {
    grid-template-columns: 1fr;
  }

  .sigil {
    width: 140px;
    height: 140px;
    font-size: 16px;
  }
}

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

  main {
    padding: 0 16px 64px;
  }

  .section {
    padding: 20px 16px;
    margin-top: 56px;
  }

  .hero-copy h1 {
    font-size: 28px;
  }

  .hero-copy .lede,
  .section-lede {
    font-size: 15px;
  }

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

  .hero-actions {
    flex-direction: column;
  }

  .cta,
  .ghost {
    width: 100%;
    justify-content: center;
  }

  .cards .card-grid,
  .pillars {
    grid-template-columns: 1fr;
  }

  .feature-panels .panel,
  .highlight-grid,
  .community-card {
    grid-template-columns: 1fr;
  }

  .to-top {
    right: 16px;
    bottom: 16px;
    width: 44px;
    height: 44px;
    font-size: 18px;
  }
}
