body {
    background-image: url('background.png');
    background-color: #2a004f;
    font-family: Arial, sans-serif;
    color: #ffff00;
    text-align: center;
    font-size: 16px;
    cursor: url('joystick.png'), auto;
}

#container {
    width: 800px;
    margin: 15px auto;
    background: #00008b; /* Solid dark blue */
    border: 5px ridge #ff00ff;
    padding: 10px;
    box-shadow: 8px 8px 0px #000000;
}

#logo {
    max-width: 60%;
    margin-bottom: 10px;
}

nav {
    background-color: #c0c0c0; /* Silver */
    padding: 5px;
    border-top: 3px outset #ffffff;
    border-left: 3px outset #ffffff;
    border-right: 3px inset #808080;
    border-bottom: 3px inset #808080;
    display: flex;
    justify-content: center;
    gap: 8px;
    flex-wrap: wrap;
}

nav a {
    color: #000000;
    font-family: 'VT323', monospace;
    font-weight: bold;
    font-size: 20px;
    text-decoration: none;
    padding: 5px 10px;
    background: #c0c0c0;
    border-top: 3px outset #ffffff;
    border-left: 3px outset #ffffff;
    border-right: 3px inset #808080;
    border-bottom: 3px inset #808080;
    transition: none; /* No transitions for 1999! */
    display: flex;
    align-items: center;
    gap: 5px;
}

nav a:active {
    background: #808080; /* Darker grey */
    border-top: 3px inset #808080;
    border-left: 3px inset #808080;
    border-right: 3px outset #ffffff;
    border-bottom: 3px outset #ffffff;
}

nav a:hover {
    color: #000000;
    background: #c0c0c0;
    border-style: outset;
    text-shadow: none;
}

.new-icon {
    width: 24px;
    height: auto;
    animation: blinker 0.5s linear infinite;
}

.welcome-marquee {
    margin-top: 15px;
    font-size: 28px;
    font-weight: bold;
    color: #00ff00;
    background-color: #000000;
    padding: 5px;
    border: 3px dashed #00ff00;
}

#intro {
    display: flex;
    align-items: center;
    justify-content: space-between;
    background-color: rgba(0, 0, 0, 0.2);
    padding: 15px;
    margin-top: 15px;
    border: 4px dotted #ffff00;
    gap: 15px;
}

#bunzi-img {
    width: 250px;
    height: auto;
    border: 5px double #ff0000;
    background: radial-gradient(circle, #ffff99, #ffcc00);
    /* New: Animation to "redo" Bunzi's appearance */
    animation: bunzi-pulse 2s infinite alternate;
    transform-origin: bottom; /* Makes the pulse feel more like he's breathing */
}

#intro-text {
    text-align: left;
    flex-grow: 1;
}

#intro-text h1 {
    color: #ffffff;
    text-shadow: 2px 2px 0 #ff0000, -2px -2px 0 #0000ff;
    font-size: 40px;
    margin-top: 0;
    font-family: 'VT323', monospace;
}

#intro-text p {
    font-size: 18px;
    color: #ffffff;
    line-height: 1.4;
}

.blinking-text {
    color: #ff33cc;
    font-weight: bold;
    animation: blinker 1s linear infinite;
}

@keyframes blinker {
    50% {
        opacity: 0;
    }
}

/* New: Keyframes for Bunzi's pulse animation */
@keyframes bunzi-pulse {
    0% {
        transform: scale(1);
        box-shadow: 0 0 8px 4px rgba(255, 255, 0, 0.4), 0 0 16px 8px rgba(255, 0, 255, 0.2);
    }
    100% {
        transform: scale(1.02); /* Slightly enlarge */
        box-shadow: 0 0 12px 6px rgba(255, 255, 0, 0.6), 0 0 24px 12px rgba(255, 0, 255, 0.4);
    }
}

#features {
    display: flex;
    justify-content: space-around;
    margin-top: 20px;
    gap: 15px;
}

.feature-box {
    width: 48%;
    background: #800080; /* Purple */
    border: 4px outset #ff00ff;
    padding: 15px;
}

.feature-box h2 {
    color: #ffff00;
    text-decoration: underline;
    font-size: 28px;
    margin: 0 0 15px 0;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    font-family: 'VT323', monospace;
}

.icon {
    width: 32px;
    height: 32px;
}

.feature-img {
    width: 100%;
    border: 3px solid #000;
    margin-bottom: 10px;
}

.feature-box p {
    color: #ffffff;
    font-size: 16px;
    text-shadow: 1px 1px #000;
}

.page-content {
    background-color: rgba(0, 0, 0, 0.2);
    padding: 15px;
    margin-top: 15px;
    border: 4px dotted #ffff00;
    position: relative; /* Added for absolute positioning of children */
}

#birthday-header h1 {
    color: #ffffff;
    text-shadow: 2px 2px 0 #ff00ff, -2px -2px 0 #00ff00;
    font-size: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 15px;
    font-family: 'VT323', monospace;
}

#birthday-header p {
     font-size: 20px;
    color: #ffffff;
    line-height: 1.4;
}

#bunzi-fun-room-img {
    display: none; /* Hide the missing image */
}

#party-packages {
    display: flex;
    justify-content: space-around;
    gap: 20px;
    margin: 30px 0;
}

.package {
    width: 48%;
    border: 4px outset #ff9900;
    background: #000000;
    padding: 15px;
    text-align: left;
}

.package.bunzi-special {
    border-color: #00ff00;
    background: #800080; /* Purple */
}

.package h3 {
    font-size: 24px;
    color: #ffff00;
    text-align: center;
    margin-top: 0;
    text-decoration: underline;
    font-family: 'VT323', monospace;
}

.package ul {
    list-style-image: url('birthday-hat.png'); /* A bit big but funny */
    color: #ffffff;
    font-size: 16px;
    padding-left: 35px;
}

.package p {
    color: #ffffff;
    text-shadow: 1px 1px #000;
}

.package .price {
    font-size: 20px;
    font-weight: bold;
    color: #ffff00;
    text-align: center;
    margin-top: 15px;
}

#booking-form {
    border: 2px dashed #ff00ff;
    padding: 20px;
    margin-top: 20px;
    background-color: rgba(0, 0, 0, 0.3);
}

#booking-form h2 {
    font-size: 28px;
    font-family: 'VT323', monospace;
}

#party-form {
    display: flex;
    flex-direction: column;
    gap: 8px;
    color: #ffffff;
    font-size: 16px;
}

.form-row {
    display: flex;
    justify-content: flex-start;
    align-items: center;
    gap: 10px;
}

.form-row label {
    width: 200px;
    text-align: right;
    font-weight: bold;
}

#party-form input, #party-form select, #party-form textarea {
    background: #ffffff;
    color: #000000;
    border: 2px inset #808080;
    font-family: Arial, sans-serif;
    font-size: 14px;
    flex-grow: 1;
}

#submit-btn {
    margin: 20px auto 0 auto;
    padding: 10px 20px;
    font-size: 24px;
    font-family: 'VT323', monospace;
    color: #000000;
    background-color: #c0c0c0;
    border-top: 3px outset #ffffff;
    border-left: 3px outset #ffffff;
    border-right: 3px inset #808080;
    border-bottom: 3px inset #808080;
    cursor: pointer;
    font-weight: bold;
}

#submit-btn:active {
    background: #808080;
    border-top: 3px inset #808080;
    border-left: 3px inset #808080;
    border-right: 3px outset #ffffff;
    border-bottom: 3px outset #ffffff;
}

/* Menu Styles */
#menu-header h1 {
    color: #ffffff;
    text-shadow: 2px 2px 0 #ff9900, -2px -2px 0 #ff00ff;
    font-size: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 15px;
    margin-bottom: 10px;
    font-family: 'VT323', monospace;
}

#menu-header p {
    font-size: 20px;
    color: #ffffff;
    line-height: 1.4;
    margin-bottom: 30px;
}

#food-menu {
    display: flex;
    flex-wrap: wrap; /* Allow categories to wrap */
    justify-content: center;
    gap: 20px;
}

.menu-category {
    width: 45%; /* Adjust width to fit two columns */
    background: #000000;
    border: 4px outset #00ccff;
    padding: 15px;
    text-align: left;
    margin-bottom: 20px;
}

.menu-category h2 {
    font-size: 26px;
    color: #ffcc00;
    text-align: center;
    margin-top: 0;
    text-decoration: underline;
    margin-bottom: 15px;
    font-family: 'VT323', monospace;
}

.menu-category ul {
    list-style: none; /* Remove default bullet */
    padding-left: 0;
    margin: 0;
}

.menu-category li {
    color: #ffffff;
    font-size: 18px;
    margin-bottom: 8px;
    text-shadow: 1px 1px #000;
    display: flex;
    align-items: center;
}

.menu-category li strong {
    color: #00ff00; /* Highlight item names */
    margin-right: 5px;
}

#blood-splatter {
    position: absolute;
    bottom: -10px;
    left: -10px;
    width: 120px;
    height: 120px;
    background-image: url('blood-splatter.png');
    background-size: contain;
    background-repeat: no-repeat;
    z-index: 10;
    pointer-events: none;
}

/* Showtapes Styles */
#showtapes-header h1 {
    color: #ffffff;
    text-shadow: 2px 2px 0 #ff0000, -2px -2px 0 #00008b; /* Red and Dark Blue */
    font-size: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 15px;
    margin-bottom: 10px;
    font-family: 'VT323', monospace;
}

#showtapes-header p {
    font-size: 20px;
    color: #ffffff;
    line-height: 1.4;
    margin-bottom: 30px;
}

#showtape-list {
    display: flex;
    flex-direction: column;
    gap: 25px;
}

.showtape-item {
    background: #000000;
    border: 4px outset #c0c0c0;
    padding: 15px;
}

.showtape-item.corrupted {
    border-color: #ff0000;
}

.showtape-img {
    width: 100%;
    border: 2px solid #444;
    margin-bottom: 15px;
}

.showtape-item h3 {
    font-size: 24px;
    color: #ffff00;
    margin: 0 0 10px 0;
    font-family: 'VT323', monospace;
    text-align: left;
}

.showtape-item .showtape-desc {
    color: #ffffff;
    font-size: 16px;
    text-shadow: 1px 1px #000;
    text-align: left;
    line-height: 1.5;
}

/* New styles for unsettling showtapes */
.showtape-item.unsettling-tape {
    border-color: #800080; /* Purple border */
    position: relative;
    overflow: hidden; /* For potential future glitch effects */
}

.showtape-item.unsettling-tape .showtape-img {
    filter: grayscale(80%) contrast(120%); /* Desaturate and increase contrast */
    animation: static-flicker 0.2s infinite alternate; /* Subtle flicker */
}

@keyframes static-flicker {
    0% {
        opacity: 1;
        filter: grayscale(80%) contrast(120%);
    }
    100% {
        opacity: 0.98;
        filter: grayscale(82%) contrast(125%) hue-rotate(1deg);
    }
}

/* Arcade Styles */
#arcade-header h1 {
    color: #ffffff;
    text-shadow: 2px 2px 0 #00ffff, -2px -2px 0 #ff00ff;
    font-size: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 15px;
    margin-bottom: 10px;
    font-family: 'VT323', monospace;
}

#arcade-header p {
    font-size: 20px;
    color: #ffffff;
    line-height: 1.4;
    margin-bottom: 30px;
}

#game-list {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 20px;
}

.game-category {
    width: 45%; /* Adjust width to fit two columns */
    background: #000000; /* Black background */
    border: 4px outset #00ff00; /* Bright green border */
    padding: 15px;
    text-align: left;
    margin-bottom: 20px;
}

.game-category h2 {
    font-size: 26px;
    color: #ffff00; /* Yellow title */
    text-align: center;
    margin-top: 0;
    text-decoration: underline;
    margin-bottom: 15px;
    font-family: 'VT323', monospace;
}

.game-category ul {
    list-style: none;
    padding-left: 0;
    margin: 0;
}

.game-category li {
    color: #ffffff;
    font-size: 18px;
    margin-bottom: 8px;
    text-shadow: 1px 1px #000;
    display: flex;
    align-items: center;
}

.game-category li strong {
    color: #ff9900; /* Orange highlight for game names */
    margin-right: 5px;
}

/* Kids Art Styles */
#kids-art-header h1 {
    color: #ffffff;
    text-shadow: 2px 2px 0 #ff33cc, -2px -2px 0 #00ffff; /* Pink and Cyan */
    font-size: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 15px;
    margin-bottom: 10px;
    font-family: 'VT323', monospace;
}

#kids-art-header p {
    font-size: 20px;
    color: #ffffff;
    line-height: 1.4;
    margin-bottom: 30px;
}

#art-gallery {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-around;
    gap: 25px;
    padding: 10px;
}

.art-submission {
    width: 45%; /* Two columns */
    background: #ffffff;
    color: #000000;
    border: 5px solid #000000; /* Yellow border like a picture frame */
    padding: 10px;
    box-shadow: 5px 5px 0px rgba(0,0,0,0.5);
}

.art-submission h3 {
    font-size: 24px;
    color: #ff0000; /* Red title */
    margin-top: 0;
    margin-bottom: 10px;
    text-shadow: none;
    font-family: 'VT323', monospace;
}

.art-submission .artist-name {
    font-size: 16px;
    color: #0000ff;
    font-style: italic;
    display: block; /* New line for artist name */
    margin-top: 5px;
}

.art-drawing {
    width: 100%;
    height: auto;
    border: 3px dotted #0000ff; /* Fun dashed border */
    background-color: #ffffff; /* White background to mimic paper */
    padding: 0px;
}

/* NEW: Art Room Styles */
#art-room-content {
    background-color: rgba(0, 0, 0, 0.2);
    padding: 15px;
    margin-top: 15px;
    border: 4px dotted #ffff00;
}

#art-room-header h1 {
    color: #ffffff;
    text-shadow: 2px 2px 0 #00ff99, -2px -2px 0 #cc33ff; /* Teal and Purple */
    font-size: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 15px;
    margin-bottom: 10px;
    font-family: 'VT323', monospace;
}

#art-room-header p {
    font-size: 20px;
    color: #ffffff;
    line-height: 1.4;
    margin-bottom: 30px;
}

.art-section {
    background: #000000; /* Black background */
    border: 4px outset #00ffff; /* Cyan border */
    padding: 15px;
    margin-bottom: 25px;
}

.art-section h2 {
    font-size: 28px;
    color: #ffff00; /* Yellow heading */
    text-shadow: 2px 2px #ff0000; /* Red shadow */
    margin-top: 0;
    margin-bottom: 20px;
    text-decoration: underline;
    font-family: 'VT323', monospace;
    text-align: center;
}

.art-grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 20px;
}

.art-grid-small {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 15px;
}

.art-item {
    background-color: #330033; /* Dark purple */
    border: 3px solid #ff00ff; /* Magenta border */
    padding: 10px;
    text-align: center;
    width: 30%; /* Approx three columns for larger images */
    box-shadow: 5px 5px 0px #000000;
}

.art-item-small {
    background-color: #00008b; /* Dark blue */
    border: 2px dotted #00ff00; /* Green dotted border */
    padding: 5px;
    text-align: center;
    width: 15%; /* Smaller items, more columns */
    box-shadow: 3px 3px 0px #000000;
}

.art-item h3 {
    font-size: 22px;
    color: #00ff00; /* Green title */
    margin-top: 0;
    margin-bottom: 10px;
    font-family: 'VT323', monospace;
}

.art-item-small p {
    font-size: 14px;
    color: #ffffff;
    margin-top: 5px;
    margin-bottom: 0;
    line-height: 1.2;
}

.art-item p {
    font-size: 16px;
    color: #ffffff;
    margin-top: 10px;
    margin-bottom: 0;
}

.art-image {
    max-width: 100%;
    height: auto;
    border: 2px solid #808080; /* Grey border for images */
}

.official-char-art {
    border-color: #ff9900; /* Orange border */
    background: radial-gradient(circle, #ffff99, #ffcc00);
}

.concept-sketch-art {
    border-color: #c0c0c0; /* Silver border */
    background-color: #ffffff; /* White background for sketches */
    padding: 5px; /* Padding for sketch look */
}

.icon-art {
    border-color: #00ffff; /* Cyan border */
    background-color: transparent; /* Icons are transparent already */
}

.env-art {
    border-color: #ff33cc; /* Pink border */
}

/* Guestbook & Contact Styles */
#guestbook-header h1, #contact-header h1, #music-header h1, #cast-header h1 {
    color: #ffffff;
    text-shadow: 2px 2px 0 #9900ff, -2px -2px 0 #00ff99; /* Purple and Teal */
    font-size: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 15px;
    margin-bottom: 10px;
    font-family: 'VT323', monospace;
}

#guestbook-header p, #contact-header p, #music-header p, #cast-header p {
    font-size: 20px;
    color: #ffffff;
    line-height: 1.4;
    margin-bottom: 20px;
}

.contact-email {
    font-size: 32px;
    font-weight: bold;
    color: #00ff00; /* Bright green for emphasis */
    margin: 30px 0;
    font-family: 'VT323', monospace;
}

.contact-email a {
    color: #00ff00;
    text-decoration: underline;
    text-shadow: 2px 2px #000;
}

.contact-email a:hover {
    color: #ffff00;
}

.spin-icon {
    animation: spin 2s linear infinite;
}

@keyframes spin {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

.under-construction {
    border: 4px dashed #ff0000;
    padding: 20px;
    background-color: #ffff00;
    color: #000000;
    font-weight: bold;
    text-align: center;
    margin: 20px;
}

.under-construction p {
    font-size: 24px;
    color: #ff0000;
    text-shadow: 2px 2px #ffffff;
    font-family: 'VT323', monospace;
}

.construction-img {
    width: 100px;
    height: auto;
    margin-bottom: 15px;
}

footer {
    margin-top: 20px;
    padding-top: 15px;
    border-top: 2px solid #ffffff;
    font-size: 12px;
    color: #c0c0c0;
}

#hit-counter {
    margin-bottom: 15px;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 10px;
}

#hit-counter p {
    font-family: 'VT323', monospace;
    font-size: 16px;
    color: #ffffff;
}

#counter-img {
    height: 25px;
}

#mouse-trail-container {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    pointer-events: none;
    z-index: 9999;
}

.trail-image {
    position: absolute;
    width: 32px;
    height: 32px;
    user-select: none;
}

/* Guestbook Form Styles */
#guestbook-form-section {
    border: 2px dashed #00ff00;
    padding: 20px;
    margin-top: 20px;
    background-color: rgba(0, 0, 0, 0.3);
}

#guestbook-form-section h2 {
    font-size: 28px;
    font-family: 'VT323', monospace;
    color: #ffff00;
    text-shadow: 2px 2px #ff00ff;
}

#guestbook-form {
    display: flex;
    flex-direction: column;
    gap: 8px;
    color: #ffffff;
    font-size: 16px;
}

#guestbook-form input, #guestbook-form textarea {
    background: #ffffff;
    color: #000000;
    border: 2px inset #808080;
    font-family: Arial, sans-serif;
    font-size: 14px;
    flex-grow: 1;
}

#guestbook-submit-btn {
    margin: 20px auto 0 auto;
    padding: 10px 20px;
    font-size: 24px;
    font-family: 'VT323', monospace;
    color: #000000;
    background-color: #c0c0c0;
    border-top: 3px outset #ffffff;
    border-left: 3px outset #ffffff;
    border-right: 3px inset #808080;
    border-bottom: 3px inset #808080;
    cursor: pointer;
    font-weight: bold;
}

#guestbook-submit-btn:active {
    background: #808080;
    border-top: 3px inset #808080;
    border-left: 3px inset #808080;
    border-right: 3px outset #ffffff;
    border-bottom: 3px outset #ffffff;
}

.guestbook-divider {
    border: 0;
    height: 5px;
    background-image: repeating-linear-gradient(45deg, #ff00ff, #ff00ff 10px, #ffff00 10px, #ffff00 20px);
    margin: 30px 0;
}

/* Guestbook Entries Styles */
#guestbook-entries h2 {
    font-size: 28px;
    font-family: 'VT323', monospace;
    color: #00ff00;
}

#entries-container {
    display: flex;
    flex-direction: column-reverse; /* Newest entries on top */
    gap: 15px;
}

.guestbook-entry {
    background-color: #000033; /* Dark navy blue */
    border: 3px ridge #c0c0c0;
    padding: 10px;
    text-align: left;
    color: #ffffff;
}

.guestbook-entry.bunzi-entry-interactive {
    border-color: #ff0000; /* Highlight Bunzi's entry */
    box-shadow: 0 0 15px #ff0000; /* Add a glowing effect */
    animation: pulse-border 1.5s infinite alternate; /* Animate the border */
}

@keyframes pulse-border {
    from {
        border-color: #ff0000;
        box-shadow: 0 0 5px #ff0000, 0 0 10px #ff0000;
    }
    to {
        border-color: #ffff00;
        box-shadow: 0 0 10px #ffff00, 0 0 20px #ffff00;
    }
}

.entry-header {
    background-color: #c0c0c0;
    color: #000000;
    padding: 5px;
    font-size: 14px;
    border-bottom: 2px solid #808080;
    margin: -10px -10px 10px -10px; /* Fill header width */
    font-family: 'VT323', monospace;
}

.entry-header strong {
    font-weight: bold;
}

.entry-message {
    font-size: 16px;
    line-height: 1.5;
    white-space: pre-wrap; /* Respect line breaks */
    word-wrap: break-word; /* Prevent long words from overflowing */
    color: #ffff00; /* Yellow text for message */
    text-shadow: 1px 1px #000;
}

/* Music Page Styles */
#music-header h1 {
    text-shadow: 2px 2px 0 #cc33ff, -2px -2px 0 #00ccff; /* Purple and Cyan */
}

#music-list {
    display: flex;
    flex-direction: column;
    gap: 20px;
    margin-top: 30px;
}

.music-item {
    background: #000000; /* Black */
    border: 4px outset #ffcc00; /* Orange-yellow border */
    padding: 15px;
    text-align: left;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.music-item.corrupted {
    border-color: #ff0000; /* Red border for corrupted */
}

.music-item h3 {
    font-size: 26px;
    color: #00ff00; /* Green title */
    margin: 0 0 10px 0;
    font-family: 'VT323', monospace;
    display: flex; /* Added to align icon with text */
    align-items: center; /* Added to align icon with text */
    gap: 8px; /* Space between text and icon */
}

.music-item .music-desc {
    color: #ffffff;
    font-size: 16px;
    text-shadow: 1px 1px #000;
    margin-bottom: 15px;
    line-height: 1.5;
}

.play-music-btn {
    padding: 10px 20px;
    font-size: 20px;
    font-family: 'VT323', monospace;
    color: #000000;
    background-color: #c0c0c0; /* Silver */
    border-top: 3px outset #ffffff;
    border-left: 3px outset #ffffff;
    border-right: 3px inset #808080;
    border-bottom: 3px inset #808080;
    cursor: pointer;
    font-weight: bold;
    align-self: flex-end; /* Align button to the right */
    min-width: 100px; /* Ensure consistent width */
    text-align: center;
}

.play-music-btn:active {
    background: #808080; /* Darker grey */
    border-top: 3px inset #808080;
    border-left: 3px inset #808080;
    border-right: 3px outset #ffffff;
    border-bottom: 3px outset #ffffff;
}

.play-music-btn.playing {
    background-color: #00ff00; /* Green when playing */
    border-color: #00cc00; /* Darker green */
}

/* New Cast Page Styles */
#cast-header h1 {
    color: #ffffff;
    text-shadow: 2px 2px 0 #ffff00, -2px -2px 0 #ff33cc; /* Yellow and Pink */
}

#character-profiles {
    display: flex;
    flex-direction: column;
    gap: 25px;
    margin-top: 30px;
}

.character-profile {
    background: #000000; /* Black background */
    border: 4px outset #ffcc00; /* Orange-yellow border */
    padding: 15px;
    text-align: center;
}

.character-profile h2 {
    font-size: 28px;
    color: #00ff00; /* Green name */
    margin: 0 0 15px 0;
    font-family: 'VT323', monospace;
    text-decoration: underline;
}

.character-img {
    width: 200px; /* Consistent size for character images */
    height: auto;
    border: 5px double #9900ff; /* Purple double border */
    background: radial-gradient(circle, #ffccff, #cc66ff); /* Pinkish-purple gradient */
    margin-bottom: 15px;
    animation: character-pulse 1.8s infinite alternate; /* Soft pulse for characters */
}

@keyframes character-pulse {
    0% {
        transform: scale(1);
        box-shadow: 0 0 5px 2px rgba(153, 0, 255, 0.4);
    }
    100% {
        transform: scale(1.01);
        box-shadow: 0 0 10px 4px rgba(153, 0, 255, 0.6);
    }
}

.character-profile p {
    color: #ffffff;
    font-size: 16px;
    line-height: 1.5;
    text-shadow: 1px 1px #000;
}

/* New Chat Page Styles */
#chat-header h1 {
    color: #ffffff;
    text-shadow: 2px 2px 0 #00ffff, -2px -2px 0 #ff9900; /* Cyan and Orange */
    font-size: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 15px;
    margin-bottom: 10px;
    font-family: 'VT323', monospace;
}

#chat-header p {
    font-size: 20px;
    color: #ffffff;
    line-height: 1.4;
    margin-bottom: 30px;
}

#chat-area-container {
    background-color: #000033; /* Dark navy */
    border: 4px outset #ffcc00; /* Yellow */
    padding: 15px;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

#chat-display {
    height: 400px; /* Fixed height for chat history */
    background-color: #000000; /* Black chat background */
    border: 2px inset #c0c0c0; /* Silver inset */
    padding: 10px;
    overflow-y: auto; /* Enable scrolling */
    display: flex;
    flex-direction: column;
    gap: 10px;
    align-items: flex-start; /* Default for messages */
    word-wrap: break-word;
}

.chat-message {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    max-width: 90%;
}

.chat-avatar {
    width: 48px;
    height: 48px;
    border-radius: 50%; /* Make avatars round */
    border: 2px solid #ff00ff; /* Magenta border */
    flex-shrink: 0;
    object-fit: cover; /* Ensure image fits */
}

.message-bubble {
    background-color: #333333; /* Dark grey bubble */
    color: #ffffff;
    padding: 8px 12px;
    border-radius: 15px;
    border: 1px solid #666666;
    text-align: left;
    font-size: 16px;
    line-height: 1.4;
    flex-grow: 1;
}

.message-sender {
    font-weight: bold;
    color: #ffff00; /* Yellow for names */
    margin-right: 5px;
}

.user-message {
    align-self: flex-end; /* Align user messages to the right */
    flex-direction: row-reverse; /* Swap avatar and bubble */
}

.user-message .message-bubble {
    background-color: #00008b; /* Dark blue for user */
    border-color: #00ffff; /* Cyan border */
}

.user-message .message-sender {
    color: #00ff00; /* Green for user name */
}

.bunzi-message .message-bubble {
    background-color: #800080; /* Purple for Bunzi */
    border-color: #ff00ff; /* Magenta border */
}

#chat-input-area {
    display: flex;
    gap: 10px;
    margin-top: 10px;
}

#chat-message-input {
    flex-grow: 1;
    padding: 8px;
    font-size: 16px;
    background-color: #ffffff;
    color: #000000;
    border: 2px inset #808080;
    font-family: Arial, sans-serif;
    resize: vertical; /* Allow vertical resizing */
    min-height: 40px; /* Minimum height */
    overflow-y: auto; /* Show scrollbar if content exceeds height */
}

#send-chat-btn {
    padding: 10px 20px;
    font-size: 20px;
    font-family: 'VT323', monospace;
    color: #000000;
    background-color: #c0c0c0;
    border-top: 3px outset #ffffff;
    border-left: 3px outset #ffffff;
    border-right: 3px inset #808080;
    border-bottom: 3px inset #808080;
    cursor: pointer;
    font-weight: bold;
    flex-shrink: 0;
}

#send-chat-btn:active {
    background: #808080;
    border-top: 3px inset #808080;
    border-left: 3px inset #808080;
    border-right: 3px outset #ffffff;
    border-bottom: 3px outset #ffffff;
}

#chat-loading {
    margin-top: 10px;
    font-size: 20px;
    color: #00ff00;
}

/* New Maintenance Page Styles */
#maintenance-header h1 {
    color: #ffffff;
    text-shadow: 2px 2px 0 #ff0000, -2px -2px 0 #0000ff; /* Red and Blue */
    font-size: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 15px;
    margin-bottom: 10px;
    font-family: 'VT323', monospace;
}

#maintenance-header p {
    font-size: 20px;
    color: #ffffff;
    line-height: 1.4;
    margin-bottom: 30px;
}

#code-entry-section {
    background-color: #000000;
    border: 4px outset #ff00ff; /* Magenta */
    padding: 20px;
    margin: 20px auto;
}

#code-input-area {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 15px;
    margin-bottom: 20px;
}

#code-input-area label {
    font-size: 24px;
    color: #ffff00;
    font-family: 'VT323', monospace;
    text-shadow: 2px 2px #000;
}

#security-code {
    width: 150px;
    padding: 8px;
    font-size: 24px;
    text-align: center;
    background-color: #00008b; /* Dark blue */
    color: #00ff00; /* Green text */
    border: 2px inset #c0c0c0; /* Silver inset border */
    font-family: 'VT323', monospace;
}

#code-submit-btn {
    padding: 10px 25px;
    font-size: 24px;
    font-family: 'VT323', monospace;
    color: #000000;
    background-color: #c0c0c0;
    border-top: 3px outset #ffffff;
    border-left: 3px outset #ffffff;
    border-right: 3px inset #808080;
    border-bottom: 3px inset #808080;
    cursor: pointer;
    font-weight: bold;
}

#code-submit-btn:active {
    background: #808080;
    border-top: 3px inset #808080;
    border-left: 3px inset #808080;
    border-right: 3px outset #ffffff;
    border-bottom: 3px outset #ffffff;
}

#code-message {
    font-size: 22px;
    font-weight: bold;
    margin-top: 10px;
    min-height: 25px; /* To prevent layout shift when message appears */
}

#secret-content {
    /* This section is now technically unused, as we navigate away. 
       Keeping styles for reference or if re-used later. */
    background-color: #330033; /* Darker purple */
    border: 4px outset #ff0000; /* Red */
    padding: 20px;
    margin-top: 25px;
    text-align: left;
    color: #ffffff;
}

#secret-content p {
    font-size: 16px;
    line-height: 1.6;
    margin-bottom: 15px;
}

#secret-content strong {
    color: #ffff00;
}

#secret-content em {
    font-style: italic;
    color: #ff33cc;
}

#format-warning-trigger {
    cursor: pointer;
    display: inline-block; /* Allows padding and transforms if needed */
    text-decoration: underline; /* Indicate clickability */
    transition: color 0.1s;
}

#format-warning-trigger:hover {
    color: #ffff00; /* Change color on hover */
}

/* NEW: Full-Screen Format Drive Page Styles */
#format-drive-page {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background-color: black;
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 9998; /* Below mouse trail (9999) */
}

#red-door {
    width: 300px;
    height: 400px;
    background-color: red;
    border: 8px outset darkred; /* More pronounced 90s border */
    display: flex;
    justify-content: center;
    align-items: center;
    font-family: 'VT323', monospace;
    font-size: 60px;
    color: white;
    text-shadow: 5px 5px 0px black;
    cursor: pointer;
    user-select: none; /* Prevent text selection */
    transition: all 0.1s ease-in-out; /* For hover/active effect */
}

#red-door:hover {
    transform: scale(1.05); /* Slight zoom on hover */
    border-color: #ff3333; /* Lighter red */
}

#red-door:active {
    transform: scale(0.98); /* Slight press on click */
    border-style: inset; /* Inset border when active */
    background-color: darkred;
}

/* Secret Archive Content Styles */
#secret-archive-content {
    width: 800px;
    margin: 15px auto;
    background: #000000; /* Black background for the secret site */
    border: 5px ridge #ff0000; /* Red ridge border */
    padding: 10px;
    box-shadow: 8px 8px 0px #800080; /* Purple shadow */
    color: #cc00ff; /* Purple-pink text */
    text-align: center;
    font-family: 'VT323', monospace;
    font-size: 18px;
}

#secret-logo {
    max-width: 80%; /* Larger and more prominent */
    margin-bottom: 15px;
    border: 3px dotted #00ffff; /* Cyan dotted border */
    padding: 5px;
    animation: glitch-flicker 0.1s infinite alternate; /* Constant slight glitch */
}

@keyframes glitch-flicker {
    0% {
        filter: hue-rotate(0deg) contrast(100%) brightness(100%);
        transform: translate(0px, 0px);
    }
    100% {
        filter: hue-rotate(5deg) contrast(105%) brightness(95%);
        transform: translate(0.5px, 0.5px);
    }
}

.secret-marquee {
    margin-top: 15px;
    font-size: 28px;
    font-weight: bold;
    color: #ff0000; /* Red for warning */
    background-color: #330033; /* Dark purple background */
    padding: 5px;
    border: 3px dashed #ff0000;
}

#secret-archive-content main {
    padding: 20px;
    margin-top: 20px;
    border: 4px solid #800080; /* Purple border for main content */
    background-color: rgba(0, 0, 0, 0.5); /* Slightly transparent black */
}

.secret-section {
    background-color: #1a001a; /* Darker purple for sections */
    border: 3px outset #ff00ff; /* Magenta outset border */
    padding: 15px;
    margin-bottom: 25px;
    text-align: left;
}

.secret-section h1 {
    font-size: 32px;
    color: #ffff00; /* Yellow headings */
    text-shadow: 2px 2px #ff0000; /* Red shadow */
    margin-top: 0;
    margin-bottom: 15px;
    text-decoration: underline;
    font-family: 'VT323', monospace;
    text-align: center;
}

.secret-section p {
    color: #c0c0c0; /* Lighter grey for main text */
    line-height: 1.6;
    margin-bottom: 10px;
}

.secret-section strong {
    color: #00ff00; /* Green for important text */
}

.secret-text-small {
    font-size: 14px;
    color: #ff9900; /* Orange-yellow for small warnings */
    font-style: italic;
    text-align: center;
    margin-top: 20px;
}

.secret-img {
    max-width: 80%;
    border: 5px double #ff0000; /* Red double border */
    margin: 20px auto;
    display: block; /* Center image */
}

.log-entry, .report-entry {
    background-color: #000000; /* Black for individual entries */
    border: 2px solid #ff0000; /* Red solid border */
    padding: 10px;
    margin-bottom: 15px;
    display: flex;
    align-items: center;
    gap: 10px;
    position: relative; /* For icon positioning */
}

.log-entry p, .report-entry p {
    flex-grow: 1;
    margin: 0;
    color: #ffffff; /* White text for log details */
    font-size: 16px;
}

.log-entry strong {
    color: #ff0000; /* Red for emphasis in logs */
}

.report-entry h3 {
    color: #00ffff; /* Cyan for report titles */
    font-size: 20px;
    margin-top: 0;
    margin-bottom: 5px;
    text-decoration: none;
    text-align: left;
}

.log-icon {
    width: 48px; /* Size for blood splatter or other small icons */
    height: auto;
    flex-shrink: 0;
    position: absolute;
    right: 5px;
    top: 5px;
    opacity: 0.7;
}

/* NEW: Archived Chat Styles */
#chat-archive-list-container {
    display: flex;
    flex-direction: column;
    gap: 20px;
    margin-top: 20px;
    background-color: #000000;
    border: 3px solid #00ffff;
    padding: 15px;
}

#chat-archive-list {
    display: flex;
    flex-direction: column;
    gap: 10px;
    max-height: 400px; /* Constrain height */
    overflow-y: auto; /* Enable scrolling */
    padding-right: 5px; /* Space for scrollbar */
}

.chat-archive-item {
    background-color: #330033; /* Dark purple */
    border: 2px outset #ff00ff; /* Magenta */
    padding: 10px;
    text-align: left;
    cursor: pointer;
    transition: background-color 0.1s;
}

.chat-archive-item h3 {
    font-size: 20px;
    color: #ffff00;
    margin: 0;
    font-family: 'VT323', monospace;
}

.chat-archive-item:hover {
    background-color: #4d004d; /* Slightly lighter purple on hover */
    border-style: inset;
}

#archived-chat-display {
    background-color: #1a001a; /* Even darker purple */
    border: 2px inset #00ff00; /* Green */
    padding: 15px;
    margin-top: 20px; /* Space between list and display if both shown (rare) */
    text-align: left;
    color: #ffffff;
    flex-direction: column; /* For back button and chat messages */
    gap: 10px;
    max-height: 500px; /* Fixed height for viewing */
    overflow-y: auto;
}

#archived-chat-display .chat-message {
    max-width: 95%; /* Adjust width for archived display */
}

#archived-chat-display .chat-avatar {
    border-color: #808080; /* Grey border for archived avatars */
}

#archived-chat-display .message-bubble {
    border-color: #808080; /* Grey border for archived bubbles */
}

/* NEW: Merch Page Styles */
#merch-content {
    background-color: rgba(0, 0, 0, 0.2);
    padding: 15px;
    margin-top: 15px;
    border: 4px dotted #ffff00;
}

#merch-header h1 {
    color: #ffffff;
    text-shadow: 2px 2px 0 #9900ff, -2px -2px 0 #00ff00; /* Purple and Green */
    font-size: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 15px;
    margin-bottom: 10px;
    font-family: 'VT323', monospace;
}

#merch-header p {
    font-size: 20px;
    color: #ffffff;
    line-height: 1.4;
    margin-bottom: 30px;
}

.merch-category {
    background: #000000; /* Black background */
    border: 4px outset #ffcc00; /* Orange-yellow border */
    padding: 15px;
    margin-bottom: 25px;
    text-align: center;
}

.merch-category h2 {
    font-size: 28px;
    color: #00ff00; /* Green heading */
    text-shadow: 2px 2px #ff0000; /* Red shadow */
    margin-top: 0;
    margin-bottom: 20px;
    text-decoration: underline;
    font-family: 'VT323', monospace;
}

.merch-grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 20px;
}

.merch-item {
    background-color: #330033; /* Dark purple */
    border: 3px solid #ff00ff; /* Magenta border */
    padding: 10px;
    text-align: center;
    width: 30%; /* Approx three columns for items */
    box-shadow: 5px 5px 0px #000000;
    display: flex; /* For internal layout */
    flex-direction: column;
    justify-content: space-between; /* Push button to bottom */
}

.merch-item h3 {
    font-size: 22px;
    color: #ffff00; /* Yellow title */
    margin-top: 0;
    margin-bottom: 10px;
    font-family: 'VT323', monospace;
}

.merch-item p {
    font-size: 16px;
    color: #ffffff;
    margin-top: 5px;
    margin-bottom: 10px;
    line-height: 1.4;
    flex-grow: 1; /* Allow text to grow and push price/button down */
}

.merch-img {
    max-width: 100%;
    height: auto;
    border: 2px solid #00ffff; /* Cyan border */
    margin-bottom: 10px;
}

.merch-img-wide { /* For landscape images like logos */
    max-width: 100%;
    height: auto;
    border: 2px solid #00ffff;
    margin-bottom: 10px;
    transform: scale(0.95); /* Make it slightly smaller to fit better */
}

.merch-price {
    font-size: 20px;
    font-weight: bold;
    color: #ff33cc; /* Pink for price */
    margin-top: 10px;
    margin-bottom: 15px;
}

.add-to-cart-btn {
    padding: 8px 15px;
    font-size: 18px;
    font-family: 'VT323', monospace;
    color: #000000;
    background-color: #c0c0c0;
    border-top: 3px outset #ffffff;
    border-left: 3px outset #ffffff;
    border-right: 3px inset #808080;
    border-bottom: 3px inset #808080;
    cursor: pointer;
    font-weight: bold;
    width: 80%; /* Make button fill most of item width */
    margin: 0 auto;
}

.add-to-cart-btn:active {
    background: #808080;
    border-top: 3px inset #808080;
    border-left: 3px inset #808080;
    border-right: 3px outset #ffffff;
    border-bottom: 3px outset #ffffff;
}