/* ================================================
   BANGPOT — Venue Page Styles
   ================================================ */

.venue-page-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: var(--color-dark);
  padding: var(--space-4);
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.back-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: var(--radius-full);
  color: var(--color-white);
  background: rgba(255, 255, 255, 0.08);
  transition: background 0.2s ease;
  flex-shrink: 0;
}

.back-btn:hover {
  background: rgba(255, 255, 255, 0.15);
}
.venue-header-logo {
  display: flex;
  align-items: center;
}
.venue-header-icon {
  height: 28px;
  width: auto;
}

/* ================================================
   LOADING
   ================================================ */
.venue-loading {
  padding-bottom: var(--nav-height);
}
.venue-hero-skeleton {
  width: 100%;
  height: 220px;
  border-radius: 0;
}
.venue-loading-body {
  padding: var(--space-6) var(--space-4);
  display: flex;
  flex-direction: column;
  gap: var(--space-3);
}
.skeleton-line {
  height: 16px;
  border-radius: var(--radius-sm);
}
.skeleton-line-wide {
  width: 80%;
}
.skeleton-line-mid {
  width: 55%;
}
.skeleton-line-short {
  width: 35%;
}

/* ================================================
   CAROUSEL
   ================================================ */
.venue-carousel {
  position: relative;
  width: 100%;
  height: 220px;
  overflow: hidden;
  background: var(--color-dark);
}

.venue-carousel-track {
  display: flex;
  height: 100%;
  transition: transform 0.35s cubic-bezier(0.4, 0, 0.2, 1);
  will-change: transform;
}

.carousel-slide {
  flex: 0 0 100%;
  width: 100%;
  height: 100%;
  overflow: hidden;
}

.carousel-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.venue-hero-placeholder {
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, #0d0d0d 0%, #1a2e1a 100%);
  display: flex;
  align-items: center;
  justify-content: center;
}

.venue-hero-placeholder-icon {
  height: 56px;
  width: auto;
  opacity: 0.2;
}

.carousel-dots {
  position: absolute;
  bottom: var(--space-3);
  right: var(--space-4);
  display: flex;
  gap: 6px;
  z-index: 3;
}

.carousel-dot {
  width: 6px;
  height: 6px;
  border-radius: var(--radius-full);
  background: rgba(255, 255, 255, 0.4);
  transition: all 0.25s ease;
  padding: 0;
  border: none;
  cursor: pointer;
}

.carousel-dot.active {
  background: var(--color-white);
  width: 18px;
}

/* ================================================
   TIER BADGE — hero overlay bottom-left (text label)
   ================================================ */
.venue-tier-badge {
  position: absolute;
  bottom: var(--space-4);
  left: var(--space-4);
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: var(--space-1) var(--space-3);
  border-radius: var(--radius-full);
  font-size: var(--text-xs);
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  z-index: 3;
  cursor: pointer;
  transition: opacity 0.2s ease;
  border: none;
}

.venue-tier-badge:hover {
  opacity: 0.85;
}

/* ================================================
   TIER COLORS — shared across hero badge,
   inline check badge, and tooltip badge
   ================================================ */
.tier-combo {
  background: rgba(0, 157, 83, 0.92);
  color: var(--color-white);
  border: 1px solid rgba(255, 255, 255, 0.2);
}

.tier-partner {
  background: rgba(1, 91, 46, 0.88);
  color: var(--color-white);
  border: 1px solid rgba(0, 157, 83, 0.4);
}

.tier-verified {
  background: rgba(13, 13, 13, 0.82);
  color: var(--color-primary);
  border: 1px solid rgba(0, 157, 83, 0.5);
}

/* ================================================
   VENUE BODY
   ================================================ */
.venue-body {
  padding: var(--space-5) var(--space-4) var(--space-16);
  display: flex;
  flex-direction: column;
  gap: var(--space-5);
}

/* ================================================
   VENUE IDENTITY
   ================================================ */
.venue-identity {
  display: flex;
  align-items: center;
  gap: var(--space-4);
}

.venue-logo-large {
  width: 64px;
  height: 64px;
  border-radius: var(--radius-md);
  object-fit: cover;
  border: 1px solid var(--color-gray-light);
  flex-shrink: 0;
}

.venue-identity-text {
  flex: 1;
  min-width: 0;
}

.venue-name-row {
  display: flex;
  align-items: center;
  gap: var(--space-2);
  margin-bottom: var(--space-1);
}

.venue-name {
  font-size: var(--text-2xl);
  font-weight: 800;
  color: var(--color-dark);
  line-height: 1.2;
}

/* ================================================
   INLINE CHECKMARK BADGE — circle + tick next to name
   No text — tap to open tooltip for explanation
   ================================================ */
.venue-check-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 22px;
  height: 22px;
  border-radius: var(--radius-full);
  flex-shrink: 0;
  cursor: pointer;
  transition:
    opacity 0.2s ease,
    transform 0.15s ease;
  border: none;
  padding: 0;
}

.venue-check-badge:hover {
  opacity: 0.8;
  transform: scale(1.1);
}

.venue-check-badge.tier-combo {
  background: var(--color-primary);
  color: var(--color-white);
}
.venue-check-badge.tier-partner {
  background: var(--color-deep);
  color: var(--color-white);
}
.venue-check-badge.tier-verified {
  background: transparent;
  color: var(--color-primary);
  border: 2px solid var(--color-primary);
}

.venue-area-label {
  font-size: var(--text-sm);
  color: var(--color-gray);
  font-weight: 500;
}
.venue-description {
  font-size: var(--text-base);
  color: var(--color-gray);
  line-height: 1.7;
}

/* ================================================
   DIRECTIONS BUTTON
   ================================================ */
.venue-directions-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-2);
}

/* ================================================
   SECTIONS
   ================================================ */
.venue-section {
  display: flex;
  flex-direction: column;
  gap: var(--space-3);
}

.venue-section-title {
  font-size: var(--text-sm);
  font-weight: 700;
  color: var(--color-gray);
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

/* ================================================
   OPENING HOURS
   ================================================ */
.venue-hours {
  background: var(--color-white);
  border: 1px solid var(--color-gray-light);
  border-radius: var(--radius-lg);
  overflow: hidden;
}

.hours-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: var(--space-3) var(--space-4);
  border-bottom: 1px solid var(--color-gray-light);
}

.hours-row:last-child {
  border-bottom: none;
}
.hours-row.hours-today {
  background: var(--color-gray-bg);
}
.hours-day {
  font-size: var(--text-sm);
  font-weight: 600;
  color: var(--color-dark);
  min-width: 40px;
}
.hours-today .hours-day {
  color: var(--color-primary);
}
.hours-value {
  font-size: var(--text-sm);
  color: var(--color-gray);
}
.hours-today .hours-value {
  color: var(--color-dark);
  font-weight: 500;
}

/* ================================================
   SOCIAL LINKS
   ================================================ */
.venue-socials {
  display: flex;
  flex-direction: column;
  gap: var(--space-2);
}

.social-link {
  display: inline-flex;
  align-items: center;
  gap: var(--space-3);
  padding: var(--space-3) var(--space-4);
  background: var(--color-white);
  border: 1px solid var(--color-gray-light);
  border-radius: var(--radius-lg);
  font-size: var(--text-sm);
  font-weight: 500;
  color: var(--color-dark);
  text-decoration: none;
  transition: border-color 0.2s ease;
}

.social-link:hover {
  border-color: var(--color-primary);
  color: var(--color-primary);
}
.social-link svg {
  color: var(--color-gray);
  flex-shrink: 0;
}

/* ================================================
   UPCOMING EVENTS
   ================================================ */
.venue-no-events {
  padding: var(--space-6) var(--space-4);
  text-align: center;
}
.venue-no-events p {
  font-size: var(--text-sm);
  color: var(--color-gray);
}

/* ================================================
   FREE TIER
   ================================================ */
.venue-free-note {
  font-size: var(--text-sm);
  color: var(--color-gray);
  font-style: italic;
}

.btn-claim {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  padding: var(--space-3) var(--space-4);
  border-radius: var(--radius-lg);
  font-size: var(--text-sm);
  font-weight: 500;
  color: var(--color-gray);
  border: 1.5px dashed var(--color-gray-light);
  background: transparent;
  text-decoration: none;
  transition: all 0.2s ease;
}

.btn-claim:hover {
  border-color: var(--color-primary);
  color: var(--color-primary);
  background: #e8f5ee;
}
.btn-claim svg {
  flex-shrink: 0;
  opacity: 0.6;
}

/* ================================================
   TIER TOOLTIP — bottom sheet popup
   ================================================ */
.tier-tooltip {
  position: fixed;
  inset: 0;
  z-index: 200;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  padding: 0 var(--space-4) calc(var(--nav-height) + var(--space-5));
}

.tier-tooltip.hidden {
  display: none;
}

.tier-tooltip-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.5);
  z-index: 1;
}

.tier-tooltip-inner {
  position: relative;
  z-index: 2;
  background: var(--color-white);
  border-radius: var(--radius-xl);
  padding: var(--space-6) var(--space-5) var(--space-5);
  width: 100%;
  max-width: calc(var(--max-width) - var(--space-8));
  box-shadow: var(--shadow-lg);
  display: flex;
  flex-direction: column;
  gap: var(--space-3);
}

.tier-tooltip-close {
  position: absolute;
  top: var(--space-4);
  right: var(--space-4);
  width: 30px;
  height: 30px;
  border-radius: var(--radius-full);
  background: var(--color-gray-bg);
  color: var(--color-gray);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.2s ease;
  border: none;
  cursor: pointer;
}

.tier-tooltip-close:hover {
  background: var(--color-gray-light);
}

/* Badge with text label inside tooltip */
.tooltip-hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: var(--space-1) var(--space-3);
  border-radius: var(--radius-full);
  font-size: var(--text-xs);
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  align-self: flex-start;
}

/* Tooltip badge uses solid colors (not blurred) */
.tooltip-hero-badge.tier-combo {
  background: var(--color-primary);
  color: var(--color-white);
}
.tooltip-hero-badge.tier-partner {
  background: var(--color-deep);
  color: var(--color-white);
}
.tooltip-hero-badge.tier-verified {
  background: transparent;
  color: var(--color-primary);
  border: 1.5px solid var(--color-primary);
}

.tier-tooltip-title {
  font-size: var(--text-lg);
  font-weight: 700;
  color: var(--color-dark);
}
.tier-tooltip-text {
  font-size: var(--text-sm);
  color: var(--color-gray);
  line-height: 1.7;
}

/* ================================================
   LIGHTBOX — fullscreen image viewer
   ================================================ */
.lightbox {
  position: fixed;
  inset: 0;
  z-index: 300;
  background: rgba(0, 0, 0, 0.96);
  display: flex;
  align-items: center;
  justify-content: center;
}

.lightbox.hidden { display: none; }

.lightbox-backdrop {
  position: absolute;
  inset: 0;
  z-index: 1;
}

.lightbox-track {
  position: relative;
  z-index: 2;
  display: flex;
  width: 100%;
  height: 100%;
  transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  touch-action: pan-y pinch-zoom;
}

.lightbox-slide {
  flex: 0 0 100%;
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: var(--space-10) var(--space-4);
}

.lightbox-img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
  border-radius: var(--radius-md);
  user-select: none;
  -webkit-user-drag: none;
}

.lightbox-close {
  position: absolute;
  top: var(--space-4);
  right: var(--space-4);
  z-index: 10;
  width: 40px;
  height: 40px;
  border-radius: var(--radius-full);
  background: rgba(255, 255, 255, 0.15);
  color: var(--color-white);
  display: flex;
  align-items: center;
  justify-content: center;
  border: none;
  cursor: pointer;
  transition: background 0.2s ease;
  backdrop-filter: blur(4px);
}

.lightbox-close:hover { background: rgba(255, 255, 255, 0.25); }

.lightbox-counter {
  position: absolute;
  top: var(--space-4);
  left: 50%;
  transform: translateX(-50%);
  z-index: 10;
  font-size: var(--text-sm);
  font-weight: 600;
  color: rgba(255, 255, 255, 0.7);
  pointer-events: none;
}

.lightbox-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 10;
  width: 40px;
  height: 40px;
  border-radius: var(--radius-full);
  background: rgba(255, 255, 255, 0.15);
  color: var(--color-white);
  display: flex;
  align-items: center;
  justify-content: center;
  border: none;
  cursor: pointer;
  transition: background 0.2s ease;
  backdrop-filter: blur(4px);
}

.lightbox-nav:hover { background: rgba(255, 255, 255, 0.25); }
.lightbox-prev { left: var(--space-3); }
.lightbox-next { right: var(--space-3); }

/* ================================================
   MULTI-LOCATION — append to existing venue.css
   ================================================ */

/* Note shown on non-primary location pages */
.venue-multi-note {
  display: flex;
  align-items: center;
  gap: var(--space-2);
  padding: var(--space-3) var(--space-4);
  background: var(--color-gray-bg);
  border-bottom: 1px solid var(--color-gray-light);
  font-size: var(--text-sm);
  color: var(--color-gray);
  margin-bottom: var(--space-4);
}

.venue-multi-note svg {
  flex-shrink: 0;
  color: var(--color-primary);
}

.venue-multi-link {
  color: var(--color-primary);
  font-weight: 600;
  text-decoration: underline;
  text-underline-offset: 2px;
  white-space: nowrap;
}

/* Other locations list — shown on HQ page */
.venue-locations-list {
  display: flex;
  flex-direction: column;
  border: 1px solid var(--color-gray-light);
  border-radius: var(--radius-md);
  overflow: hidden;
}

.venue-location-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: var(--space-4);
  background: var(--color-white);
  color: var(--color-dark);
  text-decoration: none;
  border-bottom: 1px solid var(--color-gray-light);
  transition: background 0.15s ease;
}

.venue-location-item:last-child {
  border-bottom: none;
}

.venue-location-item:active {
  background: var(--color-gray-bg);
}

.venue-location-item svg {
  flex-shrink: 0;
  color: var(--color-gray);
}

.venue-location-info {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.venue-location-name {
  font-size: var(--text-base);
  font-weight: 600;
  color: var(--color-dark);
}

.venue-location-area {
  font-size: var(--text-sm);
  color: var(--color-gray);
}