/* ==========================================================================
   AURORA PEPTIDES - Premium Age Gate Design System & Stylesheet
   ========================================================================== */

/* --- Custom Variables & Theme Config --- */
:root {
  --color-bg: #020611;
  --color-modal-bg: rgba(5, 12, 28, 0.94);
  --color-panel-left-bg: radial-gradient(circle at 50% 0%, #071530 0%, #020611 100%);
  --color-navy-deep: #050b1a;
  
  /* Neon Palette */
  --color-cyan: #00e5ff;
  --color-blue: #1aa8ff;
  --color-purple: #8b5cf6;
  --color-pink-purple: #d000ff;
  
  /* Text colors */
  --text-white: #ffffff;
  --text-muted: #a8b3c7;
  --text-dim: #64748b;
  
  /* Borders and Inputs */
  --border-color: rgba(255, 255, 255, 0.12);
  --input-bg: rgba(2, 8, 20, 0.55);
  
  /* Gradients */
  --grad-primary: linear-gradient(135deg, var(--color-cyan) 0%, var(--color-blue) 35%, var(--color-purple) 65%, var(--color-pink-purple) 100%);
  --grad-cyan-blue: linear-gradient(135deg, var(--color-cyan) 0%, var(--color-blue) 100%);
  --grad-purple-pink: linear-gradient(135deg, var(--color-purple) 0%, var(--color-pink-purple) 100%);
  --grad-border: linear-gradient(135deg, var(--color-cyan), var(--color-blue), var(--color-purple), var(--color-pink-purple));

  /* Font configurations */
  --font-display: 'Outfit', sans-serif;
  --font-body: 'Inter', sans-serif;

  /* Transitions */
  --transition-fast: 0.2s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-normal: 0.35s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-slow: 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

/* --- Base Resets & Page Styling --- */
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  font-family: var(--font-body);
  background-color: var(--color-bg);
  background: radial-gradient(circle at 80% 20%, #0c1938 0%, #020611 80%);
  color: var(--text-white);
  min-height: 100vh;
  overflow: hidden;
}

body.no-scroll {
  overflow: hidden;
}

/* --- Age Gate Full-Screen Overlay --- */
.age-gate-overlay {
  position: fixed;
  inset: 0;
  z-index: 9999;
  display: flex;
  justify-content: center;
  align-items: center;
  background-color: rgba(2, 6, 17, 0.65);
  padding: 20px;
  
  /* Animations */
  animation: overlayFadeIn 0.8s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

@keyframes overlayFadeIn {
  0% {
    background-color: rgba(2, 6, 17, 0);
    backdrop-filter: blur(0px);
    -webkit-backdrop-filter: blur(0px);
  }
  100% {
    background-color: rgba(2, 6, 17, 0.65);
    backdrop-filter: blur(24px);
    -webkit-backdrop-filter: blur(24px);
  }
}

.age-gate-overlay.fade-out {
  opacity: 0;
  visibility: hidden;
  transition: opacity var(--transition-slow), visibility var(--transition-slow);
}

/* --- Modal Container --- */
.age-gate-modal {
  position: relative;
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  width: 100%;
  max-width: 1220px;
  height: 760px;
  border-radius: 28px;
  background: var(--color-modal-bg);
  
  /* Gradient border using border-box & padding-box layering */
  background: linear-gradient(var(--color-navy-deep), var(--color-navy-deep)) padding-box,
              var(--grad-border) border-box;
  border: 1.5px solid transparent;
  
  /* Animations */
  animation: modalEntrance 0.7s cubic-bezier(0.16, 1, 0.3, 1) forwards,
             borderGlowPulse 5s ease-in-out infinite;
             
  overflow: hidden;
  transition: transform var(--transition-normal);
}

@keyframes modalEntrance {
  0% {
    opacity: 0;
    transform: translateY(30px) scale(0.96);
  }
  100% {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

@keyframes borderGlowPulse {
  0% {
    box-shadow: 0 0 40px rgba(0, 229, 255, 0.12),
                0 0 80px rgba(139, 92, 246, 0.08),
                inset 0 1px 1px rgba(255, 255, 255, 0.15),
                0 30px 60px rgba(0, 0, 0, 0.6);
  }
  50% {
    box-shadow: 0 0 50px rgba(0, 229, 255, 0.2),
                0 0 100px rgba(139, 92, 246, 0.16),
                inset 0 1px 1px rgba(255, 255, 255, 0.22),
                0 30px 60px rgba(0, 0, 0, 0.6);
  }
  100% {
    box-shadow: 0 0 40px rgba(0, 229, 255, 0.12),
                0 0 80px rgba(139, 92, 246, 0.08),
                inset 0 1px 1px rgba(255, 255, 255, 0.15),
                0 30px 60px rgba(0, 0, 0, 0.6);
  }
}

.age-gate-overlay.fade-out .age-gate-modal {
  transform: scale(0.95) translateY(-10px);
}

/* --- Panel Left (Branding & Trust) --- */
.panel-left {
  position: relative;
  width: 45%;
  height: calc(100% - 60px); /* Leave space for bottom disclaimer bar */
  background: var(--color-panel-left-bg);
  padding: 50px 40px;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  border-right: 1px solid rgba(255, 255, 255, 0.06);
  overflow: hidden;
}

/* Molecular background */
.molecular-bg {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 0;
}

/* Floating molecule animations */
.molecule-dot {
  transform-origin: center;
  transition: transform var(--transition-slow);
}

@keyframes floatDot1 {
  0% { transform: translate(0, 0); opacity: 0.3; }
  50% { transform: translate(6px, -10px); opacity: 0.55; }
  100% { transform: translate(0, 0); opacity: 0.3; }
}

@keyframes floatDot2 {
  0% { transform: translate(0, 0); opacity: 0.2; }
  50% { transform: translate(-8px, 6px); opacity: 0.45; }
  100% { transform: translate(0, 0); opacity: 0.2; }
}

@keyframes floatDot3 {
  0% { transform: translate(0, 0); opacity: 0.25; }
  50% { transform: translate(6px, 8px); opacity: 0.5; }
  100% { transform: translate(0, 0); opacity: 0.25; }
}

.molecular-bg .dot-1 { animation: floatDot1 8s ease-in-out infinite; }
.molecular-bg .dot-2 { animation: floatDot2 9s ease-in-out infinite; }
.molecular-bg .dot-3 { animation: floatDot3 7s ease-in-out infinite; }
.molecular-bg .dot-4 { animation: floatDot1 10s ease-in-out infinite 1s; }
.molecular-bg .dot-5 { animation: floatDot2 11s ease-in-out infinite 1.5s; }
.molecular-bg .dot-6 { animation: floatDot3 8s ease-in-out infinite 2s; }
.molecular-bg .dot-7 { animation: floatDot1 12s ease-in-out infinite 0.5s; }

/* Logo shield badge with pulse animation */
.logo-badge-container {
  position: relative;
  z-index: 1;
  margin-top: 10px;
  margin-bottom: 25px;
  transition: transform var(--transition-normal);
}

.logo-badge-container:hover {
  transform: scale(1.04);
}

.logo-shield-badge {
  width: 120px;
  height: 120px;
  display: flex;
  justify-content: center;
  align-items: center;
}

.shield-flask-svg {
  width: 100%;
  height: 100%;
}

.badge-ground-rings {
  position: absolute;
  bottom: -5px;
  left: 50%;
  transform: translateX(-50%);
  width: 90px;
  height: 16px;
  pointer-events: none;
}

.badge-ground-rings span {
  position: absolute;
  inset: 0;
  border-radius: 50%;
  border: 1px solid rgba(0, 229, 255, 0.3);
  animation: pulse-ring 3s infinite linear;
}

.badge-ground-rings .ring-2 {
  transform: scale(1.3);
  opacity: 0.5;
  animation-delay: 1.5s;
}

@keyframes pulse-ring {
  0% {
    transform: scale(0.8);
    opacity: 0.8;
  }
  50% {
    transform: scale(1.2);
    opacity: 0.3;
  }
  100% {
    transform: scale(1.6);
    opacity: 0;
  }
}

/* Brand Text Container */
.brand-text-container {
  position: relative;
  z-index: 1;
  width: 100%;
  margin-bottom: 20px;
}

.brand-title-aurora {
  font-family: var(--font-display);
  font-weight: 300;
  font-size: 2.2rem;
  letter-spacing: 0.45em;
  color: var(--text-white);
  line-height: 1;
  text-indent: 0.45em;
}

.brand-title-peptides-wrapper {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  margin: 6px 0 14px 0;
  width: 100%;
}

.brand-title-peptides-wrapper .line {
  height: 1px;
  flex-grow: 1;
  max-width: 60px;
}

.brand-title-peptides-wrapper .line-left {
  background: linear-gradient(to left, var(--color-cyan), transparent);
}

.brand-title-peptides-wrapper .line-right {
  background: linear-gradient(to right, var(--color-purple), transparent);
}

.brand-title-peptides {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 0.95rem;
  letter-spacing: 0.35em;
  color: var(--text-white);
  text-indent: 0.35em;
}

.brand-tagline {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 0.72rem;
  letter-spacing: 0.25em;
  color: var(--color-blue);
}

.brand-description {
  position: relative;
  z-index: 1;
  font-size: 0.9rem;
  line-height: 1.6;
  color: var(--text-muted);
  max-width: 320px;
  margin-bottom: auto; /* Push trust cards to bottom */
}

/* Trust Cards Container */
.trust-cards-container {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  width: 100%;
  margin-bottom: 20px;
}

.trust-card {
  background: rgba(7, 17, 32, 0.45);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 12px;
  padding: 14px 8px;
  display: flex;
  flex-direction: column;
  align-items: center;
  transition: transform var(--transition-fast), border-color var(--transition-fast), box-shadow var(--transition-fast);
}

.trust-card:hover {
  transform: translateY(-3px);
  border-color: rgba(0, 229, 255, 0.25);
  box-shadow: 0 4px 15px rgba(0, 229, 255, 0.08);
}

.trust-card .card-icon {
  width: 32px;
  height: 32px;
  margin-bottom: 8px;
}

.trust-card .card-icon svg {
  width: 100%;
  height: 100%;
}

.cyan-icon { color: var(--color-cyan); filter: drop-shadow(0 0 4px rgba(0, 229, 255, 0.4)); }
.purple-icon { color: var(--color-purple); filter: drop-shadow(0 0 4px rgba(139, 92, 246, 0.4)); }
.pink-icon { color: var(--color-pink-purple); filter: drop-shadow(0 0 4px rgba(208, 0, 255, 0.4)); }

.trust-card .card-text {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.trust-card .card-title {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.65rem;
  letter-spacing: 1px;
  margin-bottom: 2px;
}

.trust-card .card-subtitle {
  font-size: 0.58rem;
  color: var(--text-muted);
  white-space: nowrap;
}

/* Dotted Wave bottom container */
.dotted-wave-container {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 40px;
  overflow: hidden;
  z-index: 0;
  pointer-events: none;
}

.dotted-wave-svg {
  width: 100%;
  height: auto;
}

/* --- Panel Right (Verification Form) --- */
.panel-right {
  position: relative;
  width: 55%;
  height: calc(100% - 60px);
  padding: 45px 55px;
  display: flex;
  flex-direction: column;
  overflow-y: auto;
}

/* Custom scrollbar for form panel */
.panel-right::-webkit-scrollbar {
  width: 6px;
}
.panel-right::-webkit-scrollbar-track {
  background: transparent;
}
.panel-right::-webkit-scrollbar-thumb {
  background: rgba(255, 255, 255, 0.08);
  border-radius: 3px;
}
.panel-right::-webkit-scrollbar-thumb:hover {
  background: rgba(255, 255, 255, 0.15);
}

/* Close button (top right) */
.close-btn {
  position: absolute;
  top: 25px;
  right: 35px;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: transparent;
  border: 1px solid rgba(255, 255, 255, 0.15);
  color: var(--text-muted);
  cursor: pointer;
  display: flex;
  justify-content: center;
  align-items: center;
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1), border-color var(--transition-fast), background-color var(--transition-fast), color var(--transition-fast);
  z-index: 10;
}

.close-btn svg {
  width: 16px;
  height: 16px;
}

.close-btn:hover {
  color: var(--text-white);
  border-color: rgba(255, 255, 255, 0.4);
  transform: rotate(90deg) scale(1.05);
  background: rgba(255, 255, 255, 0.05);
}

/* Top user/verification icon circle with pulsing halo */
.form-header-badge {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  margin-top: 5px;
  margin-bottom: 20px;
  gap: 16px;
}

.form-header-badge .decorative-line {
  height: 1px;
  flex-grow: 1;
  max-width: 60px;
  position: relative;
}

.form-header-badge .decorative-line::after {
  content: '';
  position: absolute;
  width: 4px;
  height: 4px;
  border-radius: 50%;
  top: -1.5px;
}

.form-header-badge .line-left {
  background: linear-gradient(to left, var(--color-cyan), transparent);
}
.form-header-badge .line-left::after {
  background-color: var(--color-cyan);
  right: 0;
  box-shadow: 0 0 6px var(--color-cyan);
}

.form-header-badge .line-right {
  background: linear-gradient(to right, var(--color-purple), transparent);
}
.form-header-badge .line-right::after {
  background-color: var(--color-purple);
  left: 0;
  box-shadow: 0 0 6px var(--color-purple);
}

.verification-badge-wrapper {
  position: relative;
  width: 60px;
  height: 60px;
  display: flex;
  justify-content: center;
  align-items: center;
}

.pulse-halo {
  position: absolute;
  inset: -4px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(0, 229, 255, 0.15) 0%, transparent 70%);
  border: 1.5px solid rgba(0, 229, 255, 0.25);
  pointer-events: none;
  animation: haloPulse 3s infinite ease-in-out;
}

@keyframes haloPulse {
  0% {
    transform: scale(0.95);
    opacity: 0.5;
    box-shadow: 0 0 0 0 rgba(0, 229, 255, 0.2);
  }
  70% {
    transform: scale(1.15);
    opacity: 0.9;
    box-shadow: 0 0 0 10px rgba(0, 229, 255, 0);
  }
  100% {
    transform: scale(0.95);
    opacity: 0.5;
    box-shadow: 0 0 0 0 rgba(0, 229, 255, 0);
  }
}

.verification-shield-svg {
  width: 100%;
  height: 100%;
  z-index: 1;
}

/* Headings styles */
.form-heading-container {
  text-align: center;
  margin-bottom: 22px;
}

.form-title {
  font-family: var(--font-display);
  font-size: 1.85rem;
  font-weight: 800;
  letter-spacing: 1.5px;
  margin-bottom: 8px;
  display: flex;
  justify-content: center;
  gap: 8px;
}

.gradient-text-cyan {
  background: var(--grad-cyan-blue);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.gradient-text-purple {
  background: var(--grad-purple-pink);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.form-subtitle {
  font-size: 0.88rem;
  color: var(--text-muted);
  max-width: 380px;
  margin: 0 auto;
  line-height: 1.5;
}

.divider-dot {
  width: 6px;
  height: 6px;
  background-color: var(--color-cyan);
  border-radius: 50%;
  margin: 12px auto 0 auto;
  box-shadow: 0 0 8px var(--color-cyan);
}

/* Feedback/Status Message Banner */
.feedback-banner {
  padding: 10px 14px;
  border-radius: 8px;
  font-size: 0.82rem;
  text-align: center;
  margin-bottom: 15px;
  display: none;
  font-weight: 500;
  animation: modalEntrance 0.3s ease-out;
}

.feedback-banner.success {
  display: block;
  background: rgba(0, 229, 255, 0.1);
  border: 1px solid var(--color-cyan);
  color: var(--color-cyan);
  box-shadow: 0 0 10px rgba(0, 229, 255, 0.15);
}

.feedback-banner.error {
  display: block;
  background: rgba(239, 68, 68, 0.1);
  border: 1px solid #ef4444;
  color: #f87171;
  box-shadow: 0 0 10px rgba(239, 68, 68, 0.15);
}

/* Form Container */
.verification-form {
  display: flex;
  flex-direction: column;
  width: 100%;
}

/* --- Custom Checkbox Cards --- */
.checkbox-card {
  display: flex;
  align-items: flex-start;
  background: rgba(2, 8, 20, 0.35);
  border: 1px solid var(--border-color);
  border-radius: 12px;
  padding: 16px;
  margin-bottom: 14px;
  cursor: pointer;
  transition: all var(--transition-fast);
}

.checkbox-card:hover {
  background: rgba(7, 17, 32, 0.4);
  border-color: rgba(255, 255, 255, 0.2);
}

.checkbox-card.checked {
  border-color: var(--color-blue);
  background: rgba(26, 168, 255, 0.04);
  box-shadow: 0 0 12px rgba(26, 168, 255, 0.08);
}

/* Hide native checkbox */
.checkbox-wrapper input[type="checkbox"] {
  position: absolute;
  opacity: 0;
  width: 0;
  height: 0;
}

.custom-checkbox {
  width: 22px;
  height: 22px;
  border-radius: 6px;
  border: 1.5px solid rgba(255, 255, 255, 0.3);
  display: flex;
  justify-content: center;
  align-items: center;
  margin-right: 14px;
  background: var(--input-bg);
  flex-shrink: 0;
  transition: all var(--transition-fast);
}

.checkbox-card:hover .custom-checkbox {
  border-color: var(--color-cyan);
}

/* Bounce and Glow border-gradient for checked state */
.checkbox-wrapper input[type="checkbox"]:checked + .custom-checkbox {
  background: var(--grad-cyan-blue);
  border-color: transparent;
  box-shadow: 0 0 10px rgba(0, 229, 255, 0.4);
  animation: checkboxBounce 0.25s ease-out;
}

@keyframes checkboxBounce {
  0% { transform: scale(1); }
  50% { transform: scale(0.85); }
  100% { transform: scale(1); }
}

.custom-checkbox .chk-icon {
  width: 14px;
  height: 14px;
  stroke: var(--color-bg);
  fill: none;
  stroke-width: 3.5px;
  opacity: 0;
  transform: scale(0.5);
  transition: transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1), opacity 0.2s ease;
}

.checkbox-wrapper input[type="checkbox"]:checked + .custom-checkbox .chk-icon {
  opacity: 1;
  transform: scale(1);
}

/* Labels content */
.checkbox-label-text {
  font-size: 0.88rem;
  line-height: 1.4;
  color: var(--text-muted);
  user-select: none;
}

.cyan-highlight {
  color: var(--color-cyan);
  font-weight: 600;
  text-shadow: 0 0 6px rgba(0, 229, 255, 0.3);
}

/* Specific disclaimer and newsletter text styles */
.large-checkbox-card {
  padding: 18px;
}

.disclaimer-text {
  font-size: 0.8rem;
  line-height: 1.6;
  color: var(--text-muted);
}

.newsletter-text {
  font-size: 0.82rem;
  color: var(--text-muted);
}

/* --- Input Groups --- */
.input-group {
  display: flex;
  flex-direction: column;
  margin-top: 4px;
  margin-bottom: 18px;
  width: 100%;
}

.input-label {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.68rem;
  letter-spacing: 1.5px;
  color: var(--text-muted);
  margin-bottom: 8px;
}

.input-wrapper {
  position: relative;
  width: 100%;
}

.input-icon {
  position: absolute;
  left: 16px;
  top: 50%;
  transform: translateY(-50%);
  color: var(--text-muted);
  width: 18px;
  height: 18px;
  pointer-events: none;
  display: flex;
  align-items: center;
  justify-content: center;
}

.input-icon svg {
  width: 100%;
  height: 100%;
}

.input-wrapper input {
  width: 100%;
  height: 52px;
  background: var(--input-bg);
  border: 1px solid var(--border-color);
  border-radius: 10px;
  padding: 0 16px 0 46px;
  color: var(--text-white);
  font-family: var(--font-body);
  font-size: 0.92rem;
  transition: border-color var(--transition-fast), box-shadow var(--transition-fast), background-color var(--transition-fast);
}

.input-wrapper input::placeholder {
  color: var(--text-dim);
}

.input-wrapper input:focus {
  outline: none;
  border-color: var(--color-cyan);
  box-shadow: 0 0 12px rgba(0, 229, 255, 0.25);
  background: rgba(2, 8, 20, 0.8);
}

/* --- CTA Submit Button --- */
.cta-button {
  position: relative;
  width: 100%;
  height: 64px;
  border-radius: 10px;
  border: none;
  cursor: pointer;
  margin-top: 10px;
  overflow: hidden;
  background: var(--grad-primary);
  background-size: 200% 200%;
  color: var(--text-white);
  box-shadow: 0 0 25px rgba(139, 92, 246, 0.35);
  transition: background-position 0.6s ease, transform var(--transition-fast), box-shadow var(--transition-fast);
}

.cta-button .btn-content {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 100%;
  border-radius: 8.5px;
  background: transparent;
  gap: 12px;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.95rem;
  letter-spacing: 2px;
  text-indent: 2px;
  transition: all var(--transition-fast);
}

/* Icons inside Button */
.btn-lock-icon {
  width: 18px;
  height: 18px;
  transition: transform var(--transition-normal);
}

.btn-arrow-icon {
  width: 18px;
  height: 18px;
  transform: translateX(0);
  transition: transform var(--transition-fast);
}

/* Enabled Active State (Desktop hover) */
.cta-button:not(.btn-disabled):hover {
  background-position: right center;
  box-shadow: 0 0 35px rgba(0, 229, 255, 0.45), 0 0 15px rgba(208, 0, 255, 0.25);
  transform: translateY(-2.5px);
}

.cta-button:not(.btn-disabled):hover .btn-arrow-icon {
  transform: translateX(4px);
}

/* Mobile active / tap state scale down */
.cta-button:not(.btn-disabled):active {
  transform: scale(0.97) translateY(0) !important;
  box-shadow: 0 0 15px rgba(0, 229, 255, 0.3) !important;
}

/* Disabled State overrides */
.cta-button.btn-disabled {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.06);
  color: var(--text-dim);
  box-shadow: none;
  cursor: not-allowed;
  opacity: 0.55;
}

.cta-button.is-loading {
  cursor: wait;
  opacity: 0.88;
}

.cta-button.is-loading .btn-content {
  letter-spacing: 0.08em;
}

.cta-button:focus-visible,
.age-gate-no-btn:focus-visible,
.checkbox-card:focus-within {
  outline: 2px solid rgba(0, 229, 255, 0.7);
  outline-offset: 2px;
}

.cta-button.btn-disabled .btn-content {
  background: rgba(2, 6, 17, 0.2);
}

.cta-button.btn-disabled svg {
  opacity: 0.4;
}

/* --- Disclaimer Bar (Bottom of modal) --- */
.disclaimer-bar{
    position:relative;

    flex-shrink:0;

    height:46px;

    padding-bottom:env(safe-area-inset-bottom);
}

.disclaimer-bar-content {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.8rem;
  letter-spacing: 0.5px;
}

.disclaimer-shield {
  width: 16px;
  height: 16px;
  color: var(--color-cyan);
  filter: drop-shadow(0 0 4px rgba(0, 229, 255, 0.4));
}

.disclaimer-bar-content p {
  color: var(--text-muted);
}

.cyan-text {
  color: var(--color-cyan);
  font-weight: 500;
}

/* ==========================================================================
   RESPONSIVE DESIGN BREAKPOINTS
   ========================================================================== */

/* Checkbox layout stabilization */
.checkbox-wrapper {
  flex-shrink: 0;
}

/* --- Tablet Breakpoint (<= 1024px) --- */
@media (max-width: 1024px) {
  .age-gate-overlay {
    padding: 15px;
  }

  .age-gate-modal {
    width: 92%;
    max-width: 960px;
    height: clamp(620px, 80vh, 700px);
    border-radius: 24px;
  }
  
  .panel-left {
    width: 40%;
    padding: 35px 20px;
  }

  .panel-right {
    width: 60%;
    padding: 30px 35px;
  }
  
  .brand-title-aurora {
    font-size: 1.7rem;
  }
  
  .brand-description {
    display: none;
  }

  /* Stack trust cards vertically on tablet */
  .trust-cards-container {
    grid-template-columns: 1fr;
    gap: 8px;
    margin-top: 15px;
  }
  
  .trust-card {
    flex-direction: row;
    justify-content: flex-start;
    padding: 8px 12px;
    gap: 12px;
  }
  
  .trust-card .card-icon {
    width: 24px;
    height: 24px;
    margin-bottom: 0;
  }
  
  .trust-card .card-text {
    align-items: flex-start;
  }
  
  .form-title {
    font-size: 1.6rem;
  }
}

/* --- Mobile Layout Switch (<= 768px) --- */
@media (max-width: 768px) {
  .age-gate-overlay{
    position:fixed;
    inset:0;
    width:100%;
    height:100%;
    min-height:100dvh;
    display:flex;
    justify-content:center;
    align-items:center;

    padding:max(12px, env(safe-area-inset-top))
            12px
            max(12px, env(safe-area-inset-bottom));

    overflow:auto;
    -webkit-overflow-scrolling:touch;
}

  .age-gate-modal{
    width:min(94vw,480px);

    height:auto;
    max-height:calc(100dvh - env(safe-area-inset-top) - env(safe-area-inset-bottom) - 24px);

    display:flex;
    flex-direction:column;

    overflow:hidden;
    border-radius:20px;
}

  /* Compact branding header */
  .panel-left{
    width:100%;
    height:auto;
    flex:0 0 auto;

    padding:14px 18px;

    display:flex;
    align-items:center;
    justify-content:center;
    gap:12px;

    border-right:0;
    border-bottom:1px solid rgba(255,255,255,.06);
}

  .molecular-bg, 
  .badge-ground-rings, 
  .brand-description, 
  .trust-cards-container, 
  .dotted-wave-container {
    display: none !important;
  }

  .logo-badge-container {
    margin: 0 !important;
  }

  .logo-shield-badge {
    width: clamp(34px, 5vh, 44px);
    height: clamp(34px, 5vh, 44px);
  }

  /* Compact horizontal brand title */
  .brand-text-container {
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 6px;
    margin-bottom: 0;
    width: auto;
  }

  .brand-title-aurora {
    font-size: clamp(0.95rem, 4vw, 1.15rem);
    letter-spacing: 0.12em;
    text-indent: 0.12em;
  }

  .brand-title-peptides-wrapper {
    margin: 0;
    gap: 0;
    width: auto;
  }

  .brand-title-peptides-wrapper .line {
    display: none;
  }

  .brand-title-peptides {
    font-size: clamp(0.95rem, 4vw, 1.15rem);
    letter-spacing: 0.12em;
    text-indent: 0.12em;
    font-weight: 300;
    color: var(--color-purple);
  }

  .brand-tagline {
    display: none;
  }

  /* Form section adjusts height and overflows internally */
.panel-right{
    width:100%;

    flex:1 1 auto;
    min-height:0;

    overflow-y:auto;
    overflow-x:hidden;

    -webkit-overflow-scrolling:touch;

    padding:16px 18px 20px;
}


  .close-btn {
    top: clamp(8px, 1.8vh, 12px);
    right: clamp(8px, 2vw, 12px);
    width: clamp(26px, 5vw, 32px);
    height: clamp(26px, 5vw, 32px);
  }
  
  .close-btn svg {
    width: clamp(12px, 2.5vw, 14px);
    height: clamp(12px, 2.5vw, 14px);
  }

  /* Top verification icon styling */
  .form-header-badge {
    margin-bottom: clamp(8px, 1.5vh, 12px);
    display: flex;
    justify-content: center;
    align-items: center;
  }

  .verification-badge-wrapper {
    width: clamp(38px, 6vh, 48px);
    height: clamp(38px, 6vh, 48px);
  }
  
  .pulse-halo {
    inset: -3px;
  }

  .form-heading-container {
    margin-bottom: clamp(10px, 2vh, 14px);
  }

  .form-title {
    font-size: clamp(1.2rem, 5vw, 1.4rem);
    gap: 6px;
  }

  .form-subtitle {
    font-size: clamp(0.74rem, 3.2vw, 0.8rem);
    padding: 0 10px;
  }

  .divider-dot {
    margin-top: clamp(6px, 1.2vh, 8px);
  }

  /* Adjust checkboxes on mobile */
  .checkbox-card {
    padding: clamp(8px, 1.5vh, 12px) clamp(10px, 2vw, 14px);
    margin-bottom: clamp(8px, 1.5vh, 12px);
    border-radius: 10px;
  }

  .large-checkbox-card {
    padding: clamp(10px, 1.8vh, 14px) clamp(10px, 2vw, 14px);
  }

  .custom-checkbox {
    width: clamp(16px, 3.5vw, 20px);
    height: clamp(16px, 3.5vw, 20px);
    margin-right: 10px;
    border-radius: 5px;
  }

  .custom-checkbox .chk-icon {
    width: clamp(10px, 2.2vw, 12px);
    height: clamp(10px, 2.2vw, 12px);
    stroke-width: 4px;
  }

  .checkbox-label-text {
    font-size: clamp(0.74rem, 3.2vw, 0.78rem);
  }

  .disclaimer-text {
    font-size: clamp(0.68rem, 2.8vw, 0.72rem);
    line-height: 1.4;
  }

  .newsletter-text {
    font-size: clamp(0.72rem, 3vw, 0.76rem);
  }

  /* Adjust input on mobile */
  .input-group {
    margin-bottom: clamp(8px, 1.8vh, 12px);
  }

  .input-label {
    font-size: clamp(0.58rem, 2.5vw, 0.62rem);
    margin-bottom: 6px;
  }

  .input-wrapper input {
    height: clamp(38px, 5.5vh, 44px);
    font-size: clamp(0.8rem, 3.2vw, 0.85rem);
    padding: 0 12px 0 38px;
  }

  .input-icon {
    left: 12px;
    width: clamp(14px, 3vw, 16px);
    height: clamp(14px, 3vw, 16px);
  }

  /* Adjust CTA button on mobile */
  .cta-button {
    height: clamp(40px, 6vh, 48px);
    margin-top: 4px;
  }

  .cta-button .btn-content {
    font-size: clamp(0.8rem, 3.2vw, 0.85rem);
    letter-spacing: 1.5px;
    text-indent: 1.5px;
  }

  .btn-lock-icon, .btn-arrow-icon {
    width: clamp(14px, 3vw, 16px);
    height: clamp(14px, 3vw, 16px);
  }

  /* Bottom disclaimer bar on mobile */
  .disclaimer-bar {
    position: relative;
    bottom: auto;
    left: auto;
    width: 100%;
    height: clamp(36px, 5vh, 46px);
    border-radius: 0;
    border-top: 1px solid rgba(255, 255, 255, 0.06);
    background: rgba(2, 8, 20, 0.9);
    margin-top: auto;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10;
  }

  .disclaimer-bar-content {
    font-size: clamp(0.64rem, 2.8vw, 0.68rem);
    gap: 6px;
  }

  .disclaimer-shield {
    width: clamp(12px, 2.8vw, 14px);
    height: clamp(12px, 2.8vw, 14px);
  }
}

/* --- Normal Mobile (<= 480px) --- */
@media (max-width: 480px) {
  .age-gate-modal {
    width: 94vw;
    border-radius: 16px;
  }
  
  .panel-left {
    padding: 12px 14px;
    gap: 8px;
  }
  
  .logo-shield-badge {
    width: 36px;
    height: 36px;
  }
  
  .brand-title-aurora,
  .brand-title-peptides {
    font-size: 1rem;
  }

  .panel-right {
    padding: 14px 14px 18px 14px;
  }

  .form-title {
    font-size: 1.25rem;
  }
  
  .form-subtitle {
    font-size: 0.76rem;
  }

  .disclaimer-text {
    font-size: 0.7rem;
    line-height: 1.35;
  }
}

/* --- Small iPhone (<= 390px) --- */
@media (max-width: 390px) {
  .logo-shield-badge {
    width: 32px;
    height: 32px;
  }
  
  .brand-title-aurora,
  .brand-title-peptides {
    font-size: 0.95rem;
    letter-spacing: 0.08em;
    text-indent: 0.08em;
  }

  .panel-right {
    padding: 12px 12px 16px 12px;
  }

  .form-header-badge {
    margin-bottom: 8px;
  }

  .verification-badge-wrapper {
    width: 36px;
    height: 36px;
  }

  .form-title {
    font-size: 1.15rem;
  }

  .checkbox-card {
    padding: 8px 10px;
    margin-bottom: 8px;
  }
  
  .large-checkbox-card {
    padding: 10px 10px;
  }

  .disclaimer-text {
    font-size: 0.66rem;
    line-height: 1.3;
  }

  .input-group {
    margin-bottom: 10px;
  }

  .input-wrapper input {
    height: 40px;
    font-size: 0.8rem;
  }
  
  .cta-button {
    height: 42px;
  }
}

/* --- Small Android / Extra Small Mobile (<= 360px) --- */
@media (max-width: 360px) {
  .age-gate-modal {
    width: 96vw;
    border-radius: 12px;
  }

  .panel-left {
    padding: 10px 12px;
    gap: 6px;
  }

  .logo-shield-badge {
    width: 28px;
    height: 28px;
  }

  .brand-title-aurora,
  .brand-title-peptides {
    font-size: 0.88rem;
    letter-spacing: 0.06em;
    text-indent: 0.06em;
  }

  .panel-right {
    padding: 10px 10px 14px 10px;
  }

  .form-header-badge {
    display: none; /* Hide verification badge to maximize vertical height availability */
  }

  .form-heading-container {
    margin-bottom: 8px;
  }

  .form-title {
    font-size: 1.1rem;
  }

  .form-subtitle {
    font-size: 0.72rem;
    line-height: 1.3;
    padding: 0 4px;
  }

  .divider-dot {
    margin-top: 4px;
  }

  .checkbox-card {
    padding: 6px 8px;
    margin-bottom: 6px;
    border-radius: 8px;
  }

  .large-checkbox-card {
    padding: 8px 8px;
  }

  .custom-checkbox {
    width: 16px;
    height: 16px;
    margin-right: 8px;
  }

  .checkbox-label-text {
    font-size: 0.7rem;
    line-height: 1.25;
  }

  .disclaimer-text {
    font-size: 0.62rem;
    line-height: 1.25;
  }

  .newsletter-text {
    font-size: 0.68rem;
  }

  .input-group {
    margin-bottom: 8px;
  }

  .input-label {
    font-size: 0.55rem;
    margin-bottom: 4px;
  }

  .input-wrapper input {
    height: 36px;
    font-size: 0.78rem;
    padding: 0 10px 0 32px;
    border-radius: 8px;
  }

  .input-icon {
    left: 10px;
    width: 14px;
    height: 14px;
  }

  .cta-button {
    height: 38px;
    margin-top: 2px;
    border-radius: 8px;
  }

  .cta-button .btn-content {
    font-size: 0.78rem;
    letter-spacing: 1px;
    text-indent: 1px;
    gap: 8px;
  }

  .btn-lock-icon, .btn-arrow-icon {
    width: 12px;
    height: 12px;
  }

  .disclaimer-bar {
    height: 34px;
  }

  .disclaimer-bar-content {
    font-size: 0.6rem;
  }
}

/* --- Compact Height Refinements for Short Viewports --- */
@media (max-width: 768px) and (max-height: 680px) {
  .age-gate-modal {
    max-height: 96vh;
    max-height: 96dvh;
  }
  .form-header-badge {
    display: none;
  }
  .form-heading-container {
    margin-bottom: 6px;
  }
  .checkbox-card {
    padding: 6px 10px;
    margin-bottom: 6px;
  }
  .large-checkbox-card {
    padding: 8px 10px;
  }
  .disclaimer-text {
    font-size: 0.65rem;
    line-height: 1.25;
  }
  .input-group {
    margin-bottom: 6px;
  }
  .input-wrapper input {
    height: 36px;
  }
  .cta-button {
    height: 38px;
    margin-top: 2px;
  }
}


/* --- Support for Accessibility Preferences --- */
@media (prefers-reduced-motion: reduce) {
  * {
    animation-delay: 0s !important;
    animation-duration: 0s !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0s !important;
    scroll-behavior: auto !important;
  }
  
  .pulse-halo, 
  .molecule-dot, 
  .badge-ground-rings span {
    animation: none !important;
  }
  
  .age-gate-modal {
    animation: none !important;
    transform: none !important;
  }
  
  .age-gate-overlay {
    animation: none !important;
    backdrop-filter: blur(24px) !important;
    -webkit-backdrop-filter: blur(24px) !important;
  }
  
  .checkbox-wrapper input[type="checkbox"]:checked + .custom-checkbox {
    animation: none !important;
  }
}

/* ==========================================================================
   Aurora Gateway Integration Overrides
   ========================================================================== */
#aurora-gateway-root[data-gateway-step="auth"] [data-gateway-panel="age"] {
  display: none !important;
}

#aurora-gateway-root[data-gateway-step="age"] [data-gateway-panel="auth"] {
  display: none !important;
}

.age-gate-actions {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-top: 10px;
}

.age-gate-no-btn {
  width: 100%;
  height: 46px;
  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  background: rgba(255, 255, 255, 0.03);
  color: var(--text-muted);
  font-family: var(--font-display);
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  cursor: pointer;
  transition: var(--transition-fast);
}

.age-gate-no-btn:hover {
  color: #fff;
  border-color: rgba(255, 255, 255, 0.28);
  background: rgba(255, 255, 255, 0.06);
}

.close-btn {
  display: none !important;
}
html,
body{
    height:100%;
}

@supports (-webkit-touch-callout:none){

    .age-gate-overlay{
        min-height:-webkit-fill-available;
    }

    .age-gate-modal{
        max-height:calc(-webkit-fill-available - 24px);
    }

}
