:root {
    --primary-bg: #0d0d12;
    --card-bg: rgba(20, 20, 30, 0.4);
    --card-border: rgba(255, 255, 255, 0.08);
    --primary-gradient: linear-gradient(135deg, #6c37c2, #4c229c);
    --secondary-button-bg: rgba(30, 30, 45, 0.5);
    --text-primary: #ffffff;
    --text-secondary: #aba9b8;
    --accent-color: #7b4dec;
    --accent-color-hover: #966eff;
    --card-blur: 15px;
}


#loader-wrapper {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: #000;
    z-index: 9999;
    display: flex;
    justify-content: center;
    align-items: center;
    transition: opacity 0.8s ease, visibility 0.8s;
}

#loader-wrapper.loaded {
    opacity: 0;
    visibility: hidden;
}

.loader-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 30px;
}

.loader-logo {
    max-width: 180px;
    height: auto;
    animation: logoPulse 2s infinite ease-in-out;
}

.loader-bar-container {
    width: 200px;
    height: 2px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 2px;
    overflow: hidden;
}

.loader-bar {
    width: 0%;
    height: 100%;
    background: var(--primary-gradient);
    animation: loadingBar 2.5s infinite ease-in-out;
}

@keyframes logoPulse {

    0%,
    100% {
        transform: scale(1);
        opacity: 0.8;
    }

    50% {
        transform: scale(1.05);
        opacity: 1;
        filter: drop-shadow(0 0 15px rgba(123, 77, 236, 0.4));
    }
}

@keyframes loadingBar {
    0% {
        width: 0%;
        left: 0;
    }

    50% {
        width: 70%;
        left: 15%;
    }

    100% {
        width: 100%;
        left: 100%;
    }
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Outfit', sans-serif;
}

body {
    background: var(--primary-bg);
    color: var(--text-primary);
    overflow: hidden;
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100vh;
    animation: fadeIn 1s ease-out;
}


.video-container {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
}

#bg-video {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.video-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.65);
}


#snow {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 5;

}

.main-card {
    position: relative;
    z-index: 20;

    background: var(--card-bg);
    backdrop-filter: blur(var(--card-blur));
    -webkit-backdrop-filter: blur(var(--card-blur));
    border: 1px solid var(--card-border);
    border-radius: 20px;
    padding: 40px;
    width: 90%;
    max-width: 500px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.4);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 30px;
}


.logo-area {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
}

.logo {
    max-width: 220px;
    height: auto;
    filter: drop-shadow(0 0 10px rgba(255, 255, 255, 0.2));

    transition: transform 0.3s ease;
}

.logo:hover {
    transform: scale(1.03);
}


.info-box {
    background: rgba(45, 20, 80, 0.2);
    border: 1px solid rgba(130, 70, 240, 0.15);
    border-radius: 12px;
    padding: 15px 20px;
    display: flex;
    align-items: center;
    gap: 15px;
    width: 100%;
}

.info-icon i {
    font-size: 24px;
    color: #7b4dec;
}

.info-text h3 {
    font-size: 14px;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 4px;
}

.info-text p {
    font-size: 13px;
    color: var(--text-secondary);
    line-height: 1.4;
}


.button-group {
    display: flex;
    flex-direction: column;
    gap: 15px;
    width: 100%;
}

.btn {
    text-decoration: none;
    color: #fff;
    padding: 16px 20px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    font-size: 15px;
    font-weight: 600;
    transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    border: 1px solid transparent;
}

.btn-primary {
    background: var(--primary-gradient);
    box-shadow: 0 4px 15px rgba(108, 55, 194, 0.3);
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(108, 55, 194, 0.5);
    filter: brightness(1.1);
}

.btn-secondary {
    background: var(--secondary-button-bg);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.btn-secondary:hover {
    background: rgba(45, 45, 70, 0.6);
    border-color: rgba(255, 255, 255, 0.25);
    transform: translateY(-2px);
}

.btn i {
    font-size: 18px;
}


.footer {
    margin-top: 10px;
}

.footer p {
    font-size: 12px;
    color: var(--text-secondary);
    opacity: 0.6;
    letter-spacing: 1px;
    text-transform: uppercase;
    font-weight: 400;
}


@keyframes fadeIn {
    from {
        opacity: 0;
        transform: scale(0.98);
    }

    to {
        opacity: 1;
        transform: scale(1);
    }
}


@media (max-width: 480px) {
    .main-card {
        padding: 30px 20px;
    }

    .btn {
        padding: 14px 18px;
    }
}