/* Typography inherits from style.css */

:root {
    --font-body: 'Pretendard', 'Apple SD Gothic Neo', 'Noto Sans KR', 'Malgun Gothic', -apple-system, BlinkMacSystemFont, system-ui, Roboto, 'Helvetica Neue', 'Segoe UI', sans-serif;
    --font-display: 'Pretendard', -apple-system, BlinkMacSystemFont, system-ui, Roboto, 'Helvetica Neue', 'Segoe UI', 'Apple SD Gothic Neo', 'Noto Sans KR', 'Malgun Gothic', sans-serif;
    --font-logo: 'SkyblessingInjeFontTTF', serif;
    --navbar-height: 64px;
}

body { font-family: var(--font-body); }

.signup-section {
    min-height: calc(100vh - var(--navbar-height));
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #fce7f3 0%, #fdf2f8 25%, #f3e8ff 50%, #e9d5ff 75%, #fce7f3 100%);
    padding: calc(var(--navbar-height) + 1rem) 0 2rem;
    /* 카카오 버튼 등 브랜드 색상 유지 위해 배경 애니메이션 비활성 */
    animation: none;
    color: #1e1b4b;
}

.signup-container { width: 100%; max-width: 520px; padding: 0 1rem; }

.signup-card {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    border-radius: 20px;
    padding: 2.5rem;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
    position: relative;
    overflow: hidden;
    animation: slideUp 0.6s ease-out;
}

.signup-card::before {
    content: '';
    position: absolute;
    top: 0; left: 0; width: 100%; height: 4px;
    background: linear-gradient(135deg, #ec4899, #8b5cf6);
}

.signup-header { text-align: center; margin-bottom: 2rem; }
.signup-header .logo { display: inline-flex; align-items: center; justify-content: center; font-size: 1.8rem; font-weight: 700; color: #ec4899; margin-bottom: 1rem; font-family: var(--font-logo); letter-spacing: -0.03em; position: relative; }
.signup-header .logo i { display: inline-block; width: 1em; text-align: center; }
.signup-header .logo i { margin-right: 0.5rem; }
.signup-header h2 { font-size: 2rem; font-weight: 700; color: #1e1b4b; margin-bottom: 0.5rem; font-family: var(--font-display); letter-spacing: -0.02em; }
.signup-header p { color: #666; font-size: 1rem; font-family: var(--font-body); }

.signup-form { margin-bottom: 2rem; }
.form-group { margin-bottom: 1.5rem; }
.form-group label { display: block; margin-bottom: 0.5rem; font-weight: 600; color: #1e1b4b; font-size: 0.95rem; font-family: var(--font-display); }

.input-wrapper { position: relative; display: flex; align-items: center; width: 100%; }
.input-wrapper i { position: absolute; left: 1rem; color: #666; z-index: 1; transition: color 0.3s ease; }
.input-wrapper input { width: 100%; padding: 1rem 3.25rem 1rem 3rem; border: 2px solid #e5e7eb; border-radius: 12px; font-size: 1rem; transition: all 0.3s ease; background: rgba(255,255,255,0.8); backdrop-filter: blur(10px); font-family: var(--font-body); }
.input-wrapper input:focus { outline: none; border-color: #ec4899; background: white; box-shadow: 0 0 0 3px rgba(236,72,153,0.1); transform: translateY(-1px); }
.input-wrapper input:focus + i { color: #ec4899; }

.toggle-password { position: absolute; right: 0.75rem; top: 50%; transform: translateY(-50%); background: none; border: none; color: #666; cursor: pointer; z-index: 1; transition: all 0.3s ease; padding: 0.25rem; border-radius: 6px; font-size: 1rem; display: flex; align-items: center; justify-content: center; width: 2rem; height: 2rem; line-height: 1; }
.toggle-password:hover { color: inherit; background: transparent; }
.toggle-password:focus { outline: none; box-shadow: none; }
.toggle-password i { pointer-events: none; }

.form-options { display: flex; justify-content: space-between; align-items: center; margin-bottom: 1.5rem; font-size: 0.9rem; }
.checkbox-wrapper { display: flex; align-items: center; cursor: pointer; color: #666; font-family: var(--font-body); }
.checkbox-wrapper input[type="checkbox"] { display: none; }
.checkmark { width: 18px; height: 18px; border: 2px solid #e5e7eb; border-radius: 4px; margin-right: 0.5rem; position: relative; transition: all 0.3s ease; }
.checkbox-wrapper input[type="checkbox"]:checked + .checkmark { background: #ec4899; border-color: #ec4899; }
.checkbox-wrapper input[type="checkbox"]:checked + .checkmark::after { content: '✓'; position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%); color: white; font-size: 0.7rem; font-weight: bold; }

/* Inline links for terms/privacy */
.checkbox-wrapper a { color: #ec4899; text-decoration: underline; }
.checkbox-wrapper a:hover { color: #8b5cf6; }

.signup-btn { width: 100%; background: linear-gradient(135deg, #ec4899, #8b5cf6); color: white; border: none; padding: 1rem; border-radius: 12px; font-size: 1rem; font-weight: 600; cursor: pointer; transition: all 0.3s ease; display: flex; align-items: center; justify-content: center; gap: 0.5rem; position: relative; overflow: hidden; font-family: var(--font-display); box-shadow: 0 4px 15px rgba(236,72,153,0.3); }
.signup-btn:hover { transform: translateY(-2px); box-shadow: 0 10px 25px rgba(236,72,153,0.4); background: linear-gradient(135deg, #f472b6, #a855f7); }
.signup-btn:active { transform: translateY(0); }

/* social signup removed on signup page */

.login-link { text-align: center; font-size: 0.9rem; color: #666; font-family: var(--font-body); }
.login-link a { color: #ec4899; text-decoration: none; font-weight: 500; transition: color 0.3s ease; }
.login-link a:hover { color: #8b5cf6; text-decoration: underline; }

@keyframes slideUp { from { opacity: 0; transform: translateY(30px); } to { opacity: 1; transform: translateY(0); } }

/* Dark Mode */
body.dark-mode .signup-section { background: linear-gradient(135deg, #1a1a1a 0%, #2a2a2a 25%, #1e1e1e 50%, #2d2d2d 75%, #1a1a1a 100%); color: #ffffff; }
body.dark-mode .signup-card { background: rgba(40,40,40,0.95); color: #ffffff; }
body.dark-mode .signup-header h2 { color: #ffffff; }
body.dark-mode .signup-header p { color: #cccccc; }
body.dark-mode .form-group label { color: #ffffff; }
body.dark-mode .input-wrapper input { background: rgba(60,60,60,0.8); border-color: #4a4a4a; color: #ffffff; }
body.dark-mode .input-wrapper input:focus { background: rgba(80,80,80,0.8); border-color: #ec4899; }
body.dark-mode .input-wrapper i { color: #cccccc; }
body.dark-mode .toggle-password { color: #cccccc; }
body.dark-mode .toggle-password:hover { background: rgba(236,72,153,0); }
body.dark-mode .social-btn { background: rgba(60,60,60,0.8); border-color: #4a4a4a; color: #ffffff; }
body.dark-mode .social-btn.google { background: rgba(60,60,60,0.8); border-color: #4a4a4a; color: #ffffff; }
body.dark-mode .social-btn.google:hover { background: rgba(80,80,80,0.8); border-color: #ec4899; }
body.dark-mode .login-link { color: #cccccc; }

/* Validation states */
.input-wrapper.error input { border-color: #ef4444; background: #fef2f2; }
.input-wrapper.success input { border-color: #10b981; background: #f0fdf4; }
.error-message { color: #ef4444; font-size: 0.8rem; margin-top: 0.5rem; font-family: var(--font-body); }

