
body {
  margin: 0;
  padding: 0;
  background: #111;
  font-family: 'Segoe UI', sans-serif;
  color: white;
  overflow-x: hidden;
  height: 100%;
  text-align: center;
}

.container {
  max-width: 600px;
  margin: auto;
  padding: 2em;
  position: relative;
  z-index: 2;
}

.background-blocks {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  height: 100dvh;
  overflow: hidden;
  pointer-events: none;
  z-index: 0;
}
.block {
  position: absolute;
  width: 28px;
  height: 28px;
  border-radius: 0;
  opacity: 0.14;
  animation: colorCycle 14s infinite;
}

.glow-controls {
  margin-top: 1em;
  width: 100%;
  max-width: 320px;
  margin-left: auto;
  margin-right: auto;
}
.glow-controls label {
  display: block;
  margin: 1em 0 0.3em;
  font-weight: bold;
}
.glow-controls input[type="range"] {
  width: 100%;
  margin-bottom: 0.5em;
}

#doghouse {
  position: fixed;
  top: .6em;
  right: .4em;
  width: 42px;
  height: 42px;
  font-size: 2em;
  background: none;
  border: none;
  color: white;
  cursor: pointer;
  z-index: 10000;
}

.hamburger {
      display: none;
      background: none;
      border: none;
      font-size: 1.6em;
      color: white;
      position: absolute;
      right: 1em;
      top: 1em;
    }
    

#cake {
  max-width: 300px;
  width: 100%;
  display: block;
  margin: 0 auto;
}

#glob {
  animation: fireflyBreath 3s ease-in-out infinite;
}

@keyframes fadeUp {
  0% { opacity: 0; transform: translateY(10px); }
  50% { opacity: 1; }
  100% { opacity: 0; transform: translateY(-20px); }
}


.the-button {
      display: inline-block;
      padding: 0.9em 1.6em;
      font-size: 1.2em;
      font-weight: bold;
      border-radius: 12px;
      text-decoration: none;
      border: none;
      cursor: pointer;
      color: white;
      background: #444;
      box-shadow: 0 2px 8px rgba(0,0,0,0.3);
      transition: all 0.25s ease, transform 0.1s ease;
      position: relative;
      z-index: 1;
      overflow: hidden;
    }

    .the-button:hover {
      transform: scale(1.05);
      box-shadow: 0 0 14px rgba(255, 255, 255, 0.2);
    }

    .the-button.red {
      background: #FF4C4C;
    }
    .the-button.red:hover {
      background: #e63b3b;
    }

    .the-button.yellow {
      background: #FFD93D;
      color: #111;
    }
    .the-button.yellow:hover {
      background: #ffc300;
    }

    .the-button.green {
      background: #75E67B;
      color: #111;
    }
    .the-button.green:hover {
      background: #4cd187;
    }

    /* Optional shimmer */
    .the-button.sparkle {
      background-image: linear-gradient(90deg, #FFD700, #FFA500, #FFD700);
      background-size: 200% auto;
      animation: shimmer 4s ease infinite;
    }
    .the-button.sparkle:hover {
      background-position: right center;
      box-shadow: 0 0 20px rgba(255, 215, 0, 0.8), 0 0 40px rgba(255, 165, 0, 0.6);
    }

    @keyframes shimmer {
      0% { background-position: 0% 50%; }
      50% { background-position: 100% 50%; }
      100% { background-position: 0% 50%; }
    }

 #magic-submit {
  position: relative;
  background: linear-gradient(135deg, #ff9a9e, #fad0c4);
  border: none;
  padding: 1em 2em;
  font-size: 1.1rem;
  border-radius: 2em;
  color: white;
  cursor: pointer;
  overflow: hidden;
  transition: background 0.3s ease;
}

#magic-submit::after {
  content: "";
  position: absolute;
  top: var(--y, 50%);
  left: var(--x, 50%);
  transform: translate(-50%, -50%);
  width: 300%;
  height: 300%;
  background: radial-gradient(circle, rgba(255,255,255,0.3), transparent 40%);
  opacity: 0;
  transition: opacity 0.3s ease;
}

#magic-submit:hover::after {
  opacity: 1;
}
   
.form-wrapper form {
  display: flex;
  flex-direction: column;
  gap: 1em;
  align-items: center;
}


.form-wrapper form input,
.form-wrapper form select,
.form-wrapper form textarea {
  width: 100%;
  max-width: 500px;
  padding: 0.8em;
  border-radius: 8px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  background: rgba(0, 0, 0, 0.4);
  color: #fff;
  font-size: 1em;
  text-align: center;
}

/* 🌈 Apply filled styles (all fields unified look) */
input.filled,
textarea.filled,
select.filled {
  background-color: #fff !important;
  color: #000 !important;
}

.nav-links {
  display: none;
  flex-direction: column;
  align-items: center;
  background: #222;
  position: fixed;
  top: 64px;
  right: 10px;
  padding: 1em;
  border-radius: 12px;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.6);
  border: 1px solid rgba(255, 255, 255, 0.1);
  opacity: 0;
  transform: translateY(-10px);
  transition: opacity 0.3s ease, transform 0.3s ease;
  z-index: 9999;
}

.nav-links.show {
  display: flex;
  opacity: 1;
  transform: translateY(0);
}

.nav-links a {
  color: #fff;
  font-weight: bold;
  text-decoration: none;
  padding: 0.6em 1.2em;
  margin: 0.3em 0;
  border-radius: 8px;
  transition: background 0.2s ease, text-decoration 0.2s ease;
}

.nav-links a:hover {
  background: #333;
  text-decoration: underline;
}

#chakraLabel {
  font-size: 1.1em;
  color: #aaa;
  text-align: center;
  margin-bottom: 1em;
}

@media (max-width: 600px) {
  body {
    font-size: 1em;
    padding: 1em;
  }

  .form-wrapper {
    height: auto;
    padding: 1.5em 1em;
    flex-direction: column;
  }

  form,
  .form-wrapper form {
    width: 100%;
    max-width: 100%;
    gap: 0.8em;
  }

  .form-wrapper form input,
  .form-wrapper form select,
  .form-wrapper form textarea {
    font-size: 1em;
    padding: 0.7em;
    max-width: 100%;
  }

.nav-links {
  display: none;
  flex-direction: column;
  align-items: center;
  background: #222;
  position: fixed;
  top: 64px;
  right: 10px;
  padding: 1em;
  border-radius: 12px;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.6);
  border: 1px solid rgba(255, 255, 255, 0.1);
  opacity: 0;
  transform: translateY(-10px);
  transition: opacity 0.3s ease, transform 0.3s ease;
  z-index: 9999;
}

.nav-links.show {
  display: flex;
  opacity: 1;
  transform: translateY(0);
}

.nav-links a {
  color: #fff;
  font-weight: bold;
  text-decoration: none;
  padding: 0.6em 1.2em;
  margin: 0.3em 0;
  border-radius: 8px;
  transition: background 0.2s ease, text-decoration 0.2s ease;
}

.nav-links a:hover {
  background: #333;
  text-decoration: underline;
}

#cake {
    max-width: 240px;
  }

  .glow-controls {
    max-width: 100%;
  }
}

    .hamburger {
      display: none;
      background: none;
      border: none;
      font-size: 1.6em;
      color: white;
      position: absolute;
      right: 1em;
      top: 1em;
    }


