/* LORESPACE - UNIFIED STYLESHEET 
   Theme: BlueViolet, Ghost & Glassmorphism
*/

:root {
    --primary: #8a2be2; /* BlueViolet */
    --ghost: #f8f8ff;   /* GhostWhite */
    --bg-black: #050505;
    --glass: rgba(255, 255, 255, 0.04);
    --glass-border: rgba(255, 255, 255, 0.08);
    --glass-heavy: rgba(15, 15, 15, 0.85);
}

/* 1. RESET & BASE */
* { 
    margin: 0; 
    padding: 0; 
    box-sizing: border-box; 
    font-family: 'Inter', sans-serif; 
}

body { 
    background: var(--bg-black); 
    color: var(--ghost); 
    overflow-x: hidden; 
}

/* 2. HEADER E PERFIL */
.fb-profile-container { 
    background: var(--glass); 
    backdrop-filter: blur(40px); 
    border-bottom: 1px solid var(--glass-border); 
}

.cover-photo { 
    height: 180px; 
    background: linear-gradient(135deg, #1a082e 0%, var(--primary) 100%); 
}

.profile-header-content { 
    max-width: 900px; 
    margin: -50px auto 0; 
    display: flex; 
    padding: 0 40px 30px; 
    align-items: flex-end; 
    gap: 25px; 
}

.avatar-container { 
    position: relative; 
    width: 130px; 
    height: 130px; 
    background: var(--bg-black); 
    border-radius: 35px; 
    padding: 4px; 
}

.avatar-main { 
    width: 100%; 
    height: 100%; 
    border-radius: 31px; 
    background: #111; 
    display: flex; 
    align-items: center; 
    justify-content: center; 
    font-size: 40px; 
    color: var(--primary); 
    border: 1px solid #222; 
}

/* 3. COMPONENTES INTERATIVOS */
.music-note-bubble { 
    position: absolute; 
    top: -5px; 
    right: -5px; 
    background: var(--ghost); 
    color: var(--primary); 
    width: 35px; 
    height: 35px; 
    border-radius: 50%; 
    display: flex; 
    align-items: center; 
    justify-content: center; 
    box-shadow: 0 4px 15px rgba(0,0,0,0.5); 
    cursor: pointer; 
    animation: float 3s infinite; 
    z-index: 20; 
}

.music-note-bubble.small { 
    width: 30px; 
    height: 30px; 
    top: 0; 
    right: 0; 
}

.social-horizontal { 
    display: flex; 
    gap: 12px; 
    margin-top: 10px; 
}

.social-btn { 
    width: 38px; 
    height: 38px; 
    background: var(--glass); 
    border: 1px solid var(--glass-border); 
    border-radius: 10px; 
    display: flex; 
    align-items: center; 
    justify-content: center; 
    color: var(--ghost); 
    transition: 0.3s; 
    text-decoration: none; 
    cursor: pointer; 
}

.social-btn:hover { 
    background: var(--primary); 
    transform: translateY(-3px); 
    box-shadow: 0 5px 15px rgba(138, 43, 226, 0.4); 
}

/* 4. NAVEGAÇÃO E TABS */
.fb-tabs { 
    max-width: 900px; 
    margin: 0 auto; 
    display: flex; 
    padding: 0 20px; 
}

.tab-item { 
    background: none; 
    border: none; 
    color: #555; 
    padding: 15px 25px; 
    font-weight: 600; 
    cursor: pointer; 
    border-bottom: 2px solid transparent; 
    transition: 0.3s; 
}

.tab-item.active { 
    color: var(--primary); 
    border-bottom-color: var(--primary); 
}

/* 5. CONTEÚDO PRINCIPAL E CARDS */
.main-content { 
    max-width: 900px; 
    margin: 40px auto; 
    padding: 0 20px; 
}

.tab-section { 
    display: none; 
    animation: fadeIn 0.4s ease; 
}

.tab-section.active { 
    display: block; 
}

.cards-grid { 
    display: grid; 
    grid-template-columns: repeat(auto-fill, minmax(160px, 1fr)); 
    gap: 12px; 
}

.card-glass { 
    background: var(--glass); 
    border: 1px solid var(--glass-border); 
    padding: 35px 20px; 
    border-radius: 20px; 
    text-align: center; 
    backdrop-filter: blur(10px); 
    transition: 0.3s; 
    cursor: pointer; 
    width: 100%;
}

.card-glass:hover { 
    background: rgba(255,255,255,0.08); 
    transform: translateY(-5px); 
    border-color: var(--primary);
}

.card-glass i { 
    font-size: 30px; 
    color: var(--primary); 
    margin-bottom: 15px; 
    display: block; 
}

/* NOVO: Estilo para o Card de Agradecimentos Centralizado */
.wide-card {
    max-width: 600px;
    margin: 20px auto;
    padding: 50px 30px;
}

.wide-card h3 {
    margin: 15px 0;
    color: var(--primary);
    font-size: 1.5rem;
}

/* 6. MODAIS E OVERLAYS */
.modal-overlay, .music-overlay { 
    position: fixed; 
    inset: 0; 
    background: rgba(0,0,0,0.85); 
    backdrop-filter: blur(15px); 
    display: none; 
    justify-content: center; 
    align-items: center; 
    z-index: 1000; 
}

.modal-content { 
    background: rgba(10, 10, 10, 0.9); 
    width: 90%; 
    max-width: 360px; 
    border-radius: 35px; 
    padding: 50px 30px; 
    position: relative; 
    border: 1px solid var(--glass-border); 
    text-align: center; 
}

.glass-m { 
    background: var(--glass-heavy) !important; 
    border: 1px solid var(--glass-border) !important; 
    backdrop-filter: blur(25px); 
}

.modal-close { 
    position: absolute; 
    top: 20px; 
    right: 25px; 
    background: none; 
    border: none; 
    color: #666; 
    font-size: 26px; 
    cursor: pointer; 
}

/* 7. ELEMENTOS DE PERFIL NO MODAL */
.tt-avatar-wrapper { 
    position: relative; 
    width: fit-content; 
    margin: 0 auto; 
}

.tt-avatar { 
    width: 85px; 
    height: 85px; 
    background: #111; 
    border-radius: 50%; 
    display: flex; 
    align-items: center; 
    justify-content: center; 
    font-size: 35px; 
    color: var(--primary); 
    border: 1px solid #222; 
    margin-bottom: 20px; 
}

.tt-bio p { 
    color: #aaa; 
    margin: 15px 0; 
    font-size: 0.95rem;
}

.creator-social-grid {
    display: flex;
    justify-content: center;
    gap: 15px;
    margin-top: 20px;
}

.mini-social-btn {
    width: 45px;
    height: 45px;
    background: var(--glass);
    border: 1px solid var(--glass-border);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--ghost);
    text-decoration: none;
    font-size: 20px;
    transition: 0.3s;
}

.mini-social-btn:hover {
    background: var(--primary);
    transform: scale(1.1);
}

.network-grid { 
    display: grid; 
    grid-template-columns: 1fr 1fr; 
    gap: 12px; 
}

.net-item { 
    background: var(--glass); 
    padding: 15px; 
    border-radius: 15px; 
    text-decoration: none; 
    color: var(--ghost); 
    display: flex; 
    align-items: center; 
    justify-content: center; 
    gap: 8px; 
    font-size: 0.9rem; 
    transition: 0.3s; 
    border: 1px solid var(--glass-border); 
}

.net-item:hover { 
    background: var(--primary); 
    transform: scale(1.05); 
}

/* 8. PLAYLIST E PLAYER */
.music-sheet { 
    background: #0a0a0a; 
    width: 100%; 
    max-width: 500px; 
    border-radius: 30px 30px 0 0; 
    padding: 25px; 
    border-top: 1px solid var(--glass-border); 
    position: absolute; 
    bottom: 0; 
    animation: slideUp 0.4s;
}

.music-list { 
    max-height: 350px; 
    overflow-y: auto; 
    margin-bottom: 20px; 
}

.music-item { 
    display: flex; 
    align-items: center; 
    gap: 12px; 
    padding: 12px; 
    background: var(--glass); 
    border-radius: 15px; 
    margin-bottom: 10px; 
    transition: 0.3s;
}

.music-item img { 
    width: 50px; 
    height: 50px; 
    border-radius: 10px; 
}

.progress-container {
    width: 100%;
    height: 4px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 2px;
    margin-top: 8px;
    display: none;
    overflow: hidden;
}

.progress-bar {
    height: 100%;
    background: var(--primary);
    width: 0%;
    box-shadow: 0 0 10px var(--primary);
    transition: width 0.1s linear;
}

.play-btn { 
    color: var(--primary); 
    font-size: 26px; 
    cursor: pointer; 
}

.music-close { 
    width: 100%; 
    background: var(--primary); /* Ajustado para a cor primária para destaque */
    border: none; 
    color: var(--ghost); 
    padding: 15px; 
    border-radius: 15px; 
    cursor: pointer; 
    font-weight: bold;
}

/* 9. ANIMAÇÕES */
@keyframes float { 
    0%, 100% { transform: translateY(0); } 
    50% { transform: translateY(-5px); } 
}

@keyframes fadeIn { 
    from { opacity: 0; transform: translateY(10px); } 
    to { opacity: 1; transform: translateY(0); } 
}

@keyframes slideUp { 
    from { transform: translateY(100%); } 
    to { transform: translateY(0); } 
}
