/* ------ RESET ------ */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    text-decoration: none;
    list-style: none;
    font-family: 'Poppins', sans-serif;
}

/* Transition fondue des pages */
body {
    opacity: 0;
    transition: opacity 0.35s ease;
}

body.page-enter {
    opacity: 0;
}

body.page-enter.page-enter-active {
    opacity: 1;
}

body.page-leave {
    opacity: 0;
}

/* Fond global dark néon */
body.body-gradient {
    min-height: 100vh;
    background:
        radial-gradient(circle at top left, rgba(0, 225, 255, 0.08), transparent 45%),
        radial-gradient(circle at bottom right, rgba(123, 60, 255, 0.18), transparent 55%),
        #02030a;
    color: #f5f5f5;
}

/* Scrollbar */
::-webkit-scrollbar {
    width: 10px;
}
::-webkit-scrollbar-track {
    background: #050611;
}
::-webkit-scrollbar-thumb {
    background: linear-gradient(180deg, #00e1ff, #7b3cff);
    border-radius: 10px;
}

/* Curseur personnalisé */
body {
    cursor: none;
}

.cursor-dot {
    position: fixed;
    top: 0;
    left: 0;
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: #00e1ff;
    pointer-events: none;
    z-index: 9999;
    transform: translate3d(-50%, -50%, 0);
}

.cursor-ring {
    position: fixed;
    top: 0;
    left: 0;
    width: 26px;
    height: 26px;
    border-radius: 50%;
    border: 2px solid rgba(0, 225, 255, 0.8);
    box-shadow: 0 0 12px rgba(0, 225, 255, 0.7);
    pointer-events: none;
    z-index: 9998;
    transform: translate3d(-50%, -50%, 0);
    transition:
        transform 0.08s ease-out,
        width 0.18s ease,
        height 0.18s ease,
        border-color 0.18s ease,
        box-shadow 0.18s ease;
}

.cursor-ring-hover {
    width: 36px;
    height: 36px;
    border-color: rgba(123, 60, 255, 1);
    box-shadow:
        0 0 18px rgba(123, 60, 255, 0.9),
        0 0 28px rgba(0, 225, 255, 0.7);
}

/* NAVBAR */
.nav-wrapper {
    position: sticky;
    top: 0;
    z-index: 50;
    backdrop-filter: blur(14px);
    background: linear-gradient(90deg, rgba(2, 4, 21, 0.96), rgba(3, 6, 30, 0.96));
    border-bottom: 1px solid rgba(0, 225, 255, 0.18);
}

.nav {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0.75rem 1.5rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    position: relative;
}

.nav-logo a {
    display: flex;
    align-items: center;
    gap: 0.7rem;
    color: #f5f5f5;
}

.logo-badge {
    width: 34px;
    height: 34px;
    border-radius: 12px;
    background: radial-gradient(circle at 0 0, #00e1ff, #7b3cff);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 0.9rem;
    box-shadow: 0 0 18px rgba(0, 225, 255, 0.6);
}

.logo-text {
    font-weight: 700;
    letter-spacing: 0.08em;
    font-size: 0.95rem;
    text-transform: uppercase;
}

.nav-links {
    display: flex;
    gap: 1.8rem;
    align-items: center;
}

.nav-link {
    font-size: 0.9rem;
    color: #ccccdd;
    position: relative;
    padding-bottom: 4px;
    transition: color 0.2s ease;
}

.nav-link::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: 0;
    width: 0;
    height: 2px;
    background: linear-gradient(90deg, #00e1ff, #7b3cff);
    border-radius: 999px;
    transition: width 0.2s ease;
}

.nav-link:hover {
    color: #ffffff;
}

.nav-link:hover::after,
.nav-link.active::after {
    width: 100%;
}

.nav-cta {
    display: flex;
    align-items: center;
}

#nav-toggle {
    display: none;
}

.nav-toggle-label {
    display: none;
    color: #ffffff;
    cursor: pointer;
    font-size: 1.4rem;
}

/* Boutons */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    border-radius: 999px;
    padding: 0.5rem 1.2rem;
    font-size: 0.9rem;
    font-weight: 500;
    cursor: pointer;
    border: 1px solid transparent;
    transition: transform 0.15s ease, box-shadow 0.15s ease, background 0.15s ease, border-color 0.15s ease;
    white-space: nowrap;
}

.btn-large {
    padding: 0.75rem 1.6rem;
    font-size: 0.95rem;
}

.btn-primary-glow {
    background: linear-gradient(135deg, #00e1ff, #7b3cff);
    color: #05030c;
    box-shadow:
        0 0 20px rgba(0, 225, 255, 0.6),
        0 0 40px rgba(123, 60, 255, 0.4);
}

.btn-primary-glow:hover {
    transform: translateY(-1px) scale(1.02);
    box-shadow:
        0 0 25px rgba(0, 225, 255, 0.8),
        0 0 45px rgba(123, 60, 255, 0.5);
}

.btn-secondary {
    background: rgba(5, 8, 26, 0.95);
    border-color: rgba(0, 225, 255, 0.25);
    color: #e3e6ff;
}

.btn-secondary:hover {
    background: rgba(8, 13, 40, 1);
    transform: translateY(-1px);
}

.btn-ghost {
    background: transparent;
    border-color: rgba(255, 255, 255, 0.2);
    color: #d9ddff;
}

.btn-ghost:hover {
    border-color: rgba(0, 225, 255, 0.4);
    background: rgba(8, 14, 42, 0.9);
}

.btn-disabled {
    background: rgba(255, 255, 255, 0.06);
    color: rgba(230, 230, 230, 0.6);
    border-color: transparent;
    cursor: not-allowed;
}

/* HERO */
.hero {
    max-width: 1200px;
    margin: 2.5rem auto 1.5rem;
    padding: 0 1.5rem;
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: 2.5rem;
    align-items: center;
}

.hero-tagline {
    font-size: 0.9rem;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: #8ea2ff;
}

.hero-title {
    margin-top: 0.8rem;
    font-size: 2.5rem;
    line-height: 1.15;
}

.hero-title span {
    background: linear-gradient(120deg, #00e1ff, #7b3cff);
    background-clip: text;
    -webkit-background-clip: text;
    color: transparent;
}

.hero-subtitle {
    margin-top: 0.9rem;
    color: #c5c9f5;
    font-size: 0.98rem;
    max-width: 460px;
}

.hero-buttons {
    margin-top: 1.5rem;
    display: flex;
    gap: 0.9rem;
    flex-wrap: wrap;
}

.hero-server-info {
    margin-top: 1.8rem;
    display: flex;
    gap: 0.75rem;
    flex-wrap: wrap;
}

.server-pill {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    padding: 0.45rem 0.9rem;
    border-radius: 999px;
    font-size: 0.82rem;
    background: rgba(4, 9, 33, 0.92);
    border: 1px solid rgba(0, 225, 255, 0.25);
    color: #d3d8ff;
}

.status-dot {
    width: 8px;
    height: 8px;
    border-radius: 99px;
    background: #00ff88;
    box-shadow: 0 0 10px rgba(0, 255, 136, 0.8);
}

.server-status-anim .status-dot {
    animation: pulse 1.5s infinite;
}

@keyframes pulse {
    0% { transform: scale(1); opacity: 1; }
    50% { transform: scale(1.4); opacity: 0.4; }
    100% { transform: scale(1); opacity: 1; }
}

/* HERO VISUAL */
.hero-visual {
    display: flex;
    justify-content: center;
}

.hero-orbit {
    position: relative;
    width: 260px;
    height: 260px;
}

.orbit-circle {
    position: absolute;
    border-radius: 50%;
    border: 1px dashed rgba(0, 225, 255, 0.35);
    animation: orbit-rotate 18s linear infinite;
}

.orbit-circle-lg { inset: 0; }
.orbit-circle-md { inset: 30px; animation-duration: 14s; }
.orbit-circle-sm { inset: 60px; animation-duration: 10s; }

@keyframes orbit-rotate {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

.hero-card {
    position: absolute;
    inset: 45px;
    border-radius: 24px;
    padding: 1.1rem 1.2rem;
    background: radial-gradient(circle at top left, rgba(0, 225, 255, 0.22), rgba(3, 9, 32, 0.98));
    box-shadow:
        0 0 40px rgba(0, 225, 255, 0.25),
        0 0 60px rgba(8, 5, 35, 0.9);
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    text-align: left;
}

.hero-card h2 { font-size: 1.2rem; }
.hero-card p { font-size: 0.85rem; color: #dadfff; }
.hero-card-divider {
    height: 1px;
    margin: 0.4rem 0;
    background: linear-gradient(90deg, transparent, rgba(0, 225, 255, 0.7), transparent);
}

/* SECTIONS */
.section {
    max-width: 1200px;
    margin: 2.5rem auto;
    padding: 0 1.5rem;
}

.section-alt {
    background: radial-gradient(circle at top, rgba(0, 225, 255, 0.05), rgba(0, 0, 0, 0));
    border-top: 1px solid rgba(0, 225, 255, 0.1);
    border-bottom: 1px solid rgba(0, 225, 255, 0.1);
    padding-top: 3rem;
    padding-bottom: 3rem;
}

.section-header {
    text-align: center;
    margin-bottom: 2rem;
}

.section-tag {
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 0.16em;
    color: #8ea2ff;
}

.section-title {
    font-size: 1.6rem;
    margin-top: 0.4rem;
}

/* CARDS */
.cards-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
    gap: 1.4rem;
}

.card {
    background: radial-gradient(circle at top left, #050815, #01020a);
    border-radius: 18px;
    padding: 1.1rem 1.2rem;
    border: 1px solid rgba(0, 225, 255, 0.25);
    position: relative;
    overflow: hidden;
}

.card::before {
    content: "";
    position: absolute;
    inset: -50%;
    background: conic-gradient(from 180deg, rgba(0, 225, 255, 0.2), transparent, rgba(123, 60, 255, 0.15), transparent);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.card-glow:hover::before {
    opacity: 1;
}

.card-icon {
    width: 34px;
    height: 34px;
    border-radius: 12px;
    background: radial-gradient(circle at 0 0, #00e1ff, #7b3cff);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 0.8rem;
    color: #02030b;
    box-shadow: 0 0 18px rgba(0, 225, 255, 0.6);
}

.card h3 {
    font-size: 1rem;
    margin-bottom: 0.4rem;
}

.card p {
    font-size: 0.88rem;
    color: #c1c6f2;
}

.card-delay-1 { animation: floatIn 0.6s ease forwards; }
.card-delay-2 { animation: floatIn 0.8s ease forwards; }
.card-delay-3 { animation: floatIn 1s ease forwards; }

@keyframes floatIn {
    from { opacity: 0; transform: translateY(10px); }
    to { opacity: 1; transform: translateY(0); }
}

/* SPLIT LAYOUT */
.split-layout {
    display: grid;
    grid-template-columns: 1.4fr 1fr;
    gap: 2rem;
    align-items: flex-start;
}

.split-text h3 {
    font-size: 1.1rem;
    margin-bottom: 0.3rem;
}

.split-text p {
    font-size: 0.9rem;
    color: #c5c9f5;
    margin-bottom: 0.7rem;
}

.info-panel {
    background: rgba(5, 9, 32, 0.96);
    border-radius: 18px;
    padding: 1rem;
    border: 1px solid rgba(0, 225, 255, 0.2);
}

.info-panel h4 { margin-bottom: 0.5rem; }

.info-list {
    margin-top: 0.5rem;
    display: grid;
    gap: 0.4rem;
    font-size: 0.86rem;
    color: #c9cdf5;
}

.info-list .bullet {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    margin-right: 0.4rem;
    background: #00e1ff;
    display: inline-block;
}

.glow-block {
    margin-top: 1rem;
    background: radial-gradient(circle at top left, rgba(0, 225, 255, 0.25), rgba(6, 9, 32, 0.96));
    border-radius: 18px;
    padding: 1rem;
    border: 1px solid rgba(0, 225, 255, 0.4);
    box-shadow: 0 0 28px rgba(0, 225, 255, 0.3);
}

.glow-label {
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    color: #a8c6ff;
}

.glow-ip {
    margin: 0.3rem 0 0.7rem;
    font-family: monospace;
    font-size: 0.95rem;
}

.full-width { width: 100%; justify-content: center; }

/* SERVER STATUS */
.server-status-card {
    max-width: 600px;
    margin: 0 auto;
    background: rgba(5, 9, 32, 0.98);
    border-radius: 18px;
    padding: 1rem 1.2rem;
    border: 1px solid rgba(0, 225, 255, 0.18);
}

.server-status-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 0.75rem;
}

.status-pill {
    display: inline-flex;
    align-items: center;
    gap: 0.3rem;
    padding: 0.25rem 0.6rem;
    border-radius: 999px;
    font-size: 0.78rem;
    background: rgba(8, 16, 50, 0.9);
}

.server-status-body {
    font-size: 0.88rem;
    color: #d4d8ff;
}

.server-line {
    display: flex;
    justify-content: space-between;
    margin: 0.25rem 0;
}

.server-progress {
    margin-top: 0.8rem;
}

.server-progress-bar {
    width: 100%;
    height: 8px;
    border-radius: 999px;
    background: rgba(15, 20, 56, 0.95);
    overflow: hidden;
    position: relative;
}

.server-progress-inner {
    width: 60%;
    height: 100%;
    background: linear-gradient(90deg, #00e1ff, #7b3cff);
    box-shadow: 0 0 16px rgba(0, 225, 255, 0.7);
    animation: progressPulse 1.8s ease-in-out infinite;
}

@keyframes progressPulse {
    0% { transform: scaleX(0.85); }
    50% { transform: scaleX(1.05); }
    100% { transform: scaleX(0.85); }
}

.server-progress-text {
    margin-top: 0.25rem;
    font-size: 0.78rem;
    color: #a9aff0;
}

/* TEAM */
.team-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(210px, 1fr));
    gap: 1.4rem;
}

.team-card {
    background: rgba(5, 9, 32, 0.96);
    border-radius: 18px;
    padding: 1.1rem 1rem;
    border: 1px solid rgba(0, 225, 255, 0.18);
    text-align: center;
}

.team-avatar {
    width: 60px;
    height: 60px;
    border-radius: 18px;
    margin: 0 auto 0.7rem;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 0.9rem;
}

.placeholder-avatar {
    background: radial-gradient(circle at 0 0, #00e1ff, #7b3cff);
    color: #050415;
}

/* DISCORD BLOC */
.discord-section { margin-bottom: 3rem; }

.discord-card {
    max-width: 900px;
    margin: 0 auto;
    background: radial-gradient(circle at top, rgba(88, 101, 242, 0.3), rgba(5, 9, 32, 0.98));
    border-radius: 22px;
    padding: 1.4rem 1.6rem;
    display: grid;
    grid-template-columns: 1.4fr 1fr;
    gap: 1.5rem;
    border: 1px solid rgba(88, 101, 242, 0.6);
    box-shadow: 0 0 35px rgba(88, 101, 242, 0.4);
}

.discord-text {
    font-size: 0.9rem;
    color: #dde0ff;
    margin-top: 0.6rem;
}

.discord-action {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.discord-logo-circle {
    width: 52px;
    height: 52px;
    border-radius: 999px;
    background: #5865f2;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 0.7rem;
    box-shadow: 0 0 18px rgba(88, 101, 242, 0.8);
}

.discord-logo-circle.big {
    width: 70px;
    height: 70px;
}

.discord-logo-circle i {
    font-size: 1.6rem;
    color: #ffffff;
}

.discord-placeholder {
    font-size: 0.85rem;
    color: #d5d8ff;
    text-align: center;
}

/* CONTACT */
.contact-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 1.4rem;
}

.contact-card {
    background: rgba(5, 9, 32, 0.96);
    border-radius: 18px;
    padding: 1.2rem 1.3rem;
    border: 1px solid rgba(0, 225, 255, 0.18);
}

.contact-card h3 {
    margin-bottom: 0.5rem;
    font-size: 1rem;
}

.contact-card p {
    font-size: 0.9rem;
    color: #c9cdf5;
}

.contact-note {
    margin-top: 0.6rem;
    font-size: 0.84rem;
    color: #a8aff0;
}

.contact-discord-card {
    text-align: center;
}

/* COMING SOON */
.section-center { text-align: center; }

.coming-soon {
    max-width: 600px;
    margin: 0 auto;
    margin-top: 1.4rem;
    background: rgba(5, 9, 32, 0.96);
    border-radius: 18px;
    padding: 1.5rem 1.2rem;
    border: 1px dashed rgba(0, 225, 255, 0.4);
}

.coming-soon-badge {
    display: inline-block;
    padding: 0.3rem 0.9rem;
    border-radius: 999px;
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 0.16em;
    background: rgba(0, 225, 255, 0.1);
    border: 1px solid rgba(0, 225, 255, 0.5);
    color: #9deaff;
    margin-bottom: 0.7rem;
}

.coming-soon-text {
    font-size: 0.9rem;
    color: #c9cdf5;
    margin-top: 0.4rem;
}

/* FOOTER */
.footer {
    border-top: 1px solid rgba(0, 225, 255, 0.2);
    background: rgba(3, 5, 20, 0.98);
    margin-top: 2rem;
}

.footer-inner {
    max-width: 1200px;
    margin: 0 auto;
    padding: 1rem 1.5rem 1.2rem;
    text-align: center;
}

.footer-text {
    font-size: 0.85rem;
    color: #c5c9f5;
}

.footer-small {
    font-size: 0.75rem;
    color: #9095c4;
    margin-top: 0.3rem;
}

/* RESPONSIVE */
@media (max-width: 900px) {
    .hero {
        grid-template-columns: 1fr;
        text-align: left;
    }

    .hero-visual {
        order: -1;
        margin-bottom: 0.5rem;
    }

    .split-layout {
        grid-template-columns: 1fr;
    }

    .discord-card {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .nav {
        padding: 0.7rem 1rem;
    }

    .nav-links {
        position: absolute;
        top: 100%;
        right: 0;
        left: 0;
        background: rgba(3, 6, 24, 0.98);
        flex-direction: column;
        padding: 0.7rem 1rem 0.9rem;
        border-bottom: 1px solid rgba(0, 225, 255, 0.2);
        max-height: 0;
        overflow: hidden;
        transition: max-height 0.2s ease;
    }

    #nav-toggle:checked ~ .nav-links {
        max-height: 200px;
    }

    .nav-cta {
        display: none;
    }

    .nav-toggle-label {
        display: block;
    }

    .hero {
        margin-top: 1.6rem;
    }
}

@media (max-width: 480px) {
    .hero-title {
        font-size: 2rem;
    }

    .section-title {
        font-size: 1.4rem;
    }
}
