:root {
    /* =========================================
       VARIABLES DE STYLE PERSONNALISABLES
       ========================================= */

    /* --- Couleurs --- */
    --text-primary: #FFFFFF;
    --text-secondary: rgba(255, 255, 255, 0.95);
    --status-dot-color: #3498db; /* Bleu pour "En ligne" (plus sobre) */
    
    /* Dégradé sur la carte (pour lisibilité du texte) */
    --card-overlay-start: rgba(44, 62, 80, 0); /* Base bleu nuit */
    --card-overlay-middle: rgba(44, 62, 80, 0.6);
    --card-overlay-end: rgba(44, 62, 80, 0.9);

    /* --- Polices --- */
    --font-main: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;

    /* --- Images de Fond --- */
    --outer-bg-image: url('assets/outer-background.jpg'); /* Fond global (Desktop) */
    --card-bg-blur: linear-gradient(45deg, rgba(255, 192, 203, 0.2), rgba(255, 20, 147, 0.8)), url('assets/card-background.jpg'); /* Dégradé diagonal transparent -> intense (ajusté) */

    /* --- Espacements et Dimensions --- */
    --container-max-width: 650px;
    --card-border-radius: 20px;
    --profile-photo-size: 150px;
    
    /* --- Paramètres de Flou --- */
    --blur-intensity: 40px;
}

/* 
   MAIN STYLESHEET 
*/

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    -webkit-tap-highlight-color: transparent;
}

body {
    font-family: var(--font-main);
    color: var(--text-primary);
    min-height: 100vh;
    /* Center content */
    display: flex;
    align-items: center;
    justify-content: center;
    overflow-x: hidden;
    background-color: #000; /* Fallback */
}

/* 1. OUTER BACKGROUND (DESKTOP ONLY) */
.outer-background {
   position: fixed;
   top: 0;
   left: 0;
   width: 100%;
   height: 100%;
   background-image: var(--outer-bg-image);
   background-size: cover;
   background-position: center;
   z-index: -2;
}

/* 2. FROSTED GLASS CARD EFFECT */
.profile-container {
   position: relative;
   border-radius: var(--card-border-radius);
   padding: 40px 30px;
   box-shadow: 0 8px 32px rgba(0, 0, 0, 0.2);
   border: 1px solid rgba(255, 255, 255, 0.18);
   max-width: var(--container-max-width);
   width: 95%;
   margin: 0 auto;
   overflow: hidden;
   
   /* Transparent background to let blur show through */
   background: transparent; 
}

/* Layer 1: Blurred photo background */
.profile-container::before {
   content: '';
   position: absolute;
   top: 0;
   left: 0;
   width: 100%;
   height: 100%;
   
   background-image: var(--card-bg-blur); 
     background-size: cover;
     background-position: center;
     background-blend-mode: normal; /* Normal pour bien voir le dégradé */
     
     filter: blur(var(--blur-intensity)) saturate(130%);
     -webkit-filter: blur(var(--blur-intensity)) saturate(130%);
   transform: scale(1.15); /* Prevent blur edge artifacts */
   z-index: 0;
}

/* Layer 2: Dark overlay */ 
.profile-container::after { 
   content: ''; 
   position: absolute; 
   top: 0; 
   left: 0; 
   width: 100%; 
   height: 100%; 
   background: rgba(0, 0, 0, 0.25); 
   z-index: 1; 
   pointer-events: none; 
} 

/* Layer 3: Content on top */
.profile-header, 
.cta-text, 
.content-cards,
.profile-container > * {
   position: relative;
   z-index: 10;
   filter: none !important;
   opacity: 1 !important;
}

/* PROFILE HEADER */
.profile-header {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    margin-bottom: 20px;
    position: relative;
    z-index: 10;
}

.status-location-wrapper {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 15px;
    margin-bottom: 25px;
}

/* PROFILE PHOTO */
.profile-photo {
    width: var(--profile-photo-size);
    height: var(--profile-photo-size);
    border-radius: 50%;
    border: 0px solid white;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
    display: block;
    margin: 0 auto 15px auto;
    object-fit: cover;
    
    filter: none !important;
    backdrop-filter: none !important;
    opacity: 1 !important;
    transform: translateZ(0);
}

/* NAME & VERIFICATION */
.profile-name {
    font-size: 32px;
    font-weight: 700;
    color: var(--text-primary);
    text-align: center;
    margin: 0 0 10px 0;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.9), 
                 0 4px 20px rgba(0, 0, 0, 0.7);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    filter: none !important;
    opacity: 1 !important;
}

.verified-badge {
    width: 32px;
    height: 32px;
    display: inline-block;
    vertical-align: middle;
    margin-left: 1px;
}

/* STATUS BADGE */
.status-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: white;
    padding: 6px 12px;
    border-radius: 20px;
    font-size: 14px;
    font-weight: 500;
    color: #000;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.15);
    margin: 0 auto 8px auto;
}

.status-dot {
    width: 8px;
    height: 8px;
    background: var(--status-dot-color);
    border-radius: 50%;
    display: inline-block;
}

/* LOCATION TEXT */
.location {
    font-size: 14px;
    color: var(--text-secondary);
    text-align: center;
    margin: 0px 0 10px 0;
    font-weight: 400;
    text-shadow: 0 1px 6px rgba(0, 0, 0, 0.8);
    filter: none !important;
    opacity: 1 !important;
}

/* CTA TEXT */
.cta-text {
    font-size: 24px;
    font-weight: 500;
    color: var(--text-primary);
    text-align: center;
    margin: 0 0 0px 0;
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.8);
    filter: none !important;
    opacity: 1 !important;
}

/* CONTENT CARDS */
.content-cards {
    width: 100%;
    display: flex;
    flex-direction: column;
    gap: 15px;
    margin-top: 20px;
}

.card {
    position: relative;
    display: block;
    width: 100%;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
    text-decoration: none;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    animation: bounce 2s ease-in-out infinite;
}

.card:hover {
    transform: translateY(-5px) scale(1.02);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
}

.card-bg {
    width: 100%;
    height: 200px;
    object-position: center 70%;
    object-fit: cover;
    display: block;
}

.card-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 20px;
    background: linear-gradient(
        180deg,
        var(--card-overlay-start) 0%,
        var(--card-overlay-middle) 40%,
        var(--card-overlay-end) 100%
    );
    z-index: 1;
}

.card-title {
    font-size: 22px;
    font-weight: 700;
    color: var(--text-primary);
    margin: 0 0 8px 0;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.5);
    filter: none !important;
    opacity: 1 !important;
    text-align: center;
}

.card-subtitle {
    font-size: 14px;
    font-weight: 400;
    color: var(--text-secondary);
    margin: 0;
    text-align: center;
}

/* Platform Badge (OnlyFans icon) */
.platform-badge {
    position: absolute;
    top: 15px;
    left: 15px;
    width: 28px;
    height: 28px;
    filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.3));
    z-index: 5;
}

/* BOUNCE ANIMATION */
@keyframes bounce {
    0%, 100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-5px);
    }
}

/* --- TIMER STYLES --- */
.timer-overlay {
    position: absolute;
    top: 15px;
    right: 15px;
    display: flex;
    flex-direction: column;
    align-items: center;
    z-index: 20;
    pointer-events: none;
}

.timer-label {
    font-size: 10px;
    color: white;
    font-weight: 700;
    text-shadow: 0 1px 3px rgba(0,0,0,0.8);
    margin-bottom: 2px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.timer-bubble {
    background: white;
    color: #000;
    padding: 2px 8px;
    border-radius: 8px;
    font-weight: 700;
    font-size: 13px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.3);
    min-width: 70px;
    text-align: center;
    font-family: monospace;
}

/* RESPONSIVE */
@media (max-width: 480px) {
    .profile-container {
        width: 100%;
        min-height: 100vh;
        border-radius: 0;
        border: none;
    }
    
    .profile-name {
        font-size: 28px;
    }
}
