/* ============================================================
   BeatBounce - Base CSS (Non-seasonal)
   Applies globally across the site.
   All holiday / event themes go in their own CSS.
   File: /assets/themes/base.css
   ============================================================ */

/* ---------- Global Reset / Normalization ---------- */

html {
  scroll-behavior: smooth;
}

*, *::before, *::after {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI",
               Roboto, Helvetica, Arial, sans-serif;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  background-color: #0b1420;
  color: #e2e8f0;
}

/* Prevent default border around images */
img {
  border-style: none;
  vertical-align: middle;
}

/* ---------- Utility Helpers ---------- */

.noselect {
  -webkit-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
  user-select: none;
}

.pointer-none { pointer-events: none; }
.pointer-auto { pointer-events: auto; }

/* ---------- SweetAlert2 (Global Style) ---------- */

.swal2-popup {
  border-radius: 1rem !important;
  background-color: #0f172a !important;
  color: #e2e8f0 !important;
  font-family: inherit !important;
}

.swal2-confirm,
.swal2-cancel {
  border-radius: 0.75rem !important;
  padding: 0.45rem 1.2rem !important;
  font-weight: 600 !important;
}

.swal2-confirm {
  background: white !important;
  color: #0b1420 !important;
}

.swal2-cancel {
  background: #1e293b !important;
  color: #cbd5e1 !important;
}

/* ---------- Promo banner base state (no theme) ---------- */

#promo-banner .promo-live {
  opacity: 1;
  transition: opacity 0.4s ease;
}

/* ---------- Logo Wrapper ---------- */

.bb-logo-wrap {
  position: relative;
  display: inline-block;
}

/* Seasonal hats hidden by default */
.santa-hat,
.halloween-hat,
.easter-ears,
.newyear-glow {
  display: none; /* themes will override to display: block */
  pointer-events: none;
}

/* ---------- Smooth Card Hover ---------- */

.card-hover {
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.card-hover:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 16px rgba(0,0,0,0.25);
}

/* ---------- Scrollbars ---------- */

::-webkit-scrollbar {
  width: 10px;
  height: 10px;
}

::-webkit-scrollbar-track {
  background: #0b1420;
}

::-webkit-scrollbar-thumb {
  background: #1e293b;
  border-radius: 8px;
}

::-webkit-scrollbar-thumb:hover {
  background: #334155;
}

/* ---------- Input elements ---------- */

input, select, textarea {
  font-family: inherit;
}

/* remove ugly default outline */
input:focus,
textarea:focus,
select:focus {
  outline: none;
}

/* ---------- Modal base ---------- */

.modal-backdrop {
  background: rgba(0,0,0,0.6);
}

.modal-sheet {
  border-radius: 1.2rem;
  background: rgba(15,23,42,0.9);
  border: 1px solid rgba(255,255,255,0.08);
}

/* ---------- Fade animations ---------- */

.fade-in {
  animation: fadeIn 0.25s ease forwards;
}

@keyframes fadeIn {
  from { opacity: 0; transform: translateY(4px); }
  to { opacity: 1; transform: none; }
}
