:root {
  --ink: #070d17;
  --ink-2: #0f1d2f;
  --gold: #f0ce84;
  --gold-soft: #e2ba73;
  --ivory: #f6f0df;
  --bronze-shadow: #4f3719;
}

* {
  box-sizing: border-box;
}

html,
body {
  width: 100%;
  min-height: 100%;
  margin: 0;
}

body {
  font-family: "Montserrat", system-ui, sans-serif;
  color: var(--ivory);
  background: var(--ink);
}

.landing {
  position: relative;
  height: 100svh;
  min-height: 100svh;
  overflow: hidden;
  isolation: isolate;
  background:
    radial-gradient(circle at 50% 58%, rgba(170, 132, 72, 0.16), transparent 44%),
    radial-gradient(circle at 50% -12%, rgba(55, 86, 133, 0.42), transparent 58%),
    radial-gradient(circle at 50% 15%, rgba(17, 31, 53, 0.86), transparent 52%),
    linear-gradient(180deg, #0a1320 0%, #070c16 53%, #080d16 100%);
}

.landing::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background:
    radial-gradient(circle at 18% 53%, rgba(250, 205, 126, 0.15) 0 1px, transparent 1px),
    radial-gradient(circle at 27% 65%, rgba(250, 205, 126, 0.18) 0 1.3px, transparent 1.3px),
    radial-gradient(circle at 70% 66%, rgba(250, 205, 126, 0.17) 0 1px, transparent 1px),
    radial-gradient(circle at 76% 56%, rgba(250, 205, 126, 0.15) 0 1.2px, transparent 1.2px),
    radial-gradient(circle at 83% 49%, rgba(250, 205, 126, 0.17) 0 1.2px, transparent 1.2px),
    radial-gradient(circle at 14% 72%, rgba(250, 205, 126, 0.21) 0 1px, transparent 1px),
    radial-gradient(circle at 80% 73%, rgba(250, 205, 126, 0.22) 0 1.1px, transparent 1.1px),
    radial-gradient(circle at 61% 81%, rgba(250, 205, 126, 0.12) 0 1.3px, transparent 1.3px);
  opacity: 0.82;
}

.landing::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background:
    radial-gradient(circle at 50% 8%, rgba(232, 198, 117, 0.23), transparent 38%),
    linear-gradient(180deg, rgba(3, 7, 13, 0) 58%, rgba(3, 7, 13, 0.4) 100%);
}

.rune-ring {
  position: absolute;
  top: 40%;
  left: 50%;
  z-index: 1;
  width: min(48vw, 560px);
  transform: translate(-50%, -50%);
  opacity: 0.38;
  filter: blur(0.2px) drop-shadow(0 0 28px rgba(241, 191, 102, 0.28));
  pointer-events: none;
  transform-origin: 50% 50%;
  animation: runeAlive 22s ease-in-out infinite, runeSpin 110s linear infinite;
}

.particles-layer {
  position: absolute;
  top: 45%;
  left: 50%;
  z-index: 1.5;
  width: min(82vw, 980px);
  transform: translate(-50%, -50%) scale(1.65);
  mix-blend-mode: screen;
  opacity: 0.28;
  pointer-events: none;
  filter: blur(0.15px) saturate(1.15);
  animation: particlesDrift 9s ease-in-out infinite;
}

.hero-wrap {
  position: absolute;
  left: 50%;
  bottom: -2.5vh;
  top: auto;
  z-index: 2;
  transform: translateX(-50%);
  filter:
    drop-shadow(0 0 26px rgba(226, 173, 84, 0.18))
    drop-shadow(0 0 52px rgba(226, 173, 84, 0.11));
  animation: heroFloat 6s ease-in-out infinite, heroAura 5.5s ease-in-out infinite;
}

.odin {
  display: block;
  height: clamp(620px, 96vh, 860px);
  width: auto;
  pointer-events: none;
}

.topbar {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  z-index: 5;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: clamp(1rem, 2.6vw, 1.75rem) clamp(1.1rem, 3.8vw, 2.5rem) 0;
}

.brand {
  width: clamp(56px, 7.3vw, 74px);
  color: inherit;
}

.brand img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 7px;
  filter: drop-shadow(0 0 7px rgba(214, 164, 93, 0.45));
}

.menu {
  display: flex;
  align-items: center;
  gap: 0;
  font-size: clamp(0.57rem, 1.08vw, 0.68rem);
  font-weight: 700;
  letter-spacing: 0.055em;
}

.menu a {
  text-decoration: none;
  color: rgba(245, 238, 224, 0.94);
  padding: 0 0.62rem;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.75);
  transition: color 180ms ease, text-shadow 180ms ease;
}

.menu a + a {
  border-left: 1px solid rgba(245, 238, 224, 0.64);
}

.menu a:hover {
  color: #ffd68d;
  text-shadow:
    0 0 8px rgba(255, 202, 120, 0.82),
    0 0 18px rgba(236, 170, 76, 0.44);
}

.hero-copy {
  position: absolute;
  top: auto;
  bottom: clamp(3.5rem, 9.5vh, 8rem);
  left: 50%;
  z-index: 4;
  text-align: center;
  max-width: min(980px, 92vw);
  transform: translateX(-50%);
  padding: 0 1rem;
}

.hero-copy h1 {
  margin: 0;
  font-family: "Cinzel", "Times New Roman", serif;
  font-size: clamp(1.82rem, 5.15vw, 4.2rem);
  font-weight: 700;
  line-height: 0.9;
  letter-spacing: 0.008em;
  color: var(--gold);
  -webkit-text-stroke: 0.7px rgba(68, 37, 12, 0.9);
  text-shadow:
    0 1px 0 #fff6cc,
    0 2px 0 #bf9354,
    0 3px 0 #8e6532,
    0 5px 0 #5a3818,
    0 12px 18px rgba(0, 0, 0, 0.72),
    0 0 24px rgba(238, 184, 88, 0.26);
}

.hero-copy h1 span {
  display: block;
  white-space: nowrap;
}

.hero-copy p {
  margin: clamp(0.9rem, 1.35vw, 1.15rem) 0 0;
  font-family: "Cinzel", "Times New Roman", serif;
  font-size: clamp(1.82rem, 5.15vw, 4.2rem);
  line-height: 1;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.008em;
  color: #ffffff;
  text-shadow:
    0 0 10px rgba(255, 255, 255, 0.95),
    0 0 24px rgba(255, 255, 255, 0.56),
    0 2px 0 rgba(13, 13, 14, 0.85),
    0 7px 12px rgba(0, 0, 0, 0.88);
}

.hero-copy p span {
  display: block;
  white-space: nowrap;
}

.cta {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-top: clamp(1.05rem, 2.1vw, 1.5rem);
  margin-left: auto;
  margin-right: auto;
  width: clamp(260px, 28.5vw, 390px);
  text-decoration: none;
  color: var(--gold);
  filter: drop-shadow(0 8px 12px rgba(0, 0, 0, 0.36));
}

.cta img {
  width: 100%;
  height: auto;
  display: block;
}

.ca-box {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  margin: 0.65rem auto 0;
  width: fit-content;
  max-width: min(88vw, 660px);
  padding: 0.38rem 0.5rem 0.38rem 0.55rem;
  border: 1px solid rgba(243, 215, 157, 0.42);
  border-radius: 6px;
  background: linear-gradient(180deg, rgba(15, 18, 28, 0.8), rgba(8, 10, 16, 0.92));
  box-shadow:
    inset 0 1px 0 rgba(255, 232, 190, 0.16),
    0 8px 20px rgba(0, 0, 0, 0.45);
}

.ca-label {
  display: inline-block;
  padding: 0.2rem 0.4rem;
  border-radius: 4px;
  background: rgba(243, 185, 89, 0.16);
  color: #f3c97d;
  font-size: 0.66rem;
  font-weight: 800;
  letter-spacing: 0.08em;
}

.ca-value {
  display: inline-block;
  max-width: min(54vw, 460px);
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  padding: 0 0.1rem;
  color: #f7ead0;
  font-size: 0.72rem;
  letter-spacing: 0.015em;
}

.ca-copy {
  border: 1px solid rgba(244, 218, 169, 0.52);
  border-radius: 4px;
  background: linear-gradient(180deg, rgba(164, 112, 42, 0.9), rgba(96, 61, 20, 0.95));
  color: #f6e2b0;
  font-size: 0.66rem;
  font-weight: 800;
  letter-spacing: 0.055em;
  padding: 0.29rem 0.52rem 0.24rem;
  cursor: pointer;
  transition: filter 180ms ease, transform 180ms ease;
}

.ca-copy:hover {
  filter: brightness(1.1);
  transform: translateY(-1px);
}

@media (max-width: 900px) {
  .rune-ring {
    top: 43%;
    width: min(80vw, 540px);
  }

  .hero-wrap {
    top: 16vh;
    bottom: auto;
  }

  .odin {
    height: 90vh;
  }

  .hero-copy {
    top: auto;
    bottom: clamp(4.6rem, 13vh, 8rem);
  }

  .hero-copy h1 {
    font-size: clamp(1.45rem, 5.8vw, 2.9rem);
  }

  .hero-copy p {
    font-size: clamp(1.45rem, 5.8vw, 2.9rem);
  }

  .ca-value {
    max-width: min(51vw, 360px);
  }

  .particles-layer {
    top: 47%;
    width: min(110vw, 900px);
    opacity: 0.25;
  }
}

@media (max-width: 700px) {
  .menu {
    font-size: 0.5rem;
  }

  .menu a {
    padding: 0 0.4rem;
  }

  .hero-copy {
    top: auto;
    bottom: clamp(5.6rem, 15vh, 9rem);
  }

  .hero-copy h1 {
    line-height: 0.98;
    letter-spacing: 0.01em;
  }

  .cta {
    width: clamp(220px, 50vw, 280px);
  }

  .ca-box {
    margin-top: 0.55rem;
  }

  .ca-value {
    max-width: min(50vw, 270px);
    font-size: 0.66rem;
  }
}

@media (max-width: 540px) and (orientation: portrait) {
  .landing {
    min-height: 100dvh;
  }

  .topbar {
    padding: 0.85rem 0.75rem 0;
  }

  .brand {
    width: 52px;
  }

  .menu {
    font-size: 0.45rem;
    letter-spacing: 0.03em;
  }

  .menu a {
    padding: 0 0.22rem;
  }

  .hero-copy {
    top: auto;
    bottom: 20vh;
    max-width: 98vw;
    padding: 0 0.4rem;
  }

  .hero-copy h1 {
    font-size: clamp(1.32rem, 6.2vw, 1.8rem);
    line-height: 0.92;
  }

  .hero-copy p {
    margin-top: 0.72rem;
    font-size: clamp(1.32rem, 6.2vw, 1.8rem);
  }

  .cta {
    margin-top: 0.9rem;
    width: clamp(220px, 71vw, 290px);
  }

  .ca-box {
    margin-top: 0.5rem;
    gap: 0.33rem;
    padding: 0.32rem 0.38rem;
  }

  .ca-label {
    font-size: 0.58rem;
    padding: 0.16rem 0.28rem;
  }

  .ca-value {
    max-width: 46vw;
    font-size: 0.55rem;
  }

  .ca-copy {
    font-size: 0.56rem;
    padding: 0.22rem 0.36rem 0.2rem;
  }

  .hero-wrap {
    top: auto;
    bottom: -8vh;
  }

  .odin {
    height: 70vh;
    max-height: 600px;
  }

  .rune-ring {
    top: 49%;
    width: 126vw;
    max-width: 640px;
    opacity: 0.43;
  }

  .particles-layer {
    top: 53%;
    width: 170vw;
    opacity: 0.22;
  }
}

@media (max-height: 430px) {
  .topbar {
    padding: 0.75rem 1rem 0;
  }

  .brand {
    width: 50px;
  }

  .menu {
    font-size: 0.54rem;
  }

  .hero-copy {
    top: auto;
    bottom: 8vh;
  }

  .hero-copy h1 {
    font-size: clamp(1.35rem, 5.2vw, 1.95rem);
    transform: scaleX(0.89);
    transform-origin: center;
  }

  .hero-copy p {
    margin-top: 0.45rem;
    font-size: clamp(1.35rem, 5.2vw, 1.95rem);
  }

  .cta {
    margin-top: 0.72rem;
    width: clamp(200px, 35vw, 250px);
  }

  .ca-box {
    margin-top: 0.42rem;
    padding: 0.26rem 0.32rem;
  }

  .ca-label {
    font-size: 0.5rem;
  }

  .ca-value {
    font-size: 0.52rem;
  }

  .rune-ring {
    top: 44%;
    opacity: 0.34;
  }

  .particles-layer {
    top: 47%;
    width: 120vw;
    opacity: 0.2;
  }

  .hero-wrap {
    top: -1vh;
    bottom: auto;
  }

  .odin {
    height: 118vh;
  }
}

@keyframes heroFloat {
  0%,
  100% {
    transform: translateX(-50%) translateY(0px);
  }
  50% {
    transform: translateX(-50%) translateY(-8px);
  }
}

@keyframes heroAura {
  0%,
  100% {
    filter:
      drop-shadow(0 0 24px rgba(226, 173, 84, 0.16))
      drop-shadow(0 0 46px rgba(226, 173, 84, 0.1));
  }
  50% {
    filter:
      drop-shadow(0 0 32px rgba(231, 182, 98, 0.26))
      drop-shadow(0 0 64px rgba(231, 182, 98, 0.16));
  }
}

@keyframes runeAlive {
  0%,
  100% {
    opacity: 0.34;
    filter: blur(0.2px) drop-shadow(0 0 24px rgba(241, 191, 102, 0.22));
  }
  50% {
    opacity: 0.47;
    filter: blur(0.2px) drop-shadow(0 0 36px rgba(241, 191, 102, 0.34));
  }
}

@keyframes runeSpin {
  0% {
    transform: translate(-50%, -50%) rotate(0deg);
  }
  100% {
    transform: translate(-50%, -50%) rotate(360deg);
  }
}

@keyframes particlesDrift {
  0%,
  100% {
    transform: translate(-50%, -50%) scale(1.65) translateY(0px);
  }
  50% {
    transform: translate(-50%, -50%) scale(1.71) translateY(-6px);
  }
}
