/* =============================================
   HISTORIAS EN VINILO — Tema Vivo y Colorido
   ============================================= */

@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:ital,wght@0,400;0,700;1,400&family=Inter:wght@300;400;500;600;700;800&display=swap');

:root {
    /* Fondo claro */
    --bg:      #f7f4f0;
    --bg2:     #eeebe6;
    --card:    #ffffff;
    --borde:   #e0d8d0;
    --borde2:  #ccc4ba;

    /* Texto */
    --text:    #1a1a1a;
    --text2:   #555555;
    --text3:   #888888;

    /* Colores VIVOS */
    --rojo:    #e8002d;
    --rojo2:   #ff1744;
    --naranja: #ff6600;
    --naranja2:#ff8833;
    --amarillo:#ffc800;
    --amarillo2:#ffd740;
    --verde:   #00b341;
    --verde2:  #00e676;
    --teal:    #00b8d4;
    --teal2:   #40d4e8;
    --azul:    #1565c0;
    --azul2:   #1e88e5;
    --morado:  #8e24aa;
    --morado2: #ab47bc;
    --rosa:    #e91e63;
    --rosa2:   #f06292;

    --radio: 10px;
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
    background: var(--bg);
    color: var(--text);
    font-family: 'Inter', sans-serif;
    font-size: 16px;
    line-height: 1.6;
    min-height: 100vh;
}

a { color: var(--azul); text-decoration: none; transition: color .2s; }
a:hover { color: var(--rojo); }

/* ===============================================
   HEADER
   =============================================== */
.site-header {
    background: var(--text);
    border-bottom: 4px solid transparent;
    border-image: linear-gradient(90deg, var(--rojo), var(--naranja), var(--amarillo), var(--verde), var(--teal), var(--azul), var(--morado), var(--rosa)) 1;
    position: sticky;
    top: 0;
    z-index: 100;
    box-shadow: 0 2px 12px rgba(0,0,0,.25);
}

.header-inner {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 24px;
    display: flex;
    align-items: center;
    gap: 28px;
    height: 68px;
}

.logo {
    display: flex;
    align-items: center;
    gap: 12px;
    flex-shrink: 0;
    text-decoration: none;
}

.logo-icon {
    width: 38px;
    height: 38px;
    background: conic-gradient(var(--rojo), var(--naranja), var(--amarillo), var(--verde), var(--teal), var(--azul), var(--morado), var(--rosa), var(--rojo));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    animation: spin 6s linear infinite;
    flex-shrink: 0;
    box-shadow: 0 0 20px rgba(255,100,0,.5);
}

.logo-icon::after {
    content: '';
    width: 12px;
    height: 12px;
    background: var(--text);
    border-radius: 50%;
    position: absolute;
}

@keyframes spin { from { transform: rotate(0deg); } to { transform: rotate(360deg); } }

.logo-text {
    font-family: 'Playfair Display', serif;
    font-size: 1.15rem;
    color: #fff;
    line-height: 1.2;
}

.logo-text span {
    display: block;
    font-size: 0.6rem;
    background: linear-gradient(90deg, var(--amarillo), var(--naranja));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    font-family: 'Inter', sans-serif;
    font-weight: 800;
    letter-spacing: 0.2em;
    text-transform: uppercase;
}

/* BUSCADOR HEADER */
.header-search { flex: 1; max-width: 560px; }

.search-form {
    display: flex;
    background: rgba(255,255,255,.1);
    border: 1.5px solid rgba(255,255,255,.2);
    border-radius: 50px;
    overflow: hidden;
    transition: border-color .2s, box-shadow .2s;
}

.search-form:focus-within {
    border-color: var(--amarillo);
    box-shadow: 0 0 0 3px rgba(255,200,0,.25);
}

.search-form input {
    flex: 1;
    background: transparent;
    border: none;
    padding: 10px 18px;
    color: #fff;
    font-size: 0.88rem;
    font-family: 'Inter', sans-serif;
    outline: none;
}

.search-form input::placeholder { color: rgba(255,255,255,.4); }

.search-form button {
    background: linear-gradient(135deg, var(--naranja), var(--amarillo));
    border: none;
    padding: 10px 22px;
    color: #111;
    cursor: pointer;
    font-weight: 800;
    font-size: 0.82rem;
    letter-spacing: 0.04em;
    transition: opacity .2s;
    white-space: nowrap;
}

.search-form button:hover { opacity: .85; }

/* NAV */
.header-nav { margin-left: auto; display: flex; align-items: center; gap: 4px; }

.header-nav a {
    color: rgba(255,255,255,.75);
    font-size: 0.82rem;
    font-weight: 600;
    padding: 7px 16px;
    border-radius: 20px;
    transition: all .2s;
    text-decoration: none;
    border: 1px solid transparent;
}

.header-nav a:hover {
    background: rgba(255,200,0,.15);
    border-color: rgba(255,200,0,.4);
    color: var(--amarillo);
}

/* ===============================================
   HERO
   =============================================== */
.hero {
    background: linear-gradient(135deg, #1a0a00 0%, #0d0020 35%, #001a30 70%, #0a001a 100%);
    padding: 100px 24px 90px;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background:
        radial-gradient(ellipse at 10% 30%, rgba(255,100,0,.35) 0%, transparent 45%),
        radial-gradient(ellipse at 90% 20%, rgba(142,36,170,.3) 0%, transparent 45%),
        radial-gradient(ellipse at 60% 90%, rgba(0,184,212,.25) 0%, transparent 50%),
        radial-gradient(ellipse at 30% 80%, rgba(232,0,45,.2) 0%, transparent 40%),
        radial-gradient(ellipse at 80% 70%, rgba(255,200,0,.2) 0%, transparent 40%);
    pointer-events: none;
}

.hero::after {
    content: '';
    position: absolute;
    width: 500px;
    height: 500px;
    border-radius: 50%;
    border: 1px solid rgba(255,255,255,.06);
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    pointer-events: none;
    box-shadow: 0 0 0 100px rgba(255,255,255,.02), 0 0 0 200px rgba(255,255,255,.01);
}

.hero-title {
    font-family: 'Playfair Display', serif;
    font-size: clamp(2.5rem, 6vw, 5rem);
    color: #fff;
    margin-bottom: 18px;
    position: relative;
    z-index: 1;
    text-shadow: 0 4px 30px rgba(0,0,0,.5);
}

.hero-title em {
    font-style: italic;
    background: linear-gradient(90deg, var(--naranja), var(--amarillo), var(--verde2));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-sub {
    font-size: 1.1rem;
    color: rgba(255,255,255,.65);
    max-width: 460px;
    margin: 0 auto 48px;
    position: relative;
    z-index: 1;
}

.hero-search {
    max-width: 560px;
    margin: 0 auto;
    position: relative;
    z-index: 1;
}

.hero-search .search-form {
    background: rgba(255,255,255,.08);
    box-shadow: 0 8px 40px rgba(0,0,0,.4);
    border-color: rgba(255,255,255,.15);
}

.hero-search .search-form input { padding: 16px 24px; font-size: 1rem; }
.hero-search .search-form button { padding: 16px 28px; font-size: 0.95rem; }

/* STATS */
.hero-stats {
    display: flex;
    gap: 0;
    justify-content: center;
    margin-top: 52px;
    position: relative;
    z-index: 1;
}

.hero-stat {
    padding: 20px 44px;
    border-right: 1px solid rgba(255,255,255,.1);
}

.hero-stat:last-child { border-right: none; }

.hero-stat strong {
    display: block;
    font-family: 'Playfair Display', serif;
    font-size: 2.8rem;
    line-height: 1;
    margin-bottom: 6px;
    font-weight: 700;
}

.hero-stat:nth-child(1) strong { color: var(--amarillo); text-shadow: 0 0 24px rgba(255,200,0,.5); }
.hero-stat:nth-child(2) strong { color: var(--teal2);    text-shadow: 0 0 24px rgba(0,184,212,.5); }
.hero-stat:nth-child(3) strong { color: var(--rosa2);    text-shadow: 0 0 24px rgba(233,30,99,.5); }

.hero-stat span {
    font-size: 0.68rem;
    color: rgba(255,255,255,.45);
    text-transform: uppercase;
    letter-spacing: 0.18em;
    font-weight: 700;
}

/* ===============================================
   CONTAINER / SECCIONES
   =============================================== */
.container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 24px;
}

.section { padding: 60px 0; }

.section-header {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-bottom: 28px;
    padding-bottom: 16px;
    border-bottom: 2px solid var(--borde);
}

.section-title {
    font-family: 'Playfair Display', serif;
    font-size: 1.7rem;
    color: var(--text);
    display: flex;
    align-items: center;
    gap: 12px;
}

.section-title::before {
    content: '';
    display: inline-block;
    width: 5px;
    height: 1.1em;
    background: linear-gradient(180deg, var(--rojo), var(--naranja));
    border-radius: 3px;
    flex-shrink: 0;
    vertical-align: middle;
}

.section-count {
    color: var(--naranja);
    font-size: 0.82rem;
    font-weight: 700;
    background: rgba(255,102,0,.1);
    padding: 4px 12px;
    border-radius: 50px;
    border: 1.5px solid rgba(255,102,0,.25);
    margin-left: auto;
}

/* ===============================================
   FILTROS ALFABÉTICOS
   =============================================== */
.alpha-filter {
    display: flex;
    flex-wrap: wrap;
    gap: 5px;
    margin-bottom: 36px;
    padding: 16px;
    background: var(--card);
    border: 1.5px solid var(--borde);
    border-radius: 14px;
    box-shadow: 0 2px 8px rgba(0,0,0,.06);
}

.alpha-btn {
    min-width: 34px;
    height: 34px;
    padding: 0 8px;
    background: var(--bg);
    border: 1.5px solid var(--borde);
    border-radius: 7px;
    color: var(--text2);
    font-size: 0.8rem;
    font-weight: 700;
    cursor: pointer;
    transition: all .15s;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
}

.alpha-btn[href*="letra=A"],.alpha-btn[href*="letra=B"],.alpha-btn[href*="letra=C"],.alpha-btn[href*="letra=D"] { color: var(--rojo); border-color: rgba(232,0,45,.3); background: rgba(232,0,45,.06); }
.alpha-btn[href*="letra=E"],.alpha-btn[href*="letra=F"],.alpha-btn[href*="letra=G"],.alpha-btn[href*="letra=H"] { color: var(--naranja); border-color: rgba(255,102,0,.3); background: rgba(255,102,0,.06); }
.alpha-btn[href*="letra=I"],.alpha-btn[href*="letra=J"],.alpha-btn[href*="letra=K"],.alpha-btn[href*="letra=L"] { color: #c07000; border-color: rgba(255,200,0,.4); background: rgba(255,200,0,.08); }
.alpha-btn[href*="letra=M"],.alpha-btn[href*="letra=N"],.alpha-btn[href*="letra=O"],.alpha-btn[href*="letra=P"] { color: var(--verde); border-color: rgba(0,179,65,.3); background: rgba(0,179,65,.06); }
.alpha-btn[href*="letra=Q"],.alpha-btn[href*="letra=R"],.alpha-btn[href*="letra=S"],.alpha-btn[href*="letra=T"] { color: var(--azul); border-color: rgba(21,101,192,.3); background: rgba(21,101,192,.06); }
.alpha-btn[href*="letra=U"],.alpha-btn[href*="letra=V"],.alpha-btn[href*="letra=W"],.alpha-btn[href*="letra=X"],.alpha-btn[href*="letra=Y"],.alpha-btn[href*="letra=Z"] { color: var(--morado); border-color: rgba(142,36,170,.3); background: rgba(142,36,170,.06); }

.alpha-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0,0,0,.15);
}

.alpha-btn.active, .alpha-btn:hover {
    color: #fff !important;
    border-color: var(--rojo) !important;
    background: var(--rojo) !important;
    box-shadow: 0 4px 14px rgba(232,0,45,.4) !important;
}

/* ===============================================
   GRID DE ÁLBUMES
   =============================================== */
.albums-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(175px, 1fr));
    gap: 18px;
}

.album-card {
    background: var(--card);
    border: 1.5px solid var(--borde);
    border-radius: 12px;
    overflow: hidden;
    transition: transform .22s, box-shadow .22s;
    cursor: pointer;
    text-decoration: none;
    color: inherit;
    display: block;
    position: relative;
    box-shadow: 0 2px 8px rgba(0,0,0,.07);
}

/* Borde superior de colores */
.album-card:nth-child(6n+1) { border-top: 4px solid var(--rojo); }
.album-card:nth-child(6n+2) { border-top: 4px solid var(--naranja); }
.album-card:nth-child(6n+3) { border-top: 4px solid var(--amarillo); }
.album-card:nth-child(6n+4) { border-top: 4px solid var(--verde); }
.album-card:nth-child(6n+5) { border-top: 4px solid var(--azul); }
.album-card:nth-child(6n+6) { border-top: 4px solid var(--morado); }

.album-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 16px 40px rgba(0,0,0,.16);
    color: inherit;
    border-color: var(--borde2);
}

.album-cover {
    width: 100%;
    aspect-ratio: 1;
    background: var(--bg2);
    position: relative;
    overflow: hidden;
}

.album-cover img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform .35s;
}

.album-card:hover .album-cover img { transform: scale(1.06); }

.cover-placeholder {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, var(--bg2) 0%, var(--borde) 100%);
}

.cover-placeholder .vinyl-icon {
    width: 64px;
    height: 64px;
    border-radius: 50%;
    background:
        radial-gradient(circle at 50% 50%, #333 18%, transparent 18%),
        repeating-radial-gradient(circle at 50% 50%, transparent 0, transparent 4px, rgba(0,0,0,.05) 4px, rgba(0,0,0,.05) 5px);
    background-color: #999;
    border: 1px solid #bbb;
    opacity: .4;
}

.album-info { padding: 11px 13px 14px; }

.album-artist {
    font-size: 0.68rem;
    color: var(--rojo);
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    margin-bottom: 4px;
}

.album-title {
    font-family: 'Playfair Display', serif;
    font-size: 0.9rem;
    color: var(--text);
    line-height: 1.3;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

/* ===============================================
   SIDEBAR DE ARTISTAS
   =============================================== */
.layout-split {
    display: grid;
    grid-template-columns: 1fr 270px;
    gap: 32px;
    align-items: start;
}

.artists-sidebar {
    background: var(--card);
    border: 1.5px solid var(--borde);
    border-radius: 12px;
    overflow: hidden;
    position: sticky;
    top: 88px;
    max-height: calc(100vh - 108px);
    overflow-y: auto;
    box-shadow: 0 2px 12px rgba(0,0,0,.07);
}

.artists-sidebar::-webkit-scrollbar { width: 5px; }
.artists-sidebar::-webkit-scrollbar-track { background: var(--bg); }
.artists-sidebar::-webkit-scrollbar-thumb { background: var(--borde2); border-radius: 3px; }

.sidebar-title {
    padding: 14px 18px;
    font-size: 0.68rem;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    color: var(--card);
    background: linear-gradient(135deg, var(--azul), var(--teal));
    font-weight: 800;
    position: sticky;
    top: 0;
}

.artist-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 9px 18px;
    border-bottom: 1px solid var(--borde);
    transition: background .12s;
    text-decoration: none;
    color: inherit;
}

.artist-item:hover { background: var(--bg); }

.artist-item.active {
    background: rgba(232,0,45,.05);
    border-left: 3px solid var(--rojo);
}

.artist-name {
    font-size: 0.8rem;
    color: var(--text);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    flex: 1;
}

.artist-count {
    font-size: 0.68rem;
    background: var(--bg2);
    color: var(--text3);
    padding: 2px 8px;
    border-radius: 50px;
    margin-left: 8px;
    flex-shrink: 0;
    font-weight: 700;
}

/* ===============================================
   PÁGINA DE BÚSQUEDA
   =============================================== */
.search-results-header { padding: 40px 0 0; }

.search-query {
    font-family: 'Playfair Display', serif;
    font-size: 1.8rem;
    margin-bottom: 10px;
    color: var(--text);
}

.search-query em { color: var(--rojo); font-style: italic; }

.results-meta {
    color: var(--text3);
    font-size: 0.82rem;
    margin-bottom: 28px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.results-meta::before {
    content: '';
    display: inline-block;
    width: 8px;
    height: 8px;
    background: var(--verde);
    border-radius: 50%;
    flex-shrink: 0;
}

.no-results {
    text-align: center;
    padding: 80px 0;
    color: var(--text3);
}

.no-results .icon { font-size: 4rem; margin-bottom: 16px; display: block; }
.no-results h3 { font-family: 'Playfair Display', serif; font-size: 1.4rem; color: var(--text2); margin-bottom: 8px; }

/* ===============================================
   PÁGINA VINILO INDIVIDUAL
   =============================================== */
.vinilo-page { padding: 50px 0 80px; }

.back-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: var(--text2);
    font-size: 0.82rem;
    margin-bottom: 36px;
    transition: all .2s;
    text-decoration: none;
    padding: 8px 18px;
    border: 1.5px solid var(--borde);
    border-radius: 20px;
    background: var(--card);
    font-weight: 600;
}

.back-link:hover {
    color: var(--rojo);
    border-color: var(--rojo);
    background: rgba(232,0,45,.05);
}

.vinilo-layout {
    display: grid;
    grid-template-columns: 340px 1fr;
    gap: 56px;
    align-items: start;
}

.vinilo-cover-wrap { position: sticky; top: 88px; }

.vinilo-cover {
    aspect-ratio: 1;
    border-radius: 14px;
    overflow: hidden;
    box-shadow: 0 20px 60px rgba(0,0,0,.2);
    border: 2px solid var(--borde);
}

.vinilo-cover img { width: 100%; height: 100%; object-fit: cover; display: block; }

.vinilo-cover-placeholder {
    width: 100%;
    height: 100%;
    background: var(--bg2);
    display: flex;
    align-items: center;
    justify-content: center;
}

.vinyl-big {
    width: 200px;
    height: 200px;
    border-radius: 50%;
    background:
        radial-gradient(circle at 50% 50%, #333 15%, transparent 15%),
        repeating-radial-gradient(circle at 50% 50%, transparent 0, transparent 5px, rgba(0,0,0,.05) 5px, rgba(0,0,0,.05) 6px);
    background-color: #bbb;
    border: 2px solid #ddd;
    animation: spin 6s linear infinite;
}

.vinilo-info { padding-top: 4px; }

.vinilo-genre {
    font-size: 0.68rem;
    text-transform: uppercase;
    letter-spacing: 0.2em;
    color: var(--teal);
    font-weight: 800;
    margin-bottom: 14px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.vinilo-genre::before { content: '◆'; color: var(--naranja); font-size: 0.6rem; }

.vinilo-album-title {
    font-family: 'Playfair Display', serif;
    font-size: clamp(1.8rem, 4vw, 3rem);
    line-height: 1.1;
    margin-bottom: 12px;
    color: var(--text);
}

.vinilo-artist-name {
    font-size: 1.15rem;
    color: var(--rojo);
    margin-bottom: 32px;
    font-weight: 700;
}

.vinilo-meta-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1px;
    background: var(--borde);
    border: 1.5px solid var(--borde);
    border-radius: 12px;
    overflow: hidden;
    margin-bottom: 32px;
}

.meta-item {
    background: var(--card);
    padding: 16px 20px;
}

.meta-item label {
    display: block;
    font-size: 0.62rem;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    color: var(--text3);
    margin-bottom: 5px;
    font-weight: 700;
}

.meta-item span { font-size: 0.9rem; color: var(--text); font-weight: 500; }

/* ===============================================
   AUTOCOMPLETE
   =============================================== */
.autocomplete-wrapper { position: relative; }

.autocomplete-dropdown {
    position: absolute;
    top: calc(100% + 8px);
    left: 0;
    right: 0;
    background: var(--card);
    border: 1.5px solid var(--naranja);
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 16px 48px rgba(0,0,0,.2);
    z-index: 200;
    display: none;
}

.autocomplete-dropdown.open { display: block; }

.autocomplete-item {
    padding: 11px 18px;
    cursor: pointer;
    border-bottom: 1px solid var(--borde);
    display: flex;
    align-items: center;
    gap: 12px;
    transition: background .12s;
}

.autocomplete-item:last-child { border-bottom: none; }
.autocomplete-item:hover, .autocomplete-item.selected { background: var(--bg); }

.autocomplete-cover {
    width: 38px;
    height: 38px;
    border-radius: 6px;
    object-fit: cover;
    background: var(--bg2);
    flex-shrink: 0;
    border: 1px solid var(--borde);
}

.autocomplete-cover-ph {
    width: 38px;
    height: 38px;
    border-radius: 6px;
    background: var(--bg2);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    font-size: 1.2rem;
}

.autocomplete-text strong { display: block; font-size: 0.85rem; color: var(--text); }
.autocomplete-text span { font-size: 0.72rem; color: var(--text3); }

/* ===============================================
   BADGES
   =============================================== */
.badge {
    display: inline-flex;
    align-items: center;
    padding: 3px 10px;
    border-radius: 50px;
    font-size: 0.65rem;
    font-weight: 800;
    letter-spacing: 0.06em;
    text-transform: uppercase;
}

.badge-gold   { background: rgba(255,200,0,.15);  color: #c07000; border: 1px solid rgba(255,200,0,.4); }
.badge-orange { background: rgba(255,102,0,.12);  color: var(--naranja); border: 1px solid rgba(255,102,0,.3); }
.badge-teal   { background: rgba(0,184,212,.12);  color: var(--teal);    border: 1px solid rgba(0,184,212,.3); }
.badge-gray   { background: var(--bg2); color: var(--text3); border: 1px solid var(--borde2); }

.tag-notas { background: rgba(0,184,212,.12); color: var(--teal);    border: 1px solid rgba(0,184,212,.35); }
.tag-blog  { background: rgba(142,36,170,.12); color: var(--morado); border: 1px solid rgba(142,36,170,.35); }
.tag-fotos { background: rgba(255,102,0,.12);  color: var(--naranja);border: 1px solid rgba(255,102,0,.35); }

/* ===============================================
   CTA BUTTON
   =============================================== */
.btn-cta {
    display: inline-block;
    padding: 15px 42px;
    background: linear-gradient(135deg, var(--rojo), var(--naranja));
    border: none;
    color: #fff;
    border-radius: 50px;
    font-size: 0.92rem;
    font-weight: 800;
    letter-spacing: 0.06em;
    transition: all .22s;
    text-decoration: none;
    box-shadow: 0 4px 20px rgba(232,0,45,.3);
}

.btn-cta:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 32px rgba(232,0,45,.45);
    color: #fff;
    opacity: .92;
}

/* ===============================================
   FOOTER
   =============================================== */
.site-footer {
    background: var(--text);
    border-top: 4px solid transparent;
    border-image: linear-gradient(90deg, var(--rojo), var(--naranja), var(--amarillo), var(--verde), var(--teal), var(--azul), var(--morado), var(--rosa)) 1;
    padding: 36px 0;
    margin-top: 80px;
    text-align: center;
    color: rgba(255,255,255,.4);
    font-size: 0.8rem;
}

.site-footer strong {
    background: linear-gradient(90deg, var(--naranja), var(--amarillo));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    font-weight: 800;
}

.footer-links {
    display: flex;
    gap: 24px;
    justify-content: center;
    margin-top: 12px;
}

.footer-links a {
    color: rgba(255,255,255,.35);
    font-size: 0.78rem;
    transition: color .2s;
    text-decoration: none;
}

.footer-links a:hover { color: var(--teal); }

/* ===============================================
   FORMULARIO CONTACTO
   =============================================== */
.contacto-form-wrap { max-width: 600px; margin: 0 auto; padding: 40px 0 80px; }

.form-group { margin-bottom: 20px; }

.form-group label {
    display: block;
    font-size: 0.72rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    color: var(--text2);
    margin-bottom: 8px;
}

.form-group input,
.form-group textarea {
    width: 100%;
    background: var(--card);
    border: 1.5px solid var(--borde);
    border-radius: var(--radio);
    padding: 12px 16px;
    color: var(--text);
    font-size: 0.9rem;
    font-family: 'Inter', sans-serif;
    transition: border-color .2s, box-shadow .2s;
    outline: none;
}

.form-group input:focus,
.form-group textarea:focus {
    border-color: var(--rojo);
    box-shadow: 0 0 0 3px rgba(232,0,45,.12);
}

.form-group textarea { resize: vertical; min-height: 130px; }

.btn-submit {
    background: linear-gradient(135deg, var(--rojo), var(--naranja));
    color: #fff;
    border: none;
    border-radius: 50px;
    padding: 14px 40px;
    font-size: 0.95rem;
    font-weight: 800;
    cursor: pointer;
    transition: all .2s;
    box-shadow: 0 4px 16px rgba(232,0,45,.3);
}

.btn-submit:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 28px rgba(232,0,45,.4);
}

.alert-success {
    background: rgba(0,179,65,.1);
    border: 1.5px solid rgba(0,179,65,.3);
    color: #006b26;
    border-radius: 10px;
    padding: 16px 20px;
    margin-bottom: 24px;
    font-size: 0.9rem;
    font-weight: 600;
}

.alert-error {
    background: rgba(232,0,45,.08);
    border: 1.5px solid rgba(232,0,45,.25);
    color: var(--rojo);
    border-radius: 10px;
    padding: 16px 20px;
    margin-bottom: 24px;
    font-size: 0.9rem;
    font-weight: 600;
}

/* ===============================================
   SPINNER
   =============================================== */
.spinner {
    width: 32px;
    height: 32px;
    border: 3px solid var(--borde);
    border-top-color: var(--rojo);
    border-radius: 50%;
    animation: spin .7s linear infinite;
    margin: 40px auto;
}

/* ===============================================
   RESPONSIVE
   =============================================== */
@media (max-width: 1100px) {
    .layout-split { grid-template-columns: 1fr; }
    .artists-sidebar { position: static; max-height: 300px; }
    .vinilo-layout { grid-template-columns: 260px 1fr; gap: 36px; }
}

@media (max-width: 768px) {
    .header-inner { gap: 14px; height: auto; padding: 12px 16px; flex-wrap: wrap; }
    .header-search { order: 3; flex: 0 0 100%; max-width: 100%; }
    .hero { padding: 60px 16px 50px; }
    .hero-stats { flex-wrap: wrap; }
    .hero-stat { padding: 14px 20px; flex: 1 1 33%; }
    .albums-grid { grid-template-columns: repeat(auto-fill, minmax(148px, 1fr)); gap: 13px; }
    .vinilo-layout { grid-template-columns: 1fr; }
    .vinilo-cover-wrap { position: static; }
    .vinilo-meta-grid { grid-template-columns: 1fr 1fr; }
    .container { padding: 0 16px; }
    .alpha-filter { padding: 12px; }
}

@media (max-width: 480px) {
    .albums-grid { grid-template-columns: repeat(2, 1fr); gap: 11px; }
    .hero-stat { flex: 1 1 50%; }
    .alpha-btn { width: 30px; height: 30px; min-width: 30px; font-size: 0.72rem; }
    .vinilo-meta-grid { grid-template-columns: 1fr; }
}
