/* Reset and base styles */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: "Comic Sans MS", cursive, sans-serif;
  overflow: hidden;
  height: 100vh;
}

/* Main container with meadow/forest background */
.home-container {
  position: relative;
  width: 100vw;
  height: 100vh;
  background: linear-gradient(
    to bottom,
    #87ceeb 0%,
    /* Sky blue at top */ #98fb98 30%,
    /* Pale green */ #90ee90 60%,
    /* Light green */ #228b22 100% /* Forest green at bottom */
  );
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

/* Background decorative elements */
.background-elements {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 1;
}

/* Trees */
.tree {
  position: absolute;
  bottom: 0;
  background: linear-gradient(to bottom, #8b4513, #228b22);
  border-radius: 50% 50% 0 0;
}

.tree-1 {
  width: 80px;
  height: 120px;
  left: 10%;
  bottom: -20px;
  background: linear-gradient(to bottom, #8b4513 0%, #8b4513 30%, #228b22 30%);
  border-radius: 50% 50% 0 0;
}

.tree-2 {
  width: 60px;
  height: 100px;
  right: 15%;
  bottom: -15px;
  background: linear-gradient(to bottom, #8b4513 0%, #8b4513 25%, #32cd32 25%);
  border-radius: 50% 50% 0 0;
}

.tree-3 {
  width: 70px;
  height: 110px;
  left: 70%;
  bottom: -18px;
  background: linear-gradient(to bottom, #8b4513 0%, #8b4513 28%, #228b22 28%);
  border-radius: 50% 50% 0 0;
}

/* Clouds */
.cloud {
  position: absolute;
  background: white;
  border-radius: 50px;
  opacity: 0.8;
}

.cloud-1 {
  width: 100px;
  height: 40px;
  top: 15%;
  left: 20%;
  border-radius: 50px;
}

.cloud-1::before,
.cloud-1::after {
  content: "";
  position: absolute;
  background: white;
  border-radius: 50%;
}

.cloud-1::before {
  width: 50px;
  height: 50px;
  top: -25px;
  left: 10px;
}

.cloud-1::after {
  width: 60px;
  height: 40px;
  top: -15px;
  right: 10px;
}

.cloud-2 {
  width: 80px;
  height: 35px;
  top: 25%;
  right: 25%;
  border-radius: 50px;
}

.cloud-2::before,
.cloud-2::after {
  content: "";
  position: absolute;
  background: white;
  border-radius: 50%;
}

.cloud-2::before {
  width: 40px;
  height: 40px;
  top: -20px;
  left: 8px;
}

.cloud-2::after {
  width: 50px;
  height: 35px;
  top: -12px;
  right: 8px;
}

/* Sun */
.sun {
  position: absolute;
  width: 80px;
  height: 80px;
  background: radial-gradient(circle, #ffd700, #ffa500);
  border-radius: 50%;
  top: 10%;
  right: 10%;
  box-shadow: 0 0 20px rgba(255, 215, 0, 0.5);
}

/* Main content */
.content {
  position: relative;
  z-index: 2;
  text-align: center;
  max-width: 600px;
  padding: 20px;
  background: rgba(255, 255, 255, 0.9);
  border-radius: 20px;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
  backdrop-filter: blur(10px);
  border: 3px solid #ffd700;
}

/* Game title */
.game-title {
  font-size: 3.5rem;
  color: #ff6b35;
  text-shadow: 3px 3px 0px #ffd700, 6px 6px 0px #ffa500;
  margin-bottom: 30px;
  animation: bounce 2s infinite;
}

@keyframes bounce {
  0%,
  20%,
  50%,
  80%,
  100% {
    transform: translateY(0);
  }
  40% {
    transform: translateY(-10px);
  }
  60% {
    transform: translateY(-5px);
  }
}

/* Story box */
.story-box {
  background: linear-gradient(135deg, #ffe4b5, #fff8dc);
  border: 3px solid #ffd700;
  border-radius: 15px;
  padding: 25px;
  margin-bottom: 30px;
  box-shadow: inset 0 2px 10px rgba(255, 215, 0, 0.3);
}

.story-text {
  font-size: 1.2rem;
  line-height: 1.6;
  color: #2f4f4f;
  font-weight: 500;
}

/* Start button */
.start-button {
  background: linear-gradient(45deg, #ff6b35, #ff8c42);
  color: white;
  border: none;
  padding: 20px 40px;
  font-size: 1.8rem;
  font-weight: bold;
  border-radius: 50px;
  cursor: pointer;
  box-shadow: 0 6px 20px rgba(255, 107, 53, 0.4);
  transition: all 0.3s ease;
  margin-bottom: 20px;
  font-family: "Comic Sans MS", cursive, sans-serif;
  text-shadow: 2px 2px 0px rgba(0, 0, 0, 0.3);
}

.start-button:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 25px rgba(255, 107, 53, 0.6);
  background: linear-gradient(45deg, #ff8c42, #ff6b35);
}

.start-button:active {
  transform: translateY(0);
  box-shadow: 0 4px 15px rgba(255, 107, 53, 0.4);
}

/* How to play text */
.how-to-play {
  font-size: 1.1rem;
  color: #2f4f4f;
  font-weight: 600;
  margin-top: 15px;
}

/* Responsive design */
@media (max-width: 768px) {
  .content {
    max-width: 90%;
    padding: 15px;
    margin: 10px;
  }

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

  .story-text {
    font-size: 1rem;
    line-height: 1.5;
  }

  .start-button {
    padding: 15px 30px;
    font-size: 1.5rem;
  }

  .tree-1,
  .tree-2,
  .tree-3 {
    transform: scale(0.8);
  }

  .cloud-1,
  .cloud-2 {
    transform: scale(0.8);
  }

  .sun {
    width: 60px;
    height: 60px;
  }
}

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

  .story-text {
    font-size: 0.9rem;
  }

  .start-button {
    padding: 12px 25px;
    font-size: 1.3rem;
  }

  .how-to-play {
    font-size: 1rem;
  }
}
