body {
    margin: 0%;
    font-family: "rubik";
    background: linear-gradient(135deg, #b73cff, #1e90ff);
    color: #e0e0e0;
    display: flex;
    flex-direction: column;
  }

header {
  margin-bottom: 50px;
  background-color: rgba(40, 40, 40, 0.5);
  text-align: center;
  border-bottom: solid;
}

header ul {
  list-style-type: none;
  margin: 0;
  padding: 0;
  display: flex;
  justify-content: center;
  align-items: center;
}

header ul li {
  margin-left: 10px;
  margin-bottom: 5px;
  border: solid;
  background-color: rgba(40, 40, 40, 0.5);
  border-radius: 25px;
  float: left;
}

header ul li a {
  display: block;
  color: white;
  text-align: center;
  padding: 14px 16px;
  text-decoration: none;
}

header ul li:hover {
  background-color: rgba(255, 255, 255, 0.25);
}

section {margin-bottom: 50px;}

section ul {
  list-style-type: none;
  margin: 0;
  padding: 0;
}

section ul li {
  margin-left: 10px;
  margin-bottom: 15px;
  border: solid;
  background-color: rgba(66, 48, 95, 0.5);
  border-radius: 25px;
}

section ul li a {
  display: block;
  color: white;
  text-align: center;
  padding: 14px 16px;
  text-decoration: none;
}

section ul li:hover {
  background-color: rgba(255, 255, 255, 0.25);
}

.Card {
  background-color: rgba(40, 40, 40, 0.5);
  border-radius: 20px;
  padding: 2%;
  width: 80%;
  align-self: center;
}

.Card img {
  border: solid;
  border-radius: 25%;
  border-color: rgb(255, 0, 221);
  border-width: 4px;
  background-color: rgba(255, 255, 255, 1);
  width: 24%;
  float: right;
}

footer {
  background-color: rgba(40, 40, 40, 0.5);
  border-top: solid;
  border-color: rgba(0, 0, 0, 0.5);
  padding: 10px;
  
  text-align: center;
}

  
  /* --- Garden strip --- */
  #garden {
    position: fixed;
    width: 100%;
    height: 100%;
    background: #22222200;
    overflow: hidden;
    flex-shrink: 0;
    pointer-events: none; /* garden container doesn’t block clicks */
  }
  
  .seed, .plant {
    pointer-events: auto; /* seeds and plants still clickable */
  }
  
  .seed {
    position: absolute;
    width: 12px;
    height: 12px;
    background: brown;
    border-radius: 50%;
  }
  
  .plant {
    position: absolute;
    bottom: 0;
    width: 6px;
    height: 20px;
    border-radius: 3px;
    transform-origin: bottom center;
    animation: grow 4s forwards;
  }
  
  .flower {
    position: absolute;
    bottom: 100%;
    left: 50%;
    transform: translateX(-50%) scale(1);
    transform-origin: center center;
    border-radius: 50%;
    opacity: 0;
    animation: bloom 2s 3s forwards;
  }
  #toggle-flowers {
    margin-top: 1rem;
    padding: 0.5rem 1rem;
    font-size: 1rem;
    border: none;
    border-radius: 0.5rem;
    background: #7d3cff;
    color: #fff;
    cursor: pointer;
    transition: transform 0.2s ease, background 0.2s ease;
  }
  #toggle-flowers:hover {
    transform: scale(1.05);
    background: #5a2bcc;
  }
  
  
  @keyframes grow {
    0%   { transform: scaleY(0.1); }
    100% { transform: scaleY(var(--height-scale, 5)); }
  }
  
  @keyframes bloom {
    0%   { transform: translateX(-50%) scale(0.1); opacity: 0; }
    100% { transform: translateX(-50%) scale(1); opacity: 1; }
  }
  