/* Age Verification Modal Styles */
.age-modal {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100vh;
  background: rgba(0, 0, 0, 0.8);
  display: none;
  justify-content: center;
  align-items: center;
  z-index: 10000;
  backdrop-filter: blur(5px);
  animation: modalBackdropAppear 0.3s ease-out;
}

.age-modal.show {
  display: flex;
}

.age-modal-content {
  background: linear-gradient(
    135deg,
    rgba(88, 145, 255, 0.1) 0%,
    rgba(88, 145, 255, 0.05) 100%
  );
  border: 1px solid rgba(88, 145, 255, 0.3);
  border-radius: 20px;
  padding: 40px;
  max-width: 500px;
  width: 90%;
  text-align: center;
  position: relative;
  animation: modalContentAppear 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
  backdrop-filter: blur(10px);
}

.age-modal-close {
  position: absolute;
  top: 16px;
  right: 16px;
  width: 36px;
  height: 36px;
  background: rgba(196, 216, 255, 0.1);
  border: none;
  border-radius: 50%;
  font-size: 24px;
  color: #fff;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
}

.age-modal-close:hover {
  background: rgba(196, 216, 255, 0.2);
  transform: rotate(90deg);
}

.age-modal-content h2 {
  color: #fff;
  font-family: "Geologica", sans-serif;
  font-size: 28px;
  font-weight: 700;
  margin: 0 0 20px 0;
  padding: 0;
}

.age-modal-content p {
  color: rgba(255, 255, 255, 0.8);
  font-family: "Geologica", sans-serif;
  font-size: 16px;
  font-weight: 400;
  margin: 0 0 16px 0;
  padding: 0;
  line-height: 1.5;
}

.age-modal-content p:last-of-type {
  margin-bottom: 30px;
}

.age-modal-confirm {
  display: flex;
  height: 48px;
  padding: 10px 34px;
  justify-content: center;
  align-items: center;
  gap: 6px;
  margin: 0 auto;
  border-radius: 46px;
  background: #5891ff;
  color: #202020;
  font-family: "Geologica", sans-serif;
  font-size: 16px;
  font-weight: 700;
  text-transform: capitalize;
  border: none;
  cursor: pointer;
  transition: all 0.3s ease;
  min-width: 220px;
}

.age-modal-confirm:hover {
  background: #4178e0;
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(88, 145, 255, 0.4);
}

.age-modal-confirm:active {
  transform: translateY(0);
}

@keyframes modalBackdropAppear {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

@keyframes modalContentAppear {
  from {
    opacity: 0;
    transform: translateY(-20px) scale(0.95);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

/* Mobile Responsive */
@media (max-width: 480px) {
  .age-modal-content {
    padding: 30px 20px;
    margin: 20px;
  }

  .age-modal-content h2 {
    font-size: 24px;
    margin-bottom: 16px;
  }

  .age-modal-content p {
    font-size: 14px;
  }

  .age-modal-confirm {
    width: 100%;
    min-width: unset;
  }
}

/* Register/Login Modal Styles */
.register-modal {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100vh;
  background: rgba(0, 0, 0, 0.8);
  display: none;
  justify-content: center;
  align-items: center;
  z-index: 10000;
  backdrop-filter: blur(5px);
  animation: modalBackdropAppear 0.3s ease-out;
}

.register-modal.show {
  display: flex;
}

.register-modal-content {
  border-radius: 14px;
  background: rgba(196, 216, 255, 0.1);
  border-radius: 20px;
  padding: 40px;
  max-width: 500px;
  width: 90%;
  position: relative;
  animation: modalContentAppear 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
  backdrop-filter: blur(10px);
}

.register-modal-close {
  position: absolute;
  top: 16px;
  right: 16px;
  width: 36px;
  height: 36px;
  background: rgba(196, 216, 255, 0.1);
  border: none;
  border-radius: 50%;
  font-size: 24px;
  color: #fff;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
}

.register-modal-close:hover {
  background: rgba(196, 216, 255, 0.2);
  transform: rotate(90deg);
}

.register-modal-content h2 {
  color: #fff;
  font-family: "Geologica", sans-serif;
  font-size: 28px;
  font-weight: 700;
  margin: 0 0 12px 0;
  padding: 0;
  text-align: center;
}

.register-modal-content > p {
  color: rgba(255, 255, 255, 0.8);
  font-family: "Geologica", sans-serif;
  font-size: 14px;
  font-weight: 400;
  margin: 0 0 24px 0;
  padding: 0;
  line-height: 1.5;
  text-align: center;
}

.register-form-group {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-bottom: 24px;
}

.swish-input {
  height: 48px;
  padding: 10px 16px;
  border-radius: 46px;
  border: 1px solid #5891ff;
  background: rgba(0, 0, 0, 0.2);
  color: #fff;
  font-family: "Geologica", sans-serif;
  font-size: 16px;
  font-weight: 400;
  transition: all 0.3s ease;
}

.swish-input::placeholder {
  color: rgba(255, 255, 255, 0.5);
}

.swish-input:focus {
  outline: none;
  background: rgba(0, 0, 0, 0.3);
  border-color: #fff;
  box-shadow: 0 0 12px rgba(88, 145, 255, 0.3);
}

.swish-login-btn {
  display: flex;
  height: 48px;
  padding: 10px 34px;
  justify-content: center;
  align-items: center;
  gap: 6px;
  border-radius: 46px;
  background: #5891ff;
  color: #202020;
  font-family: "Geologica", sans-serif;
  font-size: 16px;
  font-weight: 700;
  text-transform: capitalize;
  border: none;
  cursor: pointer;
  transition: all 0.3s ease;
}

.swish-login-btn:hover {
  background: #4178e0;
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(88, 145, 255, 0.4);
}

.swish-login-btn:active {
  transform: translateY(0);
}

.register-divider {
  position: relative;
  margin: 24px 0;
  display: flex;
  align-items: center;
  gap: 12px;
}

.register-divider::before,
.register-divider::after {
  content: "";
  flex: 1;
  height: 1px;
  background: rgba(255, 255, 255, 0.2);
}

.register-divider span {
  color: rgba(255, 255, 255, 0.6);
  font-family: "Geologica", sans-serif;
  font-size: 14px;
  font-weight: 400;
  white-space: nowrap;
}

.google-login-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  width: 100%;
  height: 48px;
  padding: 10px 34px;
  border-radius: 46px;
  background: rgba(196, 216, 255, 0.1);
  border: 1px solid rgba(196, 216, 255, 0.3);
  color: #fff;
  font-family: "Geologica", sans-serif;
  font-size: 16px;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.3s ease;
}

.google-login-btn:hover {
  background: rgba(196, 216, 255, 0.2);
  border-color: rgba(196, 216, 255, 0.5);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(88, 145, 255, 0.2);
}

.google-login-btn:active {
  transform: translateY(0);
}

.google-login-btn svg {
  color: currentColor;
}

@media (max-width: 480px) {
  .register-modal-content {
    padding: 30px 20px;
    margin: 20px;
  }

  .register-modal-content h2 {
    font-size: 24px;
    margin-bottom: 12px;
  }

  .register-modal-content > p {
    font-size: 14px;
    margin-bottom: 20px;
  }

  .swish-input,
  .swish-login-btn,
  .google-login-btn {
    font-size: 14px;
  }
}
