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

body {
    background: #020817;
    font-family: 'Poppins', sans-serif;
    overflow: hidden;
}

.preloader {
    position: fixed;
    inset: 0;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    z-index: 999999;
}

body.dark-mode .preloader {
    background: #020817;
}

body.light-mode .preloader {
    background: #ffffff;
}

.logo {
    width: 95px;
    height: 95px;
    margin-bottom: 25px;
    animation: float 2s ease-in-out infinite;
}

.logo img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.title {
    font-size: 46px;
    font-weight: 700;
    color: #ffffff;
    line-height: 1;
}

.title span {
    color: #00bfff;
}

.loading-bar {
    width: 240px;
    height: 2px;
    background: rgba(255,255,255,0.08);
    margin-top: 28px;
    overflow: hidden;
    border-radius: 999px;
}

.loading-progress {
    width: 40%;
    height: 100%;
    background: #00bfff;
    border-radius: 999px;
    animation: loading 1.4s linear infinite;
}

.loading-text {
    margin-top: 18px;
    font-size: 11px;
    letter-spacing: 6px;
    text-transform: uppercase;
}

body.dark-mode .loading-text {
    color: rgba(255,255,255,.25);
}

body.light-mode .loading-text {
    color: rgba(0,0,0,.25);
}

@keyframes loading {
    from {
        transform: translateX(-250%);
    }
    to {
        transform: translateX(650%);
    }
}

@keyframes float {
    0%,100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-6px);
    }
  }
