/* Game Authentication Container Styles */

.asc-auth-container {
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
    width: 100%;
    overflow: hidden;
    background: linear-gradient(to bottom, #0f172a, #1e293b);
}

/* Background elements */
.asc-auth-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
}

.asc-bg-stars {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: radial-gradient(2px 2px at 20px 30px, #ffffff, rgba(0,0,0,0)), radial-gradient(2px 2px at 40px 70px, #ffffff, rgba(0,0,0,0)), radial-gradient(2px 2px at 50px 160px, #ffffff, rgba(0,0,0,0)), radial-gradient(2px 2px at 90px 40px, #ffffff, rgba(0,0,0,0)), radial-gradient(2px 2px at 130px 80px, #ffffff, rgba(0,0,0,0)), radial-gradient(2px 2px at 160px 120px, #ffffff, rgba(0,0,0,0)), radial-gradient(3px 3px at 200px 50px, #ffffff, rgba(0,0,0,0)), radial-gradient(2px 2px at 300px 250px, #ffffff, rgba(0,0,0,0)), radial-gradient(2px 2px at 350px 150px, #ffffff, rgba(0,0,0,0)), radial-gradient(2px 2px at 400px 200px, #ffffff, rgba(0,0,0,0));
    background-repeat: repeat;
    background-size: 500px 500px;
    animation: twinkle 4s ease-in-out infinite;
    opacity: 0.7;
}

.asc-bg-mountains {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 25%;
    background-image: linear-gradient(transparent 0%, #0f172a 80%), linear-gradient(135deg, #1e293b 25%, transparent 25%), linear-gradient(225deg, #1e293b 25%, transparent 25%);
    background-position: 0 0, 0 50%, 0 50%;
    background-size: auto, 50px 100px, 50px 100px;
    background-repeat: repeat-x;
    opacity: 0.5;
}

.asc-bg-tower {
    position: absolute;
    bottom: 0;
    right: 5%;
    height: 90%;
    width: 30%;
    background-image: linear-gradient(to top, rgba(30, 41, 59, 0.8) 0%, rgba(15, 23, 42, 0) 80%);
    background-position: bottom right;
    background-size: contain;
    background-repeat: no-repeat;
    opacity: 0.7;
}

/* Content elements */
.asc-auth-content {
    position: relative;
    z-index: 1;
    width: 100%;
    max-width: 460px;
    padding: 0 20px;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.asc-game-logo {
    margin-bottom: 30px;
    text-align: center;
}

.asc-logo-text {
    font-size: 3.5rem;
    font-weight: 800;
    color: white;
    text-shadow: 0 0 10px rgba(59, 130, 246, 0.8), 0 0 20px rgba(59, 130, 246, 0.5);
    letter-spacing: 4px;
    margin-bottom: 0;
    animation: glowPulse 3s ease-in-out infinite;
}

.asc-logo-subtitle {
    font-size: 1rem;
    color: rgba(255, 255, 255, 0.8);
    letter-spacing: 1px;
}

.asc-auth-card {
    width: 100%;
    background: rgba(30, 41, 59, 0.9);
    border-radius: 12px;
    padding: 30px;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.3), 0 0 20px rgba(59, 130, 246, 0.3);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(59, 130, 246, 0.3);
    animation: cardFadeIn 0.5s ease;
}

/* Animations */
@keyframes cardFadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes glowPulse {
    0%, 100% {
        text-shadow: 0 0 10px rgba(59, 130, 246, 0.5), 0 0 20px rgba(59, 130, 246, 0.3), 0 0 30px rgba(59, 130, 246, 0.2);
    }

    50% {
        text-shadow: 0 0 20px rgba(59, 130, 246, 0.8), 0 0 30px rgba(59, 130, 246, 0.6), 0 0 40px rgba(59, 130, 246, 0.4);
    }
}

@keyframes twinkle {
    0%, 100% {
        opacity: 0.7;
    }

    50% {
        opacity: 1;
    }
}

/* Responsive adjustments */
@media (max-width: 576px) {
    .asc-auth-content {
        padding: 0 15px;
    }

    .asc-auth-card {
        padding: 20px;
    }

    .asc-logo-text {
        font-size: 2.8rem;
    }

    .asc-bg-tower {
        width: 40%;
    }
}
