/* ============ HERO (estilo era) ============ */
.fans-hero .fans-hero-text {
    margin-top: 22px;
    font-size: clamp(16px, 4vw, 20px);
    font-weight: 300;
    color: var(--fg-dim);
    max-width: 560px;
    line-height: 1.5;
}

/* ============ GALERÍA (masonry por columnas) ============ */
.fans-main {
    max-width: 1500px;
    margin: 0 auto;
    padding: 40px 18px 90px;
}

.fans-grid {
    column-count: 2;
    column-gap: 14px;
}
@media (min-width: 700px)  { .fans-grid { column-count: 3; column-gap: 16px; } }
@media (min-width: 1100px) { .fans-grid { column-count: 4; } }
@media (min-width: 1500px) { .fans-grid { column-count: 5; } }

.fan-tile {
    position: relative;
    display: block;
    break-inside: avoid;
    margin-bottom: 14px;
    border-radius: 16px;
    overflow: hidden;
    background: #161616;
    box-shadow: 0 10px 24px rgba(0,0,0,0.35);
    transition: transform 0.35s var(--ease), box-shadow 0.35s var(--ease);
}
.fan-tile:hover {
    transform: translateY(-3px);
    box-shadow: 0 18px 40px rgba(0,0,0,0.5);
}

.fan-el {
    width: 100%;
    height: auto;
    display: block;
    object-fit: cover;
}

/* Placeholder mientras el video aún no se monta (lazy) */
.fan-ph {
    width: 100%;
    aspect-ratio: 9 / 16;
    background: linear-gradient(135deg, #1d1d1d, #121212);
    position: relative;
}
.fan-ph::after {
    content: "▶";
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 26px;
    color: rgba(255,255,255,0.18);
}

/* Badge de play sobre la miniatura de un video (antes de montarse) */
.fan-play {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 46px;
    height: 46px;
    border-radius: 50%;
    background: rgba(0,0,0,0.45);
    border: 1px solid rgba(255,255,255,0.5);
    -webkit-backdrop-filter: blur(4px);
    backdrop-filter: blur(4px);
    pointer-events: none;
}
.fan-play::after {
    content: "";
    position: absolute;
    top: 50%;
    left: 54%;
    transform: translate(-50%, -50%);
    border-style: solid;
    border-width: 8px 0 8px 13px;
    border-color: transparent transparent transparent #fff;
}

/* Caption sobre el medio */
.fan-cap {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    padding: 22px 12px 10px;
    font-family: 'Inter', sans-serif;
    font-size: 12px;
    font-weight: 500;
    line-height: 1.35;
    color: #fff;
    background: linear-gradient(180deg, transparent, rgba(0,0,0,0.75));
    opacity: 0;
    transform: translateY(6px);
    transition: opacity 0.3s var(--ease), transform 0.3s var(--ease);
    pointer-events: none;
}
.fan-tile:hover .fan-cap { opacity: 1; transform: translateY(0); }

/* ============ ESTADO ============ */
.fans-state {
    padding: 80px 24px;
    text-align: center;
    color: rgba(255,255,255,0.45);
    font-size: 13px;
    letter-spacing: 0.05em;
    text-transform: uppercase;
}

/* En pantallas táctiles el caption se muestra siempre (no hay hover) */
@media (hover: none) {
    .fan-cap { opacity: 1; transform: none; }
}
