/* ═══ Radio La Caletta — Panels ═══ */

.panel-title { font-size: 40px; margin: 20px 0; }
@media (max-width: 800px) { .panel-title { font-size: 20px; } }

/* ── Grid ── */
.grid { padding: 16px; display: grid; grid-template-columns: repeat(3, 1fr); }
@media (max-width: 1280px) { .grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 600px) { .grid { grid-template-columns: 1fr; padding: 8px; gap: 8px; } }

.grid-row {
  display: flex; align-items: center; justify-content: flex-start;
  padding: 16px; margin-right: 16px;
  border-bottom: 1px solid rgba(255,255,255,0.2);
  cursor: pointer; transition: all 500ms;
}
.grid-row:hover { background: rgba(68,68,68,0.7); }
@media (max-width: 600px) { .grid-row { padding: 4px; } }

.img-container { display: flex; align-items: center; flex-shrink: 0; }
.grid-row img {
  min-width: 150px; width: 150px; min-height: 150px; height: 150px;
  border-radius: 5px; object-fit: cover; object-position: top;
  background: hsl(0,0%,9.3%);
}
@media (max-width: 767px) { .grid-row img { min-width: 112px; width: 112px; min-height: 112px; height: 112px; } }

.grid-text { margin: 0 0 0 15px; padding: 0; width: 100%; text-align: left; list-style: none; }
.grid-text-title { font-size: 20px; font-weight: bold; margin-bottom: 5px; }
.grid-text-artist { font-size: 18px; }
.grid-text-date { font-size: 12px; margin-bottom: 8px; }
@media (max-width: 767px) { .grid-text-title { font-size: 16px; } .grid-text-artist { font-size: 14px; } }

#req-list .grid-row img { min-width: 56px; width: 56px; min-height: 56px; height: 56px; }

.day-container { background: #ff4500; padding: 5px 10px; border-radius: 5px; margin-bottom: 10px; display: inline-block; }
.label-day-ago { color: #fff; font-size: 10px; font-weight: bold; text-transform: uppercase; opacity: 0.9; }

/* ── Requests ── */
.req-search-bar { display: flex; gap: 8px; padding: 0 16px 16px; }
.req-search-bar input {
  flex: 1; background: rgba(0,0,0,0.35);
  border: 1px solid rgba(255,255,255,0.15); color: #fff; border-radius: 8px;
  padding: 9px 14px; font-size: 13px; outline: none; font-family: inherit;
}
.req-search-bar input:focus { border-color: rgba(255,255,255,0.5); }
.req-search-bar button {
  background: rgba(255,255,255,0.15); color: #fff;
  border: 1px solid rgba(255,255,255,0.2); border-radius: 8px;
  padding: 9px 18px; font-size: 13px; font-weight: 700; cursor: pointer;
  transition: background .15s; font-family: inherit;
}
.req-search-bar button:hover { background: rgba(255,255,255,0.25); }

.req-action-btn {
  flex-shrink: 0; margin-left: auto; padding: 6px 14px;
  background: transparent; color: rgba(255,255,255,0.75);
  border: 1px solid rgba(255,255,255,0.3); border-radius: 20px;
  font-size: 12px; font-weight: 600; cursor: pointer; font-family: inherit;
  transition: all .15s; white-space: nowrap;
}
.req-action-btn:hover { background: rgba(255,255,255,0.15); color: #fff; border-color: rgba(255,255,255,0.6); }
.req-action-btn:disabled { opacity: .35; cursor: default; }
.req-action-btn.sent { background: rgba(72,187,120,0.15); border-color: #48bb78; color: #48bb78; }

.req-empty { text-align: center; color: rgba(255,255,255,0.4); padding: 40px 20px; font-size: 14px; }
.req-empty .ico { font-size: 34px; margin-bottom: 10px; }

.remove-btn { cursor: pointer; align-self: baseline; font-size: 18px; color: #fff; margin-left: auto; }
.remove-btn:hover { color: red; transform: scale(1.3) !important; }

/* ── Grid Heart Button ── */
.grid-heart-btn {
  flex-shrink: 0; margin-left: auto; padding: 8px;
  color: rgba(255,255,255,0.35); font-size: 20px;
  background: none; border: none; cursor: pointer;
  transition: color 150ms, transform 150ms;
  -webkit-tap-highlight-color: transparent;
}
.grid-heart-btn:hover { color: rgba(255,255,255,0.7); transform: none !important; }
.grid-heart-btn.liked { color: #e53e3e; }
.grid-heart-btn.liked:hover { color: #fc8181; }
@media (max-width: 600px) { .grid-heart-btn { padding: 10px; font-size: 22px; } }

/* ── Contacts Panel ── */
.contacts-panel { padding: 80px 24px 40px; max-width: 520px; margin: 0 auto; text-align: left; }
.station-header-contact {
  text-align: center; margin-bottom: 32px; padding-bottom: 24px;
  border-bottom: 1px solid rgba(255,255,255,0.1);
}
.station-name-contact { font-size: 24px; font-weight: 700; margin-bottom: 8px; }
.station-desc-contact { font-size: 14px; line-height: 1.6; opacity: .6; }
.contacts-section { margin-bottom: 32px; }
.contacts-section h3 {
  font-size: 11px; font-weight: 700; letter-spacing: 1.5px;
  text-transform: uppercase; color: rgba(255,255,255,0.45);
  margin-bottom: 16px; padding-bottom: 8px;
  border-bottom: 1px solid rgba(255,255,255,0.1);
}
.contact-row {
  display: flex; align-items: center; gap: 14px; padding: 12px 0;
  border-bottom: 1px solid rgba(255,255,255,0.06);
  text-decoration: none; color: #fff; transition: background 150ms;
}
.contact-row:last-child { border-bottom: none; }
.contact-row:hover { color: rgba(255,255,255,0.7); }
.contact-icon {
  width: 40px; height: 40px; border-radius: 10px;
  background: rgba(255,255,255,0.08);
  display: flex; align-items: center; justify-content: center;
  font-size: 18px; flex-shrink: 0;
}
.contact-label { font-size: 11px; opacity: .5; margin-bottom: 2px; }
.contact-value { font-size: 15px; font-weight: 600; }
.social-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
.social-card {
  display: flex; flex-direction: column; align-items: center;
  justify-content: center; gap: 8px; padding: 16px 8px;
  background: rgba(255,255,255,0.06); border-radius: 12px;
  text-decoration: none; color: #fff; transition: background 150ms;
  border: 1px solid rgba(255,255,255,0.08);
}
.social-card:hover { background: rgba(255,255,255,0.12); }
.social-card i { font-size: 24px; }
.social-card span { font-size: 11px; opacity: .7; font-weight: 600; }
.social-card.ig i { color: #e1306c; }
.social-card.fb i { color: #4267B2; }
.social-card.tw i { color: #9146FF; }

.freq-banner {
  text-align: center; padding: 20px;
  background: rgba(255,255,255,0.06); border-radius: 12px;
  margin-bottom: 24px; border: 1px solid rgba(255,255,255,0.08);
}
.freq-banner .freq-value { font-size: 32px; font-weight: 700; letter-spacing: 2px; }
.freq-banner .freq-label { font-size: 11px; opacity: .5; margin-top: 4px; text-transform: uppercase; letter-spacing: 1px; }

.about-text-contact { font-size: 14px; line-height: 1.7; opacity: .8; }

.legal-info-card {
  background: rgba(255,255,255,0.04); border-radius: 12px;
  border: 1px solid rgba(255,255,255,0.08);
  padding: 20px; text-align: center;
}
.legal-info-card .legal-name { font-size: 15px; font-weight: 700; margin-bottom: 12px; letter-spacing: 0.3px; }
.legal-info-card .legal-row {
  display: flex; align-items: center; gap: 10px;
  padding: 6px 0; font-size: 13px; opacity: .7;
  justify-content: center;
}
.legal-info-card .legal-row i { width: 16px; text-align: center; opacity: .5; font-size: 12px; }
.legal-info-card .legal-divider { height: 1px; background: rgba(255,255,255,0.08); margin: 12px 0; }
.legal-info-card .legal-badge {
  display: inline-block; margin-top: 12px;
  background: rgba(255,255,255,0.06); border: 1px solid rgba(255,255,255,0.1);
  border-radius: 8px; padding: 6px 14px;
  font-size: 11px; font-weight: 700; letter-spacing: 1px;
  text-transform: uppercase; opacity: .6;
}

.store-badges { display: flex; gap: 12px; flex-wrap: wrap; justify-content: center; }
.store-badges a img { height: 44px; border-radius: 8px; transition: opacity 150ms; }
.store-badges a:hover img { opacity: .8; }

.schedule-link {
  display: inline-block; background: rgba(145,70,255,0.15);
  border: 1px solid rgba(145,70,255,0.3); color: #fff; text-decoration: none;
  padding: 10px 20px; border-radius: 10px; font-size: 13px; font-weight: 600;
  transition: all 150ms;
}
.schedule-link:hover { background: rgba(145,70,255,0.25); }
.schedule-link i { margin-right: 8px; color: #9146FF; }

/* ── Track Overlay ── */
.track-overlay {
  position: absolute; top: 0; left: 0; right: 0; bottom: 0;
  z-index: 2; overflow: hidden;
  transform: translateY(-100%);
  transition: transform 400ms cubic-bezier(0.4, 0, 0.2, 1);
  pointer-events: none; cursor: pointer;
}
.track-overlay.show { transform: translateY(0); pointer-events: auto; }
.track-overlay .bg-img { position: absolute; inset: 0; background-size: cover; background-position: center; filter: blur(40px) brightness(0.4) saturate(1.4); transform: scale(1.1); }
.track-overlay .backdrop { position: absolute; inset: 0; background: rgba(0,0,0,0.45); }
.track-overlay .ov-content {
  position: relative; z-index: 1; height: 100%; display: flex; flex-direction: column;
  align-items: center; justify-content: center; padding: 40px 24px; box-sizing: border-box;
  font-family: 'Red Hat Display', sans-serif; text-align: center; color: #fff;
}
.track-overlay .ov-art { width: 180px; height: 180px; border-radius: 8px; object-fit: cover; object-position: top; background: #222; margin-bottom: 24px; box-shadow: 0 8px 30px rgba(0,0,0,0.6); }
.track-overlay .ov-header { width: 100%; max-width: 480px; text-align: center; margin-bottom: 24px; }
.track-overlay .ov-artist { font-size: 13px; text-transform: uppercase; letter-spacing: 2px; color: rgba(255,255,255,0.65); margin-bottom: 6px; overflow: hidden; white-space: nowrap; text-overflow: ellipsis; }
.track-overlay .ov-title { font-size: 26px; font-weight: bold; color: #fff; overflow: hidden; white-space: nowrap; text-overflow: ellipsis; }
.track-overlay table.ov-details { width: 100%; max-width: 480px; border-collapse: collapse; color: #fff; font-size: 14px; }
.track-overlay table.ov-details td { padding: 8px 12px; border-bottom: 1px solid rgba(255,255,255,0.1); }
.track-overlay table.ov-details td:first-child { color: rgba(255,255,255,0.5); width: 120px; }

/* ── Share Modal ── */
.share-modal-overlay {
  display: none; position: fixed; inset: 0;
  background: rgba(17,17,17,0.85);
  z-index: 200; align-items: center; justify-content: center;
}
.share-modal-overlay.show { display: flex; }
.overlay-content { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 30px; }
.overlay-content h2 { font-size: 24px; font-weight: normal; color: #fff; margin-bottom: 0; }
.overlay-social-row { display: flex; flex-direction: row; align-items: center; justify-content: center; gap: 24px; }
.social-button {
  width: 70px; height: 70px; border-radius: 50%;
  background: rgba(255,255,255,0.1); border: none; cursor: pointer;
  color: #fff; font-size: 32px;
  display: flex; align-items: center; justify-content: center;
  transition: background 200ms, transform 200ms;
}
.social-button:hover { background: rgba(255,255,255,0.2); transform: scale(1.1); }
