/* ============================================
   ABBA Arena London — Conversion Booster CSS
   Add this to the bottom of your css/style.css
   ============================================ */

/* ===== LIVE VISITOR COUNTER ===== */
#live-counter {
  position: fixed;
  bottom: 80px;
  left: 20px;
  background: rgba(0, 0, 0, 0.85);
  color: #fff;
  padding: 8px 14px;
  border-radius: 50px;
  font-size: 0.78rem;
  display: flex;
  align-items: center;
  gap: 8px;
  z-index: 9000;
  box-shadow: 0 4px 20px rgba(0,0,0,0.3);
  backdrop-filter: blur(8px);
  border: 1px solid rgba(255,255,255,0.1);
  pointer-events: none;
}
.counter-dot {
  width: 8px;
  height: 8px;
  background: #22c55e;
  border-radius: 50%;
  animation: pulse-dot 1.5s ease-in-out infinite;
  flex-shrink: 0;
}
@keyframes pulse-dot {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.5; transform: scale(1.3); }
}
#counter-num {
  color: #f0c040;
  font-weight: 700;
  transition: transform 0.2s;
}
#counter-num.bump {
  transform: scale(1.3);
}


/* ===== STICKY BAR ===== */
#sticky-bar {
  position: fixed;
  bottom: -80px;
  left: 0;
  right: 0;
  z-index: 9990;
  background: linear-gradient(135deg, #1a1a2e 0%, #16213e 100%);
  border-top: 2px solid #d4a017;
  box-shadow: 0 -4px 30px rgba(0,0,0,0.4);
  transition: bottom 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
}
#sticky-bar.visible {
  bottom: 0;
}
#sticky-bar.hidden-bar {
  bottom: -80px;
}
.sticky-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 12px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}
.sticky-text {
  display: flex;
  flex-direction: column;
  color: #fff;
}
.sticky-text strong {
  font-size: 1rem;
  color: #f0c040;
}
.sticky-text span {
  font-size: 0.75rem;
  opacity: 0.7;
}
.sticky-btn {
  background: linear-gradient(135deg, #d4a017, #f0c040);
  color: #000;
  font-weight: 700;
  padding: 10px 24px;
  border-radius: 50px;
  text-decoration: none;
  font-size: 0.9rem;
  white-space: nowrap;
  transition: transform 0.2s, box-shadow 0.2s;
  box-shadow: 0 4px 15px rgba(212,160,23,0.4);
}
.sticky-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(212,160,23,0.6);
}
@media (max-width: 480px) {
  .sticky-text span { display: none; }
  .sticky-btn { padding: 10px 18px; font-size: 0.85rem; }
}


/* ===== EXIT INTENT POPUP ===== */
#exit-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.7);
  z-index: 99999;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1rem;
  opacity: 0;
  transition: opacity 0.3s ease;
  backdrop-filter: blur(4px);
}
#exit-overlay.active { opacity: 1; }
#exit-overlay.fade-out { opacity: 0; }

#exit-popup {
  background: linear-gradient(160deg, #1a1a2e 0%, #0f0f1a 100%);
  border: 1px solid rgba(212,160,23,0.4);
  border-radius: 20px;
  padding: 2.5rem 2rem;
  max-width: 440px;
  width: 100%;
  text-align: center;
  position: relative;
  box-shadow: 0 25px 60px rgba(0,0,0,0.5), 0 0 0 1px rgba(212,160,23,0.1);
  transform: translateY(20px);
  transition: transform 0.3s ease;
}
#exit-overlay.active #exit-popup { transform: translateY(0); }

#exit-close {
  position: absolute;
  top: 12px;
  right: 16px;
  background: none;
  border: none;
  color: rgba(255,255,255,0.5);
  font-size: 1.5rem;
  cursor: pointer;
  line-height: 1;
  padding: 4px 8px;
  transition: color 0.2s;
}
#exit-close:hover { color: #fff; }

.exit-badge {
  display: inline-block;
  background: linear-gradient(135deg, #d4a017, #f0c040);
  color: #000;
  font-weight: 800;
  font-size: 0.75rem;
  letter-spacing: 0.1em;
  padding: 4px 14px;
  border-radius: 50px;
  margin-bottom: 1rem;
}

#exit-popup h2 {
  color: #fff;
  font-size: 1.8rem;
  margin-bottom: 0.75rem;
  line-height: 1.2;
}
#exit-popup h2 .gold { color: #f0c040; }
#exit-popup p { color: rgba(255,255,255,0.75); margin-bottom: 1.25rem; font-size: 0.95rem; }

.exit-prices {
  display: flex;
  gap: 0.75rem;
  margin-bottom: 1.5rem;
  justify-content: center;
}
.exit-price-item {
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 10px;
  padding: 10px 14px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  flex: 1;
}
.exit-price-item.highlight {
  background: rgba(212,160,23,0.15);
  border-color: rgba(212,160,23,0.5);
}
.price-label { font-size: 0.7rem; color: rgba(255,255,255,0.6); }
.price-val { font-size: 1rem; font-weight: 700; color: #f0c040; }

.exit-cta-btn {
  display: block;
  background: linear-gradient(135deg, #d4a017, #f0c040);
  color: #000;
  font-weight: 800;
  padding: 14px 24px;
  border-radius: 50px;
  text-decoration: none;
  font-size: 1rem;
  margin-bottom: 0.75rem;
  transition: transform 0.2s, box-shadow 0.2s;
  box-shadow: 0 6px 25px rgba(212,160,23,0.4);
}
.exit-cta-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 30px rgba(212,160,23,0.6);
}

.exit-note {
  font-size: 0.72rem !important;
  color: rgba(255,255,255,0.4) !important;
  margin-bottom: 0.5rem !important;
}

.exit-dismiss {
  background: none;
  border: none;
  color: rgba(255,255,255,0.3);
  font-size: 0.75rem;
  cursor: pointer;
  padding: 4px 8px;
  text-decoration: underline;
  transition: color 0.2s;
}
.exit-dismiss:hover { color: rgba(255,255,255,0.6); }


/* ===== PRICE COMPARISON TABLE ===== */
.price-compare-wrap {
  background: #f8f6f0;
  padding: 4rem 0;
}
.price-compare-wrap h3 {
  font-size: 1.8rem;
  margin-bottom: 1.5rem;
  text-align: center;
  color: #1a1a2e;
}
.compare-table-wrap {
  overflow-x: auto;
  border-radius: 16px;
  box-shadow: 0 4px 30px rgba(0,0,0,0.1);
  margin-bottom: 2rem;
}
.compare-table {
  width: 100%;
  border-collapse: collapse;
  background: #fff;
  font-size: 0.95rem;
}
.compare-table th {
  padding: 1rem 1.25rem;
  text-align: center;
  font-weight: 700;
  font-size: 0.9rem;
}
.compare-table th:first-child { text-align: left; background: #f8f6f0; }
.col-official { background: #fafafa; color: #666; }
.highlight-col { background: linear-gradient(135deg, #1a1a2e, #16213e) !important; color: #f0c040 !important; }
.compare-table td {
  padding: 0.85rem 1.25rem;
  text-align: center;
  border-top: 1px solid #f0ede5;
}
.compare-table td:first-child {
  text-align: left;
  font-weight: 600;
  color: #333;
  background: #fafafa;
}
.highlight-col td, .compare-table .highlight-col {
  background: rgba(26,26,46,0.04);
}
.check { color: #16a34a; font-weight: 600; }
.x { color: #dc2626; }
.compare-cta { text-align: center; }


/* ===== SOCIAL PROOF TOASTS ===== */
.social-toast {
  position: fixed;
  bottom: 100px;
  left: 20px;
  background: #fff;
  color: #1a1a2e;
  padding: 12px 18px;
  border-radius: 12px;
  font-size: 0.82rem;
  font-weight: 500;
  box-shadow: 0 8px 30px rgba(0,0,0,0.15);
  border-left: 4px solid #d4a017;
  z-index: 8999;
  transform: translateX(-120%);
  transition: transform 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
  max-width: 260px;
  display: flex;
  align-items: center;
  gap: 8px;
  pointer-events: none;
}
.social-toast.show { transform: translateX(0); }
.toast-icon { font-size: 1rem; flex-shrink: 0; }
