@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;700;800;900&display=swap');

* { box-sizing: border-box; }

body {
    margin: 0;
    min-height: 100vh;
    font-family: 'Inter', Arial, sans-serif;
    color: #1f0d18;
    background:
        radial-gradient(circle at 48% 44%, rgba(255, 255, 255, 0.55) 0 16%, transparent 38%),
        linear-gradient(90deg, #fff7fb 0%, #ffddea 30%, #ffc7da 65%, #f5bfd0 100%);
    overflow-x: hidden;
}

.login-page {
    position: relative;
    width: min(1600px, 100%);
    min-height: 100vh;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 360px 620px 460px;
    align-items: center;
    justify-content: center;
    gap: 28px;
    padding: 48px 56px;
}

.welcome-box {
    position: relative;
    z-index: 2;
    padding-top: 28px;
}

.eyebrow {
    margin: 0 0 20px;
    font-size: 13px;
    font-weight: 900;
    letter-spacing: 4px;
    color: #df2867;
}

h1 {
    margin: 0;
    font-size: 72px;
    line-height: .98;
    font-weight: 900;
    letter-spacing: -4px;
}

.subtitle {
    margin: 32px 0 22px;
    font-size: 20px;
    line-height: 1.45;
    color: #6d4b5c;
}

.highlight {
    margin: 0;
    font-size: 23px;
    font-weight: 900;
    color: #d91658;
}

.yuuki-box {
    position: relative;
    z-index: 1;
    height: 100vh;
    min-height: 760px;
    display: flex;
    align-items: flex-end;
    justify-content: center;
    pointer-events: none;
    overflow: visible;
}

.yuuki-img {
    height: min(880px, 88vh);
    width: auto;
    max-width: none;
    display: block;
    transform: translateX(-14px) translateY(8px);
    filter: drop-shadow(0 22px 35px rgba(78, 14, 41, .16));
}

.login-card {
    position: relative;
    z-index: 3;
    width: 100%;
    max-width: 410px;
    background: rgba(255,255,255,.86);
    border-radius: 34px;
    padding: 42px 42px 38px;
    box-shadow: 0 28px 70px rgba(152, 32, 80, .16);
}

.login-card h2 {
    margin: 0;
    text-align: center;
    font-size: 36px;
    line-height: 1;
    font-weight: 900;
    color: #0c0a23;
}

.login-subtitle {
    margin: 12px 0 34px;
    text-align: center;
    color: #6c5362;
    font-size: 16px;
}

.alert {
    margin: -16px 0 18px;
    padding: 12px 14px;
    border-radius: 14px;
    background: #ffe3ed;
    color: #c41450;
    font-weight: 800;
    text-align: center;
    font-size: 14px;
}

form label:not(.remember) {
    display: block;
    margin: 0 0 9px;
    font-size: 16px;
    font-weight: 900;
    color: #07051d;
}

input[type='email'], input[type='password'] {
    width: 100%;
    height: 55px;
    margin-bottom: 24px;
    border: 1.5px solid #f48aac;
    border-radius: 16px;
    background: rgba(255,255,255,.82);
    padding: 0 18px;
    font-size: 16px;
    outline: none;
}

input[type='email']:focus, input[type='password']:focus {
    border-color: #e42267;
    box-shadow: 0 0 0 3px rgba(226, 34, 103, .12);
}

.form-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin: 0 0 28px;
    font-size: 14px;
}

.remember {
    display: flex;
    align-items: center;
    gap: 8px;
    color: #0d0a22;
}

.forgot, .contact {
    color: #c91450;
    font-weight: 900;
    text-decoration: none;
}

button {
    width: 100%;
    height: 58px;
    border: 0;
    border-radius: 16px;
    background: linear-gradient(135deg, #ef477d, #d7135a);
    color: #fff;
    font-size: 16px;
    font-weight: 900;
    cursor: pointer;
    box-shadow: 0 15px 25px rgba(215, 19, 90, .18);
}

button:hover { transform: translateY(-1px); }

.divider {
    height: 1px;
    margin: 28px 0 20px;
    background: #f0a2bb;
}

.access-text {
    margin: 0 0 8px;
    text-align: center;
    color: #6c5362;
}

.contact {
    display: block;
    text-align: center;
    font-size: 16px;
}

@media (max-width: 1280px) {
    .login-page {
        grid-template-columns: 320px 500px 420px;
        gap: 22px;
        padding: 40px 34px;
    }

    .yuuki-img {
        height: min(790px, 84vh);
        transform: translateX(-8px) translateY(6px);
    }

    h1 { font-size: 64px; }
}

@media (max-width: 1100px) {
    body { overflow-x: hidden; }

    .login-page {
        grid-template-columns: 1fr;
        gap: 22px;
        padding: 32px 20px;
        text-align: center;
    }

    .welcome-box { padding-top: 0; }
    .yuuki-box { height: auto; min-height: 0; order: 2; }
    .yuuki-img { width: min(520px, 95vw); height: auto; transform: none; }
    .login-card { order: 3; margin: 0 auto; }
    h1 { font-size: 54px; }
}
