/* =========================================================================
   GLOBAL DESIGN SYSTEM
   ========================================================================= */

:root {
    /* 1. COLOR PALETTE */
    --color-primary: #A2D2FF;     /* Pastel Blue */
    --color-secondary: #CDB4DB;   /* Pastel Lavender */
    --color-tertiary: #BDE0FE;    /* Lighter Pastel Blue */
    --color-accent: #B5E4CA;      /* Pastel Mint Green */

    --bg-page: #F8F9FA;           /* Off-white, soft background */
    --bg-surface: #FFFFFF;        /* Clean white for cards */
    --bg-surface-hover: #F1F3F5;  
    
    --text-main: #343A40;         /* High contrast dark slate */
    --text-muted: #5A6268;        /* Accessible muted text (WCAG AA 4.5:1+) */

    /* 2. TYPOGRAPHY */
    --font-family-sans: 'Quicksand', system-ui, -apple-system, sans-serif;
    
    --text-xs: 0.75rem;     /* 12px */
    --text-sm: 0.875rem;    /* 14px */
    --text-base: 1rem;      /* 16px */
    --text-lg: 1.125rem;    /* 18px */
    --text-xl: 1.25rem;     /* 20px */
    --text-2xl: 1.5rem;     /* 24px */
    --text-3xl: 2rem;       /* 32px */
    --text-4xl: 2.5rem;     /* 40px */

    --font-weight-regular: 400;
    --font-weight-medium: 500;
    --font-weight-semibold: 600;
    --font-weight-bold: 700;

    --line-height-tight: 1.2;
    --line-height-normal: 1.5;
    --line-height-relaxed: 1.75;

    /* 3. SPACING RULES */
    --space-2: 0.125rem;
    --space-4: 0.25rem;
    --space-8: 0.5rem;
    --space-12: 0.75rem;
    --space-16: 1rem;
    --space-24: 1.5rem;
    --space-32: 2rem;
    --space-48: 3rem;
    --space-64: 4rem;

    /* 4. BORDER RADIUS */
    --radius-sm: 8px;
    --radius-md: 16px;
    --radius-lg: 24px;
    --radius-full: 9999px;

    /* 5. SHADOWS */
    --shadow-sm: 0 4px 12px rgba(162, 210, 255, 0.15);
    --shadow-md: 0 8px 24px rgba(162, 210, 255, 0.2);
    --shadow-lg: 0 16px 48px rgba(162, 210, 255, 0.25);
    --shadow-nav: 0 -4px 16px rgba(162, 210, 255, 0.1); /* unique upward shadow for bottom nav */
    
    /* 5. ANIMATIONS */
    --transition-fast: 0.3s cubic-bezier(0.34, 1.56, 0.64, 1); /* Natural spring bounce */
    --transition-slow: 0.6s cubic-bezier(0.34, 1.56, 0.64, 1);
}

/* =========================================================================
   BASE STYLES
   ========================================================================= */

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

html {
    scroll-behavior: smooth;
}

/* Accessibility: Clear focus rings for keyboard users */
*:focus-visible {
    outline: 3px solid #CDB4DB; /* Pastel Lavender */
    outline-offset: 3px;
    border-radius: 2px;
}

body {
    font-family: var(--font-family-sans);
    background-color: var(--bg-page);
    color: var(--text-main);
    line-height: var(--line-height-normal);
    transition: background-color 1s ease;
}

h1, h2, h3, h4, h5, h6 {
    font-weight: var(--font-weight-bold);
    color: var(--text-main);
    line-height: var(--line-height-tight);
    margin-bottom: var(--space-8);
}

h1 { font-size: var(--text-4xl); }
h2 { font-size: var(--text-2xl); }
h3 { font-size: var(--text-xl); }
h4 { font-size: var(--text-lg); }

p {
    font-weight: var(--font-weight-medium);
    margin-bottom: var(--space-16);
}

/* =========================================================================
   LAYOUT ARCHITECTURE (Mobile First)
   ========================================================================= */
.app-layout {
    display: flex;
    flex-direction: column;
    height: 100vh;
    overflow: hidden; /* Stop whole page scrolling, handle in content-area */
}

/* Content Area */
.content-area {
    flex: 1;
    overflow-y: auto;
    padding-bottom: 90px; /* Space for bottom nav */
}

.container {
    max-width: 900px;
    margin: 0 auto;
    padding: var(--space-24) var(--space-16);
    display: flex;
    flex-direction: column;
    gap: var(--space-48);
}

/* Utilities */
.desktop-only { display: none !important; }

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

/* Top Bar (Mobile Only) */
.top-bar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: var(--space-16) var(--space-24);
    background: var(--bg-page);
    position: sticky;
    top: 0;
    z-index: 10;
}

/* Shared Branding */
.logo {
    font-size: var(--text-2xl);
    font-weight: var(--font-weight-bold);
    color: var(--color-secondary);
    letter-spacing: -0.5px;
}

/* Main Nav (Bottom on Mobile) */
.main-nav {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    background: var(--bg-surface);
    box-shadow: var(--shadow-nav);
    display: flex;
    justify-content: center;
    padding: var(--space-12) var(--space-16) calc(var(--space-12) + env(safe-area-inset-bottom));
    z-index: 50;
    border-radius: var(--radius-lg) var(--radius-lg) 0 0;
}

.nav-links {
    display: flex;
    justify-content: flex-start;
    align-items: center;
    list-style: none;
    width: 100%;
    max-width: 100%;
    overflow-x: auto;
    gap: var(--space-4);
    -ms-overflow-style: none;
    scrollbar-width: none;
}

.nav-links::-webkit-scrollbar {
    display: none;
}

.nav-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-decoration: none;
    color: var(--text-muted);
    font-weight: var(--font-weight-semibold);
    padding: var(--space-8);
    border-radius: var(--radius-md);
    transition: all var(--transition-fast);
    gap: var(--space-4);
    min-width: 64px;
    flex-shrink: 0;
}

.nav-item .icon {
    width: 24px;
    height: 24px;
    transition: transform var(--transition-bounce);
}

.nav-item .text {
    font-size: var(--text-xs);
}

.nav-item:hover, .nav-item.active {
    color: var(--text-main);
}

.nav-item:hover .icon,
.nav-item.active .icon {
    color: var(--color-primary);
    transform: translateY(-4px) scale(1.15);
}

/* =========================================================================
   COMPONENTS
   ========================================================================= */

/* Buttons */
.btn {
    font-family: var(--font-family-sans);
    font-weight: var(--font-weight-semibold);
    font-size: var(--text-base);
    padding: var(--space-16) var(--space-32);
    border: none;
    border-radius: var(--radius-full);
    cursor: pointer;
    transition: all var(--transition-fast);
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.btn-sm {
    padding: var(--space-8) var(--space-16);
    font-size: var(--text-sm);
}

.btn:hover {
    transform: translateY(-2px);
}

.btn:active {
    transform: translateY(0);
}

.btn-primary {
    background-color: var(--color-primary);
    color: var(--text-main);
    box-shadow: var(--shadow-sm);
}

.btn-primary:hover {
    background-color: var(--color-tertiary);
    box-shadow: var(--shadow-md);
}

.btn-secondary {
    background-color: var(--color-accent);
    color: var(--text-main);
}

.btn-secondary:hover {
    filter: brightness(0.95);
}

.btn-outline {
    background-color: transparent;
    border: 2px solid var(--text-muted);
    color: var(--text-muted);
}

.btn-outline:hover {
    border-color: var(--text-main);
    color: var(--text-main);
}

/* Cards */
.card {
    background: var(--bg-surface);
    border-radius: var(--radius-lg);
    padding: var(--space-32);
    box-shadow: var(--shadow-md);
    display: flex;
    flex-direction: column;
    transition: box-shadow var(--transition-normal);
}

.card:hover {
    box-shadow: var(--shadow-lg);
}

.card h2 { margin-bottom: var(--space-12); }
.card p { color: var(--text-muted); margin-bottom: var(--space-32); }

/* Privacy Banner */
.privacy-container {
    display: flex;
    justify-content: center;
}

.privacy-banner {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: var(--space-12);
    background-color: var(--color-accent);
    color: #3b6b50;
    padding: var(--space-12) var(--space-24);
    border-radius: var(--radius-full);
    font-size: var(--text-sm);
    font-weight: var(--font-weight-semibold);
    box-shadow: var(--shadow-sm);
    text-align: center;
}

/* Hero Section */
.hero { text-align: center; }
.subtitle { color: var(--text-muted); font-size: var(--text-lg); margin-bottom: var(--space-32); }

/* Mood Tracker */
.mood-tracker {
    display: flex;
    justify-content: center;
    gap: var(--space-16);
    flex-wrap: wrap;
}

.mood-btn {
    background: var(--bg-surface);
    border: 2px solid transparent;
    border-radius: var(--radius-lg);
    padding: var(--space-16);
    width: 90px;
    height: 100px;
    cursor: pointer;
    box-shadow: var(--shadow-sm);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: var(--space-8);
    transition: all var(--transition-normal);
    font-family: var(--font-family-sans);
}

.mood-btn .emoji {
    font-size: var(--text-2xl);
    transition: transform var(--transition-normal);
}

.mood-btn .label {
    font-size: var(--text-sm);
    font-weight: var(--font-weight-semibold);
    color: var(--text-muted);
}

.mood-btn:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-md);
}

.mood-btn:hover .emoji { transform: scale(1.1); }

.mood-btn[data-mood="great"]:hover, .mood-btn[data-mood="great"].active {
    background-color: #FFF9E6;
    border-color: #FFDE99;
}

.mood-btn[data-mood="okay"]:hover, .mood-btn[data-mood="okay"].active {
    background-color: #F4F5F7;
    border-color: #C1C6D0;
}

.mood-btn[data-mood="sad"]:hover, .mood-btn[data-mood="sad"].active {
    background-color: #EBF4FF;
    border-color: #A3C7FE;
}

.mood-btn[data-mood="anxious"]:hover, .mood-btn[data-mood="anxious"].active {
    background-color: #FFF0F4;
    border-color: #FFB3C6;
}

.mood-btn.active .label { color: var(--text-main); }

/* Tools Section (Grid) */
.tools-section {
    display: grid;
    grid-template-columns: 1fr;
    gap: var(--space-32);
}

/* Breathing Tool */
.breathing-card { align-items: center; text-align: center; }

.breathing-circle-container {
    width: 200px;
    height: 200px;
    display: flex;
    justify-content: center;
    align-items: center;
    margin: var(--space-16) 0 var(--space-32) 0;
}

.breathing-circle {
    width: 110px;
    height: 110px;
    border-radius: var(--radius-full);
    background: radial-gradient(circle, var(--color-primary) 0%, rgba(162, 210, 255, 0.2) 100%);
    display: flex;
    justify-content: center;
    align-items: center;
    transition: transform 4s ease-in-out;
    box-shadow: 0 0 20px rgba(162, 210, 255, 0.4);
}

.breathing-circle span {
    color: var(--text-main);
    font-weight: var(--font-weight-semibold);
    font-size: var(--text-lg);
}

.breathing.inhale { transform: scale(1.7); }
.breathing.exhale { transform: scale(1); }

/* Journal Tool */
.journal-input {
    width: 100%;
    border: 2px solid var(--bg-surface-hover);
    border-radius: var(--radius-md);
    padding: var(--space-24);
    font-family: var(--font-family-sans);
    font-size: var(--text-base);
    color: var(--text-main);
    resize: none;
    margin-bottom: var(--space-24);
    background-color: var(--bg-page);
    transition: border-color var(--transition-normal), box-shadow var(--transition-normal);
    flex: 1;
}

.journal-input:focus {
    outline: none;
    border-color: var(--color-secondary);
    background-color: var(--bg-surface);
    box-shadow: 0 0 0 4px rgba(205, 180, 219, 0.2);
}

.action-row {
    display: flex;
    justify-content: flex-end;
    gap: var(--space-16);
    margin-top: auto;
}

/* Footer */
footer {
    text-align: center;
    padding: var(--space-32);
    color: var(--text-muted);
    font-size: var(--text-sm);
    margin-top: auto;
}

.disclaimer {
    font-size: var(--text-xs);
    margin-top: var(--space-12);
    opacity: 0.8;
}

/* =========================================================================
   DASHBOARD SPECIFIC STYLES
   ========================================================================= */
.dashboard-hero {
    display: flex;
    flex-direction: column;
    gap: var(--space-48);
}

.dashboard-header {
    margin-bottom: var(--space-8);
}

.date-text {
    color: var(--text-muted);
    font-size: var(--text-sm);
    font-weight: var(--font-weight-bold);
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: var(--space-4);
}

.section-title {
    font-size: 0.85rem;
    color: var(--text-muted);
    font-weight: var(--font-weight-bold);
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: var(--space-16);
    opacity: 0.8;
}

.affirmation-card {
    position: relative;
    background: linear-gradient(135deg, #FFF9E6 0%, #FFF0F4 100%);
    border: none;
    padding: var(--space-32) var(--space-48);
    text-align: center;
    overflow: hidden;
}

.quote-mark {
    position: absolute;
    top: var(--space-16);
    left: var(--space-24);
    font-size: 4rem;
    color: rgba(255, 179, 198, 0.3);
    font-family: serif;
    line-height: 1;
}

.quote {
    font-size: var(--text-lg);
    color: var(--text-main);
    font-weight: var(--font-weight-semibold);
    font-style: italic;
    margin: 0;
    position: relative;
    z-index: 1;
}

.refresh-btn {
    position: absolute;
    bottom: var(--space-8);
    right: var(--space-8);
    transition: transform 0.6s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.refresh-btn:hover {
    transform: rotate(180deg) scale(1.2);
}

/* Quick Actions Grid */
.action-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(130px, 1fr));
    gap: var(--space-16);
}

.action-card {
    background: var(--bg-surface);
    border-radius: var(--radius-lg);
    padding: var(--space-24) var(--space-16);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: var(--space-12);
    text-decoration: none;
    color: var(--text-main);
    font-weight: var(--font-weight-semibold);
    box-shadow: var(--shadow-sm);
    transition: all var(--transition-fast);
}

.action-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-md);
    color: var(--color-secondary);
}

.action-icon {
    width: 48px;
    height: 48px;
    border-radius: var(--radius-full);
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: var(--text-xl);
    transition: transform var(--transition-fast);
}

.action-card:hover .action-icon {
    transform: scale(1.15) rotate(8deg);
}

/* Mood History Preview */
.history-card {
    padding: var(--space-24);
}

.history-days {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.history-day {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: var(--space-8);
}

.day-label {
    font-size: var(--text-xs);
    color: var(--text-muted);
    font-weight: var(--font-weight-bold);
    text-transform: uppercase;
}

.trend-indicator {
    width: 44px;
    height: 44px;
    border-radius: var(--radius-full);
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: var(--text-xl);
    box-shadow: var(--shadow-sm);
    transition: all var(--transition-fast);
}

.empty-indicator {
    background: transparent;
    border: 2px dashed var(--text-muted);
    box-shadow: none;
    opacity: 0.6;
}

/* =========================================================================
   DETAILED MOOD PAGE
   ========================================================================= */
.detailed-mood-scale {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: var(--space-8);
    background: var(--bg-surface-hover);
    padding: var(--space-16);
    border-radius: var(--radius-full);
    overflow-x: auto;
    -ms-overflow-style: none;
    scrollbar-width: none;
}
.detailed-mood-scale::-webkit-scrollbar { display: none; }

.mood-scale-btn {
    background: transparent;
    border: none;
    border-radius: var(--radius-full);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: var(--space-8);
    padding: var(--space-16) var(--space-12);
    min-width: 60px;
    cursor: pointer;
    transition: all var(--transition-fast);
    opacity: 0.6;
    filter: grayscale(0.8);
}

.mood-scale-btn:hover {
    transform: translateY(-5px);
    opacity: 1;
    filter: grayscale(0);
}

.mood-scale-btn.active {
    background: var(--bg-surface);
    box-shadow: var(--shadow-md);
    opacity: 1;
    filter: grayscale(0);
    transform: scale(1.15);
}

.mood-scale-btn .emoji { font-size: 2rem; transition: transform var(--transition-fast); }
.mood-scale-btn.active .emoji { transform: scale(1.1); }
.mood-scale-btn .label { font-size: var(--text-xs); font-weight: var(--font-weight-bold); color: var(--text-main); }

.tag-group {
    display: flex;
    flex-wrap: wrap;
    gap: var(--space-8);
}

.mood-tag.active {
    background: var(--color-primary);
    color: var(--text-main);
    border-color: var(--color-primary);
    transform: scale(1.05);
}

/* =========================================================================
   INSIGHTS & TIMELINE
   ========================================================================= */
.dropdown-menu {
    position: absolute;
    top: 32px;
    right: 0;
    background: var(--bg-surface);
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-lg);
    padding: var(--space-8) 0;
    min-width: 140px;
    z-index: 100;
    transform-origin: top right;
    transition: all var(--transition-fast);
    opacity: 0;
    visibility: hidden;
    transform: scale(0.95);
    border: 1px solid var(--bg-surface-hover);
}

.dropdown-menu.active {
    opacity: 1;
    visibility: visible;
    transform: scale(1);
}

.dropdown-item {
    display: flex;
    align-items: center;
    gap: var(--space-8);
    width: 100%;
    padding: var(--space-8) var(--space-16);
    background: transparent;
    border: none;
    text-align: left;
    font-size: var(--text-sm);
    color: var(--text-main);
    font-weight: var(--font-weight-semibold);
    cursor: pointer;
    transition: background var(--transition-fast);
}

.dropdown-item:hover {
    background: var(--bg-surface-hover);
}

.text-danger {
    color: #E27285 !important;
}

.filter-group {
    display: inline-flex;
    background: var(--bg-surface-hover);
    border-radius: var(--radius-full);
    padding: 4px;
    margin-bottom: var(--space-32);
}

.filter-btn {
    background: transparent;
    border: none;
    padding: var(--space-8) var(--space-24);
    border-radius: var(--radius-full);
    font-size: var(--text-sm);
    font-weight: var(--font-weight-bold);
    color: var(--text-muted);
    cursor: pointer;
    transition: all var(--transition-fast);
}

.filter-btn.active {
    background: var(--bg-surface);
    color: var(--color-secondary);
    box-shadow: var(--shadow-sm);
}

.css-bar-chart {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    height: 150px;
    padding-bottom: var(--space-24);
    border-bottom: 2px solid var(--bg-surface-hover);
    gap: var(--space-8);
}

.bar-col {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-end;
    height: 100%;
    flex: 1;
    gap: var(--space-8);
}

.bar-col .bar {
    width: 100%;
    max-width: 24px;
    border-radius: var(--radius-sm);
    transition: all var(--transition-slow);
    opacity: 0.8;
}

.bar-col:hover .bar {
    transform: scaleY(1.05);
    opacity: 1;
}

.bar-col span {
    font-size: var(--text-xs);
    color: var(--text-muted);
    font-weight: var(--font-weight-bold);
}

.timeline-container {
    display: flex;
    flex-direction: column;
    gap: var(--space-24);
    margin-top: var(--space-16);
}

.timeline-item {
    display: flex;
    gap: var(--space-16);
    position: relative;
}

.timeline-item:not(:last-child)::before {
    content: '';
    position: absolute;
    top: 24px;
    bottom: -24px;
    left: 7px;
    width: 2px;
    background: var(--bg-surface-hover);
}

.timeline-dot {
    width: 16px;
    height: 16px;
    border-radius: var(--radius-full);
    margin-top: 4px;
    flex-shrink: 0;
    box-shadow: 0 0 0 4px var(--bg-page);
}

.timeline-content {
    flex: 1;
    background: var(--bg-surface-hover);
    padding: var(--space-16);
    border-radius: var(--radius-lg);
}

.timeline-header {
    display: flex;
    justify-content: space-between;
    margin-bottom: var(--space-8);
    font-size: var(--text-sm);
}

.timeline-time {
    color: var(--text-muted);
    font-size: var(--text-xs);
}

.timeline-mood {
    display: flex;
    align-items: center;
    font-weight: var(--font-weight-bold);
    color: var(--text-main);
    margin-bottom: var(--space-4);
}

.timeline-note {
    font-size: var(--text-sm);
    color: var(--text-muted);
    line-height: 1.5;
}

/* =========================================================================
   PRIVATE JOURNAL PAGE
   ========================================================================= */
.pin-digit:focus {
    outline: none;
    border-color: var(--color-primary) !important;
    background: var(--bg-page) !important;
}

/* Immersive Focus Mode */
#journal.focus-mode .filter-group,
#journal.focus-mode .subtitle,
#journal.focus-mode h2,
#journal.focus-mode .badge,
#journal.focus-mode .prompt-scroll,
#journal.focus-mode .section-title,
#journal.focus-mode .tag-group,
#journal.focus-mode .action-row {
    opacity: 0.15;
    pointer-events: none;
    transition: opacity 1.5s ease;
}

#journal .filter-group,
#journal .subtitle,
#journal h2,
#journal .badge,
#journal .prompt-scroll,
#journal .section-title,
#journal .tag-group,
#journal .action-row {
    transition: opacity 0.4s ease;
}

.journal-title-input {
    width: 100%;
    border: none;
    background: transparent;
    font-family: inherit;
    font-size: var(--text-xl);
    font-weight: var(--font-weight-bold);
    color: var(--text-main);
    padding: var(--space-8) 0;
    margin-bottom: var(--space-8);
    border-bottom: 1px solid transparent;
    transition: border-color var(--transition-fast);
}

.journal-title-input:focus {
    outline: none;
    border-bottom-color: var(--color-primary);
}

.journal-title-input::placeholder {
    color: var(--text-muted);
    font-weight: var(--font-weight-medium);
    opacity: 0.7;
}

.journal-body-input {
    width: 100%;
    flex: 1;
    min-height: 200px;
    border: none;
    background: transparent;
    font-family: inherit;
    font-size: 1.05rem;
    color: var(--text-main);
    line-height: 1.8;
    resize: none;
    padding: var(--space-8) 0;
}

.journal-body-input:focus {
    outline: none;
}

.journal-body-input::placeholder {
    color: var(--text-muted);
    opacity: 0.5;
}

/* =========================================================================
   DESKTOP OVERRIDES (min-width: 768px)
   ========================================================================= */
@media (min-width: 768px) {
    .mobile-only { display: none !important; }
    .desktop-only { display: flex !important; } /* or block based on element, override inline later */
    .nav-branding { display: flex !important; align-items: center; margin-bottom: var(--space-48); }
    .nav-footer { display: flex !important; margin-top: auto; width: 100%; }
    
    .app-layout {
        flex-direction: row;
    }

    .main-nav {
        position: static;
        width: 250px;
        min-width: 250px;
        height: 100vh;
        flex-direction: column;
        justify-content: flex-start;
        padding: var(--space-32);
        border-radius: 0;
        box-shadow: var(--shadow-sm);
        z-index: 10;
    }

    .nav-links {
        flex-direction: column;
        align-items: stretch;
        gap: var(--space-16);
    }

    .nav-item {
        flex-direction: row;
        gap: var(--space-16);
        padding: var(--space-12) var(--space-16);
    }

    .nav-item .text {
        font-size: var(--text-base);
    }

    .content-area {
        padding-bottom: 0;
        overflow-y: auto;
    }

    .container {
        padding: var(--space-48) var(--space-32);
    }

    .mood-btn {
        width: 120px;
        height: 130px;
        padding: var(--space-24);
    }
    
    .mood-btn .emoji {
        font-size: var(--text-3xl);
    }
    
    .tools-section {
        grid-template-columns: 1fr 1fr;
    }

    .card {
        padding: var(--space-48);
    }
    
    .nav-footer .btn {
        width: 100%;
    }
}
