*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { font-size: 16px; -webkit-text-size-adjust: 100%; }

:root {
    --bg:            #ffffff;
    --bg-alt:        #faf9f5;
    --text:          rgba(0,0,0,0.95);
    --text-2:        #615d59;
    --text-3:        #a39e98;
    --border:        rgba(0,0,0,0.1);
    --accent:        #ffcf00;
    --accent-shadow: rgba(255,207,0,.30);
    --purple:          #0075de;
    --r-sm:          8px;
    --r-lg:          16px;
    --r-pill:        9999px;
    --shadow-sm:
        rgba(0,0,0,0.04) 0px 4px 18px,
        rgba(0,0,0,0.027) 0px 2px 7.8px,
        rgba(0,0,0,0.02) 0px 0.8px 2.9px,
        rgba(0,0,0,0.01) 0px 0.2px 1px;
    --shadow-lg:
        rgba(0,0,0,0.01) 0px 1px 3px,
        rgba(0,0,0,0.02) 0px 3px 7px,
        rgba(0,0,0,0.02) 0px 7px 15px,
        rgba(0,0,0,0.04) 0px 14px 28px,
        rgba(0,0,0,0.05) 0px 23px 52px;
}

body {
    font-family: 'Pretendard', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    background: var(--bg-alt);
    min-height: 100dvh;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 24px;
    -webkit-font-smoothing: antialiased;
}

.auth-wrap { width: 100%; max-width: 400px; }

.auth-card {
    background: var(--bg);
    border: 1px solid var(--border);
    border-radius: var(--r-lg);
    box-shadow: var(--shadow-lg);
    padding: 40px 36px 36px;
}

.auth-logo {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    margin-bottom: 32px;
}

.auth-logo-mark {
    width: 120px;
    height: auto;
    /*background: var(--accent);*/
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 22px;
    font-weight: 900;
    color: rgba(0,0,0,0.8);
    flex-shrink: 0;
    /*box-shadow: 0 2px 8px var(--accent-shadow);*/
    overflow: hidden;
}

.auth-logo-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 10px;
    display: block;
}

.auth-app-name {
    font-size: 26px;
    font-weight: 700;
    color: var(--text);
    letter-spacing: -0.5px;
    line-height: 1.2;
    text-align: center;
}

.auth-app-sub {
    font-size: 15px;
    color: var(--text-3);
    margin-top: 2px;
    font-weight: 500;
    text-align: center;
}

.btn-kakao {
    width: 100%;
    height: 48px;
    background: #FEE500;
    border: none;
    border-radius: var(--r-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    font-size: 16px;
    font-weight: 500;
    color: #3C1E1E;
    cursor: pointer;
    font-family: inherit;
    transition: background 0.12s, transform 0.1s;
    text-decoration: none;
}
.btn-kakao:hover  { background: #f0d800; text-decoration: none; }
.btn-kakao:active { transform: scale(0.98); }

.auth-footer {
    margin-top: 20px;
    text-align: center;
    font-size: 12px;
    color: var(--text-3);
}
.auth-footer a { color: var(--purple); font-weight: 600; }

.auth-pre {
    text-align: center;
    margin-bottom: 20px;
}
.auth-pre-chip {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 12px;
    font-weight: 600;
    color: var(--text-2);
    background: var(--bg);
    border: 1px solid var(--border);
    border-radius: var(--r-pill);
    padding: 5px 12px;
    box-shadow: var(--shadow-sm);
}
