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

body {
    font-family: 'Courier New', monospace;
    background: #000;
    color: #fff;
    overflow: hidden;
    height: 100vh;
    position: relative;
}

.stars-container {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
    overflow: hidden; /* Masquer les étoiles hors limites */
}

.app-icon {
    height: 128px;
    margin-bottom: 48px;
}

.star {
    position: absolute;
    width: 2px;
    height: 2px;
    background: #fff;
    border-radius: 50%;
    opacity: 0.8;
    box-shadow: 0 0 6px #fff;
}

.star.bright {
    width: 3px;
    height: 3px;
    box-shadow: 0 0 10px #fff, 0 0 20px #fff;
    opacity: 1;
}

.main-container {
    position: relative;
    z-index: 10;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    height: 100vh;
    width: 100%;
}

.password-container {
    text-align: center;
    background: rgba(0, 0, 0, 0.8);
    padding: 40px;
    border-radius: 10px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    box-shadow: 0 0 30px rgba(255, 255, 255, 0.1);
    position: relative;
}

.title {
    font-size: 28px;
    margin-bottom: 30px;
    color: #fff;
    text-shadow: 0 0 10px rgba(255, 255, 255, 0.5);
    letter-spacing: 2px;
    font-weight: 300;
}

.input-wrapper {
    position: relative;
    margin-bottom: 30px;
}

.password-input {
    background: rgba(0, 0, 0, 0.7);
    border: 2px solid rgba(255, 255, 255, 0.2);
    border-radius: 5px;
    padding: 15px 20px;
    font-size: 16px;
    color: #fff;
    width: 300px;
    text-align: center;
    outline: none;
    transition: all 0.3s ease;
    font-family: 'Courier New', monospace;
    letter-spacing: 1px;
}

.password-input::placeholder {
    color: rgba(255, 255, 255, 0.5);
    letter-spacing: 1px;
}

.password-input:focus {
    border-color: rgba(255, 255, 255, 0.6);
    box-shadow: 0 0 20px rgba(255, 255, 255, 0.3);
    background: rgba(0, 0, 0, 0.9);
}

.input-glow {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    border-radius: 5px;
    background: linear-gradient(45deg, transparent, rgba(255, 255, 255, 0.1), transparent);
    opacity: 0;
    transition: opacity 0.3s ease;
    pointer-events: none;
}

.password-input:focus + .input-glow {
    opacity: 1;
}

.submit-btn {
    background: rgba(0, 0, 0, 0.8);
    border: 2px solid rgba(255, 255, 255, 0.3);
    color: #fff;
    padding: 12px 30px;
    border-radius: 5px;
    cursor: pointer;
    font-size: 16px;
    font-family: 'Courier New', monospace;
    letter-spacing: 1px;
    transition: all 0.3s ease;
    text-transform: uppercase;
}

.submit-btn:hover {
    border-color: rgba(255, 255, 255, 0.7);
    box-shadow: 0 0 15px rgba(255, 255, 255, 0.3);
    background: rgba(255, 255, 255, 0.1);
}

.submit-btn:active {
    transform: scale(0.98);
}

/* Animation pour le conteneur principal */
@keyframes float {
    0%, 100% {
        transform: translateY(0px);
    }
    50% {
        transform: translateY(-10px);
    }
}

.password-container {
    animation: float 6s ease-in-out infinite;
}

/* Responsive */
@media (max-width: 768px) {
    .password-container {
        padding: 30px 20px;
        margin: 20px;
    }
    
    .password-input {
        width: 250px;
        padding: 12px 15px;
        font-size: 14px;
    }
    
    .title {
        font-size: 24px;
        margin-bottom: 25px;
    }
    
    .app-icon {
        height: 96px; /* Réduire la taille sur mobile */
        margin-bottom: 30px;
    }
}