@import url('https://fonts.googleapis.com/css2?family=Orbitron:wght@500;800&display=swap');

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    background: radial-gradient(circle at top, #14002b, #05000a);
    color: #c77dff;
    font-family: 'Orbitron', sans-serif;
    height: 100vh;
    overflow: hidden;
}

/* COMMUN */
.hidden {
    display: none;
}

/* ÉCRAN D'ENTRÉE */
#enter-screen {
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    cursor: pointer;
}

#enter-screen h1 {
    font-size: 3rem;
    text-shadow: 0 0 25px #9d4edd;
    animation: pulse 2s infinite;
}

#enter-screen span {
    color: #9d4edd;
}

@keyframes pulse {
    0% { opacity: 0.5; }
    50% { opacity: 1; }
    100% { opacity: 0.5; }
}

/* CHARGEMENT */
#loading-screen {
    height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

#loading-screen h2 {
    font-size: 2.2rem;
    margin-bottom: 30px;
    text-shadow: 0 0 15px #7b2cbf;
}

.progress-container {
    width: 60%;
    height: 20px;
    border: 2px solid #9d4edd;
    box-shadow: 0 0 20px #7b2cbf;
}

.progress-bar {
    height: 100%;
    width: 0%;
    background: linear-gradient(90deg, #5a189a, #c77dff);
    transition: width 0.1s;
}

#loading-percent {
    margin-top: 15px;
    font-size: 1.5rem;
}

/* CONTENU FINAL */
#content {
    height: 100vh;
    padding: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.terminal {
    font-size: 1.6rem;
    line-height: 2.5rem;
    text-shadow: 0 0 12px #7b2cbf;
}

.line {
    opacity: 0;
    animation: appear 0.6s forwards;
}

@keyframes appear {
    from {
        opacity: 0;
        transform: translateY(15px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* ===== STATUTS FINAL ===== */

.status-card {
    background: rgba(20, 0, 40, 0.65);
    border: 1px solid rgba(157, 78, 221, 0.4);
    box-shadow:
        0 0 30px rgba(157, 78, 221, 0.4),
        inset 0 0 20px rgba(157, 78, 221, 0.2);
    backdrop-filter: blur(12px);
    border-radius: 18px;
    padding: 40px 50px;
    min-width: 650px;
}

.status-title {
    font-size: 2.6rem;
    text-align: center;
    margin-bottom: 35px;
    color: #e0aaff;
    text-shadow: 0 0 20px #9d4edd;
}

.status-list {
    display: flex;
    flex-direction: column;
    gap: 18px;
}

.status-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 18px 24px;
    font-size: 1.45rem;
    border-radius: 12px;
    background: rgba(90, 24, 154, 0.15);
    border: 1px solid rgba(199, 125, 255, 0.25);
    box-shadow: inset 0 0 10px rgba(157, 78, 221, 0.25);
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.status-item:hover {
    transform: translateX(6px);
    box-shadow: 0 0 20px rgba(157, 78, 221, 0.6);
}

.status-left {
    display: flex;
    align-items: center;
    gap: 14px;
}

.status-icon {
    font-size: 1.7rem;
}

.done {
    color: #4dffb3;
    text-shadow: 0 0 10px #2fff9c;
}

.progress {
    color: #ffdd57;
    text-shadow: 0 0 10px #ffd23f;
}

.op {
    color: #72ddf7;
    text-shadow: 0 0 10px #4cc9f0;
}

/* Apparition progressive des cartes */
.status-item {
    opacity: 0;
    transform: translateY(15px);
    animation: cardIn 0.6s ease forwards;
}

@keyframes cardIn {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Curseur typing */
.typing::after {
    content: "▌";
    margin-left: 4px;
    animation: blink 1s infinite;
}

@keyframes blink {
    50% { opacity: 0; }
}

/* ===== FOND DÉGRADÉ ANIMÉ ===== */
body::before {
    content: "";
    position: fixed;
    inset: 0;
    z-index: -1;
    background: linear-gradient(
        120deg,
        #240046,
        #3c096c,
        #5a189a,
        #7b2cbf,
        #9d4edd
    );
    background-size: 300% 300%;
    animation: gradientFlow 12s ease infinite;
}

@keyframes gradientFlow {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}

/* ===== FOND VIOLET FONCÉ ANIMÉ ===== */
body::before {
    content: "";
    position: fixed;
    inset: 0;
    z-index: -2;
    background: linear-gradient(
        135deg,
        #07000f,
        #0c0018,
        #14002a,
        #1c003a,
        #24004d
    );
    background-size: 400% 400%;
    animation: darkGradient 18s ease infinite;
}

@keyframes darkGradient {
    0%   { background-position: 0% 50%; }
    50%  { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}

/* ===== BOUTON DISCORD ===== */
.discord-container {
    margin-top: 35px;
    text-align: center;
}

.discord-btn {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    padding: 16px 32px;
    font-size: 1.25rem;
    font-family: 'Orbitron', sans-serif;
    color: #fff;
    text-decoration: none;
    border-radius: 50px;
    background: linear-gradient(135deg, #5865F2, #7b2cbf);
    box-shadow: 0 0 25px rgba(88, 101, 242, 0.6);
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.discord-btn:hover {
    transform: translateY(-3px) scale(1.03);
    box-shadow: 0 0 35px rgba(157, 78, 221, 0.8);
}

.discord-btn span {
    font-size: 1.6rem;
}

/* Animation points pour loading */
.loading::after {
    content: "";
    animation: dots 1.5s steps(4, end) infinite;
}

@keyframes dots {
    0%   { content: ""; }
    25%  { content: "."; }
    50%  { content: ".."; }
    75%  { content: "..."; }
}

