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

html{
    scroll-behavior: smooth;
}

body{
    font-family: 'Inter', sans-serif;
}

.app-wrapper{
    width: 100%;
}

.app{
    position: relative;
    height: 100svh;
    background: #050505;
    overflow: hidden;
    font-family: "Montserrat", sans-serif;
    color: #fff;
    font-size: 18px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.cat-background{
    position: absolute;
    bottom: 0;
    right: 0;
    width: 100%;
    height: 100%;
    opacity: 0.3;
    pointer-events: none;
    animation: catSlide 2s ease forwards;
}

.cat-background img{
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.maintenance-container{
    position: relative;
    text-align: center;
    animation: fadeIn 1s ease forwards;
    z-index: 10;
}

.maintenance-text{
    margin-bottom: 60px;
}

.title{
    font-size: 72px;
    font-weight: 900;
    margin-bottom: 20px;
    background: linear-gradient(135deg, #fff, #aaa);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.subtitle{
    font-size: 24px;
    font-weight: 300;
    color: #999;
    letter-spacing: 1px;
}

.maintenance-icon{
    width: 200px;
    height: 200px;
    margin: 0 auto;
    animation: clockTick 2s ease-in-out infinite;
}

.maintenance-icon svg{
    width: 100%;
    height: 100%;
    filter: drop-shadow(0 0 20px rgba(255, 255, 255, 0.1));
}

@keyframes fadeIn {
    from{
        opacity: 0;
        transform: translateY(20px);
    }
    to{
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes clockTick {
    0%, 100%{
        transform: scale(1);
    }
    50%{
        transform: scale(1.05);
    }
}

@keyframes catSlide {
    from{
        transform: translateX(100px);
        opacity: 0;
    }
    to{
        transform: translateX(0);
        opacity: 0.3;
    }
}

.admin-section{
    margin-top: 80px;
    animation: fadeIn 1.5s ease forwards;
}

.admin-text{
    font-size: 16px;
    color: #666;
    margin-bottom: 15px;
    letter-spacing: 0.5px;
}

.auth-btn{
    background: linear-gradient(135deg, #444, #222);
    border: 1px solid #555;
    color: #fff;
    padding: 12px 30px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    border-radius: 4px;
    transition: all 0.3s ease;
    font-family: "Montserrat", sans-serif;
}

.auth-btn:hover{
    background: linear-gradient(135deg, #555, #333);
    border-color: #777;
}

.auth-section{
    min-height: 100svh;
    background: linear-gradient(135deg, #0a0a0a 0%, #1a1a1a 100%);
    display: none;
    align-items: center;
    justify-content: center;
    padding: 40px 20px;
}

.auth-section.active{
    display: flex;
}

.auth-box{
    background: rgba(20, 20, 20, 0.8);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 16px;
    padding: 60px 50px;
    max-width: 450px;
    width: 100%;
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.5), inset 0 1px 0 rgba(255, 255, 255, 0.1);
    animation: slideUpAuth 0.6s ease forwards;
}

.auth-title{
    font-family: 'Poppins', sans-serif;
    font-size: 32px;
    font-weight: 700;
    margin-bottom: 12px;
    background: linear-gradient(135deg, #ffffff 0%, #b0b0b0 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    text-align: center;
}

.auth-subtitle{
    font-family: 'Inter', sans-serif;
    font-size: 15px;
    color: #888;
    margin-bottom: 35px;
    font-weight: 400;
    letter-spacing: 0.3px;
    text-align: center;
}

.auth-form-wrapper{
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.form-group{
    position: relative;
}

.auth-input{
    width: 100%;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: #fff;
    padding: 14px 18px;
    font-size: 15px;
    border-radius: 8px;
    font-family: 'Inter', sans-serif;
    transition: all 0.3s ease;
}

.auth-input:focus{
    outline: none;
    border-color: rgba(255, 255, 255, 0.3);
    background: rgba(255, 255, 255, 0.08);
    box-shadow: 0 0 20px rgba(255, 255, 255, 0.05);
}

.auth-input::placeholder{
    color: #666;
}

.toggle-password{
    position: absolute;
    right: 14px;
    top: 50%;
    transform: translateY(-50%);
    background: none;
    border: none;
    color: #888;
    font-size: 18px;
    cursor: pointer;
    transition: all 0.3s ease;
    padding: 5px;
}

.toggle-password:hover{
    color: #fff;
}

.auth-input{
    width: 100%;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: #fff;
    padding: 14px 18px;
    font-size: 15px;
    border-radius: 8px;
    font-family: 'Inter', sans-serif;
    transition: all 0.3s ease;
}

.auth-input:focus{
    outline: none;
    border-color: rgba(255, 255, 255, 0.3);
    background: rgba(255, 255, 255, 0.08);
    box-shadow: 0 0 20px rgba(255, 255, 255, 0.05);
}

.auth-input::placeholder{
    color: #666;
    font-weight: 400;
}

.submit-btn{
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border: none;
    color: #fff;
    padding: 14px 30px;
    font-size: 15px;
    font-weight: 600;
    cursor: pointer;
    border-radius: 8px;
    transition: all 0.3s ease;
    font-family: 'Poppins', sans-serif;
    margin-top: 8px;
    box-shadow: 0 10px 25px rgba(102, 126, 234, 0.2);
}

.submit-btn:hover{
    background: linear-gradient(135deg, #7b8ff0 0%, #8b5bb5 100%);
    transform: translateY(-2px);
    box-shadow: 0 15px 35px rgba(102, 126, 234, 0.3);
}

.error-msg{
    color: #ff6b6b;
    font-size: 14px;
    margin-top: 8px;
    min-height: 20px;
    text-align: center;
    font-family: 'Inter', sans-serif;
}

.cancel-btn{
    background: transparent;
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: #999;
    padding: 12px 30px;
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    border-radius: 8px;
    transition: all 0.3s ease;
    font-family: 'Inter', sans-serif;
    margin-top: 8px;
}

.cancel-btn:hover{
    border-color: rgba(255, 255, 255, 0.4);
    color: #fff;
    background: rgba(255, 255, 255, 0.05);
}

@keyframes slideUpAuth {
    from{
        opacity: 0;
        transform: translateY(40px);
    }
    to{
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes slideDown {
    from{
        opacity: 0;
        transform: translateY(-10px);
    }
    to{
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeInModal {
    from{
        opacity: 0;
    }
    to{
        opacity: 1;
    }
}

@keyframes slideUpModal {
    from{
        opacity: 0;
        transform: translateY(30px);
    }
    to{
        opacity: 1;
        transform: translateY(0);
    }
}

.loading-spinner{
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 40px 20px;
}

.spinner{
    width: 50px;
    height: 50px;
    border: 3px solid rgba(255, 255, 255, 0.1);
    border-top: 3px solid #667eea;
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

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

@media (max-width: 768px) {
    .title{
        font-size: 48px;
    }
    
    .subtitle{
        font-size: 16px;
    }
    
    .maintenance-icon{
        width: 150px;
        height: 150px;
    }
    
    .admin-section{
        margin-top: 40px;
    }
    
    .auth-box{
        padding: 40px 25px;
        max-width: 90%;
    }
    
    .auth-title{
        font-size: 24px;
    }
    
    .auth-subtitle{
        font-size: 14px;
        margin-bottom: 25px;
    }
    
    .auth-input{
        padding: 12px 14px;
        font-size: 14px;
    }
    
    .submit-btn, .cancel-btn{
        padding: 12px 24px;
        font-size: 13px;
    }
}

@media (max-width: 480px) {
    .title{
        font-size: 36px;
        margin-bottom: 15px;
    }
    
    .subtitle{
        font-size: 14px;
    }
    
    .maintenance-text{
        margin-bottom: 30px;
    }
    
    .maintenance-icon{
        width: 120px;
        height: 120px;
    }
    
    .admin-text{
        font-size: 14px;
        margin-bottom: 12px;
    }
    
    .auth-btn{
        padding: 10px 24px;
        font-size: 13px;
    }
    
    .auth-section{
        padding: 20px 15px;
    }
    
    .auth-box{
        padding: 30px 20px;
        border-radius: 12px;
    }
    
    .auth-title{
        font-size: 22px;
        margin-bottom: 10px;
    }
    
    .auth-subtitle{
        font-size: 13px;
        margin-bottom: 20px;
    }
    
    .auth-form-wrapper{
        gap: 12px;
    }
    
    .auth-input{
        padding: 11px 12px;
        font-size: 13px;
        border-radius: 6px;
    }
    
    .toggle-password{
        font-size: 16px;
        right: 12px;
    }
    
    .submit-btn{
        padding: 11px 20px;
        font-size: 13px;
        margin-top: 6px;
    }
    
    .cancel-btn{
        padding: 11px 20px;
        font-size: 13px;
        margin-top: 6px;
    }
    
    .error-msg{
        font-size: 12px;
    }
    
    .spinner{
        width: 40px;
        height: 40px;
        border: 2px solid rgba(255, 255, 255, 0.1);
        border-top: 2px solid #667eea;
    }
}
