:root {
    --primary-color: #00ff9d;
    --secondary-color: #ff003c;
    --background-color: #0a0a0a;
    --text-color: #ffffff;
    --accent-color: #0066ff;
    --terminal-green: #00ff00;
    --glitch-color: #ff00ff;
}

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

body {
    font-family: 'Share Tech Mono', monospace;
    background-color: var(--background-color);
    color: var(--text-color);
    line-height: 1.6;
    overflow-x: hidden;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    align-items: center;
}

/* Overlay de sécurité */
.security-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.95);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 1000;
}

.security-warning {
    text-align: center;
    padding: 2rem;
    border: 2px solid var(--secondary-color);
    background-color: rgba(0, 0, 0, 0.8);
    max-width: 600px;
}

.security-warning h1 {
    color: var(--secondary-color);
    font-size: 2.5rem;
    margin-bottom: 1rem;
    text-transform: uppercase;
}

.glitch-button {
    background-color: transparent;
    border: 2px solid var(--primary-color);
    color: var(--primary-color);
    padding: 1rem 2rem;
    font-family: 'Share Tech Mono', monospace;
    font-size: 1.2rem;
    cursor: pointer;
    transition: all 0.3s ease;
    margin-top: 2rem;
    position: relative;
    overflow: hidden;
}

.glitch-button:hover {
    background-color: var(--primary-color);
    color: var(--background-color);
}

/* Container principal */
.main-container {
    width: 100%;
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 2rem;
    opacity: 1;
    transition: opacity 0.5s ease;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.main-container.hidden {
    opacity: 0;
    pointer-events: none;
}

/* Header */
header {
    width: 100%;
    text-align: center;
    padding: 2rem;
    border-bottom: 1px solid var(--primary-color);
    position: relative;
    margin-bottom: 2rem;
}

.logo-container {
    text-align: center;
    margin-bottom: 2rem;
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.logo-image {
    width: 300px;
    height: auto;
    margin-bottom: 1rem;
    filter: drop-shadow(0 0 10px var(--primary-color));
    transition: all 0.3s ease;
}

.logo-image:hover {
    transform: scale(1.05);
    filter: drop-shadow(0 0 20px var(--primary-color));
}

.glitch-text {
    font-size: 3rem;
    color: var(--primary-color);
    text-shadow: 2px 2px var(--glitch-color);
    position: relative;
}

.subtitle {
    color: var(--text-color);
    font-size: 1rem;
    opacity: 0.8;
}

/* Navigation */
nav {
    width: 100%;
    background: rgba(0, 0, 0, 0.8);
    padding: 1rem 0;
    position: sticky;
    top: 0;
    z-index: 1000;
    backdrop-filter: blur(10px);
}

nav ul {
    display: flex;
    justify-content: center;
    list-style: none;
    gap: 2rem;
    flex-wrap: wrap;
    max-width: 1200px;
    margin: 0 auto;
}

nav a {
    color: var(--text-color);
    text-decoration: none;
    text-transform: uppercase;
    font-size: 0.9rem;
    transition: all 0.3s ease;
    position: relative;
    padding: 5px 10px;
}

nav a::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--primary-color);
    transition: width 0.3s ease;
}

nav a:hover::after {
    width: 100%;
}

/* Sections */
.section {
    width: 100%;
    max-width: 1200px;
    padding: 4rem 2rem;
    margin: 0 auto;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.8s ease;
    text-align: center;
}

.section.visible {
    opacity: 1;
    transform: translateY(0);
}

.section h2 {
    font-size: 2.5rem;
    margin-bottom: 2rem;
    color: var(--primary-color);
    text-shadow: 0 0 10px rgba(0, 255, 157, 0.3);
}

/* Terminal */
.terminal-window {
    background: linear-gradient(145deg, #0a0a0a, #1a1a1a);
    border: 1px solid rgba(0, 255, 157, 0.2);
    border-radius: 5px;
    padding: 1.5rem;
    margin: 2rem auto;
    max-width: 800px;
    box-shadow: 0 0 20px rgba(0, 255, 157, 0.1);
}

.terminal-header {
    background: linear-gradient(90deg, #1a1a1a, #2a2a2a);
    border-bottom: 1px solid rgba(0, 255, 157, 0.2);
    padding-bottom: 0.5rem;
    margin-bottom: 1rem;
    text-align: center;
}

.terminal-title {
    color: var(--primary-color);
    font-size: 1.2rem;
}

.terminal-content {
    font-family: 'Share Tech Mono', monospace;
    color: var(--terminal-green);
    text-align: left;
}

.typing-text {
    margin-bottom: 0.5rem;
}

/* Cards */
.personnel-grid,
.projects-grid,
.security-levels,
.downloads-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin: 2rem auto;
    max-width: 1200px;
}

.personnel-card,
.project-card,
.level-card,
.download-card {
    background: linear-gradient(145deg, #0a0a0a, #1a1a1a);
    border: 1px solid rgba(0, 255, 157, 0.1);
    border-radius: 15px;
    padding: 2rem;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    text-align: center;
}

.personnel-card:hover,
.project-card:hover,
.level-card:hover,
.download-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 5px 15px rgba(0, 255, 157, 0.1);
}

.personnel-card::before,
.project-card::before,
.level-card::before,
.download-card::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: linear-gradient(
        45deg,
        transparent,
        rgba(0, 255, 157, 0.03),
        transparent
    );
    transform: rotate(45deg);
    transition: all 0.5s ease;
    opacity: 0;
}

.personnel-card:hover::before,
.project-card:hover::before,
.level-card:hover::before,
.download-card:hover::before {
    opacity: 1;
    animation: shine 1.5s infinite;
}

.avatar-placeholder {
    width: 100px;
    height: 100px;
    background-color: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    margin: 0 auto 1rem;
}

.security-level {
    display: inline-block;
    padding: 0.25rem 0.5rem;
    background-color: var(--secondary-color);
    color: var(--text-color);
    font-size: 0.8rem;
    margin-top: 1rem;
}

/* Footer */
footer {
    width: 100%;
    text-align: center;
    padding: 2rem;
    margin-top: auto;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    position: relative;
}

.watermark {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) rotate(-45deg);
    font-size: 8rem;
    color: rgba(255, 255, 255, 0.03);
    pointer-events: none;
    white-space: nowrap;
}

/* Bouton de téléchargement */
.download-button {
    display: inline-block;
    background: linear-gradient(145deg, #1a1a1a, #2a2a2a);
    border: 1px solid var(--primary-color);
    border-radius: 20px;
    padding: 12px 24px;
    color: var(--primary-color);
    font-family: 'Share Tech Mono', monospace;
    font-size: 1rem;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
    margin-top: 1rem;
    position: relative;
    overflow: hidden;
    z-index: 1;
}

.download-button::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(
        90deg,
        transparent,
        rgba(0, 255, 157, 0.2),
        transparent
    );
    transition: all 0.5s ease;
    z-index: -1;
}

.download-button:hover {
    background: linear-gradient(145deg, #2a2a2a, #1a1a1a);
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0, 255, 157, 0.2);
    border-color: var(--primary-color);
}

.download-button:hover::before {
    left: 100%;
}

.download-button:active {
    transform: translateY(1px);
    box-shadow: 0 2px 8px rgba(0, 255, 157, 0.1);
}

/* Section de téléchargement */
.downloads-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin: 2rem auto;
    max-width: 1200px;
}

.download-card {
    background: linear-gradient(145deg, #0a0a0a, #1a1a1a);
    border: 1px solid rgba(0, 255, 157, 0.1);
    border-radius: 15px;
    padding: 2rem;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    text-align: center;
}

.download-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 5px 15px rgba(0, 255, 157, 0.1);
    border-color: var(--primary-color);
}

.download-card h3 {
    color: var(--primary-color);
    margin-bottom: 1rem;
    font-size: 1.5rem;
}

.download-card p {
    color: var(--text-color);
    margin-bottom: 1.5rem;
    opacity: 0.8;
}

/* Effet de secret pour les titres */
h2 {
    position: relative;
    display: inline-block;
    padding: 0 20px;
}

h2::before,
h2::after {
    content: '';
    position: absolute;
    top: 50%;
    width: 30px;
    height: 2px;
    background: var(--primary-color);
    opacity: 0.5;
}

h2::before {
    left: -40px;
}

h2::after {
    right: -40px;
}

/* Animation de chargement pour les sections */
.section {
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.8s ease;
}

.section.visible {
    opacity: 1;
    transform: translateY(0);
}

/* Effet de secret pour le terminal */
.terminal-window {
    background: linear-gradient(145deg, #0a0a0a, #1a1a1a);
    border: 1px solid rgba(0, 255, 157, 0.2);
    box-shadow: 0 0 20px rgba(0, 255, 157, 0.1);
}

.terminal-header {
    background: linear-gradient(90deg, #1a1a1a, #2a2a2a);
    border-bottom: 1px solid rgba(0, 255, 157, 0.2);
}

/* Effet de secret pour la navigation */
nav a {
    position: relative;
    padding: 5px 10px;
}

nav a::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--primary-color);
    transition: width 0.3s ease;
}

nav a:hover::after {
    width: 100%;
}

/* Responsive */
@media (max-width: 768px) {
    .main-container {
        padding: 0 1rem;
    }

    .section {
        padding: 2rem 1rem;
    }

    .section h2 {
        font-size: 2rem;
    }

    nav ul {
        gap: 1rem;
    }

    .personnel-grid,
    .projects-grid,
    .security-levels,
    .downloads-grid {
        grid-template-columns: 1fr;
    }

    .terminal-window {
        margin: 1rem;
        padding: 1rem;
    }

    .logo-image {
        width: 200px;
    }

    .downloads-grid {
        grid-template-columns: 1fr;
        padding: 0 1rem;
    }

    .download-button {
        width: 100%;
        text-align: center;
    }
}

/* Effet de scanline */
.scanline {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(
        to bottom,
        transparent 50%,
        rgba(0, 0, 0, 0.1) 50%
    );
    background-size: 100% 4px;
    pointer-events: none;
    z-index: 9999;
    animation: scanline 10s linear infinite;
}

@keyframes scanline {
    0% {
        background-position: 0 0;
    }
    100% {
        background-position: 0 100%;
    }
}

/* Effet de glitch */
.glitch-text {
    position: relative;
    animation: glitch 2s infinite;
}

@keyframes glitch {
    0% {
        text-shadow: 2px 2px var(--primary-color);
    }
    25% {
        text-shadow: -2px -2px var(--secondary-color);
    }
    50% {
        text-shadow: 2px -2px var(--accent-color);
    }
    75% {
        text-shadow: -2px 2px var(--glitch-color);
    }
    100% {
        text-shadow: 2px 2px var(--primary-color);
    }
} 