/* RESET E BASE - VERSAO COMPACTA APROVADA */
* { margin: 0; padding: 0; box-sizing: border-box; }
body { font-family: Calibri, sans-serif; background: #fff; padding-bottom: 40px; }

/* HEADER 2026 */
.header-2026 {
    background: #000;
    border: 1.5px solid #000;
    padding: 1.3rem;
    margin: 28px auto 14px;
    max-width: 700px;
    position: relative;
}

.header-titulo {
    text-align: center;
    margin-bottom: 1rem;
}

.header-subtitulo {
    font-style: italic;
    font-size: 12px;
    color: #aaa;
    margin-bottom: 4px;
}

.header-main {
    font-size: 20px;
    font-weight: 500;
    letter-spacing: 0.5px;
    color: #fff;
}

.timeline-meses {
    display: flex;
    justify-content: space-between;
    font-size: 9px;
    color: #aaa;
    margin-bottom: 4px;
    font-weight: 500;
    text-transform: none !important;
}

.timeline-meses span {
    text-transform: none !important;
}

.progress-container {
    position: relative;
    height: 6px;
    background: #333;
    overflow: hidden;
    border: 1px solid #fff;
}

.progress-bar {
    position: absolute;
    left: 0;
    top: 0;
    height: 100%;
    background: #fff;
    transition: width 0.3s ease;
}

.data-badge {
    margin-top: 0.7rem;
    text-align: center;
}

.badge {
    display: inline-block;
    background: #fff;
    color: #000;
    padding: 4px 12px;
    font-size: 10px;
    font-weight: 500;
}

/* MENU */
.menu-horizontal {
    display: flex;
    gap: 5px;
    justify-content: center;
    padding: 12px 14px 0;
    flex-wrap: wrap;
    position: relative;
    z-index: 100;
}

.menu-btn {
    background: #fff;
    color: #000;
    border: 1.5px solid #000;
    padding: 6px 12px;
    text-decoration: none;
    font-weight: 700;
    font-size: 10px;
    text-transform: uppercase;
    letter-spacing: 0.2px;
    cursor: pointer;
    transition: background 0.15s, color 0.15s;
    display: inline-block;
    font-family: Calibri, sans-serif;
}

.menu-btn:hover {
    background: #000;
    color: #fff;
}

.menu-btn.active {
    background: #000;
    color: #fff;
    border: 1.5px solid #000;
}

/* LAST.FM NOW PLAYING */
.lastfm-player {
    text-align: center;
    padding: 24px 14px 0;
    max-width: 480px;
    margin: 0 auto;
}

.lastfm-box {
    background: #000;
    border: 1.5px solid #000;
    padding: 9px 14px;
    display: inline-flex;
    align-items: center;
    gap: 9px;
    font-size: 11px;
    color: #fff;
    font-family: Calibri, sans-serif;
    letter-spacing: 0.3px;
}

.lastfm-indicator {
    width: 6px;
    height: 6px;
    flex-shrink: 0;
}

.lastfm-indicator.playing {
    background: #00ff00;
    border-radius: 50%;
    box-shadow: 0 0 6px rgba(0, 255, 0, 0.5);
}

.lastfm-indicator.paused {
    background: #ff0000;
    border-radius: 0;
}

.lastfm-text {
    color: #fff;
}

/* CONTAINERS GERAIS */
.sobre-container,
.playlists-container,
.galeria-container,
.livros-container,
.microblog-container,
.home-container {
    max-width: 700px;
    margin: 28px auto 44px;
    padding: 0 14px;
}

/* SOBRE */
.sobre-box {
    position: relative;
    background: #000;
    border: 1.5px solid #000;
    padding: 34px 42px 42px;
    color: #fff;
}

.sobre-titulo {
    font-size: 34px;
    font-weight: 700;
    margin-bottom: 20px;
    text-transform: uppercase;
    letter-spacing: 1.5px;
}

.sobre-texto {
    font-size: 12px;
    line-height: 1.65;
    max-width: 520px;
    margin-bottom: 105px;
}

.sobre-texto p {
    margin-bottom: 14px;
}

.sobre-texto p:last-child {
    margin-bottom: 0;
}

.sobre-foto {
    position: absolute;
    bottom: 20px;
    right: 20px;
    width: 105px;
    height: 140px;
    border: 1.5px solid #fff;
    overflow: hidden;
    cursor: pointer;
    transition: transform 0.2s;
}

.sobre-foto img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.sobre-foto:hover {
    transform: scale(1.05);
}

/* PLAYLISTS */
.playlist-card {
    background: #fff;
    border: 1.5px solid #000;
    padding: 20px;
    margin-bottom: 20px;
    transition: transform 0.2s;
}

.playlist-card:hover {
    transform: translateY(-2px);
}

.playlist-header {
    display: flex;
    align-items: flex-start;
    gap: 14px;
    margin-bottom: 14px;
}

.playlist-cover {
    width: 105px;
    height: 105px;
    flex-shrink: 0;
    border: 1.5px solid #000;
    overflow: hidden;
}

.playlist-cover img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.playlist-info {
    flex: 1;
}

.playlist-title {
    font-size: 19px;
    font-weight: 700;
    margin-bottom: 5px;
    text-transform: uppercase;
    letter-spacing: 0.4px;
}

.playlist-meta {
    font-size: 10px;
    color: #666;
    margin-bottom: 9px;
    text-transform: uppercase;
    letter-spacing: 0.4px;
}

.playlist-description {
    font-size: 12px;
    line-height: 1.6;
    color: #333;
}

.playlist-link {
    display: inline-block;
    margin-top: 12px;
    padding: 7px 14px;
    background: #000;
    color: #fff;
    text-decoration: none;
    font-size: 10px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.4px;
    border: 1.5px solid #000;
    transition: background 0.2s;
}

.playlist-link:hover {
    background: #333;
}

/* GALERIA */
.galeria-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(190px, 1fr));
    gap: 18px;
}

.galeria-item {
    position: relative;
    aspect-ratio: 1;
    overflow: hidden;
    border: 1.5px solid #000;
    cursor: pointer;
    transition: transform 0.2s;
}

.galeria-item:hover {
    transform: translateY(-2px);
}

.galeria-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

/* LIVROS */
.livro-card {
    background: #fff;
    border: 1.5px solid #000;
    padding: 20px;
    margin-bottom: 20px;
    display: flex;
    gap: 18px;
    transition: transform 0.2s;
}

.livro-card:hover {
    transform: translateY(-2px);
}

.livro-capa {
    width: 88px;
    flex-shrink: 0;
    border: 1.5px solid #000;
}

.livro-capa img {
    width: 100%;
    display: block;
}

.livro-info {
    flex: 1;
}

.livro-titulo {
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 4px;
    text-transform: uppercase;
    letter-spacing: 0.4px;
}

.livro-autor {
    font-size: 12px;
    color: #666;
    margin-bottom: 10px;
    text-transform: uppercase;
    letter-spacing: 0.4px;
}

.livro-resenha {
    font-size: 12px;
    line-height: 1.6;
    color: #333;
}

.livro-rating {
    margin-top: 10px;
    font-size: 14px;
    color: #000;
}

/* MICROBLOG */
.post {
    background: #fff;
    border: 1.5px solid #000;
    padding: 20px;
    margin-bottom: 20px;
    transition: transform 0.2s;
}

.post:hover {
    transform: translateY(-2px);
}

.post-header {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 12px;
    padding-bottom: 10px;
    border-bottom: 1.5px solid #f0f0f0;
}

.post-avatar {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    border: 1.5px solid #000;
    overflow: hidden;
    flex-shrink: 0;
}

.post-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.post-meta {
    flex: 1;
}

.post-author {
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.4px;
}

.post-date {
    font-size: 10px;
    color: #666;
    text-transform: uppercase;
    letter-spacing: 0.3px;
}

.post-content {
    font-size: 12px;
    line-height: 1.7;
    color: #333;
}

.post-content p {
    margin-bottom: 10px;
}

.post-content p:last-child {
    margin-bottom: 0;
}

/* HOME */
.home-hero {
    background: #000;
    border: 1.5px solid #000;
    padding: 42px 34px;
    color: #fff;
    text-align: center;
    margin-bottom: 28px;
}

.home-hero h1 {
    font-size: 38px;
    font-weight: 700;
    margin-bottom: 14px;
    text-transform: uppercase;
    letter-spacing: 1.8px;
}

.home-hero p {
    font-size: 13px;
    line-height: 1.7;
    max-width: 520px;
    margin: 0 auto;
}

.home-sections {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(210px, 1fr));
    gap: 18px;
}

.home-section {
    background: #fff;
    border: 1.5px solid #000;
    padding: 20px;
    transition: transform 0.2s;
    text-align: center;
}

.home-section:hover {
    transform: translateY(-2px);
}

.home-section h2 {
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 10px;
    text-transform: uppercase;
    letter-spacing: 0.4px;
}

.home-section p {
    font-size: 12px;
    line-height: 1.6;
    color: #666;
}

/* MODAL */
.modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.95);
    z-index: 9999;
    cursor: pointer;
    animation: fadeIn 0.3s;
}

.modal.active {
    display: flex;
    align-items: center;
    justify-content: center;
}

.modal-content {
    max-width: 90%;
    max-height: 90%;
    border: 1.5px solid #fff;
    cursor: default;
}

.modal-content img {
    display: block;
    max-width: 100%;
    max-height: 90vh;
    object-fit: contain;
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

/* TABS LATERAIS - DESKTOP */
.side-tabs {
    position: fixed;
    right: 0;
    top: 50%;
    transform: translateY(-50%);
    display: flex;
    flex-direction: column;
    gap: 0;
    z-index: 1000;
}

.side-tab {
    writing-mode: vertical-rl;
    text-orientation: mixed;
    padding: 14px 9px;
    text-decoration: none;
    font-weight: 700;
    font-size: 10px;
    letter-spacing: 0.7px;
    background: #000;
    color: #fff;
    border: 1.5px solid #000;
    border-right: none;
    border-bottom: 1px solid #fff;
    transition: transform 0.2s;
    cursor: pointer;
    font-family: Calibri, sans-serif;
    text-transform: uppercase;
}

.side-tab:hover {
    transform: translateX(-4px);
}

.side-tab span {
    display: block;
}

.tab-sobre {
}

.tab-cool {
    border-bottom: 1.5px solid #000;
}

/* FOOTER MOBILE */
.footer-mobile {
    display: none;
}

/* RESPONSIVE - MOBILE */
@media (max-width: 900px) {
    .header-2026 {
        padding: 12px 10px !important;
        margin: 22px 10px 0 !important;
    }

    .header-main {
        font-size: 20px;
    }

    .timeline-meses {
        font-size: 9px;
    }

    /* Menu controlado pelo menu.php */

    .side-tabs {
        display: none;
    }

    .footer-mobile {
        display: flex;
        flex-direction: column;
        gap: 10px;
        padding: 0 14px 44px;
        max-width: 700px;
        margin: 0 auto;
    }

    .footer-btn {
        padding: 10px 14px;
        text-decoration: none;
        font-weight: 700;
        font-size: 11px;
        letter-spacing: 1px;
        background: #000;
        color: #fff;
        border: 1.5px solid #000;
        border-radius: 0;
        text-align: center;
        font-family: Calibri, sans-serif;
        text-transform: uppercase;
        transition: all 0.2s;
        position: relative;
    }


    .footer-btn:active {
        transform: translate(1px, 1px);
    }

    .sobre-container,
    .playlists-container,
    .galeria-container,
    .livros-container,
    .microblog-container,
    .home-container {
        padding: 0 12px;
        margin: 20px auto 28px;
    }

    .sobre-box {
        padding: 28px 20px 36px;
        border: 1.5px solid #000;
    }

    .sobre-titulo {
        font-size: 26px;
        margin-bottom: 18px;
    }

    .sobre-texto {
        font-size: 12px;
        line-height: 1.6;
        margin-bottom: 75px;
    }

    .sobre-texto p {
        margin-bottom: 12px;
    }

    .sobre-foto {
        width: 75px;
        height: 100px;
        bottom: 14px;
        right: 14px;
        border: 1.5px solid #fff;
    }

    .playlist-header {
        flex-direction: column;
        align-items: flex-start;
    }

    .playlist-cover {
        width: 100%;
        height: auto;
        aspect-ratio: 1;
    }

    .playlist-title {
        font-size: 16px;
    }

    .galeria-grid {
        grid-template-columns: repeat(auto-fill, minmax(130px, 1fr));
        gap: 12px;
    }

    .galeria-item {
        border: 1.5px solid #000;
    }

    .livro-card {
        flex-direction: column;
        padding: 18px;
    }

    .livro-capa {
        width: 75px;
    }

    .livro-titulo {
        font-size: 16px;
    }

    .home-hero {
        padding: 28px 20px;
    }

    .home-hero h1 {
        font-size: 28px;
    }

    .home-sections {
        grid-template-columns: 1fr;
    }
}