/* Reset básico */
* { 
    box-sizing: border-box; 
}

body {
    font-family: 'Verdana', monospace;
    margin: 0;
    padding: 20px;
    color: #333;
    /* Fundo roxo/animado geral */
    background-color: #c0c0c0; /* Cor de segurança caso o gif falhe */
    background-image: url('assets/bg animado.gif'); 
    background-repeat: repeat;
    background-attachment: fixed;
}

/* LAYOUT 3 COLUNAS - Esquerda (200px) | Meio (Flexível) | Direita (220px) */
.layout-explorer {
    display: grid;
    grid-template-columns: 200px 1fr 220px;
    gap: 15px; 
    max-width: 1100px; 
    margin: 0 auto;
}

/* ESTILO CAIXA RETRO (Borda 3D do Windows) */
.retro-container, .retro-window {
    background-color: #ffffff;
    background-image: url('assets/bg.png'); /* Seu quadriculado */
    border: 2px solid;
    border-color: #dfdfdf #404040 #404040 #dfdfdf; 
}

/* Estilo da Sidebar Esquerda (Diretórios) */
.sidebar {
    font-family: 'MS Gothic', 'MS PGothic', sans-serif;
    font-size: 14px;
    padding: 10px;
}

.file-tree {
    list-style: none;
    padding-left: 10px;
    border-left: 1px dotted #666;
    margin-left: 5px;
    margin-top: 5px;
}

.file-tree li { 
    margin-bottom: 5px; 
}

.file-tree a {
    text-decoration: none;
    color: #0000ee;
    display: block;
    padding: 2px;
}

.file-tree a:hover, .active-file {
    background-color: #000080;
    color: white !important;
}

/* Estilo da Janela Principal (Meio) e da Direita */
.content-window {
    display: flex;
    flex-direction: column;
}

.window-bar {
    background: #000080;
    padding: 3px 10px; 
    font-weight: bold;
    color: white;
    display: flex;
    justify-content: space-between;
    font-family: 'MS Sans Serif', sans-serif;
    font-size: 13px;
}

.document-body {
    padding: 15px;
    line-height: 1.5;
    font-size: 13px;
    /* Borda afundada no texto */
    border: 2px solid;
    border-color: #808080 #ffffff #ffffff #808080;
    background: #fff; 
    margin: 5px;
}

/* CAIXA DE UPDATES E SCROLL (Sidebar Direita) */
.updates-widget {
    margin-bottom: 15px;
}

.updates-content {
    padding: 5px 10px;
    font-size: 11px;
    font-family: 'MS Gothic', monospace;
    background: #fff;
    border: 2px solid;
    border-color: #808080 #ffffff #ffffff #808080;
    margin: 5px;
}

.scrollable {
    max-height: 150px;
    overflow-y: auto; 
}

.scrollable p {
    margin: 0 0 8px 0;
    padding-bottom: 8px;
    border-bottom: 1px dashed #ccc;
}

.update-date {
    color: #800080;
    font-weight: bold;
}

/* Customizando a barrinha de rolagem pra ficar retrô */
::-webkit-scrollbar {
    width: 12px;
}
::-webkit-scrollbar-track {
    background: #dfdfdf; 
    border-left: 1px solid #808080;
}
::-webkit-scrollbar-thumb {
    background: #c0c0c0; 
    border: 1px solid #fff;
    border-right-color: #404040;
    border-bottom-color: #404040;
}

/* Responsividade p/ Celular (empilha as colunas) */
@media (max-width: 800px) {
    .layout-explorer {
        grid-template-columns: 1fr;
    }
} /* <--- ESSA CHAVE AQUI TAVA FALTANDO! */

/* --- ESTILOS DA RADIO (GAMERA STYLE) --- */
.radio-header {
    text-align: right;
    margin-bottom: 5px;
}

.red-box {
    display: inline-block;
    width: 10px;
    height: 5px;
    border: 1px solid #cc0000;
    margin-right: 3px;
    vertical-align: middle;
}

.green-box {
    display: inline-block;
    width: 10px;
    height: 5px;
    border: 1px solid #00cc00;
    margin-right: 3px;
    vertical-align: middle;
}

.radio-status {
    color: #cc0000;
    font-size: 9px;
    font-family: 'MS Gothic', monospace;
    font-style: italic;
    font-weight: bold;
    letter-spacing: 1px;
}

.radio-title {
    color: #fff;
    font-family: 'Impact', 'Arial Black', sans-serif; /* Fonte nativa substituindo a Decoder */
    font-size: 16px;
    font-weight: normal; /* Normaliza o peso pois Impact já é grossa */
    font-style: italic;
    margin-left: 5px;
    letter-spacing: 1px;
}

.radio-arrows {
    color: #fff;
    font-family: sans-serif;
    font-size: 12px;
    font-style: normal;
    transition: color 0.2s;
}

.radio-header:hover .radio-arrows {
    color: #0088ff; 
    cursor: pointer;
}

.radio-box {
    border: 1px solid #fff;
    padding: 3px 5px;
    display: flex;
    align-items: center;
    background: #000;
    overflow: hidden; 
}

.last-played-label {
    color: #fff;
    font-family: Arial, Helvetica, sans-serif;
    font-size: 13px;
    font-style: italic;
    margin-right: 5px;
    white-space: nowrap; 
}

.radio-marquee {
    flex-grow: 1; 
}

#lastfm-link {
    color: #fff !important; /* Força pra não ficar roxo */
    text-decoration: none;
    font-family: 'MS UI Gothic', sans-serif; /* O nome da música na fonte pedida */
    font-size: 13px;
    font-style: normal;
}

#lastfm-link:hover {
    text-decoration: underline;
}