:root {
  --bg: #071019;
  --bg-deep: #03070d;
  --panel: #101b27;
  --text: #f6f8fb;
  --muted: #b8c7d8;
  --accent: #35c8ff;
  --warm: #f2c14e;
  --line: rgba(255, 255, 255, 0.14);
  font-family: "Helvetica Neue", Arial, sans-serif;
}

* {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  min-height: 100%;
  background: var(--bg-deep);
  color: var(--text);
}

body {
  overflow: hidden;
  background:
    linear-gradient(rgba(255, 255, 255, 0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.035) 1px, transparent 1px),
    linear-gradient(135deg, #0b1722 0%, var(--bg) 45%, var(--bg-deep) 100%);
  background-size: 48px 48px, 48px 48px, auto;
}

body::before {
  content: "";
  position: fixed;
  inset: 28px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  pointer-events: none;
  z-index: 0;
}

body::after {
  content: "";
  position: fixed;
  right: clamp(28px, 4vw, 72px);
  top: clamp(28px, 4vw, 72px);
  width: clamp(70px, 9vw, 132px);
  height: clamp(70px, 9vw, 132px);
  border-top: 2px solid rgba(53, 200, 255, 0.52);
  border-right: 2px solid rgba(242, 193, 78, 0.42);
  pointer-events: none;
  z-index: 0;
}

.bg-gradient,
.background-pattern,
.glass-panel,
.floating-circle {
  display: none;
}

.page {
  min-height: 100dvh;
  position: relative;
  z-index: 1;
  width: min(1480px, calc(100vw - 56px));
  margin: 0 auto;
  padding: clamp(28px, 4vw, 64px) 0;
  display: grid;
  align-content: end;
}

.hero-copy {
  width: min(1120px, 100%);
  padding-bottom: clamp(180px, 28vh, 340px);
}

.tagline {
  margin: 0;
  max-width: 12ch;
  font-size: clamp(58px, 8vw, 118px);
  font-weight: 800;
  line-height: 0.96;
  letter-spacing: 0;
}

.tagline-static {
  color: #ffffff;
  font-style: normal;
  font-weight: 800;
}

#rotating-text {
  color: var(--accent);
  font-style: normal;
  font-weight: 800;
}

.subtagline {
  color: #eef6ff;
  margin: clamp(20px, 2.6vw, 36px) 0 0;
  max-width: 24ch;
  font-size: clamp(22px, 3vw, 44px);
  line-height: 1.08;
  font-weight: 700;
}

.deck-link-row {
  position: fixed;
  left: 50%;
  bottom: calc(36px + env(safe-area-inset-bottom, 0px));
  transform: translateX(-50%);
  margin: 0;
  z-index: 4;
  display: flex;
  align-items: center;
  gap: 12px;
  width: min(640px, calc(100vw - 32px));
  justify-content: center;
}

.deck-link {
  color: #ffe7a3;
  text-decoration: none;
  text-transform: uppercase;
  font-size: 0.9rem;
  font-weight: 800;
  padding: 10px 14px;
  border: 1px solid rgba(242, 193, 78, 0.34);
  background: rgba(242, 193, 78, 0.14);
  border-radius: 4px;
}

.deck-link:hover {
  color: #d9f4ff;
  border-color: rgba(53, 200, 255, 0.42);
  background: rgba(53, 200, 255, 0.12);
}

.cursor {
  color: var(--warm);
  animation: blink 1s infinite;
  font-weight: 800;
}

@keyframes blink {
  0%, 50% { opacity: 1; }
  51%, 100% { opacity: 0; }
}

@media (max-width: 760px) {
  body::before {
    inset: 14px;
  }

  body::after {
    right: 20px;
    top: 20px;
    width: 54px;
    height: 54px;
  }

  .page {
    width: min(100% - 28px, 1120px);
  }

  .hero-copy {
    padding-bottom: clamp(220px, 34vh, 300px);
  }

  .tagline {
    font-size: clamp(52px, 17vw, 86px);
  }

  .subtagline {
    font-size: clamp(24px, 7vw, 38px);
  }

  .deck-link-row {
    bottom: calc(24px + env(safe-area-inset-bottom, 0px));
    flex-direction: column;
    align-items: stretch;
  }

  .deck-link {
    text-align: center;
  }
}

@media (prefers-reduced-motion: reduce) {
  .cursor {
    animation: none;
  }
}
