:root {
    --neon-blue: #00f3ff;
    --cyber-purple: #bc13fe;
    --matrix-green: #00ff88;
    --bg-color: #0a0a24;
    --text-glow: 0 0 10px var(--neon-blue);
}

* {
    font-family: 'Consolas', monospace;
    margin: 0;
    box-sizing: border-box;
}

body {
    background: var(--bg-color);
    color: var(--neon-blue);
    overflow-x: hidden;
}

.cyber-container {
    max-width: 1440px;
    margin: 0 auto;
    padding: 2rem;
}

/* En-tête */
.back-btn {
    position: relative;
    display: inline-block;
    color: var(--neon-blue);
    text-decoration: none;
    padding: 1rem;
    margin-bottom: 2rem;
    border: 2px solid;
    transition: 0.3s;
}

.back-btn:hover {
    background: rgba(0, 243, 255, 0.1);
    text-shadow: var(--text-glow);
}

/* Grille principale */
.profile-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    min-height: 80vh;
}

/* Hologramme */

.hologram-frame {
    position: relative;
    display: inline-block; /* Permet à la bordure de s'adapter à l'image */
    border: 3px solid var(--neon-blue);
    border-radius: 8px;
    max-width: 100%;
    max-height: 100%;
    overflow: hidden;
    
}

.main-image {
    display: block; /* Évite les marges invisibles */
    width: 100%;
    height: 100%;
    object-fit: contain; /* Garantit que l'image soit totalement visible */
}

.scanlines {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 10; /* Doit être supérieur à l'image */
     background: repeating-linear-gradient(
        0deg,
        transparent 0%,
        rgba(0, 255, 76, 0.1) 2%,
        transparent 4%
    );
    animation: scan 4s linear infinite;
}

.hologram-text {
    position: absolute;
    bottom: 5px;
    left: 50%;
    transform: translateX(-50%);
    color: var(--neon-blue);
    font-weight: bold;
    background: rgba(0, 0, 0, 0.5);
    padding: 5px 10px;
    border-radius: 5px;
    white-space: nowrap; /* Évite que le texte saute sur plusieurs lignes */
}



/* Description */
.data-column {
    display: flex;
    flex-direction: column;
    border-left: 2px solid var(--cyber-purple);
    padding-left: 2rem;
}

.bio-scroll {
    flex-grow: 1;
    overflow-y: auto;
    margin: 1.5rem 0;
    background: rgba(0, 0, 50, 0.2);
    padding: 1rem;
    border: 1px solid var(--neon-blue);
}

.typewriter {
    white-space: pre-wrap;
    line-height: 1.5;
    text-shadow: var(--text-glow);
}

/* Section NSFW */
.nsfw-section {
    border-top: 2px solid #ff003c;
    padding-top: 1.5rem;
}

.unlock-btn {
    width: 100%;
    padding: 1rem;
    background: linear-gradient(45deg, #2a0a3a, #1a0022);
    border: 2px solid #ff003c;
    color: #ff0044;
    cursor: pointer;
    transition: 0.3s;
}

.unlock-btn:hover {
    letter-spacing: 2px;
    background: linear-gradient(45deg, #3a0a4a, #2a0032);
}

.classified-frame {
    display: inline-block;
    padding: 10px; /* Permet d’avoir un espace entre l’image et la bordure */
    border: 3px solid #ff003c;
    border-radius: 8px;
    box-shadow: 0 0 15px rgba(255, 0, 60, 0.8);
}

.classified-img {
    width: 100%;
    height: auto;
    max-height: 60vh;
    object-fit: contain;
    filter: blur(30px);
    transition: 1s filter;
}

.classified-img.reveal {
    filter: none;
}
.download-btn {
    display: inline-block;
    padding: 1rem 1.5rem;
    color: var(--neon-blue);
    text-decoration: none;
    border: 2px solid var(--neon-blue);
    transition: 0.3s;
    font-weight: bold;
    text-transform: uppercase;
}
.download-btn:hover {
    background: rgba(0, 243, 255, 0.1);
    text-shadow: var(--text-glow);
}
footer {
    position: fixed;
    bottom: 0;
    width: 100%;
    background-color: #111; /* Fond sombre */
    color: white; /* Texte blanc */
    text-align: center;
    padding: 10px 0;
    font-size: 14px;
}

footer a {
    color: #4da6ff; /* Bleu clair */
    text-decoration: none;
    font-weight: bold;
}

footer a:hover {
    text-decoration: underline;
}

/* Animations */
@keyframes scan {
    from { transform: translateY(-100%); }
    to { transform: translateY(100%); }
}

@media (max-width: 768px) {
    .profile-grid {
        grid-template-columns: 1fr;
    }
    
    .hologram-frame {
        height: 50vh;
    }
    
    .data-column {
        border-left: none;
        padding-left: 0;
    }
    .download-section {
    margin-top: 1rem;
    text-align: center;
}
}

