/* GLOBAL THEME */
body {
    margin: 0;
    padding: 0;
    background: #06070d;
    font-family: Arial, sans-serif;
    color: #ffffff;
    text-align: center;
}

/* LANDING PAGE OVERRIDES */
body.landing {
    background: #0d1117;
    color: #ffffff;
}

body.landing .main-logo {
    width: 80%;
    max-width: 800px;
    margin-top: 40px;
}

body.landing .main-title {
    font-size: 32px;
    margin-top: 20px;
    color: #7fc2ff;
    text-shadow: 0 0 10px #2f8cff;
}

body.landing .main-subtitle {
    font-size: 18px;
    margin-bottom: 30px;
    color: #9fcaff;
    opacity: 0.9;
}

/* MENU CONTAINER (NO TEXTURE) */
.top-menu {
    width: 100%;
    padding: 20px 0;
    text-align: center;
    border-bottom: 1px solid #2f8cff33;
    background: #06070d;
}

/* MENU NAVIGATION */
.menu-nav {
    display: flex;
    justify-content: center;
    gap: 16px;
    flex-wrap: wrap;
}

/* WAV-STYLE BUTTONS */
.menu-btn {
    padding: 10px 22px;
    background: #0a0d14;
    border: 1px solid #2f8cff;
    color: #7fc2ff;
    text-decoration: none;
    font-size: 15px;
    text-transform: uppercase;
    letter-spacing: 0.6px;

    box-shadow:
        0 0 4px #2f8cff55,
        inset 0 0 4px #2f8cff33;

    border-radius: 4px;
    transition: 0.25s ease-in-out;
}

/* ELECTRIC HOVER */
.menu-btn:hover {
    background: #112544;
    border-color: #4da8ff;
    color: #ffffff;

    box-shadow:
        0 0 6px #2f8cffaa,
        0 0 12px #2f8cffaa,
        0 0 18px #2f8cff88,
        0 0 26px #2f8cff55,
        inset 0 0 8px #2f8cffaa,
        inset 0 0 14px #2f8cff55;
}

/* LIBRARY GRID */
.library-grid {
    width: 90%;
    max-width: 900px;
    margin: 30px auto 40px auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 20px;
}

.library-box {
    display: block;
    padding: 16px;
    background: #0f1625;
    border: 2px solid #2f8cff;
    border-radius: 6px;
    color: #7fc2ff;
    text-decoration: none;
    font-size: 16px;
    box-shadow: 0 0 12px #2f8cff55;
    transition: 0.2s;
}

.library-box:hover {
    background: #132033;
    color: #ffffff;
    box-shadow: 0 0 18px #2f8cff;
}

.song-icon {
    width: 100%;
    max-width: 140px;
    height: 140px;
    object-fit: cover;
    margin-bottom: 8px;
    border-radius: 6px;
    border: 2px solid #2f8cff;
    box-shadow: 0 0 12px #2f8cff55;
}

.song-title {
    font-size: 15px;
    color: #7fc2ff;
}

/* PLAYER PAGE */
.top-image img {
    width: 260px;
    max-width: 80%;
    margin-top: 30px;
    border-radius: 6px;
    border: 2px solid #2f8cff;
    box-shadow: 0 0 12px #2f8cff55;
}

.player-box {
    margin: 30px auto 40px auto;
    width: 80%;
    max-width: 500px;
    padding: 18px;
    border: 2px solid #2f8cff;
    box-shadow: 0 0 15px #2f8cff;
    border-radius: 6px;
    background: #0f1625;
}

.player-title {
    font-size: 18px;
    margin-bottom: 10px;
    color: #7fc2ff;
}

audio {
    width: 100%;
}

/* FOOTER (NO TEXTURE) — FULLY RESTORED */
.footer {
    margin-top: 40px;
    padding: 20px 0;
    color: #7fc2ff;
    font-size: 14px;
    border-top: 1px solid #2f8cff33;
    background: #06070d;
    text-align: center;
}

/* ========================================================= */
/* ⭐ ROTATOR FIXES — ICON SIZE, CENTERING, TITLE, LINK ⭐ */
/* ========================================================= */

/* Fixed icon size */
.rotator-icon {
    width: 100px;
    height: 100px;
    object-fit: cover;
    border-radius: 6px;
}

/* Fade box same size */
.rotator-fade {
    width: 100px;
    height: 100px;
}

/* Center the whole rotator block */
.rotator-container {
    display: flex;
    flex-direction: column;
    align-items: center;
}

/* Space between slider and icon */
.volume-bar {
    margin-bottom: 15px;
}

/* Remove underline from link */
.rotator-link {
    text-decoration: none;
}

/* Center Title — by Artist properly */
.rotator-title {
    display: block;
    width: 100%;
    text-align: center;
    white-space: nowrap;
}

/* Make the rotator box full width so text can center */
.rotator-fade {
    width: 100%;
    height: auto;
    display: flex;
    flex-direction: column;
    align-items: center;
}

/* Keep the icon fixed size and centered */
.rotator-icon {
    width: 100px;
    height: 100px;
    object-fit: cover;
    border-radius: 6px;
    margin: 0 auto;
}

/* Center Title — by Artist perfectly */
.rotator-title {
    display: block;
    width: 100%;
    text-align: center;
    white-space: nowrap;
}

/* Add breathing room around the icon */
.rotator-icon {
    margin: 20px 0;
}
