/* --- Y2K Emo/Scene MySpace Aesthetic --- */
body {
    background-color: #000000; 
    background-image: url('https://media2.giphy.com/media/v1.Y2lkPTc5MGI3NjExZjR1M2hmdXAzM3JzNnltM2pwcTVmdG9qanFjZzJhZ2dla3ZuN3VlMSZlcD12MV9pbnRlcm5hbF9naWZfYnlfaWQmY3Q9Zw/S3bkh4BuHMyfC/giphy.gif'); 
    background-attachment: fixed;
    font-family: 'Verdana', sans-serif;
    color: #ffffff;
    cursor: url('https://cdn.cursors-4u.net/previews/elegant-rose-working-in-background-a9bcaed2.webp') 16 16, crosshair; 
    margin: 0;
    padding: 20px;
    padding-top: 60px; /* Pushes the page down below the ribbon */
}

::-webkit-scrollbar { width: 15px; }
::-webkit-scrollbar-track { background: #000; }
::-webkit-scrollbar-thumb { background: #ff1493; border: 2px solid #000; }

.myspace-layout {
    display: grid;
    grid-template-columns: 300px 1fr;
    gap: 20px;
    max-width: 1000px;
    margin: 0 auto;
}

marquee {
    background: #000;
    color: #ff1493;
    font-size: 1.8rem;
    padding: 10px;
    border: 2px solid #ff1493;
    margin-bottom: 20px;
    font-family: 'Comic Sans MS', cursive;
}

aside section {
    background: rgba(0, 0, 0, 0.85);
    border: 2px solid #ff1493;
    padding: 15px;
    margin-bottom: 20px;
    color: #fff;
}

.sparkle-text {
    color: #ff1493;
    text-shadow: 0 0 5px #ff1493, 0 0 10px #ff69b4;
    font-family: 'Comic Sans MS', cursive;
    text-align: center;
    background: transparent;
    text-transform: none;
    border-bottom: none;
    margin-top: 0;
}

.ultra-sparkle-text {
    color: #ff1493;
    text-shadow: 0 0 5px #fff, 0 0 15px #ff1493, 0 0 25px #ff69b4, 0 0 40px #ff1493;
    font-family: 'Comic Sans MS', cursive;
    font-size: 2.5rem;
    background: transparent;
    text-align: center;
    border: none; 
    margin-bottom: 0px; 
    margin-top: 0;
}

.comment-count { color: #ff69b4; font-size: 0.9rem; text-align: center; margin-bottom: 20px; }
.profile-pic-container { text-align: center; margin-bottom: 15px; width: 100%; max-width: 250px; margin: 0 auto 15px auto; }

/* The Bulletproof Profile Image Fix */
.profile-img { 
    border: 2px solid #ff1493; 
    max-width: 100%; 
    height: auto; 
    display: block; 
}

/* --- Fake Music Player --- */
.custom-audio-interface {
    background: #111; color: #ff69b4; font-family: monospace;
    padding: 10px; border: 1px solid #444; text-align: center;
}
#play-btn {
    background: #000; color: #ff1493; border: 1px solid #ff1493;
    padding: 5px 15px; cursor: pointer; font-weight: bold;
}
#play-btn:hover { background: #ff1493; color: #000; }

/* ==========================================
   🖤 GOTH WINDOWS 98 ELEMENTS 🖤
   ========================================== */

.win98-grid { display: flex; flex-direction: column; gap: 15px; width: 100%; }

.win98-window {
    background: #000;
    border-top: 2px solid #ffb6c1; border-left: 2px solid #ffb6c1;
    border-bottom: 2px solid #8b0a50; border-right: 2px solid #8b0a50;
    padding: 3px; width: 100%; box-sizing: border-box; position: relative;
}

.post-banner {
    cursor: pointer;
    transition: box-shadow 0.2s, transform 0.1s;
}
.post-banner:hover {
    box-shadow: 0 0 10px #ff1493;
}
.post-banner:active {
    transform: scale(0.99);
}

.win98-titlebar {
    background: #ff1493; color: #fff; font-family: 'Verdana', sans-serif;
    font-size: 0.85rem; font-weight: bold; padding: 4px 6px;
    display: flex; justify-content: space-between; align-items: center;
}

.win-btn {
    background: #ffb6c1; border-top: 1px solid #fff; border-left: 1px solid #fff;
    border-bottom: 1px solid #8b0a50; border-right: 1px solid #8b0a50;
    font-size: 0.7rem; font-weight: bold; color: #000; cursor: pointer; padding: 1px 4px;
}
.win-btn:active {
    border-top: 1px solid #8b0a50; border-left: 1px solid #8b0a50;
    border-bottom: 1px solid #fff; border-right: 1px solid #fff;
}

.click-to-open { color: #ffb6c1; font-weight: bold; font-size: 0.8rem; padding: 10px; display: block; }

/* --- The Modal Overlay System --- */
.win98-overlay {
    display: none; 
    position: fixed; top: 0; left: 0; width: 100vw; height: 100vh;
    background: rgba(0, 0, 0, 0.8); z-index: 9999;
    justify-content: center; align-items: center;
}
.win98-overlay.active { display: flex; }

.win98-modal {
    background: #000; width: 50vw; max-height: 85vh;
    display: flex; flex-direction: column;
    border-top: 2px solid #ffb6c1; border-left: 2px solid #ffb6c1;
    border-bottom: 2px solid #8b0a50; border-right: 2px solid #8b0a50;
    box-shadow: 10px 10px 0px rgba(255, 20, 147, 0.4);
}

.win98-body {
    padding: 20px; overflow-y: auto; color: #fff; font-family: 'Verdana', sans-serif;
}

/* Forces links to be clickable even with custom cursors */
.win98-body a {
    cursor: pointer !important;
    pointer-events: auto;
}

.section-header {
    color: #ff69b4; border-bottom: 1px dashed #ff1493; padding-bottom: 5px;
    margin-top: 25px; margin-bottom: 10px; font-size: 1.1rem;
}

.archive-list { padding-left: 20px; font-size: 0.9rem; line-height: 1.6; }
.archive-list li { margin-bottom: 8px; }
.archive-list strong { color: #ff1493; }
.time-capsule-box {
    background: rgba(255, 20, 147, 0.1); border: 1px solid #ff1493;
    padding: 10px; margin-top: 15px; font-size: 0.9rem; margin-bottom: 20px;
}

/* ==========================================
   🎵 STICKY MUSIC RIBBON
   ========================================== */
.sticky-ribbon {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 10000;
    border-radius: 0;
    margin: 0;
}

.ribbon-controls {
    background: #000;
    padding: 6px;
    display: flex;
    justify-content: center;
    gap: 15px;
    border-top: 1px dashed #ff1493;
}

#side-play-btn {
    background: #000; color: #ff1493; border: 1px solid #ff1493;
    padding: 5px 15px; cursor: pointer; font-weight: bold; margin-top: 10px;
}
#side-play-btn:hover { background: #ff1493; color: #000; }