/* Lunara - Style */
:root {
    --color-mauve: #d9b8c4;
    --color-sage: #8fae86;
    --color-cream: #f8f4f0;
    --color-dark: #333;
    --color-text: #555;
    --color-accent: #9b7dad;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Nunito', sans-serif;
    background-color: var(--color-cream);
    color: var(--color-dark);
    line-height: 1.6;
}

h1, h2 {
    font-family: 'Playfair Display', serif;
    color: var(--color-accent);
}

.screen {
    display: none;
    padding: 20px;
    max-width: 600px;
    margin: 0 auto;
}

.screen.active {
    display: block;
}

.hidden {
    display: none;
}

.welcome-content {
    text-align: center;
    padding: 40px 20px;
}

.welcome-content h1 {
    font-size: 2.5rem;
    margin-bottom: 10px;
}

.welcome-content .tagline {
    font-size: 1.2rem;
    color: var(--color-text);
    margin-bottom: 30px;
}

.welcome-content button {
    background: var(--color-mauve);
    color: white;
    border: none;
    padding: 12px 24px;
    font-size: 1rem;
    border-radius: 30px;
    cursor: pointer;
    transition: background 0.3s;
}

.welcome-content button:hover {
    background: var(--color-accent);
}

header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 30px;
    flex-wrap: wrap;
}

header h1 {
    font-size: 2rem;
}

.companion {
    flex-shrink: 0;
}

.companion img {
    width: 60px;
    height: 60px;
    object-fit: cover;
    border-radius: 50%;
    border: 2px solid var(--color-mauve);
    box-shadow: 0 2px 8px rgba(0,0,0,0.12);
}

.card-illustration {
    max-width: 100%;
    border-radius: 14px;
    box-shadow: 0 6px 18px rgba(0,0,0,0.12);
}

#daily-card {
    background: white;
    border-radius: 12px;
    padding: 25px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.08);
    margin-bottom: 30px;
}

#daily-card h2 {
    margin-top: 0;
    margin-bottom: 20px;
    color: var(--color-accent);
}

.card {
    text-align: center;
}

.card-title {
    font-size: 1.8rem;
    font-weight: 600;
    color: var(--color-dark);
    margin-bottom: 15px;
}

.card-prompt {
    font-size: 1.1rem;
    color: var(--color-text);
    line-height: 1.5;
    min-height: 48px;
}

#journal {
    background: white;
    border-radius: 12px;
    padding: 25px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.08);
}

#journal h2 {
    margin-top: 0;
    margin-bottom: 20px;
    color: var(--color-accent);
}

#journal-input {
    width: 100%;
    height: 150px;
    padding: 12px;
    border: 1px solid #ddd;
    border-radius: 8px;
    font-family: inherit;
    font-size: 1rem;
    resize: vertical;
    margin-bottom: 15px;
}

#journal-input:focus {
    outline: none;
    border-color: var(--color-mauve);
}

button {
    background: var(--color-mauve);
    color: white;
    border: none;
    padding: 10px 20px;
    font-size: 1rem;
    border-radius: 6px;
    cursor: pointer;
    transition: background 0.3s;
}

button:hover {
    background: var(--color-accent);
}

#trail-list {
    margin-top: 20px;
}

.trail-entry {
    background: white;
    border-radius: 8px;
    padding: 15px;
    margin-bottom: 15px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.05);
}

.trail-entry .date {
    font-weight: 600;
    color: var(--color-accent);
    margin-bottom: 8px;
}

.trail-entry .card-info {
    font-size: 0.9rem;
    color: var(--color-text);
    margin-bottom: 8px;
}

.trail-entry .journal-text {
    font-size: 0.95rem;
    color: var(--color-dark);
}

/* Responsive */
@media (max-width: 480px) {
    .welcome-content h1 {
        font-size: 2rem;
    }
    header {
        flex-direction: column;
        gap: 15px;
        align-items: flex-start;
    }
    header h1 {
        font-size: 1.8rem;
    }
}