/* widgets/user_profile_info/widget_user_profile_info.css */
/* V1.1 - [SECURITY] Ajout styles Brouillard de Guerre */

.widget-user-profile-info {
    position: relative;
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    background-color: rgba(26, 27, 46, 0.6); /* Fond de base sombre */
    backdrop-filter: blur(10px);
}

/* --- Avatar Standard --- */
.widget-user-profile-info .neu-avatar {
    border-width: 4px;
    box-shadow: 0 8px 20px rgba(0,0,0,0.4);
    transition: all 0.3s ease;
}

/* =========================================
   STYLE PREMIUM "COLLECTOR"
   ========================================= */

.widget-user-profile-info.is-premium-profile {
    /* Bordure dorée subtile mais classe */
    border: 1px solid rgba(250, 204, 21, 0.5); 
    /* Lueur dorée interne et externe */
    box-shadow: 
        0 0 30px rgba(250, 204, 21, 0.1), 
        inset 0 0 50px rgba(250, 204, 21, 0.05);
    background: linear-gradient(180deg, rgba(35, 30, 20, 0.95) 0%, rgba(20, 20, 25, 0.98) 100%);
}

/* L'image du Pass en mode "Hero Background" - PLUS VISIBLE */
.widget-user-profile-info .premium-hero-background {
    position: absolute;
    top: -30px;     /* Remonté pour bien mordre le bord */
    right: -30px;   /* Décalé pour ne pas être centré */
    width: 280px;   /* Encore plus grand */
    height: auto;
    opacity: 0.5;   /* Beaucoup plus visible (était 0.15) */
    transform: rotate(0deg); /* Pas de rotation par défaut */
    pointer-events: none;
    z-index: 0;
    filter: drop-shadow(0 0 25px rgba(250, 204, 21, 0.4)); /* Glow derrière l'image */
    transition: transform 0.5s ease;
}

.widget-user-profile-info.is-premium-profile:hover .premium-hero-background {
    transform: scale(1.05); /* Léger zoom au survol */
    opacity: 0.6;
}

/* Avatar Premium : Halo doré */
.widget-user-profile-info.is-premium-profile .neu-avatar {
    border-color: #facc15;
    box-shadow: 0 0 25px rgba(250, 204, 21, 0.3);
}

/* Nom Premium : Dégradé Or */
.widget-user-profile-info.is-premium-profile h2 {
    background: linear-gradient(to bottom, #ffffff 40%, #facc15 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    text-shadow: 0 2px 10px rgba(250, 204, 21, 0.2);
}

/* Section Stats : Fond plus intégré */
.widget-user-profile-info .stats-grid-container {
    background: rgba(0, 0, 0, 0.2);
    border-radius: 12px;
    padding: 1rem;
    margin-top: 1.5rem;
    margin-bottom: 1rem;
    border: 1px solid rgba(255, 255, 255, 0.05);
}

.widget-user-profile-info.is-premium-profile .stats-grid-container {
    border-color: rgba(250, 204, 21, 0.2);
    background: linear-gradient(to bottom, rgba(250, 204, 21, 0.05), rgba(0, 0, 0, 0.2));
}

/* Label "Pass Actif" dans la ligne d'infos */
.premium-status-inline {
    font-size: 0.70rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: #facc15;
    font-weight: 800;
    display: flex;
    align-items: center;
    gap: 4px;
    text-shadow: 0 0 10px rgba(250, 204, 21, 0.4);
}

/* --- Styles Brouillard de Guerre (Copiés de leaderboard.css) --- */

.fog-row-wrapper {
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    cursor: help;
    vertical-align: middle;
}

.fog-icon-overlay {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10;
}

.fog-icon-overlay i {
    font-size: 1rem; /* Adapté à la taille du texte du rang */
    color: #9ca3af;
    text-shadow: 0 1px 2px rgba(0,0,0,0.8);
    transition: color 0.2s ease, transform 0.2s ease;
}

.fog-row-wrapper:hover .fog-icon-overlay i {
    color: #fff;
    transform: scale(1.1);
}

.fog-row-tooltip {
    visibility: hidden;
    opacity: 0;
    position: absolute;
    bottom: 140%;
    left: 50%;
    transform: translateX(-50%) translateY(5px);
    width: 200px;
    background-color: rgba(15, 23, 42, 0.98);
    border: 1px solid rgba(108, 99, 255, 0.4);
    border-radius: 6px;
    padding: 0;
    z-index: 50;
    box-shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.6);
    pointer-events: none;
    transition: all 0.2s cubic-bezier(0.165, 0.84, 0.44, 1);
    font-family: 'Kanit', sans-serif;
}

.fog-row-tooltip::after {
    content: "";
    position: absolute;
    top: 100%;
    left: 50%;
    margin-left: -6px;
    border-width: 6px;
    border-style: solid;
    border-color: rgba(15, 23, 42, 0.98) transparent transparent transparent;
}

.fog-row-wrapper:hover .fog-row-tooltip,
.fog-row-wrapper:focus-within .fog-row-tooltip {
    visibility: visible;
    opacity: 1;
    transform: translateX(-50%) translateY(0);
}

.fog-tooltip-header {
    background: linear-gradient(90deg, rgba(108, 99, 255, 0.2), rgba(108, 99, 255, 0.05));
    color: #a78bfa;
    font-size: 0.65rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    padding: 6px 10px;
    border-bottom: 1px solid rgba(108, 99, 255, 0.2);
    border-radius: 5px 5px 0 0;
    display: flex;
    align-items: center;
    gap: 6px;
}

.fog-tooltip-body {
    padding: 8px 10px;
    color: #cbd5e1;
    font-size: 0.7rem;
    line-height: 1.4;
    text-align: center;
}

.fog-tooltip-body strong {
    color: #fff;
    font-weight: 600;
}