@import url('https://fonts.googleapis.com/css2?family=Comic+Neue:wght@400;700&family=Pacifico&family=Poppins:wght@300;600&display=swap');

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

:root {
  /* Y2K Millennial Colors */
  --pink-hot: #FF1493;
  --pink-bubblegum: #FF69B4;
  --pink-soft: #FFB6C1;
  --purple-electric: #DA70D6;
  --purple-deep: #9370DB;
  --cyan-bright: #00FFFF;
  --yellow-sunshine: #FFD700;
  --lime-glow: #ADFF2F;
  --white-cream: #FFF5F7;
  --sparkle: #FFFFFF;
}

body {
  font-family: 'Comic Neue', cursive;
  background: linear-gradient(135deg,
      var(--pink-soft) 0%,
      var(--purple-electric) 25%,
      var(--pink-bubblegum) 50%,
      var(--cyan-bright) 75%,
      var(--purple-deep) 100%);
  background-size: 400% 400%;
  animation: gradientShift 15s ease infinite;
  min-height: 100vh;
  overflow-x: hidden;
  position: relative;
}

@keyframes gradientShift {

  0%,
  100% {
    background-position: 0% 50%;
  }

  50% {
    background-position: 100% 50%;
  }
}

/* Sparkle Background Effect */
body::before {
  content: '';
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image:
    radial-gradient(2px 2px at 20% 30%, white, transparent),
    radial-gradient(2px 2px at 60% 70%, var(--cyan-bright), transparent),
    radial-gradient(1px 1px at 50% 50%, var(--yellow-sunshine), transparent),
    radial-gradient(1px 1px at 80% 10%, white, transparent),
    radial-gradient(2px 2px at 90% 60%, var(--pink-hot), transparent),
    radial-gradient(1px 1px at 33% 80%, white, transparent);
  background-size: 200% 200%;
  background-position: 0% 0%;
  animation: sparkle 3s ease-in-out infinite;
  pointer-events: none;
  opacity: 0.6;
  z-index: 1;
}

@keyframes sparkle {

  0%,
  100% {
    opacity: 0.6;
    transform: scale(1);
  }

  50% {
    opacity: 1;
    transform: scale(1.05);
  }
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 40px 20px;
  position: relative;
  z-index: 2;
}

/* Header */
header {
  text-align: center;
  margin-bottom: 50px;
  position: relative;
}

h1 {
  font-family: 'Pacifico', cursive;
  font-size: 4rem;
  color: var(--white-cream);
  text-shadow:
    3px 3px 0 var(--pink-hot),
    6px 6px 0 var(--purple-electric),
    9px 9px 0 var(--cyan-bright),
    0 0 20px rgba(255, 20, 147, 0.8);
  animation: bounce 2s ease-in-out infinite;
  transform-origin: center;
  margin-bottom: 10px;
}

@keyframes bounce {

  0%,
  100% {
    transform: translateY(0) rotate(-2deg);
  }

  50% {
    transform: translateY(-20px) rotate(2deg);
  }
}

.tagline {
  font-size: 1.2rem;
  color: var(--yellow-sunshine);
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
  font-weight: 700;
  letter-spacing: 2px;
}

/* Top 8 Section */
.top-8-section {
  background: rgba(255, 255, 255, 0.15);
  backdrop-filter: blur(10px);
  border: 3px dashed var(--pink-hot);
  border-radius: 30px;
  padding: 30px;
  margin-bottom: 40px;
  box-shadow:
    0 8px 32px rgba(255, 20, 147, 0.3),
    inset 0 0 20px rgba(255, 255, 255, 0.2);
  position: relative;
  overflow: hidden;
}

.top-8-section::before {
  content: '✨';
  position: absolute;
  top: 10px;
  right: 10px;
  font-size: 2rem;
  animation: spin 4s linear infinite;
}

@keyframes spin {
  from {
    transform: rotate(0deg);
  }

  to {
    transform: rotate(360deg);
  }
}

.top-8-title {
  font-family: 'Pacifico', cursive;
  font-size: 2.5rem;
  color: var(--pink-hot);
  text-align: center;
  margin-bottom: 30px;
  text-shadow: 2px 2px 0 var(--white-cream);
}

.top-8-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 20px;
}

.friend-card {
  background: linear-gradient(135deg, var(--pink-soft), var(--purple-electric));
  border: 3px solid var(--white-cream);
  border-radius: 20px;
  padding: 20px;
  text-align: center;
  position: relative;
  transition: all 0.3s ease;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  cursor: pointer;
}

.friend-card:hover {
  transform: translateY(-10px) rotate(2deg);
  box-shadow: 0 8px 25px rgba(255, 20, 147, 0.5);
}

.friend-number {
  position: absolute;
  top: -10px;
  left: -10px;
  background: var(--yellow-sunshine);
  color: var(--purple-deep);
  width: 35px;
  height: 35px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 1.2rem;
  border: 2px solid var(--white-cream);
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
}

.friend-avatar {
  width: 100px;
  height: 100px;
  border-radius: 50%;
  background: linear-gradient(45deg, var(--cyan-bright), var(--lime-glow));
  margin: 0 auto 15px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 3rem;
  border: 3px solid var(--white-cream);
  box-shadow: 0 0 15px rgba(255, 255, 255, 0.5);
  overflow: hidden;
}

.friend-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.friend-name {
  font-weight: 700;
  color: var(--white-cream);
  font-size: 1.1rem;
  text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.5);
}

/* Buttons Section */
.buttons-section {
  display: flex;
  flex-direction: column;
  gap: 25px;
  align-items: center;
  margin-top: 40px;
}

.cool-button {
  font-family: 'Poppins', sans-serif;
  font-size: 1.3rem;
  font-weight: 600;
  padding: 20px 40px;
  border: none;
  border-radius: 50px;
  cursor: pointer;
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
  min-width: 350px;
  text-align: center;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
}

.cool-button::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  width: 0;
  height: 0;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.5);
  transform: translate(-50%, -50%);
  transition: width 0.6s, height 0.6s;
}

.cool-button:hover::before {
  width: 300px;
  height: 300px;
}

.cool-button:hover {
  transform: scale(1.1) rotate(-2deg);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.4);
}

.cool-button span {
  position: relative;
  z-index: 1;
}

/* Individual Button Styles */
#candid-thoughts {
  background: linear-gradient(135deg, var(--pink-hot), var(--purple-electric));
  color: var(--white-cream);
  border: 4px solid var(--yellow-sunshine);
}

#edited-thoughts {
  background: linear-gradient(135deg, var(--cyan-bright), var(--lime-glow));
  color: var(--purple-deep);
  border: 4px solid var(--pink-hot);
  animation: pulse 2s ease-in-out infinite;
}

@keyframes pulse {

  0%,
  100% {
    transform: scale(1);
  }

  50% {
    transform: scale(1.05);
  }
}

#stuff-to-remember {
  background: linear-gradient(135deg, var(--purple-deep), var(--pink-bubblegum));
  color: var(--white-cream);
  border: 4px dashed var(--cyan-bright);
}

#bats-button {
  background: linear-gradient(135deg, #000000, var(--purple-deep));
  color: var(--pink-hot);
  border: 4px solid var(--pink-hot);
  position: relative;
}

#bats-button::after {
  content: '🦇';
  position: absolute;
  right: 20px;
  top: 50%;
  transform: translateY(-50%);
  font-size: 2rem;
  animation: fly 2s ease-in-out infinite;
}

@keyframes fly {

  0%,
  100% {
    transform: translateY(-50%) translateX(0);
  }

  50% {
    transform: translateY(-50%) translateX(-10px);
  }
}

/* Decorative Elements */
.hearts {
  position: fixed;
  font-size: 2rem;
  opacity: 0.7;
  pointer-events: none;
  z-index: 999;
  animation: float 6s ease-in-out infinite;
}

@keyframes float {

  0%,
  100% {
    transform: translateY(0) rotate(0deg);
  }

  50% {
    transform: translateY(-30px) rotate(15deg);
  }
}

.heart-1 {
  top: 10%;
  left: 5%;
  animation-delay: 0s;
}

.heart-2 {
  top: 20%;
  right: 8%;
  animation-delay: 1s;
}

.heart-3 {
  bottom: 15%;
  left: 10%;
  animation-delay: 2s;
}

.heart-4 {
  bottom: 25%;
  right: 5%;
  animation-delay: 3s;
}

/* Stars */
.star {
  position: fixed;
  font-size: 1.5rem;
  opacity: 0.8;
  pointer-events: none;
  z-index: 999;
  animation: twinkle 3s ease-in-out infinite;
}

@keyframes twinkle {

  0%,
  100% {
    opacity: 0.8;
    transform: scale(1);
  }

  50% {
    opacity: 1;
    transform: scale(1.3);
  }
}

.star-1 {
  top: 15%;
  left: 15%;
  animation-delay: 0.5s;
}

.star-2 {
  top: 60%;
  left: 5%;
  animation-delay: 1.5s;
}

.star-3 {
  top: 40%;
  right: 10%;
  animation-delay: 2.5s;
}

/* Ducks */
.duck {
  position: fixed;
  font-size: 2rem;
  opacity: 0.7;
  pointer-events: none;
  z-index: 999;
  animation: waddle 5s ease-in-out infinite;
}

@keyframes waddle {

  0%,
  100% {
    transform: translateX(0) rotate(-5deg);
  }

  50% {
    transform: translateX(30px) rotate(5deg);
  }
}

.duck-1 {
  top: 30%;
  right: 15%;
  animation-delay: 0.8s;
}

.duck-2 {
  bottom: 40%;
  left: 12%;
  animation-delay: 2.5s;
}

/* Seals */
.seal {
  position: fixed;
  font-size: 2rem;
  opacity: 0.7;
  pointer-events: none;
  z-index: 999;
  animation: bounce-seal 4s ease-in-out infinite;
}

@keyframes bounce-seal {

  0%,
  100% {
    transform: translateY(0) rotate(0deg);
  }

  50% {
    transform: translateY(-25px) rotate(10deg);
  }
}

.seal-1 {
  top: 50%;
  right: 8%;
  animation-delay: 1.2s;
}

.seal-2 {
  bottom: 10%;
  left: 20%;
  animation-delay: 3s;
}

/* Bunnies */
.bunny {
  position: fixed;
  font-size: 2rem;
  opacity: 0.7;
  pointer-events: none;
  z-index: 999;
  animation: hop 3.5s ease-in-out infinite;
}

@keyframes hop {

  0%,
  100% {
    transform: translateY(0) scale(1);
  }

  25% {
    transform: translateY(-20px) scale(1.1);
  }

  50% {
    transform: translateY(0) scale(1);
  }

  75% {
    transform: translateY(-15px) scale(1.05);
  }
}

.bunny-1 {
  top: 25%;
  left: 8%;
  animation-delay: 0.3s;
}

.bunny-2 {
  top: 70%;
  right: 20%;
  animation-delay: 2s;
}

/* Peaches */
.peach {
  position: fixed;
  font-size: 2rem;
  opacity: 0.7;
  pointer-events: none;
  z-index: 999;
  animation: sway 4.5s ease-in-out infinite;
}

@keyframes sway {

  0%,
  100% {
    transform: rotate(-8deg) translateX(0);
  }

  50% {
    transform: rotate(8deg) translateX(10px);
  }
}

.peach-1 {
  top: 35%;
  left: 25%;
  animation-delay: 1.8s;
}

.peach-2 {
  bottom: 20%;
  right: 25%;
  animation-delay: 0.5s;
}

/* Dropdown Styles */
.button-with-dropdown {
  position: relative;
  display: inline-block;
}

.dropdown-menu {
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translateX(-50%);
  margin-top: 10px;
  background: linear-gradient(135deg, rgba(255, 20, 147, 0.95), rgba(138, 43, 226, 0.95));
  backdrop-filter: blur(10px);
  border: 3px solid var(--yellow-sunshine);
  border-radius: 20px;
  padding: 10px;
  min-width: 250px;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.4);
  opacity: 0;
  visibility: hidden;
  transform: translateX(-50%) translateY(-10px);
  transition: all 0.3s ease;
  z-index: 1000;
}

.dropdown-menu.show {
  opacity: 1;
  visibility: visible;
  transform: translateX(-50%) translateY(0);
}

.dropdown-header {
  padding: 15px 20px;
  color: var(--yellow-sunshine);
  font-size: 1rem;
  font-weight: 700;
  text-align: center;
  background: linear-gradient(135deg, rgba(255, 215, 0, 0.2), rgba(173, 255, 47, 0.2));
  border-radius: 12px;
  margin-bottom: 10px;
  border: 2px dashed var(--cyan-bright);
  text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.3);
  line-height: 1.3;
}

.dropdown-item {
  padding: 12px 20px;
  color: var(--white-cream);
  font-size: 1.1rem;
  font-weight: 600;
  cursor: pointer;
  border-radius: 12px;
  transition: all 0.2s ease;
  margin: 5px 0;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.dropdown-item::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
  transition: left 0.5s ease;
}

.dropdown-item:hover {
  background: linear-gradient(135deg, var(--cyan-bright), var(--lime-glow));
  color: var(--purple-deep);
  transform: scale(1.05);
  box-shadow: 0 0 15px rgba(255, 255, 255, 0.5);
}

.dropdown-item:hover::before {
  left: 100%;
}

/* Modal Styles */
.modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.7);
  backdrop-filter: blur(5px);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 2000;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s ease;
}

.modal-overlay.show {
  opacity: 1;
  visibility: visible;
}

.modal-container {
  background: linear-gradient(135deg, var(--pink-soft), var(--purple-electric));
  border: 4px solid var(--yellow-sunshine);
  border-radius: 30px;
  padding: 40px;
  max-width: 500px;
  width: 90%;
  position: relative;
  box-shadow: 0 20px 60px rgba(255, 20, 147, 0.6);
  transform: scale(0.8);
  transition: transform 0.3s ease;
}

.modal-overlay.show .modal-container {
  transform: scale(1);
}

.modal-close {
  position: absolute;
  top: 15px;
  right: 15px;
  background: var(--pink-hot);
  color: var(--white-cream);
  border: none;
  width: 35px;
  height: 35px;
  border-radius: 50%;
  font-size: 1.5rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.2s ease;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
}

.modal-close:hover {
  background: var(--purple-deep);
  transform: rotate(90deg) scale(1.1);
}

.modal-title {
  font-family: 'Pacifico', cursive;
  font-size: 2.2rem;
  color: var(--white-cream);
  text-align: center;
  margin-bottom: 25px;
  text-shadow: 2px 2px 0 var(--pink-hot);
}

.modal-content {
  background: rgba(255, 255, 255, 0.2);
  backdrop-filter: blur(10px);
  border: 2px dashed var(--cyan-bright);
  border-radius: 20px;
  padding: 25px;
  margin-bottom: 25px;
}

.modal-content p {
  color: var(--white-cream);
  font-size: 1.2rem;
  font-weight: 600;
  margin: 10px 0;
  text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.3);
}

#selected-option {
  color: var(--yellow-sunshine);
  font-weight: 700;
}

.preview-text {
  font-style: italic;
  color: var(--cyan-bright);
}

/* Text Input Styling */
.modal-instruction {
  color: var(--white-cream);
  font-size: 1.1rem;
  margin-bottom: 15px;
  text-align: center;
}

.text-input {
  width: 100%;
  padding: 15px;
  border: 3px solid var(--cyan-bright);
  border-radius: 15px;
  background: rgba(255, 255, 255, 0.9);
  color: var(--purple-deep);
  font-family: 'Comic Neue', cursive;
  font-size: 1.1rem;
  resize: vertical;
  min-height: 120px;
  transition: all 0.3s ease;
  box-shadow: inset 0 2px 8px rgba(0, 0, 0, 0.1);
}

.text-input:focus {
  outline: none;
  border-color: var(--pink-hot);
  background: rgba(255, 255, 255, 1);
  box-shadow: 0 0 20px rgba(255, 20, 147, 0.5);
}

.text-input::placeholder {
  color: var(--purple-electric);
  opacity: 0.6;
}

.modal-send-button {
  font-family: 'Poppins', sans-serif;
  font-size: 1.4rem;
  font-weight: 700;
  padding: 15px 40px;
  background: linear-gradient(135deg, var(--lime-glow), var(--cyan-bright));
  color: var(--purple-deep);
  border: 3px solid var(--pink-hot);
  border-radius: 50px;
  cursor: pointer;
  width: 100%;
  transition: all 0.3s ease;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
  position: relative;
  overflow: hidden;
}

.modal-send-button::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  width: 0;
  height: 0;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.5);
  transform: translate(-50%, -50%);
  transition: width 0.6s, height 0.6s;
}

.modal-send-button:hover::before {
  width: 400px;
  height: 400px;
}

.modal-send-button:hover {
  transform: scale(1.05);
  box-shadow: 0 10px 30px rgba(173, 255, 47, 0.5);
}

.modal-send-button span {
  position: relative;
  z-index: 1;
}

.modal-send-button:disabled {
  opacity: 0.6;
  cursor: not-allowed;
}

/* Reminder Modal Styling */
.reminder-text {
  font-size: 1.3rem;
  color: var(--white-cream);
  text-align: center;
  line-height: 1.6;
  padding: 20px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 15px;
  border: 2px dashed var(--cyan-bright);
}

.modal-ok-button {
  font-family: 'Poppins', sans-serif;
  font-size: 1.4rem;
  font-weight: 600;
  padding: 12px 40px;
  background: linear-gradient(135deg, var(--cyan-bright), var(--purple-electric));
  color: var(--purple-deep);
  border: 3px solid var(--yellow-bright);
  border-radius: 25px;
  cursor: pointer;
  width: 100%;
  transition: all 0.3s ease;
  box-shadow: 0 4px 15px rgba(0, 255, 255, 0.3);
  text-transform: uppercase;
  letter-spacing: 1px;
}

.modal-ok-button:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(0, 255, 255, 0.5);
  background: linear-gradient(135deg, var(--purple-electric), var(--cyan-bright));
}

.modal-ok-button:active {
  transform: translateY(0);
}

/* Bat Modal Styling */
.bat-modal-content {
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 10px;
}

.bat-image {
  max-width: 100%;
  height: auto;
  border-radius: 15px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
}

/* Responsive */
@media (max-width: 768px) {
  h1 {
    font-size: 2.5rem;
  }

  .top-8-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .cool-button {
    min-width: 280px;
    font-size: 1.1rem;
  }

  .dropdown-menu {
    min-width: 200px;
  }

  .modal-container {
    padding: 30px;
  }

  .modal-title {
    font-size: 1.8rem;
  }
}

@media (max-width: 480px) {
  h1 {
    font-size: 2rem;
  }

  .top-8-grid {
    grid-template-columns: 1fr;
  }

  .cool-button {
    min-width: 100%;
  }

  .dropdown-menu {
    min-width: 90%;
  }

  .modal-container {
    padding: 20px;
  }

  .modal-title {
    font-size: 1.5rem;
  }
}