.modal {
      position: fixed;
      z-index: 1000;
      left: 0; top: 0;
      width: 100%; height: 100%;
      background-color: rgba(0,0,0,0.6);
      display: flex;
      justify-content: center;
      align-items: center;
    }

    .modal-content {
      background: #fff;
      color: #111;
      padding: 2rem;
      max-width: 500px;
      border-radius: 10px;
      font-family: 'Courier New', monospace;
      box-shadow: 0 0 20px rgba(0,0,0,0.25);
      text-align: left;
    }

    .modal-content button {
      margin-top: 1.5rem;
      background: black;
      color: white;
      border: none;
      padding: 0.6rem 1.2rem;
      border-radius: 6px;
      cursor: pointer;
      font-size: 1rem;
    }

body {
  margin: 0;
  font-family: 'Georgia', 'Times New Roman', serif;
  overflow: hidden; /* Prevent scrolling for full-screen experience */
  width: 100vw;
  height: 100vh;
}

/* Homepage Container */
.homepage-container {
  position: relative;
  width: 100vw;
  height: 100vh;
  overflow: hidden;
}

.homepage-image {
  width: 100%;
  height: 100%;
  object-fit: cover; /* Ensures image covers the entire viewport */
  display: block;
}

/* Invisible emotion navigation buttons */
.emotion-btn {
  position: absolute;
  background: rgba(255, 0, 0, 0.3); /* Temporary red background for debugging */
  border: 2px solid red; /* Temporary red border for debugging */
  cursor: pointer;
  transition: all 0.3s ease;
  z-index: 10;
}

/* Add subtle hover effect */
.emotion-btn:hover {
  background: rgba(255, 255, 255, 0.5);
  border-radius: 10px;
}

/* Position buttons over emotion boxes - adjust these coordinates based on your Canva design */
.joy-btn {
  top: 43%; /* Adjust based on where Joy box is positioned */
  left: 6%;
  width: 40%;
  height: 20%;
}

.sadness-btn {
  top: 43%; /* Adjust based on where Sadness box is positioned */
  right: 6%;
  width: 40%;
  height: 20%;
}

.anger-btn {
  bottom: 20%; /* Adjust based on where Anger box is positioned */
  left: 6%;
  width: 40%;
  height: 20%;
}

.fear-btn {
  bottom: 20%; /* Adjust based on where Fear box is positioned */
  right: 6%;
  width: 40%;
  height: 20%;
}

/* Old styling - commented out for new homepage design
.content {
  max-width: 800px;
  width: 100%;
  padding: 60px 40px;
  text-align: center;
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  min-height: 100vh;
}

.title {
  font-size: 3.5rem;
  margin-bottom: 30px;
  color: #1a1a1a;
  font-weight: 700;
  line-height: 1.1;
  font-family: 'Georgia', 'Times New Roman', serif;
  text-shadow: 1px 1px 2px rgba(0,0,0,0.1);
  position: relative;
  text-align: center;
  width: 100%;
}

.title::after {
  content: '';
  position: absolute;
  bottom: -10px;
  left: 50%;
  transform: translateX(-50%) rotate(-1deg);
  width: 80%;
  height: 3px;
  background: rgba(0,0,0,0.3);
  border-radius: 2px;
}

.subtitle {
  font-size: 1.4rem;
  color: #2a2a2a;
  margin-bottom: 40px;
  font-weight: 400;
  line-height: 1.5;
  font-style: italic;
  max-width: 600px;
  text-align: center;
  width: 100%;
}

.image-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 30px;
  margin-top: 40px;
  max-width: 700px;
}

.emotion-card {
  background: rgba(255, 255, 255, 0.9);
  transition: all 0.3s ease;
  padding: 25px 20px;
  display: flex;
  flex-direction: column;
  align-items: center;
  cursor: pointer;
  border-radius: 8px;
  backdrop-filter: blur(5px);
  border: 2px solid rgba(0,0,0,0.1);
}

.emotion-card:hover {
  transform: translateY(-6px) rotate(1deg);
  background: rgba(255, 255, 255, 0.95);
  box-shadow: 0 8px 20px rgba(0,0,0,0.15);
}

.emotion-icon {
  width: 100px;
  height: 100px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 3rem;
  margin-bottom: 15px;
  transition: all 0.3s ease;
  background: #ffffff;
  border-radius: 50%;
  border: 3px solid rgba(0,0,0,0.2);
  image-rendering: pixelated;
  image-rendering: -moz-crisp-edges;
  image-rendering: crisp-edges;
}

.joy-icon {
  color: #ff6b35;
  border-color: #ff6b35;
}

.sadness-icon {
  color: #4ecdc4;
  border-color: #4ecdc4;
}

.anger-icon {
  color: #ff4757;
  border-color: #ff4757;
}

.fear-icon {
  color: #a55eea;
  border-color: #a55eea;
}

.emotion-icon:hover {
  transform: scale(1.1) rotate(-5deg);
  box-shadow: 0 4px 15px rgba(0,0,0,0.2);
}

.image-grid img {
  width: 100%;
  max-width: 120px;
  height: auto;
  box-shadow: 0 2px 8px rgba(100, 120, 180, 0.12);
  object-fit: cover;
  margin-bottom: 10px;
}

.image-grid figure {
  margin: 0;
  text-align: center;
}

.image-grid figcaption {
  margin-top: 8px;
  font-size: 1.08rem;
  color: #3a4a4a;
  font-weight: 500;
}
*/

/* Responsive design improvements */
@media (max-width: 768px) {
  .content {
    padding: 40px 20px;
  }

  .title {
    font-size: 2.8rem;
    margin-bottom: 20px;
  }

  .subtitle {
    font-size: 1.2rem;
    margin-bottom: 15px;
  }

  .support-message {
    font-size: 1rem;
    padding: 18px 20px;
    margin-bottom: 30px;
  }

  .image-grid {
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 20px;
    margin-top: 30px;
  }

  .emotion-card {
    padding: 20px 15px;
  }
  
  .emotion-icon {
    width: 80px;
    height: 80px;
    font-size: 2.5rem;
  }
}

@media (max-width: 480px) {
  .title {
    font-size: 2.2rem;
  }
  
  .subtitle {
    font-size: 1.1rem;
  }

  .image-grid {
    grid-template-columns: 1fr 1fr;
    gap: 15px;
  }

  .emotion-card {
    padding: 15px 10px;
  }
  
  .emotion-icon {
    width: 70px;
    height: 70px;
    font-size: 2rem;
  }

  .image-grid figcaption {
    font-size: 0.9rem;
  }

