/* --- Global & Theme --- */
:root {
    --amp-primary-color: #ff4500; /* Deep Orange/Red for LEDs and highlights */
    --amp-secondary-color: #aaa;
    --amp-bg-dark: #1e1e1e;
    --amp-bg-medium: #2c2c2c;
    --amp-metal-gradient: linear-gradient(145deg, var(--amp-bg-medium), var(--amp-bg-dark));
}

body {
    background-color: #0d1117; /* Dark background */
    color: #fff;
    font-family: 'Consolas', monospace;
    padding-top: 60px; /* Space for fixed topbar */
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

.section-title {
    color: #e2dacf;
    border-bottom: 2px solid var(--amp-bg-medium);
    padding-bottom: 5px;
    margin-bottom: 15px;
}

/* --- Top Bar (Header) --- */
.topbar {
    background: var(--amp-metal-gradient);
    border-bottom: 1px solid #444;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1050;
    box-shadow: 0 5px 10px rgba(0, 0, 0, 0.5);
}

.logo-img {
    height: 60px;
}

/* --- Audio Player (Fixed Bottom Amp) --- */
.audio-player-container {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    background: var(--amp-metal-gradient);
    border-top: 2px solid #555;
    box-shadow: 0 -5px 15px rgba(0, 0, 0, 0.7);
    z-index: 1000;
}

.amp-style-base {
    /* Chassis Aesthetics */
    border-radius: 5px 5px 0 0;
}

/* --- Controls & Buttons --- */
.amp-controls-group {
    background-color: var(--amp-bg-dark);
    padding: 5px 15px;
    border-radius: 5px;
    box-shadow: inset 0 0 5px rgba(0, 0, 0, 0.8);
}

.amp-button {
    padding: 8px 12px;
    font-size: 14px;
    cursor: pointer;
    border: 1px solid #444;
    border-radius: 3px;
    color: #fff;
    background-color: #111;
    box-shadow: 0 2px #000;
    transition: all 0.05s;
    line-height: 1;
}

.amp-button:active {
    box-shadow: 0 0 #000;
    transform: translateY(2px);
}

.amp-button.amp-red-led.active {
    color: yellow;
    background-color: #c00; 
    box-shadow: 0 0 8px rgba(255, 0, 0, 0.8), 0 2px #000;
}

/* Volume Control (Styled Slider) */
.volume-control label {
    color: var(--amp-secondary-color);
    display: block;
    font-size: 8px;
    text-align: center;
}

/* Basic styling for the range input (hard to style uniformly without advanced CSS) */
#volumeSlider {
    width: 50px;
    height: 5px;
}

/* --- Visualizer Canvas --- */
#audioVisualizer {
    background-color: #050505;
    border: 1px solid #000;
    box-shadow: inset 0 0 5px rgba(0, 255, 0, 0.5); /* Greenish glow effect */
}

/* --- Marquee Section --- */
.marquee-section {
    background-color: #000;
    border-bottom: 2px solid #e2dacf;
    overflow: hidden;
    white-space: nowrap;
}

.marquee-content {
    display: inline-block;
    animation: scroll-left 30s linear infinite;
}

.marquee-content button {
    background: none;
    border: none;
    color: #e2dacf;
    margin: 0 20px;
    cursor: pointer;
    font-size: 14px;
    text-transform: uppercase;
}

@keyframes scroll-left {
    0% { transform: translateX(100%); }
    100% { transform: translateX(-100%); }
}

/* --- Music Cards --- */
.music-card {
    background: var(--amp-bg-medium);
    border: 1px solid #444;
    border-radius: 5px;
    transition: transform 0.2s;
    height: 100%;
}

.music-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.5);
}

.music-card-img {
    height: 150px;
    object-fit: cover;
    border-bottom: 1px solid #444;
}

.view-count-box {
    cursor: pointer;
    font-size: 0.8em;
    padding: 2px 5px;
    border-radius: 3px;
    background-color: #e2dacf;
    color: #000;
    font-weight: bold;
}

/* --- Footer --- */
.footer {
    background: var(--amp-bg-dark);
    border-top: 1px solid #e2dacf;
    color: var(--amp-secondary-color);
}
.h5, h5 {
    font-size: 1rem;
}
.btn-outline-warning {
    border:1px solid #ffc10785;
}
.btn-outline-light {
   border:1px solid #f8f9fa61;
}
.modal-header {
    padding: 5px 20px;
 }
 .modal-footer {
    padding: 5px 20px;
 }
 .modal-title {
    color: #fff;
 }
 .modal-content {
    background-color: #0d1117;
 }