button {
    all: unset;
    cursor: pointer;
    box-sizing: border-box;
}

/* GRID BACKGROUND ANIMATION */
html {
    height: 100%;
    overflow-y: auto;
    overflow-x: hidden;
}

body {
    position: relative;
    height: 100vh;
    margin: 0;
    padding: 30px;
    background: linear-gradient(
        #000000 25%,
        #ff3131 50%,
        #ff3131 50%,
        #000000 100%
    );
    background-attachment: fixed;
    font-family: "Orbitron", "Courier New", monospace;
    color: red;
}

.wrap {
    width: 100%;
    height: 100%;
    position: fixed;
    top: 0;
    left: 0;
    margin: 0 auto;
    perspective: 360px;
    perspective-origin: 50% 50%;
    pointer-events: none;
    z-index: 0;
}

.top-plane {
    width: 200%;
    height: 130%;
    position: absolute;
    bottom: -30%;
    left: -50%;
    background-image: 
        linear-gradient(#ff3131 2px, transparent 2px),
        linear-gradient(to right, #ff3131 2px, transparent 2px);
    background-size: 100px 100px, 100px 100px;
    background-position: -1px -1px, -1px -1px;
    transform: rotateX(85deg);
    animation: planeMoveTop 2s infinite linear;
}

.bottom-plane {
    width: 200%;
    height: 130%;
    position: absolute;
    top: -30%;
    left: -50%;
    background-image: 
        linear-gradient(#ff3131 2px, transparent 2px),
        linear-gradient(to right, #ff3131 2px, transparent 2px);
    background-size: 100px 100px, 100px 100px;
    background-position: -1px -1px, -1px -1px;
    transform: rotateX(-85deg);
    animation: planeMoveBot 2s infinite linear;
}

@keyframes planeMoveTop {
    from {
        background-position: 0px -100px, 0px 0px;
    }
    to {
        background-position: 0px 0px, 100px 0px;
    }
}

@keyframes planeMoveBot {
    from {
        background-position: 0px 0px, 0px 0px;
    }
    to {
        background-position: 0px -100px, 100px 0px;
    }
}

@media (max-height: 350px) {
    .wrap {
        perspective: 210px;
    }
}

/* OVERALL STYLE STUFFS */
body {
    font-family: "Orbitron", "Courier New", monospace;
    color: red;
    margin: 0;
    padding: 30px;
}

header h1 {
    font-family: "Audiowide", "Courier New", monospace;
    font-size: 2em;
    letter-spacing: 2px;
    margin-bottom: 5px;
}
h1, h2, h3, h4 {font-family: "Audiowide", "Courier New", monospace;
    margin: 0;
    padding: 0;
}

 p {
    margin: 0;
    padding: 0;
     font-size: small;
}

.nextbox a:link {
    color:blueviolet;
    background-color: transparent;
    text-decoration: none;
}
.nextbox a:visited {
    color:darkred;
    background: transparent;
    text-decoration: none;
}

.performancebox a:link {
    color:blueviolet;
    background-color: transparent;
    text-decoration: none;
}
.performancebox a:visited {
    color:darkred;
    background: transparent;
    text-decoration: none;
}

.recentblogbox a:link {
    color:blueviolet;
    background-color: transparent;
    text-decoration: none;
}
.recentblogbox a:visited {
    color:darkred;
    background: transparent;
    text-decoration: none;
}

/* MAINCONTAINER */
.maincontainer {
    position: relative;
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
    background-color: black; 
    border: 10px double red;
    padding: 10px;
    display: flex;
    flex-direction: column;
    gap: 10px;
    box-shadow: 0 0 20px red;
    z-index: 1;
}

/* HEADER STUFFS AND MARQUEES */
header {
    text-align: center;
}

header h1 {
    font-size: 2em;
    letter-spacing: 2px;
    margin-bottom: 5px;
}

header marquee {
    display: block;
    border: 4px dotted red; 
    padding: 3px;
    margin-bottom: 10px;
    color: red;
    background: black;
}

footer marquee {
    display: block;
    border: 2px solid red; 
    padding: 3px;
    margin-top: 10px;
    color: red;
    background: black;
    font-size:10px
}

/* NAV STUFFS */
nav {
    display: flex;
    justify-content: space-evenly;
    margin-bottom: 10px;
}

nav a {
    color: red !important;
    text-decoration: none;
    border: 2px solid red;
    background: black;
    padding: 5px 15px;
    font-weight: bold;
    font-family: "Audiowide", "Courier New", monospace;
    transition: all 0.2s ease-in-out;
    position: relative;
}

/* this might be unneeded now but i'm afraid to change it*/
@keyframes pulseGlow {
    0%, 100% {
        filter: drop-shadow(0 0 3px red) drop-shadow(0 0 6px red);
    }
    50% {
        filter: drop-shadow(0 0 6px red) drop-shadow(0 0 12px red);
    }
}

/* nav hover effects */
nav a:hover {
    background: black !important; 
    color: red !important; 
    transform: translateY(-3px);
    animation: pulseGlow 2s ease-in-out infinite alternate;
}

/* NAV ACTIVE TAB WITH SCREEN TEAR GLITCH */
nav a.active {
    background: black !important;
    color: red !important;
    transform: translateY(-2px);
    animation: pulseGlow 3s ease-in-out infinite alternate;
}

nav a.active::before,
nav a.active::after {
    content: attr(data-text);
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    padding: 5px 15px;
    pointer-events: none;
    opacity: 0;
    overflow: hidden;
    background: black;
}

nav a.active.glitch {
    animation: navShake 0.5s ease-in-out, pulseGlow 3s ease-in-out infinite alternate;
}

nav a.active.glitch::before {
    animation: navTearLeft 0.5s ease-in-out;
    color: #ff00ff;
    z-index: 1;
}

nav a.active.glitch::after {
    animation: navTearRight 0.5s ease-in-out;
    color: #00ffff;
    z-index: 2;
}

@keyframes navShake {
    0%, 100% {
        transform: translateY(-2px) translate(0, 0);
    }
    10% {
        transform: translateY(-2px) translate(-2px, 0);
    }
    20% {
        transform: translateY(-2px) translate(2px, 0);
    }
    30% {
        transform: translateY(-2px) translate(-1px, 0);
    }
    40% {
        transform: translateY(-2px) translate(3px, 0);
    }
    50% {
        transform: translateY(-2px) translate(-2px, 0);
    }
    60% {
        transform: translateY(-2px) translate(1px, 0);
    }
    70% {
        transform: translateY(-2px) translate(-3px, 0);
    }
    80% {
        transform: translateY(-2px) translate(2px, 0);
    }
    90% {
        transform: translateY(-2px) translate(-1px, 0);
    }
}

@keyframes navTearLeft {
    0%, 100% {
        opacity: 0;
        clip-path: inset(0 0 0 0);
        transform: translateX(0);
    }
    5% {
        opacity: 0.8;
        clip-path: inset(23% 0 67% 0);
        transform: translateX(-8px);
    }
    15% {
        opacity: 0.7;
        clip-path: inset(61% 0 12% 0);
        transform: translateX(-5px);
    }
    25% {
        opacity: 0.9;
        clip-path: inset(8% 0 88% 0);
        transform: translateX(-10px);
    }
    35% {
        opacity: 0.6;
        clip-path: inset(47% 0 31% 0);
        transform: translateX(-6px);
    }
    45% {
        opacity: 0.8;
        clip-path: inset(72% 0 15% 0);
        transform: translateX(-9px);
    }
    55% {
        opacity: 0.7;
        clip-path: inset(19% 0 73% 0);
        transform: translateX(-7px);
    }
    65% {
        opacity: 0.9;
        clip-path: inset(54% 0 28% 0);
        transform: translateX(-11px);
    }
    75% {
        opacity: 0.6;
        clip-path: inset(33% 0 59% 0);
        transform: translateX(-5px);
    }
    85% {
        opacity: 0.8;
        clip-path: inset(68% 0 7% 0);
        transform: translateX(-8px);
    }
    95% {
        opacity: 0.5;
        clip-path: inset(11% 0 81% 0);
        transform: translateX(-4px);
    }
}

@keyframes navTearRight {
    0%, 100% {
        opacity: 0;
        clip-path: inset(0 0 0 0);
        transform: translateX(0);
    }
    8% {
        opacity: 0.7;
        clip-path: inset(41% 0 48% 0);
        transform: translateX(7px);
    }
    18% {
        opacity: 0.9;
        clip-path: inset(77% 0 9% 0);
        transform: translateX(9px);
    }
    28% {
        opacity: 0.6;
        clip-path: inset(14% 0 79% 0);
        transform: translateX(5px);
    }
    38% {
        opacity: 0.8;
        clip-path: inset(52% 0 36% 0);
        transform: translateX(11px);
    }
    48% {
        opacity: 0.7;
        clip-path: inset(29% 0 64% 0);
        transform: translateX(6px);
    }
    58% {
        opacity: 0.9;
        clip-path: inset(66% 0 18% 0);
        transform: translateX(10px);
    }
    68% {
        opacity: 0.6;
        clip-path: inset(7% 0 86% 0);
        transform: translateX(8px);
    }
    78% {
        opacity: 0.8;
        clip-path: inset(44% 0 42% 0);
        transform: translateX(7px);
    }
    88% {
        opacity: 0.7;
        clip-path: inset(81% 0 3% 0);
        transform: translateX(9px);
    }
    98% {
        opacity: 0.5;
        clip-path: inset(26% 0 68% 0);
        transform: translateX(4px);
    }
}

/* nav current tab */
nav a:visited {
    color: red !important;
}

/* SHAKE EFFECT FOR ALL NON-NAV LINKS */
a:not(nav a) {
    position: relative;
    display: inline-block;
}

a:not(nav a):hover {
    animation: linkShake 0.3s ease-in-out;
}

@keyframes linkShake {
    0%, 100% { transform: translate(0, 0); }
    25% { transform: translate(-1px, 0); }
    50% { transform: translate(1px, 0); }
    75% { transform: translate(-1px, 0); }
}

/* GRID LAYOUT */
main {
    display: grid;
    grid-template-columns: 1fr 2fr 0.6fr; /* left, center, right */
    grid-template-rows: 
        auto 
        auto 
        auto 
        auto
        auto
        auto;
    gap: 10px;

    
    grid-template-areas:
        "multibox introbox linksbox"
        "recentblogbox nextbox buttonbox"
        "recentblogbox patreonbox buttonbox"
        "recentblogbox patreonbox sillybox"
        "blinkiesbox performancebox sillybox"
        "neighborsbox neighborsbox todobox";
}

/* box=box */
.multibox { grid-area: multibox; }
.linksbox { grid-area: linksbox; }
.sillybox { grid-area: sillybox; }
.introbox { grid-area: introbox; }
.nextbox { grid-area: nextbox; }
.patreonbox { grid-area: patreonbox; }
.performancebox { grid-area: performancebox; }
.recentblogbox { grid-area: recentblogbox; }
.buttonbox { grid-area: buttonbox; }
.blinkiesbox { grid-area: blinkiesbox; }
.neighborsbox {grid-area: neighborsbox;}
.todobox {grid-area: todobox;}

/* SMALL BOX STYLES */
.multibox,
.linksbox,
.sillybox,
.nextbox,
.patreonbox,
.performancebox,
.recentblogbox{
    border: 2px solid red;
    padding: 10px;
    background: transparent;
}

.todobox {
    border-image: url(BORDERS_AND_ASSETS/desktopbordersmaller.png) 30 14 12 15 fill / 30px 14px 12px 15px;
    padding: 30px 14px 12px 15px;
    background: transparent;
    display: flex;
    flex-direction: column;
    max-height: 450px;
}

.todobox h4 {
    margin-top: 0;
    margin-bottom: 10px;
    flex-shrink: 0;
}

.todobox ul {
    list-style-type: disc;
    padding-left: 20px;
    margin: 0;
    overflow-y: auto;
    overflow-x: hidden;
    flex: 1;
    
    /* COOL FIREFOX SCROLLBAR */
    scrollbar-width: thin;
    scrollbar-color: red black;
}

/* TODOBOX UL CHROMIUM SCROLLBAR */
.todobox ul::-webkit-scrollbar {
    width: 12px;
    background: black;
}

.todobox ul::-webkit-scrollbar-track {
    background: black !important;
    border: 1px solid red;
}

.todobox ul::-webkit-scrollbar-thumb {
    background: black !important;
    border: 2px solid red !important;
    transition: all 0.2s ease-in-out;
}

.todobox ul::-webkit-scrollbar-thumb:hover {
    background: black !important;
    border: 2px solid red !important;
    animation: scrollbarGlow 2s ease-in-out infinite alternate;
}

.todobox li {
    margin-bottom: 8px;
    line-height: 1.4;
    font-size: small;
    font-family: "Space Mono", monospace;
}

.todobox li:last-child {
    margin-bottom: 0;
}

/* NEIGHBORSBOX STYLES */
.neighborsbox {
    border: none;
    padding: 15px;
    background: transparent;
    max-height: 450px;
    overflow-y: auto;
    overflow-x: hidden;
}


/* NEIGHBORSBOX SECTIONS */
.neighborsbox h4 {
    margin-top: 0;
    margin-bottom: 10px;
    font-size: 1em;
    text-align: center;
}

.neighborsbox h5 {
    margin-top: 15px;
    margin-bottom: 8px;
    font-size: 0.9em;
    padding-bottom: 5px;
    background: rgba(255, 0, 0, 0.2);
}

.neighborsbox h5:first-of-type {
    margin-top: 10px;
}

/* NEIGHBORSBOX BUTTON SECTIONS */
.neighbor-section {
    display: flex;
    flex-wrap: wrap;
    gap: 5px;
    margin-top: 15px;
    margin-bottom: 15px;
    align-items: center;
    justify-content: center;
}

.neighbor-section a {
    display: inline-block;
    line-height: 0;
}

.neighbor-section img {
    display: block;
    width: 88px;
    height: 31px;
}


.introbox {
    background: rgba(255, 0, 0, 0.2) !important; 
    padding: 15px;
    font-family: "Space Mono", monospace;
    line-height: 1.6;
    max-height: 450px;
    overflow-y: auto;
    overflow-x: hidden;
    
    /* special firefox scrollbar */
    scrollbar-width: thin;
    scrollbar-color: red black;
}

/* gross chromium scrollbar */
.introbox::-webkit-scrollbar {
    width: 12px;
    background: black;
}

.introbox::-webkit-scrollbar-track {
    background: black !important;
    border: 1px solid red;
}

.introbox::-webkit-scrollbar-thumb {
    background: black !important;
    border: 2px solid red !important;
    transition: all 0.2s ease-in-out;
}

@keyframes scrollbarGlow {
    0%, 100% {
        box-shadow: 0 0 3px red, 0 0 6px red;
    }
    50% {
        box-shadow: 0 0 6px red, 0 0 12px red;
    }
}

.introbox::-webkit-scrollbar-thumb:hover {
    background: black !important;
    border: 2px solid red !important;
    animation: scrollbarGlow 2s ease-in-out infinite alternate;
}


.sillybox, .blinkiesbox {
    display: block;
    text-align: center;
}

/* make empty boxes appear */
main > div {
    min-height: 50px;
}

/* LEFT COLUMN */
.multibox {border-image: url(BORDERS_AND_ASSETS/desktopbordersmaller.png) 30 14 12 15 fill / 30px 14px 12px 15px;
padding: 30px 14px 12px 15px;}

/* LINKSBOX SCREEN TEAR GLITCH EFFECT */
.linksbox {
    border: 2px solid red;
    padding: 5px;
    margin-bottom: 10px;
    position: relative;
}

.linksbox::before,
.linksbox::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    pointer-events: none;
    opacity: 0;
    background: black;
    border: 2px solid red;
    padding: 5px;
}

.linksbox.glitch {
    animation: boxShake 0.5s ease-in-out;
}

.linksbox.glitch::before {
    animation: boxTearLeft 0.5s ease-in-out;
    border-color: #ff00ff;
    z-index: 1;
}

.linksbox.glitch::after {
    animation: boxTearRight 0.5s ease-in-out;
    border-color: #00ffff;
    z-index: 2;
}

@keyframes boxShake {
    0%, 100% {
        transform: translate(0, 0);
    }
    10% {
        transform: translate(-2px, 0);
    }
    20% {
        transform: translate(2px, 0);
    }
    30% {
        transform: translate(-1px, 0);
    }
    40% {
        transform: translate(3px, 0);
    }
    50% {
        transform: translate(-2px, 0);
    }
    60% {
        transform: translate(1px, 0);
    }
    70% {
        transform: translate(-3px, 0);
    }
    80% {
        transform: translate(2px, 0);
    }
    90% {
        transform: translate(-1px, 0);
    }
}

@keyframes boxTearLeft {
    0%, 100% {
        opacity: 0;
        clip-path: inset(0 0 0 0);
        transform: translateX(0);
    }
    5% {
        opacity: 0.8;
        clip-path: inset(23% 0 67% 0);
        transform: translateX(-8px);
    }
    15% {
        opacity: 0.7;
        clip-path: inset(61% 0 12% 0);
        transform: translateX(-5px);
    }
    25% {
        opacity: 0.9;
        clip-path: inset(8% 0 88% 0);
        transform: translateX(-10px);
    }
    35% {
        opacity: 0.6;
        clip-path: inset(47% 0 31% 0);
        transform: translateX(-6px);
    }
    45% {
        opacity: 0.8;
        clip-path: inset(72% 0 15% 0);
        transform: translateX(-9px);
    }
    55% {
        opacity: 0.7;
        clip-path: inset(19% 0 73% 0);
        transform: translateX(-7px);
    }
    65% {
        opacity: 0.9;
        clip-path: inset(54% 0 28% 0);
        transform: translateX(-11px);
    }
    75% {
        opacity: 0.6;
        clip-path: inset(33% 0 59% 0);
        transform: translateX(-5px);
    }
    85% {
        opacity: 0.8;
        clip-path: inset(68% 0 7% 0);
        transform: translateX(-8px);
    }
    95% {
        opacity: 0.5;
        clip-path: inset(11% 0 81% 0);
        transform: translateX(-4px);
    }
}

@keyframes boxTearRight {
    0%, 100% {
        opacity: 0;
        clip-path: inset(0 0 0 0);
        transform: translateX(0);
    }
    8% {
        opacity: 0.7;
        clip-path: inset(41% 0 48% 0);
        transform: translateX(7px);
    }
    18% {
        opacity: 0.9;
        clip-path: inset(77% 0 9% 0);
        transform: translateX(9px);
    }
    28% {
        opacity: 0.6;
        clip-path: inset(14% 0 79% 0);
        transform: translateX(5px);
    }
    38% {
        opacity: 0.8;
        clip-path: inset(52% 0 36% 0);
        transform: translateX(11px);
    }
    48% {
        opacity: 0.7;
        clip-path: inset(29% 0 64% 0);
        transform: translateX(6px);
    }
    58% {
        opacity: 0.9;
        clip-path: inset(66% 0 18% 0);
        transform: translateX(10px);
    }
    68% {
        opacity: 0.6;
        clip-path: inset(7% 0 86% 0);
        transform: translateX(8px);
    }
    78% {
        opacity: 0.8;
        clip-path: inset(44% 0 42% 0);
        transform: translateX(7px);
    }
    88% {
        opacity: 0.7;
        clip-path: inset(81% 0 3% 0);
        transform: translateX(9px);
    }
    98% {
        opacity: 0.5;
        clip-path: inset(26% 0 68% 0);
        transform: translateX(4px);
    }
}

.profilepic img {
    width: 100%;
    height: 100%;
    object-fit: cover; /*crop image to fit so it doesn't go out of bounds*/
    display: block;
}

.multibox {
    display: flex;
    flex-direction: column;
    align-items: center;
}

/*profile pic and photo credits stuff */
.profilepic {
    width: 92%;
    aspect-ratio: 1 / 1;
    border: 2px solid red;
    margin-top: 15px;
    margin-bottom: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.photo-credit {
    margin-top: 10px;
    text-align: center;
    font-size: 10px;
    font-weight: bold;
}

.photo-credit a {
    color: red;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 5px;
    transition: all 0.3s ease;
    position: static;
    line-height: 1;
}

.photo-credit a:hover {
    animation: none;
}

.photo-credit a span:not(.camera-icon) {
    display: inline-block;
    transform: translateY(4px); 
}

.camera-icon {
    display: inline-flex;
    align-items: center;
    font-size: 18px;
    line-height: 1;
    transition: none;  /* remove transition since we're using animation */
}

.photo-credit a:hover .camera-icon {
    animation: cameraBounce 0.5s ease;
}

@keyframes cameraBounce {
    0%, 100% {
        transform: translateY(0);
    }
    25% {
        transform: translateY(-8px);
    }
    50% {
        transform: translateY(0);
    }
    75% {
        transform: translateY(-4px);
    }
}

.linksbox {
    text-align: center;
}

.sillybox {border-image: url(BORDERS_AND_ASSETS/desktopbordersmaller.png) 30 14 12 15 fill / 30px 14px 12px 15px;
padding: 30px 14px 12px 15px;
z-index: 3;
background-color: black;
}

/* CENTER COLUMN */
.nextbox,
.patreonbox,
.performancebox {
    border: 2px solid red;
    padding: 10px;
    margin-bottom: 10px;
}
.nextbox h4 {
    margin: 0;
    padding-bottom: 3px;
    font-size: 1.1em;
}


.introbox {
    min-height: 200px;
}

.nextbox, .patreonbox, .performancebox {
    text-align: left;
}


/* RIGHT COLUMN */
.recentblogbox{border-image: url(BORDERS_AND_ASSETS/desktopbordersmaller.png) 30 14 12 15 fill / 30px 14px 12px 15px;
padding: 30px 14px 12px 15px;
background-image: url(IMAGES/starspurple.gif);
background-repeat: repeat;
background-size: auto;
}

.blinkiesbox {
    border: none;
    padding: 0;
    margin-bottom: 10px;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1px;
}

.blinkiesbox img {
    display: block;
    margin: 0;
    padding: 0;
}

.buttonbox {
    border: none;
    padding: 0;
    margin-bottom: 10px;
    text-align: center;
    display: grid;
    grid-template-columns: 1fr 1fr;
    column-gap: 0;
    row-gap: 1px;
    align-items: start;
    align-content: start; 
  justify-items: center;
}

.buttonbox a {
    display: block;
    line-height: 0;
    margin: 0;
}

.buttonbox img {
    display: block;
    margin: 0;
}

/* FOOTER */
footer {
    margin-top: 10px;
}

/* CSS GRID STUFFS */
.multibox {
    grid-column: 1/2;
    grid-row: 1/2;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.linksbox {
    grid-column: 3;
    grid-row: 1/2;
}


.sillybox {
    grid-column: 1/2;
    grid-row: 5/6; 
}

.introbox {
    grid-column: 2;
    grid-row: 1/2;
}
.nextbox {
    grid-column: 2;
    grid-row: 2/3;
}

.patreonbox {
    grid-column: 2;
    grid-row: 3/5; 
    min-height: 300px; 
}
.performancebox {
    grid-column: 2;
    grid-row: 5/6; 
}


.recentblogbox {
    grid-column: 1/2;
    grid-row: 2/5;
}


.buttonbox {
    grid-column: 3;
    grid-row: 2/3; 
}


.blinkiesbox {
    grid-column: 3;
    grid-row: 3/6; 
}

/*audio stuff*/
.audioframe audio {
    width: 100%;
}

.audiofooter {
    font-size: 0.8em;
    margin-top: 5px;
}

marquee {
    font-weight: bold;
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* ============================================ */
/* MUSIC PLAYER STYLES - COMPLETE FIXED VERSION */
/* ============================================ */

/* Force button resets - CRITICAL */
.player button,
.wheelcontrols button,
.controls button {
    all: unset !important;
    box-sizing: border-box !important;
    cursor: pointer !important;
    color: #ff4444 !important;
    opacity: 0.6;
    font-size: 14px !important;
    padding: 2px !important;
    margin: 0 !important;
    background: none !important;
    border: none !important;
    font-family: "Font Awesome 6 Free" !important;
    font-weight: 900 !important;
    display: inline-block !important;
}

.player button:hover,
.wheelcontrols button:hover,
.controls button:hover {
    opacity: 1 !important;
}

/* Main player container */
.player {
    width: fit-content !important;
    border: red solid 2px !important;
    border-radius: 100px !important;
    margin-left: auto !important;
    margin-right: auto !important;
    background: linear-gradient(0deg, rgba(20,0,0,1) 0%, rgba(40,0,0,1) 30%, rgba(60,0,0,1) 100%) !important;
    padding: 5px !important;
}

/* Window wrapper */
.window {
    font-family: "Orbitron", "Courier New", monospace !important;
    font-size: 11px !important;
    padding: 10px !important;
    width: 290px !important;
}

.window-body { 
    display: block !important;
    margin: auto !important;
    border-radius: 0 !important;
}

/* Main flex container for wheel + display */
.window-body > .flex {
    display: flex !important;
    flex-direction: row !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 8px !important;
}

/* The wheel (iPod click wheel) */
.wheel {
    display: flex !important;
    flex-direction: column !important;
    justify-content: space-between !important;
    align-items: center !important;
    width: 100px !important;
    height: 100px !important;
    flex-shrink: 0 !important;
    background: linear-gradient(#0a0000, #0a0000) padding-box, linear-gradient(to top, red, #5a0000) border-box !important;
    border-radius: 50em !important;
    border: 2px solid transparent !important;
    padding: 8px !important;
    box-shadow: 1px 1px 10px 0 rgba(255,0,0,0.27) inset !important;
}

/* Wheel controls sections */
.wheelcontrols {
    text-align: center !important;
    width: 100% !important;
    color: #ff4444 !important;
}

/* Top/bottom single buttons in wheel */
.wheelcontrols > button {
    display: inline-block !important;
    font-size: 14px !important;
}

/* Middle table with prev/play/next */
.wheelcontrols table {
    display: table !important;
    width: 100% !important;
    table-layout: fixed !important;
    border-collapse: collapse !important;
    margin: 0 !important;
    border: none !important;
}

.wheelcontrols table tr {
    display: table-row !important;
}

.wheelcontrols table th {
    display: table-cell !important;
    width: 33.33% !important;
    padding: 0 !important;
    text-align: center !important;
    vertical-align: middle !important;
    border: none !important;
}

.wheelcontrols table th button {
    display: inline-block !important;
    font-size: 14px !important;
}

/* Play/pause button larger */
.playpause-track {
    font-size: 20px !important;
}

/* Music player display (right side) */
#musicplayer {
    display: block !important;
    background: linear-gradient(0deg, #1a0000, #0a0000) padding-box, linear-gradient(to top, red, #5a0000) border-box !important;
    border-radius: 60em !important;
    border: 2px solid transparent !important;
    padding: 10px 15px !important;
    box-shadow: 1px 1px 10px 0 rgba(255,0,0,0.27) inset !important;
    flex: 1 !important;
    min-width: 0 !important;
}

/* Song title marquee */
.songtitle {
    padding: 15px 10px 5px 10px !important;
    color: #ff4444 !important;
    font-size: 14px !important;
    display: block !important;
    font-family: "Orbitron", "Courier New", monospace !important;
    margin: 0 !important;
}

/* Seek bar container */
.seeking {
    display: flex !important;
    justify-content: space-between !important;
    align-items: center !important;
    padding: 8px 10px !important;
    color: #ff4444 !important;
    font-size: 10px !important;
    gap: 8px !important;
}

.current-time,
.total-duration {
    flex-shrink: 0 !important;
    font-size: 10px !important;
}

/* Seek slider */
.seek_slider {
    appearance: none !important;
    -webkit-appearance: none !important;
    -moz-appearance: none !important;
    flex: 1 !important;
    height: 6px !important;
    background: #2a0000 !important;
    border-radius: 8px !important;
    border: none !important;
    outline: none !important;
}

.seek_slider::-webkit-slider-thumb {
    appearance: none !important;
    -webkit-appearance: none !important;
    width: 10px !important;
    height: 10px !important;
    background: red !important;
    cursor: pointer !important;
    border-radius: 50% !important;
    border: 1px solid red !important;
}

.seek_slider::-moz-range-thumb {
    width: 10px !important;
    height: 10px !important;
    background: red !important;
    cursor: pointer !important;
    border-radius: 50% !important;
    border: 1px solid red !important;
}

/* Bottom controls table */
.controls {
    width: 100% !important;
    table-layout: fixed !important;
    border-collapse: collapse !important;
    margin: 5px 0 0 0 !important;
    border: none !important;
}

.controls tr {
    display: table-row !important;
}

.controls td {
    display: table-cell !important;
    width: 33.33% !important;
    text-align: center !important;
    padding: 5px 0 !important;
    border: none !important;
}

.controls button {
    font-size: 12px !important;
}

/* MULTIBOX SCALED DOWN VERSION + FIX CLIPPING */
.multibox .player {
    width: calc(100% - 20px) !important;
    max-width: 260px !important;
    margin: 10px auto !important;
    padding: 3px !important;
    box-sizing: border-box !important;
}

.multibox .window {
    width: 100% !important;
    max-width: 100% !important;
    padding: 4px !important;
    box-sizing: border-box !important;
}

.multibox .window-body > .flex {
    gap: 3px !important;
}

.multibox .wheel {
    width: 60px !important;
    height: 60px !important;
    padding: 5px !important;
}

.multibox .wheelcontrols button {
    font-size: 10px !important;
    padding: 1px !important;
}

.multibox .playpause-track {
    font-size: 14px !important;
}

.multibox #musicplayer {
    padding: 6px 8px !important;
}

.multibox .songtitle {
    font-size: 9px !important;
    padding: 6px 4px 2px 4px !important;
}

.multibox .seeking {
    font-size: 7px !important;
    padding: 3px 4px !important;
    gap: 3px !important;
}

.multibox .seek_slider {
    height: 3px !important;
    max-width: 80px !important;
    flex: 0 1 80px !important;
}

.multibox .seek_slider::-webkit-slider-thumb {
    width: 7px !important;
    height: 7px !important;
}

.multibox .seek_slider::-moz-range-thumb {
    width: 7px !important;
    height: 7px !important;
}

.multibox .controls {
    margin: 2px 0 0 0 !important;
}

.multibox .controls td {
    padding: 2px 0 !important;
}

.multibox .controls button {
    font-size: 9px !important;
}

/* FIX MULTIBOX CONTAINER TO PREVENT CLIPPING */
.multibox {
    overflow: visible !important;
    padding: 30px 20px 12px 20px !important;
}

/* RECENTBLOGBOX MINI POST STYLES */
.recentblogbox a {
    text-decoration: none;
    color: inherit;
    display: block;
}

.recentblogbox .mini-post {
    margin: 8px 0;
    padding: 8px;
    border: 1px solid red;
    border-radius: 8px;
    background: black; /* Changed from rgba(255, 0, 0, 0.05) to black */
    transition: all 0.2s;
    cursor: pointer;
}

.recentblogbox .mini-post:hover {
    background: black; /* Keep it black on hover too */
    box-shadow: 0 0 8px rgba(255, 0, 0, 0.3);
    transform: translateX(3px);
}

.recentblogbox .mini-date {
    font-size: 7px;
    text-align: right;
    margin-bottom: 3px;
    opacity: 0.8;
}

.recentblogbox .mini-post h5 {
    font-size: 0.85em;
    margin-bottom: 5px;
}

.recentblogbox .mini-post p {
    font-size: 9px;
    line-height: 1.4;
}