/* ═══════════════════════════════════════════════════════════
   VARIABLES
   ═══════════════════════════════════════════════════════════ */
:root {
  --bg: #050507;
  --bg-alt: #0b0b10;
  --text: rgba(255, 255, 255, 0.92);
  --muted: rgba(255, 255, 255, 0.55);
  --hair: rgba(255, 255, 255, 0.08);
  --accent: #f5c76a;
  --accent-light: #ffd88a;
  --accent-dark: #b98a3e;
  --accent-soft: rgba(245, 199, 106, 0.25);
  --accent-strong: rgba(245, 199, 106, 0.55);
  --telegram-blue: #229ED9;

  --font-serif: 'Playfair Display', Georgia, 'Times New Roman', serif;
  --font-sans: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Arial, sans-serif;
}

*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
  -webkit-tap-highlight-color: transparent;
}

html, body {
  height: 100%;
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: var(--font-sans);
  color: var(--text);
  background: var(--bg);
  overflow: hidden;
  position: relative;
}

/* ═══════════════════════════════════════════════════════════
   FONDO ANIMADO
   ═══════════════════════════════════════════════════════════ */
.bg-grid {
  position: fixed;
  inset: 0;
  background-image:
    linear-gradient(to right, var(--hair) 1px, transparent 1px),
    linear-gradient(to bottom, var(--hair) 1px, transparent 1px);
  background-size: 60px 60px;
  mask-image: radial-gradient(circle at 50% 50%, rgba(0,0,0,1) 0%, rgba(0,0,0,0.6) 40%, rgba(0,0,0,0) 75%);
  -webkit-mask-image: radial-gradient(circle at 50% 50%, rgba(0,0,0,1) 0%, rgba(0,0,0,0.6) 40%, rgba(0,0,0,0) 75%);
  animation: gridPulse 8s ease-in-out infinite;
  z-index: 0;
  pointer-events: none;
}

@keyframes gridPulse {
  0%, 100% { opacity: 0.4; }
  50% { opacity: 0.75; }
}

/* ═══════════════════════════════════════════════════════════
   ORBES
   ═══════════════════════════════════════════════════════════ */
.orb {
  position: fixed;
  border-radius: 50%;
  filter: blur(80px);
  pointer-events: none;
  z-index: 0;
  will-change: transform;
}

.orb--1 {
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, rgba(245, 199, 106, 0.35), transparent 70%);
  top: -150px;
  left: -150px;
  animation: floatOrb1 18s ease-in-out infinite;
}

.orb--2 {
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(245, 199, 106, 0.2), transparent 70%);
  bottom: -200px;
  right: -200px;
  animation: floatOrb2 22s ease-in-out infinite;
}

.orb--3 {
  width: 400px;
  height: 400px;
  background: radial-gradient(circle, rgba(34, 158, 217, 0.12), transparent 70%);
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  animation: floatOrb3 15s ease-in-out infinite;
}

@keyframes floatOrb1 {
  0%, 100% { transform: translate(0, 0) scale(1); }
  33% { transform: translate(80px, 60px) scale(1.1); }
  66% { transform: translate(40px, 120px) scale(0.95); }
}

@keyframes floatOrb2 {
  0%, 100% { transform: translate(0, 0) scale(1); }
  33% { transform: translate(-100px, -80px) scale(1.15); }
  66% { transform: translate(-60px, -40px) scale(0.9); }
}

@keyframes floatOrb3 {
  0%, 100% { transform: translate(-50%, -50%) scale(1); opacity: 0.6; }
  50% { transform: translate(-50%, -50%) scale(1.35); opacity: 0.95; }
}

/* ═══════════════════════════════════════════════════════════
   PARTÍCULAS
   ═══════════════════════════════════════════════════════════ */
.particles {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  overflow: hidden;
}

.particle {
  position: absolute;
  width: 3px;
  height: 3px;
  background: var(--accent);
  border-radius: 50%;
  box-shadow: 0 0 8px var(--accent), 0 0 16px var(--accent-soft);
  animation: particleFloat linear infinite;
  opacity: 0;
}

@keyframes particleFloat {
  0% { transform: translateY(100vh) scale(0); opacity: 0; }
  10% { opacity: 1; }
  90% { opacity: 1; }
  100% { transform: translateY(-10vh) scale(1); opacity: 0; }
}

/* ═══════════════════════════════════════════════════════════
   LAYOUT
   ═══════════════════════════════════════════════════════════ */
.main {
  position: relative;
  z-index: 1;
  min-height: 100vh;
  min-height: 100dvh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 80px 20px 60px;
  padding-top: max(80px, env(safe-area-inset-top, 80px));
  padding-bottom: max(60px, env(safe-area-inset-bottom, 60px));
}

.content {
  max-width: 720px;
  width: 100%;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 36px;
  animation: contentFadeIn 1.2s cubic-bezier(0.16, 1, 0.3, 1) both;
}

@keyframes contentFadeIn {
  0% { opacity: 0; transform: translateY(20px); }
  100% { opacity: 1; transform: translateY(0); }
}

/* ═══════════════════════════════════════════════════════════
   BRAND
   ═══════════════════════════════════════════════════════════ */
.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 24px;
  border-radius: 999px;
  border: 1px solid rgba(245, 199, 106, 0.25);
  background: rgba(10, 10, 14, 0.6);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  animation: brandFloat 4s ease-in-out infinite, brandGlow 3s ease-in-out infinite;
  will-change: transform;
}

@keyframes brandFloat {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-6px); }
}

@keyframes brandGlow {
  0%, 100% { box-shadow: 0 0 20px rgba(245, 199, 106, 0.1); }
  50% { box-shadow: 0 0 40px rgba(245, 199, 106, 0.3); }
}

.brand__mark {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: radial-gradient(circle at 30% 20%, #fff, var(--accent));
  box-shadow: 0 0 0 4px rgba(245, 199, 106, 0.2), 0 0 16px rgba(245, 199, 106, 0.7);
  animation: pulseDot 1.8s ease-in-out infinite;
}

@keyframes pulseDot {
  0%, 100% { transform: scale(1); box-shadow: 0 0 0 4px rgba(245, 199, 106, 0.2), 0 0 16px rgba(245, 199, 106, 0.7); }
  50% { transform: scale(1.35); box-shadow: 0 0 0 7px rgba(245, 199, 106, 0.35), 0 0 24px rgba(245, 199, 106, 1); }
}

.brand__text {
  font-family: var(--font-sans);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 2.5px;
  color: var(--accent);
}

/* ═══════════════════════════════════════════════════════════
   TÍTULO DORADO + RAYOS
   - padding-bottom para que la "y" de "City" no se corte
   - line-height controlado para evitar solapamiento
   ═══════════════════════════════════════════════════════════ */
.title {
  display: flex;
  flex-direction: column;
  gap: 0;
  line-height: 1;
  position: relative;
  padding-bottom: 0.18em; /* Espacio extra para descendentes como la "y" */
}

.title__line {
  font-family: var(--font-serif);
  font-size: clamp(48px, 9vw, 96px);
  font-weight: 800;
  letter-spacing: -1.5px;
  line-height: 1.05;
  position: relative;
  display: inline-block;
  padding-bottom: 0.08em; /* mini margen para descendentes */
}

.title__line--gold {
  background: linear-gradient(
    135deg,
    #b98a3e 0%,
    #f5c76a 20%,
    #ffd88a 35%,
    #ffffff 48%,
    #ffd88a 55%,
    #f5c76a 70%,
    #b98a3e 100%
  );
  background-size: 250% 250%;
  background-position: 0% 50%;
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  animation: goldShimmer 4s ease-in-out infinite;
  filter: drop-shadow(0 0 18px rgba(245, 199, 106, 0.45))
          drop-shadow(0 0 40px rgba(245, 199, 106, 0.25));
}

@keyframes goldShimmer {
  0%, 100% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
}

.title__line--gold::before {
  content: attr(data-text);
  position: absolute;
  inset: 0;
  font-family: inherit;
  font-size: inherit;
  font-weight: inherit;
  font-style: inherit;
  letter-spacing: inherit;
  line-height: inherit;
  padding-bottom: inherit;
  background: linear-gradient(
    100deg,
    transparent 0%,
    transparent 35%,
    rgba(255, 255, 255, 0.05) 42%,
    rgba(255, 255, 255, 0.95) 48%,
    rgba(255, 255, 255, 1) 50%,
    rgba(255, 255, 255, 0.95) 52%,
    rgba(255, 255, 255, 0.05) 58%,
    transparent 65%,
    transparent 100%
  );
  background-size: 300% 100%;
  background-position: -100% 0;
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  pointer-events: none;
  animation: lightRaySweep 3.5s ease-in-out infinite;
  filter: blur(0.5px) drop-shadow(0 0 8px rgba(255, 255, 255, 0.9))
                        drop-shadow(0 0 20px rgba(255, 216, 138, 0.7));
  z-index: 2;
}

.title__line--gold::after {
  content: attr(data-text);
  position: absolute;
  inset: 0;
  font-family: inherit;
  font-size: inherit;
  font-weight: inherit;
  font-style: inherit;
  letter-spacing: inherit;
  line-height: inherit;
  padding-bottom: inherit;
  background: linear-gradient(
    100deg,
    transparent 0%,
    transparent 40%,
    rgba(255, 235, 180, 0.6) 49%,
    rgba(255, 250, 220, 0.9) 50%,
    rgba(255, 235, 180, 0.6) 51%,
    transparent 60%,
    transparent 100%
  );
  background-size: 300% 100%;
  background-position: -100% 0;
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  pointer-events: none;
  animation: lightRaySweep 3.5s ease-in-out infinite;
  animation-delay: 0.35s;
  filter: blur(1px) drop-shadow(0 0 12px rgba(255, 216, 138, 1));
  z-index: 1;
}

@keyframes lightRaySweep {
  0% { background-position: -100% 0; }
  40%, 100% { background-position: 200% 0; }
}

/* ═══════════════════════════════════════════════════════════
   SUBTÍTULO
   ═══════════════════════════════════════════════════════════ */
.subtitle {
  font-family: var(--font-sans);
  font-size: clamp(14px, 2vw, 17px);
  color: var(--muted);
  line-height: 1.7;
  max-width: 540px;
  font-weight: 400;
}

/* ═══════════════════════════════════════════════════════════
   GRUPO DE BOTONES
   ═══════════════════════════════════════════════════════════ */
.cta-group {
  display: flex;
  flex-direction: column;
  gap: 16px;
  justify-content: center;
  align-items: center;
  width: 100%;
}

.cta-button {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 14px;
  padding: 18px 36px;
  min-height: 64px;
  min-width: 280px;
  border-radius: 999px;
  border: 1.5px solid rgba(245, 199, 106, 0.5);
  background: linear-gradient(135deg, rgba(245, 199, 106, 0.25) 0%, rgba(245, 199, 106, 0.08) 100%);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  color: var(--accent-light);
  font-family: var(--font-sans);
  font-size: clamp(15px, 2.2vw, 17px);
  font-weight: 700;
  letter-spacing: 0.4px;
  cursor: pointer;
  overflow: hidden;
  transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  box-shadow:
    0 0 0 1px rgba(245, 199, 106, 0.1),
    0 10px 40px rgba(0, 0, 0, 0.6),
    0 0 60px rgba(245, 199, 106, 0.15);
  touch-action: manipulation;
  user-select: none;
  -webkit-user-select: none;
  animation: ctaPulse 2.5s ease-in-out infinite;
  justify-content: center;
}

@keyframes ctaPulse {
  0%, 100% {
    box-shadow:
      0 0 0 1px rgba(245, 199, 106, 0.1),
      0 10px 40px rgba(0, 0, 0, 0.6),
      0 0 60px rgba(245, 199, 106, 0.15);
  }
  50% {
    box-shadow:
      0 0 0 1px rgba(245, 199, 106, 0.3),
      0 10px 40px rgba(0, 0, 0, 0.6),
      0 0 80px rgba(245, 199, 106, 0.35);
  }
}

.cta-button__shimmer {
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    90deg,
    transparent 0%,
    rgba(255, 216, 138, 0.35) 50%,
    transparent 100%
  );
  animation: shimmerSweep 3s ease-in-out infinite;
  pointer-events: none;
  border-radius: 999px;
}

@keyframes shimmerSweep {
  0% { left: -100%; }
  50%, 100% { left: 100%; }
}

.cta-button::before {
  content: '';
  position: absolute;
  inset: -8px;
  border-radius: 999px;
  border: 1.5px solid rgba(245, 199, 106, 0.4);
  animation: pulseRing 2.5s cubic-bezier(0.4, 0, 0.6, 1) infinite;
  pointer-events: none;
}

@keyframes pulseRing {
  0% { transform: scale(1); opacity: 0.7; }
  100% { transform: scale(1.35); opacity: 0; }
}

.cta-button__glow {
  position: absolute;
  inset: -2px;
  border-radius: 999px;
  background: linear-gradient(135deg, var(--accent), transparent 40%, var(--accent-light), transparent 80%);
  opacity: 0;
  z-index: -1;
  filter: blur(12px);
  transition: opacity 0.4s ease;
}

.cta-button:hover .cta-button__glow {
  opacity: 0.9;
}

.cta-button:hover {
  border-color: var(--accent);
  background: linear-gradient(135deg, rgba(245, 199, 106, 0.45) 0%, rgba(245, 199, 106, 0.18) 100%);
  color: #fff;
  transform: translateY(-3px) scale(1.03);
  animation-play-state: paused;
  box-shadow:
    0 0 0 1px rgba(245, 199, 106, 0.5),
    0 20px 50px rgba(0, 0, 0, 0.8),
    0 0 90px rgba(245, 199, 106, 0.55);
}

.cta-button:active {
  transform: translateY(-1px) scale(0.98);
}

.cta-button__icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: #ffffff;
  border: 1px solid rgba(34, 158, 217, 0.5);
  box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.4);
  transition: all 0.4s ease;
  flex-shrink: 0;
  animation: iconBreatheTelegram 2.5s ease-in-out infinite;
}

@keyframes iconBreatheTelegram {
  0%, 100% { box-shadow: 0 0 0 0 rgba(34, 158, 217, 0.5), 0 0 0 1px rgba(255, 255, 255, 0.4); }
  50% { box-shadow: 0 0 0 8px rgba(34, 158, 217, 0), 0 0 0 1px rgba(255, 255, 255, 0.4); }
}

.cta-button:hover .cta-button__icon {
  background: #ffffff;
  transform: rotate(-10deg) scale(1.1);
  box-shadow: 0 0 24px rgba(34, 158, 217, 0.8);
  animation: none;
}

.cta-button__text {
  position: relative;
  z-index: 1;
  white-space: nowrap;
}

.cta-button__arrow {
  font-size: 20px;
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  opacity: 0.85;
  animation: arrowNudge 1.6s ease-in-out infinite;
}

@keyframes arrowNudge {
  0%, 100% { transform: translateX(0); }
  50% { transform: translateX(4px); }
}

.cta-button:hover .cta-button__arrow {
  transform: translateX(6px);
  opacity: 1;
  animation: none;
}

/* ═══════════════════════════════════════════════════════════
   CHIPS
   ═══════════════════════════════════════════════════════════ */
.chips {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: center;
}

.chip {
  padding: 8px 16px;
  border-radius: 999px;
  border: 1px solid rgba(245, 199, 106, 0.2);
  background: rgba(245, 199, 106, 0.06);
  font-size: 12px;
  font-weight: 500;
  color: rgba(245, 199, 106, 0.85);
  letter-spacing: 0.3px;
  transition: all 0.3s ease;
}

.chip:hover {
  border-color: rgba(245, 199, 106, 0.5);
  background: rgba(245, 199, 106, 0.15);
  color: var(--accent-light);
  transform: translateY(-2px);
}

/* ═══════════════════════════════════════════════════════════
   FOOTER
   ═══════════════════════════════════════════════════════════ */
.footer {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 16px 20px;
  padding-bottom: max(16px, env(safe-area-inset-bottom, 16px));
  text-align: center;
  font-size: 11px;
  color: rgba(255, 255, 255, 0.35);
  letter-spacing: 1px;
  z-index: 2;
  background: linear-gradient(to top, rgba(5, 5, 7, 0.9), transparent);
  pointer-events: none;
}

/* ═══════════════════════════════════════════════════════════
   SELECTOR DE IDIOMA
   ═══════════════════════════════════════════════════════════ */
.lang {
  position: fixed;
  top: 20px;
  top: max(20px, env(safe-area-inset-top, 20px));
  right: 20px;
  right: max(20px, env(safe-area-inset-right, 20px));
  z-index: 100;
}

.lang__btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 14px;
  min-height: 40px;
  border-radius: 999px;
  border: 1px solid rgba(245, 199, 106, 0.3);
  background: rgba(10, 10, 14, 0.75);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  color: var(--accent);
  cursor: pointer;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.5px;
  transition: all 0.3s ease;
  touch-action: manipulation;
}

.lang__btn:hover {
  border-color: rgba(245, 199, 106, 0.6);
  background: rgba(245, 199, 106, 0.12);
  box-shadow: 0 0 20px rgba(245, 199, 106, 0.2);
}

.lang__flag { font-size: 16px; line-height: 1; }
.lang__code { color: var(--accent); }

.lang__caret {
  width: 7px;
  height: 7px;
  border-right: 1.5px solid var(--accent);
  border-bottom: 1.5px solid var(--accent);
  transform: rotate(45deg) translateY(-2px);
  transition: transform 0.3s ease;
}

.lang.is-open .lang__caret {
  transform: rotate(-135deg) translateY(-2px);
}

.lang__menu {
  position: absolute;
  right: 0;
  top: calc(100% + 8px);
  min-width: 160px;
  border-radius: 14px;
  border: 1px solid rgba(245, 199, 106, 0.25);
  background: rgba(8, 8, 12, 0.97);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.8);
  padding: 6px;
  display: none;
  animation: langMenuIn 0.2s ease;
}

@keyframes langMenuIn {
  from { opacity: 0; transform: translateY(-6px); }
  to   { opacity: 1; transform: translateY(0); }
}

.lang.is-open .lang__menu { display: block; }

.lang__opt {
  width: 100%;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px;
  min-height: 44px;
  border-radius: 10px;
  border: 0;
  background: transparent;
  color: rgba(245, 199, 106, 0.85);
  cursor: pointer;
  font-size: 13px;
  font-weight: 500;
  text-align: left;
  transition: background 0.2s ease, color 0.2s ease;
  touch-action: manipulation;
}

.lang__opt:hover,
.lang__opt:active {
  background: rgba(245, 199, 106, 0.15);
  color: var(--accent-light);
}

/* ═══════════════════════════════════════════════════════════
   MODAL +18
   ═══════════════════════════════════════════════════════════ */
.age-modal {
  position: fixed;
  inset: 0;
  z-index: 999;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease, visibility 0.3s ease;
}

.age-modal.is-open {
  opacity: 1;
  visibility: visible;
}

.age-modal__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(2, 2, 3, 0.85);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}

.age-modal__card {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: 480px;
  padding: 40px 32px 32px;
  border-radius: 24px;
  border: 1px solid rgba(245, 199, 106, 0.35);
  background: linear-gradient(145deg, rgba(20, 20, 26, 0.98) 0%, rgba(10, 10, 14, 0.98) 100%);
  box-shadow:
    0 0 0 1px rgba(245, 199, 106, 0.1),
    0 30px 80px rgba(0, 0, 0, 0.9),
    0 0 100px rgba(245, 199, 106, 0.15);
  text-align: center;
  transform: scale(0.9) translateY(20px);
  opacity: 0;
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.4s ease;
}

.age-modal.is-open .age-modal__card {
  transform: scale(1) translateY(0);
  opacity: 1;
}

.age-modal__badge {
  position: relative;
  width: 84px;
  height: 84px;
  margin: -82px auto 20px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: radial-gradient(circle at 30% 20%, #2a1f0d 0%, #0b0b10 100%);
  border: 2px solid var(--accent);
  box-shadow:
    0 0 0 6px rgba(245, 199, 106, 0.08),
    0 0 30px rgba(245, 199, 106, 0.5),
    inset 0 0 20px rgba(245, 199, 106, 0.15);
  animation: badgePulse 2.5s ease-in-out infinite;
}

@keyframes badgePulse {
  0%, 100% {
    box-shadow:
      0 0 0 6px rgba(245, 199, 106, 0.08),
      0 0 30px rgba(245, 199, 106, 0.5),
      inset 0 0 20px rgba(245, 199, 106, 0.15);
  }
  50% {
    box-shadow:
      0 0 0 12px rgba(245, 199, 106, 0.14),
      0 0 50px rgba(245, 199, 106, 0.8),
      inset 0 0 24px rgba(245, 199, 106, 0.3);
  }
}

.age-modal__badge-num {
  font-size: 28px;
  font-weight: 900;
  letter-spacing: -1px;
  background: linear-gradient(135deg, var(--accent-light) 0%, var(--accent) 50%, var(--accent-dark) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.age-modal__title {
  font-size: clamp(20px, 3vw, 24px);
  font-weight: 800;
  letter-spacing: -0.5px;
  color: var(--accent-light);
  margin-bottom: 14px;
  line-height: 1.2;
}

.age-modal__text {
  font-size: 14px;
  line-height: 1.65;
  color: var(--muted);
  margin-bottom: 26px;
}

.age-modal__actions {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-bottom: 18px;
}

.age-btn {
  width: 100%;
  padding: 16px 20px;
  min-height: 54px;
  border-radius: 999px;
  font-family: inherit;
  font-size: 15px;
  font-weight: 700;
  letter-spacing: 0.3px;
  cursor: pointer;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  touch-action: manipulation;
  user-select: none;
  -webkit-user-select: none;
}

.age-btn--confirm {
  border: 1.5px solid rgba(245, 199, 106, 0.6);
  background: linear-gradient(135deg, var(--accent) 0%, var(--accent-dark) 100%);
  color: #050507;
  box-shadow:
    0 4px 20px rgba(245, 199, 106, 0.4),
    0 0 0 1px rgba(245, 199, 106, 0.2);
  animation: confirmPulse 2.5s ease-in-out infinite;
}

@keyframes confirmPulse {
  0%, 100% {
    box-shadow:
      0 4px 20px rgba(245, 199, 106, 0.4),
      0 0 0 1px rgba(245, 199, 106, 0.2);
  }
  50% {
    box-shadow:
      0 6px 30px rgba(245, 199, 106, 0.7),
      0 0 0 3px rgba(245, 199, 106, 0.3);
  }
}

.age-btn--confirm:hover {
  background: linear-gradient(135deg, var(--accent-light) 0%, var(--accent) 100%);
  transform: translateY(-2px) scale(1.02);
  box-shadow:
    0 8px 36px rgba(245, 199, 106, 0.8),
    0 0 0 3px rgba(245, 199, 106, 0.4);
  animation-play-state: paused;
}

.age-btn--confirm:active {
  transform: translateY(0) scale(0.98);
}

.age-btn--cancel {
  border: 1.5px solid rgba(255, 255, 255, 0.15);
  background: rgba(255, 255, 255, 0.04);
  color: rgba(255, 255, 255, 0.7);
}

.age-btn--cancel:hover {
  border-color: rgba(255, 255, 255, 0.35);
  background: rgba(255, 255, 255, 0.08);
  color: rgba(255, 255, 255, 0.95);
  transform: translateY(-2px);
}

.age-btn--cancel:active {
  transform: translateY(0) scale(0.98);
}

.age-modal__footnote {
  font-size: 11px;
  line-height: 1.5;
  color: rgba(255, 255, 255, 0.35);
  letter-spacing: 0.2px;
}

body.modal-open {
  overflow: hidden;
}

/* ═══════════════════════════════════════════════════════════
   TABLET (≤ 768px)
   ═══════════════════════════════════════════════════════════ */
@media (max-width: 768px) {
  .main {
    padding: 70px 16px 50px;
    padding-top: max(70px, env(safe-area-inset-top, 70px));
    padding-bottom: max(50px, env(safe-area-inset-bottom, 50px));
  }

  .content { gap: 28px; }

  .title__line {
    font-size: clamp(44px, 12vw, 76px);
    letter-spacing: -1.5px;
  }

  .subtitle { font-size: 15px; line-height: 1.65; }

  .cta-button {
    padding: 16px 28px;
    min-height: 60px;
    gap: 12px;
    min-width: 260px;
  }

  .cta-button__icon { width: 36px; height: 36px; }

  .orb--1 { width: 400px; height: 400px; }
  .orb--2 { width: 450px; height: 450px; }
  .orb--3 { width: 320px; height: 320px; }
}

/* ═══════════════════════════════════════════════════════════
   MÓVIL (≤ 576px)
   ═══════════════════════════════════════════════════════════ */
@media (max-width: 576px) {
  .main {
    padding: 60px 14px 40px;
    padding-top: max(60px, env(safe-area-inset-top, 60px));
    padding-bottom: max(40px, env(safe-area-inset-bottom, 40px));
  }

  .content { gap: 24px; }

  .brand { padding: 10px 18px; gap: 10px; }
  .brand__text { font-size: 10px; letter-spacing: 2px; }
  .brand__mark {
    width: 8px;
    height: 8px;
    box-shadow: 0 0 0 3px rgba(245, 199, 106, 0.2), 0 0 12px rgba(245, 199, 106, 0.7);
  }

  .title__line {
    font-size: clamp(40px, 14vw, 62px);
    letter-spacing: -1px;
  }

  .subtitle {
    font-size: 14px;
    line-height: 1.6;
    padding: 0 8px;
  }

  .cta-group {
    gap: 12px;
    width: 100%;
  }

  .cta-button {
    width: 100%;
    max-width: 340px;
    min-width: 0;
    padding: 16px 22px;
    min-height: 62px;
    gap: 10px;
    font-size: 15px;
  }

  .cta-button::before { inset: -6px; }
  .cta-button__icon { width: 34px; height: 34px; }
  .cta-button__arrow { display: none; }

  .chips { gap: 8px; }
  .chip { font-size: 11px; padding: 7px 12px; }

  .lang {
    top: 14px;
    top: max(14px, env(safe-area-inset-top, 14px));
    right: 14px;
    right: max(14px, env(safe-area-inset-right, 14px));
  }
  .lang__btn { padding: 9px 11px; min-height: 38px; font-size: 11px; gap: 6px; }
  .lang__flag { font-size: 14px; }

  .footer {
    font-size: 10px;
    padding: 12px 16px;
    padding-bottom: max(12px, env(safe-area-inset-bottom, 12px));
  }

  .orb--1 { width: 280px; height: 280px; }
  .orb--2 { width: 320px; height: 320px; }
  .orb--3 { width: 240px; height: 240px; }
  .orb { filter: blur(60px); }

  .age-modal { padding: 16px; }

  .age-modal__card {
    padding: 44px 24px 26px;
    border-radius: 22px;
    max-width: 100%;
  }

  .age-modal__badge {
    width: 72px;
    height: 72px;
    margin: -80px auto 16px;
  }

  .age-modal__badge-num { font-size: 24px; }
  .age-modal__title { font-size: 20px; }
  .age-modal__text { font-size: 13px; }

  .age-btn {
    min-height: 52px;
    font-size: 14px;
    padding: 14px 18px;
  }
}

/* ═══════════════════════════════════════════════════════════
   MÓVIL PEQUEÑO (≤ 380px)
   ═══════════════════════════════════════════════════════════ */
@media (max-width: 380px) {
  .content { gap: 20px; }
  .title__line { font-size: clamp(34px, 13vw, 52px); }
  .subtitle { font-size: 13px; }
  .cta-button { padding: 14px 18px; min-height: 58px; font-size: 14px; }
  .chip { font-size: 10px; padding: 6px 10px; }

  .age-modal__card { padding: 40px 20px 22px; }
  .age-modal__badge { width: 64px; height: 64px; }
  .age-modal__badge-num { font-size: 22px; }
  .age-modal__title { font-size: 18px; }
  .age-btn { min-height: 50px; font-size: 13px; padding: 12px 16px; }
}

/* ═══════════════════════════════════════════════════════════
   LANDSCAPE MÓVIL
   ═══════════════════════════════════════════════════════════ */
@media (max-height: 600px) and (orientation: landscape) {
  .main { padding: 40px 20px; }
  .content { gap: 16px; }
  .title__line { font-size: clamp(30px, 6vw, 48px); }
  .subtitle { font-size: 13px; line-height: 1.5; }
  .cta-group { flex-direction: row; }
  .cta-button { padding: 12px 24px; min-height: 50px; font-size: 13px; min-width: 200px; }
  .chips { display: none; }
  .brand { padding: 8px 16px; }

  .age-modal { padding: 12px; }
  .age-modal__card {
    padding: 30px 24px 20px;
    max-height: 94vh;
    overflow-y: auto;
  }
  .age-modal__badge {
    width: 56px;
    height: 56px;
    margin: -66px auto 12px;
  }
  .age-modal__badge-num { font-size: 20px; }
  .age-modal__title { font-size: 18px; margin-bottom: 10px; }
  .age-modal__text { font-size: 12px; margin-bottom: 16px; }
  .age-modal__actions { gap: 8px; margin-bottom: 12px; }
  .age-btn { min-height: 44px; font-size: 13px; padding: 10px 16px; }
  .age-modal__footnote { font-size: 10px; }
}

/* ═══════════════════════════════════════════════════════════
   TOUCH
   ═══════════════════════════════════════════════════════════ */
@media (hover: none) and (pointer: coarse) {
  .cta-button:hover {
    transform: none;
    background: linear-gradient(135deg, rgba(245, 199, 106, 0.25) 0%, rgba(245, 199, 106, 0.08) 100%);
    color: var(--accent-light);
    animation-play-state: running;
  }

  .cta-button:hover .cta-button__icon {
    background: #ffffff;
    transform: none;
    box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.4);
    animation: iconBreatheTelegram 2.5s ease-in-out infinite;
  }

  .cta-button:hover .cta-button__arrow {
    transform: none;
    animation: arrowNudge 1.6s ease-in-out infinite;
  }

  .cta-button:hover .cta-button__glow { opacity: 0; }

  .chip:hover {
    transform: none;
    border-color: rgba(245, 199, 106, 0.2);
    background: rgba(245, 199, 106, 0.06);
    color: rgba(245, 199, 106, 0.85);
  }

  .age-btn--confirm:hover {
    background: linear-gradient(135deg, var(--accent) 0%, var(--accent-dark) 100%);
    transform: none;
    animation-play-state: running;
  }

  .age-btn--cancel:hover {
    border-color: rgba(255, 255, 255, 0.15);
    background: rgba(255, 255, 255, 0.04);
    color: rgba(255, 255, 255, 0.7);
    transform: none;
  }
}

/* ═══════════════════════════════════════════════════════════
   RIPPLE
   ═══════════════════════════════════════════════════════════ */
@keyframes rippleEffect {
  to { transform: scale(2.5); opacity: 0; }
}

/* ═══════════════════════════════════════════════════════════
   REDUCED MOTION
   ═══════════════════════════════════════════════════════════ */
@media (prefers-reduced-motion: reduce) {
  .cta-button,
  .cta-button__icon,
  .cta-button__arrow,
  .cta-button__shimmer,
  .brand,
  .brand__mark,
  .age-modal__badge,
  .age-btn--confirm,
  .title__line--gold,
  .title__line--gold::before,
  .title__line--gold::after {
    animation-duration: 8s !important;
  }

  .cta-button::before {
    animation-duration: 8s !important;
  }

  .age-modal__card,
  .age-modal {
    transition-duration: 0.01ms !important;
  }
}