/* Age Verification Modal Styles */

/* Hidden checkbox - controls modal visibility */
.age-check {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

/* Hide overlay when checkbox is checked */
.age-check:checked + .age-overlay {
  display: none;
}

.age-overlay {
  position: fixed;
  inset: 0;
  width: 100%;
  height: 100%;
  background: hsl(260 30% 8% / 0.95);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 9999;
  padding: 1.5rem;
}

.age-modal {
  background: linear-gradient(145deg, hsl(260 25% 14%), hsl(260 25% 10%));
  border: 1px solid hsl(45 100% 50% / 0.3);
  border-radius: 1.5rem;
  padding: 3rem 2.5rem;
  max-width: 500px;
  width: 100%;
  text-align: center;
  box-shadow: 0 25px 80px hsl(0 0% 0% / 0.5), 0 0 100px hsl(45 100% 50% / 0.1);
}

.age-icon {
  width: 5rem;
  height: 5rem;
  margin: 0 auto 1.5rem;
  border-radius: 1rem;
  background: hsl(260 20% 18%);
  border: 2px solid hsl(45 100% 50% / 0.5);
  display: flex;
  align-items: center;
  justify-content: center;
}

.age-icon svg {
  width: 2.5rem;
  height: 2.5rem;
  color: hsl(45 100% 50%);
}

.age-modal h2 {
  font-family: 'Cinzel', serif;
  font-size: clamp(1.5rem, 3vw, 1.75rem);
  font-weight: 700;
  color: hsl(45 100% 50%);
  margin-bottom: 1rem;
  text-shadow: 0 0 20px hsl(45 100% 50% / 0.3);
}

.age-message {
  font-size: 1rem;
  color: hsl(45 20% 95% / 0.8);
  line-height: 1.7;
  margin-bottom: 2rem;
}

.btn-verify {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  padding: 1.25rem 2rem;
  font-size: 1.125rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  border-radius: 0.75rem;
  border: none;
  cursor: pointer;
  background: linear-gradient(135deg, hsl(45 100% 50%), hsl(35 100% 45%));
  color: hsl(260 30% 8%);
  box-shadow: 0 0 30px hsl(45 100% 50% / 0.3);
  transition: all 0.3s ease;
}

.btn-verify:hover {
  transform: translateY(-2px) scale(1.02);
  box-shadow: 0 0 50px hsl(45 100% 50% / 0.5);
}

.age-note {
  font-size: 0.75rem;
  color: hsl(260 10% 60%);
  margin-top: 1.5rem;
  line-height: 1.5;
}

.age-leave {
  margin-top: 1rem;
  padding-top: 1rem;
  border-top: 1px solid hsl(260 20% 20%);
}

.leave-link {
  font-size: 0.875rem;
  color: hsl(260 10% 60%);
  text-decoration: underline;
  transition: color 0.3s;
}

.leave-link:hover {
  color: hsl(45 100% 50%);
}

@media (max-width: 640px) {
  .age-modal {
    padding: 2rem 1.5rem;
  }
  .age-icon {
    width: 4rem;
    height: 4rem;
  }
  .age-icon svg {
    width: 2rem;
    height: 2rem;
  }
}
