@import url('https://fonts.googleapis.com/css2?family=Orbitron:wght@400..900&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Roboto:wght@400;700&display=swap');

body {
    background-color: #121212;
    color: #E0E0E0;
    font-family: 'Roboto', sans-serif;
    margin: 0;
    display: flex;
}

.sidebar {
    width: 80px;
    background-color: #181818;
    padding-top: 20px;
    height: 100vh;
    transition: width 0.3s;
    overflow: hidden;
    position: fixed;
    top: 0;
    left: 0;
}

.sidebar:hover {
    width: 250px;
}

.sidebar ul {
    list-style-type: none;
    padding: 0;
    margin: 0;
}

.sidebar ul li {
    padding: 15px 25px;
    cursor: pointer;
    display: flex;
    align-items: center;
    color: #AAAAAA;
    transition: background-color 0.2s, color 0.2s;
}

.sidebar ul li:hover, .sidebar ul li.active {
    background-color: #00FFFF;
    color: #121212;
}

.sidebar ul li i {
    font-size: 24px;
    margin-right: 20px;
    width: 30px;
    text-align: center;
}

.nav-text {
    font-size: 18px;
    white-space: nowrap;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.2s ease-in-out;
}

.sidebar:hover .nav-text {
    opacity: 1;
    visibility: visible;
    transition-delay: 0.1s;
}

.content {
    flex-grow: 1;
    margin-left: 80px;
    padding: 20px;
    transition: margin-left 0.3s;
}

.sidebar:hover ~ .content {
    margin-left: 250px;
}

.page {
    display: none;
    justify-content: center;
    align-items: center;
    height: 100%;
}

.page.active {
    display: flex;
}

.relogio-container {
    position: relative;
    background: #1E1E1E;
    padding: 40px 60px;
    border-radius: 20px;
    box-shadow: 0 0 25px rgba(0, 255, 255, 0.2);
    border: 1px solid rgba(0, 255, 255, 0.3);
    text-align: center;
}

.mute-button {
    position: absolute;
    top: 20px;
    right: 20px;
    cursor: pointer;
    font-size: 24px;
    color: #AAAAAA;
    transition: color 0.3s, transform 0.2s;
}

.mute-button:hover {
    color: #FFFFFF;
    transform: scale(1.1);
}

.mute-button.muted i::before {
    content: "\f6a9";
    color: #F44336;
}
/* ------------------------------------ */

.relogio-container h1 {
    font-family: 'Orbitron', sans-serif;
    font-size: 2.5rem;
    margin-bottom: 10px;
    color: #00FFFF;
    text-shadow: 0 0 10px #00FFFF;
}

#relogio {
    font-family: 'Orbitron', sans-serif;
    font-size: 6rem;
    font-weight: 700;
    letter-spacing: 5px;
    opacity: 0;
    transition: opacity 0.5s ease-in-out;
}

#data {
    font-family: 'Orbitron', sans-serif;
    font-size: 1.5rem;
    margin-top: 10px;
    color: #CCCCCC;
}

#alarme-gif {
    margin-top: 20px;
    max-width: 150px;
    border-radius: 10px;
}

.discord-container {
    text-align: center;
    background: #2c2f33;
    padding: 40px 40px;
    border-radius: 20px;
    box-shadow: 0 0 25px rgba(88, 101, 242, 0.3);
    border: 1px solid rgba(88, 101, 242, 0.4);
    max-width: 500px;
    position: relative;
    margin: 0 auto;
}

.discord-container h1 {
    color: #5865F2;
    font-size: 2.5rem;
    margin-bottom: 20px;
}

.discord-container p {
    font-size: 1.2rem;
    color: #E0E0E0;
    max-width: 500px;
    margin-bottom: 15px;
}

.discord-button {
    background-color: #5865F2;
    color: white;
    padding: 15px 30px;
    border-radius: 10px;
    text-decoration: none;
    font-size: 1.2rem;
    font-weight: bold;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    transition: background-color 0.3s, transform 0.2s;
}

.discord-button:hover {
    background-color: #4752C4;
    transform: translateY(-2px);
}

.radio-container {
    position: fixed;
    bottom: 20px;
    right: 20px;
    background-color: rgba(18, 18, 18, 0.7);
    padding: 10px;
    border-radius: 15px;
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    z-index: 100;
    width: 250px;
}

.category-title {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px;
    background-color: rgba(255, 255, 255, 0.05);
    border-radius: 8px;
    cursor: pointer;
    transition: background-color 0.3s;
    font-family: 'Roboto', sans-serif;
    color: #E0E0E0;
    font-size: 1rem;
}

.category-title:hover {
    background-color: rgba(255, 255, 255, 0.1);
}

.category-title span i {
    margin-right: 10px;
    color: #00FFFF;
}

.category-arrow {
    transition: transform 0.3s ease;
}

.radio-category.active .category-arrow {
    transform: rotate(180deg);
}

.category-content {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease-in-out;
    padding: 0 5px;
}

.radio-category.active .category-content {
    max-height: 300px;
    margin-top: 10px;
}

.radio-station {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 8px 5px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.radio-station:last-child {
    border-bottom: none;
}

.station-title {
    font-family: 'Roboto', sans-serif;
    color: #CCCCCC;
    font-size: 0.9rem;
}

.play-btn {
    font-size: 16px;
    color: #AAAAAA;
    cursor: pointer;
    transition: color 0.2s, transform 0.2s;
    padding: 5px;
}
.play-btn:hover { 
    color: #FFFFFF; 
}
.play-btn.playing { 
    color: #00FFFF; 
}
.play-btn.playing:hover { 
    transform: scale(1.1); 
}

.volume-control {
    display: flex;
    align-items: center;
    gap: 10px;
    padding-top: 15px;
    margin-top: 10px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

#volume-slider {
    -webkit-appearance: none;
    appearance: none;
    width: 100%;
    height: 5px;
    background: #555;
    outline: none;
    border-radius: 3px;
}

#volume-slider::-webkit-slider-thumb {
    -webkit-appearance: none;
    appearance: none;
    width: 15px;
    height: 15px;
    background: #00FFFF;
    cursor: pointer;
    border-radius: 50%;
}

footer {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    padding: 10px 0;
    background-color: rgba(18, 18, 18, 0.5);
    backdrop-filter: blur(5px);
    -webkit-backdrop-filter: blur(5px);
    border-top: 1px solid rgba(0, 255, 255, 0.1);
    text-align: center;
    font-family: 'Roboto', sans-serif;
    font-size: 1.5rem;
    color: #AAAAAA;
}
.discord-pm-button {
    display: inline-block;
    padding: 8px 18px;
    border: 2px solid #8e44ad; /* Borda no tom roxo principal */
    color: #cda5ff; /* Texto no tom roxo claro */
    background-color: transparent;
    border-radius: 20px;
    text-decoration: none;
    font-weight: bold;
    transition: all 0.3s ease;
}

.discord-pm-button:hover {
    background-color: #8e44ad; /* Fundo fica roxo ao passar o mouse */
    color: #ffffff; /* Texto fica branco */
    transform: scale(1.05);
    box-shadow: 0 0 15px rgba(142, 68, 173, 0.4);
}
footer p {
    margin: 4px 0;
}

footer a {
    color: #00FFFF;
    text-decoration: none;
    font-weight: 600;
    transition: text-shadow 0.3s ease;
}

footer a:hover {
    text-shadow: 0 0 8px rgba(0, 255, 255, 0.8);
}
.outros-relogios-container {
    display: flex;
    justify-content: space-around;
    align-items: center;
    margin-top: 30px;
    padding-top: 20px;
    border-top: 1px solid rgba(0, 255, 255, 0.2);
    width: 100%;
}

.relogio-secundario {
    text-align: center;
}

.fuso-titulo {
    font-family: 'Roboto', sans-serif;
    font-size: 1rem;
    color: #AAAAAA;
    margin-bottom: 5px;
}

.fuso-hora {
    font-family: 'Orbitron', sans-serif;
    font-size: 2.2rem;
    font-weight: 600;
    color: #E0E0E0;
    opacity: 0;
    transition: opacity 0.5s ease-in-out;
}

@media (max-width: 768px) {

    body {
        display: block; 
        padding-bottom: 80px;
    }

    .sidebar {
        width: 60px;
        padding-top: 15px;
    }

    .sidebar:hover {
        width: 60px;
    }

    .sidebar ul li i {
        margin-right: 0;
    }

    .sidebar:hover .nav-text, .nav-text {
        opacity: 0;
        visibility: hidden;
    }

    .content {
        margin-left: 60px;
        padding: 10px;
    }

    .sidebar:hover ~ .content {
        margin-left: 60px;
    }

    .relogio-container {
        padding: 20px 15px;
        margin-top: 20px;
    }

    .relogio-container h1 {
        font-size: 1.8rem;
    }

    #relogio {
        font-size: 4rem;
        letter-spacing: 2px;
    }

    #data {
        font-size: 1.1rem;
    }

    .outros-relogios-container {
        flex-direction: column;
        gap: 20px;
        align-items: center;
        margin-top: 20px;
        padding-top: 15px;
    }

    .fuso-titulo {
        font-size: 0.9rem;
    }

    .fuso-hora {
        font-size: 1.8rem;
    }
    
    .discord-container {
        padding: 20px;
    }

    .discord-container h1 {
        font-size: 1.8rem;
    }
    
    .discord-container p {
        font-size: 1rem;
    }
    
    .radio-container {
        right: auto;
        left: 20px;
        bottom: 90px;
    }

    footer {
        font-size: 0.7rem;
        padding: 8px 0;
    }
}