/* ==========================================================================
   LAYOUT & RESPONSIVE GRID - VEXI EDITORIAL SPLIT VIEW WITH VERTICAL POSTER
   ========================================================================== */

.site-container {
  width: 100%;
  max-width: var(--container-max-width);
  margin-left: auto;
  margin-right: auto;
  padding-left: var(--container-padding);
  padding-right: var(--container-padding);
}

/* Site Header (Transparent with subtle bottom divider -> High Glassmorphism Blur on Scroll) */
.site-header {
  position: sticky;
  top: 0;
  left: 0;
  right: 0;
  height: var(--header-height);
  background-color: transparent;
  backdrop-filter: blur(0px);
  -webkit-backdrop-filter: blur(0px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  z-index: 100;
  display: flex;
  align-items: center;
  transition: background-color 0.3s cubic-bezier(0.4, 0, 0.2, 1),
              backdrop-filter 0.3s cubic-bezier(0.4, 0, 0.2, 1),
              -webkit-backdrop-filter 0.3s cubic-bezier(0.4, 0, 0.2, 1),
              border-color 0.3s cubic-bezier(0.4, 0, 0.2, 1),
              box-shadow 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.site-header.scrolled {
  background-color: rgba(10, 10, 10, 0.5);
  backdrop-filter: blur(15px) saturate(190%);
  -webkit-backdrop-filter: blur(28px) saturate(190%);
  border-bottom-color: rgba(255, 255, 255, 0.14);
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.45);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
}

.brand-logo {
  display: flex;
  align-items: center;
  transition: opacity var(--transition-fast);
}

.brand-logo:hover {
  opacity: 0.85;
}

.brand-logo-img {
  height: 38px;
  width: auto;
  max-width: 140px;
  object-fit: contain;
  display: block;
}

.header-right {
  display: flex;
  align-items: center;
}

.header-auth-btn {
  font-size: 0.9rem;
  font-weight: 700;
  padding: 10px 22px;
  border-radius: var(--radius-full);
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid var(--border-line);
  color: #ffffff;
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  transition: background-color var(--transition-fast), border-color var(--transition-fast), opacity var(--transition-fast);
  white-space: nowrap;
}

.header-auth-btn:hover {
  background: rgba(255, 255, 255, 0.16);
  border-color: rgba(255, 255, 255, 0.35);
  transform: none;
}

/* Main Event Layout: Left Column (Vertical Poster Sticky) + Right Column (Info) */
.main-content {
  flex: 1;
  position: relative;
  z-index: 1;
  padding-top: 36px;
  padding-bottom: 80px;
}

.event-page-layout,
.event-event-layout {
  display: grid;
  grid-template-columns: 380px 1fr;
  gap: 52px;
  align-items: start;
  position: relative;
}

/* Left Column: Vertical Poster Image & Sticky Action Box */
.event-media-col {
  position: sticky;
  top: calc(var(--header-height) + 24px);
  display: flex;
  flex-direction: column;
  gap: 20px;
}

/* Right Column: Details, Date, Title, Lineup, FAQs */
.event-info-col {
  display: flex;
  flex-direction: column;
  gap: 36px;
  min-width: 0;
}

/* Mobile Sticky Bottom Bar */
.mobile-sticky-bar {
  display: none;
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  height: var(--sticky-bottom-bar-height);
  background-color: var(--bg-surface-glass-heavy);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-top: 1px solid var(--border-card);
  padding: 12px 20px;
  z-index: 90;
  box-shadow: 0 -8px 24px rgba(0, 0, 0, 0.8);
}

.mobile-sticky-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  height: 100%;
}

.mobile-sticky-price-info {
  display: flex;
  flex-direction: column;
}

.mobile-sticky-label {
  font-size: 0.75rem;
  color: var(--text-muted);
  text-transform: uppercase;
  font-weight: 700;
  letter-spacing: 0.05em;
}

.mobile-sticky-price {
  font-size: 1.35rem;
  font-family: var(--font-display);
  font-weight: 800;
  color: #ffffff;
  letter-spacing: 0.02em;
}

.mobile-sticky-price span {
  font-size: 0.75rem;
  font-family: var(--font-sans);
  font-weight: 500;
  color: var(--text-muted);
}

/* Site Footer (2-Column Minimal Layout) */
.site-footer {
  background-color: rgba(8, 8, 8, 0.45);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-top: 1px solid var(--border-subtle);
  padding: 56px 0 32px;
  margin-top: auto;
  position: relative;
  z-index: 10;
}

.footer-grid {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 48px;
  margin-bottom: 28px;
  flex-wrap: wrap;
}

.footer-brand {
  display: flex;
  flex-direction: column;
  gap: 12px;
  max-width: 420px;
}

.footer-brand-desc {
  font-size: 0.95rem;
  color: var(--text-muted);
  line-height: 1.5;
}

.footer-contact-col {
  display: flex;
  align-items: center;
  gap: 24px;
  flex-wrap: wrap;
}

.footer-contact-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.95rem;
  color: var(--text-muted);
  transition: color var(--transition-fast);
  white-space: nowrap;
}

.footer-contact-link svg {
  color: #ffffff;
  flex-shrink: 0;
}

.footer-contact-link:hover {
  color: #ffffff;
}

.footer-socials {
  display: flex;
  align-items: center;
  gap: 6px;
}

.footer-bottom {
  padding-top: 8px;
  border-top: 1px solid var(--border-subtle);
  display: flex;
  align-items: center;
  justify-content: space-between;
  color: var(--text-dim);
  font-size: 0.85rem;
}

.footer-bottom a {
  color: #ffffff;
  font-weight: 600;
  transition: color var(--transition-fast);
}

.footer-bottom a:hover {
  color: var(--primary);
  text-decoration: underline;
}

/* Mobile Drawer Overlay & Menu */
.mobile-drawer {
  position: fixed;
  top: var(--header-height);
  left: 0;
  right: 0;
  bottom: 0;
  background: var(--bg-surface-glass-heavy);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  z-index: 99;
  padding: 24px var(--container-padding);
  display: flex;
  flex-direction: column;
  gap: 24px;
  transform: translateY(-100%);
  opacity: 0;
  visibility: hidden;
  transition: transform var(--transition-normal), opacity var(--transition-normal), visibility var(--transition-normal);
}

.mobile-drawer.active {
  transform: translateY(0);
  opacity: 1;
  visibility: visible;
}

.mobile-drawer-links {
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.mobile-drawer-link {
  font-family: var(--font-display);
  font-size: 1.6rem;
  font-weight: 800;
  color: #ffffff;
  padding: 8px 0;
  border-bottom: 1px solid var(--border-subtle);
  text-transform: uppercase;
}

.mobile-drawer-link:hover {
  color: var(--primary);
}

/* ==========================================================================
   RESPONSIVE BREAKPOINTS (Desktop 1440px/1280px, Mobile 390px/375px)
   ========================================================================== */

@media (max-width: 1080px) {
  .event-page-layout,
.event-event-layout {
    grid-template-columns: 330px 1fr;
    gap: 32px;
  }
}

@media (max-width: 860px) {
  :root {
    --container-padding: 16px;
    --header-height: 64px;
  }

  .hide-mobile {
    display: none !important;
  }

  .mobile-menu-btn {
    display: flex;
    align-items: center;
    justify-content: center;
  }

  .main-content {
    padding-top: 16px;
    padding-bottom: 32px;
  }

  .event-page-layout,
.event-event-layout {
    display: flex;
    flex-direction: column;
    gap: 24px;
  }

  .event-media-col {
    position: static;
    width: 100%;
    order: -1; /* Place poster at top on mobile */
  }

  .mobile-sticky-bar {
    display: block;
    padding-bottom: max(12px, env(safe-area-inset-bottom));
    height: calc(var(--sticky-bottom-bar-height) + env(safe-area-inset-bottom, 0px));
  }

  .site-footer {
    padding-top: 48px;
    padding-bottom: calc(var(--sticky-bottom-bar-height) + 28px + env(safe-area-inset-bottom, 0px));
  }

  .footer-grid {
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 28px;
  }

  .footer-brand {
    align-items: center;
    text-align: center;
  }

  .footer-brand .brand-logo {
    display: flex;
    justify-content: center;
  }

  .footer-contact-col {
    justify-content: center;
    align-items: center;
    gap: 20px;
    flex-wrap: wrap;
    width: 100%;
  }

  .footer-bottom {
    flex-direction: column;
    gap: 6px;
    text-align: center;
    align-items: center;
  }
}
