/* Improved Tracks Grid Styles - full cover images, overlay YouTube button, mobile tweaks */

.tracks-grid { display:grid; grid-template-columns: repeat(2,1fr); gap:18px; margin:18px 0; align-items:start; }

/* Card */
.track-card { display:flex; gap:14px; background: linear-gradient(180deg,#0f1720,#071019); border-radius:10px; padding:12px; color:#dbeefc; align-items:center; overflow:hidden; box-shadow: 0 8px 30px rgba(0,0,0,0.45); }

/* Thumb wrapper keeps fixed aspect and shows full-cover image */
.track-thumb-wrap { position:relative; flex:0 0 180px; width:180px; height:120px; border-radius:8px; overflow:hidden; background:#111; }
.track-thumb-img { width:100%; height:100%; object-fit:cover; display:block; }

/* YouTube overlay button (top-right) */
.thumb-youtube-btn { position:absolute; top:8px; right:8px; background: rgba(0,0,0,0.5); padding:8px 10px; border-radius:20px; color:#fff; text-decoration:none; display:inline-flex; align-items:center; gap:6px; font-weight:700; box-shadow: 0 6px 18px rgba(0,0,0,0.5); }
.thumb-youtube-btn .yt-icon { font-size:14px; transform:translateY(-1px); }

/* Content */
.track-content { flex:1; min-width:0; display:flex; flex-direction:column; }
.track-title { margin:0 0 6px; font-size:18px; color:#fff; line-height:1.15; overflow:hidden; text-overflow:ellipsis; white-space:nowrap; }
.track-sub { margin-bottom:10px; color:#9fb6d0; font-size:13px; }

/* CTA row */
.track-cta-row { margin-top:auto; display:flex; gap:10px; align-items:center; }
.btn-watch { background:#e81e1e; color:#fff; text-decoration:none; padding:8px 14px; border-radius:24px; display:inline-flex; align-items:center; gap:8px; font-weight:700; box-shadow: 0 6px 12px rgba(232,30,30,0.16); }
.btn-details { background:transparent; color:#b08bff; border:none; cursor:pointer; padding:8px; border-radius:8px; font-weight:700; }

/* View more */
.view-more-wrap { text-align:center; margin-top:14px; }
.btn-view-more { background:#0b1220; color:#fff; border:1px solid rgba(255,255,255,0.06); padding:10px 18px; border-radius:8px; cursor:pointer; }


/* Modal */
.tg-modal-backdrop { position:fixed; inset:0; background:rgba(0,0,0,0.6); display:none; align-items:center; justify-content:center; z-index:99999; }
.tg-modal { background:#071019; color:#dbeefc; width:94%; max-width:900px; border-radius:10px; padding:18px; box-shadow:0 30px 80px rgba(0,0,0,0.6); }
.tg-modal .modal-inner { display:flex; gap:16px; align-items:flex-start; }
.tg-modal img { max-width:320px; width:40%; border-radius:8px; object-fit:cover; }
.tg-modal .modal-body { flex:1; }
.tg-modal .modal-title { margin:0 0 8px; font-size:20px; color:#fff; }
.tg-modal .modal-artist { color:#9fb6d0; margin-bottom:12px; }
.tg-modal .modal-content { color:#d2e9fb; line-height:1.5; }
/* Mobile tweaks - single column, larger thumb, youtube btn visible */
@media (max-width:900px){
    .tracks-grid { grid-template-columns:1fr; gap:12px; }
    .track-card { flex-direction:row; padding:10px; gap:12px; }
    .track-thumb-wrap { flex:0 0 140px; width:140px; height:95px; }
    .track-title { font-size:16px; white-space:normal; }
    .track-sub { font-size:12px; }
    .track-cta-row { gap:8px; }
}
@media (max-width:480px){
    .track-card { flex-direction:column; align-items:stretch; padding:10px; }
    .track-thumb-wrap { width:100%; height:180px; flex-basis:auto; }
    .track-content { padding-top:8px; }
    .track-cta-row { justify-content:space-between; }
    .thumb-youtube-btn { top:10px; right:10px; padding:10px 12px; }
}
