body{
    margin: 0;
    padding: 0;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background: linear-gradient(54deg,rgb(9, 159, 19) 0%, rgb(57, 146, 94) 55%, rgb(73, 153, 141) 100% 100%);
    background-repeat: no-repeat;
    background-size: cover;
    min-height: 100vh;
    transition: opacity 0.5s ease;
    overflow-x: hidden;
}

@media screen and (max-width: 768px) and (orientation: portrait) {
    body::before {
        content: "Please rotate your device to landscape mode for the best FrogOS experience";
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background: rgba(0,0,0,0.9);
        color: white;
        display: flex;
        align-items: center;
        justify-content: center;
        text-align: center;
        font-size: 18px;
        padding: 20px;
        box-sizing: border-box;
        z-index: 10000;
    }
    
    .container {
        display: none;
    }
}

.container {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
    padding: 20px;
    box-sizing: border-box;
}

#login-elements {
    text-align: center;
    color: white;
    width: 100%;
    max-width: 400px;
    z-index: 100;
    position: relative;
}
#login-elements img {
    width: 8rem;
    height: 8rem;
    border-radius: 50%;
    margin-bottom: 20px;
}

#login-elements h1 {
    font-size: 1.8rem;
    margin: 15px 0 25px 0;
    font-weight: 300;
}

#password {
    padding: 12px 20px;
    border: 2px solid rgba(255,255,255,0.3);
    border-radius: 25px;
    background: rgba(255,255,255,0.1);
    color: white;
    font-size: 16px;
    text-align: center;
    outline: none;
    margin-bottom: 15px;
    backdrop-filter: blur(10px);
    width: 100%;
    max-width: 300px;
    box-sizing: border-box;
}

#password::placeholder {
    color: rgba(255,255,255,0.7);
}

#password:focus {
    border-color: rgba(255,255,255,0.6);
    background: rgba(255,255,255,0.2);
}

#login-btn {
    padding: 12px 30px;
    background: rgba(46, 125, 50, 0.8);
    color: white;
    border: 2px solid rgba(255,255,255,0.3);
    border-radius: 25px;
    font-size: 16px;
    cursor: pointer;
    margin-top: 10px;
    transition: all 0.3s ease;
}

#login-btn:hover {
    background: rgba(46, 125, 50, 1);
    border-color: rgba(255,255,255,0.6);
}

#hint {
    color: rgba(255,255,255,0.8);
    font-size: 14px;
    margin: 10px 0;
    transition: color 0.3s ease;
}

.os-logo {
    position: fixed;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    text-align: center;
    color: white;
    z-index: 1;
}

.os-logo img {
    width: 60px;
    border-radius: 50%;
}

.os-logo h2 {
    font-size: 1.2rem;
    margin: 8px 0;
}

#hint{
    margin-top: 15px;
    font-size: 0.9rem;
    padding: 0 20px;
}

@media screen and (max-width: 768px) {
    #login-elements img {
        width: 6rem;
        height: 6rem;
    }
    
    #login-elements h1 {
        font-size: 1.5rem;
        margin: 10px 0 20px 0;
    }
    
    #password {
        font-size: 16px;
        padding: 10px 15px;
        max-width: 280px;
    }
    
    #login-btn {
        padding: 10px 25px;
        font-size: 15px;
    }
    
    .os-logo {
        bottom: 15px;
    }
    
    .os-logo img {
        width: 50px;
    }
    
    .os-logo h2 {
        font-size: 1rem;
    }
}

.loading-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(54deg,rgb(9, 159, 19) 0%, rgb(57, 146, 94) 55%, rgb(73, 153, 141) 100% 100%);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 9999;
}

.loading-content {
    text-align: center;
    color: white;
}

.loading-logo {
    font-size: 4rem;
    margin-bottom: 20px;
    animation: bounce 2s infinite;
}

.loading-title {
    font-size: 2.5rem;
    margin: 0 0 30px 0;
    font-weight: 300;
}

.loading-spinner {
    margin: 30px 0;
}

.spinner {
    width: 60px;
    height: 60px;
    border: 4px solid rgba(255,255,255,0.3);
    border-top: 4px solid white;
    border-radius: 50%;
    animation: spin 1s linear infinite;
    margin: 0 auto;
}

.loading-text {
    font-size: 1.1rem;
    margin-top: 20px;
    opacity: 0.9;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% {
        transform: translateY(0);
    }
    40% {
        transform: translateY(-10px);
    }
    60% {
        transform: translateY(-5px);
    }
}
