﻿/* =========================================
   MAIN.CSS - TOKENS & BASE
   ========================================= */

:root {
  /* --- COLOR PALETTE (Premium Anti-Valentine) --- */
  --near-black: #060606;
  --velvet-black: #0B0B0B;
  --deep-crimson: #130A0A;
  --accent-crimson: #B1121A;
  --neon-red: #FF0040;
  --ivory: #F3EEE5;
  --muted-ivory: #D9D2C6;
  --gold-hint: #C9A35A;

  /* --- SPACING & LAYOUT --- */
  --spacing-xs: 4px;
  --spacing-sm: 8px;
  --spacing-md: 16px;
  --spacing-lg: 24px;
  --spacing-xl: 32px;
  --spacing-2xl: 48px;
  --spacing-3xl: 64px;

  --container-max: 600px;
  --header-height: 60px;

  /* --- TYPOGRAPHY --- */
  --font-display: 'Montserrat', sans-serif;
  --font-body: 'Montserrat', sans-serif;

  --text-xs: 0.75rem;
  --text-sm: 0.875rem;
  --text-base: 1rem;
  --text-lg: 1.125rem;
  --text-xl: 1.5rem;
  --text-2xl: 2rem;
  --text-3xl: 3rem;

  /* --- EFFECTS --- */
  --ease-ios: cubic-bezier(0.32, 0.72, 0, 1);
  --glass-bg: rgba(11, 11, 11, 0.7);
  --glass-border: 1px solid rgba(243, 238, 229, 0.1);
  --glass-blur: blur(20px);
}

/* --- RESET & BASE --- */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

html,
body {
  height: 100%;
  width: 100%;
  overflow-x: hidden;
  background-color: var(--near-black);
  color: var(--ivory);
  font-family: var(--font-body);
}

body {
  display: flex;
  flex-direction: column;
}

/* --- UTILITIES --- */
/* --- Z-INDEX & INTERACTIVITY SAFEGUARDS --- */
.view {
  position: relative;
  z-index: 1;
  /* Establish stacking context */
}

.container {
  position: relative;
  z-index: 10;
  pointer-events: auto !important;
  /* Force interactivity */
}

.bg-overlay {
  position: fixed !important;
  inset: 0;
  z-index: -1 !important;
  /* Force to back */
  pointer-events: none !important;
  /* Never capture clicks */
}

a,
button,
.btn,
.btn-primary,
.btn-secondary,
.btn-text,
[data-link] {
  position: relative;
  z-index: 20;
  /* Above container basics */
  pointer-events: auto !important;
  cursor: pointer !important;
}

/* Ensure Logo Header doesn't overlap */
.logos-header {
  pointer-events: none;
}

/* --- ANIMATIONS & TRANSITIONS --- */
.fade-in-up {
  /* Ensure opacity acts correctly */
  opacity: 0;
  animation-fill-mode: forwards;
  /* Keep final state */
}

.text-center {
  text-align: center;
}

.uppercase {
  text-transform: uppercase;
  letter-spacing: 0.1em;
}

.hidden {
  display: none !important;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

/* --- BACKGROUNDS --- */
.bg-overlay {
  position: fixed;
  inset: 0;
  z-index: -1;
  background-size: cover;
  background-position: center;
  transition: opacity 1s var(--ease-ios);
}

.bg-overlay::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom,
      rgba(6, 6, 6, 0.3) 0%,
      rgba(6, 6, 6, 0.7) 50%,
      rgba(6, 6, 6, 0.95) 100%);
  pointer-events: none;
}

/* --- GATSBY VELVET BACKGROUND (Landing Page) --- */
.bg-gatsby-velvet {
  position: fixed;
  inset: 0;
  z-index: -2;
  background:
    /* Art Deco Gold Lines Pattern */
    repeating-linear-gradient(45deg,
      transparent,
      transparent 40px,
      rgba(201, 163, 90, 0.03) 40px,
      rgba(201, 163, 90, 0.03) 41px),
    repeating-linear-gradient(-45deg,
      transparent,
      transparent 40px,
      rgba(201, 163, 90, 0.03) 40px,
      rgba(201, 163, 90, 0.03) 41px),
    /* Velvet Texture Gradient */
    radial-gradient(ellipse at 50% 0%,
      rgba(139, 15, 30, 0.4) 0%,
      rgba(80, 10, 20, 0.3) 40%,
      rgba(20, 5, 8, 0.2) 100%),
    /* Base Deep Red */
    linear-gradient(180deg,
      #1a0508 0%,
      #0d0204 50%,
      #060606 100%);
  pointer-events: none;
}

/* Feather/Plume Accents */
.bg-gatsby-velvet::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    /* Top Left Feather Glow */
    radial-gradient(ellipse 300px 400px at 10% 20%,
      rgba(177, 18, 26, 0.15) 0%,
      transparent 70%),
    /* Top Right Feather Glow */
    radial-gradient(ellipse 250px 350px at 90% 15%,
      rgba(201, 163, 90, 0.08) 0%,
      transparent 70%),
    /* Bottom Accent */
    radial-gradient(ellipse 400px 200px at 50% 100%,
      rgba(139, 15, 30, 0.2) 0%,
      transparent 70%);
  pointer-events: none;
  animation: velvetShimmer 8s ease-in-out infinite alternate;
}

/* Art Deco Gold Frame Border */
.bg-gatsby-velvet::after {
  content: '';
  position: absolute;
  inset: 15px;
  border: 1px solid rgba(201, 163, 90, 0.1);
  pointer-events: none;
}

@keyframes velvetShimmer {
  0% {
    opacity: 0.8;
  }

  100% {
    opacity: 1;
  }
}

/* --- LOGOS & HEADER --- */
.logos-header {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: var(--spacing-md);
  margin-bottom: var(--spacing-lg);
  font-family: var(--font-display);
  font-size: var(--text-sm);
  letter-spacing: 0.2em;
  color: var(--gold-hint);
  opacity: 0.9;
}

.logo-divider {
  color: var(--accent-crimson);
  font-weight: 700;
}

.hero-date {
  font-size: var(--text-sm);
  letter-spacing: 0.3em;
  color: var(--ivory);
  margin-top: var(--spacing-sm);
  text-transform: uppercase;
  font-weight: 300;
}

/* --- GALLERY PREVIEW (Landing) --- */
.gallery-teaser {
  margin-top: var(--spacing-xl);
  text-align: center;
}

.gallery-grid-preview {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--spacing-sm);
  margin-bottom: var(--spacing-sm);
  max-width: 400px;
  margin-left: auto;
  margin-right: auto;
}

.g-item-preview img {
  width: 100%;
  height: 120px;
  object-fit: cover;
  border-radius: 4px;
  filter: grayscale(0.5);
  transition: all 0.4s var(--ease-ios);
  border: 1px solid rgba(255, 255, 255, 0.1);
  cursor: pointer;
}

.g-item-preview img:hover {
  filter: grayscale(0);
  transform: scale(1.05);
  border-color: var(--accent-crimson);
}

/* --- FULL GALLERY (Responsive Grid) --- */
.gallery-full {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
  margin: 0 auto;
  max-width: 1200px;
}

.gallery-item {
  position: relative;
  overflow: hidden;
  border-radius: 6px;
  cursor: pointer;
  aspect-ratio: 1;
  border: 1px solid rgba(255, 255, 255, 0.08);
  transition: all 0.3s var(--ease-ios);
}

.gallery-item:hover {
  transform: translateY(-4px);
  border-color: var(--accent-crimson);
  box-shadow: 0 8px 24px rgba(177, 18, 26, 0.3);
}

.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s var(--ease-ios);
}

.gallery-item:hover img {
  transform: scale(1.1);
}

.micro-caption {
  font-size: 0.6rem;
  color: var(--gold-hint);
  text-transform: uppercase;
  letter-spacing: 0.2em;
  margin-bottom: 10px;
}

/* --- RESPONSIVE GALLERY --- */
@media (min-width: 375px) {
  .gallery-grid-preview {
    gap: 10px;
  }
}

@media (min-width: 480px) {
  .gallery-full {
    grid-template-columns: repeat(3, 1fr);
    gap: 14px;
  }
}

@media (min-width: 768px) {
  .gallery-full {
    grid-template-columns: repeat(4, 1fr);
    gap: 16px;
  }

  .g-item-preview img {
    height: 140px;
  }

  .container {
    max-width: 800px;
  }
}

@media (min-width: 1024px) {
  .gallery-full {
    grid-template-columns: repeat(5, 1fr);
    gap: 18px;
  }

  .container {
    max-width: 900px;
  }
}

/* --- INPUT HINT --- */
.input-hint {
  display: block;
  font-size: 0.7rem;
  color: var(--muted-ivory);
  opacity: 0.6;
  margin-top: 6px;
  font-style: italic;
}

/* --- CUPIDO MODAL SPECIFIC --- */
.modal-cupido-content {
  text-align: center;
}

.cupido-icon {
  font-size: 5rem;
  margin-bottom: 1.5rem;
  animation: float 3s ease-in-out infinite;
  text-align: center;
  display: flex;
  justify-content: center;
  align-items: center;
}

.cupido-heart-logo {
  width: 80px;
  height: auto;
  max-width: 100%;
  filter: drop-shadow(0 0 20px rgba(177, 18, 26, 0.6)) drop-shadow(0 4px 12px rgba(0, 0, 0, 0.4));
  animation: heartbeatPulse 2.5s ease-in-out infinite;
}

@media (max-width: 767px) {
  .cupido-heart-logo {
    width: 80px;
  }
}

/* Elegant heartbeat pulse animation with neon glow */
@keyframes heartbeatPulse {

  0%,
  100% {
    transform: scale(1);
    filter: drop-shadow(0 0 20px rgba(177, 18, 26, 0.6)) drop-shadow(0 4px 12px rgba(0, 0, 0, 0.4));
  }

  10% {
    transform: scale(1.08);
    filter: drop-shadow(0 0 30px rgba(177, 18, 26, 0.9)) drop-shadow(0 0 15px rgba(255, 0, 64, 0.6)) drop-shadow(0 4px 12px rgba(0, 0, 0, 0.4));
  }

  20% {
    transform: scale(1);
    filter: drop-shadow(0 0 20px rgba(177, 18, 26, 0.6)) drop-shadow(0 4px 12px rgba(0, 0, 0, 0.4));
  }

  30% {
    transform: scale(1.05);
    filter: drop-shadow(0 0 25px rgba(177, 18, 26, 0.75)) drop-shadow(0 0 12px rgba(255, 0, 64, 0.5)) drop-shadow(0 4px 12px rgba(0, 0, 0, 0.4));
  }

  40%,
  100% {
    transform: scale(1);
    filter: drop-shadow(0 0 20px rgba(177, 18, 26, 0.6)) drop-shadow(0 4px 12px rgba(0, 0, 0, 0.4));
  }
}

@keyframes cupidoBounce {

  0%,
  100% {
    transform: translateY(0) scale(1);
  }

  50% {
    transform: translateY(-10px) scale(1.1);
  }
}

/* --- MODAL NEON STYLE --- */
.modal {
  position: fixed;
  inset: 0;
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(0, 0, 0, 0.85);
  backdrop-filter: blur(8px);
  opacity: 1;
  transition: opacity 0.4s var(--ease-ios);
}

.modal.hidden {
  opacity: 0;
  pointer-events: none;
}

.modal-content-neon {
  width: 90%;
  max-width: 420px;
  text-align: center;
  position: relative;
  border: 2px solid var(--neon-red);
  box-shadow: 0 0 20px rgba(255, 0, 64, 0.5),
    0 0 40px rgba(255, 0, 64, 0.3),
    0 0 60px rgba(255, 0, 64, 0.2),
    inset 0 0 20px rgba(255, 0, 64, 0.1);
  animation: neonPulse 2s infinite alternate, fadeInUp 0.6s var(--ease-ios);
  background: rgba(11, 11, 11, 0.95);
  backdrop-filter: blur(20px);
  padding: var(--spacing-2xl) var(--spacing-lg);
}

.neon-title {
  color: var(--ivory);
  text-shadow: 0 0 10px rgba(255, 0, 64, 0.8),
    0 0 20px rgba(255, 0, 64, 0.6),
    0 0 30px rgba(255, 0, 64, 0.4);
  animation: textGlow 2s infinite alternate;
}

.modal-close-neon {
  position: absolute;
  top: 10px;
  right: 20px;
  background: none;
  border: none;
  color: var(--neon-red);
  font-size: 2.5rem;
  cursor: pointer;
  line-height: 1;
  transition: all 0.3s ease;
  text-shadow: 0 0 10px rgba(255, 0, 64, 0.8);
}

.modal-close-neon:hover {
  transform: scale(1.2) rotate(90deg);
  text-shadow: 0 0 20px rgba(255, 0, 64, 1);
}

.modal-actions {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-top: 20px;
}

@keyframes neonPulse {
  0% {
    box-shadow: 0 0 20px rgba(255, 0, 64, 0.5),
      0 0 40px rgba(255, 0, 64, 0.3),
      0 0 60px rgba(255, 0, 64, 0.2),
      inset 0 0 20px rgba(255, 0, 64, 0.1);
  }

  100% {
    box-shadow: 0 0 30px rgba(255, 0, 64, 0.7),
      0 0 50px rgba(255, 0, 64, 0.5),
      0 0 80px rgba(255, 0, 64, 0.3),
      inset 0 0 30px rgba(255, 0, 64, 0.15);
  }
}

@keyframes textGlow {
  0% {
    text-shadow: 0 0 10px rgba(255, 0, 64, 0.8),
      0 0 20px rgba(255, 0, 64, 0.6),
      0 0 30px rgba(255, 0, 64, 0.4);
  }

  100% {
    text-shadow: 0 0 15px rgba(255, 0, 64, 1),
      0 0 30px rgba(255, 0, 64, 0.8),
      0 0 45px rgba(255, 0, 64, 0.6);
  }
}

/* --- LIGHTBOX GALLERY --- */
.lightbox-overlay {
  position: fixed;
  inset: 0;
  z-index: 2000;
  background: rgba(0, 0, 0, 0.95);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 1;
  transition: opacity 0.3s ease;
}

.lightbox-overlay.hidden {
  opacity: 0;
  pointer-events: none;
}

.lightbox-content {
  position: relative;
  max-width: 90vw;
  max-height: 85vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.lightbox-content img {
  max-width: 100%;
  max-height: 80vh;
  object-fit: contain;
  border-radius: 8px;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.8);
}

.lightbox-caption {
  margin-top: 15px;
  color: var(--ivory);
  font-size: var(--text-sm);
  text-align: center;
}

.lightbox-close,
.lightbox-prev,
.lightbox-next {
  position: absolute;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.2);
  color: var(--ivory);
  font-size: 2rem;
  cursor: pointer;
  padding: 10px 15px;
  transition: all 0.3s ease;
  border-radius: 4px;
  backdrop-filter: blur(10px);
}

.lightbox-close:hover,
.lightbox-prev:hover,
.lightbox-next:hover {
  background: rgba(177, 18, 26, 0.8);
  border-color: var(--accent-crimson);
  transform: scale(1.1);
}

.lightbox-close {
  top: 20px;
  right: 20px;
  font-size: 2.5rem;
  padding: 5px 15px;
  line-height: 1;
}

.lightbox-prev {
  left: 20px;
  top: 50%;
  transform: translateY(-50%);
  font-size: 3rem;
  padding: 15px 20px;
  line-height: 1;
}

.lightbox-next {
  right: 20px;
  top: 50%;
  transform: translateY(-50%);
  font-size: 3rem;
  padding: 15px 20px;
  line-height: 1;
}

.lightbox-counter {
  position: absolute;
  bottom: 20px;
  left: 50%;
  transform: translateX(-50%);
  color: var(--ivory);
  font-size: var(--text-sm);
  background: rgba(0, 0, 0, 0.7);
  padding: 8px 16px;
  border-radius: 20px;
  backdrop-filter: blur(10px);
}

/* --- MOBILE OPTIMIZATIONS --- */
@media (max-width: 767px) {

  .lightbox-prev,
  .lightbox-next {
    font-size: 2rem;
    padding: 10px 15px;
  }

  .lightbox-prev {
    left: 10px;
  }

  .lightbox-next {
    right: 10px;
  }

  .lightbox-close {
    top: 10px;
    right: 10px;
    font-size: 2rem;
  }

  .lightbox-content {
    max-width: 95vw;
  }
}

/* =========================================
   TICKETS SYSTEM
   ========================================= */

/* --- TICKETS GRID --- */
.tickets-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--spacing-lg);
  margin-bottom: var(--spacing-2xl);
}

@media (min-width: 768px) {
  .tickets-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
  }
}

@media (min-width: 1024px) {
  .tickets-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
  }
}

/* --- TICKET CARD --- */
.ticket-card {
  position: relative;
  background: var(--glass-bg);
  border: var(--glass-border);
  border-radius: 8px;
  padding: var(--spacing-lg);
  backdrop-filter: var(--glass-blur);
  transition: all 0.3s var(--ease-ios);
  box-shadow:
    0 2px 8px rgba(177, 18, 26, 0.12),
    0 4px 12px rgba(0, 0, 0, 0.5),
    0 0 30px rgba(212, 175, 55, 0.15),
    inset 0 1px 0 rgba(255, 255, 255, 0.02);
}

.ticket-card:not(.sold-out):hover {
  border-color: var(--accent-crimson);
  transform: translateY(-4px);
  box-shadow: 0 8px 24px rgba(177, 18, 26, 0.3);
}

.ticket-card.sold-out,
.ticket-card[data-status="unavailable"] {
  position: relative;
  opacity: 0.65;
  pointer-events: none;
  filter: grayscale(30%);
}

/* Dark overlay background */
.ticket-card.sold-out::before,
.ticket-card[data-status="unavailable"]::before {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.65);
  border-radius: inherit;
  pointer-events: none;
  z-index: 50;
}

/* AGOTADO text overlay - DARK RED */
.ticket-card.sold-out::after,
.ticket-card[data-status="unavailable"]::after {
  content: 'AGOTADO';
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%) rotate(-18deg);
  font-size: 3.1rem;
  font-weight: 900;
  color: rgba(177, 18, 26, 0.85);
  text-shadow:
    2px 2px 8px rgba(0, 0, 0, 1),
    0 0 30px rgba(197, 18, 26, 0.7),
    0 0 50px rgba(177, 18, 26, 0.4);
  z-index: 100;
  pointer-events: none;
  letter-spacing: 0.6rem;
  text-transform: uppercase;
}

/* --- TICKET HEADER --- */
.ticket-header {
  margin-bottom: var(--spacing-md);
}

/* Ticket Title Styling */
.ticket-title {
  font-family: var(--font-display);
  font-size: 1.35rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  color: var(--ivory);
  margin-bottom: 8px;
  text-transform: uppercase;
  text-shadow: 0 0 15px rgba(212, 175, 55, 0.3);
}

.ticket-title.gold {
  color: var(--gold-hint);
  text-shadow: 0 0 30px rgba(212, 175, 55, 0.6);
}

/* Ticket Price (Simple Block Style) */
.ticket-price {
  font-size: 2rem !important;
  font-weight: 700;
  color: #D4AF37 !important;
  margin: 12px 0 !important;
  display: block !important;
  text-shadow: 0 0 20px rgba(212, 175, 55, 0.4);
}

/* Ticket Description */
.ticket-desc {
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.5);
  margin-bottom: 12px;
  line-height: 1.4;
}

.ticket-note {
  font-size: 0.85rem;
  color: var(--gold-hint);
  margin: 10px 0 0 0;
  font-style: italic;
}

.ticket-type {
  font-family: var(--font-display);
  font-size: var(--text-lg);
  font-weight: 700;
  letter-spacing: 0.1em;
  color: var(--ivory);
  margin-bottom: 4px;
}

.ticket-description {
  font-size: var(--text-sm);
  color: var(--muted-ivory);
  opacity: 0.8;
}

/* --- TICKET PRICE --- */
.ticket-price {
  display: flex;
  align-items: baseline;
  gap: 4px;
  margin: var(--spacing-md) 0;
}

.price-amount {
  font-size: var(--text-2xl);
  font-weight: 700;
  color: var(--gold-hint);
}

.price-currency {
  font-size: var(--text-base);
  color: var(--muted-ivory);
  opacity: 0.7;
}

/* --- TICKET AVAILABILITY --- */
.ticket-availability {
  font-size: var(--text-xs);
  color: var(--muted-ivory);
  opacity: 0.6;
  margin-bottom: var(--spacing-md);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

/* --- TICKET QUANTITY SELECTOR --- */
.ticket-quantity {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: var(--spacing-md);
  margin-top: var(--spacing-lg);
}

.qty-btn {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: rgba(177, 18, 26, 0.2);
  border: 1px solid var(--accent-crimson);
  color: var(--ivory);
  font-size: var(--text-xl);
  cursor: pointer;
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  justify-content: center;
  line-height: 1;
}

.qty-btn:hover:not(:disabled) {
  background: var(--accent-crimson);
  transform: scale(1.1);
}

/* VIP button hover - GOLD instead of red */
.ticket-vip .qty-btn:hover:not(:disabled) {
  background: linear-gradient(135deg, var(--gold-hint) 0%, #d4af37 100%);
  border-color: var(--gold-hint);
  color: var(--near-black);
  box-shadow: 0 0 20px rgba(201, 163, 90, 0.6);
}

.qty-btn:disabled {
  opacity: 0.3;
  cursor: not-allowed;
}

.qty-display {
  min-width: 40px;
  text-align: center;
  font-size: var(--text-xl);
  font-weight: 600;
  color: var(--ivory);
}

/* --- TICKET SUMMARY --- */
.ticket-summary {
  background: var(--glass-bg);
  border: 2px solid var(--accent-crimson);
  border-radius: 8px;
  padding: var(--spacing-lg);
  backdrop-filter: var(--glass-blur);
  margin-top: var(--spacing-2xl);
  box-shadow: 0 0 20px rgba(177, 18, 26, 0.3);
}

.summary-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: var(--spacing-sm) 0;
  font-size: var(--text-base);
  color: var(--muted-ivory);
}

.summary-row .item-name {
  font-size: var(--text-sm);
  color: var(--ivory);
}

.summary-row .item-qty {
  font-size: var(--text-xs);
  opacity: 0.7;
  margin-left: 8px;
}

.summary-divider {
  height: 1px;
  background: linear-gradient(to right,
      transparent,
      rgba(177, 18, 26, 0.5),
      transparent);
  margin: var(--spacing-md) 0;
}

.summary-total {
  font-size: var(--text-lg);
  font-weight: 700;
  color: var(--gold-hint);
  margin-top: var(--spacing-sm);
}

/* --- SUBHEADLINE --- */
.subheadline {
  font-size: var(--text-sm);
  letter-spacing: 0.2em;
  color: var(--gold-hint);
  text-transform: uppercase;
  font-weight: 300;
}

/* ==========================================
   CUSTOMER FORM
   ========================================== */

/* --- CUSTOMER FORM --- */
.customer-form {
  background: linear-gradient(135deg, rgba(11, 11, 11, 0.85) 0%, rgba(201, 163, 90, 0.03) 100%);
  border: 1px solid rgba(201, 163, 90, 0.3);
  border-radius: 20px;
  padding: var(--spacing-xl);
  backdrop-filter: blur(30px);
  margin-bottom: var(--spacing-lg);
  box-shadow:
    0 8px 32px rgba(201, 163, 90, 0.15),
    0 4px 16px rgba(0, 0, 0, 0.4),
    inset 0 1px 0 rgba(255, 255, 255, 0.05);
}

.customer-form h3 {
  font-size: 1.4rem;
  color: var(--gold-hint);
  margin-bottom: var(--spacing-sm);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.customer-form .form-subtitle {
  font-size: 1rem;
  color: var(--ivory);
  margin-bottom: var(--spacing-xl);
  opacity: 0.95;
  line-height: 1.5;
  font-weight: 500;
}

.form-group {
  margin-bottom: var(--spacing-lg);
}

.form-group label {
  display: block;
  font-size: 0.9rem;
  color: var(--gold-hint);
  margin-bottom: var(--spacing-sm);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.form-group input {
  width: 100%;
  padding: 14px 18px;
  font-size: 1rem;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(201, 163, 90, 0.2);
  border-radius: 12px;
  color: var(--ivory);
  font-family: var(--font-body);
  transition: all 0.3s ease;
  font-weight: 500;
}

.form-group input:focus {
  outline: none;
  border-color: var(--gold-hint);
  background: rgba(255, 255, 255, 0.12);
  box-shadow:
    0 0 0 4px rgba(201, 163, 90, 0.15),
    0 4px 12px rgba(201, 163, 90, 0.2);
  transform: translateY(-1px);
}

.form-group input::placeholder {
  color: var(--muted-ivory);
  opacity: 0.6;
  font-style: italic;
}


/* ==========================================
   MOBILE OPTIMIZATIONS - Instagram & Social
   ========================================== */

@media (max-width: 767px) {

  /* Optimize ticket grid for mobile */
  .tickets-grid {
    gap: 16px;
    padding: 0 12px;
  }

  /* Compact ticket cards */
  .ticket-card {
    padding: 1.25rem;
    border-radius: 10px;
  }

  /* Adjust title size for mobile */
  .ticket-title {
    font-size: 1.15rem;
    margin-bottom: 6px;
  }

  /* Optimize price visibility */
  .ticket-price {
    font-size: 1.75rem !important;
    margin: 10px 0 !important;
  }

  /* Compact description */
  .ticket-desc {
    font-size: 0.8rem;
    margin-bottom: 10px;
  }

  /* Optimize buttons for touch */
  .qty-btn {
    width: 44px !important;
    height: 44px !important;
    min-width: 44px;
    min-height: 44px;
    font-size: 1.2rem !important;
  }

  .qty-display {
    font-size: 1.5rem !important;
    min-width: 48px;
  }

  /* AGOTADO smaller on mobile */
  .ticket-card.sold-out::after,
  .ticket-card[data-status="unavailable"]::after {
    font-size: 3.4rem;
    letter-spacing: 0.5rem;
  }

  /* Optimize customer form for mobile */
  .customer-form {
    padding: 1.5rem;
    border-radius: 16px;
  }

  .customer-form h3 {
    font-size: 1.2rem;
  }

  .form-group input {
    padding: 12px 16px;
    font-size: 16px;
    /* Prevent zoom on iOS */
  }

  /* Optimize summary for mobile */
  .ticket-summary {
    padding: 1rem;
  }

  .summary-row {
    padding: 0.5rem 0;
    font-size: 0.9rem;
  }
}

/* Extra small devices (Instagram in-app browser) */
@media (max-width: 374px) {
  .ticket-card {
    padding: 1rem;
  }

  .ticket-title {
    font-size: 1rem;
  }

  .ticket-price {
    font-size: 1.5rem !important;
  }

  .qty-btn {
    width: 40px !important;
    height: 40px !important;
  }
}

/* ==========================================
   TICKETS LAUNCH POPUP
   ========================================== */

.popup-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.85);
  backdrop-filter: blur(10px);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 9999;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.popup-overlay:not(.hidden) {
  opacity: 1;
}

.popup-content {
  background: linear-gradient(135deg, rgba(11, 11, 11, 0.95) 0%, rgba(201, 163, 90, 0.05) 100%);
  border: 2px solid var(--gold-hint);
  border-radius: 20px;
  padding: 2.5rem;
  max-width: 500px;
  width: 90%;
  text-align: center;
  box-shadow:
    0 0 60px rgba(212, 175, 55, 0.4),
    0 20px 60px rgba(0, 0, 0, 0.6);
  transform: scale(0.9);
  transition: transform 0.3s ease;
}

.popup-overlay:not(.hidden) .popup-content {
  transform: scale(1);
}

.popup-icon {
  font-size: 4rem;
  margin-bottom: 1rem;
  animation: pulse 2s infinite;
}

@keyframes pulse {

  0%,
  100% {
    transform: scale(1);
  }

  50% {
    transform: scale(1.1);
  }
}

.popup-title {
  font-size: 2rem;
  color: var(--gold-hint);
  margin-bottom: 1rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  text-shadow: 0 0 30px rgba(212, 175, 55, 0.6);
}

.popup-text {
  font-size: 1.1rem;
  color: var(--ivory);
  margin-bottom: 1.5rem;
  line-height: 1.6;
}

.popup-warning {
  background: rgba(177, 18, 26, 0.15);
  border: 1px solid rgba(177, 18, 26, 0.4);
  border-radius: 12px;
  padding: 1rem;
  margin-bottom: 2rem;
}

.popup-warning strong {
  color: var(--accent-crimson);
  font-size: 1.1rem;
}

.popup-btn {
  background: linear-gradient(135deg, var(--accent-crimson) 0%, #8B0000 100%);
  color: white;
  border: 2px solid var(--gold-hint);
  border-radius: 50px;
  padding: 1rem 2rem;
  font-size: 1.1rem;
  font-weight: 700;
  text-transform: uppercase;
  cursor: pointer;
  transition: all 0.3s ease;
  box-shadow: 0 0 30px rgba(212, 175, 55, 0.4);
  width: 100%;
  max-width: 400px;
}

.popup-btn:hover {
  transform: scale(1.05);
  box-shadow: 0 0 50px rgba(212, 175, 55, 0.7);
}

.popup-timer {
  margin-top: 1.5rem;
  font-size: 0.9rem;
  color: var(--muted-ivory);
  opacity: 0.7;
}

/* Mobile optimization */
@media (max-width: 767px) {
  .popup-content {
    padding: 2rem 1.5rem;
  }

  .popup-title {
    font-size: 1.5rem;
  }

  .popup-text {
    font-size: 1rem;
  }

  .popup-btn {
    font-size: 1rem;
    padding: 0.9rem 1.5rem;
  }
}


/* ==========================================
   MOBILE PADDING & SAFE AREA
   ========================================== */

/* Safe area insets for iOS notch/dynamic island */
body {
  padding-top: env(safe-area-inset-top);
  padding-bottom: env(safe-area-inset-bottom);
}

/* Optimize container padding for mobile */
@media (max-width: 767px) {
  .container {
    padding-left: max(16px, env(safe-area-inset-left));
    padding-right: max(16px, env(safe-area-inset-right));
  }

  .glass-panel {
    padding: 1.5rem 1.25rem;
  }

  /* Ensure all buttons meet touch target minimums */
  .btn,
  button,
  a.btn {
    min-height: 48px;
    padding: 12px 24px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
  }

  .qty-btn {
    min-width: 44px !important;
    min-height: 44px !important;
  }
}


/* ==========================================
   UNIQUE GOLD BUTTON - COMPRAR BOLETOS
   ========================================== */

.btn-tickets-gold {
  background: linear-gradient(135deg,
      rgba(201, 163, 90, 0.15) 0%,
      rgba(212, 175, 55, 0.25) 100%);
  border: 2px solid var(--gold-hint);
  color: var(--gold-hint);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  padding: 14px 28px;
  border-radius: 50px;
  cursor: pointer;
  box-shadow:
    0 0 30px rgba(212, 175, 55, 0.4),
    0 4px 16px rgba(0, 0, 0, 0.3),
    inset 0 1px 0 rgba(255, 255, 255, 0.1);
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}

.btn-tickets-gold::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg,
      transparent,
      rgba(212, 175, 55, 0.3),
      transparent);
  transition: left 0.6s ease;
}

.btn-tickets-gold:hover {
  transform: translateY(-2px) scale(1.02);
  box-shadow:
    0 0 60px rgba(212, 175, 55, 0.7),
    0 8px 24px rgba(0, 0, 0, 0.4),
    inset 0 1px 0 rgba(255, 255, 255, 0.2);
  border-color: #d4af37;
  background: linear-gradient(135deg,
      rgba(201, 163, 90, 0.25) 0%,
      rgba(212, 175, 55, 0.35) 100%);
}

.btn-tickets-gold:hover::before {
  left: 100%;
}


/* ==========================================
   MOBILE BUTTON SPACING FIX
   ========================================== */

.cta-section {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
}

@media (max-width: 767px) {
  .cta-section {
    gap: 20px;
    padding: 0 20px;
  }

  .cta-section .btn,
  .cta-section button {
    width: 100%;
    max-width: 320px;
  }
}


/* ==========================================
   MOBILE VIEW OPTIMIZATION
   ========================================== */

@media (max-width: 767px) {
  .view .container {
    padding-top: 60px;
    padding-bottom: 60px;
  }

  .headline {
    margin-bottom: 20px;
    font-size: 2rem;
    line-height: 1.2;
  }

  .glass-panel {
    margin-bottom: 20px;
    padding: 1.5rem 1.25rem;
  }

  .form-group {
    margin-bottom: 20px;
  }

  .choice-grid {
    gap: 12px;
  }

  .choice-label {
    padding: 14px 18px;
  }

  .btn {
    margin-top: 24px;
  }

  /* Selected state visual feedback */
  .mood-option.selected,
  .mask-label.selected {
    background: rgba(201, 163, 90, 0.15);
    border-color: var(--gold-hint);
    box-shadow: 0 0 20px rgba(212, 175, 55, 0.3);
  }
}

/* ==========================================
   FIX HORIZONTAL SCROLL - MOBILE
   ========================================== */

/* Prevent horizontal overflow on all devices */
html {
  overflow-x: hidden;
  max-width: 100%;
}

body {
  overflow-x: hidden;
  max-width: 100%;
  position: relative;
}

/* Ensure containers don't overflow */
.container,
.view,
.modal,
.glass-panel {
  max-width: 100%;
  overflow-x: hidden;
}

/* Fix any elements that might cause horizontal scroll */
* {
  max-width: 100%;
}

img {
  max-width: 100%;
  height: auto;
}

/* Mobile-specific fixes */
@media (max-width: 767px) {

  /* Prevent all horizontal scroll sources */
  html,
  body {
    overflow-x: hidden !important;
    width: 100% !important;
    max-width: 100vw !important;
  }

  .container {
    width: 100% !important;
    max-width: 100% !important;
    padding-left: 16px !important;
    padding-right: 16px !important;
    box-sizing: border-box !important;
  }

  /* Fix modals */
  .modal-content-neon,
  .glass-panel {
    max-width: calc(100vw - 32px) !important;
    margin: 0 auto !important;
  }

  /* Fix text overflow */
  .headline,
  .subheadline,
  .body-text {
    word-wrap: break-word;
    overflow-wrap: break-word;
  }
}