/* ---------------------------------------------------------
   STREAMING PLATFORM UI – DARK, SPACIOUS, MUSIC‑FIRST
   Updated with Orange Palette (#FF6B00 family)
   --------------------------------------------------------- */

:root {
  --bg-base: #0A0A0A;
  --bg-surface: #121212;
  --bg-card: #1A1A1A;
  --bg-hover: #242424;
  --accent: #FF6B00;                /* Primary orange – buttons, badges, active states */
  --accent-glow: rgba(255,107,0,0.3); /* Glow matching primary */
  --accent-dark: #CC5500;            /* Darker orange – hover states, shadows */
  --accent-light: #FFA07A;           /* Light orange – highlights, labels (4.5:1 on white) */
  --cta: #FF8C00;                    /* CTA orange – conversion‑optimised buttons */
  --text-primary: #FFFFFF;
  --text-secondary: #B3B3B3;
  --text-muted: #6C757D;
  --border-subtle: rgba(255,255,255,0.08);
  --border-strong: rgba(255,255,255,0.15);
  --shadow-card: 0 8px 24px rgba(0,0,0,0.5);
  --transition-hover: 0.2s ease;
}

html, body {
  background: var(--bg-base) !important;
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, sans-serif;
  color: var(--text-secondary);
  line-height: 1.6;
  scroll-behavior: smooth;
}

body {
  background: var(--bg-base);
  padding-bottom: 90px;
}

/* ----- HEADINGS – FORCE WHITE, NO INHERITED OPACITY ----- */
h1, h2, h3, h4, h5, h6, .h1, .h2, .h3, .h4, .h5, .h6 {
  color: #FFFFFF !important;
  font-weight: 700 !important;
  letter-spacing: -0.01em;
  opacity: 1 !important;
}

a, .btn-link {
  color: var(--text-primary);
  transition: color var(--transition-hover);
}
a:hover, .btn-link:hover {
  color: var(--accent);
  text-decoration: none;
}

/* ----- LAYOUT ----- */
.page-container, .container, .padding {
  padding-left: 1.5rem;
  padding-right: 1.5rem;
}
@media (min-width: 992px) {
  .page-container, .container, .padding {
    padding-left: 2rem;
    padding-right: 2rem;
  }
}

/* ----- CARDS ----- */
.card {
  background: var(--bg-card) !important;
  border: 1px solid var(--border-subtle) !important;
  border-radius: 16px;
  box-shadow: var(--shadow-card);
  transition: transform var(--transition-hover), box-shadow var(--transition-hover);
  margin-bottom: 2rem;
}
.card:hover {
  background: var(--bg-hover) !important;
  border-color: var(--border-strong) !important;
  box-shadow: 0 12px 32px rgba(0,0,0,0.6);
}
.card-header {
  background: transparent;
  border-bottom: 1px solid var(--border-subtle);
  font-weight: 600;
  padding: 1.5rem 1.5rem 0.75rem;
  color: #FFFFFF !important;
  font-size: 1.1rem;
}
.card-body {
  padding: 1.75rem;
}

/* ----- FORMS ----- */
.form-control, .custom-select, .input-group-text {
  background: var(--bg-surface) !important;
  border: 1px solid var(--border-subtle) !important;
  border-radius: 10px;
  color: #FFFFFF !important;
  padding: 0.85rem 1.25rem;
  transition: border var(--transition-hover), box-shadow var(--transition-hover);
  font-size: 0.95rem;
}
.form-control:focus, .custom-select:focus {
  border-color: var(--accent) !important;
  box-shadow: 0 0 0 3px var(--accent-glow);
  background: var(--bg-card) !important;
}
.form-control::placeholder {
  color: rgba(255,255,255,0.4);
}
.input-group-text {
  background: var(--bg-hover) !important;
  color: rgba(255,255,255,0.7) !important;
  border-right: none;
}
select option {
  background: var(--bg-surface);
  color: #FFFFFF;
}

/* ----- BUTTONS – BOLD, VISIBLE, NO GHOSTING ----- */
.btn {
  border-radius: 40px;
  padding: 0.75rem 2rem;
  font-weight: 600;
  letter-spacing: 0.5px;
  transition: all var(--transition-hover);
  border: none;
  font-size: 0.95rem;
}
.btn-primary, .btn-success, .btn-danger {
  background: var(--accent) !important;
  color: #000000 !important;
}
.btn-primary:hover, .btn-success:hover, .btn-danger:hover {
  background: var(--accent-dark) !important;
  transform: scale(1.02);
  box-shadow: 0 8px 20px var(--accent-glow);
}
.btn-outline-primary {
  border: 1px solid var(--accent);
  color: var(--accent);
  background: transparent;
}
.btn-outline-primary:hover {
  background: var(--accent);
  color: #000;
}
.btn-dark {
  background: rgba(255,255,255,0.1);
  border: 1px solid var(--border-subtle);
  color: #FFFFFF !important;
}
.btn-dark:hover {
  background: rgba(255,255,255,0.15);
  border-color: var(--border-strong);
}
.btn-icon {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  display: inline-flex !important;
  align-items: center;
  justify-content: center;
  background: transparent;
  color: #FFFFFF !important;
  padding: 0;
  opacity: 1 !important;
}
.btn-icon:hover {
  background: var(--bg-hover);
  color: #FFFFFF !important;
}
.btn-play {
  background: var(--accent) !important;
  color: #000000 !important;
  box-shadow: 0 6px 16px var(--accent-glow);
  width: 52px;
  height: 52px;
}
.btn-play:hover {
  background: var(--accent-dark) !important;
  transform: scale(1.08);
}
.btn-play i {
  font-size: 1.4rem;
}

/* ----- HEADER ----- */
.page-header {
  background: rgba(10,10,10,0.98) !important;
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border-subtle);
  padding: 0.25rem 0;
}
.navbar-brand {
  display: flex;
  align-items: center;
  font-size: 1.6rem;
  font-weight: 700;
  color: #FFFFFF !important;
}
.navbar-brand svg {
  width: 36px;
  height: 36px;
  margin-right: 10px;
}
.navbar-toggler {
  border: none;
  color: var(--text-secondary);
  padding: 0.5rem;
}
.navbar-toggler:focus {
  outline: none;
}

/* ----- HERO – NOW WITH TRACK NAME OVERLAY ----- */
.page-hero {
  position: relative;
  min-height: 75vh !important;
  padding: 10rem 0 8rem 0 !important;
  margin-bottom: 4rem !important;
  display: flex !important;
  align-items: flex-end !important;
}
.page-hero .bg-media {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
}
.page-hero .bg-media:after {
  content: '';
  display: block;
  padding-top: 56.25%;
  height: 0;
}
.page-hero .media-content {
  filter: brightness(0.65);
  transition: filter 0.4s;
}
.page-hero:hover .media-content {
  filter: brightness(0.55);
}
.page-hero .bg-media:before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(0deg, var(--bg-base) 15%, transparent 80%);
  z-index: 1;
}
.page-hero .pos-rlt {
  position: relative;
  z-index: 2;
  max-width: 800px;
  padding-bottom: 1rem;
}
.page-hero .title {
  font-size: clamp(3rem, 10vw, 5.5rem);
  font-weight: 800 !important;
  line-height: 1.1;
  margin-bottom: 0.75rem;
  text-shadow: 0 8px 30px rgba(0,0,0,0.7);
  color: #FFFFFF !important;
  opacity: 1 !important;
}
.page-hero .subtitle {
  font-size: 1.4rem;
  color: rgba(255,255,255,0.95) !important;
  margin-bottom: 0.75rem;
  font-weight: 500;
  opacity: 1 !important;
}
.page-hero .text-muted {
  color: rgba(255,255,255,0.7) !important;
  font-size: 1.1rem;
  opacity: 1 !important;
}
/* NEW – track name overlay on hero image */
.hero-track-title {
  position: absolute;
  bottom: 2rem;
  left: 2rem;
  z-index: 3;
  color: white;
  font-size: 2rem;
  font-weight: 700;
  text-shadow: 0 4px 20px rgba(0,0,0,0.8);
  max-width: 60%;
  line-height: 1.2;
  background: rgba(0,0,0,0.3);
  padding: 0.5rem 1.5rem;
  border-radius: 40px;
  backdrop-filter: blur(4px);
  border: 1px solid rgba(255,255,255,0.2);
}
@media (max-width: 768px) {
  .hero-track-title {
    font-size: 1.4rem;
    bottom: 1rem;
    left: 1rem;
    padding: 0.4rem 1rem;
  }
}

/* ----- TRACK LIST – TITLES 100% VISIBLE ----- */
.list-row .list-item {
  display: flex !important;
  align-items: center;
  padding: 1rem 1.25rem !important;
  margin: 0 -1rem 0.5rem !important;
  border-radius: 8px;
  transition: background var(--transition-hover);
  position: relative;
  background: transparent !important;
}
.list-row .list-item:hover {
  background: var(--bg-hover) !important;
}
.list-item .media {
  width: 84px !important;
  height: 84px !important;
  border-radius: 8px !important;
  overflow: hidden;
  flex-shrink: 0;
  margin-right: 1.5rem !important;
  box-shadow: 0 8px 20px rgba(0,0,0,0.6) !important;
}
.list-item .media:after {
  display: none !important;
}
.list-item .media-content {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-size: contain !important;
  background-repeat: no-repeat;
  background-color: #000;
  background-position: center;
}
.list-content {
  flex: 1 !important;
  min-width: 0 !important;
  padding: 0 0.75rem 0 0 !important;
  display: block !important;
  visibility: visible !important;
  opacity: 1 !important;
}
.list-title {
  font-size: 1.25rem !important;
  font-weight: 700 !important;
  color: #FFFFFF !important;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  margin-bottom: 0.4rem !important;
  display: block !important;
  visibility: visible !important;
  opacity: 1 !important;
  line-height: 1.4 !important;
}
.list-subtitle {
  font-size: 1rem !important;
  color: #CCCCCC !important;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  display: block !important;
  visibility: visible !important;
  opacity: 1 !important;
}
.list-action {
  display: flex !important;
  align-items: center;
  gap: 0.75rem;
  flex-shrink: 0;
}
.list-action .text-muted {
  font-size: 1rem !important;
  color: #A0A0A0 !important;
  margin-right: 0.75rem !important;
}
.list-action .btn-icon {
  display: inline-flex !important;
  color: #FFFFFF !important;
  opacity: 0.9 !important;
}
.list-action .btn-icon:hover {
  opacity: 1 !important;
  background: var(--bg-hover);
}

/* ----- REMOVE 3-DOTS MENU COMPLETELY ----- */
.btn-more,
.hide-row.btn-more,
.list-action .btn-more,
.media-action-overlay .btn-more {
  display: none !important;
}
.dropdown-menu {
  display: none !important; /* Hides any orphaned dropdowns */
}

/* ----- MEDIA ACTION OVERLAY – ONLY PLAY + HEART ----- */
.media-action-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0,0,0,0.7);
  backdrop-filter: blur(6px);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  opacity: 0;
  transition: opacity var(--transition-hover);
  pointer-events: none;
}
.list-item:hover .media-action-overlay,
.media:hover .media-action-overlay {
  opacity: 1;
  pointer-events: auto;
}
.media-action-overlay .hide-row {
  display: flex !important;
}
.media-action-overlay .btn-icon {
  color: #FFFFFF !important;
}
.media-action-overlay .btn-play {
  width: 56px;
  height: 56px;
  background: var(--accent) !important;
  color: #000000 !important;
  box-shadow: 0 6px 20px var(--accent-glow);
}
.media-action-overlay .btn-play i {
  font-size: 1.6rem;
}
.media-action-overlay .btn-icon:hover {
  background: rgba(255,255,255,0.2);
}

/* ----- MOBILE: OVERLAY ALWAYS VISIBLE, HIDE ROW ACTIONS ----- */
@media (max-width: 768px) {
  .media-action-overlay {
    opacity: 1 !important;
    pointer-events: auto !important;
    background: rgba(0,0,0,0.5);
    backdrop-filter: blur(4px);
  }
  .list-action {
    display: none !important;
  }
  .list-item .media {
    width: 72px !important;
    height: 72px !important;
  }
  .list-title {
    font-size: 1.1rem !important;
  }
}

/* ----- VISUAL HIERARCHY ----- */
.page-hero + .row,
.page-hero + div > .row {
  margin-top: 3rem !important;
}

/* ----- DUET / PARTICIPATION ----- */
#duetTracks {
  margin-top: 5rem !important;
  padding-top: 2rem !important;
  border-top: 1px solid rgba(255,255,255,0.08) !important;
}
#duetTracks .card {
  height: 100%;
  display: flex;
  flex-direction: column;
}
#duetTracks form {
  display: flex;
  flex-direction: column;
  gap: 0.9rem;
}
#duetTracks .form-control,
#duetTracks select,
#duetTracks textarea {
  background: var(--bg-surface) !important;
  border-color: var(--border-subtle) !important;
  color: #FFFFFF !important;
}
#host-reward {
  color: var(--accent) !important;
  font-weight: 700;
  font-size: 1.1rem;
}



/* ----- TOKEN GATE ----- */
#tokenGateOverlay {
  background: rgba(0,0,0,0.9) !important;
  backdrop-filter: blur(20px);
}
.gate-card {
  background: var(--bg-card) !important;
  border: 1px solid var(--border-subtle) !important;
  border-radius: 32px;
  box-shadow: var(--shadow-card);
  max-width: 520px;
  animation: fadeInUp 0.4s ease;
}
.gate-card .card-body {
  padding: 2.5rem 2rem;
}
.gate-card .btn {
  border-radius: 40px;
  padding: 0.85rem 2rem;
  font-weight: 600;
}
.gate-card .text-muted,
.gate-card .small-muted {
  color: rgba(255,255,255,0.7) !important;
}

/* ----- FOOTER ----- */
.page-footer {
  background: var(--bg-surface);
  border-top: 1px solid var(--border-subtle);
  color: var(--text-secondary);
  margin-top: 3rem;
}
.page-footer .navbar-brand span {
  font-size: 1.4rem;
}

/* ----- ANIMATIONS ----- */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* ----- RESPONSIVE TWEAKS ----- */
@media (max-width: 992px) {
  .page-hero {
    min-height: 65vh !important;
    padding: 8rem 0 6rem !important;
  }
  .page-hero .title {
    font-size: 3.5rem;
  }
  .list-item .media {
    width: 72px !important;
    height: 72px !important;
    margin-right: 1.25rem !important;
  }
  .list-title {
    font-size: 1.15rem !important;
  }
}
@media (max-width: 576px) {
  .page-hero {
    min-height: 50vh !important;
    padding: 4rem 0 2.5rem !important;
  }
  .page-hero .title {
    font-size: 2rem;
  }
  .list-item .media {
    width: 64px !important;
    height: 64px !important;
  }
  .btn-play {
    width: 48px;
    height: 48px;
  }
  .media-action-overlay .btn-play {
    width: 48px;
    height: 48px;
  }
}

/* ----- ULTIMATE BACKUP – FORCE EVERY TEXT ELEMENT TO BE VISIBLE ----- */
a, span, div, p, h1, h2, h3, h4, h5, h6, .list-title, .list-subtitle, .title, .subtitle {
  visibility: visible !important;
  opacity: 1 !important;
  color: inherit;
}
.list-title, .title, .card-header, .navbar-brand, .page-hero .title, .page-hero .subtitle {
  color: #FFFFFF !important;
}
.list-subtitle, .text-muted {
  color: #CCCCCC !important;
}


/* =========================================================
   OVERRIDES: Remove hearts + keep thumbnails un-cropped + play button proportions
   ========================================================= */

/* Remove heart icon/buttons everywhere (safety) */
i[data-feather="heart"],
svg.feather.feather-heart{
  display: none !important;
}

/* Thumbnail image should keep original aspect ratio (no crop) */
.list-item .media{
  position: relative !important;
  background: #000 !important; /* letterbox background when using contain */
}

/* Ensure the background artwork never stretches */
.list-item .media-content{
  background-size: contain !important; /* show full image */
  background-repeat: no-repeat !important;
  background-position: center center !important;
}

/* Play button must remain perfectly circular and proportionate */
.btn.btn-play{
  width: 44px !important;
  height: 44px !important;
  min-width: 44px !important;
  padding: 0 !important;
  border-radius: 50% !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
}
.btn.btn-play i,
.btn.btn-play svg{
  width: 18px !important;
  height: 18px !important;
}

/* Mobile scaling */
@media (max-width: 576px){
  .btn.btn-play{
    width: 40px !important;
    height: 40px !important;
    min-width: 40px !important;
  }
  .btn.btn-play i,
  .btn.btn-play svg{
    width: 16px !important;
    height: 16px !important;
  }
}



/* =========================================================
   HOTFIX: Thumbnails visible again + proportional + no heart
   Goal:
   - Artwork fills thumbnail (no stretching) while keeping aspect ratio
   - Overlay no longer blacks-out artwork
   - Play button stays clickable + circular
   ========================================================= */

/* If any heart icons remain in templates, hide them */
i[data-feather="heart"],
svg.feather.feather-heart,
.feather-heart,
.btn-heart,
.btn-like,
.like,
.fav,
.favorite{
  display: none !important;
}

/* Ensure thumbnail container is the positioning context */
.list-item .media{
  position: relative !important;
  overflow: hidden !important;
}

/* IMPORTANT: Fill the thumbnail while keeping the image proportion (may crop edges) */
.list-item .media a.media-content,
.list-item .media .media-content{
  position: absolute !important;
  inset: 0 !important;
  width: 100% !important;
  height: 100% !important;
  display: block !important;
  background-size: cover !important;          /* fills thumbnail, keeps aspect ratio */
  background-position: center center !important;
  background-repeat: no-repeat !important;
  background-color: transparent !important;
}

/* Make overlay transparent so artwork never "disappears" under a dark layer */
.media-action-overlay{
  background: transparent !important;
  backdrop-filter: none !important;
  -webkit-backdrop-filter: none !important;
}

/* Hover devices: show controls on hover only */
@media (hover:hover){
  .media-action-overlay{
    opacity: 0 !important;
    pointer-events: none !important;
  }
  .list-item:hover .media-action-overlay,
  .media:hover .media-action-overlay{
    opacity: 1 !important;
    pointer-events: none !important; /* allow row click-through */
  }
}

/* Touch devices: keep controls visible */
@media (hover:none){
  .media-action-overlay{
    opacity: 1 !important;
    pointer-events: none !important;
  }
}

/* Buttons remain clickable even when overlay is click-through */
.media-action-overlay .btn,
.media-action-overlay button{
  pointer-events: auto !important;
}

/* Lock play button proportions */
.btn.btn-play{
  width: 44px !important;
  height: 44px !important;
  min-width: 44px !important;
  padding: 0 !important;
  border-radius: 50% !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
}
@media (max-width: 576px){
  .btn.btn-play{
    width: 40px !important;
    height: 40px !important;
    min-width: 40px !important;
  }
}
.btn.btn-play i,
.btn.btn-play svg{
  width: 18px !important;
  height: 18px !important;
}


/* =========================================================
   FIX 2: HERO background visible + PLAYER icons/text visible
   ========================================================= */

/* HERO: make sure the background media fills the hero */
.page-hero{
  overflow: hidden !important;
  border-radius: 24px;
}
.page-hero .bg-media{
  position: absolute !important;
  inset: 0 !important;
  width: 100% !important;
  height: 100% !important;
}
.page-hero .bg-media:after{
  display: none !important; /* prevent ratio pseudo-element from interfering */
}
/* force hero image to render full-bleed */
.page-hero .bg-media .media-content{
  position: absolute !important;
  inset: 0 !important;
  width: 100% !important;
  height: 100% !important;
  display: block !important;
  background-size: cover !important;
  background-position: center center !important;
  background-repeat: no-repeat !important;
  opacity: 1 !important;
  filter: brightness(0.80) saturate(1.05) !important;
  transform: none !important;
}
/* hero overlay: keep readable but don’t erase the image */
.page-hero .bg-media:before{
  background:
    radial-gradient(900px 520px at 15% 18%, rgba(255,107,0,0.16), transparent 55%),
    radial-gradient(900px 520px at 85% 12%, rgba(255,140,0,0.14), transparent 55%),
    linear-gradient(0deg, rgba(7,7,10,0.92) 14%, rgba(7,7,10,0.12) 78%) !important;
  z-index: 1 !important;
}


/* =========================================================
   PLAYER – ULTIMATE RESET (place at END of style.css)
   Restores original jtd‑one Plyr UI/UX.
   Overrides all prior conflicting !important rules.
   ========================================================= */

/* 1. Controls layout: right‑aligned, no extra gaps */
#plyrist .plyr__controls {
  justify-content: flex-end !important;
  flex-wrap: nowrap !important;
  gap: 0 !important;
}

/* 2. Buttons: perfectly circular, transparent background */
#plyrist .plyr--audio .plyr__control {
  border-radius: 50% !important;
  background: transparent !important;
  color: rgba(255,255,255,0.88) !important;
  margin: 0 2px !important;
}

#plyrist .plyr--audio .plyr__control:hover {
  background: var(--accent) !important;
  color: #000000 !important;
}

/* 3. Icons: default Plyr (fill) + Feather (stroke) coexistence */
#plyrist .plyr__control svg:not(.feather),
#plyrist .plyr__control svg:not(.feather) * {
  fill: currentColor !important;
  stroke: none !important;
}

#plyrist .plyr__control svg.feather,
#plyrist .plyr__control svg.feather * {
  stroke: currentColor !important;
  fill: none !important;
}

/* 4. Time display: visible and properly colored */
#plyrist .plyr__time {
  display: inline-flex !important;
  color: rgba(255,255,255,0.75) !important;
}

/* 5. Hide tooltips / screen‑reader text (clean) */
#plyrist .plyr__tooltip,
#plyrist .plyr__sr-only {
  display: none !important;
}

/* 6. Large central play button (if overlaid) – accent */
#plyrist .plyr__control--overlaid {
  background: var(--accent) !important;
  color: #000000 !important;
  border-radius: 50% !important;
}
/* ONBOARDING UI */
.onboard{
  position:fixed;
  inset:0;
  background:rgba(0,0,0,.82);
  backdrop-filter:blur(8px);
  z-index:9998;
  display:flex;
  align-items:center;
  justify-content:center;
}

.onboard.hidden{ display:none; }

.onboard-card{
  max-width:420px;
  width:92%;
  background:#0b0b0b;
  border-radius:18px;
  padding:32px;
  text-align:center;
  color:#fff;
  box-shadow:0 10px 40px rgba(0,0,0,.5);
}

.onboard-step{ display:none; }
.onboard-step.active{ display:block; }

.onboard button{
  margin-top:18px;
  padding:14px 26px;
  border-radius:40px;
  border:none;
  background:#4f7cff;
  color:white;
  font-weight:600;
}

.onboard-highlight{
  outline:3px solid #4f7cff;
  outline-offset:6px;
  border-radius:18px;
  transition:.35s;
}
.map-overlay {
  position: absolute;
  top: 20px;
  left: 20px;
  width: 340px;
  background: rgba(20, 22, 30, 0.95);
  backdrop-filter: blur(8px);
  color: #fff;
  border-radius: 16px;
  padding: 24px;
  z-index: 10;
  box-shadow: 0 8px 20px rgba(0,0,0,0.5);
  font-family: system-ui, -apple-system, sans-serif;
}
.map-overlay h2 {
  font-size: 1.6rem;
  font-weight: 700;
  margin-bottom: 8px;
}
.map-overlay .subtitle {
  color: #9ca3af;
  font-size: 0.95rem;
  margin-bottom: 16px;
}
.map-overlay .stats,
.map-overlay .featured {
  background: rgba(255,255,255,0.08);
  border-radius: 12px;
  padding: 16px;
  margin: 20px 0;
}
.map-overlay .stats h3,
.map-overlay .featured h3 {
  font-size: 1.1rem;
  margin-bottom: 8px;
  color: #d1d5db;
}
#buy-spot-btn {
  width: 100%;
  padding: 12px;
  background: #3b82f6;
  border: none;
  border-radius: 40px;
  font-weight: 600;
  font-size: 1rem;
  color: white;
  cursor: pointer;
  transition: background 0.2s;
  margin: 16px 0 8px;
}
#buy-spot-btn:hover {
  background: #2563eb;
}
#buy-spot-btn:disabled {
  background: #4b5563;
  cursor: not-allowed;
}
<style>
  .card-stats {
    padding: 20px;
    border-radius: 16px;
    box-shadow: 0 4px 30px rgba(0,0,0,0.3);
    transition: transform 0.2s;
  }
  .card-stats:hover {
    transform: translateY(-5px);
  }
  .fs-1 { font-size: 3.5rem !important; } /* Big emojis */
  .fs-4 { font-size: 1.5rem !important; } /* Big text */
  /* Ensure the map container can overflow and popups aren't clipped */
#map-north-america {
  overflow: visible !important;
  position: relative;
  z-index: 1;
}

/* Allow popups to be larger and escape container boundaries */
.mapboxgl-popup {
  max-width: none !important;
  z-index: 1000;
}

/* Optional: improve popup appearance on mobile */
@media (max-width: 640px) {
  .mapboxgl-popup-content {
    max-width: 90vw;
  }
}
</style>