/* Polices Google Fonts locales */
@font-face {
    font-family: 'Share Tech Mono';
    src: url('fonts/ShareTechMono-Regular.ttf') format('woff2');
    font-weight: 400;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Orbitron';
    src: url('fonts/Orbitron-Regular.ttf') format('woff2');
    font-weight: 400;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Orbitron';
    src: url('fonts/Orbitron-Bold.ttf') format('woff2');
    font-weight: 700;
    font-style: normal;
    font-display: swap;
}

:root {
    --neon-cyan: #00fff7;
    --neon-pink: #ff00c8;
    --dark-bg: #0a0a0f;
    --text-primary: #fff;
    --text-secondary: #b0b0b0;
    --error-color: #ff4444;
    --success-color: #44ff44;
    --warning-color: #ffaa00;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    background: linear-gradient(135deg, #0a0a0f 0%, #1a1a2e 100%);
    color: var(--text-primary);
    font-family: 'Share Tech Mono', monospace;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 1rem;
}

.card {
    background: rgba(20, 20, 40, 0.95);
    border-radius: 18px;
    box-shadow: 0 0 32px #00fff7a0, 0 0 8px #ff00c880;
    padding: 2.5rem 2rem;
    max-width: 420px;
    width: 100%;
    text-align: center;
    backdrop-filter: blur(10px);
}

.glitch {
    font-family: 'Orbitron', monospace;
    font-size: 2.2rem;
    font-weight: 700;
    color: var(--text-primary);
    position: relative;
    margin-bottom: 0.5rem;
    letter-spacing: 1px;
    cursor: pointer;
}

.glitch:before, .glitch:after {
    content: attr(data-text);
    position: absolute;
    left: 0;
    width: 100%;
    overflow: hidden;
}

.glitch:before {
    animation: glitchTop 2s infinite linear alternate-reverse;
    color: var(--neon-cyan);
    z-index: 1;
    top: -2px;
}

.glitch:after {
    animation: glitchBot 2s infinite linear alternate-reverse;
    color: var(--neon-pink);
    z-index: 2;
    top: 2px;
}

@keyframes glitchTop {
    0% { left: 0; }
    20% { left: 2px; }
    40% { left: -2px; }
    60% { left: 2px; }
    80% { left: -1px; }
    100% { left: 0; }
}

@keyframes glitchBot {
    0% { left: 0; }
    20% { left: -2px; }
    40% { left: 2px; }
    60% { left: -1px; }
    80% { left: 2px; }
    100% { left: 0; }
}

.subtitle {
    color: var(--neon-cyan);
    font-size: 1.1rem;
    margin-bottom: 1.2rem;
    font-family: 'Orbitron', monospace;
}

.about {
    color: var(--text-secondary);
    font-size: 1.05rem;
    margin-bottom: 1.5rem;
    line-height: 1.6;
}

.highlights {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.highlight {
    background: #1a1a2e;
    border: 1px solid var(--neon-cyan);
    border-radius: 8px;
    color: var(--neon-cyan);
    padding: 0.7rem 1.1rem;
    font-size: 1rem;
    font-weight: bold;
    box-shadow: 0 0 8px #00fff7a0;
    transition: all 0.3s ease;
}

.highlight:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px #00fff7a0;
}

.highlight.pink {
    border-color: var(--neon-pink);
    color: var(--neon-pink);
    box-shadow: 0 0 8px #ff00c8a0;
}

.highlight.pink:hover {
    box-shadow: 0 5px 15px #ff00c8a0;
}

.contact {
    margin-top: 1.5rem;
}

.contact a {
    color: var(--neon-cyan);
    text-decoration: none;
    font-weight: bold;
    margin: 0 0.5rem;
    transition: all 0.3s ease;
    padding: 0.5rem 1rem;
    border: 1px solid var(--neon-cyan);
    border-radius: 6px;
    background: rgba(0, 255, 247, 0.1);
}

.contact a:hover {
    color: var(--dark-bg);
    background: var(--neon-cyan);
    box-shadow: 0 0 15px var(--neon-cyan);
}

/* Styles pour le formulaire de contact */
.form-group {
    margin-bottom: 1.5rem;
    text-align: left;
}

.form-group label {
    display: block;
    color: var(--neon-cyan);
    font-weight: bold;
    margin-bottom: 0.5rem;
    font-family: 'Orbitron', monospace;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 0.8rem;
    background: rgba(26, 26, 46, 0.8);
    border: 1px solid var(--neon-cyan);
    border-radius: 8px;
    color: var(--text-primary);
    font-family: 'Share Tech Mono', monospace;
    font-size: 1rem;
    transition: all 0.3s ease;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--neon-pink);
    box-shadow: 0 0 15px rgba(255, 0, 200, 0.3);
}

.form-group textarea {
    resize: vertical;
    min-height: 120px;
}

.captcha-group {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    margin-bottom: 1.5rem;
}

.captcha-row {
    display: flex;
    flex-direction: row;
    gap: 1rem;
    align-items: center;
}

.captcha-image {
    background: rgba(26, 26, 46, 0.8);
    border: 1px solid var(--neon-cyan);
    border-radius: 8px;
    padding: 0.5rem 0.8rem;
    font-family: 'Orbitron', monospace;
    font-size: 1.2rem;
    font-weight: bold;
    color: var(--neon-pink);
    user-select: none;
    cursor: pointer;
    min-width: 100px;
    max-width: 120px;
    text-align: center;
    flex-shrink: 0;
}

.captcha-group input[type="text"] {
    flex: 1 1 0%;
    padding: 0.8rem;
    background: rgba(26, 26, 46, 0.8);
    border: 1px solid var(--neon-cyan);
    border-radius: 8px;
    color: var(--text-primary);
    font-family: 'Share Tech Mono', monospace;
    font-size: 1rem;
    transition: all 0.3s ease;
    min-width: 0;
}

.captcha-group input[type="text"]:focus {
    outline: none;
    border-color: var(--neon-pink);
    box-shadow: 0 0 15px rgba(255, 0, 200, 0.3);
}

.submit-btn {
    background: linear-gradient(45deg, var(--neon-cyan), var(--neon-pink));
    color: var(--dark-bg);
    border: none;
    padding: 1rem 2rem;
    border-radius: 8px;
    font-weight: bold;
    font-family: 'Orbitron', monospace;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 0 20px rgba(0, 255, 247, 0.5);
    width: 100%;
    font-size: 1.1rem;
}

.submit-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 30px rgba(255, 0, 200, 0.5);
}

.submit-btn:disabled {
    opacity: 0.6;
    cursor: not-allowed;
    transform: none;
    background: #666;
    box-shadow: none;
}

.message {
    padding: 1rem;
    border-radius: 8px;
    margin-bottom: 1.5rem;
    font-weight: bold;
}

.message.success {
    background: rgba(68, 255, 68, 0.2);
    border: 1px solid var(--success-color);
    color: var(--success-color);
}

.message.error {
    background: rgba(255, 68, 68, 0.2);
    border: 1px solid var(--error-color);
    color: var(--error-color);
}

.message.warning {
    background: rgba(255, 170, 0, 0.2);
    border: 1px solid var(--warning-color);
    color: var(--warning-color);
}

/* Styles pour le délai d'attente */
.delay-countdown {
    background: rgba(255, 170, 0, 0.2);
    border: 1px solid var(--warning-color);
    color: var(--warning-color);
    padding: 1rem;
    border-radius: 8px;
    margin-bottom: 1.5rem;
    font-weight: bold;
    font-family: 'Orbitron', monospace;
}

.delay-countdown #countdown {
    color: var(--neon-pink);
    font-size: 1.2rem;
    font-weight: bold;
}

/* Formulaire désactivé */
.form-disabled {
    opacity: 0.5;
    pointer-events: none;
    transition: opacity 0.3s ease;
}

.back-link {
    display: inline-block;
    margin-top: 1.5rem;
    color: var(--neon-cyan);
    text-decoration: none;
    font-weight: bold;
    transition: color 0.3s ease;
}

.back-link:hover {
    color: var(--neon-pink);
}

/* Responsive */
@media (max-width: 600px) {
    .card { 
        padding: 1.2rem 0.5rem; 
        margin: 0.5rem;
    }
    .glitch { font-size: 1.3rem; }
    .contact a {
        display: block;
        margin: 0.5rem 0;
    }
    .captcha-row {
        flex-direction: column;
        gap: 0.5rem;
        align-items: stretch;
    }
    .captcha-image {
        min-width: auto;
        width: 100%;
        max-width: 100%;
    }
} 