/* ==========================================================
   COMPONENTS — CARDS, MOSAIC, LISTS, STATS, BUTTONS, VISUALS
   ========================================================== */


/* ==========================================
   MOSAIC GRID (DESKTOP)
   ========================================== */

.mosaic {
  display: block;
  column-count: 3;
  column-gap: 18px;
  width: 90%;
  max-width: 1200px;
  margin: 40px auto;
}

@media(max-width: 991px) { .mosaic { column-count: 2; } }
@media(max-width: 600px) { .mosaic { column-count: 1; } }

.mosaic-item {
  position: relative;
  display: inline-block;
  width: 100%;
  margin-bottom: 18px;
  border-radius: var(--radius);
  overflow: hidden;
  background: #000;
  transition: transform .25s ease;
  break-inside: avoid;
}

.mosaic-item:hover {
  transform: scale(1.03);
}

.mosaic-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Ratios */
.mosaic-item.ratio-1 { aspect-ratio: 4 / 5; }
.mosaic-item.ratio-2 { aspect-ratio: 1 / 1; }
.mosaic-item.ratio-3 { aspect-ratio: 16 / 9; }

/* Overlay desktop */
.mosaic-item .overlay {
  position: absolute;
  bottom: 0;
  width: 100%;
  padding: 12px;
  background: linear-gradient(to top,
    rgba(0,0,0,0.85),
    rgba(0,0,0,0.00)
  );
  color: white;
}

.mosaic-item .title {
  font-size: 18px;
  font-weight: 700;
  margin-bottom: 3px;
  line-height: 1.2;
}

.mosaic-item .dj {
  font-size: 13px;
  color: var(--link);
  font-weight: 600;
}

.mosaic-item .lieu {
  font-size: 12px;
  opacity: 0.85;
}

/* MOBILE VERSION ALWAYS VISIBLE OVERLAY (lighter) */
@media (max-width: 700px) {
  .mosaic-item .overlay {
    background: linear-gradient(
      to bottom,
      rgba(0,0,0,0),
      rgba(0,0,0,0.75)
    );
  }

  .mosaic-item .title {
    font-size: 1.1rem;
  }
}


  
/* ==========================================
   LIST ITEMS (TOP DJs, Top Clubs)
   ========================================== */

.list {
  list-style: none;
  margin: 0;
  padding: 0;
}

.list-item + .list-item {
  margin-top: 10px;
}

.list-link {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 12px;
  background: var(--panel);
  border-radius: var(--radius);
  text-decoration: none;
  color: var(--text);
  transition: background .2s ease;
}

.list-link:hover {
  background: var(--panel-light);
}

.avatar {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  overflow: hidden;
  border: 2px solid rgba(0,201,255,0.3);
}

.avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.list-title {
  font-weight: 600;
  font-size: 1.05rem;
}

.list-sub {
  font-size: 0.85rem;
  color: var(--text-muted);
}



/* ==========================================
   HORIZONTAL CARDS (CLUBS / FESTIVALS)
   ========================================== */

.hcard {
  flex: 0 0 260px;
  background: var(--panel);
  border: 1px solid var(--panel-light);
  border-radius: var(--radius);
  overflow: hidden;
  text-decoration: none;
  color: var(--text);
  box-shadow: 0 4px 12px rgba(0,0,0,0.35);
  transition: transform .2s ease, box-shadow .2s ease;
}

.hcard:hover {
  transform: scale(1.02);
  box-shadow: 0 6px 16px rgba(0,0,0,0.4);
}

.hcard-thumb img {
  width: 100%;
  height: 120px;
  object-fit: cover;
}

.hcard-body {
  padding: 10px;
}

.hcard-title {
  font-size: 1.1rem;
  font-weight: 600;
}

.hcard-sub {
  font-size: 0.85rem;
  color: var(--text-muted);
}



/* ==========================================
   PILL CARDS (Discover section)
   ========================================== */

.pill-card {
  display: flex;
  align-items: center;
  gap: 10px;
  min-width: 200px;
  padding: 10px 14px;
  border-radius: 999px;
  background: var(--panel);
  border: 1px solid var(--panel-light);
  color: var(--text);
  text-decoration: none;
  transition: transform .2s ease, background .2s ease;
}

.pill-card:hover {
  background: var(--panel-light);
  transform: translateY(-1px);
}

.pill-thumb {
  width: 40px;
  height: 40px;
  border-radius: 999px;
  overflow: hidden;
}

.pill-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.pill-type {
  font-size: 0.75rem;
  color: var(--link);
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.pill-name {
  font-size: 0.95rem;
  font-weight: 600;
}



/* ==========================================
   STATS CARDS – Simplified Version
   ========================================== */

.stats-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
}

.stat-card {
  background: var(--panel);
  padding: 14px;
  border-radius: var(--radius);
  text-align: center;
  border: 1px solid var(--panel-light);
  box-shadow: 0 4px 12px rgba(0,0,0,0.25);
}

.stat-label {
  font-size: 0.85rem;
  color: var(--text-muted);
}

.stat-value {
  font-size: 1.6rem;
  font-weight: 700;
  color: var(--link);
}



/* ==========================================
   BUTTONS
   ========================================== */

.btn {
  display: inline-block;
  padding: 10px 16px;
  border-radius: var(--radius);
  font-weight: 700;
  cursor: pointer;
  text-align: center;
  background: var(--link);
  color: #000;
  transition: background .2s ease, transform .2s ease;
}

.btn:hover {
  background: #05a9db;
}

.btn:active {
  transform: scale(0.97);
}



/* ==========================================
   SEARCH BAR + TOGGLE
   ========================================== */

.search-toggle {
  cursor: pointer;
  display: flex;
  align-items: center;
}

.search-toggle img {
  width: 26px;
  opacity: 0.7;
  transition: opacity .25s ease, transform .25s ease;
}

.search-toggle:hover img {
  opacity: 1;
  transform: scale(1.1);
}

.search-bar {
  display: none;
  justify-content: center;
  background: var(--bg-soft);
  border-bottom: 1px solid var(--line);
  padding: 12px 0;
}

.search-bar form {
  width: 90%;
  max-width: 600px;
  display: flex;
  gap: 10px;
}

.search-bar input {
  flex: 1;
  padding: 10px 14px;
  border-radius: var(--radius);
  border: 1px solid var(--panel-light);
  background: var(--panel);
  color: var(--text);
}

.search-bar button {
  padding: 10px 16px;
  border-radius: var(--radius);
  border: none;
  background: var(--accent);
  color: #000;
  font-weight: 700;
  cursor: pointer;
}

.search-bar button:hover {
  background: #ffe45e;
}
