@keyframes Newsflash {
    0% {
        color: black;
    }

    100% {
        color: yellow;
    }
}

@keyframes visitor {
    0% {
        text-shadow: 0px 0px 5px rgba(255, 0, 0, 0);
    }

    50% {
        text-shadow: 0px 0px 15px rgb(255, 0, 0);
    }

    100% {
        text-shadow: 0px 0px 55px rgba(255, 0, 0, 0);
    }
}

@font-face {
    font-family: 'typewriter';
    src: url('fonts/JMH Typewriter-thin.ttf') format("truetype");
}



.oxanium {
    font-family: "Oxanium", sans-serif;
    font-optical-sizing: auto;
    font-weight: 400;
    font-style: normal;
}

.music-player p {
    font-family: 'Geo';
    font-size: 2.5vh;
    background-image: url('images/music-title-bkg.png');
    background-size: 100% 100%;
    width: 40%;
    color: #33ff00;
    text-align: left;
    margin: 5px;
    padding: 10px;
    padding-left: 20px;
}

.music-player {
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    margin-top: 0px;
    background-image: url('images/music-bkg-low.png');
    image-rendering: pixelated;
    image-rendering: crisp-edges;
    background-size: 100% 100%;
    padding: 10px;
    border-radius: 5px;
    color: #fff;
    margin-bottom: 8px;
    height: auto;
    /* Allow height to scale with content */
}

.controls {
    margin-left: 5px;
    display: flex;
    align-items: flex-start;
    justify-content: left;
}

.controls button {
    background-color: rgba(100, 100, 100, 0.7);
    color: #fff;
    padding: 5px;
    margin: 4px;
    border-radius: 5px;
    cursor: pointer;
    width: 10%;
}

.controls button:hover {
    background-color: #777;
}

.controls input[type="range"].volume-slider {
    margin: 5px;
    cursor: grab;
    -webkit-appearance: none;
    appearance: none;
    background-image: url('images/slider short.png');
    background-size: 200% 100%;
    height: 15px;
    /* Increase the height to make the bar thicker */
}

.controls input[type="range"].volume-slider::-webkit-slider-thumb {
    -webkit-appearance: none;
    appearance: none;
    width: 10px;
    height: 10px;
    background: rgb(255, 0, 0);
    cursor: pointer;
}

.controls input[type="range"].volume-slider::-moz-range-thumb {
    width: 10px;
    height: 10px;
    background: gray;
    cursor: pointer;
}

.controls input[type="range"].seek-bar {
    margin: 5px;
    cursor: grab;
    -webkit-appearance: none;
    appearance: none;
    background-image: url('images/slider short.png');
    background-size: 20vw 100%;
    height: 15px;
    /* Increase the height to make the bar thicker */
    width: 20vw;
}

.controls input[type="range"].seek-bar::-webkit-slider-thumb {
    -webkit-appearance: none;
    appearance: none;
    width: 15px;
    height: 15px;
    background: red;
    cursor: pointer;
}

.controls input[type="range"].seek-bar::-moz-range-thumb {
    width: 15px;
    height: 15px;
    background: red;
    cursor: pointer;
}

.geo-regular {
    font-family: "Geo", sans-serif;
    font-weight: 400;
    font-style: normal;
}

.geo-regular-italic {
    font-family: "Geo", sans-serif;
    font-weight: 400;
    font-style: italic;
}

body {
    overflow: hidden;
    margin: auto;
    display: flexbox;
    flex-direction: row;
    font-family: Arial, sans-serif;
    color: #00000073;
    background-image: url("images/rock red.png");
    background-size: 30%;
    image-rendering: pixelated;
}

hr {

    width: 90%;
    border: 1px solid #2ef506;
    margin: 1px;
    align-self: center;
}


.sandwich {
    width: 100%;
    image-rendering: crisp-edges;
    image-rendering: pixelated;
    display: block;
    margin-left: auto;
    margin-right: auto;
    padding: 0%;
    mix-blend-mode: screen;
}

.about-me-portrait {
    display: block;
    width: 40%;
    border: #000000 5px solid;
    margin-top: 8%;
    margin-left: 8%;
    margin-right: 1%;
    image-rendering: crisp-edges;
    image-rendering: pixelated;
}

.white-shadow-text {
    text-shadow: 0px 0px 10px rgba(0, 0, 0, 0.5);
    color: #ffffff;
    margin-top: 8%;
    font-family: 'Geo';
    font-size: 1.2vw;
    text-align: left;
    align-content: flex-end;
}

.about-me-description {
    display: block;
    width: 80%;
    height: auto;
    border: #000000 5px solid;
    margin-bottom: 7%;
    margin-left: 8%;
    margin-right: 8%;
    image-rendering: crisp-edges;
    image-rendering: pixelated;
    background-color: rgba(0, 0, 0, 0.5);
    color: #ffffff;
    font-family: 'Geo';
    font-size: 1.3em;
    text-align: left;
    text-align: justify;
    padding: 10px;
    padding-bottom: 0px;
    padding-top: 0px;
}

.chatbox {
    width: 45%;
    height: 450px;
    border: none;
    box-sizing: border-box;
    max-width: 100%;
}

/* Ensure iframe inside chatbox fills its container */
.chatbox iframe {
    width: 100%;
    height: 100%;
    border: none;
    display: block;
    max-width: 100%;
}


.linkmenu {
    background-image: url("images/button-metal.png");
    background-repeat: no-repeat;
    image-rendering: pixelated;
    image-rendering: crisp-edges;
    background-size: 80% 100%;
    margin-bottom: 5px;
    padding: 18px;
    padding-top: 5px;
    padding-bottom: 5px;
    display: inline-block;
    width: 100%;
    text-align: justify;
}

a:link {
    color: #ffffff;
    text-decoration: none;
    text-shadow: 0px 0px 30px rgb(0, 0, 0);
}

a:visited {
    color: #ffffff;
    text-decoration: none;
    text-shadow: 0px 0px 10px rgb(0, 0, 0);
}

a:hover {
    color: #fab18f;
    text-decoration: none;
    text-shadow: 0px 0px 30px rgba(255, 0, 0, 1);
}

nav {
    background-size: cover;
    background-color: #000000;
    background-image: url("images/rock.jpg");
    image-rendering: pixelated;
    image-rendering: crisp-edges;
    background-position: 100%;
    color: #dbdbdb;
    font-family: "New Rocker";
    font-size: 1.5em;
    width: 10vw;
    height: 100vh;
    position: fixed;
    border: #8585859d 2px solid;
    top: 0;
    left: 0;
}

nav a {
    margin-right: 30px;
    margin-left: 5px;
}

.content-split {
    display: flex;
    background-color: rgba(240, 248, 255, 0);
    flex-direction: row;
    width: auto;
    height: auto;
    margin: 2px;
    padding: 0px;
    justify-content: center;
}

.content-split-vertical {
    display: flex;
    background-color: rgba(0, 0, 0, 0.438);
    flex-direction: column;
    width: 70%;
    height: auto;
    margin: 2px;
    padding: 0px;
}

.content {
    display: flex;
    flex-direction: column;

    margin: 0px;
    /* Adjust this value to create space for the sidepanel */
    padding: 20px;
    overflow: auto;
    background-color: rgba(46, 46, 46, 0.562);
    width: calc(80vw - 5vw);
    /* Adjust this value to create space for the sidepanel and nav */
    justify-self: center;
    height: 94vh;
    /* Ensure the content takes up the full height */
    margin-left: auto;
    /* Center the content */
    margin-right: auto;
    /* Center the content */
    /* Center the content vertically */
    margin-bottom: 3vh;
    /* Center the content vertically */
}


.button-cosmetic {
    width: auto;
    height: fit;
    margin: 5px;
    background-size: 100% 100%;
    align-self: center;
    image-rendering: pixelated;
    image-rendering: crisp-edges;
}

.button-cosmetic {
    display: block;
    margin-left: auto;
    margin-right: auto;
}


.sidepanel {
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    background-size: cover;
    background-color: #000000;
    background-image: url("images/rock.jpg");
    image-rendering: pixelated;
    image-rendering: crisp-edges;
    background-position: 100%;
    color: #dbdbdb;
    font-family: "";
    font-size: calc(1vw + 1vh);
    width: 10vw;
    height: 100vh;
    position: fixed;
    top: 0;
    right: 0;
    border: 2px solid rgba(255, 255, 255, 0.445);
}

.visitorcount {
    display: flex;
    flex-direction: column;
    align-self: flex-end;
    justify-content: center;
    width: 90%;
    height: 7%;
    font-size: 0.7em;
    background-color: rgba(0, 0, 0, 0.692);
    margin: 5px;
    margin-bottom: 20px;
    padding: 5px;
}

.fire {
    color: #ffffff;
    font-family: 'Franklin Gothic Medium', 'Arial Narrow', Arial, sans-serif;
    text-shadow: 0px 0px 15px rgb(255, 0, 0);
    animation: visitor 0.5s infinite, yoy 1s infinite;
    animation-timing-function: linear, ease-in-out;
    animation-fill-mode: forwards, backwards;
}

.visitorcount p {
    margin: 0px;
    padding: 0px;
    color: rgb(255, 255, 255);
    font-size: 1em;
    font-family: 'Geo';
    text-align: center;
}

.content h1 {
    font-size: 2em;
    color: #ff5151;
    font-family: 'Geo';
    text-align: center;
    margin: 0;
    padding: 0;
}

.about-me-container {
    display: flex;
    flex-direction: row;
    width: 100%;
    height: 50%;
    align-items: center;
}

.about-me {
    display: flex;
    flex-direction: column;
    background-image: url("images/frame.png");
    image-rendering: pixelated;
    image-rendering: crisp-edges;
    background-size: 100% 100%;
    padding: 8px;
    width: 50%;
    aspect-ratio: 1 / 1;
    /* This makes the height equal to the width, creating a square */
    align-items: center;
    justify-content: stretch;
}

.newsbox {
    display: flex;
    flex-direction: column;
    background-color: rgb(0, 0, 0);
    font-size: 1em;
    font-family: Georgia, 'Times New Roman', Times, serif;
    border: 2px solid yellow;
    margin: 2px;
    padding: 2px;
}

.newsbox h1 {
    margin: 0px;
    padding: 5px;
    color: rgb(255, 208, 0);
    font-size: 1.5em;
    font-family: 'Geo';
    text-align: left;
    animation: Newsflash 0.5s infinite;
    animation-timing-function: steps(2, start);
}

.newsbox p {
    margin: 5px;
    padding: 2px;
    color: rgb(255, 217, 0);
    font-size: 1.1em;
    font-family: 'Geo';
    text-align: left;
}

.screen {
    background-image: url('images/screen.gif');
    background-size: 100% 100%;
    background-repeat: no-repeat;
    image-rendering: pixelated;
    image-rendering: crisp-edges;
    display: flex;
    flex-direction: column;
    width: 100%;
    height: 500px;
    /* Set a fixed height */
    margin: 0px;
    padding: 0px;
    justify-content: top;
    overflow: auto;
    /* Make content scrollable if it overflows */
}

.blog {
    display: flex;
    flex-direction: column;
    font-size: 1em;
    font-family: Oxanium, sans-serif;
    color: #66ff00c4;
    width: auto;
    height: 100%;
    margin: 4.5%;
    padding: 5px;
    overflow-y: auto;
    max-height: 100%;
    text-shadow: 0 0 5px rgba(102, 255, 0, 0.295), 0 0 10px rgba(102, 255, 0, 0.055);
    transition: transform 0.1s ease, text-shadow 0.2s ease;
    /* Smooth transition */
    transform-origin: center;
    /* Set the origin for the perspective effect */
    perspective: 500px;
    /* Add perspective for 3D effect */
}

.blog:hover {
    transform: perspective(10px) rotateX(2deg) rotateY(2deg);
    /* Tilt effect */
    text-shadow: 0 0 10px rgba(102, 255, 0, 0.274), 0 0 20px rgba(102, 255, 0, 0.205);
    /* Enhance glow on hover */
}

.blog-post {
    text-align: justify;
    text-justify: auto;
    font-size: 1em;
    font-family: Oxanium, sans-serif;
    color: #66ff00c4;
    width: auto;
    height: auto;
    margin: 0px;
    margin-right: 10px;
    padding: 5px;
}

details[open] summary {
    color: #000000;
    background-color: #66ff00c4;
}

.interests {

    display: flex;
    flex-direction: column;
    height: auto;
    background-color: rgba(0, 0, 0, 0.692);
    font-size: 0.9em;
    font-family: 'Geo';
    border: 2px solid #33ff00;

    padding: 10px;
    margin: 2%;

}

.interests p {
    color: #33ff00;
    margin: 2px;
    padding: 2px;
    font-size: 0.8em;
    text-align: left;
    border-bottom: 1px solid #33ff00;
}

/* Responsive/mobile improvements */

/* Hamburger button - hidden on desktop */
.mobile-hamburger {
    display: none;
}

/* Mobile drawer + overlay - hidden on desktop */
.mobile-overlay { display: none; }
.mobile-drawer { display: none; }

@media (max-width: 1024px) {

    /* ---- Base ---- */
    body {
        padding-top: 56px;
        overflow: auto;
        background-size: 60%;
        font-size: 1em;
    }

    body.drawer-open {
        overflow: hidden;
    }

    /* ---- Top nav bar ---- */
    nav {
        position: fixed;
        top: 0;
        left: 0;
        right: 0;
        width: 100%;
        height: 44px;
        display: flex;
        flex-direction: row;
        align-items: center;
        justify-content: center;
        padding: 0 10px;
        z-index: 40;
        font-size: 1.1rem;
        box-sizing: border-box;
    }

    /* Hide desktop-only nav elements on mobile */
    img.sandwich { display: none; }
    .blinkis { display: none; }
    .interests { display: none; }
    nav .linkmenu { display: none; }

    /* Show hamburger */
    .mobile-hamburger {
        display: block;
        position: absolute;
        left: 10px;
        top: 50%;
        transform: translateY(-50%);
        background: rgba(0,0,0,0.5);
        border: 1px solid rgba(255,255,255,0.4);
        color: #fff;
        font-family: 'Geo', sans-serif;
        font-size: 1.1rem;
        padding: 6px 18px;
        cursor: pointer;
        border-radius: 4px;
        line-height: 1.2;
        letter-spacing: 1px;
        z-index: 41;
    }

    .mobile-hamburger:active {
        background: rgba(255,255,255,0.1);
    }

    /* ---- Overlay ---- */
    .mobile-overlay {
        display: block;
        position: fixed;
        top: 0; left: 0; width: 100%; height: 100%;
        background: rgba(0,0,0,0.6);
        z-index: 998;
        opacity: 0;
        pointer-events: none;
        transition: opacity 0.3s ease;
    }

    .mobile-overlay.open {
        opacity: 1;
        pointer-events: auto;
    }

    /* ---- Slide-out drawer ---- */
    .mobile-drawer {
        display: flex;
        flex-direction: column;
        position: fixed;
        top: 0;
        left: 0;
        width: 280px;
        max-width: 85vw;
        height: 100%;
        background-image: url("images/rock.jpg");
        background-size: cover;
        background-color: #111;
        z-index: 999;
        transform: translateX(-100%);
        transition: transform 0.3s ease;
        overflow-y: auto;
        border-right: 2px solid rgba(255,255,255,0.2);
    }

    .mobile-drawer.open {
        transform: translateX(0);
    }

    .mobile-drawer-header {
        display: flex;
        align-items: center;
        justify-content: space-between;
        padding: 14px 16px;
        border-bottom: 1px solid rgba(255,255,255,0.15);
        color: #fff;
        font-family: 'New Rocker';
        font-size: 1.3em;
        background: rgba(0,0,0,0.5);
    }

    .mobile-drawer-close {
        background: none;
        border: none;
        color: #ff5151;
        font-size: 1.8rem;
        cursor: pointer;
        padding: 0 4px;
        line-height: 1;
    }

    .mobile-drawer-body {
        padding: 8px 0;
        flex: 1;
    }

    .mobile-section {
        padding: 10px 16px;
        border-bottom: 1px solid rgba(255,255,255,0.08);
    }

    /* Nav links inside drawer */
    .mobile-nav-link {
        display: block;
        color: #dbdbdb;
        font-family: 'New Rocker';
        font-size: 1.2em;
        padding: 12px 8px;
        text-decoration: none;
        border-bottom: 1px solid rgba(255,255,255,0.06);
        transition: background 0.2s ease, color 0.2s ease;
    }

    .mobile-nav-link:hover,
    .mobile-nav-link:active {
        background: rgba(255,80,80,0.15);
        color: #ffaa44;
    }

    /* Blinkies row */
    .mobile-blinkies {
        display: flex;
        flex-wrap: wrap;
        gap: 4px;
        justify-content: center;
    }

    .mobile-blinkies img {
        width: auto;
        height: 20px;
        image-rendering: pixelated;
    }

    /* Friend buttons grid */
    .mobile-buttons-grid {
        display: flex;
        flex-wrap: wrap;
        gap: 4px;
        justify-content: center;
    }

    .mobile-buttons-grid a img {
        image-rendering: pixelated;
    }

    /* Visitor count in drawer */
    .mobile-visitor {
        margin-top: 10px;
        background: rgba(0,0,0,0.5);
        padding: 8px;
        border-radius: 4px;
    }

    .mobile-visitor p {
        margin: 0;
        color: #fff;
        font-family: 'Geo';
        font-size: 0.9em;
        text-align: center;
    }

    /* ---- Sidepanel hidden ---- */
    .sidepanel { display: none; }

    /* ---- Content layout ---- */
    .content {
        width: auto;
        margin-left: auto;
        margin-right: auto;
        padding-top: 12px;
        height: auto;
        max-width: 100%;
    }

    .content-split {
        flex-direction: column;
        width: 100%;
    }

    .content-split-vertical {
        width: 100%;
    }

    .about-me-container {
        flex-direction: column;
        align-items: stretch;
    }

    .about-me {
        width: 95%;
        align-self: center;
        margin-left: 2%;
        margin-right: 2%;
        aspect-ratio: auto;
    }

    .about-me-description {
        margin-top: 10%;
        width: auto;
        margin-left: 7%;
        margin-right: 7%;
    }

    .about-me-portrait {
        width: 50%;
        margin-top: 15%;
        margin-left: auto;
        margin-right: auto;
    }

    .white-shadow-text {
        font-size: 4vw;
        margin-top: 4%;
        text-align: center;
    }

    /* Music player full width */
    .music-player {
        width: calc(100% - 20px);
        margin: 8px auto;
        padding: 10px;
        box-sizing: border-box;
        height: auto;
    }

    .music-player p {
        width: 100%;
        font-size: 4vw;
    }

    .controls {
        flex-wrap: wrap;
        gap: 8px;
    }

    .controls button {
        width: auto;
        min-width: 44px;
        padding: 10px 12px;
        font-size: 1rem;
    }

    .controls input[type="range"].volume-slider,
    .controls input[type="range"].seek-bar {
        width: 90%;
        margin: 6px 0;
        height: 40px;
    }

    .controls input[type="range"].seek-bar {
        width: 90%;
        height: 40px;
    }

    /* Blog and screen */
    .screen {
        height: auto;
        min-height: 40vh;
        padding: 8px;
        overflow: visible;
    }

    .blog {
        margin: 2%;
        margin-top: 5%;
        padding: 8px;
        max-height: none;
    }

    .newsbox, .shelf, .sidebar {
        width: 92%;
        margin-left: auto;
        margin-right: auto;
    }

    /* Chatbox */
    .chatbox {
        width: 100% !important;
        height: 30em !important;
        margin: 0;
        left: 0;
        right: 0;
    }

    .chatbox iframe {
        width: 100% !important;
        max-width: 100% !important;
        height: auto !important;
    }
}

/* Small phones */
@media (max-width: 600px) {
    .chatbox {
        width: 100% !important;
        height: 70vh !important;
        margin: 0;
        box-sizing: border-box;
    }

    .chatbox iframe {
        -webkit-transform-origin: 0 0;
        transform-origin: 0 0;
        -webkit-transform: scale(1.15);
        transform: scale(1.15);
        zoom: 1.15;
        width: calc(100% / 1.15) !important;
        height: calc(100% / 1.15) !important;
        max-width: none !important;
        display: block;
        border: none;
    }

    .mobile-drawer {
        width: 100%;
        max-width: 100vw;
    }
}


/* Smaller phones */

/* ============================================
   ENHANCEMENT 1: CRT Scanlines & Flicker
   ============================================ */
@keyframes crt-scanlines {
    0% { background-position: 0 0; }
    100% { background-position: 0 4px; }
}

@keyframes crt-flicker {
    0%   { opacity: 1; }
    5%   { opacity: 0.97; }
    10%  { opacity: 1; }
    15%  { opacity: 0.985; }
    20%  { opacity: 1; }
    50%  { opacity: 0.99; }
    80%  { opacity: 1; }
    92%  { opacity: 0.97; }
    100% { opacity: 1; }
}

.screen {
    position: relative;
}

.screen::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: repeating-linear-gradient(
        0deg,
        rgba(0, 0, 0, 0.15) 0px,
        rgba(0, 0, 0, 0.15) 1px,
        transparent 1px,
        transparent 3px
    );
    animation: crt-scanlines 0.15s linear infinite, crt-flicker 4s ease-in-out infinite;
    pointer-events: none;
    z-index: 2;
}

/* ============================================
   ENHANCEMENT 2: Glitch Title Effect
   ============================================ */
@keyframes glitch-1 {
    0%   { clip-path: inset(20% 0 60% 0); transform: translate(-3px, 0); }
    20%  { clip-path: inset(60% 0 10% 0); transform: translate(3px, 0); }
    40%  { clip-path: inset(40% 0 30% 0); transform: translate(-2px, 0); }
    60%  { clip-path: inset(80% 0 5% 0);  transform: translate(1px, 0); }
    80%  { clip-path: inset(10% 0 70% 0); transform: translate(-1px, 0); }
    100% { clip-path: inset(50% 0 30% 0); transform: translate(2px, 0); }
}

@keyframes glitch-2 {
    0%   { clip-path: inset(70% 0 10% 0); transform: translate(3px, 0); }
    20%  { clip-path: inset(10% 0 70% 0); transform: translate(-2px, 0); }
    40%  { clip-path: inset(50% 0 20% 0); transform: translate(2px, 0); }
    60%  { clip-path: inset(30% 0 50% 0); transform: translate(-3px, 0); }
    80%  { clip-path: inset(70% 0 15% 0); transform: translate(1px, 0); }
    100% { clip-path: inset(15% 0 60% 0); transform: translate(-1px, 0); }
}

@keyframes glitch-pulse {
    0%, 90%, 100% { opacity: 0; }
    91%, 99% { opacity: 1; }
}

.content > h1 {
    position: relative;
    display: inline-block;
    width: 100%;
}

.content > h1::before,
.content > h1::after {
    content: attr(data-text);
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    text-align: center;
    opacity: 0;
    animation: glitch-pulse 5s ease-in-out infinite;
}

.content > h1::before {
    color: #ff0040;
    animation: glitch-1 0.3s ease-in-out infinite alternate, glitch-pulse 5s ease-in-out infinite;
    text-shadow: 2px 0 #ff0040;
}

.content > h1::after {
    color: #00ffff;
    animation: glitch-2 0.3s ease-in-out infinite alternate, glitch-pulse 5s ease-in-out infinite 0.05s;
    text-shadow: -2px 0 #00ffff;
}

.content > h1:hover::before,
.content > h1:hover::after {
    opacity: 1;
}

.content > h1:hover::before {
    animation: glitch-1 0.15s ease-in-out infinite alternate;
}

.content > h1:hover::after {
    animation: glitch-2 0.15s ease-in-out infinite alternate;
}

/* ============================================
   ENHANCEMENT 3: Nav Link Flame Hover
   ============================================ */
@keyframes link-flame {
    0%   { text-shadow: 0px 0px 5px rgba(255, 60, 0, 0.5); }
    25%  { text-shadow: 0px 0px 15px rgba(255, 120, 0, 0.8), 0px -3px 10px rgba(255, 60, 0, 0.4); }
    50%  { text-shadow: 0px 0px 20px rgba(255, 80, 0, 1), 0px -5px 15px rgba(255, 160, 0, 0.6), 0px -8px 10px rgba(255, 60, 0, 0.3); }
    75%  { text-shadow: 0px 0px 15px rgba(255, 100, 0, 0.8), 0px -3px 12px rgba(255, 60, 0, 0.5); }
    100% { text-shadow: 0px 0px 5px rgba(255, 60, 0, 0.5); }
}

.linkmenu {
    transition: all 0.3s ease;
}

.linkmenu:hover {
    animation: link-flame 0.6s ease-in-out infinite;
    color: #ffaa44 !important;
    transform: translateX(3px);
}



/* ============================================
   ENHANCEMENT 5: Portrait Holographic Hover
   ============================================ */
@keyframes holo-sweep {
    0%   { transform: translateX(-100%) rotate(25deg); }
    100% { transform: translateX(200%) rotate(25deg); }
}

.about-me-portrait {
    position: relative;
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.about-me-portrait:hover {
    transform: scale(1.03);
    box-shadow: 0 0 20px rgba(255, 80, 80, 0.4), 0 0 40px rgba(255, 0, 0, 0.2);
}

.about-me-portrait::after {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 50%;
    height: 200%;
    background: linear-gradient(
        90deg,
        transparent 0%,
        rgba(255, 255, 255, 0.08) 40%,
        rgba(255, 255, 255, 0.2) 50%,
        rgba(255, 255, 255, 0.08) 60%,
        transparent 100%
    );
    transform: rotate(25deg);
    opacity: 0;
    transition: opacity 0.3s ease;
    pointer-events: none;
}

.about-me-portrait:hover::after {
    opacity: 1;
    animation: holo-sweep 0.8s ease-in-out;
}

/* ============================================
   ENHANCEMENT 6: LED Pulse on Now Playing
   ============================================ */
@keyframes led-pulse {
    0%, 100% { text-shadow: 0 0 5px #33ff00, 0 0 10px rgba(51, 255, 0, 0.3); }
    50%      { text-shadow: 0 0 8px #33ff00, 0 0 20px rgba(51, 255, 0, 0.5), 0 0 30px rgba(51, 255, 0, 0.2); }
}

@keyframes marquee-scroll {
    0%   { transform: translateX(0); }
    100% { transform: translateX(-100%); }
}

.music-player p {
    overflow: hidden;
    white-space: nowrap;
    animation: led-pulse 2s ease-in-out infinite;
}

.music-player p span {
    display: inline-block;
    padding-left: 2px;
    animation: marquee-scroll 10s linear infinite;
}

/* ============================================
   ENHANCEMENT 7: Quick Polish Touches
   ============================================ */

/* Newsbox hover glow */
.newsbox {
    transition: box-shadow 0.3s ease, transform 0.3s ease;
}

.newsbox:hover {
    box-shadow: 0 0 15px rgba(255, 208, 0, 0.3), inset 0 0 10px rgba(255, 208, 0, 0.05);
    transform: translateY(-1px);
}

/* Sidebar button links hover pop */
.button-cosmetic a img {
    transition: transform 0.2s ease, filter 0.2s ease;
}

.button-cosmetic a img:hover {
    transform: scale(1.08);
    filter: brightness(1.2) drop-shadow(0 0 4px rgba(255, 255, 255, 0.3));
}

/* Blog post summary hover indent */
.blog-post summary {
    cursor: pointer;
    transition: color 0.2s ease, padding-left 0.2s ease;
}

.blog-post summary:hover {
    color: #99ff33;
    padding-left: 8px;
    text-shadow: 0 0 8px rgba(102, 255, 0, 0.5);
}