/*
Theme Name: Synthetic
Theme URI: https://synthetickids.com
Description: Audio project theme for SYNTHETIC KIDS. Terminal/surveillance aesthetic with custom audio player, visualizer, and member database.
Version: 1.0
Author: Pinkperc
Author URI: https://synthetickids.com
Requires at least: 5.0
Tested up to: 6.4
Requires PHP: 7.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: synthetic
*/
/* --- CSS Variables --- */
:root {
    /* Core Colors */
    --accent-pink: #ff00a0;
    --dark-bg: #101010;
    --content-bg: rgba(24, 24, 24, 0.88);
    --light-grey: #e0e0e0;
    --medium-grey: #a0a0a0;
    --dark-grey: #555555;
    --white: #ffffff;
    --border-color: rgba(255, 255, 255, 0.1);
    --border-highlight: var(--accent-pink);

    /* Fonts */
    --font-sans: 'Poppins', sans-serif;
    --font-mono: 'Roboto Mono', monospace;

    /* Player Specific */
    --player-bg: rgba(20, 20, 22, 0.15);
    --blur-amount: 10px;
    --control-icon-color: var(--medium-grey);
    --control-icon-hover-color: var(--white);
    --progress-bg: rgba(255, 255, 255, 0.15);
    --progress-fill-color: var(--accent-pink);
    --progress-handle-color: var(--white);
    --volume-icon-color: var(--medium-grey);

    /* Neon Text Effect  */
    --neon-text-color: var(--light-grey);
    --neon-glow-color: var(--accent-pink);
    --neon-glow-alpha: rgba(255, 0, 160, 0.5); /* Dimmed neon glow alpha */

    /* Logo Specific */
    --logo-base-glow: rgba(255, 0, 160, 0.3);
    --heartbeat-line-color: limegreen;

    /* Entry Point Specific */
    --entry-point-color: limegreen; /* Base color for entry point */
    --entry-point-pulse-color: darkgreen; /* Darker green for pulse effect */
}

/* --- Global Reset & Base Styles --- */
* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
    font-family: var(--font-sans); font-weight: 400;
    background-color: var(--dark-bg); color: var(--light-grey);
    min-height: 100vh; overflow-x: hidden; overflow-y: scroll;
    position: relative; padding-top: 12vh;
    padding-bottom: 25vh;
    line-height: 1.7;
}

/* --- Background Elements --- */
/* --- Self-hosted background video --- */
#video-background { position: fixed; top: 0; left: 0; width: 100%; height: 100%; z-index: -3; overflow: hidden; pointer-events: none; opacity: 0.9; background-color: var(--dark-bg); }
#video-background video {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 100vw;
    height: 100vh;
    min-width: 100vw;
    min-height: 100vh;
    transform: translate(-50%, -50%);
    object-fit: cover; /* fill the viewport without letterboxing */
    pointer-events: none;
}
/* Legacy YouTube iframe rules — kept in case the embed is ever restored */
#youtube-background { position: fixed; top: 0; left: 0; width: 100%; height: 100%; z-index: -3; overflow: hidden; pointer-events: none; opacity: 0.9; filter: none; }
#youtube-background iframe { position: absolute; top: 50%; left: 50%; width: 100vw; height: 56.25vw; min-width: 177.77vh; min-height: 100vh; transform: translate(-50%, -50%); pointer-events: none; }
/* Transparent shield: blocks all interaction with the background media so no
   player controls can ever surface on hover. */
#youtube-background .yt-shield,
#video-background .yt-shield { position: absolute; top: 0; left: 0; width: 100%; height: 100%; z-index: 1; pointer-events: none; }
.background-overlay { position: fixed; top: 0; left: 0; width: 100%; height: 100%; background: linear-gradient(rgba(0, 0, 0, 0.15), rgba(0, 0, 0, 0.4)); z-index: -2; pointer-events: none; }
.vignette-overlay { position: fixed; top: 0; left: 0; width: 100%; height: 100%; background: radial-gradient(ellipse at center, rgba(0,0,0,0) 70%, rgba(0,0,0,0.25) 100%); z-index: -1; pointer-events: none; }

/* --- Main Content Area --- */
.scrollable-content { position: relative; z-index: 3; width: 90%; max-width: 800px; margin: 0 auto; padding: 0 15px; display: flex; flex-direction: column; align-items: center; gap: 60px; }

/* --- Header --- */
.main-header {
    text-align: center;
    width: 100%;
    margin-bottom: 40px;
    padding-left: 40px;
    padding-right: 40px;
}

/* === NEW LOGO STYLES - Heartbeat Line Effect === */
#main-logo {
    display: block;
    position: relative;
    margin: 0 auto 15px auto;
    width: 100%;
    max-width: 700px;
    height: auto;
    overflow: hidden;
     filter: drop-shadow(0 0 2px var(--logo-base-glow));
}

#main-logo::before {
    content: '';
    position: absolute;
    top: 50%;
    left: -10%;
    width: 120%;
    height: 4px; /* Increased heartbeat line thickness */
    background-color: var(--heartbeat-line-color);
    transform: translateY(-50%);
    z-index: 2;
    opacity: 0.7;
    animation: heartbeat-line-move 3s linear infinite;
}
/* === END NEW LOGO STYLES === */


.subtitle {
    font-family: var(--font-mono);
    font-weight: 400;
    color: var(--light-grey);
    font-size: 1em;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    margin-top: 25px;
    height: auto;
    text-shadow: 1px 1px 2px rgba(0,0,0,0.7);
}

/* Scroll indicator — subtle hint there's more below */
.scroll-indicator {
    margin-top: 30px;
    font-family: var(--font-mono);
    color: var(--medium-grey);
    font-size: 1.2em;
    opacity: 0.6;
    animation: scroll-bounce 2s ease-in-out infinite;
}
@keyframes scroll-bounce {
    0%, 100% { transform: translateY(0); opacity: 0.4; }
    50% { transform: translateY(6px); opacity: 0.9; }
}


/* === NEW LOGO KEYFRAMES === */
@keyframes heartbeat-line-move {
    0% {
        transform: translateX(-100%) translateY(-50%);
    }
    50% {
        transform: translateX(0%) translateY(-50%);
    }
    100% {
        transform: translateX(100%) translateY(-50%);
    }
}
/* === END NEW LOGO KEYFRAMES === */


/* --- Content Sections --- */
.content-section { width: 100%; background: var(--content-bg); border: 1px solid var(--border-color); padding: 35px 40px; margin-bottom: 25px; border-radius: 0; box-shadow: 0 5px 20px rgba(0,0,0,0.2); position: relative; }
.section-header { margin-bottom: 25px; border-bottom: 2px solid var(--accent-pink); padding-bottom: 10px; }
.section-header h2 { font-family: var(--font-mono); font-weight: 400; font-size: 1.15em; color: var(--white); letter-spacing: 0.08em; text-transform: uppercase; text-shadow: 1px 1px 1px rgba(0,0,0,0.4); margin: 0; padding: 0; }
.content-section p { font-family: var(--font-sans); font-weight: 400; font-size: 1em; color: var(--light-grey); line-height: 1.8; margin-bottom: 15px; }
.content-section p:last-child { margin-bottom: 0; }

/* --- V17 Styling for About Section with Subtle Neon Flicker --- */
.about-text-content {
    font-family: var(--font-mono);
    font-size: 1em;
    line-height: 2.0;
    color: var(--neon-text-color);
}

.about-text-content .about-line {
    margin-bottom: 12px;
    opacity: 0.92;
    /* Static, subtle glow — no infinite flicker (readability first) */
    text-shadow:
        0 0 2px var(--neon-glow-alpha),
        0 0 4px var(--neon-glow-alpha);
}


.about-text-content .highlight-brand,
.about-text-content .highlight-name,
.about-text-content .highlight-location,
.about-text-content .highlight-album {
    color: var(--white);
    font-weight: 600;
}

.about-text-content .highlight-symbol {
    color: var(--accent-pink);
    font-weight: 700;
    padding: 0 0.2em;
    text-shadow:
        0 0 3px var(--accent-pink), /* Slightly reduced symbol glow */
        0 0 6px var(--accent-pink); /* Slightly reduced symbol glow */
    animation: none;
    opacity: 1;
}

/* Keyframes for the Neon Flicker Effect — removed (was distracting / hurt readability).
   The about text now uses a static subtle glow defined on .about-line above. */


.about-entry-point {
    font-family: var(--font-mono);
    text-align: center;
    margin-top: 35px;
    font-size: 1em;
    text-shadow: 1px 1px 2px rgba(0,0,0,0.7);
}
.about-entry-point a {
    display: inline-block;
    color: var(--accent-pink);
    font-weight: 700;
    text-decoration: none;
    padding: 14px 28px;
    border: 2px solid var(--accent-pink);
    border-radius: 4px;
    background: rgba(255, 0, 160, 0.08);
    letter-spacing: 0.1em;
    text-transform: uppercase;
    box-shadow: 0 0 12px var(--neon-glow-alpha), inset 0 0 12px rgba(255, 0, 160, 0.1);
    transition: color 0.25s, background 0.25s, border-color 0.25s, box-shadow 0.25s, transform 0.2s;
}
.about-entry-point a:hover {
    color: var(--white);
    background: var(--accent-pink);
    border-color: var(--white);
    box-shadow: 0 0 24px var(--accent-pink), inset 0 0 24px rgba(255,255,255,0.1);
    transform: translateY(-2px) scale(1.03);
}

/* Entry-point pulse keyframes removed — motion now only happens on hover. */
/* --- End About Section Styling --- */

/* Respect users who prefer reduced motion: disable the remaining ambient loops */
@media (prefers-reduced-motion: reduce) {
    .scroll-indicator,
    #main-logo::before {
        animation: none !important;
    }
}


/* =============================================== */
/* --- Primary Navigation (surveillance style) --- */
/* =============================================== */
.sk-nav {
    width: 100%;
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 28px;
    font-family: var(--font-mono);
}
.sk-nav a {
    display: inline-block;
    color: var(--light-grey);
    text-decoration: none;
    font-size: 0.85em;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    padding: 9px 18px;
    border: 1px solid var(--border-color);
    background: rgba(24, 24, 24, 0.55);
    position: relative;
    transition: color 0.2s ease, border-color 0.2s ease, background 0.2s ease, box-shadow 0.2s ease;
}
.sk-nav a::before {
    content: '// ';
    color: var(--accent-pink);
    opacity: 0.7;
}
.sk-nav a:hover,
.sk-nav a:focus-visible {
    color: var(--white);
    border-color: var(--accent-pink);
    background: rgba(255, 0, 160, 0.08);
    box-shadow: 0 0 10px var(--neon-glow-alpha), inset 0 0 8px rgba(255, 0, 160, 0.08);
    outline: none;
}


/* =============================================== */
/* --- Track List (FLASHY HOVER EFFECT UPDATE) --- */
/* =============================================== */
#music .track-list-container {
    border: none;
    background: none;
    padding: 0;
    margin-top: 0;
    max-height: none;
    overflow: visible; /* Important for potential pseudo-element overflow */
}

#track-list {
    list-style: none;
    border-top: 1px solid var(--border-color);
    padding-top: 20px;
}

/* Base Track Item Style - Added perspective, position:relative, and longer transition */
.track-item {
    display: block;
    padding: 12px 15px; /* Increase base padding slightly for effect space */
    cursor: pointer;
    border-bottom: 1px solid var(--border-color);
    font-size: 1.05em;
    color: var(--light-grey);
    font-weight: 600;
    font-family: var(--font-sans);
    border-left: 2px solid transparent; /* Updated border-left width */
    position: relative; /* Needed for pseudo-elements */
    overflow: hidden; /* Clip pseudo-elements if they extend too far */
    z-index: 1; /* Ensure item is above default background */
    /* **** LONGER & MORE COMPREHENSIVE TRANSITION **** */
    transition:
        color 0.5s ease-out, /* Increased from 0.3s */
        border-left-color 0.5s ease-out, /* Increased from 0.3s */
        transform 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94), /* Increased from 0.25s */
        box-shadow 0.5s ease-out; /* Increased from 0.3s */
}

/* Add left border animation pseudo-element */
.track-item::before {
    content: '';
    position: absolute;
    left: -2px; /* Match border-left width */
    top: 100%;
    width: 2px;
    height: 0;
    background-color: var(--accent-pink);
    transition: height 0.5s cubic-bezier(0.23, 1, 0.32, 1);
    transform-origin: bottom;
}

/* Bottom border animation pseudo-element */
.track-item::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    width: 0;
    height: 2px;
    background-color: var(--accent-pink);
    transition: width 0.5s cubic-bezier(0.23, 1, 0.32, 1);
}

/* Hover effects */
.track-item:hover::before {
    height: 100%;
    top: 0;
}

.track-item:hover::after {
    width: 100%;
}

/* Status Message Style - Ensure no hover/active effects */
.track-item.status-message {
    font-family: var(--font-mono);
    cursor: default;
    color: var(--medium-grey);
    font-weight: 400;
    letter-spacing: 0.05em;
    transform: none !important;
    box-shadow: none !important;
    border-left-color: transparent !important;
    padding: 12px 5px !important; /* Reset padding */
    overflow: visible; /* Reset overflow */
    z-index: 0;
}
/* Remove pseudo-elements for status message */
.track-item.status-message::before,
.track-item.status-message::after {
    display: none;
}

.track-item:last-child {
    border-bottom: none;
}

/* Track Item Hover State - FLASHY! */
.track-item:not(.status-message):hover {
    color: var(--white); /* Brighter text */
    border-left-color: var(--accent-pink); /* Accent border */
    /* **** MORE DRAMATIC TRANSFORM **** */
    transform: scale(1.05) translateZ(20px) rotateY(-3deg); /* Lift, scale, slight Y rotation */
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.4); /* Deeper shadow for lift effect */
    z-index: 2; /* Bring hovered item above others */
}

/* Animate ::before (Background Glow Spread) on hover */
.track-item:not(.status-message):hover::before {
    background-size: 250% 250%; /* Expand background massively for flash effect */
    opacity: 1;
    transition: 
        background-size 0.6s cubic-bezier(0.165, 0.84, 0.44, 1), /* Increased from 0.4s */
        opacity 0.6s ease-out; /* Increased from 0.3s */
}

/* Animate ::after (Highlight Bar) on hover */
.track-item:not(.status-message):hover::after {
    width: 100%; /* Expand bar to full width */
    transition: 
        width 0.6s cubic-bezier(0.23, 1, 0.32, 1), /* Increased from 0.35s */
        background-color 0.6s ease-out, /* Increased from 0.3s */
        box-shadow 0.6s ease-out; /* Increased from 0.3s */
}

/* Track Item Active State - Still distinct, less flashy than hover */
.track-item.active {
    color: var(--white);
    font-weight: 700;
    border-left-color: var(--accent-pink);
    /* Active state should feel 'selected' but not as dynamic as hover */
    transform: scale(1.01) translateZ(5px); /* Subtle lift */
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
    z-index: 1; /* Above non-hovered, below hovered */
}
/* Keep ::before less prominent on active (unless also hovered) */
.track-item.active::before {
    background: radial-gradient(circle at center, rgba(255, 0, 160, 0.15) 0%, rgba(255, 0, 160, 0) 70%);
    background-size: 150% 150%;
    opacity: 0.8;
    transition: background-size 0.4s ease-out, opacity 0.4s ease-out;
}
/* Keep ::after visible but maybe slightly different on active */
.track-item.active::after {
    width: 100%;
    background-color: var(--white); /* Different color for active bar? */
    box-shadow: 0 0 6px var(--white);
    transition: width 0.3s ease-out, background-color 0.3s ease-out, box-shadow 0.3s ease-out;
}

/* Ensure hover overrides active styles for ::before/::after when active is hovered */
.track-item.active:not(.status-message):hover::before {
    background: radial-gradient(circle at center, rgba(255, 0, 160, 0.3) 0%, rgba(255, 0, 160, 0) 60%); /* Revert to hover gradient */
    background-size: 250% 250%; /* Revert to hover size */
    opacity: 1;
    transition: background-size 0.4s cubic-bezier(0.165, 0.84, 0.44, 1), opacity 0.3s ease-out;
}
.track-item.active:not(.status-message):hover::after {
    width: 100%;
    background-color: var(--accent-pink); /* Revert to hover color */
    box-shadow: 0 0 8px var(--accent-pink); /* Revert to hover shadow */
    transition: width 0.35s cubic-bezier(0.23, 1, 0.32, 1), background-color 0.3s ease-out, box-shadow 0.3s ease-out;
}
/* =============================================== */
/* --- END Track List (FLASHY HOVER EFFECT UPDATE) --- */
/* =============================================== */


/* --- Links (Text-Based Monospace Style) --- */
.link-list {
    list-style: none;
    padding: 1.5rem 0 0 0; /* Padding above links */
    margin: 0 0 2.5rem 0; /* Margin below links, before note drop */
    display: flex;
    flex-wrap: wrap; /* Allow wrapping */
    justify-content: center; /* Center items horizontally */
    gap: 1rem 2.5rem; /* Row and column gap */
    text-align: center; /* Center text within items if they wrap strangely */
}

.link-list li {
    margin-bottom: 0; /* Remove default margin */
    padding: 0;
}

.link-list li a {
    font-family: var(--font-mono); /* Monospace font like the target */
    font-weight: 400; /* Regular weight */
    color: var(--medium-grey); /* Use medium grey for base color */
    text-decoration: none;
    padding: 5px 0; /* Minimal vertical padding */
    border: none; /* --- REMOVE BORDER --- */
    background: transparent; /* --- REMOVE BACKGROUND --- */
    transition: color 0.3s ease, text-shadow 0.3s ease; /* Smooth transition */
    font-size: 1em; /* Adjust size as needed */
    display: inline-block; /* Allow padding */
    text-transform: uppercase; /* Match header/mono styles */
    letter-spacing: 0.08em; /* Match header/mono styles */
}

.link-list li a:hover {
    color: var(--accent-pink); /* Highlight color on hover */
    text-shadow: 0 0 4px var(--accent-pink); /* Subtle glow on hover */
    /* Remove box hover styles */
    background: transparent;
    border: none;
    transform: none;
}
/* --- END Links (Text-Based Monospace Style) --- */


/* --- NOTE DROP STYLES --- */
.note-drop-container {
    margin-top: 0; /* Reset margin, spacing controlled by .link-list margin-bottom */
    max-width: 500px; /* Max width for the form */
    margin-left: auto;
    margin-right: auto;
}

.note-drop-container form {
    display: flex;
    flex-direction: column;
    gap: 1rem; /* Space between textarea and button */
}

.note-drop-container textarea {
    width: 100%;
    height: 100px; /* Increased height slightly */
    background: rgba(0, 0, 0, 0.4); /* Slightly darker background */
    border: 1px solid var(--border-color);
    color: var(--light-grey); /* Use theme variable */
    padding: 0.75rem 1rem;
    font-family: var(--font-mono); /* Use theme variable */
    font-size: 0.9em;
    resize: none; /* Prevent resizing */
    transition: border-color 0.3s ease;
}

.note-drop-container textarea::placeholder {
    color: var(--medium-grey); /* Use theme variable */
    opacity: 0.8;
}

.note-drop-container textarea:focus {
    outline: none;
    border-color: var(--accent-pink); /* Highlight with accent color */
}

.note-drop-container button {
    background: transparent; /* No background */
    border: 1px solid var(--medium-grey); /* Use theme variable */
    color: var(--medium-grey); /* Use theme variable */
    padding: 0.75rem 1rem; /* Match textarea padding */
    font-family: var(--font-mono); /* Use theme variable */
    font-size: 0.9em;
    cursor: pointer;
    transition: all 0.3s ease;
    text-align: center;
    letter-spacing: 0.05em;
}

.note-drop-container button:hover {
    border-color: var(--accent-pink);
    color: var(--accent-pink);
    background-color: rgba(255, 0, 160, 0.08); /* Subtle pink background on hover */
}
/* --- END NOTE DROP STYLES --- */


/* --- Visualizer --- */
#visualizer-container {
    position: fixed;
    bottom: calc(15px + 60px);
    right: 15px;
    z-index: 11;
    height: 140px;
    /* Lock to same standard width as audio player */
    width: 420px;
    max-width: calc(100vw - 30px);
    box-shadow: 0 5px 25px rgba(0,0,0,0.5);
    padding: 0;
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.4s ease-out, transform 0.4s ease-out;
    pointer-events: none;
    overflow: hidden;
}
#visualizer-container.visible {
    opacity: 1;
    transform: translateY(0);
}
#visualizer-canvas {
    display: block;
    width: 100%;
    height: 100%;
    background-color: transparent;
    padding: 0;
    border: 0;
    margin: 0;
    /* Removed vertical-align as it is not applicable for block elements */
}

/* --- HTML Audio Player --- */
#audio-player-container {
    position: fixed;
    bottom: 15px;
    right: 15px;
    z-index: 10;
    background-color: var(--player-bg);
    border: 1px solid var(--border-color);
    border-radius: 3px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.3);
    padding: 0 15px;
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.4s ease-out, transform 0.4s ease-out;
    pointer-events: none;
    height: 60px;
    /* Standard size that works across screens */
    width: 420px;
    max-width: calc(100vw - 30px);
    box-sizing: border-box;
    display: flex;
    align-items: center;
    -webkit-backdrop-filter: blur(var(--blur-amount));
    backdrop-filter: blur(var(--blur-amount));
}
#audio-player-container.visible {
    opacity: 1;
    transform: translateY(0);
    pointer-events: auto;
}
#html-audio-player { display: none; }
.player-controls { display: flex; align-items: center; width: 100%; height: 100%; gap: 15px; }
.error-message { font-size: 0.9em; width: 100%; text-align: center; color: #ff4d4d; }

/* --- Control Elements Styling --- */
#play-pause-button { background: none; border: none; padding: 0; margin: 0; cursor: pointer; color: var(--control-icon-color); width: 30px; height: 30px; display: inline-flex; justify-content: center; align-items: center; flex-shrink: 0; transition: color 0.2s ease, transform 0.1s ease; }
#play-pause-button:hover { color: var(--control-icon-hover-color); }
#play-pause-button:active { transform: scale(0.9); }
#play-pause-button svg { width: 26px; height: 26px; }
#play-pause-button.play .icon-pause, #play-pause-button.pause .icon-play { display: none; }
#play-pause-button.pause .icon-pause, #play-pause-button.play .icon-play { display: inline-block; }
.progress-container { flex-grow: 1; display: flex; align-items: center; gap: 10px; height: 100%; }
.time-display { font-size: 0.8em; color: var(--medium-grey); min-width: 35px; text-align: center; user-select: none; font-family: var(--font-mono); }
input[type="range"] { flex-grow: 1; height: 8px; cursor: pointer; appearance: none; -webkit-appearance: none; background: transparent; border-radius: 4px; position: relative; outline: none; }
input[type="range"]::-webkit-slider-runnable-track { width: 100%; height: 8px; background: var(--progress-bg); border-radius: 4px; transition: background 0.1s ease; }
input[type="range"]:hover::-webkit-slider-runnable-track { background: rgba(255, 255, 255, 0.2); }
input[type="range"]::-moz-range-track { width: 100%; height: 8px; background: var(--progress-bg); border-radius: 4px; transition: background 0.1s ease; }
input[type="range"]:hover::-moz-range-track { background: rgba(255, 255, 255, 0.2); }
input[type="range"]::-webkit-slider-thumb { appearance: none; -webkit-appearance: none; height: 16px; width: 16px; background: var(--progress-handle-color); border-radius: 50%; margin-top: -4px; box-shadow: 0 1px 4px rgba(0,0,0,0.5); transition: transform 0.1s ease; }
input[type="range"]:hover::-webkit-slider-thumb { transform: scale(1.15); }
input[type="range"]::-moz-range-thumb { height: 16px; width: 16px; background: var(--progress-handle-color); border-radius: 50%; border: none; box-shadow: 0 1px 4px rgba(0,0,0,0.5); transition: transform 0.1s ease; }
input[type="range"]:hover::-moz-range-thumb { transform: scale(1.15); }
#progress-bar {
    background: var(--progress-bg);
    position: relative;
    overflow: hidden;
}
#progress-bar::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    height: 100%;
    width: var(--progress-percent, 0%);
    background-color: var(--progress-fill-color);
    border-radius: 4px;
    transition: width 0.05s linear;
}

.volume-container { display: flex; align-items: center; gap: 8px; }
#volume-mute-button { background: none; border: none; padding: 0; margin: 0; cursor: pointer; color: var(--volume-icon-color); width: 24px; height: 24px; display: inline-flex; justify-content: center; align-items: center; flex-shrink: 0; transition: color 0.2s ease, transform 0.1s ease; }
#volume-mute-button:hover { color: var(--control-icon-hover-color); }
#volume-mute-button:active { transform: scale(0.9); }
#volume-mute-button svg { width: 20px; height: 20px; }
#volume-mute-button.volume-on .icon-volume-off, #volume-mute-button.volume-off .icon-volume-on { display: none; }
#volume-mute-button.volume-off .icon-volume-off, #volume-mute-button.volume-on .icon-volume-on { display: inline-block; }
#volume-slider {
    width: 70px;
    flex-grow: 0;
    background: var(--progress-bg);
    position: relative;
    overflow: hidden;
}
#volume-slider::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    height: 100%;
    width: var(--volume-percent, 60%);
    background-color: var(--volume-icon-color);
    border-radius: 4px;
    transition: width 0.05s linear, background-color 0.2s ease;
}
#volume-slider:hover::before {
    background-color: var(--control-icon-hover-color);
}
#volume-slider::-webkit-slider-thumb { height: 14px; width: 14px; margin-top: -3px; }
#volume-slider::-moz-range-thumb { height: 14px; width: 14px; }

/* --- Footer --- */
.main-footer { text-align: center; margin-top: 60px; padding-top: 30px; border-top: 1px solid var(--border-color); font-size: 0.85em; color: var(--medium-grey); opacity: 0.9; width: 100%; max-width: 800px; margin-left: auto; margin-right: auto; font-family: var(--font-sans); letter-spacing: 0.03em; text-shadow: 1px 1px 2px rgba(0,0,0,0.7); }
.main-footer p { line-height: 1.6; font-weight: 500; }
.monospace-text { font-family: var(--font-mono); font-weight: 400; letter-spacing: 0.05em; color: var(--light-grey); }


/* --- Responsive --- */
@media (max-width: 768px) {
    body { padding-bottom: 22vh; }
    .scrollable-content { width: 95%; gap: 40px; }
    .main-header {
        padding-left: 30px;
        padding-right: 30px;
    }
    .content-section { padding: 25px 30px; background: rgba(24, 24, 24, 0.9); }
    .section-header h2 { font-size: 1.05em; }
    .track-item { font-size: 1em; padding: 10px 12px; } /* Adjust base padding */
    /* Adjust active/hover transforms slightly if needed for smaller screens */
    .track-item:not(.status-message):hover { transform: scale(1.04) translateZ(15px) rotateY(-2deg); }
    .track-item.active { transform: scale(1.01) translateZ(4px); }

    /* --- Links Responsive (768px) --- */
    .link-list {
        gap: 0.8rem 2rem; /* Reduce gap */
        padding-top: 1rem;
        margin-bottom: 2rem; /* Adjust spacing */
    }
     .link-list li a {
        font-size: 0.95em; /* Slightly smaller */
        letter-spacing: 0.06em;
    }

     /* --- Note Drop Responsive (768px) --- */
     .note-drop-container textarea {
        height: 90px; /* Slightly smaller */
     }

    /* Responsive logo size */
    #main-logo {
        max-width: 550px;
        margin-bottom: 15px;
    }
     #main-logo::before {
        height: 3px; /* Adjusted line thickness for smaller screens */
    }

    .subtitle { margin-top: 20px; }
    .about-text-content { font-size: 0.95em; line-height: 1.9; }
    .about-text-content .about-line { margin-bottom: 10px; }
    #visualizer-container { bottom: calc(10px + 56px); right: 10px; height: 120px; }
    #audio-player-container { bottom: 10px; right: 10px; height: 56px; padding: 0 10px; border-radius: 3px; }
    .player-controls { gap: 10px; }
    #play-pause-button { width: 26px; height: 26px; }
    #play-pause-button svg { width: 22px; height: 22px; }
    .time-display { font-size: 0.75em; min-width: 30px;}
    .progress-container { gap: 8px; }
    .volume-container { gap: 6px; }
    #volume-slider { width: 50px; }
}

@media (max-width: 480px) {
    body { padding-bottom: 20vh; }
     .main-header { padding-left: 25px; padding-right: 25px; }
    .subtitle { font-size: 0.9em; letter-spacing: 0.08em; margin-top: 15px; }
    .section-header h2 { font-size: 1em; letter-spacing: 0.06em; }
    .content-section { padding: 20px 25px; }

    .track-item { font-size: 0.95em; padding: 8px 10px; } /* Adjust base padding */
     /* Adjust active/hover transforms slightly if needed for smaller screens */
    .track-item:not(.status-message):hover { transform: scale(1.03) translateZ(10px) rotateY(-1deg); }
    .track-item.active { transform: scale(1.005) translateZ(2px); }


    /* --- Links Responsive (480px) --- */
    .link-list { justify-content: center; gap: 0.8rem; margin-bottom: 1.5rem; padding-top: 1rem; }
    .link-list li { width: auto; }
    .link-list li a { font-size: 0.9em; display: inline-block; }

    /* --- Note Drop Responsive (480px) --- */
    /* (Removed empty ruleset) */

    /* Responsive logo size */
     #main-logo { max-width: 400px; }
    #main-logo::before { height: 2px; }

    /* Responsive About Text Small Screen */
    .about-text-content { font-size: 0.9em; line-height: 1.8; }
    .about-text-content .about-line { margin-bottom: 8px; }

    /* Player/Visualizer on small screens */
    #visualizer-container { height: 100px; bottom: calc(10px + 50px); }
     #audio-player-container { height: 50px; border-radius: 3px; }
}

/* --- NOW PLAYING LABEL (with marquee when text overflows) --- */
.now-playing-container {
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    gap: 4px;
    min-width: 0; /* allow flex child to shrink below content width */
}
#now-playing-label {
    display: block;
    font-size: 0.75em;
    color: var(--medium-grey);
    letter-spacing: 0.05em;
    opacity: 0.85;
    padding: 0 4px;
    overflow: hidden;
    white-space: nowrap;
    position: relative;
}
/* Inner span is set by JS only when text overflows. It scrolls across. */
#now-playing-label .marquee-inner {
    display: inline-block;
    padding-left: 100%; /* start off-screen right */
    animation: marquee-scroll 12s linear infinite;
}
@keyframes marquee-scroll {
    0%   { transform: translateX(0); }
    100% { transform: translateX(-100%); }
}
@media (max-width: 480px) {
    #now-playing-label { font-size: 0.7em; }
}

/* --- REDUCED MOTION: disable decorative animations for users who prefer it --- */
@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
        scroll-behavior: auto !important;
    }
}
.reduced-motion #main-logo::before,
.reduced-motion .about-text-content .about-line,
.reduced-motion .about-entry-point,
.reduced-motion .scroll-indicator {
    animation: none !important;
}

/* =============================================== */
/* --- MEMBER_DATABASE SECTION (ID cards) --- */
/* =============================================== */
.member-cards-section {
    position: relative;
    z-index: 3;
    width: 90%;
    max-width: 800px;
    margin: 40px auto 60px auto;
    padding: 0 15px;
}
.member-cards-section .section-header {
    text-align: center;
    margin-bottom: 30px;
    border-bottom: none;
    padding-bottom: 0;
}
.member-cards-section .section-header h3 {
    font-family: var(--font-mono);
    font-size: 1.2rem;
    color: var(--accent-pink);
    text-shadow: 0 0 10px var(--neon-glow-alpha);
    letter-spacing: 2px;
    margin: 0;
    text-transform: uppercase;
}
.member-cards-container {
    display: flex;
    flex-direction: column;
    gap: 20px;
    align-items: center;
}
.member-id-card {
    background: linear-gradient(135deg, rgba(24,24,24,0.95) 0%, rgba(32,32,36,0.95) 100%);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    padding: 20px;
    width: 100%;
    max-width: 500px;
    -webkit-backdrop-filter: blur(var(--blur-amount));
    backdrop-filter: blur(var(--blur-amount));
    box-shadow: 0 8px 32px rgba(0,0,0,0.3), inset 0 1px 0 rgba(255,255,255,0.1);
    position: relative;
    transition: all 0.3s ease;
}
.member-id-card:hover {
    border-color: var(--accent-pink);
    box-shadow: 0 8px 32px rgba(0,0,0,0.4), 0 0 20px rgba(255,0,160,0.2), inset 0 1px 0 rgba(255,255,255,0.1);
    transform: translateY(-2px);
}
.id-card-header {
    display: flex;
    gap: 15px;
    margin-bottom: 20px;
    align-items: flex-start;
}
.member-photo-placeholder {
    width: 80px;
    height: 80px;
    border-radius: 8px;
    background: linear-gradient(135deg, rgba(255,0,160,0.1) 0%, rgba(255,0,160,0.05) 100%);
    border: 2px solid var(--accent-pink);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    overflow: hidden;
}
.member-photo {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 6px;
    display: block;
}
.member-basic-info { flex: 1; }
.member-name {
    font-family: var(--font-mono);
    font-size: 1.1rem;
    color: var(--white);
    margin: 0 0 5px 0;
    text-transform: uppercase;
    letter-spacing: 1px;
}
.member-role {
    font-family: var(--font-sans);
    font-size: 0.85rem;
    color: var(--accent-pink);
    margin: 0 0 8px 0;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}
.member-id {
    font-family: var(--font-mono);
    font-size: 0.75rem;
    color: var(--medium-grey);
    background: rgba(255,255,255,0.05);
    padding: 3px 8px;
    border-radius: 4px;
    display: inline-block;
}
.id-card-details { margin-bottom: 15px; }
.detail-row {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 8px;
    font-family: var(--font-mono);
    font-size: 0.8rem;
}
.detail-icon { font-size: 0.9rem; width: 16px; text-align: center; color: var(--accent-pink); }
.detail-label { color: var(--medium-grey); min-width: 80px; text-transform: uppercase; letter-spacing: 0.5px; }
.detail-value {
    color: var(--light-grey);
    flex: 1;
    background: rgba(255,255,255,0.03);
    padding: 2px 6px;
    border-radius: 3px;
    border-left: 2px solid var(--accent-pink);
}
.id-card-footer {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 8px;
    padding-top: 15px;
    border-top: 1px solid rgba(255,255,255,0.1);
}
.status-indicator {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--accent-pink);
    box-shadow: 0 0 8px var(--accent-pink);
    animation: status-pulse 2s infinite;
}
.status-indicator.active { background: limegreen; box-shadow: 0 0 8px limegreen; }
.status-text {
    font-family: var(--font-mono);
    font-size: 0.7rem;
    color: limegreen;
    text-transform: uppercase;
    letter-spacing: 1px;
}
@keyframes status-pulse { 0%, 100% { opacity: 1; } 50% { opacity: 0.5; } }

.social-access-link {
    color: var(--accent-pink);
    text-decoration: none;
    font-family: var(--font-mono);
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    padding: 2px 6px;
    border-radius: 3px;
    background: rgba(255,0,160,0.1);
    border: 1px solid rgba(255,0,160,0.3);
    transition: all 0.3s ease;
    display: inline-block;
    font-size: 0.75rem;
}
.social-access-link:hover {
    color: var(--white);
    background: rgba(255,0,160,0.2);
    border-color: var(--accent-pink);
    box-shadow: 0 0 8px rgba(255,0,160,0.4), inset 0 1px 0 rgba(255,255,255,0.1);
    transform: translateY(-1px);
    text-shadow: 0 0 4px rgba(255,0,160,0.6);
}

@media (max-width: 768px) {
    .member-cards-section { width: 95%; margin: 30px auto 50px auto; }
    .member-id-card { padding: 15px; }
    .id-card-header { gap: 12px; }
    .member-photo-placeholder { width: 60px; height: 60px; }
    .member-name { font-size: 1rem; }
    .member-role { font-size: 0.8rem; }
    .detail-row { font-size: 0.75rem; }
    .detail-label { min-width: 70px; }
}
@media (max-width: 480px) {
    .detail-row { flex-direction: column; gap: 4px; align-items: flex-start; }
    .detail-label { min-width: auto; margin-left: 20px; }
    .detail-value { margin-left: 20px; width: calc(100% - 20px); }
    .social-access-link { width: 100%; text-align: center; }
}

/* =============================================== */
/* --- TRACK ITEM EQUALIZER ICON + LOADING STATE --- */
/* =============================================== */
.track-item {
    display: flex;
    align-items: center;
    gap: 12px;
}
.track-title { flex: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.track-status {
    font-family: var(--font-mono);
    font-size: 0.7em;
    color: var(--accent-pink);
    opacity: 0;
    transition: opacity 0.2s ease;
    white-space: nowrap;
}
.track-item.loading .track-status { opacity: 1; animation: status-pulse 1.2s ease-in-out infinite; }

/* Equalizer icon (3 bars). Hidden by default; animates only on .active */
.track-eq {
    display: inline-flex;
    align-items: flex-end;
    gap: 2px;
    width: 14px;
    height: 14px;
    flex-shrink: 0;
    opacity: 0;
    transition: opacity 0.3s ease;
}
.track-eq i {
    display: block;
    width: 3px;
    background: var(--accent-pink);
    box-shadow: 0 0 4px var(--accent-pink);
}
.track-item.active .track-eq { opacity: 1; }
.track-item.active .track-eq i { animation: eq-bounce 0.9s ease-in-out infinite; }
.track-item.active .track-eq i:nth-child(1) { animation-delay: 0s; }
.track-item.active .track-eq i:nth-child(2) { animation-delay: -0.3s; }
.track-item.active .track-eq i:nth-child(3) { animation-delay: -0.6s; }
@keyframes eq-bounce {
    0%, 100% { height: 30%; }
    50%      { height: 100%; }
}
/* Status-message list items don't show eq */
.track-item.status-message .track-eq { display: none; }

/* =============================================== */
/* --- FOOTER STATS LINE --- */
/* =============================================== */
.footer-stats {
    font-size: 0.75em !important;
    color: var(--medium-grey);
    opacity: 0.75;
    letter-spacing: 0.08em;
    margin-bottom: 6px;
}
.footer-stats span { color: var(--accent-pink); font-weight: 600; }

/* =============================================== */
/* --- BACK TO TOP BUTTON --- */
/* =============================================== */
#back-to-top {
    position: fixed;
    bottom: 15px;
    left: 15px;
    z-index: 12;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    border: 1px solid var(--border-color);
    background: var(--player-bg);
    color: var(--light-grey);
    font-family: var(--font-mono);
    font-size: 1.1em;
    cursor: pointer;
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px);
    transition: opacity 0.3s ease, transform 0.3s ease, visibility 0.3s, background 0.2s, color 0.2s, border-color 0.2s;
    -webkit-backdrop-filter: blur(var(--blur-amount));
    backdrop-filter: blur(var(--blur-amount));
}
#back-to-top.visible { opacity: 0.85; visibility: visible; transform: translateY(0); }
#back-to-top:hover { opacity: 1; color: var(--accent-pink); border-color: var(--accent-pink); background: rgba(255,0,160,0.1); }

@media (max-width: 480px) {
    #back-to-top { width: 40px; height: 40px; bottom: 12px; left: 12px; }
}


/* ===================================================================== */
/* --- WORDPRESS CORE STYLES ------------------------------------------- */
/* Styles for posts, pages, archives, search, comments, widgets and      */
/* pagination. Front page keeps its own layout; these cover inner pages. */
/* ===================================================================== */

/* --- Accessibility: screen-reader-only text (WP standard) --- */
.screen-reader-text {
    border: 0;
    clip: rect(1px, 1px, 1px, 1px);
    clip-path: inset(50%);
    height: 1px;
    width: 1px;
    margin: -1px;
    padding: 0;
    overflow: hidden;
    position: absolute !important;
    word-wrap: normal !important;
}
.screen-reader-text:focus {
    clip: auto !important;
    clip-path: none;
    display: block;
    top: 5px;
    left: 5px;
    width: auto;
    height: auto;
    padding: 15px 23px 14px;
    font-size: 0.875rem;
    line-height: normal;
    background-color: var(--dark-bg);
    color: var(--accent-pink);
    border: 1px solid var(--accent-pink);
    z-index: 100000;
    text-decoration: none;
}

/* --- Site header on inner pages --- */
.sk-site-header {
    position: relative;
    z-index: 3;
    width: 90%;
    max-width: 800px;
    margin: 0 auto 45px auto;
    padding: 0 15px;
    text-align: center;
}
.sk-site-brand { display: inline-block; }
.sk-site-logo {
    display: block;
    width: 100%;
    max-width: 380px;
    height: auto;
    margin: 0 auto 8px auto;
    filter: drop-shadow(0 0 2px var(--logo-base-glow));
}

/* --- Entry (post/page) --- */
.entry-title {
    font-family: var(--font-mono);
    font-weight: 400;
    font-size: 1.15em;
    color: var(--white);
    letter-spacing: 0.08em;
    text-transform: uppercase;
    margin: 0;
}
.entry-title a { color: var(--white); text-decoration: none; transition: color 0.2s ease; }
.entry-title a:hover, .entry-title a:focus-visible { color: var(--accent-pink); outline: none; }

.entry-meta {
    font-family: var(--font-mono);
    font-size: 0.8em;
    color: var(--medium-grey);
    letter-spacing: 0.06em;
    margin-bottom: 18px;
}
.entry-meta a { color: var(--medium-grey); text-decoration: none; }
.entry-meta a:hover { color: var(--accent-pink); }

.entry-thumb { display: block; margin-bottom: 20px; }
.entry-thumb img {
    display: block;
    max-width: 100%;
    height: auto;
    border: 1px solid var(--border-color);
}

.entry-content { font-family: var(--font-sans); color: var(--light-grey); line-height: 1.8; }
.entry-content > * + * { margin-top: 1.1em; }
.entry-content a { color: var(--accent-pink); text-decoration: underline; text-underline-offset: 3px; }
.entry-content a:hover { color: var(--white); }

.entry-content h1, .entry-content h2, .entry-content h3,
.entry-content h4, .entry-content h5, .entry-content h6 {
    font-family: var(--font-mono);
    font-weight: 400;
    color: var(--white);
    letter-spacing: 0.05em;
    line-height: 1.4;
    margin-top: 1.6em;
}
.entry-content h1 { font-size: 1.5em; }
.entry-content h2 { font-size: 1.3em; }
.entry-content h3 { font-size: 1.15em; }
.entry-content h4, .entry-content h5, .entry-content h6 { font-size: 1em; }

.entry-content ul, .entry-content ol { padding-left: 1.5em; }
.entry-content li + li { margin-top: 0.4em; }

.entry-content blockquote {
    border-left: 3px solid var(--accent-pink);
    padding: 4px 0 4px 18px;
    color: var(--medium-grey);
    font-style: normal;
    font-family: var(--font-mono);
    font-size: 0.95em;
}

.entry-content code,
.entry-content pre {
    font-family: var(--font-mono);
    font-size: 0.9em;
    background: rgba(0, 0, 0, 0.45);
    border: 1px solid var(--border-color);
    color: var(--light-grey);
}
.entry-content code { padding: 2px 6px; }
.entry-content pre { padding: 14px 16px; overflow-x: auto; }
.entry-content pre code { background: none; border: 0; padding: 0; }

.entry-content img { max-width: 100%; height: auto; }
.entry-content table { width: 100%; border-collapse: collapse; font-size: 0.95em; }
.entry-content th, .entry-content td {
    border: 1px solid var(--border-color);
    padding: 8px 10px;
    text-align: left;
}
.entry-content th { font-family: var(--font-mono); color: var(--white); font-weight: 400; }

/* WordPress default image/caption classes */
.entry-content .alignleft  { float: left;  margin: 0 20px 15px 0; }
.entry-content .alignright { float: right; margin: 0 0 15px 20px; }
.entry-content .aligncenter { display: block; margin-left: auto; margin-right: auto; }
.wp-caption { max-width: 100%; }
.wp-caption-text, .entry-content figcaption {
    font-family: var(--font-mono);
    font-size: 0.78em;
    color: var(--medium-grey);
    margin-top: 6px;
}
.sticky .entry-title::after {
    content: ' [PINNED]';
    color: var(--accent-pink);
    font-size: 0.7em;
}

/* --- Read more link --- */
.read-more-wrap { margin-top: 18px; }
.read-more {
    display: inline-block;
    font-family: var(--font-mono);
    font-size: 0.82em;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--accent-pink);
    text-decoration: none;
    padding: 8px 16px;
    border: 1px solid var(--accent-pink);
    background: rgba(255, 0, 160, 0.06);
    transition: color 0.2s ease, background 0.2s ease, box-shadow 0.2s ease;
}
.read-more:hover, .read-more:focus-visible {
    color: var(--white);
    background: var(--accent-pink);
    box-shadow: 0 0 14px var(--neon-glow-alpha);
    outline: none;
}

/* --- Entry footer (cats/tags) --- */
.entry-footer {
    margin-top: 22px;
    padding-top: 14px;
    border-top: 1px solid var(--border-color);
    font-family: var(--font-mono);
    font-size: 0.78em;
    color: var(--medium-grey);
    letter-spacing: 0.05em;
}
.entry-footer a { color: var(--medium-grey); text-decoration: none; }
.entry-footer a:hover { color: var(--accent-pink); }
.entry-footer div + div { margin-top: 5px; }

/* --- Archive description --- */
.archive-description { margin-top: 10px; }

/* --- Pagination + post navigation --- */
.navigation.pagination,
.post-navigation,
.comment-navigation {
    width: 100%;
    margin: 10px 0 25px 0;
    font-family: var(--font-mono);
    font-size: 0.85em;
}
.navigation .nav-links {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    align-items: center;
    justify-content: center;
}
.post-navigation .nav-links { justify-content: space-between; }
.navigation a,
.navigation .page-numbers {
    display: inline-block;
    color: var(--light-grey);
    text-decoration: none;
    letter-spacing: 0.08em;
    padding: 8px 14px;
    border: 1px solid var(--border-color);
    background: rgba(24, 24, 24, 0.55);
    transition: color 0.2s ease, border-color 0.2s ease, background 0.2s ease;
}
.navigation a:hover,
.navigation a:focus-visible {
    color: var(--white);
    border-color: var(--accent-pink);
    background: rgba(255, 0, 160, 0.08);
    outline: none;
}
.navigation .page-numbers.current {
    color: var(--white);
    border-color: var(--accent-pink);
    background: rgba(255, 0, 160, 0.15);
}
.post-navigation a { max-width: 48%; }

/* --- Search form --- */
.sk-search {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 20px;
    font-family: var(--font-mono);
}
.sk-search label { flex: 1 1 200px; margin: 0; }
.sk-search .search-field {
    width: 100%;
    font-family: var(--font-mono);
    font-size: 0.9em;
    color: var(--light-grey);
    background: rgba(0, 0, 0, 0.5);
    border: 1px solid var(--border-color);
    padding: 10px 12px;
    letter-spacing: 0.05em;
}
.sk-search .search-field::placeholder { color: var(--dark-grey); }
.sk-search .search-field:focus {
    outline: none;
    border-color: var(--accent-pink);
    box-shadow: 0 0 10px var(--neon-glow-alpha);
}
.sk-search .search-submit {
    font-family: var(--font-mono);
    font-size: 0.82em;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--accent-pink);
    background: rgba(255, 0, 160, 0.06);
    border: 1px solid var(--accent-pink);
    padding: 10px 20px;
    cursor: pointer;
    transition: color 0.2s ease, background 0.2s ease;
}
.sk-search .search-submit:hover {
    color: var(--white);
    background: var(--accent-pink);
}

/* --- Comments --- */
.comments-area { margin-top: 10px; }
.comments-title, .comment-reply-title {
    font-family: var(--font-mono);
    font-weight: 400;
    font-size: 1.05em;
    color: var(--white);
    letter-spacing: 0.08em;
    text-transform: uppercase;
    margin: 0;
}
.comment-reply-title {
    padding-bottom: 10px;
    margin-bottom: 20px;
    border-bottom: 2px solid var(--accent-pink);
}
.comment-list { list-style: none; padding: 0; margin: 20px 0 0 0; }
.comment-list .children { list-style: none; padding-left: 22px; margin-top: 15px; }
.comment-list li { margin-bottom: 18px; }
.comment-body {
    border: 1px solid var(--border-color);
    background: rgba(0, 0, 0, 0.28);
    padding: 16px 18px;
}
.comment-author {
    font-family: var(--font-mono);
    font-size: 0.85em;
    color: var(--white);
    letter-spacing: 0.05em;
}
.comment-author .avatar {
    vertical-align: middle;
    margin-right: 10px;
    border: 1px solid var(--border-color);
}
.comment-author a { color: var(--accent-pink); text-decoration: none; }
.comment-metadata {
    font-family: var(--font-mono);
    font-size: 0.72em;
    color: var(--medium-grey);
    margin: 6px 0 12px 0;
    letter-spacing: 0.05em;
}
.comment-metadata a { color: var(--medium-grey); text-decoration: none; }
.comment-metadata a:hover { color: var(--accent-pink); }
.comment-content { font-family: var(--font-sans); color: var(--light-grey); line-height: 1.7; }
.comment-content a { color: var(--accent-pink); }
.reply { margin-top: 10px; }
.comment-reply-link {
    font-family: var(--font-mono);
    font-size: 0.75em;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--accent-pink);
    text-decoration: none;
    border: 1px solid var(--border-color);
    padding: 4px 10px;
    transition: border-color 0.2s ease, color 0.2s ease;
}
.comment-reply-link:hover { color: var(--white); border-color: var(--accent-pink); }
.comment-notes, .no-comments, .logged-in-as {
    font-family: var(--font-mono);
    font-size: 0.78em;
    color: var(--medium-grey);
    letter-spacing: 0.05em;
}
.logged-in-as a { color: var(--accent-pink); text-decoration: none; }

/* Comment form fields */
.comment-form { margin-top: 25px; }
.comment-form p { margin-bottom: 16px; }
.comment-form label {
    display: block;
    font-family: var(--font-mono);
    font-size: 0.78em;
    color: var(--medium-grey);
    letter-spacing: 0.08em;
    text-transform: uppercase;
    margin-bottom: 6px;
}
.comment-form input[type="text"],
.comment-form input[type="email"],
.comment-form input[type="url"],
.comment-form textarea {
    width: 100%;
    font-family: var(--font-mono);
    font-size: 0.9em;
    color: var(--light-grey);
    background: rgba(0, 0, 0, 0.5);
    border: 1px solid var(--border-color);
    padding: 10px 12px;
}
.comment-form input:focus, .comment-form textarea:focus {
    outline: none;
    border-color: var(--accent-pink);
    box-shadow: 0 0 10px var(--neon-glow-alpha);
}
.comment-form .submit {
    font-family: var(--font-mono);
    font-size: 0.85em;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--accent-pink);
    background: rgba(255, 0, 160, 0.06);
    border: 1px solid var(--accent-pink);
    padding: 12px 26px;
    cursor: pointer;
    transition: color 0.2s ease, background 0.2s ease, box-shadow 0.2s ease;
}
.comment-form .submit:hover {
    color: var(--white);
    background: var(--accent-pink);
    box-shadow: 0 0 16px var(--neon-glow-alpha);
}

/* --- Widgets --- */
.sk-sidebar {
    position: relative;
    z-index: 3;
    width: 90%;
    max-width: 800px;
    margin: 0 auto;
    padding: 0 15px;
}
.widget-title {
    font-family: var(--font-mono);
    font-weight: 400;
    font-size: 1.05em;
    color: var(--white);
    letter-spacing: 0.08em;
    text-transform: uppercase;
    margin: 0;
}
.widget ul { list-style: none; padding: 0; }
.widget li { padding: 7px 0; border-bottom: 1px solid var(--border-color); }
.widget li:last-child { border-bottom: 0; }
.widget a { color: var(--light-grey); text-decoration: none; transition: color 0.2s ease; }
.widget a:hover { color: var(--accent-pink); }
.footer-widget {
    font-family: var(--font-mono);
    font-size: 0.85em;
    margin-bottom: 20px;
}

/* --- Password protected form --- */
.post-password-form label {
    display: block;
    font-family: var(--font-mono);
    font-size: 0.8em;
    color: var(--medium-grey);
    text-transform: uppercase;
    letter-spacing: 0.08em;
}
.post-password-form input[type="password"] {
    font-family: var(--font-mono);
    color: var(--light-grey);
    background: rgba(0, 0, 0, 0.5);
    border: 1px solid var(--border-color);
    padding: 9px 12px;
    margin-top: 6px;
}
.post-password-form input[type="submit"] {
    font-family: var(--font-mono);
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--accent-pink);
    background: rgba(255, 0, 160, 0.06);
    border: 1px solid var(--accent-pink);
    padding: 9px 18px;
    cursor: pointer;
}

/* --- WP admin bar offset --- */
body.admin-bar-showing { padding-top: calc(12vh + 32px); }

/* --- Page links (paginated posts) --- */
.page-links {
    margin-top: 20px;
    font-family: var(--font-mono);
    font-size: 0.82em;
    color: var(--medium-grey);
    letter-spacing: 0.06em;
}
.page-links a { color: var(--accent-pink); text-decoration: none; padding: 0 5px; }

/* --- Mobile adjustments for WP content --- */
@media (max-width: 600px) {
    .sk-site-logo { max-width: 260px; }
    .post-navigation .nav-links { flex-direction: column; }
    .post-navigation a { max-width: 100%; }
    .comment-list .children { padding-left: 12px; }
}

/* --- Footer widget area + footer nav --- */
.sk-footer-widgets,
.sk-footer-nav {
    position: relative;
    z-index: 3;
    width: 90%;
    max-width: 800px;
    margin: 0 auto;
    padding: 0 15px;
}
.sk-footer-widgets { margin-top: 40px; }
.sk-footer-nav {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 6px 18px;
    margin-top: 25px;
    padding-top: 18px;
    border-top: 1px solid var(--border-color);
    font-family: var(--font-mono);
    font-size: 0.78em;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}
.sk-footer-nav a { color: var(--medium-grey); text-decoration: none; transition: color 0.2s ease; }
.sk-footer-nav a:hover, .sk-footer-nav a:focus-visible { color: var(--accent-pink); outline: none; }

/* ================================================================ */
/* --- HOMEPAGE MOBILE AUDIT FIXES -------------------------------- */
/* ================================================================ */

/* 1. .sk-nav had NO mobile rules at all. At 0.85em with 18px side
      padding and a 12px gap, three buttons overflow a 360px phone
      and the tap targets are under the ~44px guideline. */
@media (max-width: 600px) {
    .sk-nav {
        gap: 8px;
        margin-top: 22px;
    }
    .sk-nav a {
        font-size: 0.75em;
        letter-spacing: 0.08em;
        padding: 12px 14px;   /* taller: proper touch target */
        flex: 1 1 auto;
        text-align: center;
        min-width: 0;         /* allow shrinking instead of overflowing */
    }
}

@media (max-width: 380px) {
    /* Very narrow: stack rather than squeeze three across. */
    .sk-nav { flex-direction: column; }
    .sk-nav a { width: 100%; }
}

/* 2. Hover-only effects were unguarded. On a touch screen :hover
      fires on tap and STICKS until you tap elsewhere, so track rows
      stayed scaled/rotated after being tapped. Restrict the 3D
      transforms to devices that genuinely hover (mouse/trackpad). */
@media (hover: none) {
    .track-item:not(.status-message):hover,
    .track-item:not(.status-message):active {
        transform: none;
        box-shadow: none;
    }
    .sk-nav a:hover { box-shadow: none; }
    .about-entry-point a:hover { transform: none; }
}

/* 3. body has padding-bottom:25vh to clear the fixed player. On a
      short phone viewport 25vh is not enough vertical room, so the
      last track can sit under the player. Use a fixed clearance
      that matches the shrunken player height instead. */
@media (max-width: 600px) {
    body {
        padding-top: 6vh;
        padding-bottom: 110px;  /* 50-56px player + breathing room */
    }
}

/* 4. Guard against any sideways scrolling on the homepage. */
@media (max-width: 600px) {
    html, body { max-width: 100%; overflow-x: hidden; }
    .scrollable-content { padding-left: 12px; padding-right: 12px; }
}
