/**
 * splash.css
 * * Developed by Thomas Graham (https://github.com/thesillycat)
 * for Typical Media Group. All Rights Reserved.
 * * Unauthorised use of this code will result in legal action.
 */


:root {
    --accent-orange: #f59133;
    --accent-red: #bd2600;
    --glass: rgba(10, 10, 10, 0.92);
    --btn-dark: rgba(255, 255, 255, 0.08);
    --glass-border: rgba(255, 255, 255, 0.1);
    --card-inner: rgba(20, 20, 20, 0.8);
    --discord-bg: #111a3d;
    --discord-btn: #1e2646;
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

body {
    font-family: 'Montserrat', sans-serif;
    margin: 0;
    background: #000;
    color: white;
    overflow-x: hidden;
}

#bg-blur {
    position: fixed; top: 0; left: 0; width: 100%; height: 100%;
    background-size: cover; background-position: center;
    filter: blur(80px) brightness(0.2); z-index: -1; transform: scale(1.1);
    transition: background-image 0.8s ease-in-out;
}

.page-container {
    display: flex; flex-direction: column; align-items: center;
    justify-content: center; min-height: 100vh; padding: 20px;
}

.glass-card {
    background: var(--glass);
    backdrop-filter: blur(35px); -webkit-backdrop-filter: blur(35px);
    border: 1px solid var(--glass-border); border-radius: 35px;
    padding: 35px; width: 100%; max-width: 800px;
    box-shadow: 0 40px 100px rgba(0,0,0,0.8);
    display: flex; flex-direction: column; gap: 30px;
}

.main-content-layout {
    display: flex; flex-direction: row; gap: 40px; align-items: center; width: 100%;
}

.station-switcher { display: flex; gap: 12px; justify-content: center; width: 100%; }
.station-btn {
    background: var(--card-inner); border: 1px solid var(--glass-border);
    color: white; padding: 10px 22px; border-radius: 12px;
    font-weight: 800; font-size: 0.7rem; text-transform: uppercase;
    cursor: pointer; transition: var(--transition); opacity: 0.6;
}
.station-btn.active {
    opacity: 1; border-color: var(--accent-red);
    background: rgba(189, 38, 0, 0.2); box-shadow: 0 0 15px rgba(189, 38, 0, 0.2);
}

.player-side { flex: 1; text-align: center; min-width: 0; }
.art-wrapper {
    width: 260px; height: 260px; margin: 0 auto; border-radius: 20px;
    overflow: hidden; position: relative; box-shadow: 0 15px 45px rgba(0,0,0,0.6);
    background: #111;
}
#albumArt { width: 100%; height: 100%; object-fit: cover; transition: opacity 0.3s ease; }
#visualizer { position: absolute; bottom: 0; left: 0; width: 100%; height: 60px; pointer-events: none; }

.track-name { font-size: 1.15rem; font-weight: 800; margin-top: 15px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.artist-label { font-size: 0.95rem; opacity: 0.7; }

.volume-wrapper { display: flex; align-items: center; justify-content: center; gap: 12px; margin-top: 15px; opacity: 0.6; }
#volumeSlider { -webkit-appearance: none; width: 100px; height: 4px; background: rgba(255, 255, 255, 0.1); border-radius: 5px; outline: none; }
#volumeSlider::-webkit-slider-thumb { -webkit-appearance: none; width: 12px; height: 12px; background: var(--accent-orange); border-radius: 50%; cursor: pointer; }

.controls-container { display: flex; justify-content: center; gap: 15px; margin-top: 25px; }
.play-btn {
    width: 55px; height: 55px; border-radius: 50%; display: flex; align-items: center; justify-content: center;
    background: var(--btn-dark); border: 1px solid var(--glass-border); color: white; cursor: pointer; transition: var(--transition);
}
.play-btn:hover { transform: scale(1.1); background: rgba(255,255,255,0.15); }

.content-side { flex: 0.8; display: flex; flex-direction: column; gap: 15px; min-width: 250px; }
.tt-item {
    background: var(--card-inner); border: 1px solid var(--glass-border);
    border-radius: 18px; padding: 15px 20px; display: flex; align-items: center; justify-content: space-between; transition: var(--transition);
}
.tt-item:hover { transform: translateX(8px); background: rgba(255,255,255,0.04); }
.tt-item.active { border-left: 4px solid var(--accent-red); background: linear-gradient(90deg, rgba(189, 38, 0, 0.12) 0%, var(--card-inner) 100%); }

.tt-label { font-size: 0.65rem; font-weight: 800; text-transform: uppercase; opacity: 0.5; letter-spacing: 1px; display: flex; align-items: center; gap: 8px; }
.tt-name { font-size: 0.95rem; font-weight: 700; margin-top: 2px; }
.tt-avatar { width: 44px; height: 44px; border-radius: 12px; object-fit: cover; border: 1px solid var(--glass-border); background: #222; }

.live-dot { width: 8px; height: 8px; background: #ff4b2b; border-radius: 50%; animation: pulse 1.5s infinite; }
@keyframes pulse {
    0% { box-shadow: 0 0 0 0 rgba(255, 75, 43, 0.7); }
    70% { box-shadow: 0 0 0 8px rgba(255, 75, 43, 0); }
    100% { box-shadow: 0 0 0 0 rgba(255, 75, 43, 0); }
}

.discord-card {
    background: var(--discord-bg);
    border: 1px solid rgba(255,255,255,0.05);
    border-radius: 18px; padding: 20px; text-align: center; margin-top: 5px;
}
.discord-header { font-weight: 800; font-size: 0.9rem; color: #fff; margin-bottom: 8px; display: flex; align-items: center; justify-content: center; gap: 10px; letter-spacing: 1px; }
.discord-text { font-size: 0.95rem; font-weight: 700; margin-bottom: 4px; }
.discord-sub { font-size: 0.8rem; opacity: 0.7; margin-bottom: 18px; }
.discord-btn {
    display: block; background: var(--discord-btn); color: white;
    text-decoration: none; padding: 12px; border-radius: 12px;
    font-weight: 700; font-size: 0.85rem; transition: var(--transition);
}
.discord-btn:hover { background: #2b355a; transform: scale(1.02); }

.modal-overlay {
    position: fixed; top: 0; left: 0; width: 100%; height: 100%; background: rgba(0,0,0,0.85);
    backdrop-filter: blur(15px); display: none; align-items: center; justify-content: center; z-index: 100;
}
.modal-overlay.show { display: flex; }

.modal-content {
    background: var(--glass);
    border: 1px solid var(--glass-border); border-radius: 25px;
    width: 90%; max-width: 420px; overflow: hidden;
    animation: modalPop 0.3s cubic-bezier(0.17, 0.88, 0.32, 1.27);
}
@keyframes modalPop { from { transform: scale(0.9); opacity: 0; } to { transform: scale(1); opacity: 1; } }

.modal-header-tabs { display: flex; background: rgba(0, 0, 0, 0.3); border-bottom: 1px solid var(--glass-border); }
.tab-btn { flex: 1; padding: 15px; background: none; border: none; color: white; font-weight: 800; font-size: 0.7rem; text-transform: uppercase; cursor: pointer; opacity: 0.5; transition: 0.3s; }
.tab-btn.active { opacity: 1; background: rgba(255,255,255,0.05); border-bottom: 2px solid var(--accent-orange); }

.request-body { padding: 30px; }
#reqHeader { font-size: 1.1rem; font-weight: 800; margin-bottom: 20px; display: block; text-align: center; }

.input-group { margin-bottom: 15px; }
.input-group input, .input-group textarea {
    width: 100%; padding: 14px; background: rgba(255,255,255,0.05); border: 1px solid var(--glass-border);
    border-radius: 12px; color: white; font-family: inherit; outline: none; box-sizing: border-box;
}
.input-group input:focus { border-color: var(--accent-orange); }

.modal-footer { display: flex; flex-direction: column; gap: 10px; margin-top: 20px; }
.submit-req-btn { background: transparent; color: white; border: 1px solid var(--glass-border); padding: 12px; border-radius: 12px; font-weight: 700; cursor: pointer; }
.cancel-req-btn { background: transparent; color: white; border: 1px solid var(--glass-border); padding: 12px; border-radius: 12px; font-weight: 700; cursor: pointer; }

.page-footer { margin-top: 30px; text-align: center; font-size: 0.75rem; opacity: 0.5; line-height: 1.6; }
.page-footer a { color: white; text-decoration: none; font-weight: 700; }

@media (max-width: 768px) {
    .main-content-layout { flex-direction: column; }
    .glass-card { padding: 25px; }
}