body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background-color: #f0f8ff;
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
    margin: 0;
    padding: 10px;
    box-sizing: border-box;
}
.app-container {
    background-color: white;
    border-radius: 20px;
    box-shadow: 0 10px 20px rgba(0,0,0,0.1);
    padding: 20px;
    width: 100%;
    max-width: 500px;
}
h1, h2, h3 {
    text-align: center;
    color: #333;
    font-size: clamp(1.5rem, 4vw, 2rem);
}
.circle-container {
    display: flex;
    justify-content: space-around;
    margin-top: 20px;
    flex-wrap: wrap;
}
.circle {
    width: 100px;
    height: 100px;
    border-radius: 50%;
    border: 10px solid #e0e0e0;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    cursor: pointer;
    transition: all 0.3s ease;
    margin: 10px;
}
.circle:hover {
    transform: scale(1.1);
}
.circle span {
    font-size: 24px;
    font-weight: bold;
}
.circle small {
    font-size: 12px;
}

#moodContainer {
    text-align: center;
    margin-top: 20px;
}
#moodEmojis span {
    font-size: clamp(1.5rem, 5vw, 2rem);
    cursor: pointer;
    margin: 0 5px;
}
#aiRecommendation, #journalPrompt {
    margin-top: 20px;
    padding: 10px;
    background-color: #e8f5e9;
    border-radius: 10px;
    font-size: clamp(0.9rem, 2.5vw, 1rem);
}
#healthScore {
    text-align: center;
    font-size: clamp(1.2rem, 3.5vw, 1.5rem);
    font-weight: bold;
    margin-top: 20px;
}
#weeklyChallenge {
    margin-top: 20px;
    padding: 10px;
    background-color: #e3f2fd;
    border-radius: 10px;
    text-align: center;
    font-size: clamp(0.9rem, 2.5vw, 1rem);
}
#challengeProgress {
    width: 100%;
    height: 20px;
    background-color: #e0e0e0;
    border-radius: 10px;
    margin-top: 10px;
    overflow: hidden;
}
#challengeBar {
    width: 0%;
    height: 100%;
    background-color: #2196F3;
    transition: width 0.5s ease-in-out;
}
#credibilityScore {
    margin-top: 20px;
    text-align: center;
}
.score-bar {
    width: 100%;
    height: 20px;
    background-color: #e0e0e0;
    border-radius: 10px;
    margin-top: 5px;
    overflow: hidden;
}
.score-fill {
    height: 100%;
    background-color: #4CAF50;
    transition: width 0.5s ease-in-out;
}
.instructions {
    text-align: center;
    margin-top: 10px;
    font-style: italic;
    color: #666;
    font-size: clamp(0.8rem, 2vw, 0.9rem);
}
#confetti {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 9999;
}
#namePopup {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0,0,0,0.5);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 10000;
}
#nameForm {
    background-color: white;
    padding: 20px;
    border-radius: 10px;
    text-align: center;
    width: 90%;
    max-width: 300px;
}
#nameInput {
    margin: 10px 0;
    padding: 5px;
    width: 100%;
    box-sizing: border-box;
}
#greeting {
    text-align: center;
    font-size: clamp(1.2rem, 3.5vw, 1.5rem);
    margin-bottom: 20px;
}
button {
    background-color: #4CAF50;
    color: white;
    border: none;
    padding: 10px 20px;
    border-radius: 5px;
    cursor: pointer;
    font-size: clamp(0.9rem, 2.5vw, 1rem);
}
button:hover {
    background-color: #45a049;
}
img {
    height: 50px; 
    margin-right: 10px;
    vertical-align: middle; 
}
