/* Reset and layout alignment */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Segoe UI', Arial, sans-serif;
}

body {
    background-color: #0b0b0b;
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
    width: 100vw;
    overflow-x: hidden;
    overflow-y: auto;
    position: relative;
    perspective: 1000px; 
    
    /* Disables OS native pointer default styles */
    cursor: none !important; 
}

/* PREMIUM GLOWING CUSTOM SCROLLBAR OVERHAUL */
body::-webkit-scrollbar {
    width: 6px; /* Ultra-thin sleek structure */
}

body::-webkit-scrollbar-track {
    background: #07070a; 
}

body::-webkit-scrollbar-thumb {
    background: #0000FF;
    border-radius: 10px;
    box-shadow: 0 0 10px rgba(0, 0, 255, 0.85);
}

body::-webkit-scrollbar-thumb:hover {
    background: #2626ff;
}

/* Clear cursor footprints from interactive targets */
a, button, input, label, select, .progress-container {
    cursor: none !important;
}

/* Custom Cursor Tracker Container */
.custom-cursor {
    position: fixed;
    top: 0;
    left: 0;
    pointer-events: none;
    z-index: 99999;
    will-change: left, top;
    opacity: 0;
    
    /* Clean, soft glow wrapping the true vector shape */
    filter: drop-shadow(0 0 4px rgba(0, 0, 255, 0.85));
}

/* Size configuration for the crisp vector shapes */
.cursor-svg {
    display: block;
}

.arrow-icon {
    width: 18px;  /* Clean, crisp small scale */
    height: 21px;
}

.cross-icon {
    width: 18px;
    height: 18px;
    /* Centers crosshairs exactly over the cursor hotspot coordinate */
    margin-left: -9px;
    margin-top: -9px;
}

/* HIGH TECH INTERACTIVE CLICK RIPPLE EFFECT */
.click-ripple {
    position: fixed;
    border: 2px solid #0000FF;
    border-radius: 50%;
    pointer-events: none;
    transform: translate(-50%, -50%);
    z-index: 9999;
    will-change: width, height, opacity;
    box-shadow: 0 0 12px rgba(0, 0, 255, 0.5), inset 0 0 12px rgba(0, 0, 255, 0.3);
    animation: expandRipple 1s cubic-bezier(0.1, 0.8, 0.3, 1) forwards;
}

@keyframes expandRipple {
    0% {
        width: 0px;
        height: 0px;
        opacity: 1;
    }
    100% {
        width: 600px;
        height: 600px;
        opacity: 0;
    }
}

/* Background video container */
.background-video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 1;
}

/* The Frosted Glass Profile Card */
.profile-card {
    background: rgba(255, 255, 255, 0.03);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border: 1px solid rgba(255, 255, 255, 0.08);
    
    padding: 35px;
    border-radius: 24px;
    width: 380px;
    text-align: center;
    color: #ffffff;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.6);
    
    position: relative;
    z-index: 2;
    transform-style: preserve-3d; 
    will-change: transform;
}

/* Profile Picture with Blue border */
.avatar {
    width: 90px;
    height: 90px;
    border-radius: 50%;
    border: 2px solid #0000FF;
    margin-bottom: 15px;
    object-fit: cover;
    box-shadow: 0 0 15px rgba(0, 0, 255, 0.5);
    transform: translateZ(30px); 
}

/* Username: Semi-transparent black with neon blue glow */
.username {
    font-size: 32px;
    font-weight: 800;
    letter-spacing: 1px;
    margin-bottom: 14px;
    color: rgba(0, 0, 0, 0.75);
    text-shadow: 0 0 8px rgba(0, 0, 255, 0.8), 0 0 20px rgba(0, 0, 255, 0.4);
    transform: translateZ(25px);
}

/* Badge block with Blue theme */
.badge {
    display: inline-block;
    background: rgba(0, 0, 255, 0.15);
    border: 1px solid #0000FF;
    color: #0000FF;
    padding: 4px 14px;
    border-radius: 20px;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 1px;
    margin-bottom: 20px;
    box-shadow: 0 0 10px rgba(0, 0, 255, 0.3);
    transform: translateZ(20px);
}

/* Description Base Rules */
.description {
    font-size: 13px;
    font-weight: 700;
    line-height: 1.6;
    margin-bottom: 20px;
    transform: translateZ(20px);
}

/* Clock styling block */
.clock-container {
    margin-bottom: 25px;
    display: flex;
    flex-direction: column;
    gap: 4px;
    transform: translateZ(20px);
}

.clock-date {
    font-size: 12px;
    text-transform: uppercase;
}

.clock-time {
    font-size: 18px;
    font-weight: 900;
}

/* Audio Player Main Structure */
.custom-player {
    display: flex;
    flex-direction: column;
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    padding: 16px;
    border-radius: 16px;
    gap: 12px;
    transform: translateZ(15px);
}

.player-main {
    display: flex;
    align-items: center;
    text-align: left;
    gap: 15px;
}

/* Circular Play Button */
.play-btn {
    background: #ffffff;
    color: #111111;
    border: none;
    width: 42px;
    height: 42px;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    transition: all 0.2s ease;
    flex-shrink: 0;
}

.play-btn:hover {
    transform: scale(1.05);
    background: #0000FF;
    color: #ffffff;
    box-shadow: 0 0 15px rgba(0, 0, 255, 0.8);
}

.track-info {
    display: flex;
    flex-direction: column;
}

.track-title {
    font-size: 14px;
    font-weight: 700;
    margin-bottom: 2px;
}

/* Now Playing Active State in Blue */
.track-status {
    font-size: 11px;
    color: #555555;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.track-status.playing {
    color: #0000FF;
    font-weight: 700;
    text-shadow: 0 0 8px rgba(0, 0, 255, 0.5);
}

/* Progress Timeline bar styles */
.progress-container {
    width: 100%;
    height: 6px;
    background: rgba(0, 0, 0, 0.15);
    border-radius: 3px;
    position: relative;
    overflow: hidden;
    margin-top: 2px;
    margin-bottom: 4px;
}

.progress-bar {
    width: 0%;
    height: 100%;
    background: #0000FF;
    box-shadow: 0 0 8px rgba(0, 0, 255, 0.8);
    border-radius: 3px;
    transition: width 0.1s linear;
}

/* Advanced Audio Settings Drawer */
.advanced-controls {
    display: flex;
    flex-direction: column;
    gap: 12px;
    border-top: 1px solid rgba(255, 255, 255, 0.15);
    padding-top: 14px;
    text-align: left;
}

.control-group {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 13px;
    font-weight: 700;
}

.control-group label {
    flex-shrink: 0;
}

/* Outlined Text Theme */
.outlined-text {
    color: rgba(0, 0, 0, 0.72);
    font-weight: 800;
    letter-spacing: 0.6px;
    text-shadow: 0 0 6px rgba(0, 0, 255, 0.55);
}

/* Label explicit structural widths */
.control-group label:not([for="loopToggle"]) {
    width: 65px; 
}

/* MODERN SLIDERS OVERHAUL */
.control-group input[type="range"] {
    -webkit-appearance: none;
    appearance: none;
    flex-grow: 1;
    background: transparent;
}

/* The horizontal bar track */
.control-group input[type="range"]::-webkit-slider-runnable-track {
    background: rgba(0, 0, 255, 0.3);
    height: 4px;
    border-radius: 2px;
}

/* The moving circular handle button */
.control-group input[type="range"]::-webkit-slider-thumb {
    -webkit-appearance: none;
    appearance: none;
    margin-top: -5px; 
    background-color: #0000FF;
    height: 14px;
    width: 14px;
    border-radius: 50%;
    box-shadow: 0 0 8px rgba(0, 0, 255, 0.8);
    transition: transform 0.1s ease;
}

.control-group input[type="range"]::-webkit-slider-thumb:hover {
    transform: scale(1.2);
}

/* Firefox compatibility support */
.control-group input[type="range"]::-moz-range-track {
    background: rgba(0, 0, 255, 0.3);
    height: 4px;
    border-radius: 2px;
}
.control-group input[type="range"]::-moz-range-thumb {
    background-color: #0000FF;
    border: none;
    height: 14px;
    width: 14px;
    border-radius: 50%;
    box-shadow: 0 0 8px rgba(0, 0, 255, 0.8);
}

.value-display {
    font-size: 11px;
    width: 32px;
    text-align: right;
    color: rgba(0, 0, 0, 0.7);
    font-weight: 700;
}

/* Loop checkbox section alignment */
.toggle-group {
    justify-content: space-between;
}

.toggle-group input[type="checkbox"] {
    accent-color: #0000FF;
    width: 15px;
    height: 15px;
}