/* ==========================================
   JAN PLAYS
   Loading Screen
   ========================================== */

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

html{
    scroll-behavior:smooth;
}

body{

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

    background:linear-gradient(
        180deg,
        #f7fbff 0%,
        #edf5ff 40%,
        #ffffff 100%
    );

    color:#1f2937;

    min-height:100vh;

    overflow-x:hidden;

    display:flex;
    flex-direction:column;

}

/* ------------------------------
   Background
------------------------------ */

.background{

    position:fixed;

    inset:0;

    background:

        radial-gradient(circle at top left,
        rgba(56,189,248,.18),
        transparent 40%),

        radial-gradient(circle at bottom right,
        rgba(96,165,250,.15),
        transparent 35%);

    z-index:-2;

}

.background::before{

    content:"";

    position:absolute;

    inset:0;

    background:

    radial-gradient(circle at center,
    rgba(59,130,246,.12),
    transparent 55%);

    animation:backgroundPulse 8s ease-in-out infinite;

}

/* ------------------------------
   Floating particles
------------------------------ */

.particles{

    position:fixed;

    inset:0;

    pointer-events:none;

    z-index:-1;

}

/* ------------------------------
   Main container
------------------------------ */

.loading-container{

    width:min(1400px,92%);

    margin:auto;

    min-height:100vh;

    display:flex;

    flex-direction:column;

    justify-content:center;

    align-items:center;

    text-align:center;

    padding:60px 0;

    position:relative;

}

/* ------------------------------
   Logo
------------------------------ */

.logo span{

    display:block;

    font-size:18px;

    letter-spacing:10px;

    color:#3b82f6;

    font-weight:700;

}

.logo h1{

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

    font-size:88px;

    font-weight:800;

    color:#0f172a;

    letter-spacing:6px;

    text-shadow:

    0 0 15px rgba(59,130,246,.20),

    0 0 35px rgba(59,130,246,.15),

    0 0 55px rgba(59,130,246,.08);

    animation:floatLogo 6s ease-in-out infinite;

}

/* ------------------------------
   Hero
------------------------------ */

.hero{

    margin-top:60px;

    max-width:850px;

}

.hero h2{

    font-size:56px;

    font-family:'Orbitron';

    line-height:1.2;

}

.hero h2 span{

    display:block;

    margin-top:10px;

    color:#2563eb;

}

.hero p{

    margin-top:18px;

    color:#64748b;

    font-size:20px;

}

/* ------------------------------
   Loading Bar
------------------------------ */

.xp-header{

    display:flex;

    justify-content:space-between;

    align-items:center;

    margin-bottom:12px;

    font-weight:700;

    color:#2563eb;

    font-size:15px;

    letter-spacing:1px;

}

.loading-section{

    margin:70px auto;

    width:min(700px,100%);

}

.progress-bar{

    position:relative;

    width:100%;

    height:22px;

    border-radius:999px;

    overflow:hidden;

    background:#dbeafe;

    border:2px solid rgba(59,130,246,.15);

    box-shadow:

        inset 0 2px 8px rgba(0,0,0,.08),

        0 0 20px rgba(59,130,246,.08);

}

.progress-fill{

    width:78%;

    height:100%;

    border-radius:999px;

    background:linear-gradient(

        90deg,

        #2563eb,

        #3b82f6,

        #60a5fa,

        #38bdf8

    );

    background-size:300%;

    animation:

        pulse 2s infinite,

        shine 4s linear infinite;

}

.loading-status{

    margin-top:18px;

    display:flex;

    justify-content:center;

    gap:10px;

    color:#2563eb;

    font-weight:600;

    transition:.35s;

}

.loading-status{

    margin-top:18px;

    display:flex;

    justify-content:center;

    align-items:center;

    gap:10px;

    color:#2563eb;

    font-weight:600;

    font-size:18px;

}

/* ------------------------------
   Social
------------------------------ */

.social{

    display:flex;

    justify-content:center;

    gap:20px;

    margin:55px 0;

}

.social a{

    width:58px;

    height:58px;

    border-radius:18px;

    background:white;

    display:grid;

    place-items:center;

    color:#2563eb;

    font-size:22px;

    text-decoration:none;

    box-shadow:
        0 10px 25px rgba(0,0,0,.08);

    transition:.30s;

}

.social a:hover{

    transform:translateY(-6px);

    box-shadow:
        0 20px 35px rgba(59,130,246,.25);

}

/* ------------------------------
   Cards
------------------------------ */

.features{

    display:grid;

    grid-template-columns:repeat(auto-fit,minmax(250px,1fr));

    gap:30px;

    margin-top:70px;

}

.card{

    background:rgba(255,255,255,.72);

    backdrop-filter:blur(18px);

    border-radius:22px;

    padding:35px;

    box-shadow:
        0 20px 35px rgba(0,0,0,.08);

    transition:.35s;

}

.card:hover{

    transform:translateY(-8px);

}

.card i{

    font-size:36px;

    color:#2563eb;

    margin-bottom:20px;

}

.card h3{

    margin-bottom:12px;

    font-size:22px;

}

.card p{

    color:#64748b;

}

/* ------------------------------
   Tip
------------------------------ */

.tip{

    margin-top:80px;

    padding:35px;

    border-radius:20px;

    background:#ffffff;

    box-shadow:
        0 15px 35px rgba(0,0,0,.06);

}

.tip h4{

    color:#2563eb;

    margin-bottom:15px;

}

.tip p{

    font-size:18px;

    color:#475569;

    transition:.35s;

}

/* ------------------------------
   Footer
------------------------------ */

footer{

    text-align:center;

    padding:30px;

    color:#64748b;

}

/* ------------------------------
   Animation
------------------------------ */

@keyframes pulse{

    0%{

        filter:brightness(.95);

    }

    50%{

        filter:brightness(1.15);

    }

    100%{

        filter:brightness(.95);

    }

}

@keyframes backgroundPulse{

    0%{

        transform:scale(1);

        opacity:.4;

    }

    50%{

        transform:scale(1.15);

        opacity:.8;

    }

    100%{

        transform:scale(1);

        opacity:.4;

    }

}

@keyframes floatLogo{

    0%{

        transform:translateY(0px);

    }

    50%{

        transform:translateY(-8px);

    }

    100%{

        transform:translateY(0px);

    }

}

@keyframes shine{

    0%{

        background-position:0%;

    }

    100%{

        background-position:300%;

    }

}


/* ==========================================
   Status Card
========================================== */

.status-card{

    position:absolute;

    top:40px;

    right:20px;

    width:280px;

    padding:22px;

    border-radius:22px;

    background:rgba(255,255,255,.75);

    backdrop-filter:blur(18px);

    box-shadow:
        0 15px 35px rgba(0,0,0,.08);

    border:1px solid rgba(59,130,246,.12);

}

.status-header{

    display:flex;

    align-items:center;

    gap:10px;

    color:#2563eb;

    font-weight:700;

    margin-bottom:18px;

}

.status-header i{

    font-size:20px;

}

.status-row{

    display:flex;

    justify-content:space-between;

    margin:12px 0;

    font-size:15px;

}

.status-row span{

    color:#64748b;

}

.online-status{

    color:#16a34a;

}

@media (max-width:900px){

    .status-card{

        position:relative;

        top:auto;

        right:auto;

        width:100%;

        margin-bottom:40px;

    }

}

/*=====================================
Achievement
=====================================*/

.achievement{

    position:fixed;

    top:30px;

    right:-420px;

    width:340px;

    display:flex;

    align-items:center;

    gap:18px;

    padding:20px;

    border-radius:22px;

    background:rgba(255,255,255,.92);

    backdrop-filter:blur(20px);

    box-shadow:

        0 20px 40px rgba(0,0,0,.15);

    border-left:6px solid #3b82f6;

    z-index:9999;

    transition:.8s cubic-bezier(.19,1,.22,1);

}

.achievement.show{

    right:30px;

}

.achievement-icon{

    width:64px;

    height:64px;

    display:grid;

    place-items:center;

    border-radius:18px;

    background:#eff6ff;

    font-size:34px;

}

.achievement small{

    color:#64748b;

}

.achievement h3{

    margin:6px 0;

    color:#0f172a;

}

.achievement p{

    color:#2563eb;

    font-weight:700;

}