@import url('https://fonts.googleapis.com/css2?family=Anton&family=Roboto:wght@400;700&display=swap');

:root {
    --radio-brown: #67291c;
    --dark-brown: #33261b;
    --cream-bg: #f5f0e1;
    --gold-text: #cb973c;
    --shadow-color: rgba(0, 0, 0, 0.4);
}

body {
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
    margin: 0;

    font-family: 'Roboto', sans-serif;
}

/* --- UPDATED: Larger Player Container --- */
.radio-player {
    width: 780px; /* Much wider to match new design */
    padding: 25px;
    background: var(--radio-brown);
    border-radius: 20px;

    border: 1px solid #634f3e;
}

/* --- UPDATED: Larger Font --- */
.radio-header {
    text-align: center;
    font-family: 'Anton', sans-serif;
    font-size: 40px; /* Bigger font */
    color: var(--gold-text);
    text-shadow: 2px 2px 3px var(--dark-brown);
    margin-bottom: 25px;
}

.player-body { display: flex; gap: 20px; margin-bottom: 20px; }
.dial-section { flex-basis: 35%; }
.display-section { flex-basis: 65%; }

/* --- UPDATED: New VU Meter Dimensions --- */
.vu-meter {
    position: relative;
    width: 260px;  /* New width based on your design */
    height: 125px; /* New height based on your design */
    background-color: var(--cream-bg); 
    border: 1px solid #aaa;
    border-radius: 10px;
    box-shadow: inset 0 3px 5px rgba(0, 0, 0, 0.2);
    overflow: hidden;
    /* This will hold the image YOU create */
    background-image: url('images/vu-meter.png');
    background-size: 100% 100%; /* Use 100% to prevent any scaling issues */
    background-position: center;
    background-repeat: no-repeat;
}

/* --- UPDATED: Needle for new size --- */
#vu-needle {
    position: absolute;
    bottom: -2px; /* Adjusted position */
    left: 50%;
    width: 2px; /* Slightly thicker */
    height: 100px; /* Adjusted height */
    background-color: #333;
    transform-origin: bottom center;
    transform: translateX(-50%) rotate(-45deg);
    transition: transform 0.1s ease-out;
}

/* --- UPDATED: Larger Buttons --- */
.controls {
    display: flex;
    justify-content: space-around;
    align-items: center;
    padding: 15px 0;
    background: var(--radio-brown);
}
.control-button {
    background-color: var(--dark-brown);
    color: var(--cream-bg);
    border: 1px solid #221a12;
    width: 50px;     /* Bigger button */
    height: 50px;    /* Bigger button */
    border-radius: 50%;
    font-size: 15px;
    cursor: pointer;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.5);
    transition: background-color 0.2s;
}
.control-button#play-pause {
    border-width: 1px;
    border-color: #221a12;
}
.control-button:active {
    background-color: #4a382a;
    box-shadow: inset 0 1px 3px rgba(0, 0, 0, 0.5);
}

/* --- UPDATED: Larger Description Box --- */
.show-description {
    height: 185px; /* Taller box */
    padding: 20px;
    background: var(--cream-bg);
    border-radius: 10px;
    border: 1px solid #aaa;
    box-shadow: inset 0 3px 5px rgba(0, 0, 0, 0.2);
    overflow-y: auto;
    font-size: 14px; /* Show description font */
    line-height: 1.5;
    color: var(--dark-brown);
}

.player-footer { padding: 0 5px; }

/* --- UPDATED: Taller Progress Bar --- */
.progress-bar {
    -webkit-appearance: none; appearance: none;
    width: 100%;
    height: 12px; /* Taller bar */
    background: var(--dark-brown);
    box-shadow: inset 0 1px 3px rgba(0,0,0,0.5);
    border-radius: 6px;
    outline: none;
    cursor: pointer;
    margin-bottom: 20px;
}
.progress-bar::-webkit-slider-thumb {
    -webkit-appearance: none; appearance: none;
    width: 35px;  /* Wider handle */
    height: 20px; /* Taller handle */
    background: var(--gold-text);
    border-radius: 3px;
    border: 1px solid var(--dark-brown);
    box-shadow: 0 1px 2px rgba(0,0,0,0.4);
}
.progress-bar::-moz-range-thumb {
    width: 35px; height: 20px; background: var(--gold-text); border-radius: 3px; border: 1px solid var(--dark-brown); box-shadow: 0 1px 2px rgba(0,0,0,0.4);
}

.show-title-wrapper { position: relative; }
.show-title-wrapper::after {
    content: '▼';
    position: absolute;
    top: 50%;
    right: 20px;
    transform: translateY(-50%);
    font-size: 16px;
    color: var(--dark-brown);
    pointer-events: none;
}
/* --- UPDATED: Taller Dropdown --- */
.show-title {
    -webkit-appearance: none; -moz-appearance: none; appearance: none;
    width: 100%;
    padding: 15px; /* More padding */
    background: var(--cream-bg);
    border: 2px solid #221a12;
    box-shadow: inset 0 2px 4px rgba(0,0,0,0.2);
    border-radius: 8px;
    font-size: 14px; /* Pulldown Menu font */
    font-weight: bold;
    color: var(--dark-brown);
    cursor: pointer;
}