/* Dark + Gold API Docs */
body {
    margin: 0; 
    padding: 0;
    font-family: "Segoe UI Emoji", "Segoe UI", sans-serif;
    background: #050505;
    color: #ffd700;
    line-height: 1.6;
}

header.topo {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 16px 32px;
    background: #111;
    border-bottom: 1px solid rgba(255,215,0,0.2);
}

header .logo {
    font-size: 24px;
    font-weight: 600;
}

header .links a {
    color: #ffd700;
    text-decoration: none;
    border: 1px solid rgba(255,215,0,0.4);
    padding: 6px 12px;
    border-radius: 20px;
    transition: .2s;
    margin-left: 8px;
}

header .links a:hover {
    background: #ffd700;
    color: #000;
}

main.conteudo {
    padding: 32px;
    max-width: 1400px;
    margin: auto;
}

/* Títulos */
h1, h2, h3 {
    color: #ffd700;
    margin-top: 32px;
}

h1 { font-size: 32px; }
h2 { font-size: 26px; }
h3 { font-size: 22px; }

/* Tables */
table {
    width: 100%;
    border-collapse: collapse;
    margin-bottom: 24px;
}

table th, table td {
    border: 1px solid rgba(255,215,0,0.2);
    padding: 12px;
    text-align: left;
}

table th {
    background: #111;
    color: #ffd700;
}

/* Preformatted code and JSON */
pre {
    background: #111;
    border: 1px solid rgba(255,215,0,0.2);
    padding: 12px;
    border-radius: 12px;
    overflow-x: auto;
    color: #ffd700;
}

code {
    background: rgba(255,215,0,0.1);
    padding: 2px 6px;
    border-radius: 6px;
    color: #ffd700;
}

/* Notes / Warnings */
.note {
    background: rgba(255,215,0,0.1);
    border-left: 4px solid #ffd700;
    padding: 12px;
    margin-bottom: 24px;
}

/* Links */
a {
    color: #ffd700;
    text-decoration: none;
    transition: .2s;
}

a:hover {
    color: #000;
    background: #ffd700;
    padding: 2px 4px;
    border-radius: 4px;
}

/* Footer */
footer.rodape {
    text-align: center;
    padding: 16px;
    background: #111;
    border-top: 1px solid rgba(255,215,0,0.2);
    margin-top: 40px;
}

/* Live section titles */
.live-title {
    text-align: center;
    font-size: 26px;
    font-weight: 700;
    margin: 24px 0 16px;
    color: #ffd700;
    border-bottom: 0px solid rgba(255,215,0,0.4);
    padding-bottom: 12px;
}

/* LEDs de status online/offline */
.status-led {
    display: inline-block;
    width: 10px;
    height: 10px;
    border-radius: 50%;
    margin-right: 6px;
}

.status-online { background: #00ff00; }
.status-offline { background: #ff0000; }

/* Responsive code blocks */
@media(max-width: 768px){
    main.conteudo {
        padding: 16px;
    }
    table th, table td {
        padding: 8px;
    }
    pre {
        padding: 8px;
    }
}
