:root {
    --header-footer-bg: #222831;
    --gradient-start: #ff4b5c;
    --gradient-mid: #9a5fbd;
    --gradient-end: #7b68ee;
}
body {
    background-color: #000;
    color: #fff;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    margin: 0;
    padding-top: 70px;
    padding-bottom: 60px;
    user-select: none;
}
.glass-effect, .song-info, .time-info, input, textarea {
    user-select: text;
}
#particles-js {
    position: fixed;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    z-index: -1;
}
header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background-color: var(--header-footer-bg);
    padding: 15px 30px;
    box-sizing: border-box;
    z-index: 1000;
    height: 70px;
}
footer {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    background-color: var(--header-footer-bg);
    padding: 20px 30px;
    box-sizing: border-box;
    height: 60px;
    text-align: center;
    z-index: 1000;
}
.header-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
}
.site-title {
    font-size: 1.8em;
    font-weight: bold;
    background: linear-gradient(60deg, var(--gradient-start), var(--gradient-mid), var(--gradient-end));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}
#footer-content a,
.glass-effect a {
    background: linear-gradient(60deg, var(--gradient-start), var(--gradient-mid), var(--gradient-end));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    text-decoration: none;
    font-weight: bold;
}
.hamburger-icon {
    cursor: pointer;
    width: 35px;
    height: 25px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}
.bar {
    width: 35px;
    height: 4px;
    background-color: white;
    border-radius: 2px;
}
#side-menu {
    height: 100%;
    width: 0;
    position: fixed;
    z-index: 1001;
    top: 0;
    right: 0;
    background-color: rgba(0,0,0,0.9);
    backdrop-filter: blur(5px);
    -webkit-backdrop-filter: blur(5px);
    overflow-x: hidden;
    overflow-y: auto;
    transition: 0.5s;
    padding-top: 60px;
    box-sizing: border-box;
}
#side-menu.open {
    width: 280px;
}
#side-menu .close-btn {
    position: absolute;
    top: 15px;
    right: 25px;
    font-size: 36px;
    text-decoration: none;
    color: #aaa;
    transition: color 0.3s;
}
#side-menu .close-btn:hover {
    color: #fff;
}
#side-menu .menu-section h3 {
    padding: 10px 15px;
    margin: 10px 20px;
    font-size: 1.2em;
    cursor: pointer;
    border-bottom: 1px solid var(--gradient-mid);
    color: white;
}
#side-menu .menu-pages {
    list-style: none;
    padding: 0;
    margin: 0 20px;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease-in-out;
}
#side-menu .menu-pages a {
    display: block;
    padding: 12px 30px;
    text-decoration: none;
    color: #ccc;
    transition: color 0.3s, background-color 0.3s;
}
#side-menu .menu-pages a:hover {
    color: white;
    background-color: rgba(255, 255, 255, 0.1);
}
main {
    padding: 20px;
    box-sizing: border-box;
}
.glass-effect {
    background: rgba(44, 62, 80, 0.5);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border-radius: 15px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    padding: 30px;
    margin: 20px auto;
    max-width: 900px;
}
.viewer-main {
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: calc(100vh - 130px);
}
.program-panel {
    width: 95%;
    max-width: 1400px;
    height: 80vh;
    display: flex;
    flex-direction: column;
    padding: 20px;
}
.program-panel .panel-header {
    padding-bottom: 10px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.3);
    margin-bottom: 15px;
    font-weight: bold;
    color: #eee;
}
.program-panel iframe {
    flex-grow: 1;
    width: 100%;
    border-radius: 8px;
    background: #fff;
    border: none;
}