/* Paleta GioX: fondo #0a0906, cards #1a1a1a / rgba(20,20,20,0.95), rojo #e63946/#ff4d5a, texto #fff/#cfcfcf */

/* RESET */
* { box-sizing: border-box; margin:0; padding:0; }
html,body { height:100%; }
body {
  font-family: 'Poppins', Arial, sans-serif;
  background: linear-gradient(180deg,#070605,#0a0906);
  color:#fff;
  -webkit-font-smoothing:antialiased;
  -moz-osx-font-smoothing:grayscale;
}

/* HEADER */
.site-header { position:sticky; top:0; z-index:1400; background: rgba(20,20,20,0.95); box-shadow: 0 2px 8px rgba(0,0,0,0.45); }
.header-inner { max-width:1200px; margin:0 auto; padding:12px 20px; display:flex; align-items:center; justify-content:space-between; gap:12px; }
.logo-img { width:48px; height:48px; object-fit:cover; border-radius:8px; }

/* NAV (desktop) */
.nav-links { display:flex; gap:22px; list-style:none; align-items:center; margin:0; padding:0; }
.nav-links li a { color:#fff; text-decoration:none; font-weight:600; transition: color .15s ease, transform .18s ease; padding:6px 8px; border-radius:6px; }
.nav-links li a:hover { color:#e63946; transform: translateY(-2px); }

/* BRAND LINE */
.brand-hr { height:5px; border:none; background: linear-gradient(90deg,#e63946 0%, #ff4d5a 100%); margin:0; }

/* MAIN LAYOUT */
.main-container { max-width:1100px; margin:26px auto 80px; padding:0 18px; }

/* SONG SECTION */
.song-title { color:#e63946; font-size:32px; text-align:center; margin-bottom:18px; }

/* SONG CARD */
.song-card {
  display:flex; gap:24px; align-items:center;
  background: linear-gradient(180deg, rgba(20,20,20,0.95), rgba(10,9,6,0.92));
  padding:18px; border-radius:12px; box-shadow: 0 18px 50px rgba(0,0,0,0.6);
}
.cover-wrap { position:relative; display:flex; align-items:center; justify-content:center; }
.main-cover { width:300px; height:300px; object-fit:cover; border-radius:12px; box-shadow: 0 10px 40px rgba(230,57,70,0.06); transition: transform .45s cubic-bezier(.2,.9,.2,1), box-shadow .3s ease, opacity .2s; cursor:pointer; }
.main-cover.is-playing { transform: scale(1.02); box-shadow: 0 22px 60px rgba(230,57,70,0.14); }
.main-cover.flash { animation: flashCover .38s ease; }
@keyframes flashCover { 0%{filter:brightness(1.08)} 50%{filter:brightness(1.18)} 100%{filter:brightness(1)} }

/* subtle glow behind cover */
.cover-glow { position:absolute; width:420px; height:420px; border-radius:50%; background: radial-gradient(circle, rgba(230,57,70,0.18) 0%, rgba(230,57,70,0.06) 35%, rgba(0,0,0,0) 60%); filter: blur(28px); pointer-events:none; transform:translateY(10px); opacity:0.8; }

/* info column */
.song-info { flex:1; display:flex; flex-direction:column; gap:12px; }
.meta-row { display:flex; align-items:center; gap:10px; }
.badge { background: rgba(255,255,255,0.03); padding:6px 10px; border-radius:999px; color:#cfcfcf; font-weight:700; font-size:13px; }
.meta-text { color:#cfcfcf; font-size:14px; }

/* PLAYER compact */
.player-compact { margin-top:8px; display:flex; flex-direction:column; gap:10px; }
.progress-wrap { width:100%; height:10px; background: rgba(255,255,255,0.04); border-radius:999px; position:relative; cursor:pointer; }
.progress-bar { height:100%; width:0%; background: linear-gradient(90deg,#e63946,#ff4d5a); border-radius:999px; transition: width 0.08s linear; }

.controls-row { display:flex; align-items:center; gap:16px; justify-content:space-between; }
.play-circle { width:66px; height:66px; border-radius:50%; border:0; background:linear-gradient(180deg,#e63946,#ff4d5a); color:#fff; display:grid; place-items:center; font-size:20px; cursor:pointer; box-shadow: 0 12px 32px rgba(230,57,70,0.12); transition: transform .15s ease; }
.play-circle:hover { transform: translateY(-4px); }
.time { color:#cfcfcf; font-weight:600; font-size:14px; min-width:130px; text-align:center; }

/* right controls */
.right-controls { display:flex; gap:12px; align-items:center; }
input[type=range] { width:120px; height:6px; background: rgba(255,255,255,0.04); border-radius:999px; -webkit-appearance:none; }
input[type=range]::-webkit-slider-thumb { -webkit-appearance:none; width:12px; height:12px; border-radius:50%; background:#e63946; box-shadow:0 6px 16px rgba(230,57,70,0.18); cursor:pointer; }

/* BUY */
.buy-btn { padding:10px 14px; background: linear-gradient(90deg,#e63946,#ff4d5a); color:#fff; text-decoration:none; border-radius:10px; font-weight:700; box-shadow:0 12px 30px rgba(230,57,70,0.12); }

/* SUGGESTIONS */
.suggest-title { margin-top:24px; margin-bottom:8px; font-size:20px; }
.suggest-grid { display:grid; grid-template-columns: repeat(4, 1fr); gap:16px; margin-top:12px; }
.suggest-card { position:relative; overflow:hidden; border-radius:10px; background: rgba(26,26,26,0.9); padding:8px; display:flex; flex-direction:column; gap:8px; align-items:center; justify-content:flex-start; transition: transform .18s ease, box-shadow .18s ease; cursor:pointer; text-decoration:none; color:inherit; }
.suggest-card img { width:100%; height:140px; object-fit:cover; border-radius:8px; }
.card-body { text-align:center; color:#cfcfcf; }
.card-body strong { color:#fff; display:block; margin-bottom:6px; }
.card-meta { font-size:13px; color:#cfcfcf; opacity:0.85; }

/* hover effects */
.suggest-card:hover { transform: translateY(-8px); box-shadow: 0 20px 50px rgba(0,0,0,0.55); }

/* RESPONSIVE */
@media (max-width: 1000px) {
  .song-card { flex-direction:column; align-items:center; text-align:center; gap:18px; }
  .main-cover { width:80%; max-width:360px; height:auto; }
  .cover-glow { width:360px; height:360px; }
  .suggest-grid { grid-template-columns: repeat(2, 1fr); }
  .time { min-width:110px; }
}
@media (max-width: 560px) {
  .nav-links { display:none; }
  .hamburger { display:block; background:transparent; border:0; color:#fff; font-size:20px; padding:8px; border-radius:8px; }
  .nav-links.active { display:flex; position:fixed; top:0; right:0; height:100vh; width:78%; background: rgba(10,9,6,0.86); flex-direction:column; gap:22px; padding-top:110px; align-items:center; z-index:1300; }
  .suggest-grid { grid-template-columns: 1fr; }
  .header-inner { padding:10px 14px; }
  .play-circle { width:56px; height:56px; }
  .progress-wrap { height:8px; }
  .main-container { margin-top:6px; padding-bottom:40px; }
}

/* focus states */
button:focus, a:focus, input:focus { outline: 2px solid rgba(230,57,70,0.14); outline-offset:2px; border-radius:6px; }
