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

/* Page background setup */
body {
    background-color: #ffeef2; 
    font-family: 'Fredoka', sans-serif;
    color: #a37074;
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
    padding: 20px;
    
    cursor: url('bowie.gif'), auto;
}

/* The card style mimicking StrawPage */
.site-container {
    position: relative;         /* Keeps your logo floating perfectly */
    background-color: #ffffff;  /* Pure white card background */
    border: 4px dashed #ffb3c1; /* The ONLY outer dashed border */
    border-radius: 20px;        /* Beautiful rounded corners */
    width: 100%;
    max-width: 600px;
    padding: 25px;
    margin: 20px auto;          /* Centers the card on your screen */
    box-shadow: 0 8px 24px rgba(255, 179, 193, 0.2);
    outline: none;              /* Removes any ghost browser outlines */
}
/* Header container holds just the background graphic */
.header {
    background-color: #fff0f3;
    border: 0px solid #ffccd5; 
    border-radius: 0px;      
    margin-bottom: 12px;      
    display: flex;
}

/* FLOATING LOGO LAYER STYLE */
.logo-image {
    position: absolute;
    top: 25px;                  /* Move this smaller or negative (like -10px) to pop it higher up */
    left: 40px;                /* Distance from the very left edge of the site container */
    max-width: 180px;          /* Size of your logo */
    height: auto;             
    z-index: 99999;            /* Maximum layer priority to ensure it sits on top of all borders */
}

/* Forces your drawing to fill the container scaling naturally */
.banner-image {
    width: 100%;
    height: auto;
    display: block;
}

/* Text placed directly under the banner box */
.scrolling-text {
    font-size: 0.8rem;
    font-style: italic;
    color: #ff85a2;
    text-align: center;
    margin-bottom: 25px;      /* Pushes the two-column section down */
}


/* Header Text Styling */
.site-title {
    font-family: 'Pacifico', cursive;
    color: #ff85a2;
    font-size: 2.2rem;
    line-height: 1.2;
}

.sub-header-text {
    font-size: 0.85rem;
    color: #c99397;
}

/* Horizontal Row for Emojis/Icons */
.banner-row {
    display: flex;
    justify-content: center;
    gap: 25px;                /* Space between individual emojis */
    margin: 5px 0;
}

.banner-item {
    font-size: 1.8rem;
}

/* Text placed directly under the banner box */
.scrolling-text {
    font-size: 0.8rem;
    font-style: italic;
    color: #ff85a2;
    text-align: center;
    margin-bottom: 20px;      /* Pushes the content below down */
}

.site-title {
    font-family: 'Pacifico', cursive;
    color: #ff85a2;
    font-size: 2.2rem;
    margin-bottom: 5px;
}

.sub-header-text {
    font-size: 0.85rem;
    color: #c99397;
    margin-bottom: 15px;
}

.banner-row {
    display: flex;
    justify-content: space-around;
    background-color: #fff0f3;
    border-radius: 12px;
    padding: 12px;
    margin-bottom: 12px;
    border: 1px solid #ffe3e8;
}

.banner-item {
    font-size: 1.8rem;
}

.scrolling-text {
    font-size: 0.8rem;
    font-style: italic;
    color: #ff85a2;
}

/* Two-column layout rules */
.main-layout {
    display: grid;
    grid-template-columns: 1fr 1.4fr;
    gap: 20px;
    margin-bottom: 25px;
}

/* Collapse into one single column if screen is tiny */
@media (max-width: 520px) {
    .main-layout {
        grid-template-columns: 1fr;
    }
}

/* Left column components */
.left-col {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.profile-box {
    background-color: #fff5f6;
    border: 2px solid #ffe3e8;
    border-radius: 15px;
    padding: 15px;
    text-align: center;
}

.profile-img {
    width: 100%;
    max-width: 110px;
    border-radius: 50%;
    border: 3px solid #ffccd5;
    margin-bottom: 10px;
}

.profile-info h3 {
    font-size: 0.95rem;
    color: #8c5357;
    margin-bottom: 4px;
}

.profile-info .pronouns {
    font-size: 0.8rem;
    color: #b07d81;
}

.profile-info .date {
    font-size: 0.75rem;
    color: #cfa0a4;
}

.nav-links {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

/* Reusable buttons styles */
.nav-btn, .footer-btn {
    display: block;
    text-align: center;
    background-color: #ffffff;
    border: 2px solid #ffccd5;
    color: #ff85a2;
    padding: 8px;
    border-radius: 20px;
    text-decoration: none;
    font-size: 0.85rem;
    font-weight: bold;
    transition: all 0.2s ease;
}

.nav-btn:hover, .footer-btn:hover {
    background-color: #ffccd5;
    color: #ffffff;
}

/* Right column components */
.right-col {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.art-banner .banner-img {
    width: 100%;
    border-radius: 12px;
    border: 2px solid #ffe3e8;
}

.about-box {
    background-color: #fff5f6;
    border: 2px dashed #ffccd5;
    border-radius: 15px;
    padding: 15px;
    font-size: 0.85rem;
    line-height: 1.5;
    color: #7a484c;
    text-align: center;
}

.about-box p {
    margin-bottom: 8px;
}

.about-box p:last-child {
    margin-bottom: 0;
}

.update-tag {
    text-align: center;
    font-size: 0.75rem;
    color: #cfa0a4;
}

/* Bottom elements styles */
.footer-section {
    text-align: center;
    border-top: 1px dashed #ffccd5;
    padding-top: 20px;
}

.footer-buttons {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 15px;
    margin-bottom: 15px;
}

.footer-link {
    font-size: 0.8rem;
    color: #ff85a2;
    text-decoration: none;
    font-weight: bold;
}

.footer-link:hover {
    text-decoration: underline;
}

/* Sparkle Trail Base Style */
.sparkle-particle {
    position: absolute;
    pointer-events: none; /* Stops particles from blocking clicks on buttons */
    font-size: 1.2rem;
    z-index: 100000;      /* Ensures sparkles float above your layout graphics */
    animation: fadeAndScatter 1s ease-out forwards;
}

/* Sparkle Animation Curve */
@keyframes fadeAndScatter {
    0% {
        transform: translate(0, 0) scale(1);
        opacity: 1;
    }
    100% {
        /* Slowly drifts apart while fading out */
        transform: translate(var(--offsetX), var(--offsetY)) scale(0.3);
        opacity: 0;
    }
}
