
:root {
  --bg: #050b14;
  --bg-2: #071221;
  --panel: rgba(11, 24, 42, 0.66);
  --panel-solid: #0b1728;
  --border: rgba(143, 183, 255, 0.14);
  --text: #f4f8ff;
  --muted: #9cacbe;
  --blue: #4f8dff;
  --blue-2: #6eb4ff;
  --cyan: #57d6ff;
  --purple: #6767ff;
  --glow: rgba(68, 134, 255, 0.42);
  --radius: 24px;
}

* { box-sizing: border-box; }

html {
  min-height: 100%;
  background: var(--bg);
}

body {
  margin: 0;
  min-height: 100vh;
  overflow-x: hidden;
  color: var(--text);
  font-family: "Segoe UI Variable Text", "Segoe UI", system-ui, -apple-system, BlinkMacSystemFont, sans-serif;
  background:
    radial-gradient(circle at 50% 0%, rgba(35, 101, 201, 0.12), transparent 40%),
    linear-gradient(180deg, #07101c 0%, #050a12 70%, #04080e 100%);
}

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

#particles {
  position: fixed;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
  pointer-events: none;
  opacity: 0.86;
}

.background {
  position: fixed;
  inset: 0;
  overflow: hidden;
  z-index: 0;
  pointer-events: none;
}

.grid {
  position: absolute;
  inset: -25%;
  opacity: 0.2;
  background-image:
    linear-gradient(rgba(87, 151, 255, 0.07) 1px, transparent 1px),
    linear-gradient(90deg, rgba(87, 151, 255, 0.07) 1px, transparent 1px);
  background-size: 54px 54px;
  transform: perspective(900px) rotateX(64deg) translateY(24%);
  transform-origin: center 38%;
  mask-image: linear-gradient(to bottom, transparent 0%, black 32%, black 70%, transparent 100%);
  animation: gridMove 18s linear infinite;
}

@keyframes gridMove {
  from { background-position: 0 0; }
  to { background-position: 0 54px; }
}

.orb {
  position: absolute;
  border-radius: 999px;
  filter: blur(20px);
  opacity: 0.36;
  animation: drift 14s ease-in-out infinite alternate;
}

.orb-one {
  width: 430px;
  height: 430px;
  left: 3%;
  top: 10%;
  background: radial-gradient(circle, rgba(37, 109, 255, 0.28), transparent 68%);
}

.orb-two {
  width: 620px;
  height: 620px;
  right: -10%;
  top: 15%;
  background: radial-gradient(circle, rgba(31, 145, 255, 0.22), transparent 70%);
  animation-duration: 18s;
}

.orb-three {
  width: 500px;
  height: 500px;
  left: 35%;
  bottom: -20%;
  background: radial-gradient(circle, rgba(46, 91, 221, 0.16), transparent 68%);
  animation-duration: 22s;
}

@keyframes drift {
  from { transform: translate3d(-15px, -12px, 0) scale(0.98); }
  to { transform: translate3d(28px, 22px, 0) scale(1.05); }
}

.vignette {
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 50% 40%, transparent 34%, rgba(1, 5, 10, 0.62) 100%);
}

.shell {
  position: relative;
  z-index: 3;
  width: min(1460px, calc(100% - 72px));
  min-height: 100vh;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
}

.nav {
  height: 108px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid rgba(255,255,255,0.055);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
}

.brand-mark {
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  flex: 0 0 34px;
}

.brand-mark img {
  width: 34px;
  height: 34px;
  object-fit: contain;
  filter: drop-shadow(0 0 18px rgba(74, 143, 255, 0.18));
}

.brand-copy {
  display: flex;
  align-items: center;
  gap: 8px;
  line-height: 1;
}

.brand-copy strong {
  font-family: "Segoe UI Variable Display", "Segoe UI", system-ui, sans-serif;
  font-size: 20px;
  font-weight: 780;
  letter-spacing: -0.03em;
}

.nav-status {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 10px 14px;
  color: #a0b2c9;
  border: 1px solid rgba(125, 164, 217, 0.11);
  border-radius: 999px;
  background: rgba(9, 20, 35, 0.46);
  font-size: 12px;
  backdrop-filter: blur(12px);
}

.status-dot {
  position: relative;
  width: 8px;
  height: 8px;
  flex: 0 0 8px;
  overflow: visible;
  border-radius: 50%;
  background: #58a6ff;
  box-shadow: 0 0 16px rgba(88, 166, 255, 0.75);
}

.status-dot::after {
  content: "";
  position: absolute;
  inset: -4px;
  border: 1px solid rgba(88, 166, 255, 0.6);
  border-radius: 50%;
  animation: pulse 1.8s ease-out infinite;
}

@keyframes pulse {
  0% { transform: scale(0.6); opacity: 0.9; }
  100% { transform: scale(1.9); opacity: 0; }
}

.hero {
  flex: 1;
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(560px, 1.1fr);
  gap: clamp(48px, 6vw, 110px);
  align-items: center;
  padding: 76px 0 86px;
}

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

h1 {
  margin: 0;
  padding-right: 0.12em;
  overflow: visible;
  font-family: "Segoe UI Variable Display", "Segoe UI", system-ui, sans-serif;
  font-size: clamp(68px, 7vw, 118px);
  line-height: 0.9;
  letter-spacing: -0.065em;
  font-weight: 780;
  white-space: nowrap;
}

.gradient-text {
  display: inline-block;
  padding-right: 0.055em;
  margin-right: -0.01em;
  overflow: visible;
  color: transparent;
  background: linear-gradient(110deg, #d7ebff 0%, #8cbcff 40%, #4b8cff 75%, #56d7ff 100%);
  background-clip: text;
  -webkit-background-clip: text;
  filter: drop-shadow(0 0 26px rgba(74, 143, 255, 0.18));
}

.actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 38px;
}

.discord-cta {
  min-height: 54px;
  padding: 0 20px;
  display: inline-flex;
  align-items: center;
  gap: 14px;
  border-radius: 18px;
  color: #ffffff;
  font-size: 16px;
  font-weight: 700;
  letter-spacing: -0.02em;
  background:
    linear-gradient(180deg, rgba(16, 28, 54, 0.96), rgba(17, 29, 58, 0.92)) padding-box,
    linear-gradient(90deg, rgba(74, 127, 255, 0.28), rgba(146, 96, 255, 0.28)) border-box;
  border: 1px solid transparent;
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,0.10),
    0 12px 34px rgba(21, 36, 80, 0.34),
    0 0 0 1px rgba(95, 137, 255, 0.08);
  transition: transform 180ms ease, box-shadow 180ms ease, filter 180ms ease;
}

.discord-cta:hover {
  transform: translateY(-2px);
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,0.10),
    0 16px 42px rgba(21, 36, 80, 0.44),
    0 0 30px rgba(88, 133, 255, 0.18);
  filter: brightness(1.04);
}

.discord-icon {
  width: 26px;
  height: 26px;
  display: grid;
  place-items: center;
  color: #ffffff;
  opacity: 0.95;
}

.discord-icon svg {
  width: 22px;
  height: 22px;
}

.discord-label {
  white-space: nowrap;
}

.discord-arrow {
  color: #a6afff;
  font-size: 18px;
  line-height: 1;
}

.build-note {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  margin-top: 24px;
  color: #7f93ac;
  font-size: 14px;
  font-weight: 500;
}

.build-bar {
  width: 3px;
  height: 22px;
  border-radius: 999px;
  background: linear-gradient(180deg, #4b8cff 0%, #62bdff 100%);
  box-shadow: 0 0 18px rgba(75, 140, 255, 0.4);
}

.categories {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 28px;
}

.categories span {
  padding: 8px 11px;
  border-radius: 10px;
  color: #9cb0c8;
  background: rgba(10, 22, 38, 0.54);
  border: 1px solid rgba(129, 171, 229, 0.10);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.03em;
}

.preview-wrap {
  position: relative;
  width: min(100%, 760px);
  justify-self: end;
  perspective: 1300px;
}

.preview-card {
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(128, 174, 238, 0.16);
  border-radius: 28px;
  background:
    linear-gradient(145deg, rgba(15, 31, 52, 0.92), rgba(6, 14, 26, 0.96)),
    #08101c;
  box-shadow:
    0 42px 110px rgba(0, 0, 0, 0.46),
    0 0 0 1px rgba(255,255,255,0.02) inset,
    0 0 80px rgba(42, 111, 234, 0.12);
  transform: rotateY(-5deg) rotateX(2deg);
  transform-style: preserve-3d;
  transition: transform 240ms ease-out;
  backdrop-filter: blur(24px);
}

.preview-glow {
  position: absolute;
  width: 85%;
  height: 72%;
  left: 14%;
  top: 16%;
  border-radius: 50%;
  background: rgba(39, 115, 255, 0.16);
  filter: blur(80px);
}

.preview-topbar {
  position: relative;
  z-index: 2;
  height: 66px;
  padding: 0 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid rgba(255,255,255,0.055);
  background: rgba(9, 20, 35, 0.58);
}

.mini-brand {
  display: flex;
  align-items: center;
  gap: 9px;
  color: #eff5ff;
  font-family: "Segoe UI Variable Display", "Segoe UI", system-ui, sans-serif;
  font-size: 14px;
  font-weight: 700;
}

.mini-brand-mark {
  display: grid;
  place-items: center;
  width: 23px;
  height: 23px;
  flex: 0 0 23px;
}

.mini-brand-mark img {
  width: 23px;
  height: 23px;
  object-fit: contain;
  filter: drop-shadow(0 0 12px rgba(74, 143, 255, 0.18));
}

.window-dots {
  display: flex;
  gap: 6px;
}

.window-dots i {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: rgba(159, 183, 215, 0.22);
}

.website-preview-frame {
  position: relative;
  padding: 18px;
}

.website-preview-frame img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 22px;
  border: 1px solid rgba(132, 178, 243, 0.11);
  box-shadow: 0 20px 50px rgba(0,0,0,0.38);
}

.website-preview-overlay {
  position: absolute;
  inset: 18px;
  border-radius: 22px;
  background: linear-gradient(180deg, rgba(4, 10, 20, 0.02), rgba(4, 10, 20, 0.08));
  pointer-events: none;
}

.preview-chip {
  position: absolute;
  z-index: 3;
  padding: 9px 12px;
  border-radius: 10px;
  color: #a9bdd6;
  background: rgba(9, 21, 36, 0.78);
  border: 1px solid rgba(126, 170, 230, 0.13);
  box-shadow: 0 18px 38px rgba(0,0,0,0.25);
  backdrop-filter: blur(12px);
  font-size: 10px;
  font-weight: 700;
}

.chip-left {
  left: 34px;
  bottom: 30px;
}

.chip-right {
  right: 34px;
  top: 30px;
}

.preview-shine {
  position: absolute;
  inset: -80%;
  background: linear-gradient(110deg, transparent 44%, rgba(255,255,255,0.03) 50%, transparent 56%);
  animation: shine 8s ease-in-out infinite;
  pointer-events: none;
}

@keyframes shine {
  0%, 45% { transform: translateX(-20%); }
  70%, 100% { transform: translateX(20%); }
}

.footer {
  min-height: 72px;
  display: flex;
  align-items: center;
  color: #526277;
  font-size: 10px;
  border-top: 1px solid rgba(255,255,255,0.045);
}

.footer-separator {
  margin: 0 8px;
  opacity: 0.65;
}

.reveal {
  opacity: 0;
  transform: translateY(16px);
  animation: reveal 850ms cubic-bezier(.2,.8,.2,1) forwards;
}

.reveal-1 { animation-delay: 70ms; }
.reveal-2 { animation-delay: 150ms; }
.reveal-3 { animation-delay: 240ms; }
.reveal-4 { animation-delay: 330ms; }
.reveal-5 { animation-delay: 420ms; }

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

@media (max-width: 1180px) {
  .hero {
    grid-template-columns: 1fr;
    gap: 72px;
    padding-top: 68px;
  }

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

  h1 {
    font-size: clamp(60px, 11vw, 100px);
  }

  .preview-wrap {
    justify-self: center;
    width: min(94%, 820px);
  }
}

@media (max-width: 720px) {
  .shell {
    width: min(100% - 32px, 1460px);
  }

  .nav {
    height: 88px;
  }

  .nav-status {
    display: none;
  }

  .hero {
    padding: 56px 0 64px;
    gap: 52px;
  }

  h1 {
    font-size: clamp(52px, 15vw, 78px);
    line-height: 0.94;
    white-space: normal;
  }

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

  .build-note {
    font-size: 13px;
  }

  .preview-wrap {
    width: 100%;
  }

  .preview-card {
    transform: none !important;
  }

  .website-preview-frame {
    padding: 14px;
  }

  .website-preview-overlay {
    inset: 14px;
  }

  .preview-chip {
    font-size: 9px;
    padding: 8px 10px;
  }

  .chip-left {
    left: 26px;
    bottom: 24px;
  }

  .chip-right {
    right: 26px;
    top: 24px;
  }

  .footer {
    padding: 20px 0;
    flex-wrap: wrap;
    line-height: 1.7;
  }
}

@media (max-width: 480px) {
  .footer-separator { display: none; }

  .footer span:last-child { flex-basis: 100%; }
}
