:root {
  --bg-dark: #0a0a0a;
  --bg-light: #1a1a1a;
  --text-bright: #ffffff;
  --text-medium: #cccccc;
  --accent-blue: #00aaff;
  --accent-green: #00ff88;
  --accent-gold: #ffcb5c;
  --border-light: #333333;
  --shadow: rgba(0, 0, 0, 0.8);
  --site-font: "Bungee", sans-serif;
}

* {
  box-sizing: border-box;
}

html,
body {
  height: 100%;
}

html {
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
}

body {
  margin: 0;
  color: var(--text-bright);
  background: linear-gradient(180deg, var(--bg-dark) 0%, var(--bg-light) 100%);
  font-family: var(--site-font);
  overflow-x: hidden;
  min-height: 100svh;
  display: flex;
  flex-direction: column;
}

#bg {
  position: fixed;
  inset: 0;
  width: 100vw;
  height: 100vh;
  display: block;
  z-index: 0;
}

#fxOverlay {
  position: fixed;
  inset: 0;
  width: 100vw;
  height: 100vh;
  display: block;
  z-index: 90;
  pointer-events: none;
}

/* Header Subscribe */
.header-subscribe {
  position: fixed;
  top: 24px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 100;
  width: min(860px, 94vw);
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  justify-items: center;
  gap: 14px;
}

.subscribe-line {
  width: 100%;
  display: block;
  height: 1px;
  background: linear-gradient(90deg, rgba(255, 203, 92, 0), rgba(255, 203, 92, 0.40), rgba(255, 203, 92, 0));
  opacity: 0.6;
  align-self: center;
}

.notify-form {
  width: min(520px, 94vw);
  display: grid;
  justify-items: center;
  align-self: center;
  position: relative;
}

.subscribe-rail {
  width: min(450px, 92vw);
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 12px;
  align-items: center;
  padding: 0;
  border: none;
  margin: 0 auto;
}

.subscribe-rail input[type="email"] {
  width: 100%;
  font-family: inherit;
  background: transparent;
  border: none;
  color: var(--text-bright);
  padding: 10px 10px;
  font-size: 13px;
  font-weight: 500;
  outline: none;
  transition: all 0.3s ease;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.10);
  background: rgba(255, 255, 255, 0.04);
  letter-spacing: 0.02em;
}

.subscribe-rail input[type="email"]:focus {
  color: var(--accent-blue);
  border-color: rgba(0, 170, 255, 0.55);
}

.subscribe-rail input[type="email"]::placeholder {
  color: var(--text-medium);
}

.subscribe-rail input[type="password"] {
  width: 100%;
  background: transparent;
  border: none;
  color: var(--text-bright);
  padding: 10px 10px;
  font-size: 13px;
  font-weight: 500;
  outline: none;
  transition: all 0.3s ease;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.10);
  background: rgba(255, 255, 255, 0.04);
  letter-spacing: 0.02em;
}

.subscribe-rail input[type="password"]:focus {
  color: var(--accent-blue);
  border-color: rgba(0, 170, 255, 0.55);
}

.subscribe-rail input[type="password"]::placeholder {
  color: var(--text-medium);
}

.submit-btn {
  font-family: inherit;
  background: transparent;
  border: 1px solid rgba(255, 255, 255, 0.20);
  color: rgba(255, 255, 255, 0.86);
  padding: 10px 12px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.05em;
  cursor: pointer;
  transition: all 0.3s ease;
  white-space: nowrap;
}

.submit-btn:hover {
  border-color: rgba(255, 255, 255, 0.34);
  background: rgba(255, 255, 255, 0.06);
  transform: translateY(-1px);
}

.submit-btn:active {
  transform: translateY(0);
}

@media (max-width: 520px) {
  .header-subscribe {
    top: 20px;
    width: min(860px, 96vw);
    gap: 12px;
  }

  .notify-form {
    width: min(520px, 84vw);
  }

  .subscribe-rail {
    width: 100%;
  }
}

.header-subscribe .status {
  margin-top: 0;
  font-size: 12px;
  color: var(--text-medium);
  text-align: center;
  position: absolute;
  left: 0;
  right: 0;
  top: calc(100% + 10px);
}

.status.ok {
  color: var(--accent-green);
}

.status.bad {
  color: #ff4444;
}

.hp {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  opacity: 0;
}

/* Main Title */
.main-title {
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  z-index: 10;
  text-align: center;
}

.title-wrapper {
  position: relative;
  display: grid;
  place-items: center;
}

.glass-word {
  width: min(1200px, 96vw);
  display: grid;
  place-items: center;
  user-select: none;
  -webkit-tap-highlight-color: rgba(0, 0, 0, 0);
  -webkit-touch-callout: none;
  touch-action: manipulation;
  filter: drop-shadow(0 18px 28px rgba(0, 0, 0, 0.62));
  position: relative;
}

.glass-word canvas {
  width: 100%;
  height: auto;
  display: block;
  outline: none;
  -webkit-tap-highlight-color: rgba(0, 0, 0, 0);
}

.evo-logo {
  width: clamp(120px, 18vw, 190px);
  height: auto;
  margin-top: 16px;
  filter:
    drop-shadow(0 10px 22px rgba(0, 0, 0, 0.55))
    drop-shadow(0 0 16px rgba(120, 210, 255, 0.16));
  transform-origin: 50% 50%;
}

@media (max-width: 520px) {
  .title-wrapper {
    row-gap: 0;
  }

  .glass-word {
    width: min(1200px, 98vw);
  }

  .evo-logo {
    width: clamp(96px, 22vw, 150px);
    margin-top: 4px;
  }
}

/* Shell */
.shell {
  position: relative;
  z-index: 1;
  flex: 1;
  min-height: 0;
  padding: calc(2rem + env(safe-area-inset-top)) 2rem calc(2rem + env(safe-area-inset-bottom));
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2rem;
}

/* Footer */
.footer {
  width: min(400px, 100%);
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 1rem;
  color: var(--text-medium);
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-top: auto;
}

.footer-line {
  width: 100%;
  display: block;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(255, 203, 92, 0.38), transparent);
}

.footer {
  width: min(860px, 100%);
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 12px;
  color: rgba(255, 255, 255, 0.52);
}

.footer-line {
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(255, 203, 92, 0.38), transparent);
}

.footer-text {
  font-size: 13px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}


@media (max-width: 520px) {
  .card {
    padding: 26px 18px 22px;
  }
}

.logo {
  margin: 18px 0 10px;
  line-height: 0.92;
  letter-spacing: -0.04em;
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 16px;
}

.logo-evo {
  font-family: "Rubik Mono One", ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace;
  font-size: clamp(58px, 9vw, 94px);
  text-transform: uppercase;
  position: relative;
  color: transparent;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.95), rgba(255, 255, 255, 0.72));
  -webkit-background-clip: text;
  background-clip: text;
  text-shadow: 0 1px 0 rgba(255, 255, 255, 0.16);
}

.logo-evo::before,
.logo-evo::after {
  content: "EVO";
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.logo-evo::before {
  transform: translate(8px, 10px);
  color: rgba(89, 255, 209, 0.16);
  filter: blur(0.2px);
}

.logo-evo::after {
  transform: translate(16px, 20px);
  color: rgba(138, 125, 255, 0.12);
}

.logo-unbound {
  font-size: clamp(34px, 5vw, 50px);
  font-weight: 700;
  text-transform: lowercase;
  position: relative;
  color: transparent;
  background: linear-gradient(90deg, var(--mint), var(--violet), var(--amber));
  -webkit-background-clip: text;
  background-clip: text;
}

.logo-unbound::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -10px;
  height: 10px;
  background: repeating-linear-gradient(
    90deg,
    rgba(255, 255, 255, 0.25) 0,
    rgba(255, 255, 255, 0.25) 10px,
    rgba(0, 0, 0, 0) 10px,
    rgba(0, 0, 0, 0) 18px
  );
  opacity: 0.28;
  transform: skewX(-20deg);
}

.tagline {
  margin: 0 0 18px;
  font-size: 18px;
  color: rgba(255, 255, 255, 0.86);
}

.tagline-muted {
  display: block;
  margin-top: 8px;
  color: rgba(255, 255, 255, 0.68);
}

.status {
  min-height: 20px;
  margin-top: 12px;
  font-size: 14px;
  color: rgba(255, 255, 255, 0.78);
}

.status.ok {
  color: rgba(89, 255, 209, 0.92);
}

.status.bad {
  color: rgba(255, 170, 170, 0.92);
}

.fineprint {
  margin: 10px 0 0;
  font-size: 13px;
  color: rgba(255, 255, 255, 0.6);
}

.hp {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  opacity: 0;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.footer-text {
  font-size: 13px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

@media (max-width: 520px) {
  .card {
    padding: 26px 18px 22px;
  }
}
