/* --- SHOP RADIO (Music Modal) --- */

/* 1. The Modal Background (Hidden by default) */
.music-modal {
    display: none; /* Hidden */
    position: fixed;
    z-index: 10000; /* Above the header */
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto; /* Enable scroll if list is long */
    background-color: rgba(13, 13, 13, 0.98); /* Deep Midnight, Opaque */
    backdrop-filter: blur(5px);
}

/* 2. The Modal Content Box */
.modal-content {
    background-color: transparent;
    margin: 5% auto;
    padding: 20px;
    width: 90%;
    max-width: 1000px;
    position: relative;
    animation: slideDown 0.4s ease-out;
}

/* 3. The Close Button (Big X) */
.close-radio {
    color: var(--safety-yellow);
    float: right;
    font-size: 40px;
    font-weight: bold;
    cursor: pointer;
    transition: color 0.2s;
    line-height: 0.8;
}

.close-radio:hover {
    color: var(--clean-white);
}

/* 4. The Header */
.radio-header {
    text-align: center;
    margin-bottom: 40px;
    border-bottom: 1px dashed var(--safety-yellow);
    padding-bottom: 20px;
}

.radio-title {
    font-family: 'JetBrains Mono', monospace;
    font-size: 2rem;
    color: var(--clean-white);
    text-transform: uppercase;
    letter-spacing: 4px;
}

.radio-subtitle {
    font-family: 'Poppins', sans-serif;
    color: var(--safety-yellow);
    font-size: 0.9rem;
}

/* 5. The Video Grid (Responsive) */
.video-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

/* 6. The Video Container (Aspect Ratio Hack) */
.video-wrapper {
    position: relative;
    width: 100%;
    padding-bottom: 56.25%; /* 16:9 Aspect Ratio */
    background: #000;
    border: 1px solid #333;
    border-radius: 4px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.5);
}

.video-wrapper iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: none;
}

/* 7. The Trigger Button (On the About Page) */
.radio-trigger-btn {
    display: block;
    width: 100%;
    margin-top: 20px;
    padding: 12px;
    background: transparent;
    border: 1px solid var(--safety-yellow);
    color: var(--safety-yellow);
    font-family: 'JetBrains Mono', monospace;
    text-transform: uppercase;
    font-weight: bold;
    cursor: pointer;
    transition: all 0.3s;
    text-align: center;
}

.radio-trigger-btn:hover {
    background: var(--safety-yellow);
    color: #000;
    box-shadow: 0 0 15px rgba(255, 210, 63, 0.4);
}

/* Animation */
@keyframes slideDown {
    from { transform: translateY(-50px); opacity: 0; }
    to { transform: translateY(0); opacity: 1; }
}
/* --- MANUAL OVERRIDE LINKS --- */

/* Wrapper to hold video + link together */
.video-container {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.video-meta {
    text-align: right; /* Puts the link nicely in the corner */
}

.youtube-direct-link {
    font-family: 'JetBrains Mono', monospace;
    font-size: 0.75rem;
    color: rgba(255, 255, 255, 0.5); /* Subtle gray */
    text-decoration: none;
    text-transform: uppercase;
    transition: color 0.3s;
}

.youtube-direct-link:hover {
    color: var(--safety-yellow); /* Lights up on hover */
    text-decoration: underline;
}