/*
 * Utopìa Age Gate Styles
 *
 * Aggiungi questi stili nel <head> di ogni pagina oppure
 * includi questo file: <link rel="stylesheet" href="components/age-gate-styles.css">
 */

/* Age Gate Overlay */
.age-gate-overlay {
  position: fixed;
  inset: 0;
  z-index: 10000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1rem;
  transition: all 0.7s ease-in-out;
}

.age-gate-overlay.hidden {
  opacity: 0;
  pointer-events: none;
}

.age-gate-bg {
  position: absolute;
  inset: 0;
  background: rgba(15, 40, 30, 0.85);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
}

.age-gate-panel {
  position: relative;
  width: 100%;
  max-width: 500px;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(20px);
  border: 1px solid rgba(255, 255, 255, 0.4);
  padding: 3rem;
  border-radius: 2rem;
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
  text-align: center;
}

.age-gate-logo {
  width: 120px;
  height: 120px;
  margin: 0 auto 1.5rem;
  animation: float 6s ease-in-out infinite;
}

@keyframes float {
  0%,
  100% {
    transform: translateY(0);
  }

  50% {
    transform: translateY(-10px);
  }
}

.age-gate-label {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: rgba(15, 40, 30, 0.5);
  margin-bottom: 1rem;
}

.age-gate-title {
  font-size: 2rem;
  font-family: 'Playfair Display', serif;
  color: #0F281E;
  margin-bottom: 1.5rem;
}

.age-gate-text {
  color: rgba(15, 40, 30, 0.7);
  font-size: 14px;
  line-height: 1.6;
  margin-bottom: 2rem;
}

.age-gate-btn {
  width: 100%;
  background: #0F281E;
  color: #fff;
  padding: 1rem;
  border-radius: 0.75rem;
  font-weight: 700;
  font-size: 14px;
  letter-spacing: 0.05em;
  border: none;
  cursor: pointer;
  transition: all 0.3s;
  margin-bottom: 1rem;
}

.age-gate-btn:hover {
  background: #1A4135;
  transform: translateY(-2px);
}

.age-gate-exit {
  background: transparent;
  border: none;
  color: rgba(15, 40, 30, 0.4);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  cursor: pointer;
  transition: color 0.3s;
}

.age-gate-exit:hover {
  color: #0F281E;
}

/* Access Denied */
.access-denied {
  position: fixed;
  inset: 0;
  background: #F3F2EB;
  z-index: 10000;
  display: none;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 2rem;
  text-align: center;
}

.access-denied.show {
  display: flex;
}

/* Responsive */
@media (max-width: 600px) {
  .age-gate-panel {
    padding: 2rem;
  }

  .age-gate-logo {
    width: 80px;
    height: 80px;
  }

  .age-gate-title {
    font-size: 1.5rem;
  }
}
