@import url('https://cdn.jsdelivr.net/gh/orioncactus/pretendard@v1.3.9/dist/web/static/pretendard.min.css');

:root {
    --bg-dark: #0f0f0f;
    --card-bg: #161616;
    --gold: #d4af37;
    --gold-dim: rgba(212, 175, 55, 0.1);
    --text-main: #f0f0f0;
    --text-sub: #888;
    --border: #2a2a2a;
    --chat-bubble-user: #2a2a2a;
    --chat-bubble-ai: #1f1f1f;
}

* { box-sizing: border-box; }
body {
    margin: 0;
    background-color: var(--bg-dark);
    color: var(--text-main);
    font-family: 'Pretendard', -apple-system, sans-serif;
    display: flex;
    justify-content: center;
    min-height: 100vh;
}

/* 모바일 화면 중앙 정렬 컨테이너 */
#app-container {
    width: 100%;
    max-width: 480px;
    background: var(--bg-dark);
    display: flex;
    flex-direction: column;
    position: relative;
    box-shadow: 0 0 30px rgba(0,0,0,0.5);
    min-height: 100vh;
}

/* 버튼 스타일 */
.btn-gold {
    background: var(--gold);
    color: #000;
    border: none;
    padding: 15px;
    border-radius: 50px;
    font-size: 1rem;
    font-weight: 700;
    cursor: pointer;
    transition: 0.2s;
    width: 100%;
}
.btn-gold:hover { opacity: 0.9; transform: scale(1.02); }

.mongsin-toast-overlay {
    position: fixed; top: 0; left: 0; width: 100%; height: 100%;
    background: rgba(0,0,0,0.6); z-index: 9999;
    display: flex; align-items: center; justify-content: center;
    animation: toastFadeIn 0.3s ease;
    padding: 20px;
}
.mongsin-toast {
    background: linear-gradient(145deg, #1a1a10, #141410);
    border: 1px solid #3a3a1a; border-radius: 16px;
    padding: 30px 24px; max-width: 360px; width: 100%;
    text-align: center; box-shadow: 0 20px 60px rgba(0,0,0,0.8);
    animation: toastSlideUp 0.3s ease;
}
.mongsin-toast .toast-icon { font-size: 2.5rem; margin-bottom: 14px; }
.mongsin-toast .toast-title { color: var(--gold, #d4af37); font-size: 1.1rem; font-weight: 700; margin-bottom: 8px; }
.mongsin-toast .toast-msg { color: #bbb; font-size: 0.9rem; line-height: 1.6; margin-bottom: 20px; word-break: keep-all; }
.mongsin-toast .toast-btn {
    background: linear-gradient(135deg, #d4af37, #aa8a2e); color: #000;
    border: none; padding: 12px 32px; border-radius: 50px;
    font-size: 0.95rem; font-weight: 700; cursor: pointer;
    font-family: 'Pretendard', -apple-system, sans-serif; transition: 0.2s;
}
.mongsin-toast .toast-btn:hover { opacity: 0.9; transform: scale(1.03); }
.mongsin-toast .toast-btn-sub {
    background: none; border: 1px solid #444; color: #888;
    padding: 10px 24px; border-radius: 50px; font-size: 0.85rem;
    cursor: pointer; font-family: 'Pretendard', -apple-system, sans-serif;
    margin-top: 10px; transition: 0.2s;
}
.mongsin-toast .toast-btn-sub:hover { border-color: #888; color: #ccc; }
@keyframes toastFadeIn { from { opacity: 0; } to { opacity: 1; } }
@keyframes toastSlideUp { from { opacity: 0; transform: translateY(30px); } to { opacity: 1; transform: translateY(0); } }
