@import url('https://fonts.googleapis.com/css2?family=Quicksand:wght@300;400;500&display=swap');

body {
    margin: 0;
    padding: 0;

    background: #2a3b2d;
    color: #e6f0e0;

    font-family: "Quicksand", "Georgia", "Palatino Linotype", serif;
    font-size: 14px;

    position: relative;
}

/* ✨ Sparkly background dots */
body::before {
    content: "";

    position: fixed;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;

    pointer-events: none;
    z-index: 0;

    background-image:
        radial-gradient(circle, rgba(255,255,255,0.35) 1px, transparent 2px),
        radial-gradient(circle, rgba(220,255,220,0.22) 1px, transparent 2px);

    background-size: 40px 40px, 65px 65px;
    background-position: 0 0, 20px 25px;

    opacity: 0.45;
}

/* 🌿 Floating magical particle layer */
#nature {
    position: fixed;

    top: 0;
    left: 0;
    right: 0;
    bottom: 0;

    pointer-events: none;
    z-index: 0;
}

/* ✨ particles */
.particle {
    position: absolute;

    width: 6px;
    height: 6px;

    border-radius: 50%;

    background: rgba(255, 255, 200, 0.9);
    box-shadow: 0 0 6px rgba(255, 255, 200, 0.6);

    opacity: 0.7;

    animation: floatUp linear infinite;
}

/* floating motion */
@keyframes floatUp {
    0% {
        transform: translateY(110vh) translateX(0);
        opacity: 0;
    }

    20% {
        opacity: 0.8;
    }

    100% {
        transform: translateY(-10vh) translateX(20px);
        opacity: 0;
    }
}

/* 🏡 Main container */
.page {
    width: 440px;

    margin: 2.5rem auto;
    padding: 18px;

    background: #f5f9f0;
    color: #2f3b2a;

    border: 2px solid #4f6b4a;
    border-radius: 18px;

    box-shadow:
        5px 5px 0 #2d3b28,
        0 0 18px rgba(90, 120, 70, 0.08);

    text-align: center;

    position: relative;
    z-index: 1;
}

/* 🌿 Title */
.hero h1 {
    margin: 0;
    font-size: 2rem;
    color: #2f3b2a;
    letter-spacing: 1px;

    font-family: "Georgia", serif;
    font-weight: normal;
}

.tagline {
    font-size: 0.85rem;
    font-style: italic;
    color: #4f6b4a;

    margin-top: 4px;
}

/* 📦 Content boxes */
.about,
.updates,
.badge {
    margin-top: 12px;
    padding: 10px 12px;

    background: #e6f0e0;

    border: 1px solid #4f6b4a;
    border-radius: 12px;
}

/* 🧭 Navigation */
.nav-grid {
    margin-top: 12px;
}

.nav-card {
    display: block;

    margin: 6px 0;
    padding: 8px;

    text-decoration: none;

    background: #dbe9d3;

    border: 1px solid #4f6b4a;
    border-radius: 12px;

    color: #2f3b2a;

    transition: 0.2s ease;
}

.nav-card:hover {
    background: #cfe2c4;
    transform: scale(1.03);
}

/* ✨ Floating note */
.floating-note {
    margin-top: 12px;
    font-size: 11px;
    opacity: 0.75;
    font-style: italic;
}

/* 🪵 Footer */
footer,
.footer {
    font-size: 0.75rem;
    margin-top: 14px;
    color: #5a6a56;
}

/* ☕ Ko-fi button */
.kofi-button {
    display: inline-block;

    margin-top: 10px;
    padding: 7px 12px;

    background: #4f6b4a;
    color: #f3f8ee;

    border: 1px solid #2f3b2a;
    border-radius: 999px;

    text-decoration: none;
    font-size: 12px;

    transition: 0.2s ease;
}

.kofi-button:hover {
    background: #3f5a3b;
    transform: scale(1.06);
}

/* 🧷 Stickers */
.sticker {
    position: fixed;
    z-index: 1;

    opacity: 0.9;
    pointer-events: none;
}

.top-left {
    top: 12px;
    left: 12px;

    transform: rotate(-8deg);
}

.top-right {
    top: 40px;
    right: 12px;

    transform: rotate(6deg);
}

.sticker img {
    width: 70px;
    height: auto;
}

/* 🌟 Title GIF */
.title-gif {
    display: block;

    margin: 10px auto 12px auto;

    width: 90px;
    height: auto;
}