/* ============================================================
   08-CREADORES.CSS — Creadores de Contenido (Acordeón + Grid Clásico)
   dimonix.gg
   ============================================================ */

/* ═══════════════════════════════════════════
   A. ACORDEÓN DE CREADORES (creadores.php)
   ═══════════════════════════════════════════ */

.creators-section {
    position: relative;
    width: 100%; height: 100vh;
    overflow: hidden;
    background: #000;
    padding-top: var(--header-height);
}

.creators-title-overlay {
    position: absolute;
    top: 120px; width: 100%;
    text-align: center;
    z-index: 10;
    pointer-events: none;
    text-shadow: 0 0 20px rgba(0,0,0,0.8);
}
.creators-title-overlay h2        { font-size: 3rem; color: #fff; margin-bottom: 5px; }
.creators-title-overlay .text-blue { color: var(--brand-primary); }
.creators-title-overlay p          { color: #ccc; letter-spacing: 2px; text-transform: uppercase; font-size: 0.8rem; }

.creators-accordion { display: flex; width: 100%; height: 100%; }

.creator-strip {
    position: relative;
    flex: 1; height: 100%;
    overflow: hidden;
    transition: flex 0.6s cubic-bezier(0.25, 1, 0.5, 1), filter 0.4s ease;
    border-right: 1px solid rgba(255,255,255,0.1);
    cursor: pointer;
    filter: grayscale(100%) brightness(0.6);
}
.creator-strip:last-child { border-right: none; }

.creator-bg {
    width: 100%; height: 100%;
    object-fit: cover; object-position: center top;
    transition: transform 0.6s ease;
}
.creator-info {
    position: absolute; bottom: 0; left: 0; width: 100%;
    padding: 40px 20px 10px 20px;
    background: linear-gradient(to top, rgba(0,0,0,1) 0%, rgba(0,0,0,0.8) 30%, transparent 100%);
    display: flex; flex-direction: column; align-items: center; text-align: center;
    opacity: 0; transform: translateY(20px);
    transition: all 0.4s ease 0.1s;
}
.creator-info h3       { font-size: 2.5rem; color: #fff; line-height: 1; margin-bottom: 5px; font-style: italic; text-transform: uppercase; }
.creator-info .role    { color: var(--brand-primary); font-weight: 800; letter-spacing: 2px; font-size: 0.9rem; margin-bottom: 15px; }
.creator-info .socials { display: flex; gap: 15px; }
.creator-info .socials a { color: #fff; font-size: 1.2rem; transition: 0.2s; }
.creator-info .socials a:hover { color: var(--brand-primary); transform: scale(1.2); }

.creator-strip:hover        { flex: 3; filter: grayscale(0%) brightness(1); }
.creator-strip:hover .creator-bg   { transform: scale(1.02); }
.creator-strip:hover .creator-info { opacity: 1; transform: translateY(0); }


/* ═══════════════════════════════════════════
   B. GRID CLÁSICO DE CREADORES (contenido.php / ccs.php)
   ═══════════════════════════════════════════ */

.content-wrapper {
    width: 100%; max-width: 1400px;
    margin: 0 auto;
    display: flex; flex-direction: column;
    align-items: center; justify-content: center;
    position: relative; z-index: 2;
}

.creadores-title {
    text-align: center; color: white;
    font-family: "obviously", sans-serif;
    font-weight: 900; font-size: 45px;
    letter-spacing: -1px; margin-bottom: 40px;
    transform: scaleY(0.85);
}

.creadores-grid {
    display: grid;
    grid-template-columns: repeat(3, 340px);
    gap: 35px;
    justify-content: center;
    width: 100%; margin-top: 20px;
}

.creator-card {
    width: 340px; height: 480px;
    position: relative; overflow: hidden;
    border-radius: 24px; border: 3px solid #0a6fdc;
    background: rgba(0,0,0,0.25);
    transition: transform 0.25s ease;
}
.creator-card:hover { transform: translateY(-10px); }

.creator-img              { width: 100%; height: 100%; position: relative; }
.creator-img .img-normal  { width: 100%; height: 100%; object-fit: cover; position: absolute; top: 0; left: 0; opacity: 1; transition: opacity 0.25s ease; }
.creator-img .img-hover   { width: 100%; height: 100%; object-fit: cover; position: absolute; top: 0; left: 0; opacity: 0; transition: opacity 0.25s ease; }
.creator-card:hover .img-normal { opacity: 0; }
.creator-card:hover .img-hover  { opacity: 1; }

.creator-social {
    position: absolute; bottom: -60px; left: 0;
    width: 100%; height: 60px;
    display: flex; justify-content: center; align-items: center; gap: 25px;
    background: rgba(0,0,0,0.75);
    border-top: 3px solid #0a6fdc;
    transition: bottom 0.3s ease-out;
}
.creator-social img      { width: 28px; filter: brightness(1.15); transition: transform 0.2s ease; }
.creator-social img:hover { transform: scale(1.2); }
.creator-card:hover .creator-social { bottom: 0; }

.creadores-btn { text-align: center; margin-top: 40px; }
.creadores-btn img       { width: 140px; height: 140px; border-radius: 50%; cursor: pointer; transition: 0.25s ease; box-shadow: 0 0 25px rgba(0,0,0,0.35); }
.creadores-btn img:hover { transform: scale(1.07); box-shadow: 0 0 40px rgba(255,255,255,0.45); }
.creadores-text          { margin-top: 12px; font-size: 22px; color: #fff; font-family: "SF Pro Display", sans-serif; font-weight: 500; letter-spacing: 1px; text-shadow: 0 0 8px rgba(0,0,0,0.5); }


/* ══════════════════════════════════════════
   RESPONSIVE CREADORES
   ══════════════════════════════════════════ */

/* 2K / 4K */
@media (min-width: 1921px) {
    .creators-title-overlay h2 { font-size: 4rem; }
    .creator-info h3  { font-size: 3.5rem; }
    .creadores-title  { font-size: 60px; }
    .creadores-grid   { grid-template-columns: repeat(3, 400px); gap: 45px; }
    .creator-card     { width: 400px; height: 560px; }
}

/* Tablet (≤ 1200px) */
@media (max-width: 1200px) {
    .creadores-grid   { grid-template-columns: repeat(2, 340px); }
}

/* Acordeón → vertical en tablet/móvil */
@media (max-width: 768px) {
    .creators-section { height: auto; min-height: 100vh; overflow-y: auto; }
    .creators-accordion { flex-direction: column; height: auto; }
    .creator-strip    { width: 100%; height: 400px; flex: none !important; filter: grayscale(0%) brightness(0.8); border-bottom: 1px solid rgba(255,255,255,0.1); }
    .creator-info     { opacity: 1; transform: translateY(0); padding-bottom: 20px; }
    .creators-title-overlay { position: relative; top: 0; padding: 20px; background: #000; }

    /* Grid 1 columna */
    .creadores-grid   { grid-template-columns: repeat(1, 340px); }
    .creator-card     { width: 100%; max-width: 340px; }
}

/* iPad Air (820px) específico */
@media (max-width: 912px) and (min-width: 768px) {
    .creators-section     { padding-top: calc(var(--header-height) + 10px); }
    .creator-strip        { height: 45vw; }
    .creadores-grid       { grid-template-columns: repeat(2, 300px); gap: 25px; }
    .creator-card         { width: 300px; height: 420px; }
}

/* Grid en móvil pequeño */
@media (max-width: 480px) {
    .creadores-grid  { grid-template-columns: 1fr; }
    .creator-card    { width: 100%; max-width: 320px; height: 440px; }
    .creadores-title { font-size: 32px; }
}
