@font-face {
    font-family: 'Lalezar';
    src: url('../fonts/Lalezar-Regular.ttf') format('truetype');
}

* {
    box-sizing: border-box;
}

body {
    background-color: #fdf8e6;
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100vh;
    margin: 0;
    font-family: Arial, sans-serif;
    flex-direction: column;
    padding: 20px;
}

.container {
    text-align: center;
    position: relative;
    width: 100%;
    max-width: 800px;
    height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.logo {
    width: 60%;
    max-width: 500px;
    height: auto;
    margin-bottom: 10vh;
}

.login-btn {
    position: relative;
    display: inline-block;
    padding: 18px 45px;
    color: #ffffff;
    font-family: "Lalezar", Arial, sans-serif;
    font-size: 32px;
    font-weight: bold;
    text-decoration: none;
    background: linear-gradient(135deg, #4B0082, #8A2BE2, #9370DB);
    border: none;
    border-radius: 50px;
    box-shadow: 
        0 8px 25px rgba(75, 0, 130, 0.4),
        0 4px 10px rgba(0, 0, 0, 0.1),
        inset 0 1px 0 rgba(255, 255, 255, 0.2);
    transition: all 0.3s ease;
    overflow: hidden;
    cursor: pointer;
    margin-top: 20vh;
    letter-spacing: 1px;
    text-transform: uppercase;
}

.login-btn:hover {
    transform: translateY(-3px) scale(1.05);
    background: linear-gradient(135deg, #5a0a96, #9932cc, #a757d8);
    box-shadow: 
        0 15px 35px rgba(75, 0, 130, 0.6),
        0 8px 20px rgba(0, 0, 0, 0.2),
        inset 0 1px 0 rgba(255, 255, 255, 0.3);
    color: #ffffff;
}

.login-btn:active {
    transform: translateY(-1px) scale(0.98);
    box-shadow: 
        0 5px 15px rgba(75, 0, 130, 0.4),
        0 2px 5px rgba(0, 0, 0, 0.15),
        inset 0 1px 0 rgba(255, 255, 255, 0.1);
}

.btn-text {
    position: relative;
    z-index: 2;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.2);
}

.btn-shine {
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
    transition: left 0.6s ease;
    z-index: 1;
    border-radius: 50px;
}

.login-btn:hover .btn-shine {
    left: 100%;
}

@keyframes gradientShift {
    0%, 100% {
        background-position: 0% 50%;
    }
    50% {
        background-position: 100% 50%;
    }
}

/* Pulse animation for button */
@keyframes pulse {
    0% {
        box-shadow: 0 8px 25px rgba(75, 0, 130, 0.4), 0 4px 10px rgba(0, 0, 0, 0.1);
    }
    50% {
        box-shadow: 0 12px 30px rgba(75, 0, 130, 0.6), 0 6px 15px rgba(0, 0, 0, 0.15);
    }
    100% {
        box-shadow: 0 8px 25px rgba(75, 0, 130, 0.4), 0 4px 10px rgba(0, 0, 0, 0.1);
    }
}

.login-btn {
    animation: pulse 3s ease-in-out infinite;
}

/* Responsive Design */
@media screen and (max-width: 768px) {
    .logo {
        width: 80%;
        max-width: 400px;
        margin-bottom: 8vh;
    }
    
    .login-btn {
        font-size: 28px;
        padding: 15px 35px;
        margin-top: 15vh;
    }
}

@media screen and (max-width: 480px) {
    body {
        padding: 10px;
    }
    
    .logo {
        width: 90%;
        max-width: 300px;
        margin-bottom: 6vh;
    }
    
    .login-btn {
        font-size: 24px;
        padding: 12px 28px;
        margin-top: 12vh;
    }
}

@media screen and (max-width: 360px) {
    .logo {
        width: 95%;
        max-width: 250px;
        margin-bottom: 5vh;
    }
    
    .login-btn {
        font-size: 20px;
        padding: 10px 25px;
        margin-top: 10vh;
    }
}

/* Landscape orientation for mobile */
@media screen and (max-height: 500px) and (orientation: landscape) {
    .container {
        flex-direction: row;
        justify-content: space-around;
        align-items: center;
    }
    
    .logo {
        width: 40%;
        max-width: 250px;
        margin-bottom: 0;
        margin-right: 20px;
    }
    
    .login-btn {
        font-size: 18px;
        padding: 8px 20px;
        margin-top: 8vh;
    }
}