:root {
  --bg-main: #090c13;
  --bg-sidebar: rgba(14, 19, 31, 0.95);
  --bg-card: rgba(20, 27, 43, 0.85);
  --bg-card-hover: rgba(28, 38, 60, 0.95);
  --border-glass: rgba(255, 255, 255, 0.08);
  --border-gold: rgba(212, 175, 55, 0.35);
  --text-main: #f8fafc;
  --text-muted: #94a3b8;
  --text-dim: #64748b;
  --accent-gold: #d4af37;
  --accent-gold-bright: #fcd34d;
  --accent-gold-glow: rgba(212, 175, 55, 0.3);
  --accent-emerald: #10b981;
  --accent-sapphire: #3b82f6;
  --accent-whatsapp: #25d366;
  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 20px;
  --radius-full: 9999px;
  --font-body: 'Plus Jakarta Sans', sans-serif;
  --font-heading: 'Outfit', sans-serif;
}

/* ================= THEMES ================= */

/* 1. Obsidian Gold (Default) */
[data-theme="gold"], body.theme-gold {
  --accent-gold: #d4af37;
  --accent-gold-glow: rgba(212, 175, 55, 0.3);
}

/* 2. Midnight Black (Pitch Pure Black & Titanium) */
[data-theme="black"], body.theme-black {
  --bg-main: #000000;
  --bg-sidebar: rgba(10, 10, 10, 0.98);
  --bg-card: rgba(18, 18, 18, 0.95);
  --bg-card-hover: rgba(30, 30, 30, 0.98);
  --border-glass: rgba(255, 255, 255, 0.12);
  --accent-gold: #e5e5e5;
  --accent-gold-bright: #ffffff;
  --accent-gold-glow: rgba(255, 255, 255, 0.2);
}

/* 3. Emerald Aurora */
[data-theme="emerald"], body.theme-emerald {
  --accent-gold: #10b981;
  --accent-gold-bright: #34d399;
  --accent-gold-glow: rgba(16, 185, 129, 0.3);
}

/* 4. Sapphire Dark */
[data-theme="sapphire"], body.theme-sapphire {
  --accent-gold: #3b82f6;
  --accent-gold-bright: #60a5fa;
  --accent-gold-glow: rgba(59, 130, 246, 0.3);
}

/* 5. Platinum Clean (Matte Rich Slate & Champagne) */
[data-theme="clean"], body.theme-clean {
  --bg-main: #f1f5f9;
  --bg-sidebar: rgba(255, 255, 255, 0.98);
  --bg-card: #ffffff;
  --bg-card-hover: #f8fafc;
  --border-glass: rgba(0, 0, 0, 0.08);
  --border-gold: rgba(180, 140, 40, 0.3);
  --text-main: #0f172a;
  --text-muted: #475569;
  --text-dim: #64748b;
  --accent-gold: #b48c28;
  --accent-gold-bright: #94721c;
  --accent-gold-glow: rgba(180, 140, 40, 0.2);
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: var(--font-body);
  background-color: var(--bg-main);
  color: var(--text-main);
  line-height: 1.5;
  overflow: hidden;
  height: 100vh;
}

.portal-wrapper {
  display: flex;
  flex-direction: column;
  height: 100vh;
  width: 100vw;
  overflow: hidden;
}

/* ================= HEADER ================= */
.portal-header {
  height: 64px;
  background: var(--bg-sidebar);
  border-bottom: 1px solid var(--border-glass);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 20px;
  z-index: 1000;
  backdrop-filter: blur(16px);
  flex-shrink: 0;
}

.brand-logo-group {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
}

.logo-3d-box {
  width: 36px;
  height: 36px;
  background: linear-gradient(135deg, var(--accent-gold), #fff2b2);
  color: #090c13;
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 17px;
  box-shadow: 0 4px 14px var(--accent-gold-glow);
}

.logo-brand {
  font-family: var(--font-heading);
  font-size: 19px;
  font-weight: 700;
  color: var(--text-main);
  line-height: 1.1;
  display: block;
}

.logo-brand strong {
  color: var(--accent-gold);
}

.logo-sub {
  font-size: 9px;
  font-weight: 800;
  letter-spacing: 1px;
  color: var(--text-dim);
  display: block;
}

/* SEARCH BAR */
.header-search-wrap {
  position: relative;
  width: 340px;
  max-width: 100%;
}

.search-icon {
  position: absolute;
  left: 12px;
  top: 50%;
  transform: translateY(-50%);
  color: var(--text-dim);
  font-size: 13px;
}

.header-search-wrap input {
  width: 100%;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--border-glass);
  border-radius: var(--radius-full);
  padding: 8px 34px 8px 34px;
  color: var(--text-main);
  font-family: var(--font-body);
  font-size: 13px;
  outline: none;
  transition: all 0.2s;
}

body.theme-clean .header-search-wrap input {
  background: #f1f5f9;
}

.header-search-wrap input:focus {
  border-color: var(--accent-gold);
  background: rgba(255, 255, 255, 0.08);
  box-shadow: 0 0 0 3px var(--accent-gold-glow);
}

.search-clear-btn {
  position: absolute;
  right: 10px;
  top: 50%;
  transform: translateY(-50%);
  background: none;
  border: none;
  color: var(--text-dim);
  cursor: pointer;
  font-size: 12px;
}

/* HEADER ACTIONS */
.header-actions {
  display: flex;
  align-items: center;
  gap: 10px;
}

.btn-filter-trigger {
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid var(--border-glass);
  color: var(--text-main);
  padding: 8px 14px;
  border-radius: var(--radius-md);
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 8px;
  transition: all 0.2s;
}

.btn-filter-trigger:hover {
  background: rgba(255, 255, 255, 0.12);
  border-color: var(--accent-gold);
}

.filter-count-badge {
  background: var(--accent-gold);
  color: #090c13;
  font-size: 10px;
  font-weight: 800;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.btn-cta-add-venue {
  background: linear-gradient(135deg, var(--accent-gold), var(--accent-gold-bright));
  color: #090c13;
  text-decoration: none;
  padding: 7px 14px;
  border-radius: var(--radius-full);
  font-size: 13px;
  font-weight: 700;
  display: flex;
  align-items: center;
  gap: 6px;
  box-shadow: 0 4px 14px var(--accent-gold-glow);
  transition: all 0.2s;
}

.btn-cta-add-venue:hover {
  transform: translateY(-1px);
}

.badge-promo {
  background: rgba(0, 0, 0, 0.2);
  padding: 2px 6px;
  border-radius: var(--radius-full);
  font-size: 11px;
}

.btn-owner-portal {
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid var(--border-glass);
  color: var(--text-main);
  text-decoration: none;
  padding: 7px 12px;
  border-radius: var(--radius-md);
  font-size: 12px;
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 6px;
  transition: all 0.2s;
}

.btn-owner-portal:hover {
  background: rgba(255, 255, 255, 0.12);
}

/* THEME DROPDOWN */
.theme-dropdown-wrap {
  position: relative;
}

.theme-btn-current {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--border-glass);
  color: var(--text-main);
  padding: 7px 12px;
  border-radius: var(--radius-md);
  font-size: 12px;
  font-weight: 600;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 6px;
}

.theme-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--accent-gold);
}

.theme-menu-popup {
  position: absolute;
  top: calc(100% + 8px);
  right: 0;
  width: 210px;
  background: var(--bg-sidebar);
  border: 1px solid var(--border-glass);
  border-radius: var(--radius-md);
  padding: 6px;
  box-shadow: 0 16px 36px rgba(0,0,0,0.6);
  backdrop-filter: blur(16px);
  display: none;
  z-index: 1100;
}

.theme-menu-popup.open {
  display: block;
}

.theme-option {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 8px 10px;
  border-radius: var(--radius-sm);
  cursor: pointer;
  transition: background 0.15s;
}

.theme-option:hover {
  background: rgba(255, 255, 255, 0.08);
}

.theme-option.active {
  background: rgba(212, 175, 55, 0.12);
  border: 1px solid var(--border-gold);
}

.opt-title {
  font-size: 13px;
  font-weight: 700;
}

.opt-desc {
  font-size: 10px;
  color: var(--text-dim);
}

/* ================= PORTAL BODY & SIDEBAR ================= */
.portal-body {
  display: flex;
  flex: 1;
  height: calc(100vh - 64px);
  overflow: hidden;
  position: relative;
}

.venues-sidebar {
  width: 420px;
  background: var(--bg-sidebar);
  border-right: 1px solid var(--border-glass);
  display: flex;
  flex-direction: column;
  flex-shrink: 0;
  z-index: 100;
  height: 100%;
}

.category-tabs-wrapper {
  padding: 12px 14px 6px;
  border-bottom: 1px solid var(--border-glass);
  overflow: hidden;
}

.category-tabs-scroll {
  display: flex;
  gap: 8px;
  overflow-x: auto;
  scrollbar-width: none;
  padding-bottom: 6px;
}

.category-tabs-scroll::-webkit-scrollbar {
  display: none;
}

.cat-pill {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--border-glass);
  color: var(--text-muted);
  padding: 6px 12px;
  border-radius: var(--radius-full);
  font-size: 12px;
  font-weight: 600;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  white-space: nowrap;
  transition: all 0.2s;
}

.cat-pill:hover {
  background: rgba(255, 255, 255, 0.08);
  color: var(--text-main);
}

.cat-pill.active {
  background: linear-gradient(135deg, var(--accent-gold), var(--accent-gold-bright));
  color: #090c13;
  font-weight: 700;
  border-color: transparent;
}

.sidebar-sub-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px 16px;
  border-bottom: 1px solid var(--border-glass);
  background: rgba(0, 0, 0, 0.15);
}

.city-selector-wrap {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 12px;
  color: var(--text-muted);
}

.city-select {
  background: transparent;
  border: none;
  color: var(--text-main);
  font-size: 12px;
  font-weight: 600;
  outline: none;
  cursor: pointer;
}

.city-select option {
  background: #111827;
  color: #fff;
}

body.theme-clean .city-select option {
  background: #fff;
  color: #0f172a;
}

.venues-count-text {
  font-size: 12px;
  color: var(--text-dim);
  font-weight: 600;
}

/* ================= VENUE CARDS LIST (SQUARE LEFT IMAGE) ================= */
.venues-list-container {
  flex: 1;
  overflow-y: auto;
  padding: 14px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.venue-list-card {
  background: var(--bg-card);
  border: 1px solid var(--border-glass);
  border-radius: var(--radius-md);
  padding: 10px;
  display: flex;
  align-items: center;
  gap: 14px;
  cursor: pointer;
  transition: all 0.25s ease;
  position: relative;
}

.venue-list-card:hover, .venue-list-card.active {
  background: var(--bg-card-hover);
  border-color: var(--accent-gold);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.4);
}

/* Left Square Thumbnail */
.card-left-thumb {
  width: 88px;
  height: 88px;
  border-radius: var(--radius-sm);
  overflow: hidden;
  position: relative;
  flex-shrink: 0;
  background: #000;
}

.card-left-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s;
}

.venue-list-card:hover .card-left-thumb img {
  transform: scale(1.08);
}

.thumb-cat-badge {
  position: absolute;
  top: 4px;
  left: 4px;
  background: rgba(9, 12, 19, 0.85);
  backdrop-filter: blur(4px);
  color: var(--accent-gold);
  font-size: 9px;
  font-weight: 700;
  padding: 2px 6px;
  border-radius: var(--radius-full);
}

/* Right Content */
.card-right-info {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.card-title-row {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 6px;
}

.card-title-row h4 {
  font-family: var(--font-heading);
  font-size: 15px;
  font-weight: 700;
  color: var(--text-main);
  line-height: 1.25;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.rating-tag {
  display: inline-flex;
  align-items: center;
  gap: 3px;
  font-size: 11px;
  font-weight: 800;
  color: #facc15;
  background: rgba(250, 204, 21, 0.12);
  padding: 2px 6px;
  border-radius: var(--radius-full);
  flex-shrink: 0;
}

.card-location-row {
  display: flex;
  align-items: center;
  gap: 4px;
  font-size: 12px;
  color: var(--text-muted);
}

.card-location-row i {
  color: var(--accent-gold);
  font-size: 11px;
}

.card-bottom-badges {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 4px;
}

.badge-tour-type {
  font-size: 10px;
  font-weight: 700;
  color: #38bdf8;
  background: rgba(56, 189, 248, 0.12);
  padding: 2px 8px;
  border-radius: var(--radius-full);
}

.card-views-count {
  font-size: 11px;
  color: var(--text-dim);
}

/* ================= MAP VIEWPORT & ATTRIBUTION REMOVAL ================= */
.map-viewport {
  flex: 1;
  height: 100%;
  position: relative;
  background: #090c13;
}

.leaflet-map-element {
  width: 100%;
  height: 100%;
}

/* Completely remove bottom right watermarks & attributions */
.leaflet-control-attribution {
  display: none !important;
}

.map-floating-controls {
  position: absolute;
  bottom: 24px;
  right: 24px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  z-index: 500;
}

.map-action-btn {
  width: 42px;
  height: 42px;
  border-radius: var(--radius-md);
  background: var(--bg-sidebar);
  border: 1px solid var(--border-glass);
  color: var(--text-main);
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.5);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
  cursor: pointer;
  transition: all 0.2s;
}

.map-action-btn:hover {
  background: var(--accent-gold);
  color: #090c13;
}

/* ================= 2-LINE MINIMAL MAP PIN MARKER ================= */
.custom-pin-marker {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  transform: translate(-50%, -100%);
  cursor: pointer;
}

.pin-bubble {
  background: rgba(14, 19, 31, 0.95);
  border: 1.5px solid var(--accent-gold);
  border-radius: var(--radius-md);
  padding: 5px 10px;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.7);
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  white-space: nowrap;
  pointer-events: auto;
  transition: all 0.2s ease;
}

.pin-bubble:hover, .custom-pin-marker.active .pin-bubble {
  transform: scale(1.08);
  box-shadow: 0 8px 24px var(--accent-gold-glow);
  background: var(--accent-gold);
}

.pin-line-title {
  font-family: var(--font-heading);
  font-size: 12px;
  font-weight: 800;
  color: #ffffff;
  line-height: 1.1;
}

.custom-pin-marker.active .pin-line-title, .pin-bubble:hover .pin-line-title {
  color: #090c13;
}

.pin-line-sub {
  font-size: 10px;
  color: var(--accent-gold);
  font-weight: 600;
}

.custom-pin-marker.active .pin-line-sub, .pin-bubble:hover .pin-line-sub {
  color: #1e293b;
}

.pin-needle {
  width: 0;
  height: 0;
  border-left: 6px solid transparent;
  border-right: 6px solid transparent;
  border-top: 7px solid var(--accent-gold);
}

.pin-pulse-ring {
  position: absolute;
  bottom: -6px;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: var(--accent-gold);
  box-shadow: 0 0 10px var(--accent-gold);
}

/* ================= SLIDING ADVANCED FILTER DRAWER ================= */
.filter-drawer-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.6);
  backdrop-filter: blur(8px);
  z-index: 2000;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
}

.filter-drawer-overlay.open {
  opacity: 1;
  pointer-events: auto;
}

.filter-drawer {
  position: fixed;
  top: 0;
  right: 0;
  width: 380px;
  max-width: 90vw;
  height: 100vh;
  background: var(--bg-sidebar);
  border-left: 1px solid var(--border-glass);
  z-index: 2010;
  display: flex;
  flex-direction: column;
  transform: translateX(100%);
  transition: transform 0.35s cubic-bezier(0.2, 1, 0.3, 1);
  box-shadow: -10px 0 40px rgba(0, 0, 0, 0.7);
}

.filter-drawer.open {
  transform: translateX(0);
}

.drawer-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px 20px;
  border-bottom: 1px solid var(--border-glass);
}

.drawer-title {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-heading);
  font-size: 17px;
  font-weight: 700;
  color: var(--text-main);
}

.drawer-title i {
  color: var(--accent-gold);
}

.btn-close-drawer {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.08);
  border: none;
  color: var(--text-main);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
}

.drawer-body {
  flex: 1;
  overflow-y: auto;
  padding: 20px;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.filter-group-label {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  font-weight: 700;
  color: var(--text-muted);
  margin-bottom: 10px;
}

.filter-chips-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
}

.filter-chip {
  position: relative;
  cursor: pointer;
}

.filter-chip input {
  position: absolute;
  opacity: 0;
}

.filter-chip span {
  display: block;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--border-glass);
  border-radius: var(--radius-md);
  padding: 10px;
  font-size: 12px;
  font-weight: 600;
  text-align: center;
  transition: all 0.2s;
  color: var(--text-muted);
}

.filter-chip input:checked + span {
  background: rgba(212, 175, 55, 0.15);
  border-color: var(--accent-gold);
  color: #ffffff;
  box-shadow: 0 0 12px var(--accent-gold-glow);
}

.form-control-drawer {
  width: 100%;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--border-glass);
  border-radius: var(--radius-md);
  padding: 12px 14px;
  color: var(--text-main);
  font-family: var(--font-body);
  font-size: 13px;
  outline: none;
}

.form-control-drawer option {
  background: #111827;
  color: #fff;
}

body.theme-clean .form-control-drawer option {
  background: #fff;
  color: #0f172a;
}

.drawer-footer {
  padding: 16px 20px;
  border-top: 1px solid var(--border-glass);
  display: flex;
  gap: 12px;
}

.btn-reset-filters {
  flex: 1;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid var(--border-glass);
  color: var(--text-main);
  padding: 12px;
  border-radius: var(--radius-md);
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
}

.btn-apply-filters {
  flex: 2;
  background: linear-gradient(135deg, var(--accent-gold), var(--accent-gold-bright));
  color: #090c13;
  border: none;
  padding: 12px;
  border-radius: var(--radius-md);
  font-size: 14px;
  font-weight: 700;
  cursor: pointer;
}

/* ================= VENUE DETAIL BOTTOM SHEET / POPUP ================= */
.venue-sheet-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.65);
  backdrop-filter: blur(6px);
  z-index: 1500;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
}

.venue-sheet-backdrop.open {
  opacity: 1;
  pointer-events: auto;
}

.venue-detail-sheet {
  position: fixed;
  bottom: 0;
  left: 50%;
  transform: translate(-50%, 100%);
  width: 620px;
  max-width: 100vw;
  max-height: 90vh;
  background: var(--bg-sidebar);
  border: 1px solid var(--border-glass);
  border-radius: var(--radius-lg) var(--radius-lg) 0 0;
  z-index: 1510;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  box-shadow: 0 -16px 48px rgba(0, 0, 0, 0.8);
  transition: transform 0.35s cubic-bezier(0.2, 1, 0.3, 1);
}

.venue-detail-sheet.open {
  transform: translate(-50%, 0);
}

.sheet-drag-handle {
  width: 44px;
  height: 4px;
  background: rgba(255, 255, 255, 0.25);
  border-radius: var(--radius-full);
  margin: 10px auto 4px;
  border: none;
  cursor: grab;
}

.btn-close-sheet {
  position: absolute;
  top: 14px;
  right: 14px;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: rgba(0, 0, 0, 0.6);
  backdrop-filter: blur(6px);
  border: 1px solid rgba(255, 255, 255, 0.2);
  color: #fff;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 20;
}

.sheet-scroll-content {
  flex: 1;
  overflow-y: auto;
}

/* GALLERY SLIDER IN SHEET */
.sheet-gallery-wrap {
  position: relative;
  height: 260px;
  background: #000;
  overflow: hidden;
}

.sheet-carousel-track {
  display: flex;
  width: 100%;
  height: 100%;
  transition: transform 0.35s cubic-bezier(0.25, 1, 0.5, 1);
}

.sheet-carousel-slide {
  min-width: 100%;
  height: 100%;
}

.sheet-carousel-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.sheet-carousel-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: rgba(0, 0, 0, 0.6);
  border: 1px solid rgba(255, 255, 255, 0.2);
  color: #fff;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 13px;
  z-index: 10;
}

.sheet-carousel-nav.prev { left: 10px; }
.sheet-carousel-nav.next { right: 10px; }

.sheet-carousel-dots {
  position: absolute;
  bottom: 12px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 6px;
  z-index: 10;
}

.sheet-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.4);
  cursor: pointer;
}

.sheet-dot.active {
  width: 18px;
  border-radius: var(--radius-full);
  background: var(--accent-gold);
}

.sheet-category-badge {
  position: absolute;
  bottom: 12px;
  left: 16px;
  background: rgba(9, 12, 19, 0.85);
  border: 1px solid var(--border-glass);
  color: var(--accent-gold);
  font-size: 11px;
  font-weight: 700;
  padding: 3px 10px;
  border-radius: var(--radius-full);
  z-index: 10;
}

/* SHEET BODY INFO */
.sheet-body-info {
  padding: 20px 24px 32px;
}

.sheet-title-row {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 6px;
}

.sheet-title-row h2 {
  font-family: var(--font-heading);
  font-size: 22px;
  font-weight: 800;
  line-height: 1.2;
}

.sheet-rating-pill {
  display: flex;
  align-items: center;
  gap: 4px;
  font-size: 12px;
  font-weight: 800;
  color: #facc15;
  background: rgba(250, 204, 21, 0.12);
  padding: 3px 8px;
  border-radius: var(--radius-full);
  flex-shrink: 0;
}

.sheet-location-row {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 13px;
  color: var(--text-dim);
  margin-bottom: 14px;
}

.sheet-description {
  font-size: 14px;
  color: var(--text-muted);
  line-height: 1.55;
  margin-bottom: 20px;
}

/* PRIMARY LAUNCH VR BUTTON */
.btn-launch-tour-hero {
  width: 100%;
  background: linear-gradient(135deg, var(--accent-gold), var(--accent-gold-bright));
  color: #090c13;
  border: none;
  border-radius: var(--radius-md);
  padding: 14px 18px;
  display: flex;
  align-items: center;
  gap: 14px;
  cursor: pointer;
  box-shadow: 0 8px 24px var(--accent-gold-glow);
  transition: all 0.2s;
  margin-bottom: 14px;
}

.btn-launch-tour-hero:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 32px var(--accent-gold-glow);
}

.tour-icon-box {
  width: 44px;
  height: 44px;
  border-radius: var(--radius-sm);
  background: rgba(9, 12, 19, 0.15);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
}

.tour-text-box {
  flex: 1;
  text-align: left;
}

.tour-title {
  display: block;
  font-family: var(--font-heading);
  font-size: 16px;
  font-weight: 800;
}

.tour-subtitle {
  display: block;
  font-size: 11px;
  font-weight: 600;
  opacity: 0.85;
}

.tour-arrow {
  font-size: 14px;
  opacity: 0.7;
}

/* CUSTOM ACTION BUTTON */
.sheet-custom-action-btn {
  width: 100%;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid var(--border-glass);
  border-radius: var(--radius-md);
  padding: 13px 18px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  color: var(--text-main);
  text-decoration: none;
  font-size: 14px;
  font-weight: 700;
  transition: all 0.2s;
  margin-bottom: 18px;
}

.sheet-custom-action-btn:hover {
  background: rgba(255, 255, 255, 0.14);
  border-color: var(--accent-gold);
}

/* ACTIONS GRID */
.sheet-actions-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 8px;
  margin-bottom: 24px;
}

.sheet-action-item {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--border-glass);
  border-radius: var(--radius-md);
  padding: 12px 6px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  color: var(--text-main);
  text-decoration: none;
  font-size: 11px;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.2s;
}

.sheet-action-item i {
  font-size: 18px;
}

.sheet-action-item:hover {
  background: rgba(255, 255, 255, 0.09);
  border-color: rgba(255, 255, 255, 0.2);
}

.sheet-action-item.btn-directions i { color: #60a5fa; }
.sheet-action-item.btn-whatsapp i { color: var(--accent-whatsapp); }
.sheet-action-item.btn-phone i { color: #34d399; }
.sheet-action-item.btn-review i { color: #facc15; }

/* FEATURES & QR */
.sheet-features-box {
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid var(--border-glass);
  border-radius: var(--radius-md);
  padding: 16px;
  margin-bottom: 20px;
}

.box-title {
  font-size: 12px;
  font-weight: 700;
  color: var(--accent-gold);
  margin-bottom: 10px;
  display: flex;
  align-items: center;
  gap: 6px;
}

.sheet-tags-flex {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.sheet-tag-pill {
  font-size: 11px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--border-glass);
  padding: 4px 10px;
  border-radius: var(--radius-full);
  color: var(--text-muted);
}

.sheet-qr-section {
  display: flex;
  gap: 16px;
  align-items: center;
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid var(--border-glass);
  border-radius: var(--radius-md);
  padding: 16px;
}

.qr-code-box {
  background: #ffffff;
  padding: 6px;
  border-radius: var(--radius-sm);
  flex-shrink: 0;
}

.qr-info-box h4 {
  font-family: var(--font-heading);
  font-size: 14px;
  font-weight: 700;
  margin-bottom: 4px;
}

.qr-info-box p {
  font-size: 12px;
  color: var(--text-muted);
  margin-bottom: 10px;
  line-height: 1.4;
}

.qr-action-row {
  display: flex;
  gap: 8px;
}

.btn-sm-bio, .btn-sm-share {
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid var(--border-glass);
  color: var(--text-main);
  padding: 6px 12px;
  border-radius: var(--radius-sm);
  font-size: 11px;
  font-weight: 600;
  text-decoration: none;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.btn-sm-bio:hover, .btn-sm-share:hover {
  background: var(--accent-gold);
  color: #090c13;
}

/* ================= FULLSCREEN VR MODAL ================= */
.vr-modal-portal {
  position: fixed;
  inset: 0;
  z-index: 3000;
  display: flex;
  flex-direction: column;
}

.vr-modal-backdrop {
  position: absolute;
  inset: 0;
  background: #000000;
}

.vr-modal-container {
  position: relative;
  z-index: 10;
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
}

.vr-modal-header {
  height: 54px;
  background: #090c13;
  border-bottom: 1px solid var(--border-glass);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 18px;
}

.vr-modal-title {
  display: flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-heading);
  font-size: 16px;
  font-weight: 700;
  color: #ffffff;
}

.vr-modal-title i {
  color: var(--accent-gold);
}

.vr-modal-actions {
  display: flex;
  gap: 8px;
}

.btn-vr-icon {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.1);
  border: none;
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 15px;
  cursor: pointer;
  text-decoration: none;
}

.btn-vr-icon:hover {
  background: rgba(255, 255, 255, 0.2);
}

.vr-modal-body {
  flex: 1;
  background: #000;
}

.vr-modal-body iframe {
  width: 100%;
  height: 100%;
}

/* ================= RATING MODAL ================= */
.review-modal {
  position: fixed;
  inset: 0;
  z-index: 3500;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
}

.review-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.7);
  backdrop-filter: blur(8px);
}

.review-card {
  position: relative;
  z-index: 10;
  width: 100%;
  max-width: 440px;
  background: var(--bg-sidebar);
  border: 1px solid var(--border-gold);
  border-radius: var(--radius-lg);
  padding: 28px;
  box-shadow: 0 20px 60px rgba(0,0,0,0.8);
}

.review-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 20px;
}

.review-header h3 {
  font-family: var(--font-heading);
  font-size: 18px;
  font-weight: 800;
}

.btn-close-review {
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.08);
  border: none;
  color: var(--text-main);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
}

.star-rating-select {
  display: flex;
  justify-content: center;
  gap: 12px;
  margin-bottom: 8px;
}

.star-btn {
  font-size: 28px;
  color: rgba(255, 255, 255, 0.2);
  cursor: pointer;
  transition: color 0.15s, transform 0.15s;
}

.star-btn:hover, .star-btn.active {
  color: #facc15;
  transform: scale(1.15);
}

.selected-star-text {
  text-align: center;
  font-size: 13px;
  font-weight: 700;
  color: var(--accent-gold);
  margin-bottom: 18px;
}

.review-form .form-group {
  margin-bottom: 14px;
}

.review-form label {
  display: block;
  font-size: 12px;
  font-weight: 600;
  color: var(--text-muted);
  margin-bottom: 6px;
}

.review-form .form-control {
  width: 100%;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--border-glass);
  border-radius: var(--radius-md);
  padding: 10px 14px;
  color: var(--text-main);
  font-family: var(--font-body);
  font-size: 13px;
  outline: none;
}

.btn-submit-review {
  width: 100%;
  background: linear-gradient(135deg, var(--accent-gold), var(--accent-gold-bright));
  color: #090c13;
  border: none;
  border-radius: var(--radius-md);
  padding: 12px;
  font-size: 14px;
  font-weight: 700;
  cursor: pointer;
  margin-top: 8px;
}

.review-status {
  padding: 10px;
  border-radius: var(--radius-sm);
  font-size: 12px;
  font-weight: 600;
  text-align: center;
  margin-bottom: 10px;
}

.review-status.success {
  background: rgba(16, 185, 129, 0.2);
  color: #34d399;
}

/* ================= RESPONSIVE ================= */
@media (max-width: 900px) {
  .portal-body {
    flex-direction: column-reverse;
  }
  .venues-sidebar {
    width: 100%;
    height: 50vh;
    border-right: none;
    border-top: 1px solid var(--border-glass);
  }
  .map-viewport {
    height: 50vh;
  }
}

@media (max-width: 640px) {
  .portal-header {
    padding: 0 12px;
    height: 58px;
  }
  .header-search-wrap {
    display: none; /* Accessible via filter drawer or minimal input */
  }
  .logo-brand {
    font-size: 16px;
  }
  .logo-3d-box {
    width: 30px;
    height: 30px;
    font-size: 14px;
  }
  .btn-cta-add-venue span {
    display: none;
  }
  .btn-owner-portal span {
    display: none;
  }
  .venues-sidebar {
    height: 55vh;
  }
  .map-viewport {
    height: 45vh;
  }
  .venue-detail-sheet {
    width: 100vw;
    border-radius: var(--radius-lg) var(--radius-lg) 0 0;
  }
  .sheet-actions-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}
