body {
  margin: 0;
  padding: 0;
  background-color: #003366;
  color: #ffffff;
  font-family: Arial, Helvetica, sans-serif;
  display: flex;
  flex-direction: column;
  min-height: 100vh;
}

/* Desktop default */
.flag-usa {
  max-width: 420px;
  width: 40vw;
  height: auto;
  margin-bottom: 16px;
  display: block;

  border: 4px solid white;
  border-radius: 6px;
  box-shadow: 0 0 12px rgba(255, 255, 255, 0.3);
}

/* Medium screens (like tablets) */
@media (max-width: 900px) {
  .flag-usa {
    width: 55vw;
    max-width: 360px;
  }
}

/* Small screens (phones) */
@media (max-width: 600px) {
  .flag-usa {
    width: 70vw;
    max-width: 300px;
    border-width: 3px;
  }
}

.container {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
}

h1 {
  margin: 12px 0 12px 0;
  font-size: 2rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

#countdown {
  margin: 8px 0 16px 0;
  font-size: 3.5rem;
  font-weight: bold;
  letter-spacing: 0.08em;
  margin-bottom: 20px;
}

/* Hype button */
#hypeButton {
  margin-top: 8px;
  padding: 10px 24px;
  font-size: 1rem;
  font-weight: bold;
  border-radius: 999px;
  border: none;
  cursor: pointer;
  background-color: #ffffff;
  color: #003366;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  transition: transform 0.1s ease, opacity 0.1s ease, box-shadow 0.1s ease;
  box-shadow: 0 0 12px rgba(0, 0, 0, 0.4);
}

#hypeButton:hover {
  transform: scale(1.05);
  opacity: 0.95;
}

#hypeButton:active {
  transform: scale(0.97);
  opacity: 0.85;
}

/* Wrapper that spins + fades */
.hype-wrapper {
  position: fixed;
  width: 160px;
  height: 160px;
  z-index: 9999;
  pointer-events: none;

  animation:
    hype-pop 0.4s ease-out,
    hype-spin 1s linear infinite,   /* ← original speed */
    hype-fade 21s linear forwards;
}

/* Inner image that pulses size */
.hype-img {
  width: 100%;
  height: auto;
  animation: hype-pulse 2.5s ease-in-out forwards;
}

/* Pop-in effect */
@keyframes hype-pop {
  from { transform: scale(0) rotate(-15deg); opacity: 0; }
  to   { transform: scale(1) rotate(0deg);   opacity: 1; }
}

/* Crazy spin */
@keyframes hype-spin {
  0%   { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }   /* ← original speed */
}

/* Grow / shrink */
@keyframes hype-pulse {
  0%   { transform: scale(0.9); }
  25%  { transform: scale(1.15); }
  50%  { transform: scale(0.85); }
  75%  { transform: scale(1.2); }
  100% { transform: scale(0.9); }
}

/* Fade over full 21 seconds */
@keyframes hype-fade {
  0%   { opacity: 1; }
  100% { opacity: 0; }
}

footer {
  text-align: center;
  padding: 10px 0;
  font-size: 0.9rem;
  opacity: 0.8;
}
