/* Streets of Rage Palette */
:root {
    --bg-dark: #101028;
    --neon-purple: #a800a8;
    --neon-blue: #0088f8;
    --neon-yellow: #f8d800;
    --text-white: #f8f8f8;
}

body {
    background-color: var(--bg-dark);
    color: var(--text-white);
    font-family: 'Press Start 2P', cursive;
    margin: 0;
    padding: 20px;
    line-height: 1.6;
}

#wrapper {
    display: flex;
    max-width: 1000px;
    margin: 0 auto;
    gap: 20px;
}

/* SIDEBAR NAVIGATION */
#sidebar {
    width: 200px;
    background: #000;
    border: 4px solid var(--neon-purple);
    padding: 20px;
    box-shadow: 4px 4px 0px var(--neon-blue);
}

.profile-box {
    text-align: center;
    border-bottom: 4px double var(--neon-purple);
    margin-bottom: 20px;
    padding-bottom: 10px;
}

.profile-box img {
    border: 2px solid var(--neon-yellow);
    image-rendering: pixelated;
}

.nav-links {
    list-style: none;
    padding: 0;
}

.nav-links li {
    margin-bottom: 15px;
}

.nav-links a {
    color: var(--text-white);
    text-decoration: none;
    font-size: 0.8rem;
}

.nav-links a:hover, .nav-links a.active {
    color: var(--neon-yellow);
    text-shadow: 2px 2px var(--neon-purple);
}

/* MAIN CONTENT */
#content {
    flex-grow: 1;
    background: rgba(0, 0, 0, 0.7);
    border: 4px solid var(--neon-blue);
    padding: 30px;
    box-shadow: 6px 6px 0px var(--neon-purple);
}

h1.blink-title {
    color: var(--neon-yellow);
    font-size: 2rem;
    margin: 0;
}

.neon-line {
    border: 0;
    height: 4px;
    background: var(--neon-purple);
    margin: 20px 0;
}

.game-box {
    background: #181830;
    border: 2px solid var(--text-white);
    padding: 40px;
    margin-top: 40px;
    margin-bottom: 40px;
    font-size: 0.7rem;
}

h2, h3 {
    color: var(--neon-blue);
    margin-top: 0;
}

/* Effects */
.stats-box {
    margin-top: 50px;
    color: var(--neon-yellow);
    font-size: 0.6rem;
}

/* Basic Link Style */
a {
    color: var(--neon-blue);
}

/* Health Bar UI */
.ui-header {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 30px;
    background: #000;
    padding: 5px;
    border: 2px solid var(--text-white);
}

.name-tag {
    color: var(--neon-yellow);
    font-size: 0.8rem;
}

.health-container {
    flex-grow: 1;
    height: 15px;
    background: #444;
    border: 2px solid var(--text-white);
}

.health-bar {
    width: 85%; /* Current Health */
    height: 100%;
    background: var(--neon-yellow);
    /* Streets of Rage health bars were yellow then turned red */
    box-shadow: inset -10px 0px 0px #d8a000; 
}

/* Neon Action Button */
.action-btn {
    display: inline-block;
    padding: 15px 25px;
    margin: 20px 0;
    color: var(--neon-yellow);
    border: 4px double var(--neon-yellow);
    text-decoration: none;
    font-size: 0.9rem;
    transition: all 0.2s;
}

.action-btn:hover {
    background: var(--neon-yellow);
    color: #000;
    box-shadow: 0 0 15px var(--neon-yellow);
}

/* Make the Guestbook link stand out */
.guestbook-link {
    color: var(--neon-blue) !important;
    text-decoration: underline !important;
}

/* Container for the Guestbook */
.guestbook-boss-area {
    border: 4px solid var(--neon-purple) !important;
    background: #000 !important;
}

.iframe-wrapper {
    margin-top: 20px;
    border: 4px inset var(--neon-blue);
    background: #fff; /* Acts as a fallback background */
    overflow: hidden;
    line-height: 0; /* Removes weird spacing at the bottom */
}

/* Customizing the Scrollbar for the Main Content */
#content::-webkit-scrollbar {
    width: 10px;
}
#content::-webkit-scrollbar-track {
    background: var(--bg-dark);
}
#content::-webkit-scrollbar-thumb {
    background: var(--neon-purple);
    border: 2px solid var(--neon-blue);
}

.sound-test-box {
    margin-top: 30px;
    padding: 10px;
    border: 2px solid var(--neon-yellow);
    background: #000;
    text-align: center;
}

.ui-label {
    font-size: 0.6rem;
    color: var(--neon-yellow);
    margin-bottom: 10px;
    letter-spacing: 2px;
}

.track-info {
    background: #181830;
    padding: 8px;
    border: 2px inset var(--neon-blue);
    margin-bottom: 10px;
    overflow: hidden;
}

#track-name {
    font-size: 0.5rem;
    color: #fff;
    white-space: nowrap;
    display: inline-block;
    /* Optional: making it scroll like a marquee */
    animation: marquee 5s linear infinite;
}

.audio-controls {
    display: flex;
    justify-content: space-around;
}

.ctrl-btn {
    background: transparent;
    border: 2px outset var(--neon-purple);
    color: var(--text-white);
    font-family: 'Press Start 2P', cursive;
    font-size: 0.5rem;
    padding: 5px 10px;
    cursor: pointer;
}

.ctrl-btn:active {
    border-style: inset;
    color: var(--neon-yellow);
}

@keyframes marquee {
    0% { transform: translateX(100%); }
    100% { transform: translateX(-100%); }
}

/* Stats Bar Styling */
.stats-grid {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.stat-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.stat-bar {
    width: 60%;
    height: 12px;
    background: #444;
    border: 2px solid var(--text-white);
}

.stat-bar .fill {
    height: 100%;
    background: var(--neon-yellow);
    box-shadow: inset -5px 0px 0px #d8a000;
}

/* Item List for Links */
.item-list {
    list-style: none;
    padding: 0;
}

.item-list li {
    margin: 20px 0;
}

.item-list a {
    color: var(--neon-blue);
    text-decoration: none;
    font-size: 0.8rem;
}

.item-list a:hover {
    color: var(--neon-yellow);
    background: var(--neon-purple);
}