:root {
    --bg-main: #fff5f7;
    --primary: #ff4d6d;
    --secondary: #ff85a1;
    --text: #3d348b;
    --white: #ffffff;
    --baemin: #2ac1bc;
    --coupang: #00aaff;
    --youtube: #ff0000;
    --shadow: 0 10px 25px rgba(255, 77, 109, 0.12);
}

* {
    box-sizing: border-box;
    margin: 0; padding: 0;
    font-family: 'Pretendard', sans-serif;
    -webkit-tap-highlight-color: transparent;
}

h1, h2, h3, .step-title, .food-name, .label {
    font-family: 'Jua', sans-serif;
}

body {
    background-color: #fceef5;
    color: var(--text);
}

.app-wrapper {
    width: 100%;
    max-width: 480px;
    min-height: 100dvh;
    margin: 0 auto;
    background-color: var(--bg-main);
    display: flex;
    flex-direction: column;
    padding: 20px;
}

.header { padding: 15px 0 25px; text-align: center; position: relative; }
.header h1 { font-size: 1.8rem; color: var(--primary); margin-bottom: 5px; }
.header p { font-size: 0.85rem; color: #888; }

.hidden { display: none !important; }

/* Progress Bar */
#survey-progress-container { margin-bottom: 20px; }
.progress-info { font-size: 0.8rem; font-weight: 700; color: var(--primary); margin-bottom: 5px; text-align: right; }
.progress-bar-bg { width: 100%; height: 8px; background: #eee; border-radius: 4px; overflow: hidden; }
.progress-bar-fill { height: 100%; background: var(--primary); transition: width 0.3s ease; }

/* Start Screen */
.welcome-card { background: var(--white); padding: 40px 20px; border-radius: 30px; text-align: center; box-shadow: var(--shadow); }
.welcome-emoji { font-size: 4.5rem; display: block; margin-bottom: 15px; }
.start-btn { width: 100%; padding: 18px; background: var(--primary); color: #fff; border: none; border-radius: 18px; font-size: 1.1rem; font-weight: 900; cursor: pointer; box-shadow: 0 8px 15px rgba(255, 77, 109, 0.2); }

/* Question Card */
.question-card { background: var(--white); padding: 25px 20px 35px; border-radius: 30px; box-shadow: var(--shadow); position: relative; }
.survey-header { display: flex; justify-content: flex-start; margin-bottom: 15px; }
.prev-btn { background: none; border: none; color: var(--primary); font-weight: 800; font-size: 0.85rem; cursor: pointer; padding: 5px; opacity: 0.7; }
.prev-btn:active { opacity: 1; transform: translateX(-3px); }

#question-text { font-size: 1.3rem; margin-bottom: 25px; line-height: 1.4; text-align: center; color: var(--text); }

.share-app-btn {
    width: 100%; padding: 15px; background: #fff; color: #888;
    border: 2px solid #eee; border-radius: 15px; font-size: 0.9rem; font-weight: 700;
    cursor: pointer; margin-top: 15px; transition: 0.2s;
}
.share-app-btn:active { background: #f8f9fa; transform: scale(0.98); }

.answer-grid { display: flex; flex-direction: column; gap: 10px; }
.answer-btn { width: 100%; padding: 16px; background: #fff8f9; border: 2px solid #ffeff1; border-radius: 15px; font-size: 0.95rem; font-weight: 700; color: var(--text); cursor: pointer; transition: 0.2s; text-align: center; }
.answer-btn:active { background: var(--primary); color: #fff; transform: scale(0.98); }

/* Result Area (No Image Version) */
.status-summary-box {
    background: var(--white); border: 2.5px solid var(--primary); border-radius: 20px;
    padding: 18px; text-align: center; font-size: 0.95rem; font-weight: 800;
    line-height: 1.5; color: var(--text); margin-bottom: 20px;
}

.results-container { display: flex; flex-direction: column; gap: 15px; }

.food-card {
    background: var(--white);
    border-radius: 25px;
    box-shadow: var(--shadow);
    padding: 20px;
    text-align: center;
    animation: slideUp 0.6s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

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

.food-name { font-size: 1.5rem; color: var(--primary); margin-bottom: 8px; display: block; }
.food-reason { font-size: 0.85rem; color: #666; line-height: 1.4; margin-bottom: 20px; }

.youtube-btn {
    width: 100%; padding: 12px; background: var(--youtube); color: #fff;
    border-radius: 12px; text-decoration: none; font-weight: 800;
    display: flex; align-items: center; justify-content: center; gap: 8px;
    margin-bottom: 12px; font-size: 0.9rem;
}

.order-btn-group { display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 8px; }
.mini-order-btn { 
    padding: 12px 5px; border-radius: 12px; text-decoration: none; 
    color: #fff; font-weight: 800; font-size: 0.8rem; text-align: center; 
    display: flex; align-items: center; justify-content: center;
}
.mini-baemin { background-color: var(--baemin); }
.mini-coupang { background-color: var(--coupang); }
.mini-kakao { background-color: var(--kakao); color: #3c1e1e; }

.reset-btn { width: 100%; padding: 20px; background: none; border: none; color: #aaa; font-weight: 700; cursor: pointer; margin-top: 15px; }
.footer { margin-top: auto; padding: 30px 0; text-align: center; font-size: 0.75rem; color: #ccc; }
