.age-verification {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.8);
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 2000;
  backdrop-filter: blur(5px);
}

.age-modal {
  position: relative;
  width: 95%;
  max-width: 700px;
  margin: 20px;
  transform: translateY(-10%);
}

.age-modal-cloud {
  position: relative;
  width: 100%;
  height: 0;
  padding-bottom: 85%;
  display: flex;
  justify-content: center;
  align-items: center;
}

.age-modal-cloud .cloud {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: contain;
  filter: drop-shadow(0 0 8px rgba(255, 255, 255, 0.8))
    drop-shadow(0 0 16px rgba(255, 255, 255, 0.6))
    drop-shadow(0 0 24px rgba(255, 255, 255, 0.4));
}

.age-modal-content {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 80%;
  text-align: center;
  color: var(--color-black, #333);
  font-family: "AveriaSerif", serif;
  line-height: 1.4;
  z-index: 10;
}

.age-modal-content h2 {
  font-size: clamp(1.5rem, 4vw, 2.2rem);
  margin: 0 0 1rem 0;
  font-weight: bold;
}

.age-modal-content p {
  font-size: clamp(0.9rem, 2.5vw, 1.1rem);
  margin: 0.8rem 0;
}

.age-modal-content ul {
  text-align: left;
  font-size: clamp(0.8rem, 2.2vw, 1rem);
  margin: 1rem 0;
  padding-left: 4rem;
}

.age-modal-content li {
  margin: 0.3rem 0;
  list-style-type: disc;
}

.age-warning {
  background: rgba(255, 243, 205, 0.9);
  border: 2px solid #ffeaa7;
  border-radius: 10px;
  padding: 0.5rem;
  margin: 0 auto;
  font-size: clamp(0.75rem, 2vw, 0.95rem);
  line-height: 1.4;
  max-width: 400px;
  width: 90%;
  text-align: left;
}

.age-warning ul{
  padding-left: 1rem;
  margin: 0;
}

.age-buttons {
  position: absolute;
  bottom: -55px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
  width: 100%;
  z-index: 10;
}

/* Button */
.age-buttons button {
  padding: 12px 20px;
  border: none;
  border-radius: 12px;
  font-family: "AveriaSerif", serif;
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  min-width: 120px;
}

.btn-accept {
  background: var(--color-link, #00554e);
  color: white;
}

.btn-accept:hover {
  background: var(--color-link-active, #002b27);
  transform: translateY(-2px);
  box-shadow: 0 6px 12px rgba(0, 0, 0, 0.2);
}

.btn-deny {
  background: var(--color-red, #ff375f);
  color: white;
}

.btn-deny:hover {
  background: #cc2e4f;
  transform: translateY(-2px);
}

@media (max-width: 768px) {
  .age-modal {
    margin: 10px;
    transform: translateY(-5%);
    max-width: 500px;
  }

  .age-modal-cloud {
    padding-bottom: 100%;
  }

  .age-modal-content {
    width: 85%;
    line-height: 1.3;
    top: 55%;
  }

  .age-modal-content h2 {
    font-size: 1.4rem;
  }

  .age-buttons {
    bottom: -120px;
    flex-direction: column;
    align-items: center;
  }

  .age-buttons button {
    width: 100%;
    max-width: 250px;
  }
}

@media (max-width: 480px) {
  .age-modal {
    margin: 5px;
    transform: translateY(0);
    max-width: 400px;
  }

  .age-modal-cloud {
    padding-bottom: 100%;
  }

  .age-modal-content {
    width: 88%;
    line-height: 1.2;
    top: 52%;
  }

  .age-modal-content h2 {
    font-size: 1.2rem;
    margin-bottom: 0.8rem;
  }

  .age-modal-content p {
    font-size: clamp(0.8rem, 2vw, 0.95rem);
    margin: 0.6rem 0;
  }

  .age-buttons {
    bottom: -120px;
  }

  .age-warning {
    padding: 0.8rem;
    font-size: 0.8rem;
    margin: 0.8rem 0;
  }
}
