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

body {
    font-family: "Segoe UI", Arial, sans-serif;
    background: linear-gradient(135deg, #1a1a2e 0%, #16213e 50%, #0f3460 100%) !important;
    min-height: 100vh;
    overflow-x: hidden;
}

a:hover{
    text-decoration:none;
}

[data-style="hyper-button"] {
    width: 100%;
    padding: 18px;
    background: linear-gradient(135deg, #41CAC2, #866efb);
    border: none;
    border-radius: 16px;
    color: white;
    font-size: 18px;
    font-weight: 700;
    cursor: pointer;
    position: relative;
    overflow: hidden;
    margin: 24px 0;
    box-shadow: 0 10px 25px rgba(65, 202, 194, 0.3);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    text-decoration: none;
    display: inline-block;
    text-align: center;
}


    [data-style="hyper-button"]::before {
        content: '';
        position: absolute;
        top: 0;
        left: -100%;
        width: 100%;
        height: 100%;
        background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
        transition: left 0.5s ease;
    }

    [data-style="hyper-button"]:hover {
        transform: translateY(-3px);
        box-shadow: 0 15px 35px rgba(65, 202, 194, 0.4);
        text-decoration: none;
        color: white;
    }

    [data-style="hyper-button"]:hover::before {
        left: 100%;
    }

/* Background animations */
.bg-effects {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    overflow: hidden;
    pointer-events: none;
}

/* Floating orbs matching loading screen style */
.orb {
    position: absolute;
    border-radius: 50%;
    filter: blur(40px);
    opacity: 0.5;
    animation: loginOrbFloat 8s ease-in-out infinite;
}

.orb-primary {
    width: 200px;
    height: 200px;
    background: #41CAC2;
    top: -100px;
    left: -100px;
    animation-delay: 0s;
}

.orb-secondary {
    width: 250px;
    height: 250px;
    background: #c021c3;
    bottom: -125px;
    right: -125px;
    animation-delay: 3s;
}

.orb-tertiary {
    width: 150px;
    height: 150px;
    background: #866efb;
    top: 50%;
    left: 70%;
    animation-delay: 6s;
}

@keyframes loginOrbFloat {
    0%, 100% {
        transform: translate(0, 0) scale(1);
    }

    33% {
        transform: translate(30px, -30px) scale(1.1);
    }

    66% {
        transform: translate(-20px, 20px) scale(0.9);
    }
}

/* Login particles */
.particles {
    position: absolute;
    width: 100%;
    height: 100%;
}

.particle {
    position: absolute;
    background: rgba(255, 255, 255, 0.08);
    border-radius: 50%;
    pointer-events: none;
    animation: loginParticleRise 20s linear infinite;
}

    .particle.small {
        width: 3px;
        height: 3px;
    }

    .particle.medium {
        width: 5px;
        height: 5px;
    }

    .particle.large {
        width: 7px;
        height: 7px;
    }

@keyframes loginParticleRise {
    0% {
        transform: translateY(100vh) rotate(0deg);
        opacity: 0;
    }

    10% {
        opacity: 0.6;
    }

    90% {
        opacity: 0.6;
    }

    100% {
        transform: translateY(-100px) rotate(360deg);
        opacity: 0;
    }
}


/* Back Button Styles */
[data-style="back-button"] {
    position: relative;
    display: inline-flex;
    align-items: center;
    gap: 12px;
    padding: 14px 24px;
    background: rgba(255, 255, 255, 0.08);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 16px;
    color: rgba(255, 255, 255, 0.9);
    text-decoration: none;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    overflow: hidden;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.2);
    z-index: 10;
    margin: 50px;
    max-width: 120px;
}

    [data-style="back-button"]:hover {
        transform: translateY(-2px) scale(1.02);
        background: rgba(65, 202, 194, 0.15);
        border-color: rgba(65, 202, 194, 0.3);
        box-shadow: 0 15px 35px rgba(65, 202, 194, 0.2);
        color: #41CAC2;
        text-decoration: none;
    }

    [data-style="back-button"]::before {
        content: '';
        position: absolute;
        top: 0;
        left: -100%;
        width: 100%;
        height: 100%;
        background: linear-gradient(90deg, transparent, rgba(65, 202, 194, 0.2), transparent);
        transition: left 0.6s ease;
    }

    [data-style="back-button"]:hover::before {
        left: 100%;
    }

    [data-style="back-button"]:active {
        transform: translateY(0) scale(0.98);
    }

.back-icon {
    width: 20px;
    height: 20px;
    transition: transform 0.3s ease;
}

[data-style="back-button"]:hover .back-icon {
    transform: translateX(-3px);
}

/* Development Modal Styles */
.dev-modal {
    display: none;
    position: fixed;
    z-index: 1000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.8);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    animation: devModalFade 0.3s ease-out;
}

@keyframes devModalFade {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

.dev-modal-content {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background: rgba(26, 26, 46, 0.95);
    backdrop-filter: blur(25px);
    -webkit-backdrop-filter: blur(25px);
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 24px;
    padding: 40px;
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.5);
    max-width: 450px;
    width: 90%;
    text-align: center;
    animation: devModalSlide 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    overflow: hidden;
}

    .dev-modal-content::before {
        content: '';
        position: absolute;
        top: 0;
        left: 0;
        right: 0;
        height: 3px;
        background: linear-gradient(90deg, #41CAC2, #c021c3, #866efb, #41CAC2);
        background-size: 200% 100%;
        animation: devGradientFlow 3s linear infinite;
    }

@keyframes devGradientFlow {
    0% {
        background-position: 0% 50%;
    }

    100% {
        background-position: 200% 50%;
    }
}

@keyframes devModalSlide {
    from {
        opacity: 0;
        transform: translate(-50%, -60%) scale(0.8);
    }

    to {
        opacity: 1;
        transform: translate(-50%, -50%) scale(1);
    }
}

.dev-modal-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 25px;
    background: linear-gradient(135deg, #41CAC2, #866efb);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    animation: devIconPulse 2s ease-in-out infinite;
}

@keyframes devIconPulse {
    0%, 100% {
        transform: scale(1);
        box-shadow: 0 0 25px rgba(65, 202, 194, 0.3);
    }

    50% {
        transform: scale(1.1);
        box-shadow: 0 0 35px rgba(65, 202, 194, 0.5);
    }
}

.dev-modal-title {
    color: #41CAC2;
    font-size: 28px;
    font-weight: 700;
    margin-bottom: 15px;
    background: linear-gradient(45deg, #41CAC2, #866efb);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.dev-modal-text {
    color: rgba(255, 255, 255, 0.8);
    font-size: 16px;
    line-height: 1.6;
    margin-bottom: 30px;
}

.dev-modal-close {
    background: linear-gradient(135deg, #41CAC2, #866efb);
    border: none;
    border-radius: 16px;
    color: white;
    font-size: 16px;
    font-weight: 600;
    padding: 14px 32px;
    cursor: pointer;
    position: relative;
    overflow: hidden;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 8px 20px rgba(65, 202, 194, 0.3);
}

    .dev-modal-close::before {
        content: '';
        position: absolute;
        top: 0;
        left: -100%;
        width: 100%;
        height: 100%;
        background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
        transition: left 0.5s ease;
    }

    .dev-modal-close:hover {
        transform: translateY(-2px);
        box-shadow: 0 15px 30px rgba(65, 202, 194, 0.4);
    }

        .dev-modal-close:hover::before {
            left: 100%;
        }

    .dev-modal-close:active {
        transform: translateY(0);
    }

@media (max-width: 768px) {

    .back-button {
        padding: 12px 20px;
        font-size: 14px;
        margin:10px;
    }
}

@media (max-width: 468px) {

    .back-button {
        margin: 0px;
        width: 92px;
    }

    .game-progress-bar-wrapper {
        margin-top: 20px;
    }
}