:root {
  --gold: #d4a843;
  --gold-light: #f5c842;
  --gold-pale: #ffe08a;
  --pink: #e879a0;
  --purple: #7b3fbf;
  --purple-deep: #3a1060;
  --cyan: #22d3ee;
  --bg: #050208;
  --white: #ffffff;
  --text-muted: rgba(255, 255, 255, 0.68);
  --panel: rgba(8, 4, 15, 0.76);
  --line: rgba(212, 168, 67, 0.35);
  --mx: 0;
  --my: 0;
}

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

html,
body {
  width: 100%;
  min-height: 100%;
  margin: 0;
  background: var(--bg);
  color: var(--white);
  font-family: Raleway, Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  letter-spacing: 0;
  overflow-x: hidden;
}

body {
  cursor: none;
}

button,
input,
textarea {
  font: inherit;
}

button {
  border: 0;
  cursor: none;
}

svg {
  stroke-linecap: round;
  stroke-linejoin: round;
}

#cursor,
#cursor-dot {
  position: fixed;
  top: 0;
  left: 0;
  z-index: 9999;
  pointer-events: none;
  border-radius: 50%;
  transform: translate(-50%, -50%);
}

#cursor {
  width: 18px;
  height: 18px;
  border: 2px solid var(--gold);
  opacity: 0;
  mix-blend-mode: screen;
  transition: transform 150ms ease, border-color 180ms ease, opacity 200ms ease;
}

#cursor-dot {
  width: 5px;
  height: 5px;
  background: var(--gold-light);
  opacity: 0;
}

body.has-pointer #cursor,
body.has-pointer #cursor-dot {
  opacity: 1;
}

#cursor.hovered {
  transform: translate(-50%, -50%) scale(2.45);
  border-color: var(--pink);
}

#starfield,
.particles,
.scanlines {
  position: fixed;
  inset: 0;
  pointer-events: none;
}

#starfield {
  z-index: 0;
}

.particles {
  z-index: 1;
  overflow: hidden;
}

.particle {
  position: absolute;
  width: 3px;
  height: 3px;
  border-radius: 50%;
  background: var(--gold);
  opacity: 0;
  animation: floatUp var(--dur) var(--delay) infinite ease-in;
  will-change: transform, opacity;
}

.scanlines {
  z-index: 5;
  background: repeating-linear-gradient(
    0deg,
    rgba(0, 0, 0, 0) 0,
    rgba(0, 0, 0, 0) 2px,
    rgba(0, 0, 0, 0.04) 2px,
    rgba(0, 0, 0, 0.04) 4px
  );
}

.wrapper {
  position: relative;
  z-index: 10;
  display: grid;
  grid-template-rows: 1fr auto auto;
  min-height: 100vh;
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(320px, 0.9fr);
  align-items: center;
  gap: clamp(30px, 5vw, 70px);
  min-height: calc(100vh - 158px);
  padding: clamp(42px, 6vw, 76px) clamp(28px, 7vw, 92px);
}

.hero-left {
  display: flex;
  flex-direction: column;
  gap: 28px;
  max-width: 720px;
  will-change: transform;
}

.headline,
.sub,
.notify-form {
  opacity: 0;
  animation: fadeSlideUp 760ms ease-out forwards;
}

.headline {
  animation-delay: 220ms;
}

.eyebrow,
.headline-sub {
  margin: 0;
  color: rgba(255, 255, 255, 0.76);
  font-size: clamp(0.78rem, 1.1vw, 0.95rem);
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.headline h1 {
  margin: 8px 0 10px;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(2.85rem, 5.9vw, 5.9rem);
  font-weight: 900;
  line-height: 0.96;
  letter-spacing: 0;
  text-transform: uppercase;
}

.headline h1 .white {
  color: var(--white);
}

.gradient-text {
  display: inline-block;
  background: linear-gradient(90deg, #2ea7ff 0%, #9256ff 48%, var(--pink) 78%, var(--gold-light) 100%);
  background-clip: text;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.headline-sub {
  color: var(--gold-light);
}

.sub {
  max-width: 640px;
  margin: 0;
  color: var(--text-muted);
  font-size: clamp(1rem, 1.35vw, 1.25rem);
  font-weight: 300;
  line-height: 1.75;
  animation-delay: 440ms;
}

.sub .accent {
  color: var(--gold-light);
  font-weight: 700;
}

.notify-form {
  animation-delay: 640ms;
}

.notify-form p {
  margin: 0 0 14px;
  color: var(--gold);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.input-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  width: min(100%, 510px);
  min-height: 58px;
  padding: 7px;
  color: var(--white);
  text-align: left;
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.04), rgba(123, 63, 191, 0.12)) padding-box,
    linear-gradient(135deg, rgba(212, 168, 67, 0.58), rgba(232, 121, 160, 0.3), rgba(34, 211, 238, 0.3)) border-box;
  border: 1px solid transparent;
  border-radius: 999px;
  overflow: hidden;
  backdrop-filter: blur(8px);
  transition: transform 180ms ease, box-shadow 180ms ease, border-color 180ms ease;
}

.input-row span {
  min-width: 0;
  padding-left: 18px;
  color: rgba(255, 255, 255, 0.58);
  font-size: 0.88rem;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.input-row strong {
  flex: 0 0 auto;
  display: inline-grid;
  place-items: center;
  min-height: 44px;
  padding: 0 24px;
  color: #1a0d00;
  background: linear-gradient(135deg, var(--gold), var(--gold-light));
  border-radius: 999px;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 0.78rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.input-row:hover,
.input-row:focus-visible {
  outline: none;
  transform: translateY(-2px);
  box-shadow: 0 0 28px rgba(212, 168, 67, 0.22);
}

.success-msg {
  display: none;
  align-items: center;
  gap: 10px;
  margin-top: 12px;
  color: var(--gold-light);
  font-size: 0.9rem;
}

.hero-right {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  animation: fadeIn 1s 240ms ease-out forwards;
}

.orb-container {
  position: relative;
  width: clamp(330px, 42vw, 590px);
  aspect-ratio: 1;
  will-change: transform;
}

.ring,
.orb-glow,
.unicorn-img,
.ws-orbit,
.orbit-dot {
  position: absolute;
}

.ring {
  inset: 0;
  border: 1.5px solid transparent;
  border-radius: 50%;
}

.ring-1 {
  border-color: rgba(212, 168, 67, 0.45);
  box-shadow: inset 0 0 30px rgba(212, 168, 67, 0.12);
  animation: spin 18s linear infinite;
}

.ring-2 {
  inset: 8%;
  border-color: rgba(123, 63, 191, 0.5);
  animation: spin 28s linear infinite reverse;
}

.ring-3 {
  inset: 16%;
  border-top-color: rgba(212, 168, 67, 0.7);
  border-right-color: rgba(232, 121, 160, 0.5);
  animation: spin 12s linear infinite;
}

.orb-glow {
  inset: 12%;
  border-radius: 50%;
  background: radial-gradient(ellipse at 40% 35%, rgba(123, 63, 191, 0.55) 0%, rgba(58, 16, 96, 0.6) 50%, transparent 75%);
  animation: pulseGlow 4s ease-in-out infinite;
  will-change: opacity, transform;
}

.unicorn-img {
  inset: 10%;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  border-radius: 50%;
}

.unicorn-img picture {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 100%;
}

.unicorn-img img {
  display: block;
  width: 85%;
  height: 85%;
  object-fit: contain;
  filter: drop-shadow(0 0 24px rgba(212, 168, 67, 0.58)) drop-shadow(0 0 8px rgba(100, 150, 255, 0.34));
  animation: floatUnicorn 5s ease-in-out infinite;
  will-change: transform;
}

.ws-orbit {
  inset: 0;
  animation: spin 14s linear infinite;
  will-change: transform;
}

.ws-badge {
  position: absolute;
  top: 50%;
  left: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 5px 12px;
  background: rgba(5, 2, 8, 0.78);
  border: 1px solid rgba(212, 168, 67, 0.44);
  border-radius: 999px;
  box-shadow: 0 0 14px rgba(212, 168, 67, 0.28);
  backdrop-filter: blur(6px);
  transform: translate(-50%, -50%) translateX(clamp(140px, 20vw, 265px));
}

.ws-badge-inner {
  display: flex;
  align-items: center;
  animation: spin 14s linear infinite reverse;
}

.ws-badge-inner picture,
.ws-badge-inner img {
  display: block;
}

.ws-badge-inner img {
  width: auto;
  height: 26px;
}

.orbit-dot {
  top: 50%;
  left: 50%;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--gold-light);
  box-shadow: 0 0 12px var(--gold), 0 0 24px rgba(212, 168, 67, 0.5);
  transform-origin: 0 0;
}

.orbit-dot-1 {
  animation: orbitDot 6s linear infinite;
}

.orbit-dot-2 {
  width: 6px;
  height: 6px;
  background: var(--pink);
  box-shadow: 0 0 10px var(--pink);
  animation: orbitDot 9s linear infinite reverse;
}

.features {
  position: relative;
  z-index: 10;
  display: grid;
  grid-template-columns: minmax(0, 1fr) 1px minmax(0, 1fr) 1px minmax(0, 1fr) 1px minmax(0, 1fr);
  gap: 24px;
  padding: 34px clamp(28px, 7vw, 92px);
  background: rgba(255, 255, 255, 0.015);
  border-top: 1px solid rgba(212, 168, 67, 0.18);
  backdrop-filter: blur(6px);
}

.feature-item {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  min-width: 0;
  opacity: 0;
  animation: fadeSlideUp 700ms ease-out forwards;
  transition: transform 220ms ease;
}

.feature-item:hover {
  transform: translateY(-4px);
}

.feature-item:nth-child(1) {
  animation-delay: 960ms;
}

.feature-item:nth-child(3) {
  animation-delay: 1080ms;
}

.feature-item:nth-child(5) {
  animation-delay: 1200ms;
}

.feature-item:nth-child(7) {
  animation-delay: 1320ms;
}

.feature-icon {
  display: flex;
  flex: 0 0 auto;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  color: var(--gold);
  background: rgba(212, 168, 67, 0.06);
  border: 1.5px solid rgba(212, 168, 67, 0.5);
  border-radius: 50%;
  transition: box-shadow 220ms ease, border-color 220ms ease;
}

.feature-item:hover .feature-icon {
  border-color: var(--gold);
  box-shadow: 0 0 18px rgba(212, 168, 67, 0.35);
}

.feature-text {
  min-width: 0;
}

.feature-text h3 {
  margin: 0 0 7px;
  color: var(--gold);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 0.78rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.feature-text p {
  margin: 0;
  color: var(--text-muted);
  font-size: 0.84rem;
  line-height: 1.55;
}

.feature-divider {
  width: 1px;
  min-height: 66px;
  background: rgba(212, 168, 67, 0.15);
}

.footer {
  position: relative;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 18px clamp(28px, 7vw, 92px) 22px;
  border-top: 1px solid rgba(255, 255, 255, 0.07);
}

.footer-brand,
.footer-sub,
.footer-copy {
  margin: 0;
}

.footer-brand {
  color: var(--gold);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 0.68rem;
  letter-spacing: 0.35em;
  text-transform: uppercase;
}

.footer-sub {
  margin-top: 5px;
  color: rgba(255, 255, 255, 0.36);
  font-size: 0.76rem;
}

.footer-copy {
  color: rgba(255, 255, 255, 0.36);
  font-size: 0.76rem;
}

.modal {
  position: fixed;
  inset: 0;
  z-index: 9500;
  display: grid;
  place-items: center;
  padding: 22px;
  visibility: hidden;
  opacity: 0;
  transition: opacity 220ms ease, visibility 220ms ease;
}

.modal.is-open {
  visibility: visible;
  opacity: 1;
}

.modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.66);
  backdrop-filter: blur(10px);
}

.modal-panel {
  position: relative;
  width: min(620px, 100%);
  max-height: min(760px, calc(100svh - 44px));
  overflow: auto;
  color: var(--white);
  background:
    linear-gradient(145deg, rgba(9, 4, 20, 0.95), rgba(5, 2, 8, 0.94)) padding-box,
    linear-gradient(135deg, rgba(212, 168, 67, 0.78), rgba(34, 211, 238, 0.42), rgba(123, 63, 191, 0.65)) border-box;
  border: 1px solid transparent;
  border-radius: 14px;
  box-shadow: 0 26px 80px rgba(0, 0, 0, 0.54);
  padding: clamp(22px, 4vw, 34px);
  opacity: 0;
  transform: translateY(24px) scale(0.96);
  transition: transform 260ms ease, opacity 260ms ease;
}

.modal.is-open .modal-panel {
  opacity: 1;
  transform: translateY(0) scale(1);
}

.icon-button {
  position: absolute;
  top: 14px;
  right: 14px;
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  color: var(--gold-pale);
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 10px;
}

.icon-button svg {
  width: 20px;
  height: 20px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
}

.modal-heading {
  display: grid;
  gap: 8px;
  padding-right: 42px;
}

.modal-heading p,
.modal-heading h2,
.modal-heading span {
  margin: 0;
}

.modal-heading p {
  color: var(--gold);
  font-size: 0.74rem;
  font-weight: 800;
  letter-spacing: 0.28em;
  text-transform: uppercase;
}

.modal-heading h2 {
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(2rem, 4vw, 3.2rem);
  line-height: 1;
  text-transform: uppercase;
}

.modal-heading span,
.form-status {
  color: var(--text-muted);
}

.contact-form {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
  margin-top: 28px;
}

.contact-form label {
  display: grid;
  gap: 8px;
  min-width: 0;
}

.contact-form label.full,
.submit-button,
.form-status {
  grid-column: 1 / -1;
}

.contact-form label > span {
  color: var(--gold-pale);
  font-size: 0.84rem;
  font-weight: 800;
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  color: var(--white);
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 10px;
  outline: none;
  padding: 13px 14px;
}

.contact-form textarea {
  min-height: 140px;
  resize: vertical;
  line-height: 1.5;
}

.contact-form input:focus,
.contact-form textarea:focus {
  border-color: rgba(212, 168, 67, 0.72);
  box-shadow: 0 0 0 3px rgba(212, 168, 67, 0.14);
}

.botcheck {
  position: absolute;
  left: -9999px;
  opacity: 0;
}

.submit-button {
  min-height: 50px;
  color: #170c00;
  background: linear-gradient(135deg, var(--gold), var(--gold-light));
  border-radius: 999px;
  font-family: Georgia, "Times New Roman", serif;
  font-weight: 900;
  letter-spacing: 0.09em;
  text-transform: uppercase;
}

.form-status {
  min-height: 22px;
  margin: 0;
  line-height: 1.5;
}

.form-status.is-error {
  color: #ffb8a8;
}

.form-status.is-success {
  color: #98f5c8;
}

@keyframes floatUp {
  0% {
    opacity: 0;
    transform: translateY(0) scale(1);
  }

  10% {
    opacity: 0.8;
  }

  80% {
    opacity: 0.38;
  }

  100% {
    opacity: 0;
    transform: translateY(-120vh) scale(0.3);
  }
}

@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}

@keyframes orbitDot {
  0% {
    transform: rotate(0deg) translateX(clamp(140px, 20vw, 265px)) scale(1);
  }

  50% {
    transform: rotate(180deg) translateX(clamp(140px, 20vw, 265px)) scale(1.4);
  }

  100% {
    transform: rotate(360deg) translateX(clamp(140px, 20vw, 265px)) scale(1);
  }
}

@keyframes pulseGlow {
  0%,
  100% {
    opacity: 1;
    transform: scale(1);
  }

  50% {
    opacity: 0.75;
    transform: scale(1.06);
  }
}

@keyframes floatUnicorn {
  0%,
  100% {
    transform: translateY(0) rotate(-1deg);
  }

  50% {
    transform: translateY(-14px) rotate(1deg);
  }
}

@keyframes fadeSlideUp {
  from {
    opacity: 0;
    transform: translateY(28px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes fadeIn {
  to {
    opacity: 1;
  }
}

#toast {
  position: fixed;
  bottom: 40px;
  left: 50%;
  z-index: 9600;
  max-width: min(560px, calc(100vw - 32px));
  padding: 14px 26px;
  color: var(--gold-pale);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 0.84rem;
  letter-spacing: 0.05em;
  text-align: center;
  background: linear-gradient(135deg, rgba(30, 10, 55, 0.95), rgba(50, 30, 20, 0.95));
  border: 1px solid rgba(212, 168, 67, 0.5);
  border-radius: 999px;
  box-shadow: 0 8px 40px rgba(0, 0, 0, 0.5), 0 0 20px rgba(212, 168, 67, 0.2);
  opacity: 0;
  pointer-events: none;
  transform: translateX(-50%) translateY(60px);
  transition: transform 400ms cubic-bezier(0.34, 1.56, 0.64, 1), opacity 400ms ease;
}

#toast.show {
  opacity: 1;
  transform: translateX(-50%) translateY(0);
}

@media (max-width: 1080px) {
  .hero {
    grid-template-columns: 1fr;
    min-height: auto;
    padding-top: 44px;
  }

  .hero-right {
    order: -1;
  }

  .orb-container {
    width: min(72vw, 430px);
  }

  .features {
    grid-template-columns: 1fr 1fr;
  }

  .feature-divider {
    display: none;
  }
}

@media (max-width: 640px) {
  body {
    cursor: auto;
  }

  #cursor,
  #cursor-dot {
    display: none;
  }

  button {
    cursor: pointer;
  }

  .hero {
    padding: 32px 20px;
  }

  .orb-container {
    width: min(82vw, 330px);
  }

  .headline h1 {
    font-size: clamp(2.55rem, 13.5vw, 4rem);
  }

  .input-row {
    align-items: stretch;
    flex-direction: column;
    border-radius: 18px;
  }

  .input-row span {
    padding: 12px 14px 0;
    white-space: normal;
  }

  .features,
  .contact-form {
    grid-template-columns: 1fr;
  }

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

  .modal {
    padding: 12px;
  }

  .modal-panel {
    max-height: calc(100svh - 24px);
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 1ms !important;
    animation-iteration-count: 1 !important;
    scroll-behavior: auto !important;
    transition-duration: 1ms !important;
  }
}
