/*
Theme Name: Portfolio SISR Ultimate
Author: Julian
Description: Portfolio ultra-moderne façon Terminal pour examen BTS SIO SISR.
Version: 6.0
*/

:root {
    --bg-fond: #050505;
    --bg-carte: #111111;
    --accent: #00f0ff;
    --accent-hover: #00b3ff;
    --texte: #e2e8f0;
    --texte-muted: #94a3b8;
    --terminal-header: #1a1a1a;
    --danger: #ef4444;
}

body {
    margin: 0; padding: 0;
    font-family: 'Inter', -apple-system, sans-serif;
    background-color: var(--bg-fond);
    color: var(--texte);
    line-height: 1.6;
    background-image: radial-gradient(circle at 50% 0%, #111a22 0%, transparent 70%);
}

header {
    background: rgba(5, 5, 5, 0.8);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid rgba(0, 240, 255, 0.2);
    padding: 1.2rem 5%;
    position: sticky; top: 0; z-index: 100;
    display: flex; justify-content: space-between; align-items: center;
}

.logo { 
    font-weight: 900; color: var(--accent); font-family: 'Courier New', Courier, monospace; 
    font-size: 1.4rem; text-shadow: 0 0 10px rgba(0, 240, 255, 0.4);
}

nav a { 
    color: var(--texte); text-decoration: none; margin-left: 2rem; font-size: 0.95rem;
    transition: all 0.3s ease;
}
nav a:hover { color: var(--accent); text-shadow: 0 0 8px var(--accent); }

.container { max-width: 1100px; margin: 0 auto; padding: 60px 5%; }

/* --- TERMINAL WINDOW --- */
.terminal-window {
    background: var(--bg-carte); border-radius: 10px; border: 1px solid #333;
    box-shadow: 0 20px 40px rgba(0,0,0,0.6); overflow: hidden; margin-bottom: 60px;
}

.terminal-header {
    background: var(--terminal-header); padding: 12px 15px; display: flex; gap: 8px; border-bottom: 1px solid #333;
}

.dot { width: 12px; height: 12px; border-radius: 50%; }
.dot.red { background: #ff5f56; }
.dot.yellow { background: #ffbd2e; }
.dot.green { background: #27c93f; }

.terminal-body { padding: 40px; display: flex; gap: 40px; align-items: center; }

.typewriter {
    color: var(--accent); font-family: monospace; font-size: 1.2rem;
    border-right: 3px solid var(--accent); animation: blink-caret 0.75s step-end infinite;
}
@keyframes blink-caret { from, to { border-color: transparent } 50% { border-color: var(--accent); } }

.about-badges { list-style: none; padding: 0; display: flex; gap: 12px; flex-wrap: wrap; margin-top: 30px; }
.about-badges li {
    background: rgba(0, 240, 255, 0.05); padding: 8px 16px; border-radius: 4px;
    font-size: 0.85rem; color: var(--accent); border: 1px solid rgba(0, 240, 255, 0.2); font-family: monospace;
}

.btn-neon {
    display: inline-block; margin-top: 30px; padding: 12px 28px;
    color: var(--accent); border: 2px solid var(--accent); text-decoration: none;
    font-weight: bold; transition: 0.3s;
}
.btn-neon:hover { background: var(--accent); color: #000; box-shadow: 0 0 20px var(--accent); }

/* --- TABLEAU --- */
.rp-table {
    width: 100%; border-collapse: collapse; background: var(--bg-carte); border: 1px solid #222;
}
.rp-table th, .rp-table td { padding: 18px; text-align: left; border-bottom: 1px solid #222; }
.rp-table th { background: #0a0a0a; color: var(--accent); font-family: monospace; }

/* --- FORMULAIRE MOT DE PASSE (CORRECTIF) --- */
.post-password-form {
    text-align: center; background: #1a1a1a; padding: 40px; border-radius: 10px;
    border: 1px solid var(--danger); max-width: 500px; margin: 40px auto;
}
.post-password-form input[type="password"] {
    display: block; width: 100%; padding: 12px; margin: 20px 0;
    background: #000; border: 1px solid #444; color: #fff; text-align: center;
}
.post-password-form input[type="submit"] {
    background: var(--danger); color: white; border: none; padding: 12px 30px;
    cursor: pointer; font-weight: bold; width: 100%; text-transform: uppercase;
}