:root {
    /* Brand colours — never change these */
    --bg-color: #fdfbf7;
    --accent-pink: #ffb7b2;
    --accent-blue: #a8e6cf;
    --accent-yellow: #ffeaa7;
    --accent-purple: #dda0dd;
    --text-main: #4a4a4a;
    --text-light: #888;
    --card-bg: #ffffff;

    /* Semantic surface tokens */
    --surface: rgba(255, 255, 255, 0.78);
    --surface-strong: rgba(255, 255, 255, 0.92);
    --border-soft: rgba(255, 255, 255, 0.6);
    --shadow-soft: 0 8px 28px rgba(180, 160, 165, 0.10), 0 2px 8px rgba(0, 0, 0, 0.04);
    --shadow-lift: 0 16px 40px rgba(180, 160, 165, 0.16), 0 6px 14px rgba(0, 0, 0, 0.06);

    /* Easing curves */
    --spring: cubic-bezier(0.34, 1.56, 0.64, 1);
    --ease-soft: cubic-bezier(0.22, 1, 0.36, 1);
}

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

body {
    font-family: 'Quicksand', 'Noto Sans SC', sans-serif;
    background-color: var(--bg-color);
    color: var(--text-main);
    line-height: 1.8;
    background-image:
        radial-gradient(circle at 15% 20%, rgba(255, 183, 178, 0.12) 0%, transparent 35%),
        radial-gradient(circle at 85% 80%, rgba(168, 230, 207, 0.10) 0%, transparent 30%),
        radial-gradient(#e0e0e0 1px, transparent 1px);
    background-size: 100% 100%, 100% 100%, 20px 20px;
    background-attachment: fixed;
    overflow-x: hidden;
}

.container {
    max-width: 1000px;
    margin: 0 auto 4rem;
    padding: 0 2rem;
}

.section-title {
    font-size: 1.4rem;
    font-weight: 500;
    margin-bottom: 1.5rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.section-title .emoji {
    font-size: 1.6rem;
}

.page-header {
    text-align: center;
    padding: 4rem 1rem 2rem;
    max-width: 600px;
    margin: 0 auto;
}

.page-header h1 {
    font-size: 2.2rem;
    margin-bottom: 0.8rem;
}

.page-header p {
    color: var(--text-light);
    font-size: 1rem;
}

.loading-dots::after {
    content: ' .';
    animation: dots 1.5s steps(5, end) infinite;
}

@keyframes dots {
    0%, 20% { color: rgba(0,0,0,0); text-shadow: .25em 0 0 rgba(0,0,0,0), .5em 0 0 rgba(0,0,0,0); }
    40% { color: #333; text-shadow: .25em 0 0 rgba(0,0,0,0), .5em 0 0 rgba(0,0,0,0); }
    60% { text-shadow: .25em 0 0 #333, .5em 0 0 rgba(0,0,0,0); }
    80%, 100% { text-shadow: .25em 0 0 #333, .5em 0 0 #333; }
}
