/* ======= Base Setup ======= */
body {
  margin: 0;
  padding: 0;
  background-color: #12001e;
  color: #ffffff;
  font-family: "Space Mono", monospace;
  overflow-x: hidden;
  position: relative;
}

/* ======= Grid Background ======= */
.background-grid {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: url("https://cdn.glitch.global/6cc9d49d-0d10-4064-aba3-2aef683d4e4a/ChatGPT%20Image%20Apr%2015%2C%202025%2C%2008_01_39%20PM.png?v=1744762607030")
    center/cover no-repeat;
  z-index: -2;
  opacity: 0.2;
  filter: brightness(80%) contrast(150%);
}

/* ======= Particle Layer ======= */
#particles {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: -1;
  pointer-events: none;
}

#particles canvas {
  filter: blur(0.7px);
}

/* ======= Scanline Overlay ======= */
.scanlines {
  pointer-events: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: url("https://cdn.glitch.global/6cc9d49d-0d10-4064-aba3-2aef683d4e4a/scanlines.png?v=1744765388570")
    repeat;
  opacity: 0.07;
  z-index: 2;
  mix-blend-mode: screen;
  animation: driftScan 5s linear infinite;
}

@keyframes driftScan {
  0% {
    background-position: 0 0;
  }
  100% {
    background-position: 0 10px;
  }
}

/* ======= Main Container ======= */
.container {
  position: relative;
  z-index: 3;
  max-width: 1000px;
  margin: 0 auto;
  padding: 2rem;
}

/* ======= Logo Section ======= */
.vampwave-header {
  text-align: center;
  margin-top: 2rem;
  margin-bottom: 1.5rem;
}

.logo {
  width: 300px;
  max-width: 90%;
  height: auto;
  display: block;
  margin: 0 auto;
  filter: drop-shadow(0 0 25px #ff00aa);
  transition: transform 0.3s ease, filter 0.3s ease;
}

.logo:hover {
  transform: scale(1.02);
  filter: drop-shadow(0 0 35px #ff66cc);
}

/* ======= Navigation ======= */
.nav-box {
  display: flex;
  flex-wrap: nowrap;
  justify-content: center;
  gap: 1.5rem;
  padding: 10px 20px;
  border: 1px solid #6ae2ff;
  box-shadow: 0 0 10px #6ae2ff;
  background-color: rgba(0, 0, 0, 0.2);
  margin: 0 auto 2rem auto;
  width: fit-content;
  max-width: 90%;
  border-radius: 4px;
  overflow-x: auto;
  scrollbar-width: none;
}

.nav-box::-webkit-scrollbar {
  display: none;
}

.nav-box a {
  display: inline-block;
  white-space: nowrap;
  padding: 6px 14px;
  font-size: 1rem; /* Ensures same size across all pages */
  color: #6ae2ff;
  font-weight: bold;
  text-decoration: none;
  transition: all 0.2s ease;
  text-shadow: 0 0 2px #6ae2ff;
}

.nav-box a:hover {
  color: #ffffff;
  background-color: rgba(106, 226, 255, 0.15);
  text-shadow: 0 0 4px #ffffff, 0 0 8px #6ae2ff;
  border-radius: 2px;
  transform: scale(1.05);
  box-shadow: inset 0 0 4px #6ae2ff;
}

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

.response-options button {
  padding: 10px 14px;
  background-color: #1e0034;
  color: #ffc978;
  border: 1px solid #ffc978;
  border-radius: 6px;
  font-size: 1rem;
  font-family: "Space Mono", monospace;
  cursor: pointer;
  transition: all 0.2s ease;
  box-shadow: 0 0 8px #ffc97833;
}

.login-box {
  max-width: 400px;
  margin: 3rem auto;
  padding: 2rem;
  background-color: rgba(18, 0, 30, 0.6);
  border: 1px solid #c44fff;
  border-radius: 6px;
  box-shadow: 0 0 20px #c44fff;
  text-align: center;
  color: #ffc978;
}

.login-box h2 {
  margin-bottom: 1rem;
  font-size: 1.4rem;
  color: #ffc978;
  text-shadow: 0 0 6px #ffc978;
}

.login-box label {
  display: block;
  margin: 1rem 0 0.5rem;
  font-weight: bold;
  color: #ffc978;
}

.login-box input {
  width: 90%;
  margin: 0 auto 1rem auto;
  padding: 0.5rem 0.75rem;
  border-radius: 4px;
  border: 1px solid #c44fff;
  background-color: #0d001a;
  color: #ffffff;
  font-family: "Courier New", monospace;
  box-shadow: inset 0 0 4px #c44fff55;
  display: block;
  transition: 0.2s ease;
}

.login-box input:focus {
  outline: none;
  border-color: #ffc978;
  box-shadow: 0 0 6px #ffc97866;
}

.login-box button {
  width: 90%;
  margin: 0 auto;
  padding: 0.6rem;
  background-color: #ffc978;
  color: #1e0034;
  font-weight: bold;
  font-size: 1rem;
  border: none;
  border-radius: 4px;
  cursor: pointer;
  box-shadow: 0 0 10px #ffc978aa;
  display: block;
  transition: 0.3s ease;
}

.login-box button:hover {
  background-color: #ffffff;
  box-shadow: 0 0 14px #ffcc88;
  color: #1e0034;
}

#loginError {
  margin-top: 1rem;
  font-size: 0.85rem;
  color: #ff8888;
}

/* ======= Welcome Text ======= */
.intro-text {
  flex: 1 1 360px;
  max-width: 400px;
  color: #dddddd;
  font-size: 0.95rem;
  text-align: left;
}

.intro-text h2 {
  color: #ffaa44;
  text-shadow: 0 0 8px #ffaa44;
  font-size: 1.4rem;
  margin-bottom: 1rem;
}

.intro-text p {
  color: #eeeeee;
  line-height: 1.6;
  margin-bottom: 1rem;
}

/* ======= Portal Button ======= */
.portal-link {
  display: inline-block;
  margin-top: 1rem;
  padding: 6px 12px;
  color: #12001e;
  background-color: #ffc978;
  border: 1px solid #ffc978;
  text-decoration: none;
  font-weight: bold;
  border-radius: 4px;
  box-shadow: 0 0 8px #ffc978;
  transition: all 0.2s ease;
}

.portal-link:hover {
  background-color: #ffffff;
  color: #1e0034;
  box-shadow: 0 0 14px #ffcc88;
  animation: glitchText 0.2s infinite;
}

/* ======= Glitch Text Hover Effect ======= */
@keyframes glitchText {
  0% {
    text-shadow: 1px 0 red;
  }
  25% {
    text-shadow: -1px 0 blue;
  }
  50% {
    text-shadow: 1px 1px lime;
  }
  75% {
    text-shadow: -1px -1px magenta;
  }
  100% {
    text-shadow: 0 0 0;
  }
}

/* ======= Ghost Message (Typing + Flicker) ======= */
.ghost-message {
  position: fixed;
  bottom: 10px;
  right: 15px;
  font-size: 0.8rem;
  color: #ffaaee;
  font-family: "Major Mono Display", monospace;
  letter-spacing: 1px;
  text-shadow: 0 0 4px #ff44aa;
  opacity: 0;
  pointer-events: none;
  z-index: 10;
  transition: opacity 0.3s ease;
  background-color: rgba(0, 0, 0, 0.25);
  padding: 2px 6px;
  border-radius: 4px;
  box-shadow: 0 0 5px #ff00cc55;
  white-space: nowrap;
}

.ghost-message.flicker {
  animation: flickerText 0.3s steps(2, start) 6;
}

@keyframes flickerText {
  0% {
    opacity: 0.2;
  }
  50% {
    opacity: 0.9;
  }
  100% {
    opacity: 0.3;
  }
}

.hero-tagline {
  text-align: center;
  margin-top: 4rem;
  color: #ffcc99;
  text-shadow: 0 0 6px #ffffaa;
}

.hero-tagline h1,
.section-title {
  font-size: 2.5rem;
  margin-bottom: 0.5rem;
  color: #ffc978;
  text-shadow: 0 0 8px #ffaa44, 0 0 12px #ffcc88, 0 0 20px #ffcc8880;
}

.icon-features {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 2rem;
  margin: 3rem auto;
  max-width: 1000px;
  padding: 0 1rem;
}

.feature {
  text-align: center;
  width: 260px;
  padding: 1.2rem;
  border-radius: 12px;
  background-color: rgba(255, 255, 255, 0.04);
  border: 1px solid #66339955;
  backdrop-filter: blur(3px);
  color: #dddddd;
  transition: transform 0.3s, box-shadow 0.3s, border-color 0.3s;
  box-shadow: 0 0 10px #ff00cc11;
}

.feature:hover {
  transform: scale(1.03);
  box-shadow: 0 0 12px #ff55bb66, 0 0 8px #ffaaee22;
  border-color: #ff99ff77;
}

.feature h3 {
  font-size: 1rem;
  font-weight: bold;
  color: #ffcc99;
  margin-bottom: 0.6rem;
  text-shadow: 0 0 6px #ffaa88aa;
}

.feature p {
  font-size: 0.85rem;
  color: #eeeeee;
  line-height: 1.5;
}

/* Optional: Stagger effect */
.icon-features .feature:nth-child(1) {
  animation-delay: 0.1s;
}
.icon-features .feature:nth-child(2) {
  animation-delay: 0.2s;
}
.icon-features .feature:nth-child(3) {
  animation-delay: 0.3s;
}
.icon-features .feature:nth-child(4) {
  animation-delay: 0.4s;
}
.icon-features .feature:nth-child(5) {
  animation-delay: 0.5s;
}

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

.feature img {
  width: 100%;
  height: 160px;
  object-fit: cover;
  border-radius: 6px;
  margin-bottom: 1rem;
  filter: brightness(110%) drop-shadow(0 0 5px #ffccff66);
  transition: filter 0.3s;
}

.feature:hover img {
  filter: brightness(130%) drop-shadow(0 0 8px #ffaaee88);
}

.hero-tagline p,
.section-subtext {
  font-size: 1rem;
  color: #ffddbb;
  text-align: center;
  text-shadow: 0 0 3px #ffaa66;
  margin-top: 0.5rem;
}

.quote-section blockquote {
  font-style: italic;
  color: #ffaaee;
  font-family: "Major Mono Display", monospace;
  text-shadow: 0 0 4px #ff55aa;
  border-left: 4px solid #ffaaee;
  padding-left: 1rem;
  max-width: 600px;
  margin: 2rem auto;
}

.about-cards {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 2rem;
  margin: 3rem auto;
  max-width: 1000px;
  padding: 0 1rem;
}

.about-feature {
  text-align: center;
  width: 260px;
  padding: 1.2rem;
  border-radius: 12px;
  background-color: rgba(255, 255, 255, 0.04);
  border: 1px solid #66339955;
  backdrop-filter: blur(3px);
  color: #dddddd;
  transition: transform 0.3s, box-shadow 0.3s;
  box-shadow: 0 0 10px #ff00cc11;
}

.about-feature:hover {
  transform: scale(1.03);
  box-shadow: 0 0 12px #ff55bb66, 0 0 8px #ffaaee22;
  border-color: #ff99ff77;
}

.neon-glow {
  color: #ffaaee;
  text-shadow: 0 0 3px #ffaaee, 0 0 6px #ff44aa, 0 0 9px #ff0077aa;
}

/* ===== Quote Fade Animation ===== */
.fade-quote {
  opacity: 0;
  transition: opacity 1.5s ease;
}

.fade-quote.visible {
  opacity: 1;
}

/* ======= Employee Portal Styles ======= */

.glitch-id {
  color: #ffaaee;
  text-shadow: 0 0 6px #ff00cc;
  animation: flickerText 1.5s infinite;
}

.access-tier {
  color: #6ae2ff;
  text-shadow: 0 0 6px #6ae2ff88;
  font-weight: bold;
}

.job-structure h2,
.memo-board h2,
.feedback-section h2 {
  color: #ffc978;
  text-shadow: 0 0 8px #ffaa44;
  margin-top: 2rem;
  font-size: 1.2rem;
  border-bottom: 1px solid #ffaa4477;
  padding-bottom: 0.4rem;
}

/* ... etc. (continue with all the styles I gave you) ... */

.employee-dashboard {
  margin: 2rem auto;
  padding: 2rem;
  max-width: 960px;
  color: #ffeeff;
  text-align: center;
  animation: fadeIn 1s ease-in-out;
}

.dashboard-header h2 {
  font-size: 2rem;
  color: #ffc3ff;
  text-shadow: 0 0 8px #ff7fe1;
}

.subtitle {
  font-size: 0.9rem;
  color: #aaaaaa;
  margin-bottom: 2rem;
}

.employee-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 1.5rem;
  justify-content: center;
}

.employee-box {
  flex: 1 1 240px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid #66339955;
  border-radius: 6px;
  padding: 1rem;
  backdrop-filter: blur(2px);
  box-shadow: 0 0 10px #ff00cc22;
  text-align: left;
  transition: transform 0.3s, box-shadow 0.3s;
}

.employee-box:hover {
  transform: scale(1.03);
  box-shadow: 0 0 16px #ffaaeeaa;
}

.employee-box h3 {
  font-size: 1.2rem;
  color: #ff99ee;
  text-shadow: 0 0 6px #ff99eeaa;
}

.employee-box p {
  font-size: 0.9rem;
  color: #dddddd;
  line-height: 1.5;
}

.alignment-pulse {
  color: #ffaaee;
  text-shadow: 0 0 5px #ff66cc;
  animation: pulseGlow 2s ease-in-out infinite;
}
.bounce-group {
  display: inline-flex;
  gap: 0.15em;
}

.dot {
  display: inline-block;
  font-size: 1.1em;
  animation: bounceDot 1.5s infinite ease-in-out;
}

.delay-1 {
  animation-delay: 0s;
}
.delay-2 {
  animation-delay: 0.2s;
}
.delay-3 {
  animation-delay: 0.4s;
}

@keyframes bounceDot {
  0%,
  100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-2px);
  }
}

@keyframes pulseGlow {
  0%,
  100% {
    text-shadow: 0 0 5px #ff66cc;
    opacity: 0.9;
  }
  50% {
    text-shadow: 0 0 10px #ffccff;
    opacity: 1;
  }
}

.nav-box a.active {
  text-shadow: 0 0 6px #ffffff, 0 0 10px #ff66ff;
  font-weight: bold;
}

.floating-orbs {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  overflow: hidden;
  pointer-events: none;
  z-index: -1;
}

.floating-orbs .orb {
  position: absolute;
  border-radius: 50%;
  background: radial-gradient(circle, #ffaaee33, transparent 70%);
  animation: floatAround 20s infinite ease-in-out;
  mix-blend-mode: screen;
  opacity: 0.3;
  pointer-events: none;
}

/* Smooth floating animation that moves around the screen */
@keyframes floatAround {
  0% {
    transform: translate(0, 0) scale(1);
    opacity: 0.3;
  }
  25% {
    transform: translate(100px, -60px) scale(0.8);
    opacity: 0.5;
  }
  50% {
    transform: translate(-120px, 40px) scale(1.1);
    opacity: 0.6;
  }
  75% {
    transform: translate(60px, 100px) scale(0.9);
    opacity: 0.4;
  }
  100% {
    transform: translate(0, 0) scale(1);
    opacity: 0.3;
  }
}

/* ===== Peppy Assistant Core Styling ===== */
.peppy-container {
  position: fixed;
  bottom: 20px;
  right: 20px;
  display: flex;
  align-items: flex-end;
  flex-direction: row-reverse;
  z-index: 20;
  opacity: 0;
  transition: opacity 1s ease;
}

.peppy-container.visible {
  opacity: 1;
}

.peppy-avatar {
  width: 90px;
  height: auto;
  filter: drop-shadow(0 0 4px #ff66cc);
  cursor: pointer;
}

.peppy-bubble {
  background-color: rgba(0, 0, 0, 0.7);
  color: #ffccff;
  padding: 8px 12px;
  margin-left: 10px;
  border-radius: 8px;
  font-family: "Space Mono", monospace;
  font-size: 0.85rem;
  max-width: 240px;
  text-shadow: 0 0 3px #ff99ff;
  box-shadow: 0 0 6px #ff66cc66;
}

/* ===== Question Thought Bubbles ===== */
.question-bubbles {
  position: fixed;
  bottom: 120px; /* ⬅ closer to Peppy's head */
  right: 50px;
  width: 240px;
  height: 180px;
  pointer-events: none; /* allow child click only */
  z-index: 20;
  display: none;
}

.bubble {
  position: absolute;
  background-color: rgba(255, 255, 255, 0.1);
  color: #ffccff;
  border: 1px solid #ff99ff;
  padding: 6px 12px;
  border-radius: 12px;
  font-size: 0.75rem;
  font-family: "Space Mono", monospace;
  text-align: center;
  white-space: nowrap;
  pointer-events: auto;
  box-shadow: 0 0 6px #ff55cc99;
  animation: floatWiggle 3s ease-in-out infinite;
  transition: transform 0.3s ease;
  cursor: pointer; /* ✅ ensures hand icon appears */
  user-select: none; /* optional: prevents text selection */
}

/* Floating layout positions — you’ll use JS to apply these */
.bubble:nth-child(1) {
  left: 0px;
  bottom: 100px;
}
.bubble:nth-child(2) {
  left: 120px;
  bottom: 140px;
}
.bubble:nth-child(3) {
  left: 40px;
  bottom: 40px;
}
.bubble:nth-child(4) {
  left: 140px;
  bottom: 80px;
}

.bubble:hover {
  transform: scale(1.1);
}

@keyframes floatWiggle {
  0% {
    transform: rotate(0deg) translateY(0);
  }
  25% {
    transform: rotate(3deg) translateY(-2px);
  }
  50% {
    transform: rotate(-4deg) translateY(1px);
  }
  75% {
    transform: rotate(2deg) translateY(-1px);
  }
  100% {
    transform: rotate(0deg) translateY(0);
  }
}

.badge-preview {
  position: fixed;
  bottom: 210px; /* closer to her head */
  right: 90px; /* aligns with her center */
  background-color: #1e0034;
  color: #ffc978;
  border: 1px solid #ffc978;
  border-radius: 6px;
  padding: 6px 12px;
  font-family: "Space Mono", monospace;
  font-size: 0.9rem;
  box-shadow: 0 0 12px #ffc978;
  display: none;
  z-index: 18; /* slightly below bubbles, above background */
  opacity: 0;
  transition: opacity 0.3s ease;
}
#beginIntakeBtn {
  opacity: 0;
  transition: opacity 0.6s ease;
  display: none;
}

#beginIntakeBtn.fade-in {
  opacity: 1;
}

.floating-orbs.signup-orbs .orb {
  background: radial-gradient(circle, #ff99ff44, transparent 70%);
  animation: floatAroundAlt 30s infinite ease-in-out;
  opacity: 0.2;
}

@keyframes floatAroundAlt {
  0% {
    transform: translate(0, 0) scale(1);
  }
  25% {
    transform: translate(80px, -30px) scale(1.1);
  }
  50% {
    transform: translate(-100px, 60px) scale(0.95);
  }
  75% {
    transform: translate(40px, 120px) scale(1.05);
  }
  100% {
    transform: translate(0, 0) scale(1);
  }
}
.drifting-mist {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: url("https://cdn.glitch.global/6cc9d49d-0d10-4064-aba3-2aef683d4e4a/%E2%80%94Pngtree%E2%80%94water%20mist%20circling%20the%20smoke_5770596.png?v=1746839677803")
    repeat;
  opacity: 0.08;
  animation: driftMist 80s linear infinite;
  pointer-events: none;
  z-index: -1; /* beneath most content, above particles */
  mix-blend-mode: screen;
  filter: blur(2px);
}

@keyframes driftMist {
  0% {
    background-position: 0 0;
  }
  100% {
    background-position: 500px 200px;
  }
}

.eye-flash {
  position: fixed;
  width: 100px;
  height: auto;
  z-index: 2;
  opacity: 0;
  pointer-events: none;
  animation: eyeFade 6s ease-in-out forwards;
  filter: drop-shadow(0 0 6px #ff66cc88);
}

@keyframes eyeFade {
  0% {
    opacity: 0;
    transform: scale(0.8);
  }
  10% {
    opacity: 1;
    transform: scale(1);
  }
  80% {
    opacity: 1;
  }
  100% {
    opacity: 0;
    transform: scale(1.05);
  }
}

/* === Survey Container === */
.survey-container {
  max-width: 500px;
  margin: 3rem auto;
  display: none;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  z-index: 5;
}

.survey-container.visible {
  display: flex;
}

/* === Survey Card Flip Style === */
.survey-card {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid #ffaaee66;
  padding: 1.5rem;
  margin-bottom: 2rem;
  border-radius: 12px;
  text-align: center;
  max-width: 480px;
  width: 100%;
  box-shadow: 0 0 12px #ffaaee33;
  transform: rotateY(90deg);
  opacity: 0;
  transition: all 0.6s ease-in-out;
  display: none;
}

.survey-card.active {
  display: block;
  transform: rotateY(0deg);
  opacity: 1;
}

.card-question {
  font-size: 1.2rem;
  margin-bottom: 1rem;
  color: #ffccff;
  text-shadow: 0 0 3px #ff88ff;
}
.card-answers {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 1rem;
  margin-top: 1rem;
}

.card-answers button {
  background-color: #1e0034;
  color: #ffccff;
  border: 1px solid #ff66cc;
  padding: 10px 18px;
  margin: 0.5rem;
  font-family: "Space Mono", monospace;
  border-radius: 8px;
  cursor: pointer;
  transition: 0.3s ease;
  box-shadow: 0 0 6px #ff99ff44, inset 0 0 6px #ff66cc22;
}

.card-answers button:hover {
  background-color: #ffccff;
  color: #1e0034;
  box-shadow: 0 0 10px #ff66cc;
}

.final-badge-card {
  position: fixed;
  bottom: 100px;
  left: 50%;
  transform: translateX(-50%);
  background: #1e0034;
  color: #ffccff;
  padding: 1.2rem 1.5rem;
  border: 1px solid #ffc978;
  border-radius: 8px;
  text-align: center;
  font-family: "Space Mono", monospace;
  box-shadow: 0 0 20px #ffc978aa;
  animation: fadeIn 1s ease;
  z-index: 20;
}

.fade-out {
  animation: fadeOutVanish 1.2s ease forwards;
}

@keyframes fadeOutVanish {
  0% {
    opacity: 1;
    filter: none;
  }
  50% {
    opacity: 0.5;
    filter: blur(1px) brightness(1.2);
  }
  100% {
    opacity: 0;
    filter: blur(3px) brightness(0.5);
  }
}

.ticker-box {
  background-color: rgba(255, 255, 255, 0.03);
  border: 1px dashed #ffaaee;
  padding: 0.5rem;
  height: 140px;
  box-shadow: inset 0 0 6px #ff88ff33;
  font-size: 0.85rem;
  color: #ffccff;
  font-family: "Space Mono", monospace;
}
.ticker-box p {
  margin: 0 0 0.75rem 0;
}

.floating-secret {
  position: fixed;
  width: 80px;
  z-index: 100;
  cursor: pointer;
  opacity: 0;
  animation: floatAround 20s linear infinite, fadeIn 1.5s ease forwards;
}

.floating-secret.fade-out {
  animation: fadeOut 1s ease forwards;
}

@keyframes floatAround {
  0% {
    top: 20%;
    left: 20%;
  }
  25% {
    top: 10%;
    left: 70%;
  }
  50% {
    top: 60%;
    left: 60%;
  }
  75% {
    top: 50%;
    left: 10%;
  }
  100% {
    top: 20%;
    left: 20%;
  }
}

@keyframes fadeIn {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

@keyframes fadeOut {
  from {
    opacity: 1;
  }
  to {
    opacity: 0;
    transform: scale(0.8);
  }
}

/* DREAMSYNC INTRO SCREEN STYLES */
#dreamsync-intro {
  position: fixed;
  top: 0;
  left: 0;
  height: 100vh;
  width: 100vw;
  background: #ffffff;
  z-index: 9999;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  font-family: 'Helvetica Neue', Arial, sans-serif;
  text-align: center;
  padding: 20px;
}

#dreamsync-logo {
  width: 220px;
  max-width: 90%;
  height: auto;
  margin-bottom: 20px;
}

#dreamsync-intro h1 {
  font-size: 2.5rem;
  font-weight: bold;
  margin: 10px 0;
  color: #111;
}

#dreamsync-intro .slogan {
  font-size: 1.2rem;
  color: #111;
  margin-bottom: 40px;
}

#begin-intake {
  background: #111;
  color: #fff;
  border: none;
  padding: 12px 24px;
  font-size: 1rem;
  cursor: pointer;
  border-radius: 6px;
  transition: background 0.3s ease;
}

#begin-intake:hover {
  background: #333;
}

/* DreamSync intro screen */
#dreamsync-intro {
  position: fixed;
  top: 0;
  left: 0;
  height: 100vh;
  width: 100vw;
  background: #ffffff;
  z-index: 9999;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  font-family: 'Helvetica Neue', Arial, sans-serif;
  text-align: center;
  padding: 20px;
}

#dreamsync-logo {
  width: 220px;
  max-width: 90%;
  height: auto;
  margin-bottom: 20px;
}

#dreamsync-intro h1 {
  font-size: 2.5rem;
  font-weight: bold;
  margin: 10px 0;
  color: #111;
}

.slogan {
  font-size: 1.2rem;
  color: #111;
  margin-bottom: 40px;
}

#begin-intake {
  background: #111;
  color: #fff;
  border: none;
  padding: 12px 24px;
  font-size: 1rem;
  cursor: pointer;
  border-radius: 6px;
  transition: background 0.3s ease;
}

#begin-intake:hover {
  background: #333;
}

/* Glitch visual */
@keyframes glitch {
  0% { transform: translate(0); }
  20% { transform: translate(-3px, 2px); }
  40% { transform: translate(3px, -2px); }
  60% { transform: translate(-2px, 3px); }
  80% { transform: translate(2px, -3px); }
  100% { transform: translate(0); }
}

.glitch-out {
  animation: glitch 0.3s steps(2, end) infinite;
  opacity: 0.05;
  filter: contrast(200%) hue-rotate(40deg) saturate(150%);
}

#glitch-overlay {
  position: fixed;
  top: 0;
  left: 0;
  height: 100vh;
  width: 100vw;
  background: #000;
  z-index: 10000;
  display: none;
  justify-content: center;
  align-items: center;
}

#glitch-overlay img {
  width: 100vw;
  height: 100vh;
  object-fit: cover;
}

html, body { overflow-anchor: none; }
