/* Sección de festivales de festtime.app: mismos colores que la portada. */
:root {
    --bg: #0A0A0C;
    --card: #141419;
    --card-hover: #1C1C24;
    --orange: #FF6B00;
    --pink: #FF0066;
    --text: #FFFFFF;
    --muted: #A0A0AB;
    --border: #262630;
    --gradient: linear-gradient(90deg, #FF0066 0%, #FF6B00 100%);
}

* { margin: 0; padding: 0; box-sizing: border-box; }

body {
    font-family: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, sans-serif;
    background: var(--bg);
    color: var(--text);
    line-height: 1.55;
    overflow-x: hidden;
}

a { color: inherit; }
img { max-width: 100%; }

.container { max-width: 1200px; margin: 0 auto; padding: 0 16px; }
@media (min-width: 720px) { .container { padding: 0 24px; } }

.site-header { padding: 18px 0; border-bottom: 1px solid var(--border); }
.nav { display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.brand img { display: block; width: 40px; height: 40px; border-radius: 10px; }
.nav-links { display: flex; align-items: center; gap: 14px; font-weight: 600; font-size: 0.95rem; }
.nav-links a { text-decoration: none; color: var(--muted); }
.nav-links a:hover { color: var(--text); }
.nav-links .btn-small { color: #fff; background: var(--gradient); padding: 8px 16px; border-radius: 999px; }

.page-head { padding: 48px 16px 8px; }
.eyebrow { color: var(--orange); font-weight: 700; text-transform: uppercase; letter-spacing: 0.08em; font-size: 0.8rem; }
h1 { font-size: clamp(1.8rem, 5vw, 3rem); line-height: 1.15; font-weight: 800; margin: 8px 0 12px; }
.lead { color: var(--muted); max-width: 680px; font-size: 1.05rem; }
.search {
    margin-top: 24px; width: 100%; max-width: 420px; padding: 12px 16px; border-radius: 12px;
    border: 1px solid var(--border); background: var(--card); color: var(--text); font: inherit;
}
.section-title { font-size: 1.4rem; font-weight: 800; margin: 40px 0 16px; }

.festival-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 16px; }
.festival-card {
    display: flex; gap: 16px; align-items: center; padding: 16px; border-radius: 18px;
    background: var(--card); border: 1px solid var(--border); text-decoration: none; transition: background .2s, transform .2s;
}
.festival-card:hover { background: var(--card-hover); transform: translateY(-2px); }
.festival-card[hidden] { display: none; }
.festival-card-logo, .festival-hero-logo {
    flex: none; display: grid; place-items: center; border-radius: 14px; background: #000; overflow: hidden;
}
.festival-card-logo { width: 84px; height: 84px; }
.festival-card-logo img, .festival-hero-logo img { width: 88%; height: 88%; object-fit: contain; }
.festival-card-logo span, .festival-hero-logo span { font-weight: 800; font-size: 1.6rem; color: var(--orange); }
.festival-card h3 { font-size: 1.05rem; line-height: 1.25; }
.festival-card-date { color: var(--orange); font-weight: 600; font-size: 0.9rem; }
.festival-card-venue, .festival-card-meta { color: var(--muted); font-size: 0.85rem; }
.empty-search { color: var(--muted); margin-top: 16px; }

.festival-hero { padding-top: 24px; }
.back { color: var(--muted); text-decoration: none; font-size: 0.9rem; }
.festival-hero-grid { display: flex; flex-wrap: wrap; gap: 24px; align-items: center; margin-top: 16px; }
.festival-hero-logo { width: 140px; height: 140px; border-radius: 24px; }
.festival-hero-date { color: var(--orange); font-weight: 700; font-size: 1.1rem; }
.festival-hero-venue { color: var(--muted); }
.actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 16px; }
.btn {
    display: inline-block; padding: 10px 18px; border-radius: 999px; border: 1px solid var(--border);
    background: var(--card); text-decoration: none; font-weight: 700; font-size: 0.95rem;
}
.btn:hover { background: var(--card-hover); }
.btn-primary { background: var(--gradient); border-color: transparent; }
.jump-links { display: flex; flex-wrap: wrap; gap: 16px; margin-top: 28px; padding-bottom: 12px; border-bottom: 1px solid var(--border); }
.jump-links a { color: var(--muted); text-decoration: none; font-weight: 600; }
.jump-links a:hover { color: var(--text); }

.note { color: var(--muted); margin-bottom: 16px; }
.day-tabs { display: flex; gap: 8px; overflow-x: auto; padding-bottom: 8px; margin-bottom: 16px; }
.day-tab {
    flex: none; padding: 8px 16px; border-radius: 999px; border: 1px solid var(--border);
    background: var(--card); color: var(--muted); font: inherit; font-weight: 700; cursor: pointer;
}
.day-tab.active { background: var(--gradient); color: #fff; border-color: transparent; }
.day-title { font-size: 1.1rem; margin: 24px 0 12px; }
html.js .day-title { display: none; }
html.js .day-panel { display: none; }
html.js .day-panel.active { display: block; }
html:not(.js) .day-tabs { display: none; }

.schedule { list-style: none; display: grid; gap: 8px; }
.schedule li {
    display: grid; grid-template-columns: 52px 40px 1fr; align-items: center; gap: 4px 12px;
    padding: 10px 14px; background: var(--card); border: 1px solid var(--border); border-radius: 14px;
}
.schedule .time { font-weight: 800; font-variant-numeric: tabular-nums; }
.schedule .who { font-weight: 700; min-width: 0; overflow-wrap: anywhere; }
.schedule .stage { grid-column: 3; justify-self: start; }
@media (min-width: 720px) {
    .schedule li { grid-template-columns: 60px 40px 1fr auto; }
    .schedule .stage { grid-column: auto; justify-self: end; }
}
.stage {
    font-size: 0.78rem; font-weight: 700; padding: 3px 10px; border-radius: 999px;
    color: var(--stage); border: 1px solid var(--stage); background: color-mix(in srgb, var(--stage) 14%, transparent);
}
.lineup { list-style: none; display: flex; flex-wrap: wrap; gap: 8px; }
.lineup li { padding: 8px 14px; border-radius: 999px; background: var(--card); border: 1px solid var(--border); font-weight: 700; }

.avatar { width: 96px; height: 96px; border-radius: 50%; object-fit: cover; background: var(--card-hover); display: grid; place-items: center; }
.avatar.small { width: 40px; height: 40px; }
.avatar-initials { color: var(--orange); font-weight: 800; }
.avatar.small.avatar-initials { font-size: 0.8rem; }

.artist-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 12px; }
.artist-grid > *, .festival-grid > *, .schedule li > * { min-width: 0; }
.artist-card {
    display: flex; flex-direction: column; align-items: center; text-align: center; gap: 8px;
    padding: 18px 12px; background: var(--card); border: 1px solid var(--border); border-radius: 18px;
}
.artist-card h3 { font-size: 0.95rem; line-height: 1.25; overflow-wrap: anywhere; }
.albums { color: var(--muted); font-size: 0.78rem; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.spotify { color: #1ED760; font-size: 0.82rem; font-weight: 700; text-decoration: none; margin-top: auto; }
.poster { display: block; max-width: 560px; width: 100%; border-radius: 18px; border: 1px solid var(--border); }

.app-banner {
    display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px;
    margin: 48px 0 8px; padding: 22px; border-radius: 20px; background: var(--card);
    border: 1px solid var(--border); background-image: radial-gradient(circle at 0 0, rgba(255, 0, 102, .18), transparent 60%);
}
.app-banner strong { display: block; font-size: 1.15rem; }
.app-banner span { color: var(--muted); font-size: 0.95rem; }
.store-links { display: flex; gap: 10px; flex-wrap: wrap; }
.store-links a { padding: 10px 18px; border-radius: 999px; background: var(--gradient); text-decoration: none; font-weight: 700; }

.site-footer { margin-top: 64px; padding: 32px 0; border-top: 1px solid var(--border); color: var(--muted); font-size: 0.9rem; }
.footer-inner { display: grid; gap: 10px; }
.footer-inner nav { display: flex; flex-wrap: wrap; gap: 16px; }
.footer-inner a { text-decoration: none; }
.footer-inner a:hover { color: var(--text); }
.footer-note { font-size: 0.8rem; }

/* Artistas */
.artist-card { text-decoration: none; transition: background .2s, transform .2s; }
a.artist-card:hover { background: var(--card-hover); transform: translateY(-2px); }
.schedule a.who, .lineup a { text-decoration: none; }
.schedule a.who:hover, .lineup a:hover { color: var(--orange); }
.festival-card.is-past { opacity: .75; }
.festival-card.is-past:hover { background: var(--card); transform: none; }

.artist-hero { padding-top: 24px; }
.artist-hero-grid { display: flex; flex-wrap: wrap; gap: 28px; align-items: flex-start; margin-top: 16px; }
.artist-hero-grid > div { flex: 1 1 320px; min-width: 0; }
.artist-photo {
    flex: none; width: 220px; height: 220px; border-radius: 24px; object-fit: cover;
    background: var(--card-hover); display: grid; place-items: center; font-size: 3rem;
}
@media (max-width: 520px) { .artist-photo { width: 160px; height: 160px; } }
.artist-bio { color: #D4D4DC; max-width: 720px; font-size: 1.02rem; }
.bio-source { color: var(--muted); font-size: 0.8rem; margin-top: 6px; }
.btn-spotify { background: #1ED760; color: #000; border-color: transparent; }
.btn-spotify:hover { background: #3BE477; }

.release-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(140px, 1fr)); gap: 14px; }
.release { display: flex; flex-direction: column; gap: 4px; text-decoration: none; min-width: 0; }
.release img { width: 100%; aspect-ratio: 1; object-fit: cover; border-radius: 12px; background: var(--card); }
.release strong { font-size: 0.88rem; line-height: 1.25; overflow-wrap: anywhere; }
.release span { color: var(--muted); font-size: 0.8rem; }
