/* ====================== Navigation ====================== */
nav {
    position: fixed;
    top: 20px; 
    padding: 0.2rem 0.4rem; 
    border-radius: 8px; 
    left: 50%;
    transform: translateX(-50%);
    width: 95%;
    background: linear-gradient(180deg, rgba(26, 27, 35, 0.95) 50%, rgba(26, 27, 35, 0.9) 50%); 
    border: 1px solid var(--neon-blue);
    box-shadow: 0 4px 20px rgba(27, 172, 255, 0.4);
    z-index: 1000;
    transition: all 0.3s ease;
}



.nav-container {
    width: 100%;
    margin: 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 0.5rem; 
}

.logo {
    font-family: 'Orbitron', monospace;
    font-weight: 900;
    color: var(--neon-yellow);
    text-decoration: none;
    text-shadow: 0 0 8px var(--neon-yellow), 0 0 16px var(--neon-yellow);
    position: relative;
    transition: transform 0.2s ease, text-shadow 0.2s ease;
    font-size: 1.1rem; 
    margin: 0.5rem 1rem;
}

.logo:hover {
    transform: scale(1.03);
    text-shadow: 0 0 12px var(--neon-yellow), 0 0 24px var(--neon-yellow);
}

.nav-links {
    display: flex;
    list-style: none;
    gap: 0.8rem;
    align-items: center;
    flex-wrap: nowrap; 
    justify-content: space-around;
    width: 100%; 
    gap: clamp(0.3rem, 0.8vw, 0.5rem);
}

.nav-links a {
    color: var(--text-light);
    text-decoration: none;
    font-family: 'Rajdhani', monospace;
    font-weight: 900;
    font-size: 1.2rem;
    padding: 0.3rem 0.4rem;
    position: relative;
    transition: all 0.3s ease;
    border-radius: 4px;
    white-space: nowrap;
}

.nav-links a::before {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    width: 0;
    height: 2px;
    background: var(--neon-blue);
    transition: width 0.3s ease, left 0.3s ease;
}

.nav-links a.active::before {
    width: 80%;
    left: 10%;
}

.nav-links a:hover,
.nav-links a.active {
    color: var(--neon-yellow);
    background: rgba(27, 172, 255, 0.1);
    text-shadow: 0 0 8px var(--neon-yellow);
    box-shadow: 0 0 8px rgba(27, 172, 255, 0.3);
}

.hamburger {
    display: none;
    background: transparent;
    border: 2px solid var(--neon-blue);
    color: var(--neon-yellow);
    font-size: 1.6rem;
    padding: 0.5rem 1rem;
    cursor: pointer;
    border-radius: 4px;
    transition: all 0.3s ease;
}

.hamburger:hover,
.hamburger[aria-expanded="true"] {
    background: var(--neon-blue);
    color: var(--bg-dark);
}

/* Progress Bar */
#progressBar {
    position: fixed;
    top: 0;
    left: 0;
    height: 4px;
    width: 0%;
    background: var(--neon-yellow);
    box-shadow: 0 0 15px var(--neon-yellow), 0 0 30px var(--neon-blue);
    z-index: 2000;
    transition: width 0.2s ease-out;
}

/* ====================== Hero Section ====================== */

.hero {
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    background:
            radial-gradient(circle at 20% 80%, rgba(27, 172, 255, 0.3) 0%, transparent 50%),
            radial-gradient(circle at 80% 20%, rgba(253, 245, 0, 0.2) 0%, transparent 50%);
}

.hero-content {
    text-align: center;
    z-index: 2;
    max-width: 900px;
    padding: 0 2rem;
}

.hero h1 {
    font-family: 'HACKED', monospace;
    font-size: 7rem;
    font-weight: 900;
    margin-bottom: 1rem;
    color: var(--neon-yellow);
    filter: drop-shadow(0 0 8px var(--neon-yellow));
    animation: glitch 10s infinite;
    position: relative;
    letter-spacing: 0.1em;
}

.hero h1::before {
    content: "CTF FLAG'MALO";
    position: absolute;
    color: var(--neon-blue);
    z-index: -1;
    white-space: nowrap;
}

.hero-subtitle {
    font-family: 'Rajdhani', monospace;
    font-size: 1.5rem;
    margin-bottom: 2rem;
    color: var(--neon-blue);
    font-weight: 300;
    text-shadow: 0 0 10px rgba(27, 172, 255, 0.5);
    letter-spacing: 0.05em;
}

.cta-button {
    display: inline-block;
    background: transparent;
    color: var(--neon-yellow);
    padding: 1rem 2rem;
    border: 2px solid var(--neon-yellow);
    border-radius: 12px;
    text-decoration: none;
    font-weight: 700;
    font-size: 1.2rem;
    transition: all 0.5s ease;
    box-shadow:
            0 0 20px rgba(253, 245, 0, 0.3),
            inset 0 0 20px rgba(253, 245, 0, 0.1);
    position: relative;
    overflow: hidden;
}

.cta-button:hover {
    background: var(--neon-yellow);
    color: var(--bg-dark);
    box-shadow:
            0 0 30px var(--neon-yellow),
            inset 0 0 30px rgba(253, 245, 0, 0.2);
}

/* ====================== About Section ====================== */
.about {
    background: linear-gradient(135deg, var(--bg-darker) 0%, var(--bg-dark) 100%);
}

#apropos {
    position: relative;
}

.about-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
    margin-bottom: 4rem;
}

.about-text h3 {
    font-family: 'Orbitron', monospace;
    font-size: 1.8rem;
    margin-bottom: 1rem;
    color: var(--neon-yellow);
    text-shadow: 0 0 10px rgba(253, 245, 0, 0.5);
    letter-spacing: 0.05em;
}

.about-text p {
    margin-bottom: 1.5rem;
    color: var(--text-dim);
    font-size: 1.1rem;
    line-height: 1.8;
}

.about-image img {
    max-width: 100%;
    height: auto;
    object-fit: cover;
    border-radius: 8px;
    max-height: 400px;
    border: 1px solid var(--neon-blue);
    box-shadow: 0 0 20px rgba(27, 172, 255, 0.3);
}

.features {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1.5rem;
}

.feature{
    --orb-core: rgba(255,255,255,0.85);
    --orb-mid1: rgba(120,200,255,0.65);
    --orb-mid2: rgba(27,172,255,0.35);
    --orb-fade: rgba(27,172,255,0.12);
    --orb-fill: rgba(27,172,255,0.42); 
}

.features > .feature:nth-child(odd){
    --orb-core: rgba(255,255,210,0.92);    
    --orb-mid1: rgba(255,236,128,0.70);      
    --orb-mid2: rgba(255,215,64,0.40);      
    --orb-fade: rgba(255,215,64,0.16);       
    --orb-fill: rgba(255,230,110,0.44);     
}


.feature {
    background: var(--bg-darker);
    padding: 2rem;

    position: relative;
    --orb-opacity: 0;
    --orb-size: 275px;
    border-radius: 8px;
    border: 1px solid rgba(27,172,255,0.20);
}

.feature::before{
    content:"";
    position:absolute;
    inset:0;
    border-radius:inherit;
    pointer-events:none;
    z-index:2;             
    opacity:var(--orb-opacity,0);
    filter: blur(1px);     
    background:
        radial-gradient(
        circle var(--orb-size,275px) at var(--mouse-x,50%) var(--mouse-y,50%),
        var(--orb-core) 0%,
        var(--orb-mid1) 25%,
        var(--orb-mid2) 45%,
        var(--orb-fade) 60%,
        transparent 70%
    );
    -webkit-mask:
        linear-gradient(#fff 0 0) padding-box,
        linear-gradient(#fff 0 0) content-box;
    -webkit-mask-composite: xor;  
    mask:
        linear-gradient(#fff 0 0) padding-box,
        linear-gradient(#fff 0 0) content-box;
    mask-composite: exclude;      
    padding: 2px; 
    mix-blend-mode: color-dodge;  
    transition: opacity .25s ease, filter .25s ease;
}

.feature::after {
    content: "";
    position: absolute;
    inset: 0;
    pointer-events: none;
    z-index: 0;

    background:
        radial-gradient(
        circle var(--orb-size,120px) at var(--mouse-x,50%) var(--mouse-y,50%),
        color-mix(in oklab, var(--orb-fill) 88%, transparent) 0%,
        color-mix(in oklab, var(--orb-fill) 55%, transparent) 35%,
        transparent 78%
    );
    filter: blur(100px) saturate(105%); 

    opacity: var(--orb-opacity, 0);
    transition: opacity 220ms ease;
}


.feature-icon {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    color: var(--neon-yellow);
    text-shadow: 0 0 20px var(--neon-yellow);
}

.feature h3 {
    font-family: 'Orbitron', monospace;
    font-size: 1.4rem;
    margin-bottom: 1rem;
    color: var(--neon-blue);
    letter-spacing: 0.03em;
}

/* ====================== Info Pratique Section ====================== */

.info-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-bottom: 3rem;
}

.info-card {
    background: var(--bg-darker);
    padding: 2rem;
    border: 1px solid var(--neon-green);
    box-shadow: 0 0 20px rgba(0, 255, 136, 0.2);
    transition: all 0.3s ease;
}

.info-card:hover {
    box-shadow: 0 0 30px rgba(0, 255, 136, 0.4);
    transform: translateY(-3px);
}

.info-card h3 {
    color: var(--neon-green);
    font-family: 'Orbitron', monospace;
    margin-bottom: 1rem;
    text-shadow: 0 0 10px var(--neon-green);
}

.info-card .highlight {
    color: var(--neon-yellow);
    font-weight: 700;
    text-shadow: 0 0 5px var(--neon-yellow);
}

.info-card p a {
    color: var(--neon-blue);
    font-weight: 700; 
    text-decoration: underline;
    text-decoration-thickness: 1px;
    text-underline-offset: 3px;
    transition: color 0.3s ease, text-shadow 0.3s ease;
}

.timeline-item p a:hover {
    color: var(--neon-yellow);
    text-shadow: 0 0 8px var(--neon-yellow);
}


/* ====================== Sponsors ====================== */
.sponsors-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2rem;
    align-items: start;
    justify-content: center;
    max-width: 1800px;
    margin: 0 auto;
    padding: 0;
}

#sponsors.container {
    padding: 0;
}

.sponsor-card {
    background: var(--bg-darker); /* Utilise la variable --text-light de votre site */
    padding: 1rem;
    min-width: 220px; /* ou 250px */
    text-align: center;
    border: 2px solid var(--neon-blue);
    border-radius: 8px;
    transition: all 0.3s ease;
    min-height: 200px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    align-items: center;
    gap: 1.5rem;
    position: relative;
    overflow: hidden;   
    box-shadow: 0 0 15px rgba(var(--neon-blue-rgb, 0, 204, 255), 0.2);
}

.sponsor-card:hover {
    border-color: var(--neon-yellow);
    box-shadow: 0 0 25px rgba(253, 245, 0, 0.5);
    transform: translateY(-5px);
}

.logo-background {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
    height: 130px; /* Hauteur fixe pour un alignement parfait */
    padding: 1rem;
    border-radius: 8px;
    /* Le halo lumineux, créé avec un dégradé radial */
    background: radial-gradient(ellipse at center, rgba(200, 225, 255, 0.1) 0%, rgba(26, 27, 35, 0) 75%);
}

.sponsor-title {
    color: var(--neon-yellow);
    margin: 0;
    font-family: 'Orbitron', monospace;
    font-size: 1.05rem;
    text-transform: uppercase;
    text-shadow: 0 0 5px rgba(var(--neon-blue-rgb, 0, 204, 255), 0.7);
    width: 100%;
    white-space: nowrap; 

}

.sponsor-logo {
    width: 140px;
    height: 140px;
    object-fit: contain;
    filter: drop-shadow(0 0 10px rgba(var(--neon-blue-rgb, 0, 204, 255), 0.3));
    transition: transform 0.3s ease;
}

.sponsor-card:hover .sponsor-logo {
    transform: scale(1.1);
}

.sponsor-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(
            90deg,
            transparent,
            rgba(var(--neon-blue-rgb, 0, 204, 255), 0.2),
            transparent
    );
    transition: 0.5s;
}

.sponsor-card:hover::before {
    left: 100%;
}

/* ====================== Timeline Section ====================== */
.history-timeline {
    position: relative;
    max-width: 800px;
    margin: 0 auto;
}

.timeline-item {
    background: var(--bg-darker);
    padding: 2rem;
    margin-bottom: 2rem;
    border-left: 4px solid var(--neon-blue);
    box-shadow:
            0 0 20px rgba(27, 172, 255, 0.2),
            inset 0 0 20px rgba(27, 172, 255, 0.05);
    position: relative;
    transition: all 0.3s ease;
}

.timeline-item::before {
    content: '';
    position: absolute;
    left: -8px;
    top: 2rem;
    width: 12px;
    height: 12px;
    background: var(--neon-yellow);
    border-radius: 50%;
    box-shadow: 0 0 20px var(--neon-yellow);
}

.timeline-item:hover {
    transform: translateX(10px);
    box-shadow:
            0 0 30px rgba(27, 172, 255, 0.4),
            inset 0 0 30px rgba(27, 172, 255, 0.1);
}

.timeline-item h3 {
    font-family: 'Orbitron', monospace;
    color: var(--neon-yellow);
    margin-bottom: 1rem;
    font-size: 1.5rem;
    letter-spacing: 0.05em;
}

.timeline-stats {
    display: flex;
    gap: 1rem;
    margin-top: 1rem;
    flex-wrap: wrap;
}

.stat {
    background: rgba(27, 172, 255, 0.1);
    color: var(--neon-blue);
    padding: 0.5rem 1rem;
    border: 1px solid var(--neon-blue);
    font-size: 0.9rem;
    font-weight: 600;
    box-shadow: 0 0 10px rgba(27, 172, 255, 0.3);
}

.timeline-item p a {
    color: var(--neon-blue); /* Couleur bleu néon de votre site */
    font-weight: 700; /* Met le lien en gras pour plus de visibilité */
    text-decoration: underline;
    text-decoration-thickness: 1px;
    text-underline-offset: 3px;
    transition: color 0.3s ease, text-shadow 0.3s ease;
}

.timeline-item p a:hover {
    color: var(--neon-yellow); /* Couleur jaune néon au survol */
    text-shadow: 0 0 8px var(--neon-yellow); /* Ajoute un halo lumineux */
}

/* ====================== EQUIPE SECTION ====================== */
.team-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, 250px); 
    gap: 2rem;
    justify-content: center;
    max-width: calc(4 * 250px + 3 * 2rem); 
    margin: 0 auto; 


}

.team-member {
    background: var(--bg-darker);
    padding: 2rem;
    text-align: center;
    border: 1px solid var(--neon-blue);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    width: 250px;    
    margin: 0 auto;
}


.team-member::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 2px;
    background: linear-gradient(90deg, var(--neon-blue), var(--neon-yellow));
    transition: left 0.5s ease;
}

.team-member:hover::before {
    left: 100%;
}

.team-member:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(27, 172, 255, 0.4);
}

.team-avatar {
    width: 80px;
    height: 80px;
    background: var(--bg-dark);
    border-radius: 50%;
    margin: 0 auto 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
}

.team-member h4 {
    color: var(--neon-yellow);
    margin-bottom: 0.5rem;
    font-weight: 700;
}

.team-role {
    color: var(--neon-blue);
    font-size: 0.9rem;
    margin-bottom: 1rem;
}


/* ======================  Live Feed ======================  */
.live-feed {
    background: var(--bg-darker);
    border: 1px solid var(--neon-green);
    padding: 2rem;
    margin-bottom: 2rem;
    position: relative;
}

.live-indicator {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 1rem;
}

.live-dot {
    width: 10px;
    height: 10px;
    background: var(--neon-red);
    border-radius: 50%;
    animation: blink 1s infinite;
    box-shadow: 0 0 10px var(--neon-red);
}

.leaderboard {
    display: grid;
    gap: 0.5rem;
}

.leaderboard-item {
    display: grid;
    grid-template-columns: 50px 1fr auto;
    gap: 1rem;
    padding: 1rem;
    background: rgba(27, 172, 255, 0.05);
    border: 1px solid var(--neon-blue);
    align-items: center;
}

.rank {
    color: var(--neon-yellow);
    font-weight: 700;
    text-align: center;
}

.team-name {
    color: var(--text-light);
}

.score {
    color: var(--neon-green);
    font-weight: 700;
}




/* ====================== FAQ Section ====================== */
.faq-container {
    max-width: 900px;
    margin: 0 auto;
}

.faq-item {
    background: var(--bg-darker);
    margin-bottom: 1.5rem;
    border: 2px solid var(--neon-blue);
    border-radius: 8px;
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    box-shadow: 0 0 15px rgba(27, 172, 255, 0.2);
}

.faq-item:hover {
    box-shadow: 0 5px 25px rgba(27, 172, 255, 0.4);
}

.faq-question {
    background: transparent;
    border: none;
    color: var(--neon-yellow);
    font-family: 'Orbitron', monospace;
    font-size: 1.2rem;
    font-weight: 700;
    padding: 1.2rem 1.5rem;
    width: 100%;
    text-align: left;
    cursor: pointer;
    transition: background 0.3s ease, color 0.3s ease;
    position: relative;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.faq-question::after {
    content: '▶';
    color: var(--neon-blue);
    font-size: 1.2rem;
    transition: transform 0.3s ease;
}

.faq-question.active::after {
    transform: rotate(90deg);
}

.faq-question:hover {
    background: rgba(27, 172, 255, 0.1);
    color: var(--neon-yellow);
}

.faq-answer {
    height: 0;
    overflow: hidden;
    transition: height 0.4s ease;
    padding: 0 1.5rem;
    box-sizing: border-box;
}


.faq-answer-content {
    padding: 1rem 0;
    color: var(--text-light);
    font-size: 1rem;
    line-height: 1.6;
}

.faq-answer.active {
    height: auto;
    padding: 1.5rem 1.5rem;
}

details.faq-item summary.faq-question {
    list-style: none; 
}

details.faq-item[open] .faq-answer {
    max-height: 200px; 
    padding: 0 1.5rem 1.5rem;
    transition: all 0.3s ease;
}

/* ====================== Forms Section ====================== */
.form-container {
    max-width: 700px;
    margin: 0 auto;
    position: relative;
    z-index: 2;
}

.form-group {
    margin-bottom: 1.5rem;
    position: relative;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 600;
    color: var(--neon-yellow);
    font-size: 1.1rem;
    text-shadow: 0 0 5px rgba(253, 245, 0, 0.3);
    font-family: 'Rajdhani', monospace;
    letter-spacing: 0.02em;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 1rem;
    background: rgba(26, 27, 35, 0.8);
    border: 1px solid var(--neon-blue);
    color: var(--text-light);
    font-family: 'Rajdhani', monospace;
    font-size: 1.1rem;
    transition: all 0.3s ease;
    box-shadow:
            0 0 10px rgba(27, 172, 255, 0.2),
            inset 0 0 10px rgba(27, 172, 255, 0.05);
    letter-spacing: 0.02em;
}

.form-group input::placeholder,
.form-group textarea::placeholder {
    color: var(--text-dim);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--neon-yellow);
    box-shadow:
            0 0 20px rgba(253, 245, 0, 0.4),
            inset 0 0 20px rgba(253, 245, 0, 0.1);
    background: rgba(26, 27, 35, 0.95);
}

.form-group .error-message {
    color: var(--neon-red);
    font-size: 0.9rem;
    margin-top: 0.5rem;
    text-shadow: 0 0 5px rgba(255, 51, 102, 0.5);
    display: none;
}

.form-group.invalid input,
.form-group.invalid textarea,
.form-group.invalid select {
    border-color: var(--neon-red);
    box-shadow: 0 0 10px var(--neon-red);
}

.form-group.invalid .error-message {
    display: block;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
}

.submit-btn {
    background: transparent;
    color: var(--neon-yellow);
    padding: 1.5rem 3rem;
    border: 2px solid var(--neon-yellow);
    font-family: 'Orbitron', monospace;
    font-weight: 700;
    font-size: 1.2rem;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow:
            0 0 30px rgba(253, 245, 0, 0.3),
            inset 0 0 30px rgba(253, 245, 0, 0.05);
    position: relative;
    overflow: hidden;
    letter-spacing: 0.1em;
    display: block;
    margin: 0 auto; 
    width: fit-content; 
    text-align: center;
}

.submit-btn:hover {
    background: var(--neon-yellow);
    color: var(--bg-dark);
    box-shadow:
            0 0 40px var(--neon-yellow),
            inset 0 0 40px rgba(253, 245, 0, 0.1);
    transform: translateY(-2px);
}


/* ====================== Contact Popup ====================== */
.contact-popup {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(26, 27, 35, 0.95);
    backdrop-filter: blur(10px);
    z-index: 2000;
    align-items: center;
    justify-content: center;
    animation: fadeIn 0.3s ease;
}

.contact-popup.active {
    display: flex;
}

.contact-container {
    max-width: 600px;
    width: 90%;
    background: var(--bg-darker);
    padding: 2rem;
    border: 2px solid var(--neon-blue);
    box-shadow:
            0 0 20px rgba(27, 172, 255, 0.4),
            inset 0 0 20px rgba(27, 172, 255, 0.1);
    position: relative;
    animation: scanIn 0.5s ease;
}

.contact-container h2 {
    font-family: 'Orbitron', monospace;
    font-size: 2rem;
    color: var(--neon-yellow);
    text-shadow: 0 0 10px var(--neon-yellow);
    margin-bottom: 1.5rem;
    text-align: center;
    letter-spacing: 0.1em;
}

.close-popup {
    position: absolute;
    top: 1rem;
    right: 1rem;
    background: transparent;
    border: 1px solid var(--neon-blue);
    color: var(--neon-blue);
    padding: 0.5rem 1rem;
    cursor: pointer;
    font-family: 'Rajdhani', monospace;
    transition: all 0.3s ease;
}

.close-popup:hover {
    background: var(--neon-blue);
    color: var(--bg-dark);
    box-shadow: 0 0 15px var(--neon-blue);
}

/* Success message */
.success-message {
    background: rgba(0, 255, 136, 0.1);
    border: 1px solid var(--neon-green);
    color: var(--neon-green);
    padding: 1rem;
    margin: 1rem 0;
    text-align: center;
    box-shadow: 0 0 20px rgba(0, 255, 136, 0.3);
    display: none;
}

.success-message.show {
    display: block;
    animation: slideUp 0.5s ease;
}



/* ====================== Separators ====================== */

.glow-separator {
    background: linear-gradient(135deg, var(--bg-darker) 0%, var(--bg-dark) 100%);
}

.separator {
    position: relative;
    display: flex;
    max-width: 600px;
    height: 16px;
    margin: 0 auto;
    background: transparent;
}

.separator .left,
.separator .right {
flex: 1;
border-bottom: 3px solid var(--neon-yellow);
}

.separator .left {
transform: skewX(45deg);
border-left: 3px solid var(--neon-yellow);
}
.separator .right {
transform: skewX(-45deg);
border-right: 3px solid var(--neon-yellow);
}

.right-glow {
    height: 2px;
    background-color: var(--neon-yellow);
    width: 100%;
    position: relative;
}

.right-glow::after {
    content: '';
    position: absolute;
    left: 50%;
    transform: translateX(-307px);
    width: 614px;
    height: 100%;
    background: var(--bg-dark);
    z-index: 1;
    pointer-events: none;
}




.right-glow {
height: 2px;
background-color: var(--neon-yellow);
width: 100%;
position: relative;
}


.right-glow::after {
content: '';
position: absolute;
left: 50%;
transform: translateX(-307px);
width: 614px;
height: 100%;
background: var(--bg-dark);
z-index: 1;
pointer-events: none;
}

.glow-separator-up {
background: linear-gradient(135deg, var(--bg-darker) 0%, var(--bg-dark) 100%);
position: relative;
padding-bottom: 2px;
}

.separator-up {
position: relative;
display: flex;
max-width: 600px;
height: 16px;
margin: 0 auto;
background: var(--bg-dark);
z-index: 1;
}

.separator-up .left,
.separator-up .right {
flex: 1;
border-top: 3px solid var(--neon-yellow);
}

.separator-up .left {
transform: skewX(-45deg);
border-left: 3px solid var(--neon-yellow);
}

.separator-up .right {
transform: skewX(45deg);
border-right: 3px solid var(--neon-yellow);
}

.right-glow {
height: 2px;
background-color: var(--neon-yellow);
width: 100%;
position: relative;
z-index: 2;
}

.right-glow::after {
content: '';
position: absolute;
left: 50%;
transform: translateX(-307px);
width: 614px;
height: 100%;
background: var(--bg-dark);
z-index: 2;
pointer-events: none;
}

/* ====================== Inscription Text ====================== */
.inscription-text {
font-family: 'HACKED', sans-serif;
font-size: 1.2rem;
color: var(--neon-yellow);
display: inline-block;
padding: 0.9rem 2.2rem;
border: 2px solid var(--neon-yellow);
background-color: rgba(0, 0, 0, 0.8); 
text-transform: uppercase; 
}


/* =================== Archives Logos =================== */
.archives-logos {
    text-align: center;
    margin: 4rem auto;
    max-width: 1200px;
}

.archives-subtitle {
    font-family: 'Orbitron', monospace;
    font-size: 2rem;
    font-weight: 900;
    color: var(--neon-blue);
    text-shadow: 0 0 10px var(--neon-blue), 0 0 20px var(--neon-blue);
    margin-bottom: 2rem;
    letter-spacing: 0.1em;
}

.archives-logos-grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 2rem;
}

.archive-logo-card {
    flex: 1 1 calc(25% - 2rem);
    max-width: calc(25% - 2rem);
    background: var(--bg-darker);
    border: 2px solid var(--neon-blue);
    border-radius: 8px;
    padding: 1.2rem;
    box-shadow: 0 0 15px rgba(27, 172, 255, 0.2);
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 120px;
    position: relative;
    overflow: hidden;
}

.archive-logo-card:hover {
    border-color: var(--neon-yellow);
    box-shadow: 0 0 25px rgba(253, 245, 0, 0.5);
    transform: translateY(-5px);
}

.archive-logo-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(
            90deg,
            transparent,
            rgba(27, 172, 255, 0.2),
            transparent
    );
    transition: 0.5s;
}

.archive-logo-card:hover::before {
    left: 100%;
}

.archive-logo {
    max-width: 120px;
    max-height: 80px;
    object-fit: contain;
    filter: drop-shadow(0 0 10px rgba(27, 172, 255, 0.3));
    transition: transform 0.3s ease;
}

.archive-logo-card:hover .archive-logo {
    transform: scale(1.1);
}



/* ================== Back to Home Button ================== */
.back-to-home {
    position: fixed;
    bottom: 1.5rem;
    right: 1.5rem;
    width: 55px;
    height: 55px;
    border-radius: 50%;
    border: 2px solid var(--neon-blue);
    background: var(--bg-darker);
    color: var(--neon-blue);
    font-size: 1.5rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 0 15px rgba(27, 172, 255, 0.5);
    transition: all 0.3s ease;
    z-index: 1500;
    opacity: 0;
    visibility: hidden;
}

.back-to-home.show {
    opacity: 1;
    visibility: visible;
}