:root {
    /* Cores Roxo e Verde (Paleta Acronik Fitness Oficial) */
    --bg-color: #07040E;          /* Preto profundo com tom violeta */
    --text-primary: #EDE7DE;       /* Off-white / Creme da Paleta */
    --text-secondary: #B8B2AA;     /* Cinza quente claro para alto contraste */
    
    --sage: #1CC7B0;              /* Turquesa / Verde Claro da Paleta (#1CC7B0) */
    --sand: #EDE7DE;              /* Creme da Paleta */
    --terracotta: #8E24AA;         /* Roxo Médio / Magenta da Paleta (#8E24AA) */
    --ocean: #0CA084;             /* Verde Menta / Teal da Paleta (#0CA084) */
    --purple: #6A1B9A;            /* Roxo Escuro da Paleta (#6A1B9A) */

    --card-bg: rgba(13, 9, 28, 0.75); /* Aumentado ligeiramente a opacidade para melhor contraste */
    --border-color: rgba(255, 255, 255, 0.08);
    
    --bottom-nav-bg: rgba(10, 7, 20, 0.9);
    --nav-active: #1CC7B0;         /* Ícones ativos em turquesa para destaque */
    --nav-inactive: #8F8B85;       /* Ícones inativos com mais contraste */

    --glow-purple: rgba(142, 36, 170, 0.4);
    --glow-emerald: rgba(28, 199, 176, 0.4);
    --glow-red: rgba(239, 68, 68, 0.4);
}

/* Forçamos o Tema Escuro Tecnológico de Alta Costura para Todos */
body {
    font-family: 'Inter', sans-serif;
    background: radial-gradient(circle at 50% 0%, #150E2A 0%, #050308 100%);
    background-attachment: fixed;
    color: var(--text-primary);
    line-height: 1.6;
    overflow-x: hidden;
    letter-spacing: -0.01em;
    position: relative;
}

/* Grid Cibernético de Fundo (Efeito IA / Tech) */
body::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: 
        linear-gradient(rgba(139, 92, 246, 0.02) 1px, transparent 1px),
        linear-gradient(90deg, rgba(139, 92, 246, 0.02) 1px, transparent 1px);
    background-size: 24px 24px;
    z-index: -1;
    pointer-events: none;
}

/* Scrollbar Customizada Sci-Fi */
::-webkit-scrollbar {
    width: 3px;
    height: 3px;
}
::-webkit-scrollbar-track {
    background: transparent;
}
::-webkit-scrollbar-thumb {
    background: var(--terracotta);
    border-radius: 10px;
    box-shadow: 0 0 8px var(--glow-purple);
}

/* Container Mobile Premium 3D */
#app-container {
    max-width: 500px;
    margin: 0 auto;
    background: rgba(10, 7, 20, 0.5);
    min-height: 100vh;
    position: relative;
    box-shadow: 0 0 80px rgba(0, 0, 0, 0.8), inset 0 1px 0 rgba(255, 255, 255, 0.03);
    border-left: 1px solid rgba(255, 255, 255, 0.04);
    border-right: 1px solid rgba(255, 255, 255, 0.04);
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
    -webkit-tap-highlight-color: transparent;
}

/* Estilização Global de Placeholders para Alto Contraste */
::placeholder {
    color: var(--text-secondary) !important;
    opacity: 0.7 !important; /* Aumentada a opacidade */
}
::-webkit-input-placeholder {
    color: var(--text-secondary) !important;
    opacity: 0.7 !important;
}
:-ms-input-placeholder {
    color: var(--text-secondary) !important;
    opacity: 0.7 !important;
}
::-ms-input-placeholder {
    color: var(--text-secondary) !important;
    opacity: 0.7 !important;
}

/* Classes Auxiliares */
.bg-sage { background-color: var(--sage); }
.bg-sand { background-color: var(--sand); }
.bg-terracotta { background-color: var(--terracotta); }
.bg-ocean { background-color: var(--ocean); }
.bg-purple { background-color: var(--purple); }

/* --- HEADER --- */
.app-header {
    padding: 26px 24px 20px;
    background: rgba(10, 7, 20, 0.8);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    position: sticky;
    top: 0;
    z-index: 10;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.user-greeting {
    display: flex;
    align-items: center;
    gap: 16px;
}

/* Foto de Perfil com Anel de Status Neon */
.avatar-small {
    width: 46px;
    height: 46px;
    border-radius: 16px;
    object-fit: cover;
    border: 2px solid var(--sage);
    box-shadow: 0 0 15px var(--glow-emerald);
}

.user-greeting h1 {
    font-size: 18px;
    font-weight: 800;
    letter-spacing: -0.02em;
    color: #FFFFFF;
}

.user-greeting p {
    font-size: 12px;
    color: var(--sage);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    opacity: 0.9;
}

/* --- TAB PANES --- */
.tab-pane {
    display: none;
    animation: slideUpFade 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}

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

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

/* --- SEÇÕES HORIZONTAIS (Painéis Glassmorphic 3D) --- */
.section-block {
    margin: 24px 16px;
    padding: 20px 0 20px 0; /* Sem padding lateral: a lista de videos precisa de largura total */
    border-radius: 24px;
    border: 1px solid rgba(255, 255, 255, 0.03);
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.02) 0%, rgba(255, 255, 255, 0.00) 100%), var(--card-bg);
    box-shadow: 0 16px 40px rgba(0, 0, 0, 0.3), inset 0 1px 1px rgba(255, 255, 255, 0.05);
    position: relative;
    overflow: hidden; /* Volta para hidden, mas agora a lista não extrapola */
}

.section-block::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 3px;
    height: 100%;
}

.section-block:nth-child(even)::before {
    background: linear-gradient(to bottom, var(--terracotta), var(--purple));
    box-shadow: 0 0 10px var(--glow-purple);
}

.section-block:nth-child(odd)::before {
    background: linear-gradient(to bottom, var(--sage), var(--ocean));
    box-shadow: 0 0 10px var(--glow-emerald);
}

.section-header {
    margin-bottom: 20px;
    padding: 0 24px; /* Padding lateral no header, nao no bloco inteiro */
}

.section-header h2 {
    font-size: 12px;
    font-weight: 800;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--text-secondary);
}

/* --- TOPIC FILTERS (Pills Chips) --- */
.topic-filters {
    display: flex;
    overflow-x: auto;
    width: 100%;
    -webkit-overflow-scrolling: touch;
    padding: 0 24px 18px 24px; /* Padding lateral no filtro */
    gap: 8px;
    scrollbar-width: none;
}
.topic-filters::-webkit-scrollbar { display: none; }

.filter-btn {
    background-color: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.05);
    color: var(--text-secondary);
    padding: 6px 14px;
    border-radius: 12px;
    font-size: 11px;
    font-family: inherit;
    font-weight: 700;
    cursor: pointer;
    white-space: nowrap;
    text-transform: uppercase;
    letter-spacing: 0.02em;
    transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
}

.filter-btn:hover {
    background-color: rgba(255, 255, 255, 0.05);
    color: #FFFFFF;
    border-color: rgba(255, 255, 255, 0.1);
}

.filter-btn.active {
    background: linear-gradient(135deg, var(--terracotta) 0%, var(--purple) 100%);
    color: #FFFFFF;
    border-color: rgba(255, 255, 255, 0.15);
    box-shadow: 0 0 15px var(--glow-purple);
}

/* --- LISTAS DE VÍDEOS HORIZONTAIS --- */
.video-horizontal-list {
    display: none;
    overflow-x: scroll; /* scroll (não auto) forca a area de rolagem sempre ativa */
    width: 100%;
    gap: 16px;
    scroll-snap-type: x proximity;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    padding: 4px 24px; /* Padding lateral para os cards nao ficarem colados na borda */
    box-sizing: border-box;
}
.video-horizontal-list::-webkit-scrollbar { display: none; }
.video-horizontal-list.active {
    display: flex;
}

.video-card {
    flex: 0 0 148px;
    flex-shrink: 0; /* Impede que os cards encolham */
    scroll-snap-align: start;
    cursor: pointer;
}

/* Thumbnail Holográfico com Efeito Hover 3D */
.video-thumbnail {
    position: relative;
    height: 94px;
    border-radius: 18px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 12px;
    background: linear-gradient(135deg, rgba(139, 92, 246, 0.08) 0%, rgba(16, 185, 129, 0.08) 100%);
    border: 1px solid rgba(255, 255, 255, 0.04);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2), inset 0 1px 1px rgba(255, 255, 255, 0.03);
    overflow: hidden;
    transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1), border-color 0.3s, box-shadow 0.3s;
}

.video-card:hover .video-thumbnail {
    transform: translateY(-6px) scale(1.02);
    border-color: rgba(196, 181, 253, 0.3);
    box-shadow: 0 12px 30px var(--glow-purple);
}

/* Overlay sutil de reflexo */
.video-thumbnail::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.05) 0%, rgba(255, 255, 255, 0) 60%);
    z-index: 1;
}

.video-thumbnail i {
    font-size: 36px;
    color: #C4B5FD;
    position: relative;
    z-index: 2;
    filter: drop-shadow(0 0 10px rgba(124, 58, 237, 0.5));
    transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1), color 0.3s;
}

.video-card:hover .video-thumbnail i {
    transform: scale(1.2);
    color: #FFFFFF;
    filter: drop-shadow(0 0 15px rgba(124, 58, 237, 0.8));
}

.video-duration {
    position: absolute;
    bottom: 8px;
    right: 8px;
    background-color: rgba(10, 7, 20, 0.85);
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);
    color: #FFFFFF;
    font-size: 9px;
    font-weight: 800;
    padding: 3px 6px;
    border-radius: 6px;
    z-index: 2;
    letter-spacing: 0.05em;
    border: 1px solid rgba(255, 255, 255, 0.05);
}

.video-info h4 {
    font-size: 13px;
    font-weight: 700;
    margin-bottom: 2px;
    line-height: 1.3;
    color: #FFFFFF;
}

.video-info p {
    font-size: 11px;
    color: var(--text-secondary);
}

/* --- SCROLL BUTTONS --- */
.scroll-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background-color: rgba(13, 9, 28, 0.85);
    border: 1px solid rgba(255, 255, 255, 0.08);
    box-shadow: 0 4px 15px rgba(0,0,0,0.3);
    color: #FFFFFF;
    display: none; /* Oculto por padrão no celular */
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 5;
    opacity: 0;
    transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
}

.section-block:hover .scroll-btn {
    opacity: 1;
}

.scroll-btn:hover {
    background-color: #FFFFFF;
    color: #000000;
    border-color: #FFFFFF;
    transform: translateY(-50%) scale(1.05);
}

.scroll-btn.left-btn { left: 8px; }
.scroll-btn.right-btn { right: 8px; }
.scroll-btn i { font-size: 16px; }

/* --- COMUNIDADE (FEED) --- */
.feed-container {
    padding: 8px 4px;
}

.page-title {
    font-size: 22px;
    font-weight: 800;
    letter-spacing: -0.03em;
    padding: 24px 20px 4px;
    color: #FFFFFF;
}

.page-subtitle {
    padding: 0 20px 24px;
    font-size: 13px;
    color: var(--text-secondary);
}

/* Campo de Input Estilo Command Line / Sci-Fi */
.post-input-area {
    margin: 0 20px 28px;
    display: flex;
    gap: 12px;
    align-items: center;
}

.post-input-area input {
    flex: 1;
    border: 1px solid rgba(255, 255, 255, 0.15);
    padding: 14px 20px;
    border-radius: 16px;
    background: rgba(255, 255, 255, 0.05);
    font-family: inherit;
    font-size: 13.5px;
    color: #FFFFFF;
    outline: none;
    transition: all 0.3s;
}

.post-input-area input:focus {
    border-color: var(--terracotta);
    background: rgba(255, 255, 255, 0.04);
    box-shadow: 0 0 15px var(--glow-purple);
}

/* Botões de ferramenta de post */
.post-tool-btn {
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.05);
    color: var(--text-secondary);
    font-size: 18px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 38px;
    height: 38px;
    border-radius: 12px;
    transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
}

.post-tool-btn:hover {
    background-color: rgba(255, 255, 255, 0.06);
    color: #FFFFFF;
    border-color: rgba(255, 255, 255, 0.1);
    transform: translateY(-2px);
}

.post-tool-btn.send-btn {
    color: var(--terracotta);
    border-color: rgba(235, 94, 85, 0.1);
}

.post-tool-btn.send-btn:hover {
    background: var(--terracotta);
    color: #FFFFFF;
    border-color: var(--terracotta);
    box-shadow: 0 0 12px var(--glow-red);
}

/* Imagem de Mídia no Post */
.post-media-image {
    display: block;
    max-width: 100%;
    max-height: 280px;
    width: auto;
    height: auto;
    object-fit: contain;
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, 0.06);
    margin: 10px auto 12px auto;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
    cursor: pointer;
    transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.3s, border-color 0.3s;
}

.post-media-image:hover {
    transform: scale(1.01);
    border-color: rgba(255, 255, 255, 0.15);
    box-shadow: 0 12px 30px rgba(124, 58, 237, 0.15);
}

/* Elementos da seção de Comentários */
.comment-item {
    display: flex;
    gap: 10px;
    margin-bottom: 12px;
    align-items: flex-start;
}

.comment-item img {
    width: 28px;
    height: 28px;
    border-radius: 8px;
    border: 1px solid rgba(255, 255, 255, 0.05);
    object-fit: cover;
}

.comment-body {
    background: rgba(255, 255, 255, 0.06); /* Ligeiramente mais claro para se destacar do fundo escuro */
    padding: 10px 14px;
    border-radius: 14px;
    flex: 1;
    border: 1px solid rgba(255, 255, 255, 0.08); /* Borda mais visível */
}

.comment-body h5 {
    font-size: 12px;
    font-weight: 700;
    color: #FFFFFF;
    margin-bottom: 4px;
}

.comment-body p {
    font-size: 13px;
    color: #EDE7DE; /* Alto contraste com creme oficial */
    line-height: 1.5;
    margin: 0;
}

.comment-body span {
    font-size: 10px;
    color: var(--text-secondary);
    display: block;
    margin-top: 6px;
}

.comment-input {
    outline: none;
    transition: border-color 0.2s, background-color 0.2s;
}

.comment-input:focus {
    border-color: var(--terracotta) !important;
    background-color: rgba(255, 255, 255, 0.04) !important;
}


/* Lightbox Modal (Visualizador de Fotos Tela Cheia) */
.lightbox-modal {
    position: fixed;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 100%;
    max-width: 500px;
    height: 100vh;
    background-color: rgba(5, 3, 8, 0.95);
    backdrop-filter: blur(25px);
    -webkit-backdrop-filter: blur(25px);
    z-index: 500;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 20px;
    opacity: 0;
    animation: fadeIn 0.3s forwards;
}

@keyframes fadeIn {
    to { opacity: 1; }
}

.lightbox-content {
    max-width: 90%;
    max-height: 75vh;
    border-radius: 20px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.8), 0 0 30px rgba(139, 92, 246, 0.15);
    object-fit: contain;
    transform: scale(0.95);
    animation: scaleUp 0.35s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

@keyframes scaleUp {
    to { transform: scale(1); }
}

.lightbox-close-btn {
    position: absolute;
    top: 24px;
    right: 24px;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.08);
    color: white;
    font-size: 20px;
    cursor: pointer;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

.lightbox-close-btn:hover {
    background: white;
    color: black;
    border-color: white;
    transform: scale(1.05);
}


.post-card {
    margin: 0 16px 16px;
    border-radius: 24px;
    padding: 22px;
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.4), inset 0 1px 1px rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.03);
    background-color: var(--card-bg);
}

.post-card:nth-child(even) {
    background: linear-gradient(135deg, rgba(16, 185, 129, 0.03) 0%, rgba(13, 9, 28, 0.8) 100%);
    border-left: 4px solid var(--sage);
}

.post-card:nth-child(odd) {
    background: linear-gradient(135deg, rgba(139, 92, 246, 0.03) 0%, rgba(13, 9, 28, 0.8) 100%);
    border-left: 4px solid var(--terracotta);
}

.post-header {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 16px;
}

.post-header .avatar-small {
    width: 38px;
    height: 38px;
    border-radius: 12px;
    border: 1.5px solid rgba(255,255,255,0.08);
    box-shadow: none;
}

.post-header h4 {
    font-size: 14px;
    font-weight: 700;
    color: #FFFFFF;
}

.post-header span {
    font-size: 11px;
    color: var(--text-secondary);
}

.post-content p {
    font-size: 14.5px;
    line-height: 1.6;
    margin-bottom: 18px;
    color: #EDE7DE; /* Alto contraste com creme oficial */
}

.post-actions {
    display: flex;
    gap: 16px;
    border-top: 1px solid rgba(255, 255, 255, 0.04);
    padding-top: 14px;
}

.action-btn {
    background: none;
    border: none;
    color: var(--text-secondary);
    font-family: inherit;
    font-size: 12px;
    display: flex;
    align-items: center;
    gap: 6px;
    cursor: pointer;
    font-weight: 700;
    padding: 6px 12px;
    border-radius: 10px;
    transition: all 0.2s;
}

.action-btn:hover {
    background-color: rgba(255, 255, 255, 0.04);
    color: #FFFFFF;
}

.action-btn i {
    font-size: 15px;
}

/* --- LIVES (AO VIVO) --- */
.lives-container {
    padding: 8px 4px;
}

/* Monitor de Live 3D Holográfico com Scanline */
.live-hero {
    margin: 0 16px 32px;
    position: relative;
    border-radius: 28px;
    overflow: hidden;
    box-shadow: 0 16px 40px rgba(0, 0, 0, 0.5), 0 0 15px var(--glow-red);
    border: 1px solid rgba(239, 68, 68, 0.15);
}

.live-thumbnail {
    height: 220px;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    background: #000000;
}

.live-thumbnail::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to bottom, rgba(0,0,0,0.1) 0%, rgba(0,0,0,0.9) 100%);
    z-index: 1;
}

/* Efeito de Scanline Holográfico Dinâmico */
.live-thumbnail::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 5px;
    background: rgba(239, 68, 68, 0.2);
    box-shadow: 0 0 10px rgba(239, 68, 68, 0.8);
    z-index: 2;
    animation: scanline 4s linear infinite;
}

@keyframes scanline {
    0% { top: 0%; }
    100% { top: 100%; }
}

.live-thumbnail i {
    font-size: 56px;
    color: #FFFFFF;
    text-shadow: 0 0 15px rgba(239, 68, 68, 0.6);
    z-index: 3;
    cursor: pointer;
    transition: transform 0.3s;
}

.live-thumbnail i:hover {
    transform: scale(1.1);
}

.live-badge {
    position: absolute;
    top: 16px;
    left: 16px;
    background-color: #EF4444;
    color: #FFFFFF;
    font-size: 9px;
    font-weight: 800;
    padding: 4px 10px;
    border-radius: 8px;
    letter-spacing: 0.05em;
    z-index: 3;
    animation: livePulse 1.5s infinite;
    box-shadow: 0 0 15px rgba(239, 68, 68, 0.5);
    border: 1px solid rgba(255,255,255,0.1);
}

@keyframes livePulse {
    0% { transform: scale(1); box-shadow: 0 0 0 0 rgba(239, 68, 68, 0.6); }
    70% { transform: scale(1); box-shadow: 0 0 0 8px rgba(239, 68, 68, 0); }
    100% { transform: scale(1); box-shadow: 0 0 0 0 rgba(239, 68, 68, 0); }
}

.live-hero h3 {
    position: absolute;
    bottom: 34px;
    left: 20px;
    right: 20px;
    font-size: 17px;
    font-weight: 800;
    color: #FFFFFF;
    z-index: 3;
}

.live-hero p {
    position: absolute;
    bottom: 14px;
    left: 20px;
    right: 20px;
    font-size: 12px;
    color: var(--text-secondary);
    z-index: 3;
}

.agenda-title {
    padding: 0 20px;
    font-size: 15px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: var(--text-secondary);
    margin-bottom: 16px;
}

.agenda-card {
    margin: 0 16px 14px;
    background-color: var(--card-bg);
    border-radius: 20px;
    padding: 16px;
    display: flex;
    align-items: center;
    gap: 16px;
    border: 1px solid rgba(255, 255, 255, 0.03);
    box-shadow: inset 0 1px 1px rgba(255, 255, 255, 0.02);
}

.agenda-date {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    background-color: rgba(255, 255, 255, 0.02);
    padding: 8px 12px;
    border-radius: 12px;
    min-width: 60px;
    border: 1px solid rgba(255,255,255,0.03);
}

.agenda-date strong {
    font-size: 18px;
    color: var(--sage);
    font-weight: 800;
    line-height: 1;
}

.agenda-date span {
    font-size: 9px;
    font-weight: 700;
    margin-top: 4px;
    opacity: 0.7;
}

.agenda-info {
    flex: 1;
}

.agenda-info h4 {
    font-size: 14px;
    font-weight: 700;
    color: #FFFFFF;
}

.agenda-info p {
    font-size: 12px;
    color: var(--text-secondary);
}

.lembrete-btn {
    background: none;
    border: none;
    color: var(--sage);
    display: flex;
    flex-direction: column;
    align-items: center;
    font-size: 9px;
    font-weight: 800;
    gap: 4px;
    cursor: pointer;
    transition: transform 0.2s;
}

.lembrete-btn:hover {
    transform: scale(1.1);
}

.lembrete-btn i {
    font-size: 20px;
    filter: drop-shadow(0 0 5px var(--glow-emerald));
}

/* --- PERFIL --- */
.profile-container {
    padding: 8px 4px;
}

.profile-header-large {
    text-align: center;
    padding: 32px 20px 24px;
}

.avatar-large {
    width: 90px;
    height: 90px;
    border-radius: 26px;
    margin-bottom: 16px;
    border: 3px solid rgba(255, 255, 255, 0.05);
    box-shadow: 0 16px 32px rgba(0, 0, 0, 0.5);
}

.profile-header-large h2 {
    font-size: 20px;
    font-weight: 800;
    letter-spacing: -0.02em;
    color: #FFFFFF;
}

.profile-header-large p {
    color: var(--text-secondary);
    font-size: 12px;
    margin-top: 2px;
}

.diary-card {
    margin: 0 16px 24px;
    background-color: var(--card-bg);
    border: 1px solid rgba(255, 255, 255, 0.03);
    padding: 24px 20px;
    border-radius: 24px;
    text-align: center;
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.3);
}

.diary-card h3 {
    font-size: 11px;
    font-weight: 800;
    margin-bottom: 20px;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--text-secondary);
}

.mood-selector {
    display: flex;
    justify-content: space-around;
}

.mood-btn {
    background: none;
    border: none;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    color: var(--text-secondary);
    font-family: inherit;
    font-size: 11px;
    font-weight: 700;
    cursor: pointer;
    transition: transform 0.2s, color 0.2s;
}

.mood-btn:hover {
    transform: translateY(-3px);
    color: #FFFFFF;
}

.mood-btn i {
    font-size: 32px;
    color: var(--sage);
    filter: drop-shadow(0 0 8px var(--glow-emerald));
}

.stats-container {
    display: flex;
    gap: 14px;
    margin: 0 16px 24px;
}

.stat-box {
    flex: 1;
    background-color: var(--card-bg);
    border: 1px solid rgba(255, 255, 255, 0.03);
    border-radius: 20px;
    padding: 20px;
    text-align: center;
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.3);
}

.stat-box strong {
    display: block;
    font-size: 28px;
    font-weight: 800;
    color: var(--terracotta);
    margin-bottom: 2px;
    letter-spacing: -0.03em;
    text-shadow: 0 0 15px var(--glow-purple);
}

.stat-box span {
    font-size: 11px;
    font-weight: 700;
    color: var(--text-secondary);
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.settings-list {
    list-style: none;
    margin: 0 16px;
    background-color: var(--card-bg);
    border: 1px solid rgba(255, 255, 255, 0.03);
    border-radius: 20px;
    overflow: hidden;
}

.settings-list li {
    padding: 18px 20px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.03);
    display: flex;
    align-items: center;
    gap: 16px;
    font-size: 14px;
    font-weight: 700;
    cursor: pointer;
    color: #E2E8F0;
    transition: background-color 0.2s;
}

.settings-list li:hover {
    background-color: rgba(255, 255, 255, 0.02);
    color: #FFFFFF;
}

.settings-list li:last-child { border-bottom: none; }
.settings-list li i:first-child { font-size: 20px; color: var(--text-secondary); }
.settings-list li .right-icon { margin-left: auto; color: var(--nav-inactive); opacity: 0.5; }

.settings-list .logout-text { color: #EF4444; }
.settings-list .logout-text i { color: #EF4444; filter: drop-shadow(0 0 5px var(--glow-red)); }

/* --- FLOAT BOTTOM NAVIGATION CAPSULE --- */
.bottom-nav {
    position: fixed;
    bottom: 16px;
    left: 50%;
    transform: translateX(-50%);
    width: calc(100% - 32px);
    max-width: 468px; /* 500px - 32px */
    background-color: var(--bottom-nav-bg);
    backdrop-filter: blur(30px);
    -webkit-backdrop-filter: blur(30px);
    display: flex;
    justify-content: space-around;
    padding: 10px 8px;
    box-shadow: 0 16px 40px rgba(0, 0, 0, 0.6), inset 0 1px 0 rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 24px;
    z-index: 100;
}

.nav-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-decoration: none;
    color: var(--nav-inactive);
    gap: 2px;
    padding: 6px 12px;
    border-radius: 18px;
    transition: all 0.3s ease;
    cursor: pointer;
}

.nav-item i {
    font-size: 20px;
    transition: transform 0.3s ease;
}

.nav-item span {
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 0.02em;
}

.nav-item:hover {
    color: #FFFFFF;
}

.nav-item.active {
    color: #FFFFFF;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.05);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
}

.nav-item.active i {
    transform: translateY(-2px) scale(1.1);
    color: var(--nav-active);
    filter: drop-shadow(0 0 8px var(--glow-purple));
}

/* --- TELA DE LOGIN / CADASTRO (OVERLAY) --- */
.auth-overlay {
    position: fixed;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 100%;
    max-width: 500px;
    height: 100vh;
    background: radial-gradient(circle at 50% 0%, #150E2A 0%, #050308 100%);
    z-index: 200;
    display: none;
    flex-direction: column;
    justify-content: center;
    padding: 32px;
    box-shadow: 0 0 80px rgba(0, 0, 0, 0.9);
}
.auth-overlay.active {
    display: flex;
}
.auth-box {
    background: rgba(13, 9, 28, 0.7);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 28px;
    padding: 32px 24px;
    box-shadow: 0 16px 40px rgba(0, 0, 0, 0.5), inset 0 1px 1px rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(10px);
}
.auth-box h2 {
    font-size: 24px;
    font-weight: 800;
    text-align: center;
    margin-bottom: 8px;
    letter-spacing: -0.02em;
}
.auth-box .subtitle {
    font-size: 13px;
    color: var(--text-secondary);
    text-align: center;
    margin-bottom: 24px;
}
.form-group {
    margin-bottom: 18px;
    display: flex;
    flex-direction: column;
    gap: 6px;
}
.form-group label {
    font-size: 11px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: var(--text-secondary);
}
.form-group input {
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.06);
    padding: 12px 16px;
    border-radius: 12px;
    color: #FFFFFF;
    font-family: inherit;
    font-size: 14px;
    outline: none;
    transition: all 0.3s;
}
.form-group input:focus {
    border-color: var(--terracotta);
    box-shadow: 0 0 12px var(--glow-purple);
    background: rgba(255, 255, 255, 0.04);
}
.btn-primary {
    background: linear-gradient(135deg, var(--terracotta) 0%, var(--purple) 100%);
    border: none;
    color: #FFFFFF;
    padding: 14px;
    border-radius: 14px;
    font-size: 14px;
    font-weight: 800;
    cursor: pointer;
    width: 100%;
    margin-top: 10px;
    transition: all 0.2s;
    font-family: inherit;
    letter-spacing: 0.02em;
    box-shadow: 0 4px 15px var(--glow-purple);
}
.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px var(--glow-purple);
}
.btn-primary:active {
    transform: translateY(0);
}
.auth-toggle {
    text-align: center;
    margin-top: 20px;
    font-size: 13px;
    color: var(--text-secondary);
}
.auth-toggle span {
    color: var(--sand);
    cursor: pointer;
    font-weight: 700;
}

/* --- TELA DE ASSINATURA BLOQUEADA (OVERLAY) --- */
.blocked-overlay {
    position: fixed;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 100%;
    max-width: 500px;
    height: 100vh;
    background: rgba(5, 3, 8, 0.95);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    z-index: 150;
    display: none;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 32px;
    text-align: center;
}
.blocked-overlay.active {
    display: flex;
}
.blocked-card {
    background: linear-gradient(135deg, rgba(239, 68, 68, 0.05) 0%, rgba(13, 9, 28, 0.8) 100%);
    border: 1px solid rgba(239, 68, 68, 0.2);
    border-radius: 28px;
    padding: 32px 24px;
    box-shadow: 0 16px 40px rgba(0, 0, 0, 0.6);
}
.blocked-card i.ph-lock-keyhole {
    font-size: 64px;
    color: #EF4444;
    filter: drop-shadow(0 0 15px var(--glow-red));
    margin-bottom: 20px;
}
.blocked-card h2 {
    font-size: 22px;
    font-weight: 800;
    margin-bottom: 12px;
}
.blocked-card p {
    font-size: 14px;
    color: var(--text-secondary);
    line-height: 1.6;
    margin-bottom: 24px;
}
.price-tag {
    font-size: 32px;
    font-weight: 800;
    color: #FFFFFF;
    margin-bottom: 28px;
    text-shadow: 0 0 10px rgba(255,255,255,0.1);
}
.price-tag span {
    font-size: 14px;
    color: var(--text-secondary);
    font-weight: 500;
}
.btn-simulate-payment {
    background: linear-gradient(135deg, var(--sage) 0%, var(--ocean) 100%);
    border: none;
    color: #FFFFFF;
    padding: 14px 24px;
    border-radius: 14px;
    font-size: 13px;
    font-weight: 800;
    cursor: pointer;
    width: 100%;
    font-family: inherit;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    box-shadow: 0 4px 15px var(--glow-emerald);
    transition: all 0.2s;
}
.btn-simulate-payment:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px var(--glow-emerald);
}

/* --- BANNER DE LIVE ATIVA --- */
.live-active-banner {
    margin: 16px;
    padding: 14px 20px;
    background: linear-gradient(90deg, rgba(239, 68, 68, 0.15) 0%, rgba(124, 58, 237, 0.05) 100%);
    border: 1px solid rgba(239, 68, 68, 0.25);
    border-radius: 16px;
    display: none;
    align-items: center;
    justify-content: space-between;
    box-shadow: 0 8px 25px rgba(239, 68, 68, 0.1);
    animation: livePulseGlow 2s infinite alternate;
}
.live-active-banner.active {
    display: flex;
}
@keyframes livePulseGlow {
    0% { box-shadow: 0 0 10px rgba(239, 68, 68, 0.1); }
    100% { box-shadow: 0 0 20px rgba(239, 68, 68, 0.3); }
}
.live-active-banner .live-badge-inline {
    background: #EF4444;
    color: white;
    font-size: 8px;
    font-weight: 800;
    padding: 2px 6px;
    border-radius: 4px;
    animation: livePulse 1.5s infinite;
}
.live-active-banner span.live-title-text {
    font-size: 12px;
    font-weight: 700;
    color: #FFFFFF;
    margin-left: 8px;
    flex: 1;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}
.live-active-banner button {
    background: var(--terracotta);
    border: none;
    color: white;
    padding: 6px 12px;
    border-radius: 8px;
    font-size: 10px;
    font-weight: 800;
    cursor: pointer;
    font-family: inherit;
}

/* --- PAINEL DO ADMINISTRADOR --- */
.admin-panel-container {
    padding: 16px 4px;
}
.admin-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
    padding: 0 16px;
}
.admin-tabs {
    display: flex;
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 14px;
    margin: 0 16px 20px;
    padding: 4px;
}
.admin-tab-btn {
    flex: 1;
    background: none;
    border: none;
    color: var(--text-secondary);
    padding: 8px;
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    font-family: inherit;
    cursor: pointer;
    border-radius: 10px;
    transition: all 0.2s;
}
.admin-tab-btn.active {
    background: rgba(255, 255, 255, 0.08);
    color: #FFFFFF;
}
.admin-subpane {
    display: none;
}
.admin-subpane.active {
    display: block;
}
.admin-card {
    background: var(--card-bg);
    border: 1px solid rgba(255, 255, 255, 0.03);
    border-radius: 20px;
    padding: 20px;
    margin: 0 16px 16px;
    box-shadow: 0 8px 30px rgba(0,0,0,0.3);
}
.admin-card h3 {
    font-size: 14px;
    font-weight: 800;
    margin-bottom: 16px;
    color: #FFFFFF;
    border-bottom: 1px solid rgba(255,255,255,0.04);
    padding-bottom: 8px;
}
.admin-form {
    display: flex;
    flex-direction: column;
    gap: 12px;
}
.admin-form select {
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.06);
    padding: 12px 16px;
    border-radius: 12px;
    color: #FFFFFF;
    font-family: inherit;
    font-size: 14px;
    outline: none;
}
.admin-form option {
    background-color: #07040E;
    color: white;
}
/* Listas de Gerenciamento */
.manage-list-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.03);
}
.manage-list-item:last-child {
    border-bottom: none;
}
.manage-list-item h5 {
    font-size: 13px;
    font-weight: 700;
    color: white;
}
.manage-list-item p {
    font-size: 11px;
    color: var(--text-secondary);
}
.btn-delete-item {
    background: none;
    border: none;
    color: #EF4444;
    cursor: pointer;
    font-size: 16px;
}
/* Tabela de Alunas */
.students-table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 10px;
}
.students-table th {
    font-size: 9px;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: var(--text-secondary);
    text-align: left;
    padding: 8px 6px;
    border-bottom: 1.5px solid rgba(255,255,255,0.06);
}
.students-table td {
    font-size: 12px;
    padding: 10px 6px;
    border-bottom: 1px solid rgba(255,255,255,0.03);
    color: #E2E8F0;
}
.badge {
    padding: 2px 6px;
    border-radius: 6px;
    font-size: 9px;
    font-weight: 800;
    text-transform: uppercase;
}
.badge-active {
    background: rgba(16, 185, 129, 0.15);
    color: var(--sage);
}
.badge-blocked {
    background: rgba(239, 68, 68, 0.15);
    color: #EF4444;
}
/* Logs Administrativos */
.logs-list {
    max-height: 250px;
    overflow-y: auto;
    font-family: monospace;
    font-size: 11px;
    display: flex;
    flex-direction: column;
    gap: 6px;
}
.log-item {
    padding: 6px;
    border-radius: 6px;
    background: rgba(255,255,255,0.01);
    border-left: 3px solid var(--text-secondary);
}
.log-item.login { border-left-color: var(--sage); }
.log-item.logout { border-left-color: #64748B; }
.log-item.aula_concluida { border-left-color: var(--terracotta); }
.log-item.webhook_pagarme { border-left-color: var(--sand); }
.log-item span.time { color: var(--text-secondary); margin-right: 6px; }

/* --- PERFIL: HISTÓRICO E FAVORITOS --- */
.profile-modal-btn {
    text-align: left;
}
.profile-subpane-title {
    font-size: 12px;
    font-weight: 800;
    text-transform: uppercase;
    color: var(--text-secondary);
    margin: 20px 16px 12px;
    letter-spacing: 0.05em;
}
.activity-history-list {
    margin: 0 16px 20px;
    background-color: var(--card-bg);
    border: 1px solid rgba(255, 255, 255, 0.03);
    border-radius: 20px;
    padding: 10px 20px;
    max-height: 250px;
    overflow-y: auto;
}
.history-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px 0;
    border-bottom: 1px solid rgba(255,255,255,0.03);
}
.history-item:last-child {
    border-bottom: none;
}
.history-item h6 {
    font-size: 13px;
    font-weight: 700;
    color: white;
}
.history-item span {
    font-size: 10px;
    color: var(--text-secondary);
}
.favorites-list-container {
    margin: 0 16px 20px;
    display: flex;
    flex-direction: column;
    gap: 10px;
}
.favorite-video-card {
    background: var(--card-bg);
    border: 1px solid rgba(255, 255, 255, 0.03);
    border-radius: 16px;
    padding: 12px 16px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}
.favorite-video-info h5 {
    font-size: 13px;
    font-weight: 700;
    color: white;
}
.favorite-video-info p {
    font-size: 11px;
    color: var(--text-secondary);
}
.btn-unfavorite {
    background: none;
    border: none;
    color: #EF4444;
    cursor: pointer;
    font-size: 16px;
}

/* --- NOTIFICAÇÕES (ALUNAS NOVAS) --- */
.notification-toast {
    position: fixed;
    bottom: 90px;
    left: 50%;
    transform: translateX(-50%) translateY(100px);
    width: calc(100% - 32px);
    max-width: 400px;
    background: linear-gradient(135deg, rgba(16, 185, 129, 0.2) 0%, rgba(13, 9, 28, 0.95) 100%);
    border: 1px solid rgba(16, 185, 129, 0.3);
    padding: 12px 18px;
    border-radius: 16px;
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.5);
    display: flex;
    align-items: center;
    gap: 12px;
    z-index: 180;
    opacity: 0;
    transition: all 0.5s cubic-bezier(0.16, 1, 0.3, 1);
    pointer-events: none;
}
.notification-toast.show {
    opacity: 1;
    transform: translateX(-50%) translateY(0);
    pointer-events: auto;
}
.notification-toast .toast-content {
    flex: 1;
}
.notification-toast h6 {
    font-size: 12px;
    font-weight: 800;
    color: var(--sage);
}
.notification-toast p {
    font-size: 11px;
    color: #FFFFFF;
}

/* --- FAVORITO E CHECK DENTRO DO CARD DE VÍDEO --- */
.video-card-actions {
    display: flex;
    gap: 8px;
    margin-top: 6px;
}
.video-action-icon-btn {
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.05);
    color: var(--text-secondary);
    padding: 4px 8px;
    border-radius: 8px;
    font-size: 11px;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 4px;
    font-family: inherit;
    font-weight: 700;
    transition: all 0.2s;
}
.video-action-icon-btn:hover {
    background: rgba(255, 255, 255, 0.05);
    color: white;
}
.video-action-icon-btn.active-fav {
    color: #EF4444;
    border-color: rgba(239, 68, 68, 0.2);
}
.video-action-icon-btn.done-check {
    color: var(--sage);
    border-color: rgba(16, 185, 129, 0.2);
}

/* --- WHATSAPP SUPPORT FLOAT BUTTON --- */
.whatsapp-support-float {
    position: absolute;
    bottom: 84px;
    right: 20px;
    width: 48px;
    height: 48px;
    background-color: #25D366;
    color: white;
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 8px 25px rgba(37, 211, 102, 0.35), 0 0 10px rgba(37, 211, 102, 0.2);
    z-index: 99;
    cursor: pointer;
    text-decoration: none;
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
    border: 1px solid rgba(255, 255, 255, 0.1);
}
.whatsapp-support-float:hover {
    transform: scale(1.08) translateY(-2px);
    box-shadow: 0 12px 30px rgba(37, 211, 102, 0.5), 0 0 15px rgba(37, 211, 102, 0.3);
    color: white;
}
.whatsapp-support-float i {
    font-size: 24px;
}

/* --- VIDEO PLAYER MODAL PREMIUM BUTTONS --- */
.modal-actions-container {
    display: flex;
    gap: 12px;
    margin-top: 20px;
    width: 100%;
}
.modal-action-btn {
    flex: 1;
    padding: 12px;
    border-radius: 14px;
    font-size: 13px;
    font-weight: 800;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    font-family: inherit;
    border: 1px solid rgba(255, 255, 255, 0.05);
    background: rgba(255, 255, 255, 0.02);
    color: var(--text-secondary);
    transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
}
.modal-action-btn:hover {
    background: rgba(255, 255, 255, 0.06);
    color: white;
    border-color: rgba(255, 255, 255, 0.1);
}
.modal-action-btn.active-fav {
    background: rgba(239, 68, 68, 0.1);
    border-color: rgba(239, 68, 68, 0.25);
    color: #EF4444;
    text-shadow: 0 0 8px rgba(239, 68, 68, 0.3);
    box-shadow: 0 4px 15px rgba(239, 68, 68, 0.15);
}
.modal-action-btn.active-done {
    background: rgba(16, 185, 129, 0.1);
    border-color: rgba(16, 185, 129, 0.25);
    color: var(--sage);
    text-shadow: 0 0 8px rgba(16, 185, 129, 0.3);
    box-shadow: 0 4px 15px rgba(16, 185, 129, 0.15);
}

/* --- TELA FINANCEIRA CUSTOM --- */
.finance-mrr-text {
    font-size: 28px;
    font-weight: 800;
    color: var(--sage);
    text-shadow: 0 0 15px var(--glow-emerald);
}
.finance-monthly-text {
    font-size: 28px;
    font-weight: 800;
    color: var(--sand);
    text-shadow: 0 0 15px var(--glow-purple);
}
.admin-card-inner-list {
    display: flex;
    flex-direction: column;
    gap: 8px;
    background: rgba(0, 0, 0, 0.15);
    padding: 12px;
    border-radius: 14px;
    border: 1px solid rgba(255, 255, 255, 0.03);
    margin-bottom: 12px;
}
.admin-card-inner-list h4 {
    font-size: 13px;
    color: white;
}

/* --- RESPONSIVE DESKTOP LAYOUT (PC SCREEN SHIFT) --- */
@media (min-width: 992px) {
    #app-container {
        max-width: 100%;
        width: 100%;
        margin: 0;
        padding-left: 240px; /* Space for the sidebar navigation */
        background: transparent;
        box-shadow: none;
        border: none;
    }

    .app-header {
        position: sticky;
        top: 0;
        z-index: 10;
        background: rgba(7, 4, 14, 0.85);
        backdrop-filter: blur(20px);
        border-bottom: 1px solid rgba(255, 255, 255, 0.05);
        padding: 24px 40px;
    }

    #main-content {
        padding: 40px;
        max-width: 1200px;
        width: 100%;
        margin: 0 auto;
    }

    /* Transform bottom-nav into sidebar navigation */
    .bottom-nav {
        position: fixed;
        left: 0;
        top: 0;
        bottom: 0;
        width: 240px;
        max-width: 240px;
        height: 100vh;
        transform: none;
        flex-direction: column;
        justify-content: flex-start;
        padding: 48px 20px;
        gap: 16px;
        background-color: #0c081a;
        border-radius: 0;
        border-right: 1px solid rgba(255, 255, 255, 0.05);
        border-top: none;
        border-bottom: none;
        border-left: none;
        box-shadow: 10px 0 30px rgba(0, 0, 0, 0.5);
    }

    .nav-item {
        flex-direction: row;
        width: 100%;
        padding: 14px 20px;
        gap: 16px;
        justify-content: flex-start;
        border-radius: 14px;
    }

    .nav-item i {
        font-size: 22px;
    }

    .nav-item span {
        font-size: 14px;
        font-weight: 600;
        text-transform: none;
        letter-spacing: normal;
    }

    /* Align float Support button beautifully */
    .whatsapp-support-float {
        position: fixed;
        bottom: 30px;
        right: 40px;
        width: 54px;
        height: 54px;
    }
    
    .whatsapp-support-float i {
        font-size: 28px;
    }

    /* Auth Overlay responsive styling */
    .auth-overlay, .blocked-overlay {
        max-width: 100%;
        left: 0;
        transform: none;
    }
    .auth-box, .blocked-card {
        max-width: 460px;
        margin: 0 auto;
    }

    /* Aulas Tab PC layout - wider video cards for carousels */
    .video-card {
        flex: 0 0 200px;
    }
    .video-thumbnail {
        height: 120px;
    }
    .video-info h4 {
        font-size: 14px;
    }

    /* Comunidad Tab PC layout - centered columns for better readability */
    .feed-container {
        max-width: 760px;
        margin: 0 auto;
    }
    .post-input-area {
        margin: 0 0 28px 0;
    }
    .post-card {
        margin: 0 0 16px 0;
    }

    /* Ao Vivo (Lives) Tab PC layout - Split Layout: Player on Left, Agenda on Right */
    .lives-container {
        display: grid;
        grid-template-columns: 1.6fr 1fr;
        gap: 32px;
        align-items: start;
        max-width: 1200px;
        margin: 0 auto;
    }
    .lives-container .page-title {
        grid-column: span 2;
        padding-left: 0;
    }
    #live-hero-container {
        grid-column: 1;
    }
    .agenda-title {
        grid-column: 2;
        grid-row: 2;
        padding-left: 0;
        margin-bottom: 12px;
    }
    #agenda-container {
        grid-column: 2;
        grid-row: 3;
    }
    .live-hero {
        margin: 0;
    }
    .agenda-card {
        margin: 0 0 12px 0;
    }
    
    .live-thumbnail {
        height: 320px; /* Bigger video player on PC */
    }

    /* Perfil Tab PC layout - Split layout: Profile/Mood on Left, Stats/History on Right */
    .profile-container {
        display: grid;
        grid-template-columns: 1fr 1.2fr;
        gap: 32px;
        align-items: start;
        max-width: 1000px;
        margin: 0 auto;
    }
    .profile-header-large {
        grid-column: 1;
        padding-top: 0;
    }
    .diary-card {
        grid-column: 1;
        margin: 0;
    }
    .stats-container {
        grid-column: 2;
        grid-row: 1;
        margin: 0;
    }
    .settings-list {
        grid-column: 2;
        grid-row: 2;
        margin: 24px 0 0 0;
    }

    /* Admin Panel PC Layout - Grid-based Dashboard with double columns */
    .admin-panel-container {
        max-width: 1200px;
        margin: 0 auto;
    }
    .admin-subpane {
        display: none;
        grid-template-columns: 1.2fr 1fr;
        gap: 24px;
        align-items: start;
    }
    .admin-subpane.active {
        display: grid;
    }
    .admin-card {
        margin: 0;
    }
    
    /* Overrides for specific admin subpanes to make them look beautiful */
    #adminpane-students {
        grid-template-columns: 1.5fr 1.1fr;
    }
    
    #adminpane-financials {
        grid-template-columns: 1fr 1.5fr;
    }
    
    #adminpane-students .admin-card:first-child {
        grid-column: 1;
        grid-row: span 2;
    }
}

/* --- PWA INSTALLATION BANNER & MODALS --- */
.pwa-banner {
    position: fixed;
    bottom: 84px; /* Default above mobile bottom-nav */
    left: 50%;
    transform: translateX(-50%) translateY(120px);
    width: calc(100% - 32px);
    max-width: 468px;
    background: linear-gradient(135deg, rgba(139, 92, 246, 0.25) 0%, rgba(7, 4, 14, 0.98) 100%);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(196, 181, 253, 0.2);
    border-radius: 20px;
    padding: 14px 18px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    z-index: 150;
    box-shadow: 0 16px 40px rgba(0, 0, 0, 0.6), 0 0 15px rgba(139, 92, 246, 0.15);
    opacity: 0;
    transition: all 0.5s cubic-bezier(0.16, 1, 0.3, 1);
    pointer-events: none;
}
.pwa-banner.show {
    opacity: 1;
    transform: translateX(-50%) translateY(0);
    pointer-events: auto;
}
.pwa-banner-content {
    display: flex;
    align-items: center;
    gap: 12px;
}
.pwa-banner-icon {
    width: 42px;
    height: 42px;
    border-radius: 12px;
    border: 1.5px solid var(--sage);
    box-shadow: 0 0 10px rgba(16, 185, 129, 0.25);
    object-fit: cover;
}
.pwa-banner-text h4 {
    font-size: 13px;
    font-weight: 800;
    color: white;
    margin-bottom: 2px;
}
.pwa-banner-text p {
    font-size: 10px;
    color: var(--text-secondary);
    line-height: 1.2;
}
.pwa-banner-actions {
    display: flex;
    align-items: center;
    gap: 8px;
}
.btn-pwa-action {
    background: linear-gradient(135deg, var(--terracotta) 0%, var(--purple) 100%);
    border: none;
    color: white;
    padding: 8px 16px;
    border-radius: 10px;
    font-size: 11px;
    font-weight: 800;
    cursor: pointer;
    font-family: inherit;
    box-shadow: 0 4px 10px var(--glow-purple);
    transition: all 0.2s;
}
.btn-pwa-action:hover {
    transform: translateY(-1px);
    box-shadow: 0 6px 15px var(--glow-purple);
}
.btn-pwa-close {
    background: none;
    border: none;
    color: var(--text-secondary);
    font-size: 18px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 4px;
    border-radius: 50%;
    transition: background-color 0.2s;
}
.btn-pwa-close:hover {
    background: rgba(255,255,255,0.05);
    color: white;
}

/* iOS Modal Guide Styling */
.pwa-ios-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    background: rgba(5, 3, 8, 0.95);
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    z-index: 999;
    display: none;
    justify-content: center;
    align-items: center;
    padding: 24px;
}
.pwa-ios-modal.show {
    display: flex;
    animation: fadeIn 0.3s ease-out;
}
.pwa-ios-content {
    background: var(--card-bg);
    border: 1.5px solid rgba(196, 181, 253, 0.2);
    border-radius: 28px;
    padding: 32px 24px;
    width: 100%;
    max-width: 400px;
    box-shadow: 0 24px 60px rgba(0, 0, 0, 0.8);
    position: relative;
    text-align: center;
}
.pwa-ios-close-btn {
    position: absolute;
    top: 16px;
    right: 16px;
    background: none;
    border: none;
    color: var(--text-secondary);
    font-size: 20px;
    cursor: pointer;
    transition: color 0.2s;
}
.pwa-ios-close-btn:hover {
    color: white;
}
.pwa-ios-content h3 {
    font-size: 18px;
    font-weight: 800;
    color: white;
    margin-bottom: 6px;
}
.pwa-ios-steps {
    display: flex;
    flex-direction: column;
    gap: 16px;
    text-align: left;
    margin-top: 24px;
}
.pwa-ios-step {
    display: flex;
    align-items: center;
    gap: 14px;
    background: rgba(255,255,255,0.02);
    border: 1px solid rgba(255,255,255,0.03);
    padding: 12px 16px;
    border-radius: 16px;
}
.step-num {
    background: linear-gradient(135deg, var(--terracotta) 0%, var(--purple) 100%);
    color: white;
    font-size: 12px;
    font-weight: 800;
    width: 24px;
    height: 24px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    box-shadow: 0 2px 8px var(--glow-purple);
}
.pwa-ios-step p {
    font-size: 12px;
    color: #E2E8F0;
    line-height: 1.5;
    margin: 0;
}

/* Custom PWA styling overrides on PC/Desktop screens */
@media (min-width: 992px) {
    .pwa-banner {
        bottom: 24px;
        left: calc(50% + 120px); /* Account for left sidebar offset */
        transform: translateX(-50%) translateY(120px);
        width: 100%;
        max-width: 500px;
    }
    .pwa-banner.show {
        transform: translateX(-50%) translateY(0);
    }
    .scroll-btn {
        display: flex !important;
    }
}


