/* TTF.css */


/* Reset et base */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'JetBrains Mono', 'Courier New', monospace;
    background: #0a0a0a;
    color: #c0c0c0;
    overflow: hidden;
    position: relative;
    height: 100vh;
}

/* Grille de fond pour effet militaire/technique */
.background-grid {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: 
        linear-gradient(rgba(64, 64, 64, 0.1) 1px, transparent 1px),
        linear-gradient(90deg, rgba(64, 64, 64, 0.1) 1px, transparent 1px);
    background-size: 20px 20px;
    z-index: -1;
}

/* Ligne de scanner qui traverse l'écran */
.scanner-line {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 2px;
    background: linear-gradient(90deg, 
        transparent, 
        rgba(0, 255, 0, 0.3), 
        rgba(73, 73, 73, 0.8), 
        rgba(0, 255, 0, 0.3), 
        transparent
    );
    animation: scan 4s linear infinite;
    z-index: 10;
}

@keyframes scan {
    0% { transform: translateY(-2px); }
    100% { transform: translateY(100vh); }
}

/* Container principal */
.container {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
    padding: 20px;
    position: relative;
    z-index: 1;
}

/* En-tête terminal */
.terminal-header {
    background: #1a1a1a;
    border: 1px solid #333;
    border-bottom: none;
    width: 100%;
    max-width: 800px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 15px;
    border-radius: 8px 8px 0 0;
}

.terminal-controls {
    display: flex;
    gap: 8px;
}

.control {
    width: 12px;
    height: 12px;
    border-radius: 50%;
}

.minimize { background: #b9b9b9; }
.maximize { background: #585858; }
.close { background: #333333; }

.terminal-title {
    font-size: 12px;
    color: #888;
    font-weight: 400;
}

/* Contenu terminal */
.terminal-content {
    background: #0f0f0f;
    border: 1px solid #333;
    border-top: none;
    width: 100%;
    max-width: 800px;
    min-height: 500px;
    padding: 20px;
    border-radius: 0 0 8px 8px;
    box-shadow: 0 0 20px rgba(0, 0, 0, 0.5);
}

/* Séquence de démarrage */
.boot-sequence {
    margin-bottom: 30px;
}

.boot-line {
    display: flex;
    margin-bottom: 5px;
    font-size: 12px;
    opacity: 0;
    animation: fadeIn 0.5s ease forwards;
}

.boot-line:nth-child(1) { animation-delay: 0.5s; }
.boot-line:nth-child(2) { animation-delay: 1s; }
.boot-line:nth-child(3) { animation-delay: 1.5s; }
.boot-line:nth-child(4) { animation-delay: 2s; }

.timestamp {
    color: #666;
    margin-right: 10px;
}

.text {
    color: #c0c0c0;
}

.status {
    font-weight: bold;
}

.status.ok { color: #555555; }
.status.pending { color: #b9b9b9; }

/* Contenu principal */
.main-content {
    opacity: 0;
    animation: fadeIn 1s ease forwards 2.5s;
}

/* Logo ASCII */
.logo-section {
    text-align: center;
    margin-bottom: 30px;
}

.ascii-art {
    font-size: 14px;
    color: #666;
    line-height: 1.2;
    margin-bottom: 20px;
}

/* Titre principal */
.main-title {
    text-align: center;
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 30px;
    color: #ffffff;
    text-shadow: 0 0 10px rgba(255, 255, 255, 0.3);
}

.bracket {
    color: #555555;
    font-weight: normal;
}

.typing-text {
    border-right: 2px solid #555555;
    animation: typing 2s steps(11) 3s forwards, blink 1s step-end infinite 3s;
    overflow: hidden;
    white-space: nowrap;
    width: 0;
    display: inline-block;
}

@keyframes typing {
    from { width: 0; }
    to { width: 11ch; }
}

@keyframes blink {
    50% { border-color: transparent; }
}

/* Barre de statut */
.status-section {
    margin-bottom: 40px;
}

.status-bar {
    display: flex;
    flex-direction: column;
    gap: 10px;
    max-width: 600px;
    margin: 0 auto;
}

.status-item {
    display: flex;
    justify-content: space-between;
    padding: 8px 15px;
    background: rgba(26, 26, 26, 0.8);
    border: 1px solid #333;
    border-radius: 4px;
    font-size: 14px;
}

.label {
    color: #888;
}

.value {
    font-weight: bold;
}

.value.warning { color: #b9b9b9; }
.value.classified { color: #999999; }
.value.pending { color: #969696; }

/* Ligne de commande */
.command-line {
    text-align: center;
    margin-top: 40px;
    font-size: 16px;
    color: #555555;
}

.prompt {
    margin-right: 5px;
}

.cursor {
    animation: blink-cursor 1s step-end infinite;
    color: #555555;
}

@keyframes blink-cursor {
    50% { opacity: 0; }
}

/* Animations générales */
@keyframes fadeIn {
    to { opacity: 1; }
}

/* Responsive */
@media (max-width: 768px) {
    .container {
        padding: 10px;
    }
    
    .terminal-content {
        padding: 15px;
        min-height: 400px;
    }
    
    .main-title {
        font-size: 2rem;
    }
    
    .ascii-art {
        font-size: 10px;
    }
    
    .status-bar {
        gap: 8px;
    }
    
    .status-item {
        flex-direction: column;
        gap: 5px;
        text-align: center;
    }
}

@media (max-width: 480px) {
    .main-title {
        font-size: 1.5rem;
    }
    
    .ascii-art {
        font-size: 8px;
    }
    
    .terminal-header {
        height: 35px;
    }
    
    .terminal-title {
        font-size: 10px;
    }
}
