@import url('https://fonts.googleapis.com/css2?family=Orbitron:wght@400;600;800;900&family=Share+Tech+Mono&family=Inter:wght@300;400;500;700&display=swap');

:root {
    --bg-color: #050508;
    --card-bg: rgba(12, 12, 18, 0.75);
    --card-border: rgba(255, 46, 99, 0.2);
    --card-border-focus: rgba(255, 46, 99, 0.6);
    --glow-color: rgba(255, 46, 99, 0.4);
    
    --primary: #ff2e63;
    --primary-glow: rgba(255, 46, 99, 0.8);
    --accent: #00f5d4;
    --accent-glow: rgba(0, 245, 212, 0.8);
    --warning: #ffb703;
    --warning-glow: rgba(255, 183, 3, 0.8);
    
    --text-main: #e2e8f0;
    --text-muted: #94a3b8;
    --text-dark: #0f172a;
    
    --scanline-color: rgba(255, 46, 99, 0.04);
}

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

body {
    background-color: var(--bg-color);
    color: var(--text-main);
    font-family: 'Inter', sans-serif;
    min-height: 100vh;
    overflow-x: hidden;
    position: relative;
    line-height: 1.6;
}

/* Background Cyber Grid & CRT Overlay */
body::before {
    content: "";
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: 
        linear-gradient(rgba(255, 46, 99, 0.02) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 46, 99, 0.02) 1px, transparent 1px);
    background-size: 30px 30px;
    pointer-events: none;
    z-index: 1;
}

/* CRT Scanline Effect */
body::after {
    content: "";
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(
        var(--scanline-color) 50%, 
        rgba(0, 0, 0, 0.25) 50%
    ), linear-gradient(
        90deg, 
        rgba(255, 0, 0, 0.03), 
        rgba(0, 255, 0, 0.01), 
        rgba(0, 0, 255, 0.03)
    );
    background-size: 100% 4px, 6px 100%;
    pointer-events: none;
    z-index: 9999;
}

/* CRT Flickering Screen */
.crt-flicker {
    animation: textShadow 1.6s infinite;
}

/* Container */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 2rem 1.5rem;
    position: relative;
    z-index: 2;
}

/* Header & Logo */
header {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    margin-bottom: 3rem;
    position: relative;
}

.logo-container {
    position: relative;
    width: 130px;
    height: 130px;
    margin-bottom: 1.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
}

.logo-glow {
    position: absolute;
    width: 100%;
    height: 100%;
    border-radius: 50%;
    background: radial-gradient(circle, var(--glow-color) 0%, transparent 70%);
    animation: pulseGlow 3s infinite ease-in-out;
}

.logo-img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    z-index: 2;
    filter: drop-shadow(0 0 10px var(--primary));
    transition: transform 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.logo-img:hover {
    transform: rotate(15deg) scale(1.1);
}

header h1 {
    font-family: 'Orbitron', sans-serif;
    font-weight: 900;
    font-size: 3rem;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: #fff;
    text-shadow: 0 0 10px var(--primary-glow), 0 0 20px rgba(255, 46, 99, 0.3);
    margin-bottom: 0.5rem;
}

header .subtitle {
    font-family: 'Share Tech Mono', monospace;
    font-size: 1.1rem;
    color: var(--accent);
    letter-spacing: 0.3em;
    text-transform: uppercase;
    text-shadow: 0 0 8px var(--accent-glow);
}

/* Security Alert Banner */
.security-banner {
    background: rgba(255, 46, 99, 0.1);
    border: 1px solid var(--primary);
    border-radius: 4px;
    padding: 1rem 1.5rem;
    margin-bottom: 3rem;
    display: flex;
    align-items: center;
    gap: 1.5rem;
    position: relative;
    overflow: hidden;
    box-shadow: 0 0 15px rgba(255, 46, 99, 0.15), inset 0 0 15px rgba(255, 46, 99, 0.1);
}

.security-banner::before {
    content: "";
    position: absolute;
    top: 0;
    left: -100%;
    width: 50%;
    height: 100%;
    background: linear-gradient(
        90deg,
        transparent,
        rgba(255, 46, 99, 0.2),
        transparent
    );
    animation: scanLaser 4s infinite linear;
}

.security-badge {
    background: var(--primary);
    color: #fff;
    font-family: 'Orbitron', sans-serif;
    font-weight: 800;
    font-size: 0.9rem;
    padding: 0.5rem 1rem;
    border-radius: 3px;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    animation: flashAlert 1.5s infinite steps(2);
    box-shadow: 0 0 10px var(--primary);
    flex-shrink: 0;
}

.security-text {
    font-family: 'Share Tech Mono', monospace;
    font-size: 0.95rem;
    color: var(--text-main);
}

/* Grid Layouts */
.grid-layout {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 2rem;
    margin-bottom: 3rem;
}

@media (max-width: 900px) {
    .grid-layout {
        grid-template-columns: 1fr;
    }
}

/* Cyber Cards */
.cyber-card {
    background: var(--card-bg);
    border: 1px solid var(--card-border);
    border-radius: 8px;
    padding: 2rem;
    position: relative;
    overflow: hidden;
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5), inset 0 1px 0 rgba(255, 255, 255, 0.05);
    transition: border-color 0.3s, box-shadow 0.3s;
}

.cyber-card:hover {
    border-color: var(--card-border-focus);
    box-shadow: 0 10px 40px rgba(255, 46, 99, 0.08), 0 0 25px rgba(255, 46, 99, 0.05);
}

.cyber-card-header {
    border-bottom: 1px solid rgba(255, 46, 99, 0.15);
    padding-bottom: 1rem;
    margin-bottom: 1.5rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.cyber-card-title {
    font-family: 'Orbitron', sans-serif;
    font-size: 1.4rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: #fff;
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.cyber-card-title::before {
    content: "";
    display: inline-block;
    width: 6px;
    height: 18px;
    background: var(--primary);
    box-shadow: 0 0 8px var(--primary);
}

.cyber-card-tag {
    font-family: 'Share Tech Mono', monospace;
    font-size: 0.8rem;
    color: var(--accent);
    text-transform: uppercase;
    letter-spacing: 0.1em;
}

/* Redacted Text Effect */
.redacted {
    background-color: #000;
    color: #000;
    user-select: none;
    cursor: help;
    transition: background-color 0.5s ease, color 0.5s ease;
    padding: 0 4px;
    border-radius: 2px;
    display: inline;
}

.redacted:hover, .redacted.revealed {
    background-color: rgba(255, 255, 255, 0.1);
    color: var(--accent);
    user-select: text;
    text-shadow: 0 0 5px var(--accent-glow);
}

/* Console System Output */
.console-output {
    font-family: 'Share Tech Mono', monospace;
    background: rgba(0, 0, 0, 0.6);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 4px;
    padding: 1.25rem;
    margin-bottom: 1.5rem;
    max-height: 350px;
    overflow-y: auto;
    font-size: 0.9rem;
    color: var(--text-main);
    box-shadow: inset 0 0 10px rgba(0,0,0,0.8);
}

.console-line {
    margin-bottom: 0.5rem;
    word-break: break-all;
}

.console-line.input::before {
    content: "> ";
    color: var(--accent);
    font-weight: bold;
}

.console-line.success {
    color: #4ade80;
}

.console-line.error {
    color: var(--primary);
    text-shadow: 0 0 8px rgba(255, 46, 99, 0.3);
}

.console-line.warning {
    color: var(--warning);
}

/* Team Showcase Section */
.team-container {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.member-card {
    background: rgba(15, 15, 25, 0.8);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-top: 4px solid var(--accent);
    border-radius: 8px;
    padding: 2rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    position: relative;
    transition: transform 0.3s, border-color 0.3s, box-shadow 0.3s;
}

.member-card:hover {
    transform: translateY(-5px);
    border-color: var(--accent);
    box-shadow: 0 10px 30px rgba(0, 245, 212, 0.05), 0 0 15px rgba(0, 245, 212, 0.03);
}

.member-card.founder {
    border-top: 4px solid var(--primary);
}
.member-card.founder:hover {
    box-shadow: 0 10px 30px rgba(255, 46, 99, 0.05), 0 0 15px rgba(255, 46, 99, 0.03);
}

.avatar-wrapper {
    position: relative;
    width: 120px;
    height: 120px;
    margin-bottom: 1.5rem;
}

.avatar-circle {
    width: 100%;
    height: 100%;
    border-radius: 50%;
    border: 2px solid var(--accent);
    padding: 4px;
    background: rgba(0, 245, 212, 0.05);
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    box-shadow: 0 0 15px rgba(0, 245, 212, 0.2);
    transition: transform 0.3s ease;
}

.founder .avatar-circle {
    border-color: var(--primary);
    background: rgba(255, 46, 99, 0.05);
    box-shadow: 0 0 15px rgba(255, 46, 99, 0.2);
}

.avatar-img {
    width: 100%;
    height: 100%;
    border-radius: 50%;
    object-fit: cover;
    background-color: rgba(0,0,0,0.3);
}

.member-card:hover .avatar-circle {
    transform: scale(1.05);
}

.member-clearance {
    position: absolute;
    top: 1rem;
    right: 1rem;
    font-family: 'Share Tech Mono', monospace;
    font-size: 0.75rem;
    background: rgba(255, 255, 255, 0.08);
    padding: 0.25rem 0.5rem;
    border-radius: 3px;
    border: 1px solid rgba(255,255,255,0.1);
}

.founder .member-clearance {
    color: var(--primary);
    border-color: rgba(255, 46, 99, 0.3);
    background: rgba(255, 46, 99, 0.1);
}

.member-name {
    font-family: 'Orbitron', sans-serif;
    font-size: 1.3rem;
    font-weight: 700;
    color: #fff;
    margin-bottom: 0.25rem;
}

.member-role {
    font-family: 'Share Tech Mono', monospace;
    font-size: 0.95rem;
    color: var(--accent);
    margin-bottom: 1rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.founder .member-role {
    color: var(--primary);
    text-shadow: 0 0 5px rgba(255, 46, 99, 0.3);
}

.member-bio {
    font-size: 0.9rem;
    color: var(--text-muted);
    margin-bottom: 1.5rem;
    line-height: 1.5;
}

.roblox-link {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    font-family: 'Share Tech Mono', monospace;
    font-size: 0.85rem;
    color: #fff;
    background: #000;
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 4px;
    padding: 0.5rem 1rem;
    text-decoration: none;
    transition: background-color 0.2s, border-color 0.2s;
}

.roblox-link:hover {
    background: #1e1f22;
    border-color: var(--accent);
    color: var(--accent);
}

.founder .roblox-link:hover {
    border-color: var(--primary);
    color: var(--primary);
}

.roblox-icon {
    width: 14px;
    height: 14px;
    fill: currentColor;
}

/* Footer style */
footer {
    margin-top: 5rem;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    padding-top: 2rem;
    text-align: center;
    font-family: 'Share Tech Mono', monospace;
    font-size: 0.85rem;
    color: var(--text-muted);
}

.footer-link {
    color: var(--primary);
    text-decoration: none;
    margin-left: 10px;
    transition: color 0.2s;
}

.footer-link:hover {
    color: #fff;
    text-shadow: 0 0 8px var(--primary-glow);
}

/* Interactive elements & inputs */
.btn {
    font-family: 'Orbitron', sans-serif;
    font-size: 0.85rem;
    font-weight: 600;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    padding: 0.75rem 1.5rem;
    background: transparent;
    color: #fff;
    border: 1px solid var(--primary);
    border-radius: 4px;
    cursor: pointer;
    position: relative;
    overflow: hidden;
    transition: all 0.3s;
    box-shadow: 0 0 10px rgba(255, 46, 99, 0.1);
}

.btn::before {
    content: "";
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(
        90deg,
        transparent,
        rgba(255, 46, 99, 0.3),
        transparent
    );
    transition: left 0.5s;
}

.btn:hover::before {
    left: 100%;
}

.btn:hover {
    background: var(--primary);
    box-shadow: 0 0 15px var(--primary-glow);
    text-shadow: 0 0 5px #fff;
}

.btn-secondary {
    border-color: var(--accent);
    box-shadow: 0 0 10px rgba(0, 245, 212, 0.1);
}

.btn-secondary:hover {
    background: var(--accent);
    color: var(--text-dark);
    box-shadow: 0 0 15px var(--accent-glow);
    text-shadow: none;
}

/* Keyframes Animations */
@keyframes pulseGlow {
    0%, 100% {
        transform: scale(0.9);
        opacity: 0.4;
    }
    50% {
        transform: scale(1.1);
        opacity: 0.8;
    }
}

@keyframes flashAlert {
    0%, 49.9% {
        opacity: 0.15;
        box-shadow: none;
    }
    50%, 100% {
        opacity: 1;
        box-shadow: 0 0 10px var(--primary);
    }
}

@keyframes scanLaser {
    0% {
        left: -100%;
    }
    50%, 100% {
        left: 150%;
    }
}

@keyframes textShadow {
    0% {
        text-shadow: 0.43899241933008654px 0 1px rgba(0,30,255,0.5), -0.43899241933008654px 0 1px rgba(255,0,80,0.3), 0 0 3px;
    }
    5% {
        text-shadow: 2.7928974010788217px 0 1px rgba(0,30,255,0.5), -2.7928974010788217px 0 1px rgba(255,0,80,0.3), 0 0 3px;
    }
    20% {
        text-shadow: 0.43899241933008654px 0 1px rgba(0,30,255,0.5), -0.43899241933008654px 0 1px rgba(255,0,80,0.3), 0 0 3px;
    }
    21% {
        text-shadow: 1.7928974010788217px 0 1px rgba(0,30,255,0.5), -1.7928974010788217px 0 1px rgba(255,0,80,0.3), 0 0 3px;
    }
    55% {
        text-shadow: -0.43899241933008654px 0 1px rgba(0,30,255,0.5), 0.43899241933008654px 0 1px rgba(255,0,80,0.3), 0 0 3px;
    }
    100% {
        text-shadow: 0.43899241933008654px 0 1px rgba(0,30,255,0.5), -0.43899241933008654px 0 1px rgba(255,0,80,0.3), 0 0 3px;
    }
}

/* --- Styles RGPD & Modals --- */
.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(3, 3, 5, 0.85);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 11000;
}

.modal-box {
    background: var(--card-bg);
    border: 2px solid var(--primary);
    border-radius: 8px;
    width: 90%;
    max-width: 650px;
    max-height: 80vh;
    display: flex;
    flex-direction: column;
    box-shadow: 0 0 30px var(--glow-color);
    animation: pulseGlow 5s infinite ease-in-out;
}

.modal-header {
    padding: 1.5rem;
    border-bottom: 1px solid rgba(255, 46, 99, 0.2);
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.modal-title-text {
    font-family: 'Orbitron', sans-serif;
    color: #fff;
    font-size: 1.2rem;
    text-transform: uppercase;
    letter-spacing: 0.08em;
}

.modal-body-content {
    padding: 2rem 1.5rem;
    overflow-y: auto;
    font-size: 0.95rem;
    color: var(--text-main);
    line-height: 1.6;
}

.modal-body-content h4 {
    font-family: 'Orbitron', sans-serif;
    color: var(--accent);
    margin-top: 1.5rem;
    margin-bottom: 0.5rem;
    font-size: 1rem;
    text-transform: uppercase;
}

.modal-body-content p {
    margin-bottom: 1rem;
}

.btn-close {
    background: transparent;
    border: none;
    color: var(--text-muted);
    font-size: 1.8rem;
    cursor: pointer;
    line-height: 1;
    transition: color 0.2s;
}

.btn-close:hover {
    color: var(--primary);
}

/* Bandeau Cookie Consent */
.cookie-banner {
    position: fixed;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    width: 90%;
    max-width: 1000px;
    background: rgba(12, 12, 18, 0.95);
    border: 1px solid var(--primary);
    box-shadow: 0 5px 25px rgba(255, 46, 99, 0.2);
    border-radius: 6px;
    padding: 1.25rem;
    z-index: 10500;
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
}

.cookie-banner-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 1.5rem;
    font-size: 0.85rem;
    line-height: 1.5;
}

@media (max-width: 768px) {
    .cookie-banner-content {
        flex-direction: column;
        align-items: stretch;
        text-align: center;
    }
}

.cookie-banner-buttons {
    display: flex;
    gap: 0.75rem;
    flex-shrink: 0;
    justify-content: center;
}

/* Styles dynamiques pour les alertes configurables */
.security-banner.success {
    background: rgba(74, 222, 128, 0.05);
    border-color: #4ade80;
    box-shadow: 0 0 15px rgba(74, 222, 128, 0.1);
}
.security-banner.success .security-badge {
    background: #4ade80;
    box-shadow: 0 0 10px rgba(74, 222, 128, 0.5);
}

.security-banner.warning {
    background: rgba(255, 183, 3, 0.05);
    border-color: var(--warning);
    box-shadow: 0 0 15px rgba(255, 183, 3, 0.1);
}
.security-banner.warning .security-badge {
    background: var(--warning);
    color: var(--text-dark);
    box-shadow: 0 0 10px rgba(255, 183, 3, 0.5);
}

.security-banner.info {
    background: rgba(0, 245, 212, 0.05);
    border-color: var(--accent);
    box-shadow: 0 0 15px rgba(0, 245, 212, 0.1);
}
.security-banner.info .security-badge {
    background: var(--accent);
    color: var(--text-dark);
    box-shadow: 0 0 10px rgba(0, 245, 212, 0.5);
}
