body {
    margin: 0;
    min-height: 100vh;
    background: linear-gradient(135deg, #0f2027, #203a43, #2c5364);
    background-attachment: fixed;
}

.auth-container {
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
    padding: 20px;
    position: relative;
    z-index: 10;
    font-family: -apple-system, BlinkMacSystemFont, "SF Pro Display", "Segoe UI", Roboto, sans-serif;
}

.auth-card {
    width: 100%;
    max-width: 380px;
    padding: 45px 35px;
    border-radius: 40px;

    background: rgba(255, 255, 255, 0.08);
    backdrop-filter: blur(35px);
    -webkit-backdrop-filter: blur(35px);

    border: 1px solid rgba(255, 255, 255, 0.18);
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.45);

    opacity: 0;
    transform: translateY(30px) scale(0.96);
    transition: all 0.8s cubic-bezier(0.2, 0.9, 0.25, 1);
}

.auth-card.visible {
    opacity: 1;
    transform: translateY(0) scale(1);
}

.auth-card h1 {
    text-align: center;
    margin-bottom: 30px;
    font-size: 34px;
    font-weight: 700;
    letter-spacing: -1px;
    color: #ffffff;
    text-shadow: 0 4px 12px rgba(0,0,0,0.3);
}

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

.auth-card input {
    padding: 16px 20px;
    border-radius: 18px;
    border: 1px solid rgba(255,255,255,0.15);
    background: rgba(255,255,255,0.08);
    color: #ffffff;
    font-size: 16px;
    transition: all 0.25s ease;
    box-sizing: border-box;
}

.auth-card input::placeholder {
    color: rgba(255,255,255,0.55);
}

.auth-card input:focus {
    outline: none;
    background: rgba(255,255,255,0.15);
    border-color: rgba(255,255,255,0.4);
    box-shadow: 0 0 0 2px rgba(255,255,255,0.08);
}

.liquid-btn {
    margin-top: 15px;
    width: 100%;
    padding: 18px;
    border-radius: 30px;
    border: none;
    cursor: pointer;
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;

    background: rgba(255,255,255,0.12);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);

    box-shadow: 0 12px 30px rgba(0,0,0,0.3);
    transition: all 0.35s ease;
    overflow: hidden;
}

.liquid-btn::before {
    content: "";
    position: absolute;
    inset: 3px;
    border-radius: 28px;
    background: rgba(0,0,0,0.55);
    backdrop-filter: blur(25px);
    -webkit-backdrop-filter: blur(25px);
    z-index: 0;
}

.liquid-btn span {
    position: relative;
    z-index: 2;
    color: #ffffff;
    font-weight: 600;
    font-size: 16px;
    letter-spacing: 0.5px;
}

.liquid-btn:hover {
    transform: translateY(-2px) scale(1.02);
    box-shadow: 0 18px 40px rgba(0,0,0,0.45);
}

.liquid-btn:active {
    transform: scale(0.97);
}

.error {
    color: #ff453a;
    font-size: 14px;
    text-align: center;
    margin-top: 12px;
}

.footer-text {
    text-align: center;
    margin-top: 25px;
    font-size: 14px;
    color: rgba(255,255,255,0.65);
}

.footer-text a {
    color: #ffffff;
    text-decoration: none;
    font-weight: 700;
    border-bottom: 1px solid rgba(255,255,255,0.25);
}

@media (max-width: 480px) {
    .auth-card {
        padding: 35px 25px;
        border-radius: 28px;
    }

    .auth-card h1 {
        font-size: 26px;
    }
}
