
:root {
    --blue: #1571b6;
    --pink: #e915a1;
    --bg-dark: #0a0a0c;
    --text-dark: #ffffff;
    --bg-light: #f4f4f9;
    --text-light: #1a1a1a;
    --font-cyber: 'Orbitron', sans-serif;
    --font-main: 'Rajdhani', sans-serif;
    --transition: 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

[data-theme="dark"] {
    --current-bg: var(--bg-dark);
    --current-text: var(--text-dark);
    --header-bg: rgba(10, 10, 12, 0.95);
    --card-bg: rgba(255, 255, 255, 0.05);
    --border-color: rgba(21, 113, 182, 0.2);
}

[data-theme="light"] {
    --current-bg: var(--bg-light);
    --current-text: var(--text-light);
    --header-bg: rgba(230, 230, 240, 0.95); 
    --card-bg: rgba(0, 0, 0, 0.05);
    --border-color: rgba(21, 113, 182, 0.3); 
}


.cursor-line-segment {
    position: fixed;
    height: 2px; 
    background: linear-gradient(90deg, var(--blue), var(--pink));
    box-shadow: 0 0 8px var(--blue), 0 0 12px var(--pink);
    pointer-events: none;
    z-index: 9997; 
    transform-origin: left center;
    border-radius: 2px;
    opacity: 0.8;
}


html, body, a, button {
    cursor: none !important;
}


.cursor-dot {
    width: 6px;
    height: 6px;
    background-color: #fff;
    box-shadow: 0 0 10px #fff, 0 0 20px var(--blue);
}


.cursor-outline {
    width: 30px;
    height: 30px;
    border: 2px solid var(--blue);
    box-shadow: 0 0 15px var(--blue);
}


.cursor-trail {
    width: 20px;
    height: 20px;
    border: 1px solid var(--pink);
    box-shadow: 0 0 10px var(--pink);
    opacity: 0.5;
}


.cursor-dot, .cursor-outline, .cursor-trail {
    position: fixed;
    top: 0;
    left: 0;
    transform: translate(-50%, -50%);
    border-radius: 50%;
    pointer-events: none; 
    z-index: 9999;
    transition: transform 0.1s ease-out;
}


* { 
    box-sizing: border-box; 
    margin: 0; 
    padding: 0; 
    transition: background var(--transition), color var(--transition); 
}

body {
    background-color: var(--current-bg);
    color: var(--current-text);
    font-family: var(--font-main);
    line-height: 1.6;
    overflow-x: hidden;
}


::-webkit-scrollbar {
    width: 12px; 
}

::-webkit-scrollbar-track {
    background: var(--bg-dark);
    border-left: 1px solid var(--border-color);
}

::-webkit-scrollbar-thumb {

    background: linear-gradient(180deg, var(--blue), var(--pink));
    border-radius: 10px;
    border: 3px solid var(--bg-dark);
    box-shadow: inset 0 0 10px rgba(21, 113, 182, 0.5);
    transition: all 0.3s ease;
}

::-webkit-scrollbar-thumb:hover {

    background: linear-gradient(180deg, var(--pink), var(--blue));
    box-shadow: 0 0 15px var(--pink);
    border: 2px solid var(--bg-dark); 
}

::-webkit-scrollbar-corner {
    background: var(--bg-dark);
}


.reveal {
    opacity: 0;
    transform: translateY(60px);
    transition: 
        opacity 1.2s ease-out, 
        transform 1.2s cubic-bezier(0.2, 0.8, 0.2, 1); 
    will-change: transform, opacity; 
}

.reveal-text {
    opacity: 0;
    transform: translateY(20px);
    animation: fadeInSimple 1s ease-out 1.2s forwards;
}

.reveal-btns {
    opacity: 0;
    transform: translateY(20px);
    animation: fadeInSimple 1s ease-out 1.5s forwards;
}

.reveal.active {
    opacity: 1;
    transform: translateY(0);
}

.cyber-header {
    height: 100px; 
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
    background: var(--header-bg);
    border-bottom: 2px solid var(--blue);
    display: flex;
    align-items: center;
    backdrop-filter: blur(10px);
}


.header-container {
    width: 98%; 
    max-width: 1920px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.header-left, .header-right {
    flex: 1; 
    display: flex;
    align-items: center;
}

.header-right {
    justify-content: flex-end; 
    gap: 15px;
}
.header-actions {
    margin-left: auto; 
    display: flex;
    align-items: center;
    gap: 15px; 
}


.hero-logo-fade {
    height: clamp(80px, 15vw, 150px); 
    width: auto;
    margin-top: 20px;
    filter: drop-shadow(0 0 15px var(--blue));
    

    opacity: 0;
    transform: translateY(10px);
    animation: fadeInLogo 2s ease-out forwards;
    animation-delay: 0.5s; 
}

@keyframes fadeInLogo {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}


.nav-logo {
    height: 70px;
    width: auto;
    filter: drop-shadow(0 0 8px var(--blue));
}

.nav-links {
    flex: 2; 
    display: flex;
    justify-content: center;
    gap: 30px;
    margin: 0; 
}

.nav-right-actions {
    display: flex;
    align-items: center;
    gap: 15px;
    flex-shrink: 0; 
}

.nav-item {
    text-decoration: none;
    color: var(--current-text);
    font-family: var(--font-cyber);
    font-size: 0.8rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.nav-item:hover {
    color: var(--pink);
    text-shadow: 0 0 10px var(--pink);
}


.switch-container {
    margin-left: 10px;
    display: flex;
    align-items: center;
}
.switch { position: relative; display: inline-block; width: 50px; height: 24px; }
.switch input { opacity: 0; width: 0; height: 0; }
.slider {
    position: absolute; cursor: pointer; top: 0; left: 0; right: 0; bottom: 0;
    background-color: #222; border: 1px solid var(--blue); border-radius: 34px;
}
.slider:before {
    position: absolute; content: ""; height: 16px; width: 16px; left: 4px; bottom: 3px;
    background-color: var(--pink); border-radius: 50%; transition: 0.4s;
}
input:checked + .slider { background-color: var(--pink); border-color: var(--pink); }
input:checked + .slider:before { transform: translateX(24px); background-color: #fff; }


.main-wrapper { padding-top: 100px; display: flex; flex-direction: column; align-items: center; }
.hero-section {
    position: relative;
    height: 100vh;
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    background: var(--current-bg); 
}


.hero-logo-bg {
    position: fixed; 
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 1;
    opacity: 0.1;
    pointer-events: none;
    will-change: transform, opacity; 
}

.hero-logo-bg img {
    width: 550px;
    max-width: 85vw;
    filter: drop-shadow(0 0 30px rgba(21, 113, 182, 0.2));
}

.hero-center-content {
    position: relative;
    z-index: 10;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.hero-mask {
    overflow: hidden;
    margin-bottom: 5px;
}

.hero-tagline {
    display: block;
    font-family: var(--font-cyber);
    font-size: 1rem;
    letter-spacing: 10px;
 
    color: var(--current-text);
    opacity: 0.6;
    transform: translateY(110%);
    animation: slideUpHero 0.8s ease-out forwards;
}

.hero-title-main {
    font-family: var(--font-cyber);
    font-size: clamp(3rem, 10vw, 6.5rem);
    font-weight: 900;

    color: var(--current-text); 
    margin: 0;
    transform: translateY(110%);
    animation: slideUpHero 0.8s ease-out 0.2s forwards;
}


.cyber-glow-text {
    color: var(--pink);
   }

.hero-description {
    font-family: var(--font-main);
    font-size: 1.2rem;
    letter-spacing: 2px;
    color: var(--current-text);
    opacity: 0.8;
    transform: translateY(110%);
    animation: slideUpHero 0.8s ease-out 0.4s forwards;
}


.hero-separator-line {
    width: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--blue), transparent);
    margin: 25px 0;
    animation: expandLine 1.2s ease forwards 0.8s;
}


.hero-buttons-group {
    display: flex;
    gap: 20px;
    margin-top: 35px;
    opacity: 0;
    transform: translateY(20px);
    animation: fadeInBtn 1s ease forwards 1.2s;
}

.hero-btn {
    padding: 15px 35px;
    font-family: var(--font-cyber);
    font-size: 0.85rem;
    text-decoration: none;
    letter-spacing: 2px;
    transition: all 0.3s ease;
    border: 1px solid var(--pink);
}

.btn-primary {
    background: var(--pink);
    color: #fff;
    box-shadow: 0 0 15px #e915a1;
}

.btn-secondary {
    background: transparent;
    color: var(--pink);
}

.hero-btn:hover {
    background: #fff;
    color: #000;
    border-color: #fff;
    transform: translateY(-3px);
    box-shadow: 0 5px 20px rgba(255, 255, 255, 0.2);
}


@keyframes slideUpHero {
    to { transform: translateY(0); }
}

@keyframes expandLine {
    to { width: 350px; }
}

@keyframes fadeInBtn {
    to { opacity: 1; transform: translateY(0); }
}


@media (max-width: 768px) {
    .hero-title-main { font-size: 3.5rem; }
    .hero-buttons-group { flex-direction: column; width: 80%; }
    .hero-separator-line { width: 150px !important; }
}


.hero-logo-bg {
    pointer-events: none;
}
.main-title .accent {
    color: var(--pink) !important;
    text-shadow: 0 0 30px var(--pink);
}
.main-title span { color: var(--blue); text-shadow: 4px 4px 0px var(--pink); }
.subtitle { font-size: 1.2rem; margin-bottom: 50px; text-transform: uppercase; letter-spacing: 3px; opacity: 0.8; }


.cta-group { display: flex; gap: 20px; flex-wrap: wrap; justify-content: center; }
.btn-cyber-giant {
    font-family: var(--font-cyber); padding: 22px 45px; border: none; font-weight: 900; cursor: pointer;
    clip-path: polygon(12% 0%, 100% 0%, 100% 70%, 88% 100%, 0% 100%, 0% 30%);
}
.primary { background: var(--blue); color: #fff; box-shadow: -5px 5px 0 var(--pink); }
.secondary { background: var(--pink); color: #fff; box-shadow: -5px 5px 0 var(--blue); }
.btn-cyber-giant:hover { transform: translate(3px, -3px); filter: brightness(1.2); }


.live-status-bar {
    background: rgba(21, 113, 182, 0.1);
    border: 1px solid var(--blue);
    padding: 15px 40px;
    border-radius: 50px;
    display: flex;
    align-items: center;
    gap: 15px;
    margin: 60px 0;
    font-family: var(--font-cyber);
}
.status-indicator { 
    width: 10px; height: 10px; background: #00ff88; border-radius: 50%; 
    box-shadow: 0 0 10px #00ff88; animation: pulse 1.5s infinite; 
}


.info-grid-section { width: 90%; max-width: 1300px; padding: 60px 0; }
.info-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 30px; }
.info-card { 
    background: var(--card-bg); padding: 40px; border: 1px solid var(--border-color); 
    text-align: center; position: relative; backdrop-filter: blur(10px); 
}
.info-card h3 { color: var(--blue); font-family: var(--font-cyber); margin-bottom: 15px; }




.staff-section { 
    width: 100%; padding: 100px 20px; 
    display: flex; flex-direction: column; align-items: center; 
}

.title-container { text-align: center; margin-bottom: 60px; }

.neon-title {
    color: #fff;
    text-shadow: 
        0 0 7px #fff,
        0 0 10px #fff,
        0 0 21px var(--blue),
        0 0 42px var(--blue),
        0 0 82px var(--blue),
        0 0 92px var(--blue);
    transition: var(--transition);
}


.neon-flicker {
    color: var(--blue);
    animation: flicker 3s infinite alternate;
}


@keyframes flicker {
    0%, 18%, 22%, 25%, 53%, 57%, 100% {
        text-shadow:
            0 0 4px #fff,
            0 0 11px #fff,
            0 0 19px #fff,
            0 0 40px var(--blue),
            0 0 80px var(--blue),
            0 0 90px var(--blue),
            0 0 100px var(--blue),
            0 0 150px var(--blue);
    }
    20%, 24%, 55% {        
        text-shadow: none; 
        opacity: 0.5;
    }
}


.neon-title:hover {
    text-shadow: 
        0 0 7px #fff,
        0 0 10px #fff,
        0 0 21px var(--pink),
        0 0 42px var(--pink),
        0 0 82px var(--pink);
    color: #fff;
}

.neon-title {
    font-family: var(--font-cyber); font-size: clamp(1.8rem, 5vw, 3.2rem); color: #fff;
    text-transform: uppercase; letter-spacing: 5px;
    text-shadow: 0 0 10px #fff, 0 0 20px var(--blue), 0 0 40px var(--blue);
}

.neon-title span { 
    color: var(--pink); 
    text-shadow: 0 0 10px var(--pink), 0 0 30px var(--pink); 
}
.neon-line {
    width: 100px; height: 4px; background: linear-gradient(90deg, var(--blue), var(--pink));
    margin: 15px auto; box-shadow: 0 0 15px var(--blue);
}




.staff-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
}


.staff-card {
    position: relative;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(21, 113, 182, 0.2);
    border-radius: 15px;
    padding: 30px 20px;
    text-align: center;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    overflow: hidden;
    display: flex;
    flex-direction: column;
    align-items: center;
}


.staff-card:hover {
    transform: translateY(-10px);
    background: rgba(21, 113, 182, 0.08);
    border-color: var(--pink);
    box-shadow: 0 10px 30px rgba(233, 21, 161, 0.2);
}

.staff-img-wrapper { position: relative; }

.staff-img-wrapper img {
    width: 100%;
    height: 100%;
    border-radius: 50%;
    object-fit: cover;
    border: 3px solid var(--bg-dark); 
}


.staff-info h4 {
    font-family: 'Orbitron', sans-serif;
    font-size: 1.2rem;
    letter-spacing: 1px;
    margin-bottom: 8px;
    color: var(--current-text);
}

.staff-role {
    font-size: 0.85rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 2px;
    padding: 5px 15px;
    border-radius: 20px;
    background: rgba(0, 0, 0, 0.3);
}


.role-fondateur { color: #ff4757; border: 1px solid #ff4757; }
.role-admin { color: var(--pink); border: 1px solid var(--pink); }
.role-modo { color: var(--blue); border: 1px solid var(--blue); }


.scanlines {
    position: fixed; top: 0; left: 0; width: 100%; height: 100%;
    background: linear-gradient(rgba(18, 16, 16, 0) 50%, rgba(0, 0, 0, 0.08) 50%);
    background-size: 100% 4px; pointer-events: none; z-index: 9999; opacity: 0.3;
}

@keyframes pulse { 0% { opacity: 0.4; } 50% { opacity: 1; } 100% { opacity: 0.4; } }

@media (max-width: 768px) {
    .nav-links { display: none; } 
    .discord-container { grid-template-columns: 1fr; }
    .main-title { font-size: 3rem; }
}


.cyber-footer {
    width: 100%;
    margin-top: 100px;
    position: relative;
    border-top: 2px solid var(--blue);
}

.footer-banner-container {
    position: relative;
    width: 100%;
    min-height: 400px; 
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
}

.footer-banner-img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 1;
}


.footer-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.75); 
    z-index: 2;
}

.footer-content {
    position: relative;
    z-index: 3;
    width: 90%;
    max-width: 1200px;
    padding: 60px 0 20px 0;
    color: #fff;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 50px;
    margin-bottom: 40px;
}

.footer-info h3 {
    font-family: var(--font-cyber);
    font-size: 1.8rem;
    margin-bottom: -5px;
}

.footer-info h3 span { color: var(--pink); }

.footer-links h4, .footer-contact h4 {
    font-family: var(--font-cyber);
    color: var(--blue);
    margin-bottom: 10px;
    text-transform: uppercase;
    font-size: 0.9rem;
}




.subtitle {
    font-size: 1.2rem;
    margin-bottom: 25px; 
    text-transform: uppercase;
    letter-spacing: 3px;
    opacity: 0.9;
    line-height: 1.2; 
}

.tagline {
    display: block;
    font-size: 0.85rem;
    font-style: italic;
    text-transform: none;
    letter-spacing: 1px;
    margin-top: 5px; 
    opacity: 0.7;
}

.footer-links ul { list-style: none; }
.footer-links ul li { margin-bottom: 10px; }

.footer-links a {
    text-decoration: none;
    color: rgba(255, 255, 255, 0.7);
    transition: var(--transition);
}

.footer-links a:hover {
    color: var(--pink);
    padding-left: 5px;
}

.footer-bottom {
    text-align: center;
    padding-top: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    font-size: 0.8rem;
    opacity: 0.5;
}


@media (max-width: 768px) {
    .footer-grid {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 30px;
    }
    .footer-banner-container {
        min-height: 600px;
    }
}


.status-wrapper {
    display: flex;
    justify-content: center;
    gap: 30px;
    margin: 60px auto;
    max-width: 900px;
    flex-wrap: wrap;
    padding: 0 20px;
}


.status-card {
    background: var(--card-bg); 
    border: 1px solid var(--blue);
    padding: 25px 40px;
    border-radius: 20px;
    min-width: 280px;
    text-align: center;
    position: relative;
    overflow: hidden;
    box-shadow: 0 0 20px rgba(21, 113, 182, 0.1);
    backdrop-filter: blur(10px);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.status-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 5px 25px rgba(21, 113, 182, 0.2);
}

.status-card.visits {
    border-color: var(--pink);
    box-shadow: 0 0 20px rgba(233, 21, 161, 0.1);
}

.status-card.visits:hover {
    box-shadow: 0 5px 25px rgba(233, 21, 161, 0.2);
}


.status-header {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    margin-bottom: 15px;
}

.status-label {
    font-family: var(--font-cyber);
    font-size: 0.75rem;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: var(--current-text);
    opacity: 0.8;
}

.status-value {
    font-family: var(--font-cyber);
    font-size: 2.5rem;
    font-weight: 900;
    margin-bottom: 5px;
}

#player-count-num { 
    color: var(--blue); 
    text-shadow: 0 0 15px rgba(21, 113, 182, 0.6); 
}

#visit-count { 
    color: var(--pink); 
    text-shadow: 0 0 15px rgba(233, 21, 161, 0.6); 
}


.status-desc {
    font-family: var(--font-main);
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--current-text);
    opacity: 0.6;
}


.status-dot {
    position: absolute;
    bottom: 5px;
    right: 5px;
    width: 12px;
    height: 12px;
    border-radius: 50%;
    border: 2px solid var(--bg-dark);
}

.status-online { background: #43b581; box-shadow: 0 0 10px #43b581; }


@keyframes pulseStatus {
    0% { transform: scale(1); opacity: 1; }
    50% { transform: scale(1.4); opacity: 0.5; box-shadow: 0 0 15px #2ecc71; }
    100% { transform: scale(1); opacity: 1; }
}


@media (max-width: 600px) {
    .status-card {
        min-width: 100%;
    }
}

@keyframes logoEntrance {
    0% {
        opacity: 0;
        transform: translate(-50%, -50%) scale(0.8);
        filter: blur(50px) brightness(0);
    }
    100% {
        opacity: 0.15; 
        transform: translate(-50%, -50%) scale(1.2);
        filter: blur(10px) brightness(0.6);
    }
}

@keyframes slideUpTitle {
    to {
        transform: translateY(0);
        opacity: 1;
    }
}

@keyframes fadeInSimple {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}


@media (max-width: 768px) {
    .hero-bg-logo img {
        width: 300px;
    }
}



.nav-discord-cyber {
    position: relative;
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 8px 20px;
    background: transparent;
    color: var(--blue);
    text-decoration: none;
    font-family: var(--font-cyber);
    font-size: 0.75rem;
    font-weight: 900;
    margin-left: 0 !important;
    flex-shrink: 0; 
    letter-spacing: 2px;
    border: 1px solid var(--blue);
    clip-path: polygon(10% 0, 100% 0, 100% 70%, 90% 100%, 0 100%, 0 30%);
    transition: all 0.3s;
    margin-left: 15px;
    overflow: hidden;
}

.nav-tebex-cyber {
    position: relative;
    display: flex;
    align-items: center;
    gap: 5px;
    padding: 8px 20px;
    background: transparent;
    color: var(--pink);
    text-decoration: none;
    font-family: var(--font-cyber);
    font-size: 0.75rem;
    font-weight: 900;
    margin-left: 0 !important;
    flex-shrink: 0; 
    letter-spacing: 2px;
    border: 1px solid var(--pink);
    clip-path: polygon(10% 0, 100% 0, 100% 70%, 90% 100%, 0 100%, 0 30%);
    transition: all 0.3s;
    margin-left: 15px;
    overflow: hidden;
}

.nav-tebex-cyber:hover {
    color: #fff;
    background: var(--pink);
    box-shadow: 0 0 20px rgba(21, 113, 182, 0.6);
    transform: skewX(-2deg);
}


.nav-discord-cyber i {
    font-size: 1.1rem;
    filter: drop-shadow(0 0 5px var(--blue));
}

.nav-discord-cyber::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(21, 113, 182, 0.2), transparent);
    transition: 0.5s;
}

.nav-discord-cyber:hover {
    color: #fff;
    background: var(--blue);
    box-shadow: 0 0 20px rgba(21, 113, 182, 0.6);
    transform: skewX(-2deg);
}

.nav-discord-cyber:hover::before {
    left: 100%;
}

.nav-discord-cyber:hover i {
    filter: drop-shadow(0 0 8px #fff);
    animation: glitch-icon 0.3s infinite;
}

@keyframes glitch-icon {
    0% { transform: translate(0); }
    20% { transform: translate(-2px, 1px); }
    40% { transform: translate(-2px, -1px); }
    60% { transform: translate(2px, 1px); }
    80% { transform: translate(2px, -1px); }
    100% { transform: translate(0); }
}

@media (max-width: 1024px) {
    .cyber-btn-text, .cyber-btn-tag {
        display: none;
    }
    .nav-discord-cyber {
        padding: 10px;
        clip-path: none;
        border-radius: 5px;
    }
}



