* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}
:root {
  --purple: #7B2CBF;
  --pink: #FF006E;
  --orange: #FB5607;
  --yellow: #FFBE0B;
  --blue: #3A86FF;
  --cyan: #00F5FF;
  --lime: #B7FF00;
  --dark: #0D0221;
  --darkpurple: #240046;
}
body {
  font-family: "Fredoka", sans-serif;
  background: linear-gradient(135deg, var(--dark) 0%, var(--darkpurple) 50%, #1a0a3e 100%);
  color: #fff;
  overflow-x: hidden;
  position: relative;
  min-height: 100vh;
}
.stars {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 1;
}
.floating-moon {
  position: fixed;
  top: 10%;
  right: 5%;
  font-size: clamp(80px, 15vw, 150px);
  animation: float 6s ease-in-out infinite;
  filter: drop-shadow(0 0 30px rgba(255, 255, 150, 0.6));
  z-index: 2;
  cursor: pointer;
  transition: transform 0.3s ease;
}
.floating-moon:hover {
  transform: scale(1.1) rotate(15deg);
}
.villain-badge {
  position: fixed;
  top: 2rem;
  left: 2rem;
  background: linear-gradient(135deg, var(--purple), var(--pink));
  padding: 0.5rem 1.5rem;
  border-radius: 50px;
  border: 3px solid var(--yellow);
  box-shadow: 0 0 20px rgba(255, 190, 11, 0.5);
  z-index: 1000;
  animation: pulse 2s ease-in-out infinite;
}
.badge-text {
  font-family: "Space Mono", monospace;
  font-weight: 700;
  font-size: 0.85rem;
  letter-spacing: 0.1em;
  color: var(--yellow);
  text-shadow: 0 0 10px rgba(255, 190, 11, 0.8);
}
.hero {
  text-align: center;
  padding: 8rem 2rem 4rem;
  position: relative;
  z-index: 10;
}
.glowing-title {
  margin: 0;
  line-height: 0.9;
}
.title-line {
  display: block;
  font-weight: 700;
  font-size: clamp(2rem, 8vw, 4rem);
  background: linear-gradient(45deg, var(--cyan), var(--blue), var(--purple), var(--pink));
  background-size: 300% 300%;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  animation: gradient-shift 3s ease infinite;
  text-shadow: 0 0 40px rgba(58, 134, 255, 0.5);
}
.title-line.huge {
  font-size: clamp(3rem, 12vw, 8rem);
  font-weight: 700;
  margin-top: -0.5rem;
}
.subtitle {
  font-size: clamp(1rem, 2.5vw, 1.5rem);
  color: var(--yellow);
  margin-top: 1rem;
  font-weight: 600;
}
.announcement {
  margin: 3rem auto 0;
  max-width: 700px;
  background: linear-gradient(135deg, rgba(123, 44, 191, 0.3), rgba(255, 0, 110, 0.3));
  border: 3px solid var(--cyan);
  border-radius: 30px;
  padding: 2rem;
  display: flex;
  gap: 1.5rem;
  align-items: flex-start;
  box-shadow: 0 0 40px rgba(0, 245, 255, 0.3);
}
.announcement-icon {
  font-size: 3rem;
  animation: bounce 2s ease-in-out infinite;
}
.announcement-content {
  text-align: left;
  line-height: 1.8;
  font-size: clamp(0.9rem, 2vw, 1.1rem);
}
.mission-briefing,
.timeline,
.lab-notes,
.stats-dashboard,
.future-heists {
  margin: 4rem auto;
  padding: 0 2rem;
  max-width: 1200px;
  position: relative;
  z-index: 10;
}
h2 {
  font-size: clamp(2rem, 5vw, 3rem);
  font-weight: 700;
  text-align: center;
  margin-bottom: 2rem;
  background: linear-gradient(90deg, var(--pink), var(--orange), var(--yellow));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  text-shadow: 0 0 20px rgba(255, 190, 11, 0.3);
}
.briefing-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 2rem;
}
.briefing-card {
  background: linear-gradient(135deg, rgba(58, 134, 255, 0.2), rgba(123, 44, 191, 0.2));
  border: 3px solid var(--blue);
  border-radius: 25px;
  padding: 2rem;
  text-align: center;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.briefing-card:hover {
  transform: translateY(-10px) rotate(2deg);
  box-shadow: 0 20px 40px rgba(58, 134, 255, 0.4);
}
.card-icon {
  font-size: 4rem;
  margin-bottom: 1rem;
  animation: wiggle 3s ease-in-out infinite;
}
.briefing-card h3 {
  font-size: 1.5rem;
  color: var(--cyan);
  margin-bottom: 1rem;
}
.briefing-card p {
  line-height: 1.6;
  color: #ddd;
}
.timeline-track {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 3rem;
  margin-top: 3rem;
}
.timeline-node {
  background: linear-gradient(135deg, rgba(255, 0, 110, 0.15), rgba(251, 86, 7, 0.15));
  border: 4px solid var(--pink);
  border-radius: 30px;
  padding: 2rem;
  position: relative;
  transition: all 0.3s ease;
}
.timeline-node:hover {
  transform: scale(1.05);
  box-shadow: 0 0 50px rgba(255, 0, 110, 0.5);
}
.node-number {
  position: absolute;
  top: -20px;
  left: 2rem;
  width: 50px;
  height: 50px;
  background: linear-gradient(135deg, var(--pink), var(--orange));
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  font-weight: 700;
  border: 3px solid var(--yellow);
  box-shadow: 0 0 20px rgba(255, 190, 11, 0.6);
}
.node-content h3 {
  font-size: 1.8rem;
  color: var(--yellow);
  margin-bottom: 1rem;
  margin-top: 1rem;
}
.node-content p {
  line-height: 1.6;
  color: #ddd;
  margin-bottom: 1rem;
}
.progress-dots {
  display: flex;
  gap: 0.5rem;
  margin-top: 1rem;
}
.dot {
  width: 12px;
  height: 12px;
  background: var(--cyan);
  border-radius: 50%;
  animation: pulse-dot 1.5s ease-in-out infinite;
}
.dot:nth-child(2) {
  animation-delay: 0.3s;
}
.dot:nth-child(3) {
  animation-delay: 0.6s;
}
.material-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-top: 1rem;
}
.badge {
  background: linear-gradient(135deg, var(--blue), var(--purple));
  padding: 0.4rem 1rem;
  border-radius: 20px;
  font-size: 0.9rem;
  font-weight: 600;
  border: 2px solid var(--cyan);
}
.success-indicator {
  display: flex;
  gap: 1rem;
  justify-content: center;
  margin-top: 1rem;
}
.emoji {
  font-size: 2rem;
  animation: spin 3s linear infinite;
}
.notes-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  gap: 1.5rem;
  margin-bottom: 2rem;
}
.add-note-btn {
  display: block;
  margin: 0 auto;
  background: linear-gradient(135deg, var(--lime), var(--cyan));
  color: var(--dark);
  border: none;
  padding: 1rem 2rem;
  border-radius: 50px;
  font-family: "Fredoka", sans-serif;
  font-size: 1.1rem;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.3s ease;
  box-shadow: 0 0 30px rgba(183, 255, 0, 0.4);
}
.add-note-btn:hover {
  transform: scale(1.1) rotate(-5deg);
  box-shadow: 0 0 50px rgba(183, 255, 0, 0.8);
}
.stats-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 2rem;
}
.stat-card {
  background: linear-gradient(135deg, rgba(58, 134, 255, 0.25), rgba(255, 0, 110, 0.25));
  border: 3px solid var(--orange);
  border-radius: 25px;
  padding: 2rem;
  text-align: center;
  transition: all 0.3s ease;
}
.stat-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 20px 40px rgba(251, 86, 7, 0.5);
}
.stat-value {
  font-size: 3rem;
  font-weight: 700;
  background: linear-gradient(45deg, var(--yellow), var(--orange), var(--pink));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin-bottom: 0.5rem;
}
.stat-label {
  font-size: 1rem;
  color: var(--cyan);
  font-weight: 600;
}
.future-intro {
  text-align: center;
  font-size: 1.3rem;
  color: var(--yellow);
  margin-bottom: 2rem;
}
.heist-ideas {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 2rem;
}
.heist-card {
  background: linear-gradient(135deg, rgba(123, 44, 191, 0.3), rgba(255, 0, 110, 0.3));
  border: 3px solid var(--purple);
  border-radius: 25px;
  padding: 3rem 2rem;
  text-align: center;
  cursor: pointer;
  transition: all 0.3s ease;
}
.heist-card:hover {
  transform: scale(1.05) rotate(-2deg);
  box-shadow: 0 0 40px rgba(123, 44, 191, 0.6);
}
.heist-icon {
  font-size: 4rem;
  margin-bottom: 1rem;
}
.heist-card h3 {
  font-size: 1.3rem;
  color: var(--yellow);
}
footer {
  text-align: center;
  padding: 3rem 2rem;
  margin-top: 4rem;
  background: linear-gradient(135deg, rgba(13, 2, 33, 0.8), rgba(36, 0, 70, 0.8));
  border-top: 3px solid var(--cyan);
  position: relative;
  z-index: 10;
}
footer p {
  margin: 0.5rem 0;
  color: #ddd;
}
.footer-tagline {
  font-size: 1.2rem;
  color: var(--yellow);
  font-weight: 700;
}
.confetti-layer {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 9999;
}
@keyframes float {
  0%, 100% {
    transform: translateY(0) rotate(0deg);
  }
  50% {
    transform: translateY(-30px) rotate(10deg);
  }
}
@keyframes pulse {
  0%, 100% {
    transform: scale(1);
  }
  50% {
    transform: scale(1.05);
  }
}
@keyframes gradient-shift {
  0% {
    background-position: 0% 50%;
  }
  50% {
    background-position: 100% 50%;
  }
  100% {
    background-position: 0% 50%;
  }
}
@keyframes bounce {
  0%, 100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-15px);
  }
}
@keyframes wiggle {
  0%, 100% {
    transform: rotate(0deg);
  }
  25% {
    transform: rotate(-10deg);
  }
  75% {
    transform: rotate(10deg);
  }
}
@keyframes pulse-dot {
  0%, 100% {
    opacity: 1;
    transform: scale(1);
  }
  50% {
    opacity: 0.5;
    transform: scale(0.8);
  }
}
@keyframes spin {
  0% {
    transform: rotate(0deg);
  }
  100% {
    transform: rotate(360deg);
  }
}
@media (max-width: 768px) {
  .villain-badge {
    top: 1rem;
    left: 1rem;
    padding: 0.4rem 1rem;
  }
  .badge-text {
    font-size: 0.7rem;
  }
  .hero {
    padding: 6rem 1rem 2rem;
  }
  .announcement {
    flex-direction: column;
    text-align: center;
  }
  .announcement-content {
    text-align: center;
  }
  .floating-moon {
    font-size: 80px;
    top: 5%;
    right: 2%;
  }
}
