.ageverification-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 2147483647;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 20px;
  box-sizing: border-box;
  overflow: auto;
}

.ageverification-shadow {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.9);
  backdrop-filter: blur(10px);
}

.ageverification-popup {
  position: relative;
  width: 90%;
  max-width: 780px;
  margin: 40px auto;
  background: #fff;
  border-radius: 6px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.35);
  overflow: hidden;
  z-index: 2147483647;
}

.ageverification-grid {
  display: flex;
  flex-direction: column;
}

.ageverification-content {
  padding: 24px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.ageverification-logo-row {
  display: flex;
  align-items: center;
}

.ageverification-logo {
  max-width: 160px;
  height: auto;
}

.ageverification-text {
  font-size: 16px;
  line-height: 1.5;
  color: #333;
}

.ageverification-text p img {
  max-width: 100%;
  height: auto;
}

.ageverification-actions {
  padding: 24px;
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-items: center;
  justify-content: flex-start;
}

.ageverification-btn {
  border: none;
  padding: 12px 18px;
  font-size: 15px;
  cursor: pointer;
  border-radius: 4px;
  transition: background 0.2s ease, color 0.2s ease, box-shadow 0.2s ease;
}

.ageverification-btn-accept {
  background: #219653;
  color: #fff;
  box-shadow: 0 2px 6px rgba(33, 150, 83, 0.35);
}

.ageverification-btn-accept:hover {
  background: #1b7d45;
}

.ageverification-btn-deny {
  background: #e74c3c;
  color: #fff;
  box-shadow: 0 2px 6px rgba(231, 76, 60, 0.35);
}

.ageverification-btn-deny:hover {
  background: #c0392b;
}

.ageverification-lock {
  overflow: hidden !important;
}

@media (max-width: 767px) {
  .ageverification-popup {
    margin-top: 20px;
  }

  .ageverification-actions {
    justify-content: center;
  }
}
