* { box-sizing: border-box; }

:root {
  --bg: #0b0b0d;
  --panel: #151518;
  --panel2: #1d1d21;
  --text: #f4f4f4;
  --muted: #a8a8ad;
  --accent: #ffffff;
  --border: rgba(255,255,255,.10);
}

html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: Arial, Helvetica, sans-serif;
  padding-bottom: 145px;
}

.hero {
  min-height: 550px;
  display: flex;
  align-items: end;
  background:
    linear-gradient(to top, rgba(11,11,13,.98), rgba(11,11,13,.12)),
    var(--hero-image, url("assets/carousel/hero-01.jpg")) center/cover no-repeat;
}

.hero-overlay { width: 100%; max-width: 1100px; margin: auto; padding: 50px 24px; }
.eyebrow { letter-spacing: 3px; font-size: 12px; color: var(--muted); }
h1 { font-size: clamp(40px, 8vw, 76px); margin: 8px 0; line-height: .95; }
.hero p:last-child { color: #d0d0d3; font-size: 18px; }


.main-nav {
  position: sticky; top: 0; z-index: 40;
  display: flex; justify-content: center; gap: 12px;
  padding: 10px 16px;
  background: rgba(11,11,13,.92); backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--border);
}
.main-nav a { color: var(--text); text-decoration: none; font-weight: 700; font-size: 18px; padding: 8px 14px; border-radius: 6px; }
.main-nav a:hover { background: var(--panel2); }

main { max-width: 1100px; margin: auto; padding: 40px 24px; }
.intro { margin-bottom: 35px; }
.intro h2 { font-size: 34px; margin: 0 0 10px; }
.intro p { color: var(--muted); max-width: 700px; line-height: 1.6; }

.support-actions, .footer-actions {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  margin-top: 22px;
}

.support-button {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  border: 1px solid var(--border);
  background: var(--panel2);
  color: var(--text);
  border-radius: 7px;
  padding: 10px 14px;
  cursor: pointer;
  text-decoration: none;
  font-size: 13px;
  font-weight: 700;
}

.support-button:hover { background: #29292e; }
.support-icon {
  width: 22px;
  height: 22px;
  display: inline-grid;
  place-items: center;
  border-radius: 50%;
  background: #fff;
  color: #000;
  font-weight: 800;
}
.paypal .support-icon { font-family: Arial, sans-serif; }
.artist-profile {
  display: grid;
  grid-template-columns: 300px 1fr;
  gap: 30px;
  align-items: center;
  padding: 35px 0 45px;
  border-top: 1px solid var(--border);
}
.artist-photo {
  width: 90%;
  aspect-ratio: 1;
  object-fit: cover;
  border-radius: 10px;
  box-shadow: 0 15px 40px rgba(0,0,0,.35);
}
.artist-profile-text h2 { font-size: clamp(28px, 5vw, 46px); margin: 8px 0 12px; line-height: 1; }
.artist-profile-text p:last-child { color: var(--muted); max-width: 650px; line-height: 1.65; }

.album {
  display: grid;
  grid-template-columns: 260px 1fr;
  gap: 28px;
  padding: 25px 0 45px;
  border-top: 1px solid var(--border);
}

.album-cover { width: 100%; aspect-ratio: 1; object-fit: cover; border-radius: 8px; box-shadow: 0 15px 40px rgba(0,0,0,.35); }
.album h3 { font-size: 27px; margin: 5px 0; }
.album-meta { color: var(--muted); margin-bottom: 18px; }

.track {
  display: grid;
  grid-template-columns: 42px 1fr auto;
  align-items: center;
  gap: 10px;
  padding: 12px 10px;
  border-radius: 8px;
}
.track:hover { background: var(--panel); }

.track-number { color: var(--muted); text-align: center; }
.track-title { font-weight: 600; }
.track-actions { display: flex; gap: 6px; flex-wrap: wrap; justify-content: end; }

button, .action {
  border: 1px solid var(--border);
  background: var(--panel2);
  color: var(--text);
  border-radius: 6px;
  padding: 8px 11px;
  cursor: pointer;
  text-decoration: none;
  font-size: 13px;
}
button:hover, .action:hover { background: #29292e; }
.play-track { border-radius: 50%; width: 38px; height: 38px; padding: 0; }

.player {
  position: fixed;
  left: 0; right: 0; bottom: 0;
  z-index: 50;
  background: rgba(17,17,20,.96);
  backdrop-filter: blur(15px);
  border-top: 1px solid var(--border);
  padding: 12px 18px;
  display: grid;
  grid-template-columns: 1.2fr auto 2fr auto;
  gap: 18px;
  align-items: center;
}
.player-info { display: flex; gap: 12px; align-items: center; min-width: 0; }
.player-info img { width: 52px; height: 52px; object-fit: cover; border-radius: 5px; }
#playerTitle { font-weight: 700; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
#playerAlbum, .now-playing-label { color: var(--muted); font-size: 11px; }
.now-playing-label { letter-spacing: 1px; margin-bottom: 3px; }

.player-controls { display: flex; align-items: center; gap: 8px; }
.play-main { width: 44px; height: 44px; border-radius: 50%; background: var(--accent); color: #000; border: none; font-size: 17px; }
.progress-area { display: grid; grid-template-columns: 38px 1fr 38px; gap: 8px; align-items: center; font-size: 11px; color: var(--muted); }
input[type=range] { width: 100%; accent-color: white; }
.volume-area { display: flex; gap: 7px; align-items: center; width: 120px; }

.share-modal { position: fixed; inset: 0; z-index: 100; background: rgba(0,0,0,.72); display: grid; place-items: center; padding: 20px; }
.share-box { width: min(440px, 100%); background: #17171b; border: 1px solid var(--border); border-radius: 12px; padding: 28px; position: relative; }
.share-box h3 { margin-top: 0; font-size: 25px; }
.close { position: absolute; top: 12px; right: 12px; border: none; background: transparent; font-size: 25px; }
.share-buttons { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-top: 20px; }
.share-buttons a, .share-buttons button { text-align: center; }
.social-share {
  display: flex !important;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 44px;
  border: 1px solid var(--border);
  background: var(--panel2);
  color: var(--text);
  border-radius: 7px;
  text-decoration: none;
  font-weight: 700;
  cursor: pointer;
}
.social-share:hover { background: #29292e; }
.social-icon svg { width: 17px; height: 17px; fill: currentColor; stroke: currentColor; stroke-width: 1.5; }
.social-icon {
  width: 24px;
  height: 24px;
  display: inline-grid;
  place-items: center;
  border-radius: 7px;
  background: #fff;
  color: #000;
  font-weight: 900;
  font-size: 15px;
}
.copy-link { width: 100%; margin-top: 10px; }
.hidden { display: none; }

footer { text-align: center; color: var(--muted); padding: 30px 20px; font-size: 12px; }

@media (max-width: 800px) {
  .artist-profile { grid-template-columns: 190px 1fr; gap: 20px; }
  .album { grid-template-columns: 150px 1fr; gap: 18px; }
  .track { grid-template-columns: 35px 1fr; }
  .track-actions { grid-column: 2; justify-content: start; }
  .player { grid-template-columns: 1fr auto; gap: 8px 12px; padding: 10px 12px; }
  .player-info { grid-column: 1; }
  .player-controls { grid-column: 2; grid-row: 1; }
  .progress-area { grid-column: 1 / -1; }
  .volume-area { display: none; }
}

@media (max-width: 500px) {
  .artist-profile { grid-template-columns: 1fr; }
  .artist-photo { max-width: 260px; }
  .album { grid-template-columns: 1fr; }
  .album-cover { max-width: 230px; }
  .hero { min-height: 330px; }
  main { padding: 30px 16px; }
}

.merch-header { max-width:1100px; margin:auto; padding:60px 24px 35px; }
.merch-header h1 { margin:8px 0 12px; }
.merch-header p:last-child { color:var(--muted); line-height:1.6; max-width:650px; }
.merch-grid { display:grid; grid-template-columns:repeat(auto-fit,minmax(280px,1fr)); gap:28px; }
.merch-card { background:var(--panel); border:1px solid var(--border); border-radius:12px; overflow:hidden; }
.merch-card img { width:100%; aspect-ratio:1/1; object-fit:cover; display:block; }
.merch-info { padding:20px; }
.merch-info h2 { margin:0 0 8px; font-size:23px; }
.merch-info p { color:var(--muted); line-height:1.6; }
.merch-price { font-weight:800; margin:8px 0; }
.whatsapp-order { display:inline-flex; align-items:center; gap:8px; margin-top:8px; padding:11px 15px; border-radius:7px; background:var(--panel2); color:var(--text); text-decoration:none; font-weight:700; border:1px solid var(--border); }
.whatsapp-order:hover { background:#29292e; }

.merch-section { max-width:1100px; margin:0 auto 55px; padding:0 24px; }
.merch-section-title { margin:0 0 22px; font-size:30px; }
.merch-info h3 { margin:0 0 8px; font-size:23px; }

/* Redes sociales pequeñas en el header */
.main-nav { display:flex; align-items:center; justify-content:space-between; gap:20px; flex-wrap:wrap; }
.nav-links { display:flex; gap:18px; align-items:center; }
.social-follow { display:flex; align-items:center; gap:8px; }
.social-follow a { width:25px; height:25px; display:grid; place-items:center; color:var(--text); opacity:.85; border-radius:50%; }
.social-follow a:hover { opacity:1; background:var(--panel2); }
.social-follow svg { width:15px; height:15px; fill:currentColor; stroke:currentColor; stroke-width:1.3; }
.events-page { max-width:1100px; margin:0 auto; padding:0 24px 70px; }
.event-card { display:grid; grid-template-columns:minmax(280px, 480px) 1fr; gap:35px; align-items:start; background:var(--panel); border:1px solid var(--border); border-radius:12px; overflow:hidden; }
.event-card img { width:100%; display:block; aspect-ratio:4/5; object-fit:cover; }
.event-info { padding:30px; line-height:1.7; color:var(--muted); }
.event-info h2 { color:var(--text); margin-top:0; }
@media(max-width:700px){ .event-card{grid-template-columns:1fr}.main-nav{align-items:flex-start}.nav-links{gap:12px} }
