/* =========================
   BASE
========================= */

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

html,
body{
    width:100%;
    min-height:100%;
}

body{
    font-family:'Montserrat', sans-serif;
    color:white;
    background:#05010d;
    overflow-x:hidden;
}

/* =========================
   STARFIELD
========================= */

.starfield{
    position:relative;
    min-height:100vh;
    overflow:hidden;
}

.starfield-origin{
    position:absolute;
    top:50%;
    left:50%;
    transform:translate(-50%, -50%);
}

canvas{
    position:fixed !important;
    top:0;
    left:0;
    width:100% !important;
    height:100% !important;
    z-index:0;
}

/* =========================
   TROU NOIR
========================= */

.black-hole{
    position:fixed;

    width:520px;
    height:520px;

    top:-140px;
    right:-140px;

    border-radius:50%;

    background:radial-gradient(circle,
        #000 20%,
        #1a0033 45%,
        #6a00ff 70%,
        transparent 100%
    );

    filter:blur(1px) drop-shadow(0 0 30px #6a00ff);

    mix-blend-mode:screen;

    z-index:1;
}

/* =========================
   CONTAINER
========================= */

.container{
    position:relative;
    z-index:2;

    width:90%;
    max-width:1100px;

    margin:40px auto;
    padding:40px;

    background:rgba(10,5,25,0.75);

    backdrop-filter:blur(10px);
    -webkit-backdrop-filter:blur(10px);

    border-radius:25px;

    box-shadow:0 0 50px rgba(183,0,255,0.25);
}

/* =========================
   TITRES
========================= */

h1{
    font-family:'Orbitron', sans-serif;
    font-size:3rem;
    text-align:center;

    color:#ff4df8;

    text-shadow:0 0 25px #ff4df8;

    word-wrap:break-word;
}

h2{
    margin-top:35px;

    font-family:'Orbitron', sans-serif;

    color:#7df9ff;

    border-left:4px solid #ff4df8;

    padding-left:12px;

    font-size:1.5rem;
}

/* =========================
   TABLEAUX
========================= */

table{
    width:100%;
    margin-top:15px;

    border-collapse:collapse;

    background:rgba(255,255,255,0.03);

    border-radius:10px;

    overflow:hidden;
}

th{
    background:linear-gradient(90deg,#ff00cc,#3333ff);
    padding:12px;
}

td{
    padding:12px;

    border-bottom:1px solid rgba(255,255,255,0.1);

    word-break:break-word;
}

/* =========================
   TEXTE
========================= */

p{
    margin-top:10px;
    padding:15px;

    background:rgba(255,255,255,0.03);

    border-radius:10px;

    line-height:1.7;
}

/* =========================
   RESPONSIVE TABLET
========================= */

@media screen and (max-width:900px){

    .container{
        width:95%;
        padding:30px 20px;
    }

    h1{
        font-size:2.3rem;
    }

    h2{
        font-size:1.3rem;
    }

    .black-hole{
        width:380px;
        height:380px;

        top:-100px;
        right:-100px;
    }
}

/* =========================
   RESPONSIVE MOBILE
========================= */

@media screen and (max-width:600px){

    .container{
        width:95%;
        padding:20px 15px;

        border-radius:18px;
    }

    h1{
        font-size:1.8rem;
        line-height:1.2;
    }

    h2{
        font-size:1.1rem;
        margin-top:25px;
    }

    table,
    tbody,
    tr,
    td{
        display:block;
        width:100%;
    }

    tr{
        margin-bottom:12px;

        background:rgba(255,255,255,0.03);

        border-radius:10px;

        overflow:hidden;
    }

    td{
        border:none;
        border-bottom:1px solid rgba(255,255,255,0.08);

        padding:10px;
    }

    td:last-child{
        border-bottom:none;
    }

    p{
        font-size:0.95rem;
    }

    .black-hole{
        width:260px;
        height:260px;

        top:-70px;
        right:-70px;

        opacity:0.7;
    }
}