@import url('https://fonts.googleapis.com/css2?family=DM+Serif+Display:ital@0;1&family=Space+Grotesk:wght@300;400;500;600;700&family=Space+Mono:wght@400;700&display=swap');

/* --- CUSTOM THEME VARIABLES --- */
:root {
  --color-orange: #ff6b00;
  --color-pink: #d6006e;
  --color-ruby: #9e0031;
  --color-dark: #070709;
  --color-darker: #020203;
  --color-light: #f4f4f6;
  --color-muted: rgba(244, 244, 246, 0.6);
  
  --font-serif: 'DM Serif Display', serif;
  --font-sans: 'Space Grotesk', sans-serif;
  --font-mono: 'Space Mono', monospace;
  
  --glow-orange: 0 0 15px rgba(255, 107, 0, 0.6), 0 0 30px rgba(255, 107, 0, 0.3);
  --glow-pink: 0 0 15px rgba(214, 0, 110, 0.6), 0 0 30px rgba(214, 0, 110, 0.3);
  --glow-ruby: 0 0 15px rgba(158, 0, 49, 0.6), 0 0 30px rgba(158, 0, 49, 0.3);
}

/* --- BASE STYLES --- */
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
  scroll-behavior: smooth;
}

body {
  background-color: var(--color-dark);
  color: var(--color-light);
  font-family: var(--font-sans);
  overflow-x: hidden;
  line-height: 1.6;
}

/* --- CUSTOM SEAMLESS SCROLLBAR --- */
::-webkit-scrollbar {
  width: 8px;
}
::-webkit-scrollbar-track {
  background: var(--color-darker);
}
::-webkit-scrollbar-thumb {
  background: linear-gradient(to bottom, var(--color-orange), var(--color-pink));
  border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover {
  background: var(--color-orange);
  box-shadow: var(--glow-orange);
}

/* --- FONTS & HEADINGS --- */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-serif);
  font-weight: 400;
  letter-spacing: -0.02em;
}

.font-mono {
  font-family: var(--font-mono);
}

.text-gradient {
  background: linear-gradient(135deg, var(--color-orange), var(--color-pink) 50%, var(--color-ruby));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* --- DECORATIVE FILM RIBBONS --- */
.film-strip-ribbon {
  height: 32px;
  background-color: #0d0d11;
  background-image: 
    radial-gradient(circle, var(--color-dark) 4px, transparent 5px),
    radial-gradient(circle, var(--color-dark) 4px, transparent 5px);
  background-size: 24px 32px;
  background-position: 0 4px, 12px 20px;
  border-top: 1px solid rgba(255, 107, 0, 0.2);
  border-bottom: 1px solid rgba(214, 0, 110, 0.2);
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: space-around;
  color: rgba(244, 244, 246, 0.15);
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  z-index: 10;
}

.film-strip-ribbon::after {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  background: linear-gradient(90deg, var(--color-dark) 0%, transparent 20%, transparent 80%, var(--color-dark) 100%);
  pointer-events: none;
}

.film-strip-sprocket {
  position: absolute;
  width: 100%;
  height: 4px;
  background-image: repeating-linear-gradient(90deg, #fff 0, #fff 6px, transparent 6px, transparent 16px);
  opacity: 0.08;
}
.sprocket-top { top: 3px; }
.sprocket-bottom { bottom: 3px; }

/* --- NEO-CLASSIC DIGITAL COLUMNS --- */
.column-decor {
  position: absolute;
  top: 0;
  bottom: 0;
  width: 2px;
  background: linear-gradient(to bottom, transparent, var(--color-orange), var(--color-pink), transparent);
  opacity: 0.25;
}

.column-decor-left { left: 4%; }
.column-decor-right { right: 4%; }

.neon-pillar {
  width: 45px;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  opacity: 0.2;
  transition: opacity 0.5s ease, filter 0.5s ease;
}
.neon-pillar:hover {
  opacity: 0.6;
  filter: drop-shadow(0 0 8px var(--color-orange));
}

.pillar-capital {
  height: 10px;
  background: linear-gradient(90deg, var(--color-orange), var(--color-pink));
  border-radius: 4px 4px 0 0;
}
.pillar-shaft {
  flex-grow: 1;
  background: repeating-linear-gradient(90deg, transparent, transparent 8px, rgba(255, 107, 0, 0.4) 8px, rgba(255, 107, 0, 0.4) 10px);
  margin: 2px 8px;
}
.pillar-base {
  height: 12px;
  background: linear-gradient(90deg, var(--color-pink), var(--color-ruby));
  border-radius: 0 0 4px 4px;
}

/* --- GLASSMORPHISM & MARQUEE BORDERS --- */
.glass-panel {
  background: rgba(13, 13, 18, 0.45);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid rgba(244, 244, 246, 0.06);
  border-radius: 24px;
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1), border-color 0.4s ease, box-shadow 0.4s ease;
}

.glass-panel:hover {
  border-color: rgba(255, 107, 0, 0.2);
  box-shadow: 0 10px 40px -10px rgba(0, 0, 0, 0.8), 0 0 20px rgba(255, 107, 0, 0.05);
}

.glow-orange-hover:hover {
  box-shadow: var(--glow-orange);
  border-color: var(--color-orange);
}

.glow-pink-hover:hover {
  box-shadow: var(--glow-pink);
  border-color: var(--color-pink);
}

/* --- ELECTRIC INTERACTIVE BUTTONS --- */
.btn-electric {
  position: relative;
  background: linear-gradient(90deg, var(--color-orange), var(--color-pink));
  color: #fff;
  font-family: var(--font-sans);
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  border: none;
  cursor: pointer;
  overflow: hidden;
  transition: all 0.3s ease;
  z-index: 1;
}

.btn-electric::before {
  content: '';
  position: absolute;
  top: 0; left: 0; width: 100%; height: 100%;
  background: linear-gradient(90deg, var(--color-pink), var(--color-orange));
  opacity: 0;
  transition: opacity 0.3s ease;
  z-index: -1;
}

.btn-electric:hover {
  box-shadow: var(--glow-orange);
  transform: translateY(-2px);
}

.btn-electric:hover::before {
  opacity: 1;
}

.btn-electric-outline {
  background: transparent;
  color: #fff;
  border: 1.5px solid rgba(244, 244, 246, 0.2);
  font-family: var(--font-sans);
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  cursor: pointer;
  transition: all 0.3s ease;
}

.btn-electric-outline:hover {
  border-color: var(--color-orange);
  box-shadow: var(--glow-orange);
  text-shadow: 0 0 5px rgba(255, 255, 255, 0.5);
  transform: translateY(-2px);
}

/* --- NATIVE DIALOG MODAL ANIMATIONS --- */
dialog.booking-modal {
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%) scale(0.9);
  width: 90%;
  max-width: 680px;
  background: var(--color-dark);
  border: 1px solid rgba(255, 107, 0, 0.25);
  box-shadow: 0 25px 70px -10px rgba(0, 0, 0, 0.95), 0 0 40px rgba(255, 107, 0, 0.15);
  border-radius: 28px;
  padding: 32px;
  color: var(--color-light);
  outline: none;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.4s cubic-bezier(0.16, 1, 0.3, 1), transform 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  z-index: 100;
  overflow-y: auto;
  max-height: 90vh;
}

dialog.booking-modal[open] {
  opacity: 1;
  transform: translate(-50%, -50%) scale(1);
  pointer-events: auto;
}

dialog.booking-modal::backdrop {
  background: rgba(3, 3, 5, 0.85);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  opacity: 0;
  transition: opacity 0.4s ease;
}

dialog.booking-modal[open]::backdrop {
  opacity: 1;
}

/* Close button micro-interaction */
.modal-close-btn {
  background: rgba(244, 244, 246, 0.05);
  border: 1px solid rgba(244, 244, 246, 0.1);
  color: var(--color-light);
  border-radius: 50%;
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.3s ease;
}
.modal-close-btn:hover {
  background: var(--color-orange);
  border-color: var(--color-orange);
  box-shadow: var(--glow-orange);
  transform: rotate(90deg);
}

/* --- THEATER SEAT SELECTION LAYOUT --- */
.seat-map-container {
  background: rgba(2, 2, 3, 0.5);
  border: 1px solid rgba(254, 254, 254, 0.04);
  border-radius: 20px;
  padding: 24px;
}

.theater-screen-glow {
  height: 6px;
  width: 70%;
  margin: 0 auto 36px;
  background: linear-gradient(90deg, var(--color-orange), var(--color-pink));
  border-radius: 10px;
  box-shadow: 0 4px 20px rgba(255, 107, 0, 0.8);
  position: relative;
}

.theater-screen-glow::before {
  content: 'STAGE / SCREEN';
  position: absolute;
  top: 12px; left: 50%;
  transform: translateX(-50%);
  font-family: var(--font-mono);
  font-size: 9px;
  letter-spacing: 0.4em;
  opacity: 0.4;
  white-space: nowrap;
}

.seats-grid {
  display: grid;
  grid-template-columns: repeat(8, minmax(28px, 1fr));
  gap: 10px;
  justify-content: center;
  max-width: 320px;
  margin: 0 auto;
}

.seat {
  height: 28px;
  background-color: transparent;
  border: 1.5px solid rgba(244, 244, 246, 0.3);
  border-radius: 6px;
  cursor: pointer;
  transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-mono);
  font-size: 8px;
  color: transparent;
}

.seat:hover:not(.reserved) {
  border-color: var(--color-orange);
  background-color: rgba(255, 107, 0, 0.15);
  box-shadow: 0 0 10px rgba(255, 107, 0, 0.4);
  color: var(--color-orange);
}

.seat.selected {
  background: linear-gradient(135deg, var(--color-orange), var(--color-pink));
  border-color: transparent;
  box-shadow: var(--glow-orange);
  color: #fff;
  transform: scale(1.1);
}

.seat.reserved {
  background-color: rgba(244, 244, 246, 0.08);
  border-color: rgba(244, 244, 246, 0.08);
  cursor: not-allowed;
}

/* Seat Map Legend */
.seat-legend {
  display: flex;
  justify-content: center;
  gap: 20px;
  font-family: var(--font-mono);
  font-size: 11px;
}

.legend-item {
  display: flex;
  align-items: center;
  gap: 6px;
  color: var(--color-muted);
}

.legend-square {
  width: 14px;
  height: 14px;
  border-radius: 3px;
}

.legend-square.available {
  border: 1.5px solid rgba(244, 244, 246, 0.4);
}
.legend-square.selected {
  background: linear-gradient(135deg, var(--color-orange), var(--color-pink));
}
.legend-square.reserved {
  background-color: rgba(244, 244, 246, 0.08);
}

/* --- NOISE GRAIN EFFECT --- */
.grain-overlay {
  position: fixed;
  top: 0; left: 0; width: 100%; height: 100%;
  pointer-events: none;
  z-index: 9999;
  opacity: 0.04;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noiseFilter'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.75' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noiseFilter)'/%3E%3C/svg%3E");
}

/* --- ANIMATION HELPERS --- */
@keyframes pulseGlow {
  0%, 100% { opacity: 0.3; }
  50% { opacity: 0.6; }
}

.pulse-neon-orange {
  animation: pulseGlow 3s infinite ease-in-out;
  color: var(--color-orange);
  text-shadow: var(--glow-orange);
}

.pulse-neon-pink {
  animation: pulseGlow 3.5s infinite ease-in-out;
  color: var(--color-pink);
  text-shadow: var(--glow-pink);
}

/* --- SPLIT HERO SECTION --- */
.hero-split-wrapper {
  position: relative;
  width: 100%;
  height: 100vh;
  overflow: hidden;
  background: var(--color-dark);
}

.hero-split-classic {
  position: absolute;
  top: 0; left: 0; width: 100%; height: 100%;
  background: linear-gradient(to right, rgba(7, 7, 9, 0.95) 30%, rgba(7, 7, 9, 0.4) 100%), url('./assets/hero_bg.png') no-repeat center center;
  background-size: cover;
  z-index: 1;
}

.hero-split-generative {
  position: absolute;
  top: 0; left: 0; width: 100%; height: 100%;
  background: linear-gradient(to left, rgba(7, 7, 9, 0.95) 30%, rgba(7, 7, 9, 0.5) 100%), url('./assets/experience_bg.png') no-repeat center center;
  background-size: cover;
  clip-path: polygon(55% 0, 100% 0, 100% 100%, 43% 100%);
  z-index: 2;
  transition: clip-path 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

.hero-split-generative::before {
  content: '';
  position: absolute;
  top: 0; bottom: 0;
  left: 0;
  width: 2px;
  background: linear-gradient(to bottom, transparent, var(--color-pink), var(--color-ruby), transparent);
  box-shadow: 0 0 20px var(--color-pink);
}

.hero-split-wrapper:hover .hero-split-generative {
  clip-path: polygon(52% 0, 100% 0, 100% 100%, 40% 100%);
}

/* --- PERSONA TRACK CARDS --- */
.persona-track-card {
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(244, 244, 246, 0.05);
  background: rgba(13, 13, 18, 0.4);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-radius: 24px;
  padding: 40px;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  transition: all 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}

.persona-track-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  border-radius: 24px;
  padding: 1px;
  background: linear-gradient(135deg, transparent, rgba(255, 107, 0, 0.1), transparent);
  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  pointer-events: none;
  transition: all 0.5s ease;
}

.persona-track-card:hover {
  transform: translateY(-8px);
  background: rgba(18, 18, 24, 0.65);
  border-color: rgba(255, 107, 0, 0.25);
  box-shadow: 0 20px 40px -15px rgba(0, 0, 0, 0.8), 0 0 20px rgba(255, 107, 0, 0.05);
}

.persona-track-card.track-pink:hover {
  border-color: rgba(214, 0, 110, 0.25);
  box-shadow: 0 20px 40px -15px rgba(0, 0, 0, 0.8), 0 0 20px rgba(214, 0, 110, 0.05);
}

.persona-track-card.track-ruby:hover {
  border-color: rgba(158, 0, 49, 0.25);
  box-shadow: 0 20px 40px -15px rgba(0, 0, 0, 0.8), 0 0 20px rgba(158, 0, 49, 0.05);
}

/* --- PREMIUM FORM INPUTS --- */
.form-input-premium {
  width: 100%;
  background: rgba(12, 12, 17, 0.7);
  border: 1px solid rgba(244, 244, 246, 0.1);
  border-radius: 12px;
  padding: 14px 20px;
  color: var(--color-light);
  font-family: var(--font-mono);
  font-size: 13px;
  outline: none;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.form-input-premium:focus {
  border-color: var(--color-orange);
  background: rgba(12, 12, 17, 0.95);
  box-shadow: 0 0 10px rgba(255, 107, 0, 0.15);
}

.form-input-premium:user-invalid {
  border-color: var(--color-pink);
  box-shadow: 0 0 10px rgba(214, 0, 110, 0.15);
}

.form-input-premium:valid:not(:placeholder-shown) {
  border-color: #10b981; /* emerald-500 */
  box-shadow: 0 0 10px rgba(16, 185, 129, 0.15);
}

/* --- RESPONSIVE FIXES --- */
@media (max-width: 768px) {
  .column-decor {
    display: none;
  }
  .hero-split-generative {
    clip-path: none;
    opacity: 0.45;
    background-position: center right;
  }
}

/* --- LOGO BLENDING & SIZING --- */
.logo-blend {
  filter: invert(1) hue-rotate(180deg);
  mix-blend-mode: screen;
}

.logo-size-nav {
  height: 120px; /* 300% of 40px */
}

@media (min-width: 768px) {
  .logo-size-nav {
    height: 144px; /* 300% of 48px */
  }
}

.logo-size-footer {
  height: 144px; /* 300% of 48px */
}
