* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  cursor: none;

  transition: background var(--transition-speed),
              color var(--transition-speed),
              border-color var(--transition-speed),
              transform var(--transition-speed);
}

/* Disable blue selection */
body {
  user-select: none;
  -webkit-user-select: none;
  -ms-user-select: none;
}

/* Allow typing inside inputs */
input {
  user-select: text;
}

button,
a {
  cursor: none;
}

/* =========================
   GLOBAL VARIABLES
========================= */

:root {
  --transition-speed: 0.5s;

  --bg: #2e2f2c;
  --surface: #434141;
  --primary: #fceded;
  --accent: #fceded;
  --highlight: #7157ab;
  --text: #fceded;
}

/* =========================
   Y2K MODE
========================= */

body.y2k {
  --bg: #1579e6;
  --surface: #b2acac;
  --primary: #85409d;
  --accent: #000000;
  --highlight: #39c139;
  --text: #e8dddd;
}

/* ========================= */

body {
  background: var(--bg);
  color: var(--text);
  font-family: Arial, Helvetica, sans-serif;
  min-height: 100svh;
  overflow-x: hidden;
}

/* =========================
   HERO
========================= */

.hero {
  min-height: 100svh;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding-top: 80px;
  padding-left: 20px;
  padding-right: 20px;
}

/* =========================
   LOGO
========================= */

.logo {
  width: clamp(180px, 40vw, 350px);
  max-width: 90%;
  height: auto;
  display: block;
  transition: none;

  user-select: none;
  -webkit-user-drag: none;
  -webkit-user-select: none;
  pointer-events: none;
}

/* =========================
   COMING SOON
========================= */

.coming-soon {
  margin-top: 15vh;
  font-size: clamp(28px, 8vw, 85px);
  font-weight: 900;
  font-style: italic;
  letter-spacing: clamp(2px, 1.5vw, 8px);
  line-height: 1.1;
  text-transform: uppercase;
  color: var(--accent);
}

/* =========================
   TOGGLE BUTTON
========================= */

.toggle {
  position: fixed;
  top: 25px;
  right: 25px;
  padding: 12px 20px;
  font-size: 12px;
  letter-spacing: 2px;
  background: var(--highlight);
  color: var(--bg);
  border: 1px solid var(--accent);
}

.toggle:hover {
  transform: scale(1.1);
}

/* =========================
   SIGNUP FORM
========================= */

.signup-form {
  position: fixed;
  bottom: 80px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  z-index: 10;
}

/* Label — slightly bigger and moved up */
.signup-label {
  font-size: 18px;
  font-weight: 900;
  font-style: italic;
  letter-spacing: 1px;
  color: var(--accent);
  margin-bottom: 6px;
  transform: translateY(-8px);
}

/* Y2K label color */
body.y2k .signup-label {
  color: #000000;
}

.signup-fields {
  display: flex;
  gap: 12px;
}

/* Lock height so it NEVER shifts */
.signup-form input[type="email"] {
  height: 48px;
  padding: 0 20px;
  background: var(--surface);
  border: 1px solid var(--accent);
  color: var(--text);
  font-size: 14px;
  outline: none;
  min-width: 280px;
}

.signup-form input::placeholder {
  opacity: 0.6;
}

/* Y2K — same border thickness to prevent jump */
body.y2k .signup-form input[type="email"] {
  background: #ffffff;
  color: #000000;
  border: 1px solid var(--highlight);
}

.signup-form button {
  height: 48px;
  padding: 0 24px;
  background: var(--highlight);
  border: 1px solid var(--accent);
  color: var(--bg);
  font-weight: bold;
  letter-spacing: 1px;
}

.signup-form button:hover {
  transform: scale(1.08);
}

/* =========================
   FOOTER
========================= */

.footer-animated {
  position: fixed;
  bottom: 20px;
  width: 100%;
  text-align: center;
  font-size: clamp(12px, 3.5vw, 16px);
  font-weight: bold;
  letter-spacing: 2px;
  color: var(--accent);
  transition: none;
  pointer-events: none;
}

/* =========================
   CUSTOM CURSOR
========================= */

@media (hover: none) and (pointer: coarse) {
  .cursor {
    display: none;
  }

  * {
    cursor: auto;
  }
}

.cursor {
  width: 18px;
  height: 18px;
  border: 2px solid var(--text);
  border-radius: 50%;
  position: fixed;
  pointer-events: none;
  transform: translate(-50%, -50%);
  z-index: 9999;
}

/* =========================
   RIPPLE EFFECT
========================= */

.ripple {
  position: fixed;
  border-radius: 50%;
  background: var(--highlight);
  transform: scale(0);
  animation: rippleEffect 0.6s linear;
  pointer-events: none;
}

@keyframes rippleEffect {
  to {
    transform: scale(4);
    opacity: 0;
  }
}

/* =========================
   INSANE SUCCESS OVERLAY v3
========================= */

.flash-overlay {
  position: fixed;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 999999;
  opacity: 0;
  pointer-events: none;
}

.flash-overlay.active {
  opacity: 1;
  background: var(--bg);
  animation: bgFlash 0.25s infinite alternate;
}

.flash-text {
  position: relative;
  font-size: clamp(30px, 7vw, 80px); /* 25% smaller */
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 5px;
  text-align: center;
  color: var(--accent);

  animation:
    glitch 0.2s infinite alternate,
    fontCycle 6s infinite; /* slow readable cycle */
}

/* RGB SPLIT */
.flash-text::before,
.flash-text::after {
  content: attr(data-text);
  position: absolute;
  left: 0;
  top: 0;
  font-weight: 900;
  letter-spacing: 5px;
}

.flash-text::before {
  color: var(--highlight);
  transform: translate(2px, -2px);
  opacity: 0.7;
}

.flash-text::after {
  color: var(--primary);
  transform: translate(-2px, 2px);
  opacity: 0.7;
}

/* Background Flash */
@keyframes bgFlash {
  0%   { background: var(--bg); }
  50%  { background: var(--highlight); }
  100% { background: var(--surface); }
}

/* Glitch movement */
@keyframes glitch {
  0% { transform: skew(0deg); }
  50% { transform: skew(-3deg) scale(1.02); }
  100% { transform: skew(3deg) scale(0.98); }
}

/* FONT HOLDS 1.5s EACH */
@keyframes fontCycle {
  0%, 25%   { font-family: Arial, Helvetica, sans-serif; }
  25%, 50%  { font-family: "Arial Black", Arial, sans-serif; }
  50%, 75%  { font-family: "Trebuchet MS", Arial, sans-serif; }
  75%, 100% { font-family: Impact, Arial, sans-serif; }
}

/* Desktop shake only */
@media (hover: hover) and (pointer: fine) {
  .flash-overlay.active {
    animation:
      bgFlash 0.25s infinite alternate,
      screenShake 0.1s infinite;
  }

  @keyframes screenShake {
    0% { transform: translate(0); }
    25% { transform: translate(-2px, 2px); }
    50% { transform: translate(2px, -2px); }
    75% { transform: translate(-1px, 1px); }
    100% { transform: translate(1px, -1px); }
  }
}

/* Prevent mobile zoom */
@media (max-width: 768px) {
  .signup-form input[type="email"] {
    font-size: 16px;
  }
}