```html
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">

<title>My Mood Palette</title>

<link rel="preconnect" href="https://fonts.googleapis.com">
<link rel="preconnect" href="https://fonts.gstatic.com" crossorigin>
<link href="https://fonts.googleapis.com/css2?family=DM+Sans:wght@400;500;600;700&family=Space+Grotesk:wght@500;600;700&display=swap" rel="stylesheet">

<style>

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

body {
    font-family: "DM Sans", sans-serif;
    background: #1e2024;
    color: #e8e8e8;
    min-height: 100vh;
    overflow-x: hidden;
}

/* Background decoration */

body::before {
    content: "✦   •   ✧   •   ✦   •   ✧";
    position: fixed;
    top: 20px;
    left: 0;
    width: 100%;
    text-align: center;
    color: rgba(255,255,255,0.12);
    font-size: 22px;
    letter-spacing: 18px;
    pointer-events: none;
    z-index: 0;
}

/* Main container */

.container {
    width: 92%;
    max-width: 900px;
    margin: 70px auto;
    background: #292c32;
    border: 1px solid #454951;
    border-radius: 24px;
    padding: 50px;
    box-shadow: 0 20px 50px rgba(0,0,0,0.3);
    position: relative;
    z-index: 1;
}

/* Decorative shapes */

.decoration {
    position: absolute;
    font-size: 25px;
    color: #777d87;
    opacity: 0.45;
}

.deco1 {
    top: 22px;
    left: 28px;
}

.deco2 {
    top: 25px;
    right: 30px;
}

.deco3 {
    bottom: 22px;
    left: 30px;
}

.deco4 {
    bottom: 25px;
    right: 30px;
}

/* Header */

header {
    text-align: center;
    margin-bottom: 40px;
}

header h1 {
    font-family: "Space Grotesk", sans-serif;
    font-size: clamp(38px, 7vw, 60px);
    color: #ffffff;
    margin-bottom: 10px;
    letter-spacing: -1px;
}

header p {
    color: #aeb3bc;
    font-size: 15px;
}

/* Question */

.question {
    text-align: center;
    font-family: "Space Grotesk", sans-serif;
    font-size: 27px;
    margin-bottom: 25px;
    color: #f3f3f3;
}

/* Mood buttons */

.moods {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 15px;
}

.mood {
    border: 1px solid #484c54;
    background: #33363d;
    color: #e8e8e8;
    padding: 20px;
    border-radius: 14px;
    font-family: "DM Sans", sans-serif;
    font-size: 15px;
    cursor: pointer;
    transition: all 0.25s ease;
}

.mood:hover {
    transform: translateY(-4px);
    background: #3b3f47;
    border-color: #666c76;
    box-shadow: 0 8px 20px rgba(0,0,0,0.2);
}

.mood.selected {
    background: #68707c;
    border-color: #9ca3af;
    color: white;
    transform: scale(1.03);
    box-shadow: 0 8px 20px rgba(0,0,0,0.25);
}

/* Generate button */

.generate {
    display: block;
    margin: 30px auto 0;
    border: none;
    background: #e8e8e8;
    color: #202226;
    padding: 15px 32px;
    border-radius: 12px;
    font-family: "DM Sans", sans-serif;
    font-size: 16px;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.25s ease;
}

.generate:hover {
    transform: translateY(-3px);
    background: #ffffff;
    box-shadow: 0 8px 20px rgba(0,0,0,0.25);
}

/* Message */

.message {
    text-align: center;
    margin-top: 15px;
    color: #f0a6a6;
    display: none;
}

/* Results */

#results {
    display: none;
    margin-top: 45px;
    padding-top: 35px;
    border-top: 1px dashed #50545c;
    animation: fadeIn 0.8s ease;
}

#results h2 {
    text-align: center;
    font-family: "Space Grotesk", sans-serif;
    font-size: 34px;
    color: #ffffff;
    margin-bottom: 8px;
}

.description {
    text-align: center;
    color: #aeb3bc;
    margin-bottom: 30px;
}

/* Palette */

.palette {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 13px;
}

.colour-card {
    height: 180px;
    border-radius: 16px;
    display: flex;
    align-items: flex-end;
    justify-content: center;
    padding: 12px;
    box-shadow: 0 8px 18px rgba(0,0,0,0.2);
    transition: 0.3s ease;
}

.colour-card:hover {
    transform: translateY(-8px);
}

.hex {
    background: rgba(255,255,255,0.85);
    color: #22252a;
    padding: 7px 10px;
    border-radius: 8px;
    font-size: 12px;
    font-weight: 700;
}

/* Restart */

.restart {
    display: block;
    margin: 30px auto 0;
    border: 1px solid #5a5f68;
    background: transparent;
    color: #d6d9de;
    padding: 11px 22px;
    border-radius: 10px;
    cursor: pointer;
    font-family: "DM Sans", sans-serif;
    transition: 0.25s ease;
}

.restart:hover {
    background: #383c43;
    transform: translateY(-2px);
}

/* Footer */

footer {
    text-align: center;
    margin-top: 30px;
    font-size: 12px;
    color: #777d87;
}

/* Animation */

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Mobile */

@media (max-width: 700px) {

    .container {
        padding: 35px 20px;
        margin: 50px auto;
    }

    .moods {
        grid-template-columns: 1fr;
    }

    .palette {
        grid-template-columns: repeat(2, 1fr);
    }

    .colour-card {
        height: 140px;
    }

    header h1 {
        font-size: 40px;
    }
}

@media (max-width: 420px) {

    .palette {
        grid-template-columns: 1fr;
    }

    .colour-card {
        height: 120px;
    }
}

</style>
</head>

<body>

<div class="container">

    <div class="decoration deco1">✦</div>
    <div class="decoration deco2">•</div>
    <div class="decoration deco3">✧</div>
    <div class="decoration deco4">•</div>

    <header>
        <h1>My Mood Palette</h1>

        <p>
            Choose the option that describes you best
            and discover a colour palette that matches your mood.
        </p>
    </header>

    <h2 class="question">
        What vibe are you feeling today?
    </h2>

    <div class="moods">

        <button class="mood" onclick="chooseMood('calm', this)">
            ☁ Calm & Peaceful
        </button>

        <button class="mood" onclick="chooseMood('happy', this)">
            ☀ Happy & Cheerful
        </button>

        <button class="mood" onclick="chooseMood('creative', this)">
            🎨 Creative & Imaginative
        </button>

        <button class="mood" onclick="chooseMood('cozy', this)">
            ☕ Cozy & Comforting
        </button>

        <button class="mood" onclick="chooseMood('confident', this)">
            ⚡ Confident & Bold
        </button>

        <button class="mood" onclick="chooseMood('dreamy', this)">
            ☾ Dreamy & Soft
        </button>

    </div>

    <button class="generate" onclick="generatePalette()">
        Generate My Palette
    </button>

    <p class="message" id="message">
        Please choose a mood first!
    </p>

    <section id="results">

        <h2 id="resultTitle"></h2>

        <p class="description" id="description"></p>

        <div class="palette" id="palette"></div>

        <button class="restart" onclick="restart()">
            ↻ Choose Another Mood
        </button>

    </section>

    <footer>
        made for every mood · every style · every person
    </footer>

</div>


<script>

let selectedMood = null;


/* Mood palettes */

const palettes = {

    calm: {
        title: "Your Calm Palette",
        description: "Soft, balanced colours for a calm and peaceful mood.",
        colours: [
            "#A8C3BC",
            "#C7D8D5",
            "#E5E0D8",
            "#B8C6D1",
            "#879B91"
        ]
    },

    happy: {
        title: "Your Happy Palette",
        description: "Bright and energetic colours for a positive mood.",
        colours: [
            "#F4C95D",
            "#F28F8F",
            "#A8D5BA",
            "#8EC5E8",
            "#F4A261"
        ]
    },

    creative: {
        title: "Your Creative Palette",
        description: "Interesting and expressive colours for your imaginative side.",
        colours: [
            "#9B8AC4",
            "#D9829B",
            "#E5B85C",
            "#6FA8B8",
            "#6879B5"
        ]
    },

    cozy: {
        title: "Your Cozy Palette",
        description: "Warm and comforting colours for a relaxed atmosphere.",
        colours: [
            "#A9826D",
            "#C7A58A",
            "#D8BFA3",
            "#E2D3C3",
            "#765548"
        ]
    },

    confident: {
        title: "Your Confident Palette",
        description: "Strong and striking colours for a bold mood.",
        colours: [
            "#8E4A5A",
            "#B85C68",
            "#D89A68",
            "#4D5368",
            "#2F3945"
        ]
    },

    dreamy: {
        title: "Your Dreamy Palette",
        description: "Cool and atmospheric colours for a thoughtful mood.",
        colours: [
            "#8E9BC4",
            "#B4A7D6",
            "#89AFC4",
            "#C9C3D6",
            "#687A9C"
        ]
    }

};


/* Select mood */

function chooseMood(mood, button) {

    selectedMood = mood;

    document.querySelectorAll(".mood").forEach(function(item) {
        item.classList.remove("selected");
    });

    button.classList.add("selected");

    document.getElementById("message").style.display = "none";
}


/* Generate palette */

function generatePalette() {

    if (!selectedMood) {

        document.getElementById("message").style.display = "block";

        return;
    }

    const chosen = palettes[selectedMood];

    document.getElementById("resultTitle").textContent = chosen.title;

    document.getElementById("description").textContent = chosen.description;

    const palette = document.getElementById("palette");

    palette.innerHTML = "";

    chosen.colours.forEach(function(colour) {

        const card = document.createElement("div");

        card.className = "colour-card";

        card.style.backgroundColor = colour;

        card.innerHTML = `
            <span class="hex">${colour}</span>
        `;

        palette.appendChild(card);

    });

    const results = document.getElementById("results");

    results.style.display = "block";

    setTimeout(function() {

        results.scrollIntoView({
            behavior: "smooth",
            block: "start"
        });

    }, 100);

}


/* Restart */

function restart() {

    selectedMood = null;

    document.querySelectorAll(".mood").forEach(function(item) {
        item.classList.remove("selected");
    });

    document.getElementById("results").style.display = "none";

    window.scrollTo({
        top: 0,
        behavior: "smooth"
    });

}

</script>

</body>
</html>
```
