/* =========================
   🌸 BEA'S BUTTON BOX CSS
   coquette / kawaii / vintage web
========================= */

/* 🎀 ROOT COLORS */
:root {
    --pink: #F8D7E4;
    --pink-dark: #E7B9CB;
    --brown: #A67B5B;
    --brown-dark: #6B4F3C;
    --cream: #FFF9F8;
    --sage: #D8E4C2;
}

/* 🌸 GLOBAL */
body {
    margin: 0;
    font-family: "Quicksand", sans-serif;
    background: var(--cream);
    color: var(--brown-dark);
    cursor: none;
    overflow-x: hidden;
}

/* 🌷 CUSTOM CURSOR */
#cursor {
    width: 24px;
    height: 24px;
    position: fixed;
    top: 0;
    left: 0;
    pointer-events: none;
    z-index: 9999;
    background: url('cursor/bow.cur'), auto;
}

/* 🌸 LOADING SCREEN */
#loading-screen {
    position: fixed;
    width: 100%;
    height: 100%;
    background: var(--pink);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 10000;
    flex-direction: column;
    font-family: "Sacramento", cursive;
}

.loading-box {
    text-align: center;
    padding: 40px;
    border: 3px double white;
    border-radius: 20px;
    background: rgba(255,255,255,0.4);
}

.loader {
    margin-top: 15px;
    width: 80px;
    height: 10px;
    background: white;
    border-radius: 10px;
    animation: load 2s infinite;
}

@keyframes load {
    0% { width: 10px; }
    50% { width: 80px; }
    100% { width: 10px; }
}

/* 🌸 HEADER */
header {
    text-align: center;
    padding: 30px;
    background: linear-gradient(to bottom, var(--pink), transparent);
    font-family: "Sacramento", cursive;
}

header h1 {
    font-size: 48px;
    margin: 0;
}

.subtitle {
    font-size: 18px;
}

/* 🌸 NAVBAR */
nav {
    display: flex;
    justify-content: center;
    gap: 20px;
    padding: 10px;
    background: var(--pink-dark);
    position: sticky;
    top: 0;
    z-index: 1000;
}

nav a {
    text-decoration: none;
    color: white;
    font-weight: bold;
    padding: 6px 12px;
    border-radius: 20px;
    transition: 0.3s;
}

nav a:hover {
    background: white;
    color: var(--brown-dark);
}

/* 🌸 LAYOUT */
.layout {
    display: grid;
    grid-template-columns: 220px 1fr 220px;
    gap: 20px;
    padding: 20px;
}

/* 🌷 SIDEBARS */
.sidebar {
    background: rgba(255,255,255,0.6);
    border: 2px dashed var(--pink-dark);
    padding: 10px;
    border-radius: 15px;
    height: fit-content;
}

.widget {
    background: white;
    margin-bottom: 15px;
    padding: 10px;
    border-radius: 12px;
    border: 1px solid var(--pink);
    box-shadow: 2px 2px 0 var(--pink-dark);
}

.widget h3 {
    margin-top: 0;
    font-size: 14px;
}

/* 🌸 MAIN CONTENT */
main {
    background: rgba(255,255,255,0.7);
    padding: 20px;
    border-radius: 20px;
    border: 2px solid var(--pink);
}

.hero {
    text-align: center;
    padding: 20px;
    background: var(--pink);
    border-radius: 15px;
    margin-bottom: 20px;
}

.card {
    background: white;
    border-radius: 15px;
    padding: 15px;
    margin-bottom: 20px;
    border: 1px solid var(--pink-dark);
    box-shadow: 3px 3px 0 var(--pink-dark);
}

/* 🌸 BUTTON IMAGE */
.button-img {
    width: 88px;
    image-rendering: pixelated;
}

/* 🌷 FOOTER */
footer {
    text-align: center;
    padding: 20px;
    background: var(--brown-dark);
    color: white;
    margin-top: 40px;
}

/* 🌸 LINKS */
a {
    color: var(--brown);
}

a:hover {
    color: var(--pink-dark);
}

/* 🌸 PETALS */
#petals {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 999;
}

/* 🌷 DRAGGABLE MUSIC PLAYER */
.draggable {
    cursor: grab;
}

/* 🌸 POLAROID STYLE (for scrapbook later) */
.polaroid {
    background: white;
    padding: 10px;
    border: 1px solid #ddd;
    box-shadow: 3px 3px 10px rgba(0,0,0,0.1);
    transform: rotate(-2deg);
}

/* 🌸 RESPONSIVE */
@media (max-width: 900px) {
    .layout {
        grid-template-columns: 1fr;
    }

    .sidebar {
        display: none;
    }
}

.diary-entry {
    background: white;
    border-radius: 18px;
    padding: 20px;
    margin-bottom: 20px;
    border: 1px solid var(--pink-dark);
    box-shadow: 3px 3px 0 var(--pink-dark);
    transition: transform 0.3s ease;
}

.diary-entry:hover {
    transform: translateY(-3px);
}

.diary-entry h2 {
    font-family: "Sacramento", cursive;
    color: var(--brown);
    margin-bottom: 10px;
}

.entry-text {
    line-height: 1.6;
    font-size: 14px;
}

.entry-tags {
    margin-top: 10px;
}

.entry-tags span {
    display: inline-block;
    background: var(--pink);
    padding: 4px 8px;
    border-radius: 12px;
    font-size: 12px;
    margin-right: 5px;
}