html, body {
    margin: 0;
    padding: 0;
    height: 100%;
    font-family: Roboto, sans-serif;
    overflow-x: hidden;
}

.login-lock-btn {
    position: fixed;
    top: 20px;
    right: 20px;
    width: 56px;
    height: 56px;
    border: 0;
    border-radius: 50%;
    background: linear-gradient(135deg, #0ea5e9, #2563eb);
    color: #fff;
    cursor: pointer;
    z-index: 20;
    box-shadow: 0 10px 22px rgba(15, 23, 42, 0.35);
}

.login-lock-btn .lock-icon {
    display: inline-block;
    font-size: 24px;
    line-height: 1;
    animation: beat 1.1s infinite;
}

.login-modal {
    position: fixed;
    inset: 0;
    display: flex;
    justify-content: center;
    align-items: center;
    background: rgba(255, 255, 255, 0.719);
    backdrop-filter: blur(3px);
    z-index: 25;
    padding: 1rem;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: opacity 0.25s ease, visibility 0.25s ease;
}

.login-modal.open {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
}

.login-modal-card {
    width: 100%;
    max-width: 420px;
    border-radius: 16px;
    background: linear-gradient(180deg, #fff3, #000);
    border: 1px solid rgba(255, 255, 255, 0.12);
    box-shadow: 0 22px 50px rgba(0, 0, 0, 0.45);
    padding: 1.25rem 1.25rem 1.4rem;
    position: relative;
    color: #fff;
    transform: translateY(14px) scale(0.97);
    opacity: 0;
    transition: transform 0.3s ease, opacity 0.3s ease;
}

.login-modal.open .login-modal-card {
    transform: translateY(0) scale(1);
    opacity: 1;
}

.login-modal-card h3 {
    margin-top: 0.5rem;
    margin-bottom: 1rem;
    font-size: 1.4rem;
}

.beat-badge {
    width: 56px;
    height: 56px;
    margin: 0 auto;
    border-radius: 50%;
    display: grid;
    place-items: center;
    font-size: 28px;
    background: linear-gradient(135deg, #f43f5e, #f97316);
    box-shadow: 0 10px 24px rgba(249, 115, 22, 0.35);
    animation: beat 1.1s infinite;
}

.login-close-btn {
    position: absolute;
    top: 8px;
    right: 8px;
    width: 34px;
    height: 34px;
    border-radius: 50%;
    border: 0;
    background: rgba(255, 255, 255, 0.12);
    color: #fff;
    cursor: pointer;
}

.popup-login-form {
    display: flex;
    flex-direction: column;
    gap: 0.55rem;
    text-align: left;
}

.popup-login-form label {
    font-size: 0.9rem;
    color: #d1d5db;
}

.popup-login-form input {
    width: 100%;
    border-radius: 10px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    background: rgba(255, 255, 255, 0.08);
    color: #fff;
    padding: 0.7rem 0.8rem;
    outline: none;
    box-sizing: border-box;
}

.popup-login-form input:focus {
    border-color: #38bdf8;
    box-shadow: 0 0 0 3px rgba(56, 189, 248, 0.22);
}

.popup-submit-btn {
    margin-top: 0.6rem;
    border: 0;
    border-radius: 10px;
    padding: 0.75rem 0.9rem;
    color: #fff;
    font-weight: 700;
    cursor: pointer;
    background: linear-gradient(135deg, #0284c7, #2563eb);
}

.popup-login-msg {
    min-height: 20px;
    margin-top: 0.65rem;
    color: #67e8f9;
}

.popup-login-msg.error {
    color: #fca5a5;
}

@keyframes beat {
    0%, 100% {
        transform: scale(1);
    }
    25% {
        transform: scale(1.12);
    }
    40% {
        transform: scale(0.96);
    }
    60% {
        transform: scale(1.08);
    }
}

/*--------------------
Page Container
--------------------*/
.page {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 2rem 1rem;
    min-height: 100vh;
    width: 100%;
    text-align: center;
    color: #fff;
    position: relative;
    box-sizing: border-box;
    overflow: hidden;
}

h1 {
    font-size: 5rem;
    font-weight: 900;
    line-height: 1;
    margin-bottom: 4rem;
    text-shadow: 1px 1px 3px rgba(0,0,0,0.3);
}

/*--------------------
Buttons
--------------------*/
.buttons {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 1rem;
    width: 100%;
    max-width: 1400px;
    margin-bottom: 2rem;
}

.btn {
    display: flex;
    justify-content: center;
    align-items: center;
    text-transform: uppercase;
    font-style: italic;
    text-decoration: none;
    padding-top: 0.7rem;
    padding-bottom: 0.7rem;
    padding-left: 2rem;
    padding-right: 2rem;
    background: linear-gradient(135deg, #ff758c, #ff7eb3);
    color: #fff;
    font-weight: normal;
    border-radius: 30px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.2);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    flex: 1 1 200px;
    text-align: center;
}

.btn::after {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: rgba(255,255,255,0.2);
    transition: all 0.3s ease;
    transform: skewX(-20deg);
}

.btn:hover::after {
    left: 100%;
}

.btn:hover {
    transform: translateY(-3px) scale(1.05);
    box-shadow: 0 8px 20px rgba(0,0,0,0.3);
}

.btn span {
    position: relative;
    z-index: 1;
}

/*--------------------
Background Image
--------------------*/
.bg-image {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    transform: scale(1);
    transition: transform 0.1s linear;
}

#signature {
    position: fixed;
    bottom: 60px;
    left: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    transform: translateX(-50%);
    z-index: 5;
}
.signatureImage {
    height: 50px;
    width: 100px;
}

#signature p{
    text-align: center;
    font-family: cursive;
}
#signature .designation{
    text-align: center;
    font-family: cursive;
    color: #15F4EE;
}
#signature a{
    font-weight: bold;
    font-style: italic;
    color: #333333;
}

/*--------------------
Responsive Styles
--------------------*/
@media (max-width: 768px) {
    h1 {
        font-size: 3rem;
    }

    .btn {
        flex: 1 1 100%;
        padding: 0.7rem 1.2rem;
    }

    .login-lock-btn {
        width: 48px;
        height: 48px;
        top: 14px;
        right: 14px;
    }
}

@media (max-width: 480px) {
    h1 {
        font-size: 2rem;
    }

    .buttons {
        gap: 0.5rem;
    }
}

