.age-gate-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.96);
  backdrop-filter: blur(12px);
  z-index: 99999;
  display: flex;
  justify-content: center;
  align-items: center;
  opacity: 1;
  transition: opacity 0.5s ease, visibility 0.5s ease;
}

.age-gate-overlay.hidden {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

.age-gate-content {
  background: linear-gradient(145deg, #160526, #0a0514);
  border: 1px solid #3d2258;
  padding: 0;
  width: 95%;
  max-width: 1000px;
  min-height: 520px;
  border-radius: 16px;
  box-shadow: 0 0 80px rgba(138, 43, 226, 0.25);
  text-align: center;
  overflow: hidden;
  animation: slideDown 0.5s ease-out;
  display: flex;
  font-family: sans-serif;
}

@keyframes slideDown {
  from {
    transform: translateY(-40px);
    opacity: 0;
  }

  to {
    transform: translateY(0);
    opacity: 1;
  }
}

.age-gate-main-section {
  flex: 1.8;
  padding: 30px 40px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  border-right: 1px solid #2a153d;
}

.age-gate-header {
  margin-bottom: 20px;
}

.age-gate-header h1 {
  font-family: 'Orbitron', sans-serif;
  font-size: 2.5rem;
  color: #fff;
  margin: 0;
  letter-spacing: 4px;
  text-shadow: 0 0 25px rgba(138, 43, 226, 0.8);
}

.age-gate-subtitle {
  color: #a58bc4;
  font-size: 0.9rem;
  letter-spacing: 6px;
  margin-top: 5px;
  text-transform: uppercase;
  font-weight: 600;
}

.warning-box {
  background-color: rgba(138, 43, 226, 0.1);
  border: 1px solid #8A2BE2;
  color: #bd8ce2;
  padding: 12px 20px;
  border-radius: 8px;
  font-weight: 700;
  margin: 0 auto 30px auto;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  font-size: 1rem;
  box-shadow: 0 0 20px rgba(138, 43, 226, 0.2);
  letter-spacing: 1px;
  text-transform: uppercase;
}

.age-text {
  color: #ddd;
  margin-bottom: 40px;
  font-size: 1.1rem;
  line-height: 1.6;
  font-weight: 300;
  max-width: 90%;
  margin-left: auto;
  margin-right: auto;
}

.age-text strong {
  color: #fff;
  font-weight: 600;
}

.btn-enter {
  background: linear-gradient(90deg, #8A2BE2, #601896);
  color: white;
  border: none;
  padding: 20px;
  width: 100%;
  font-size: 1.4rem;
  font-weight: 800;
  font-family: 'Orbitron', sans-serif;
  border-radius: 8px;
  cursor: pointer;
  text-transform: uppercase;
  transition: all 0.3s ease;
  box-shadow: 0 10px 30px rgba(138, 43, 226, 0.4);
  letter-spacing: 2px;
}

.btn-enter:hover {
  transform: translateY(-2px);
  box-shadow: 0 15px 40px rgba(138, 43, 226, 0.6);
  background: linear-gradient(90deg, #9d4bf0, #7623b0);
}

.btn-exit {
  color: #666;
  text-decoration: none;
  font-size: 0.9rem;
  margin-top: 15px;
  display: inline-block;
  transition: color 0.3s;
}

.btn-exit:hover {
  color: #aaa;
}

.age-gate-sidebar {
  flex: 1.2;
  background: rgba(15, 10, 29, 0.6);
  padding: 40px 30px;
  text-align: left;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
}

.age-gate-sidebar h2 {
  color: #a874e0;
  font-family: 'Orbitron', sans-serif;
  font-size: 1.2rem;
  margin-bottom: 25px;
  padding-bottom: 15px;
  border-bottom: 1px solid #2a153d;
  letter-spacing: 1px;
  text-transform: uppercase;
  text-align: center;
}

.terms-list {
  list-style: none;
  padding: 0;
  margin: 0;
  overflow-y: auto;
  max-height: 450px;
}

.terms-list li {
  display: flex;
  align-items: flex-start;
  gap: 15px;
  color: #bfbfbf;
  margin-bottom: 20px;
  font-size: 0.9rem;
  line-height: 1.5;
  padding-right: 10px;
}

.terms-list li i {
  color: #8A2BE2;
  font-size: 1.3rem;
  margin-top: 2px;
  flex-shrink: 0;
}

.terms-list li span {
  flex: 1;
  word-wrap: break-word;
}

.terms-list li strong {
  color: #fff;
  font-weight: 600;
}

.terms-list::-webkit-scrollbar {
  width: 5px;
}

.terms-list::-webkit-scrollbar-track {
  background: #1a1025;
}

.terms-list::-webkit-scrollbar-thumb {
  background: #3d2258;
  border-radius: 10px;
}

/* --- RESPONSIVIDADE (Mobile / Tablet) --- */
@media (max-width: 768px) {
  .age-gate-content {
    flex-direction: column;
    max-width: 90%;
    width: 90%;
    min-height: auto;
    max-height: 90vh;
    overflow-y: auto;
    -ms-overflow-style: none;
    scrollbar-width: none;
  }

  .age-gate-content::-webkit-scrollbar {
    display: none;
  }

  .age-gate-main-section {
    flex: none;
    border-right: none;
    border-bottom: 1px solid #3d2258;
    padding: 30px 20px 20px 20px;
  }

  .age-gate-header h1 {
    font-size: 1.6rem;
    letter-spacing: 2px;
    margin-bottom: 5px;
  }

  .age-gate-subtitle {
    font-size: 0.7rem;
  }

  .warning-box {
    padding: 10px;
    font-size: 0.8rem;
    margin-bottom: 20px;
    width: 100%;
    box-sizing: border-box;
  }

  .age-text {
    font-size: 0.9rem;
    margin-bottom: 25px;
  }

  .btn-enter {
    padding: 15px;
    font-size: 1.1rem;
  }

  .age-gate-sidebar {
    display: flex;
    flex: none;
    width: 100%;
    background: #12061f;
    padding: 20px;
    box-sizing: border-box;
    border-left: none;
  }

  .age-gate-sidebar h2 {
    font-size: 1rem;
    margin-bottom: 15px;
    text-align: center;
  }

  .terms-list {
    max-height: 150px;
    border: 1px solid #2a153d;
    background: rgba(0, 0, 0, 0.2);
    padding: 10px;
    border-radius: 6px;
  }

  .terms-list li {
    margin-bottom: 12px;
    font-size: 0.8rem;
    align-items: flex-start;
  }

  .terms-list li i {
    font-size: 1rem;
    margin-top: 2px;
  }

  .age-footer-text {
    margin-top: 15px;
    font-size: 0.7rem;
  }
}