@import url('https://fonts.googleapis.com/css2?family=Great+Vibes&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Roboto+Condensed:ital,wght@0,100..900;1,100..900&family=Satisfy&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600&family=Manrope:wght@500;600;700&display=swap');

:root {
    --light-pink: #F8C5F6;
    --dusty-pink: #CA8EB6;
    --hard-pink: #FF1167;
    --light-blue: #BFEFE4;
    --dusty-blue: #B0D7CC;
    --hard-blue: #1C98ED;
    --light-peach: #E8B4A3;
    --charcoal: #060A0E;
    --light-charcoal: #1C1F21;
    --hard-yellow: #FFEB38;
    --dusty-charcoal: #182736;
    --hard-white: #FFFFFF;
    --silver: #626C76;
}

*,
*::before,
*::after {
    box-sizing: border-box;
}


body {
    color: var(--charcoal);
    font-family: 'Inter', system-ui, sans-serif;
    font-weight: 400;
    font-size: 16px;
    line-height: 1.5;
    position: relative;
    margin: 0;
    padding: 24px;
    background-image: url('../images/login-bg.jpg');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    min-height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
    overflow: hidden;
}

body::before,
body::after {
    content: '';
    position: fixed;
    inset: auto;
    border-radius: 999px;
    pointer-events: none;
    z-index: 0;
    filter: blur(10px);
}

body::before {
    top: 8%;
    left: 8%;
    width: 240px;
    height: 240px;
    background: radial-gradient(circle, rgba(255, 17, 103, 0.30) 0%, rgba(255, 17, 103, 0) 72%);
}

body::after {
    right: 8%;
    bottom: 7%;
    width: 280px;
    height: 280px;
    background: radial-gradient(circle, rgba(28, 152, 237, 0.26) 0%, rgba(28, 152, 237, 0) 70%);
}

.login {
    position: relative;
    z-index: 1;
    padding: 32px 30px 26px;
    width: min(100%, 430px);
    text-align: center;
    background: linear-gradient(155deg, rgba(0, 0, 0, 0.3), rgba(255, 255, 255, 0.14));
    border-radius: 28px;
    box-shadow: 0 28px 70px rgba(6, 10, 14, 0.28);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    border: 1px solid rgba(255, 255, 255, 0.36);
    overflow: hidden;
}

.login::before,
.login::after {
    content: '';
    position: absolute;
    pointer-events: none;
}

.login::before {
    inset: 0;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.18), rgba(255, 255, 255, 0.03) 45%, rgba(255, 17, 103, 0.08) 100%);
}

.login::after {
    top: -80px;
    right: -35px;
    width: 180px;
    height: 180px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(255, 235, 56, 0.30) 0%, rgba(255, 235, 56, 0) 72%);
}

.login .login-form {
    position: relative;
    z-index: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 6px;
}

.login-header,
.login-footer {
    position: relative;
    z-index: 1;
}

.login-header {
    margin-bottom: 22px;
}

.login-header h1 {
    margin: 10px 0 0;
    font-family: 'Great Vibes', cursive;
    font-size: clamp(2.2rem, 5vw, 3.2rem);
    line-height: 1;
    font-weight: 400;
    color: var(--hard-white);
    text-shadow: 0 10px 30px rgba(6, 10, 14, 0.35);
}

.login-logo {
    display: inline-block;
    object-fit: cover;
    filter: drop-shadow(0 12px 20px rgba(6, 10, 14, 0.18));
}

.login .login-header .login-logo {
    border-radius: 18px;
    border: 1px solid rgba(255, 255, 255, 0.35);
}

.login .login-footer {
    margin-top: 24px;
    opacity: 0.9;
}

.login .login-footer .login-logo {
    max-width: 88px;
    mix-blend-mode: screen;
}

.login .login-form .input-group {
    width: 100%;
}

.login .login-form .input-group input {
    margin-bottom: 0;
    font-size: 20px;
    width: 100%;
    text-align: center;
    height: 52px;
    border-radius: 16px;
    border: 1px solid rgba(255, 255, 255, 0.28);
    background: rgba(255, 255, 255, 0.18);
    color: var(--hard-white);
    padding: 0 18px;
    outline: none;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.22), 0 10px 24px rgba(24, 39, 54, 0.10);
    transition: transform 180ms ease, border-color 180ms ease, box-shadow 180ms ease, background 180ms ease;
}

.login .login-form .input-group input::placeholder {
    color: rgba(255, 255, 255, 0.74);
    letter-spacing: 0.03em;
}

.login .login-form .input-group input:focus {
    transform: translateY(-1px);
    background: rgba(255, 255, 255, 0.24);
    border-color: rgba(255, 235, 56, 0.72);
    box-shadow: 0 0 0 4px rgba(255, 235, 56, 0.16), 0 16px 32px rgba(24, 39, 54, 0.16);
}

.login .submit-button {
    width: 100%;
    margin-top: 14px;
}

.login .submit-button button {
    width: 100%;
    height: 52px;
    background: var(--hard-pink);
    border: none;
    color: var(--hard-white);
    padding: 10px 20px;
    border-radius: 16px;
    cursor: pointer;
    font-size: 16px;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    box-shadow: 0 18px 35px rgba(28, 152, 237, 0.22);
    transition: transform 180ms ease, box-shadow 180ms ease, filter 180ms ease;
}

.login .submit-button button:hover {
    transform: translateY(-2px) scale(1.01);
    box-shadow: 0 22px 40px rgba(255, 17, 103, 0.32);
    filter: brightness(1.05);
}

.login .submit-button button:active {
    transform: translateY(0);
}

@media (max-width: 480px) {
    body {
        padding: 18px;
    }

    .login {
        padding: 26px 20px 22px;
        border-radius: 22px;
    }

    .login-header h1 {
        font-size: 2.5rem;
    }

    .login .login-form .input-group input,
    .login .submit-button button {
        height: 48px;
        border-radius: 14px;
    }
}