/* ==========================================
   LOGIN SCREEN - MODERN CLEAN DESIGN
   ========================================== */

#login-screen {
    background: linear-gradient(135deg, #0a0f1e 0%, #1a1f35 50%, #0f1419 100%);
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    margin: 0;
    padding: 0;
    overflow: hidden;
    display: none;
    align-items: center;
    justify-content: center;
    z-index: 9999;
}

#login-screen.active {
    display: flex;
}

.login-container {
    position: relative;
    z-index: 1;
    text-align: center;
    padding: 56px 48px;
    background: linear-gradient(145deg, rgba(20, 25, 45, 0.95), rgba(15, 20, 35, 0.98));
    backdrop-filter: blur(20px) saturate(180%);
    border-radius: 32px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    box-shadow: 
        0 25px 60px rgba(0, 0, 0, 0.6),
        0 0 0 1px rgba(255, 255, 255, 0.03) inset;
    max-width: 460px;
    width: 90%;
}

.logo {
    margin-bottom: 40px;
}

.login-logo {
    max-width: 220px;
    height: auto;
    margin-bottom: 20px;
    transition: transform 0.3s ease;
    animation: logoFloat 4s ease-in-out infinite;
}

@keyframes logoFloat {
    0%, 100% {
        transform: translateY(0) scale(1);
    }
    50% {
        transform: translateY(-8px) scale(1.02);
    }
}

.login-logo:hover {
    animation: none;
    transform: scale(1.08);
}

.logo p {
    color: rgba(255, 255, 255, 0.7);
    font-size: 1rem;
    font-weight: 600;
    letter-spacing: 2px;
    text-transform: uppercase;
    margin: 0;
}

.login-buttons {
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.lore-btn {
    padding: 20px 40px;
    background: linear-gradient(135deg, rgba(171, 71, 188, 0.3) 0%, rgba(123, 31, 162, 0.4) 100%);
    border: 4px solid rgba(171, 71, 188, 0.6);
    border-radius: 20px;
    color: #f3e5f5;
    font-size: 1.05rem;
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: 2px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 14px;
    transition: all 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
    position: relative;
    overflow: hidden;
    box-shadow: 
        0 8px 25px rgba(171, 71, 188, 0.5),
        0 4px 12px rgba(0, 0, 0, 0.3),
        inset 0 2px 4px rgba(255, 255, 255, 0.15);
}

.lore-btn::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(171, 71, 188, 0.4), rgba(123, 31, 162, 0.5));
    opacity: 0;
    transition: opacity 0.4s ease;
}

.lore-btn::after {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.1) 0%, transparent 70%);
    opacity: 0;
    transition: opacity 0.4s ease;
}

.lore-btn:hover::before {
    opacity: 1;
}

.lore-btn:hover::after {
    opacity: 1;
}

.lore-btn:hover {
    border-color: rgba(171, 71, 188, 0.9);
    box-shadow: 
        0 12px 40px rgba(171, 71, 188, 0.7),
        0 6px 20px rgba(0, 0, 0, 0.4),
        inset 0 2px 6px rgba(255, 255, 255, 0.2);
    transform: translateY(-4px) scale(1.03);
}

.lore-btn .lore-icon {
    font-size: 1.4rem;
    filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.3));
}

.google-btn {
    padding: 20px 40px;
    background: linear-gradient(135deg, #ffffff 0%, #fafafa 100%);
    border: 3px solid rgba(0, 0, 0, 0.12);
    border-radius: 20px;
    color: #1e293b;
    font-size: 1.05rem;
    font-weight: 800;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 14px;
    box-shadow: 
        0 6px 20px rgba(0, 0, 0, 0.15),
        0 2px 8px rgba(0, 0, 0, 0.1),
        inset 0 1px 2px rgba(255, 255, 255, 0.8);
    transition: all 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
    position: relative;
    overflow: hidden;
}

.google-btn::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(66, 133, 244, 0.08), rgba(52, 168, 83, 0.08));
    opacity: 0;
    transition: opacity 0.4s ease;
}

.google-btn:hover::before {
    opacity: 1;
}

.google-btn:hover {
    background: linear-gradient(135deg, #ffffff 0%, #ffffff 100%);
    border-color: rgba(66, 133, 244, 0.3);
    box-shadow: 
        0 10px 30px rgba(0, 0, 0, 0.2),
        0 4px 12px rgba(66, 133, 244, 0.15),
        inset 0 1px 2px rgba(255, 255, 255, 1);
    transform: translateY(-4px) scale(1.02);
}

.google-btn img {
    width: 24px;
    height: 24px;
    filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.1));
}

.help-project-btn {
    padding: 20px 40px;
    background: linear-gradient(135deg, rgba(33, 150, 243, 0.3) 0%, rgba(13, 71, 161, 0.4) 100%);
    border: 4px solid rgba(79, 195, 247, 0.6);
    border-radius: 20px;
    color: #e1f5fe;
    font-size: 1.05rem;
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: 2px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 14px;
    transition: all 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
    position: relative;
    overflow: hidden;
    box-shadow: 
        0 8px 25px rgba(79, 195, 247, 0.5),
        0 4px 12px rgba(0, 0, 0, 0.3),
        inset 0 2px 4px rgba(255, 255, 255, 0.15);
}

.help-project-btn::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(33, 150, 243, 0.4), rgba(13, 71, 161, 0.5));
    opacity: 0;
    transition: opacity 0.4s ease;
}

.help-project-btn::after {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.1) 0%, transparent 70%);
    opacity: 0;
    transition: opacity 0.4s ease;
}

.help-project-btn:hover::before {
    opacity: 1;
}

.help-project-btn:hover::after {
    opacity: 1;
}

.help-project-btn:hover {
    border-color: rgba(79, 195, 247, 0.9);
    box-shadow: 
        0 12px 40px rgba(79, 195, 247, 0.7),
        0 6px 20px rgba(0, 0, 0, 0.4),
        inset 0 2px 6px rgba(255, 255, 255, 0.2);
    transform: translateY(-4px) scale(1.03);
}

.help-project-btn .help-icon {
    font-size: 1.4rem;
    filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.3));
}

.login-version {
    margin-top: 28px;
    font-size: 0.8rem;
    color: rgba(255, 255, 255, 0.35);
    padding: 8px 16px;
    background: rgba(255, 255, 255, 0.02);
    border-radius: 20px;
    border: 1px solid rgba(255, 255, 255, 0.05);
    letter-spacing: 0.5px;
}

.login-mute-btn {
    position: fixed;
    top: 28px;
    right: 28px;
    width: 52px;
    height: 52px;
    background: rgba(20, 25, 45, 0.85);
    backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 16px;
    color: #fff;
    font-size: 1.3rem;
    cursor: pointer;
    box-shadow: 
        0 4px 16px rgba(0, 0, 0, 0.4),
        0 0 0 1px rgba(255, 255, 255, 0.03) inset;
    z-index: 1000;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.login-mute-btn:hover {
    background: rgba(20, 25, 45, 0.95);
    border-color: rgba(255, 255, 255, 0.2);
    box-shadow: 
        0 6px 20px rgba(0, 0, 0, 0.5),
        0 0 0 1px rgba(255, 255, 255, 0.05) inset;
    transform: translateY(-2px);
}
