/* ============================================
   REDES SOCIALES - Diseño premium moderno
   ============================================ */

.redes-page {
    padding-top: var(--navbar-height);
}

/* Hero - capa de fondo para parallax (si existe .hero-redes-bg) */
.hero-redes-bg {
    transform: translateY(var(--parallax-y, 0));
}

.redes-hero-compact {
    padding: 50px 20px 40px;
    background: linear-gradient(
        180deg,
        rgba(198, 27, 27, 0.06) 0%,
        transparent 100%
    );
    border-bottom: 1px solid rgba(255, 255, 255, 0.04);
}

.redes-hero-inner {
    text-align: center;
}

.redes-page-title {
    font-family: var(--font-heading);
    font-size: 2rem;
    font-weight: 400;
    letter-spacing: 6px;
    text-transform: uppercase;
    color: #fff;
    margin-bottom: 10px;
}

.redes-page-subtitle {
    font-size: 0.9rem;
    color: var(--text-muted);
    letter-spacing: 2px;
    text-transform: uppercase;
}

/* Sección principal */
.redes-section {
    padding: 50px 0 70px;
}

/* Grid */
.redes-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
    max-width: 1100px;
    margin: 0 auto 50px;
}

/* Card base */
.redes-card {
    position: relative;
    display: block;
    text-decoration: none;
    color: inherit;
    border-radius: 14px;
    overflow: hidden;
    transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.redes-card:hover {
    transform: translateY(-6px);
}

/* Glow específico por plataforma */
.redes-card-glow {
    position: absolute;
    inset: 0;
    border-radius: 14px;
    opacity: 0;
    transition: opacity 0.4s ease;
    pointer-events: none;
}

.redes-card[data-red="instagram"] .redes-card-glow {
    background: radial-gradient(ellipse at top, rgba(225, 48, 108, 0.15) 0%, transparent 70%);
    box-shadow: inset 0 0 0 1px rgba(225, 48, 108, 0.3);
}

.redes-card[data-red="twitter"] .redes-card-glow {
    background: radial-gradient(ellipse at top, rgba(255, 255, 255, 0.06) 0%, transparent 70%);
    box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.2);
}

.redes-card[data-red="onlyfans"] .redes-card-glow {
    background: radial-gradient(ellipse at top, rgba(0, 174, 239, 0.15) 0%, transparent 70%);
    box-shadow: inset 0 0 0 1px rgba(0, 174, 239, 0.3);
}

.redes-card[data-red="clips4sale"] .redes-card-glow {
    background: radial-gradient(ellipse at top, rgba(198, 27, 27, 0.15) 0%, transparent 70%);
    box-shadow: inset 0 0 0 1px rgba(198, 27, 27, 0.3);
}

.redes-card:hover .redes-card-glow {
    opacity: 1;
}

/* Inner */
.redes-card-inner {
    position: relative;
    padding: 32px 22px 28px;
    background: var(--bg-card);
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: 14px;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    height: 100%;
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

.redes-card[data-red="instagram"]:hover .redes-card-inner {
    border-color: rgba(225, 48, 108, 0.35);
    box-shadow: 0 16px 40px rgba(0, 0, 0, 0.35), 0 0 30px rgba(225, 48, 108, 0.08);
}

.redes-card[data-red="twitter"]:hover .redes-card-inner {
    border-color: rgba(255, 255, 255, 0.2);
    box-shadow: 0 16px 40px rgba(0, 0, 0, 0.35), 0 0 30px rgba(255, 255, 255, 0.04);
}

.redes-card[data-red="onlyfans"]:hover .redes-card-inner {
    border-color: rgba(0, 174, 239, 0.35);
    box-shadow: 0 16px 40px rgba(0, 0, 0, 0.35), 0 0 30px rgba(0, 174, 239, 0.08);
}

.redes-card[data-red="clips4sale"]:hover .redes-card-inner {
    border-color: rgba(198, 27, 27, 0.35);
    box-shadow: 0 16px 40px rgba(0, 0, 0, 0.35), 0 0 30px rgba(198, 27, 27, 0.08);
}

/* Icono con fondo circular */
.redes-card-icon-wrap {
    width: 72px;
    height: 72px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
    transition: transform 0.3s ease;
    position: relative;
}

.redes-card[data-red="instagram"] .redes-card-icon-wrap {
    background: rgba(225, 48, 108, 0.1);
    border: 1px solid rgba(225, 48, 108, 0.2);
}

.redes-card[data-red="twitter"] .redes-card-icon-wrap {
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.12);
}

.redes-card[data-red="onlyfans"] .redes-card-icon-wrap {
    background: rgba(0, 174, 239, 0.1);
    border: 1px solid rgba(0, 174, 239, 0.2);
}

.redes-card[data-red="clips4sale"] .redes-card-icon-wrap {
    background: rgba(198, 27, 27, 0.1);
    border: 1px solid rgba(198, 27, 27, 0.2);
}

.redes-card:hover .redes-card-icon-wrap {
    transform: scale(1.08);
}

.redes-card[data-red="instagram"]:hover .redes-card-icon-wrap {
    background: rgba(225, 48, 108, 0.18);
    border-color: rgba(225, 48, 108, 0.4);
}

.redes-card[data-red="twitter"]:hover .redes-card-icon-wrap {
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 255, 255, 0.25);
}

.redes-card[data-red="onlyfans"]:hover .redes-card-icon-wrap {
    background: rgba(0, 174, 239, 0.18);
    border-color: rgba(0, 174, 239, 0.4);
}

.redes-card[data-red="clips4sale"]:hover .redes-card-icon-wrap {
    background: rgba(198, 27, 27, 0.18);
    border-color: rgba(198, 27, 27, 0.4);
}

/* Icono SVG */
.redes-card-icon {
    display: flex;
    align-items: center;
    justify-content: center;
}

.redes-card-icon svg {
    width: 34px;
    height: 34px;
    transition: all 0.3s ease;
}

.redes-card[data-red="instagram"] .redes-card-icon svg { stroke: rgba(225, 48, 108, 0.7); }
.redes-card[data-red="instagram"]:hover .redes-card-icon svg { stroke: #e1306c; filter: drop-shadow(0 0 6px rgba(225, 48, 108, 0.5)); }

.redes-card[data-red="twitter"] .redes-card-icon svg { stroke: rgba(220, 220, 220, 0.6); fill: none; }
.redes-card[data-red="twitter"]:hover .redes-card-icon svg { stroke: #fff; filter: drop-shadow(0 0 6px rgba(255,255,255,0.2)); }

.redes-card[data-red="onlyfans"] .redes-card-icon svg { fill: rgba(0, 174, 239, 0.7); }
.redes-card[data-red="onlyfans"]:hover .redes-card-icon svg { fill: #00aeef; filter: drop-shadow(0 0 6px rgba(0, 174, 239, 0.5)); }

.redes-card[data-red="clips4sale"] .redes-card-icon svg { fill: rgba(198, 27, 27, 0.7); }
.redes-card[data-red="clips4sale"]:hover .redes-card-icon svg { fill: var(--brand-red); filter: drop-shadow(0 0 6px rgba(198, 27, 27, 0.5)); }

/* Tamaños específicos */
.redes-card-icon .svg-onlyfans { width: 38px; height: 38px; }
.redes-card-icon .svg-clips4sale { width: 44px; height: 33px; }

/* Título */
.redes-card h3 {
    font-family: var(--font-heading);
    font-size: 1rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 4px;
    color: #fff;
    transition: color 0.3s;
}

.redes-card[data-red="instagram"]:hover h3 { color: #e1306c; }
.redes-card[data-red="twitter"]:hover h3 { color: #fff; }
.redes-card[data-red="onlyfans"]:hover h3 { color: #00aeef; }
.redes-card[data-red="clips4sale"]:hover h3 { color: var(--brand-red); }

/* Handle @usuario */
.redes-card-handle {
    font-size: 0.75rem;
    letter-spacing: 1px;
    color: var(--text-muted);
    margin-bottom: 10px;
    opacity: 0.7;
}

/* Descripción */
.redes-card p {
    font-size: 0.8rem;
    color: var(--text-muted);
    margin: 0 0 14px;
    line-height: 1.5;
}

/* Badge */
.redes-card-badge {
    display: inline-block;
    padding: 3px 10px;
    border-radius: 20px;
    font-size: 0.65rem;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    font-weight: 600;
    margin-bottom: 0;
    margin-top: auto;
}

.badge-premium {
    background: rgba(0, 174, 239, 0.12);
    border: 1px solid rgba(0, 174, 239, 0.25);
    color: #00aeef;
}

.badge-video {
    background: rgba(198, 27, 27, 0.12);
    border: 1px solid rgba(198, 27, 27, 0.25);
    color: var(--brand-red);
}

.badge-free {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: #aaa;
}

/* Flecha oculta */
.redes-card-arrow { display: none; }

/* CTA */
.redes-cta {
    display: flex;
    justify-content: center;
}

.redes-cta-card {
    padding: 30px 50px;
    background: rgba(198, 27, 27, 0.05);
    border: 1px solid rgba(198, 27, 27, 0.15);
    border-radius: 14px;
    text-align: center;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.redes-cta-card::before {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(ellipse at 50% 0%, rgba(198, 27, 27, 0.08) 0%, transparent 65%);
    pointer-events: none;
}

.redes-cta-card:hover {
    border-color: rgba(198, 27, 27, 0.3);
    box-shadow: 0 0 40px rgba(198, 27, 27, 0.08);
}

.redes-cta-card p {
    color: var(--text-muted);
    margin-bottom: 16px;
    font-size: 0.9rem;
    letter-spacing: 0.5px;
    position: relative;
}

.btn-whatsapp {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 13px 28px;
    font-size: 0.9rem;
    position: relative;
}

.btn-whatsapp svg { flex-shrink: 0; }


/* Responsive */
@media (max-width: 1024px) {
    .redes-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 768px) {
    .redes-page { padding-top: 65px; }

    .redes-hero-compact { padding: 35px 20px 28px; }

    .redes-page-title { font-size: 1.5rem; letter-spacing: 3px; }
    .redes-page-subtitle { font-size: 0.8rem; }

    .redes-section { padding: 35px 0 50px; }

    .redes-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 14px;
        margin-bottom: 32px;
    }

    .redes-card-inner { padding: 24px 16px 22px; }
    .redes-card-icon-wrap { width: 60px; height: 60px; margin-bottom: 16px; }
    .redes-card-icon svg { width: 28px; height: 28px; }
    .redes-card-icon .svg-clips4sale { width: 36px; height: 27px; }
    .redes-card h3 { font-size: 0.9rem; }
    .redes-card p { font-size: 0.75rem; }

    .redes-cta-card { padding: 24px 28px; }
}

@media (max-width: 480px) {
    .redes-grid { grid-template-columns: 1fr; }
}
