body {
    margin: 0;
    padding: 0;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background-color: #000000;
    color: #FFFFFF;
    overflow: hidden;
}

/* Cabeçalho Fixo (Título Principal) */
#main-header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background-color: #121212;
    padding: 5px 0;
    text-align: center;
    border-bottom: 1px solid #3E3E3D;
    z-index: 1000;
}

.logo {
    height: 80px;
    width: auto;
    display: block;
    margin: 0 auto;
}

/* Camada Base: Mapa */
#map-container {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    z-index: 1;
}

#map {
    width: 100%;
    height: 100%;
}

/* Camada de Sobreposição: Feed */
#feed-layer {
    position: fixed;
    top: 92px; /* Ajustado para a nova altura da logo */
    left: 0;
    width: 100%;
    height: calc(100% - 92px);
    background-color: rgba(9, 9, 9, 0.9);
    backdrop-filter: blur(10px);
    z-index: 100;
    transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    display: flex;
    flex-direction: column;
}

#feed-layer.feed-hidden {
    transform: translateX(calc(-100% + 50px));
}

/* Cabeçalho de Busca INTERNO DO FEED */
#feed-header {
    background-color: rgba(18, 18, 18, 0.9);
    padding: 16px;
    border-bottom: 1px solid #3E3E3D;
    flex-shrink: 0;
}

.tabs {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-bottom: 16px;
}

.tabs button {
    background: transparent;
    border: none;
    color: #888;
    padding: 8px 16px;
    font-size: 15px;
    font-weight: bold;
    cursor: pointer;
    border-bottom: 2px solid transparent;
}

.tabs button.active {
    color: #E5C158;
    border-bottom: 2px solid #E5C158;
}

#searchContainer {
    background-color: #1AFFFFFF;
    border: 1px solid #3E3E3D;
    border-radius: 12px;
    padding: 4px 12px;
    display: flex;
    align-items: center;
}

#search-input, #city-input, #artist-input {
    width: 100%;
    padding: 10px 0;
    background: transparent;
    border: none;
    color: white;
    font-size: 16px;
    outline: none;
}

/* Maçaneta */
#btn-handle {
    position: absolute;
    right: -25px;
    top: 50%;
    transform: translateY(-50%);
    width: 40px;
    height: 80px;
    background-color: #FFC107;
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: flex-start;
    padding-left: 5px;
    cursor: pointer;
    box-shadow: 2px 0 10px rgba(0,0,0,0.5);
    z-index: 101;
}

#handle-arrow { color: #000; font-size: 18px; }

/* Área de Conteúdo (Scrollable) */
#event-scroll-area {
    flex: 1;
    overflow-y: auto;
    padding: 16px;
}

/* Itens de Evento */
.event-card {
    background-color: #121212;
    margin-bottom: 12px;
    padding: 16px;
    border-radius: 16px;
    display: flex;
    align-items: center;
    cursor: pointer;
    border: 1px solid #1AFFFFFF;
}

.ad-card {
    padding: 0;
    overflow: hidden;
    min-height: 100px;
    border: 1px solid #E5C158;
}

.event-image {
    width: 70px;
    height: 70px;
    border-radius: 50%;
    margin-right: 16px;
    object-fit: cover;
}

.event-info h3 { margin: 0; font-size: 1.1rem; color: #FFF; }
.event-info p { margin: 4px 0 0 0; color: #E5C158; font-style: italic; font-size: 0.9rem; }
.event-info small { color: #888; display: block; margin-top: 4px; }

/* Modal */
.modal {
    display: none;
    position: fixed;
    z-index: 2000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0,0,0,0.85);
    backdrop-filter: blur(5px);
    overflow-y: auto;
}

.modal-content {
    background-color: #121212;
    margin: 5vh auto;
    padding: 28px;
    border: 1px solid #33FFFFFF;
    width: 90%;
    max-width: 450px;
    border-radius: 28px;
    text-align: center;
    position: relative;
}

.modal-poster { width: 100%; border-radius: 16px; margin-bottom: 24px; }
.modal-title { color: #FFFFFF; font-size: 1.5rem; margin-bottom: 12px; }
.modal-artist { color: #E5C158; font-style: italic; font-weight: bold; font-size: 1.1rem; margin-bottom: 24px; display: block; }
.modal-divider { width: 60px; height: 1px; background-color: rgba(255, 255, 255, 0.2); margin: 0 auto 24px auto; }
.modal-info { color: #E5C158; margin-bottom: 16px; display: flex; align-items: center; justify-content: center; gap: 10px; }
.modal-description { color: #EAEAEA; line-height: 1.6; margin-bottom: 24px; }
.social-buttons { display: flex; justify-content: center; gap: 32px; margin-bottom: 24px; }
.social-btn { display: flex; flex-direction: column; align-items: center; color: #E5C158; text-decoration: none; font-size: 0.75rem; gap: 5px; }
.social-btn img { width: 32px; height: 32px; }
.close-btn-footer { width: 100%; background: transparent; color: rgba(255, 255, 255, 0.4); border: none; padding: 12px; font-weight: bold; cursor: pointer; }
.close-modal { color: #66FFFFFF; position: absolute; right: 24px; top: 15px; font-size: 30px; cursor: pointer; }
.status { text-align: center; color: #888; margin-top: 40px; }
