:root {
  --hot-pink: #ff2d95;
  --electric-blue: #00c8ff;
  --sunny-yellow: #ffe600;
  --lime: #a6ff00;
  --ink: #0a0a0a;
  --paper: #ffffff;
  --panel-shadow: 8px 8px 0 var(--ink);
}

* {
  box-sizing: border-box;
}

html, body {
  margin: 0;
  padding: 0;
  min-height: 100%;
}

body {
  font-family: "Baloo 2", "Comic Sans MS", "Chalkboard SE", cursive, sans-serif;
  color: var(--ink);
  background:
    radial-gradient(circle at 20% 20%, rgba(255, 255, 255, 0.5), transparent 40%),
    radial-gradient(circle at 80% 80%, rgba(255, 255, 255, 0.35), transparent 45%),
    linear-gradient(135deg, var(--electric-blue), var(--hot-pink) 60%, var(--sunny-yellow));
  background-attachment: fixed;
  min-height: 100vh;
  overflow-x: hidden;
}

.screen {
  min-height: 100vh;
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 1.5rem;
  padding: 1.5rem;
  text-align: center;
}

.hidden {
  display: none !important;
}

.mega-title {
  font-family: "Bangers", "Comic Sans MS", cursive;
  font-size: clamp(2rem, 7vw, 4.5rem);
  letter-spacing: 0.04em;
  color: var(--paper);
  -webkit-text-stroke: 3px var(--ink);
  text-stroke: 3px var(--ink);
  text-shadow: 6px 6px 0 var(--ink);
  margin: 0;
  line-height: 1.05;
}

.mega-title.small-shadow {
  text-shadow: 4px 4px 0 var(--ink);
  font-size: clamp(1.5rem, 5vw, 3rem);
}

.countdown-display,
.threat-timer {
  font-family: "Bangers", cursive;
  font-size: clamp(1.5rem, 6vw, 3rem);
  background: var(--ink);
  color: var(--lime);
  padding: 0.5rem 1rem;
  border-radius: 12px;
  border: 4px solid var(--ink);
  box-shadow: var(--panel-shadow);
  letter-spacing: 0.05em;
}

.prelaunch-man {
  width: clamp(90px, 22vw, 150px);
  height: clamp(90px, 22vw, 150px);
  object-fit: cover;
  border-radius: 50%;
  border: 6px solid var(--ink);
  background: var(--paper);
  filter: drop-shadow(4px 4px 0 rgba(0, 0, 0, 0.35));
  animation: float 4s ease-in-out infinite;
}

.btn-ghost {
  font-family: "Baloo 2", cursive;
  font-size: 0.9rem;
  color: var(--ink);
  background: transparent;
  border: none;
  text-decoration: underline;
  opacity: 0.55;
  cursor: pointer;
  padding: 0.5rem;
  min-height: 44px;
}

.btn-ghost:hover {
  opacity: 0.9;
}

.comic-panel {
  background: var(--paper);
  border: 5px solid var(--ink);
  border-radius: 24px;
  box-shadow: var(--panel-shadow);
  padding: clamp(1.25rem, 4vw, 2.5rem);
  max-width: 640px;
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
}

.float-wrap {
  width: clamp(120px, 30vw, 220px);
  height: clamp(120px, 30vw, 220px);
}

.floating-head {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 50%;
  border: 6px solid var(--ink);
  background: var(--paper);
  animation: float 3s ease-in-out infinite;
  filter: drop-shadow(6px 6px 0 rgba(0, 0, 0, 0.35));
}

@keyframes float {
  0%, 100% { transform: translateY(0) rotate(-2deg); }
  50% { transform: translateY(-18px) rotate(2deg); }
}

.button-row {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  justify-content: center;
  width: 100%;
}

.btn {
  font-family: "Bangers", cursive;
  font-size: clamp(1.1rem, 4vw, 1.6rem);
  letter-spacing: 0.05em;
  color: var(--ink);
  background: var(--sunny-yellow);
  border: 4px solid var(--ink);
  border-radius: 14px;
  padding: 0.85rem 1.75rem;
  min-height: 44px;
  min-width: 120px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  cursor: pointer;
  box-shadow: 6px 6px 0 var(--ink);
  text-decoration: none;
  transition: transform 0.08s ease, box-shadow 0.08s ease;
  -webkit-tap-highlight-color: transparent;
}

.btn:hover {
  transform: translate(-2px, -2px);
  box-shadow: 8px 8px 0 var(--ink);
}

.btn:active {
  transform: translate(4px, 4px);
  box-shadow: 2px 2px 0 var(--ink);
}

.btn-yes {
  background: var(--lime);
}

.btn-no {
  background: var(--hot-pink);
  color: var(--paper);
}

.btn-primary {
  background: var(--electric-blue);
}

.icon {
  width: 1.4em;
  height: 1.4em;
  flex-shrink: 0;
}

.icon-big {
  width: 4rem;
  height: 4rem;
  color: var(--lime);
}

.prove-prompt {
  font-size: clamp(1.1rem, 4vw, 1.6rem);
  font-weight: 700;
}

.prove-input {
  font-family: "Bangers", cursive;
  font-size: 1.3rem;
  border: 3px solid var(--ink);
  border-radius: 8px;
  padding: 0.3rem 0.6rem;
  width: 10rem;
  max-width: 60vw;
  background: var(--sunny-yellow);
}

.prove-feedback {
  color: var(--hot-pink);
  font-weight: 700;
  min-height: 1.5em;
}

.shake {
  animation: shake 0.4s ease;
}

@keyframes shake {
  0%, 100% { transform: translateX(0); }
  20% { transform: translateX(-10px); }
  40% { transform: translateX(10px); }
  60% { transform: translateX(-8px); }
  80% { transform: translateX(8px); }
}

.rejected-screen {
  background:
    repeating-linear-gradient(45deg, var(--hot-pink) 0 40px, var(--electric-blue) 40px 80px);
}

.rejected-video {
  width: 100%;
  max-width: 480px;
  border: 4px solid var(--ink);
  border-radius: 16px;
  background: var(--ink);
}

.lore-panel {
  background: #1a1a1a;
  color: #a6ff00;
  font-family: "Courier New", monospace;
}

.lore-text {
  margin: 0;
  line-height: 1.5;
  font-size: clamp(0.95rem, 3vw, 1.1rem);
}

.lore-emphasis {
  font-weight: 700;
  color: var(--hot-pink);
  font-size: clamp(1.1rem, 3.5vw, 1.3rem);
}

.discord-panel {
  background: #eef7ff;
}

.icon-discord {
  width: 3rem;
  height: 3rem;
  color: #5865f2;
}

.discord-label {
  font-weight: 700;
  font-size: 1.1rem;
  margin: 0;
}

.btn-discord {
  width: 100%;
  max-width: 320px;
}

.threat-row {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  justify-content: center;
  width: 100%;
  max-width: 960px;
}

.threat-panel {
  flex: 1 1 260px;
  background: #fff7e0;
}

.threat-panel .icon {
  color: var(--hot-pink);
}

.threat-label {
  font-weight: 700;
  margin: 0;
}

.ended-sub {
  font-weight: 700;
  font-size: 1.1rem;
}

.admin-panel {
  position: relative;
  background: #f5f5f5;
}

.admin-exit {
  position: absolute;
  top: 0.75rem;
  right: 0.75rem;
  background: var(--hot-pink);
  color: var(--paper);
  border: 3px solid var(--ink);
  border-radius: 50%;
  width: 2.5rem;
  height: 2.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
}

.admin-exit .icon {
  width: 1.2rem;
  height: 1.2rem;
}

.admin-status {
  font-weight: 700;
}
