/* Estructura Base */
.abc-perfil-contenedor-maestro {
    width: 100%;
    overflow-x: hidden;
    background: #FAFAFA;
	height: auto !important;
    max-height: none !important;
    overflow: visible !important;
	padding-left: 20px;
    padding-right: 20px;
}

/* Ocultar la barra visualmente en Chrome por si acaso */
.abc-perfil-contenedor-maestro::-webkit-scrollbar {
    display: none !important;
    width: 0 !important;
}

/* PRIMERA SECCION: BANNER VIVO */
.abc-perfil-banner-wrapper {
    position: relative;
	background-color: #f0f0f0;
    height: 300px;
    width: 100vw;
    left: 50%;
    right: 50%;
    margin-left: -50vw;
    margin-right: -50vw;
    box-shadow: 0 10px 20px rgba(0,0,0,0.5);
    z-index: 10;
}

/* --- TEMA 1: AURORA (AZUL) --- */
#abc-banner-dinamico.abc-perfil-banner-aurora {
    width: 100%;
    height: 100%;
    background: linear-gradient(270deg, #001219, #005f73, #0a9396, #94d2bd, #3BB8DB);
    background-size: 800% 800%;
    animation: auroraInfinito 10s ease infinite;
}

/* --- TEMA 2: FUEGO (ROJO) --- */
#abc-banner-dinamico.abc-perfil-banner-fuego {
    width: 100%;
    height: 100%;
    /* Una selección de rojos profundos, borgoña y carmesí brillante */
    background: linear-gradient(270deg, #460809, #9F0712, #E7180B, #FF6467, #CA3519);
    background-size: 800% 800%;
    animation: auroraInfinito 10s ease infinite;
}

/* --- TEMA NEGRO (Elegancia Nocturna) --- */
#abc-banner-dinamico.abc-perfil-banner-negro {
    width: 100%; height: 100%;
    background: linear-gradient(270deg, #09090B, #292524, #737373, #262626, #737373);
    background-size: 800% 800%; 
	animation: auroraInfinito 10s ease infinite;
}

/* --- TEMA VIOLETA (Místico) --- */
#abc-banner-dinamico.abc-perfil-banner-violeta {
    width: 100%; height: 100%;
    background: linear-gradient(270deg, #240046, #3c096c, #7b2cbf, #c77dff, #C4B4FF);
    background-size: 800% 800%; 
	animation: auroraInfinito 10s ease infinite;
}

/* --- TEMA VERDE (Vitalidad) --- */
#abc-banner-dinamico.abc-perfil-banner-verde {
    width: 100%; height: 100%;
    background: linear-gradient(270deg, #0D542B, #016630, #35530E, #497D15, #7CCF35);
    background-size: 800% 800%;
	animation: auroraInfinito 10s ease infinite;
}

/* --- TEMA DORADO (Prestigio) --- */
#abc-banner-dinamico.abc-perfil-banner-dorado {
    width: 100%; height: 100%;
    background: linear-gradient(270deg, #F0B13B, #FDC745, #FFDF20, #D0872E, #FFF085);
    background-size: 800% 800%; 
	animation: auroraInfinito 10s ease infinite;
}

/* --- TEMA ROSA (Romántico) --- */
#abc-banner-dinamico.abc-perfil-banner-rosa {
    width: 100%; height: 100%;
    background: linear-gradient(270deg, #E845A1, #a4133c, #ff4d6d, #ffb3c1, #FCE7F3);
    background-size: 800% 800%; 
	animation: auroraInfinito 10s ease infinite;
}

/* --- TEMA PASTEL (Suavidad) --- */
#abc-banner-dinamico.abc-perfil-banner-pastel {
    width: 100%; height: 100%;
    background: linear-gradient(270deg, #F4ECF7, #D1F2EB, #FDEBD0, #F5B7B1, #FCF3CF);
    background-size: 800% 800%; 
	animation: auroraInfinito 10s ease infinite;
}

@keyframes auroraInfinito {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}

.abc-banner-selector-grid { 
    display: grid; 
    grid-template-columns: repeat(auto-fill, minmax(80px, 1fr)); 
    gap: 15px; 
    margin-top: 15px; 
}
.abc-tema-option { cursor: pointer; text-align: center; transition: transform 0.2s; }
.abc-tema-option:hover { transform: scale(1.05); }
.abc-tema-option.selected .abc-preview-circle { border: 3px solid #00d2ff; box-shadow: 0 0 10px rgba(0,210,255,0.5); }
.abc-preview-circle { width: 45px; height: 45px; border-radius: 50%; margin: 0 auto 8px; border: 2px solid #ddd; }

/* Colores del selector */
.abc-preview-circle.aurora { background: linear-gradient(135deg, #001219, #005f73, #0a9396, #94d2bd, #3BB8DB); }
.abc-preview-circle.fuego { background: linear-gradient(135deg, #460809, #9F0712, #E7180B, #FF6467, #CA3519); }
.abc-preview-circle.negro { background: linear-gradient(135deg, #09090B, #292524, #737373, #262626, #737373); }
.abc-preview-circle.violeta { background: linear-gradient(135deg, #240046, #3c096c, #7b2cbf, #c77dff, #C4B4FF); }
.abc-preview-circle.verde { background: linear-gradient(135deg, #0D542B, #016630, #35530E, #497D15, #7CCF35); }
.abc-preview-circle.dorado { background: linear-gradient(135deg, #F0B13B, #FDC745, #FFDF20, #D0872E, #FFF085); }
.abc-preview-circle.rosa { background: linear-gradient(135deg, #E845A1, #a4133c, #ff4d6d, #ffb3c1, #FCE7F3); }
.abc-preview-circle.pastel { background: linear-gradient(135deg, #F4ECF7, #D1F2EB, #FDEBD0, #F5B7B1, #FCF3CF); }

/* Foto de Perfil */
.abc-perfil-foto-posicion {
    position: absolute;
    bottom: -90px; /* Mitad de la foto (180/2) */
    left: 50%;
    transform: translateX(-50%);
    z-index: 20;
}

.abc-foto-perfil-img {
    width: 180px;
    height: 180px;
    border-radius: 50%;
    border: 3px solid #ffffff;
    box-shadow: 0 8px 15px rgba(0,0,0,0.2);
	object-fit: cover;
    background: #eee;
}

/* SEGUNDA SECCION: INFO */
.abc-perfil-info-wrapper {
    text-align: center;
    padding-top: 100px;
    width: 100%;
}

.abc-perfil-nombre-real {
    font-family: Arial, sans-serif;
    font-weight: bold;
    font-size: 34px;
    color: #000;
    margin: 0;
}

.abc-perfil-meta {
    font-family: Arial, sans-serif;
    font-weight: normal;
    font-size: 18px;
    color: #a0a0a0; /* Gris claro */
    margin-top: 1px;
}

/* Línea Separadora Ancha con Sombra */
.abc-perfil-linea-separadora {
    width: 100vw;
    height: 1px;
    background: #A6A09B; /* línea ligeramente suave */
    margin-top: 1px;
	position: relative;
    left: 50%;
    transform: translateX(-50%);
	box-shadow: 0 -1px 0 rgba(255,255,255,0.4) inset;
}

/* Sombra principal */
.abc-perfil-linea-separadora::after {
    content: "";
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    top: 2px;

    width: 80%;
    height: 30px;

    background: linear-gradient(
        to bottom,
        rgba(0,0,0,0.90),
        rgba(0,0,0,0.08),
        rgba(0,0,0,0.00)
    );

    clip-path: polygon(
        0% 0%,
        100% 0%,
        50% 100%
    );

    filter: blur(8px);
    opacity: 0.9;
    pointer-events: none;
}

/* Sombra secundaria (profundidad tipo Apple) */
.abc-perfil-linea-separadora::before {
    content: "";
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    top: 6px;

    width: 35%;
    height: 18px;

    background: linear-gradient(
        to bottom,
        rgba(0,0,0,0.80),
        rgba(0,0,0,0.00)
    );

    clip-path: polygon(
        0% 0%,
        100% 0%,
        50% 100%
    );

    filter: blur(10px);
    opacity: 0.6;
    pointer-events: none;
}

/* Estilo para el Banner Premia Personalizado */
.abc-perfil-banner-personalizado {
    width: 100%;
    height: 100%;
    background-repeat: no-repeat;
    background-position: center center;
    background-size: cover;
    animation: none !important;
    transition: background-image 0.5s ease-in-out;
}

/* Tarjeta Promocional Premia en Ajustes */
.abc-card-banner-promo-premia {
    background: linear-gradient(#1a1a1a, #1a1a1a) padding-box, 
                linear-gradient(135deg, #00d2ff, #3a7bd5, #ae2af4, #00d2ff) border-box;
    background-size: 100% 100%, 400% 400%;
    border: 5px solid transparent !important;
    border-radius: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 40px 20px !important;
    position: relative;
    overflow: hidden;
    animation: aurora-border-flow 8s ease infinite;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
    margin-top: 15px;
}

/* Contenido de la promo */
.abc-promo-content h4 {
    color: #fff !important;
    font-size: 20px !important;
    margin-bottom: 10px !important;
}

.abc-promo-content p {
    color: #ccc !important;
    font-size: 14px;
    margin-bottom: 20px !important;
}

/* Botón de llamado a la acción */
.abc-btn-upgrade {
    display: inline-block;
    background: #ffb703;
    color: #000 !important;
    padding: 10px 25px;
    border-radius: 25px;
    text-decoration: none !important;
    font-weight: bold;
    text-transform: uppercase;
    font-size: 13px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.abc-btn-upgrade:hover {
    transform: scale(1.05);
    box-shadow: 0 0 15px rgba(255, 183, 3, 0.5);
    background: #ffd000;
}

/* ESTILO DEL MENU */
.abc-perfil-menu-container {
    width: 100%;
    display: flex;
    justify-content: center;
    margin-top: 50px;
    padding-bottom: 10px;
}

.abc-menu-lista {
    display: flex;
    list-style: none;
    padding: 0;
    margin: 0;
    gap: 15px;
    flex-wrap: wrap;
    justify-content: center;
}

.abc-menu-item {
    position: relative;
}

.abc-menu-link {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 12px 25px;
    text-decoration: none;
    color: #666;
    font-family: Arial, sans-serif;
    font-weight: 600;
    font-size: 16px;
    border-radius: 30px;
    transition: all 0.3s ease;
    background: #f8f9fa;
    border: 1px solid transparent;
}

.abc-menu-link:hover {
    color: #005f73;
    background: #e9ecef;
}

.abc-menu-link.active {
    background: #D4D4D4;
    color: #000000;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.9);
}

.abc-menu-contador {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background-color: #FAFAF9;
    color: #FF0000;
    font-size: 16px;
    font-weight: 600;
    padding: 6px 6px;
    margin-left: 8px;
    border-radius: 5px;
    min-width: 30px;
    height: 30px;
    line-height: 1;
    transition: all 0.3s ease;
    border: 1px solid #D6D3D1;
    vertical-align: middle;
}

/* Efecto cuando la pestaña está activa */
.abc-menu-link.active .abc-menu-contador {
    background-color: #fff;
    color: #FF0000;
}

/* Efecto hover sobre la pestaña */
.abc-menu-link:hover .abc-menu-contador {
    background-color: #F5F5F4;
    transform: scale(1.1);
}

/* ===== MEDIA QUERIES PARA PANTALLAS PEQUEÑAS ===== */
@media screen and (max-width: 768px) {
    .abc-perfil-menu-container {
        margin-top: 30px;
        padding-left: 10px;
        padding-right: 10px;
    }
    
    .abc-menu-lista {
        gap: 10px;
    }
    
    .abc-menu-link {
        padding: 8px 15px;
        font-size: 14px;
    }
    
    .abc-menu-contador {
        font-size: 12px;
        min-width: 24px;
        height: 24px;
        padding: 3px;
        margin-left: 5px;
    }
}

@media screen and (max-width: 480px) {
    .abc-perfil-menu-container {
        margin-top: 20px;
    }
    
    .abc-menu-lista {
        gap: 8px;
    }
    
    .abc-menu-link {
        padding: 8px 12px;
        font-size: 13px;
        gap: 5px;
    }
    
    .abc-menu-link i, 
    .abc-menu-link svg {
        font-size: 14px;
    }
    
    .abc-menu-contador {
        font-size: 11px;
        min-width: 20px;
        height: 20px;
        padding: 2px;
        margin-left: 3px;
    }
}

/* Para pantallas muy pequeñas (menos de 360px) */
@media screen and (max-width: 360px) {
    .abc-menu-link {
        padding: 6px 10px;
        font-size: 12px;
    }
    
    .abc-menu-contador {
        min-width: 18px;
        height: 18px;
        font-size: 10px;
    }
}

/* Contenido de secciones */
.abc-perfil-contenido-seccion {
    padding: 20px 0;
    min-height: 300px;
}
