/* =====================================================
   COMMUNITY CSS - Big Boss Portal
   Tema escuro moderno para área de membros
   ===================================================== */

/* Google Fonts */
@import url('https://fonts.googleapis.com/css2?family=Plus+Jakarta+Sans:wght@300;400;500;600;700;800&display=swap');

/* =====================================================
   VARIÁVEIS CSS
   ===================================================== */
:root {
    /* Cores principais */
    --bg-primary: #0a0a0f;
    --bg-secondary: #12121a;
    --bg-card: #1a1a25;
    --bg-card-hover: #222230;
    --bg-input: #1e1e2a;
    
    /* Cores de texto */
    --text-primary: #ffffff;
    --text-secondary: #a0a0b0;
    --text-muted: #6b6b7b;
    
    /* Cores de destaque */
    --accent-primary: #6366f1;
    --accent-secondary: #8b5cf6;
    --accent-success: #10b981;
    --accent-warning: #f59e0b;
    --accent-danger: #ef4444;
    --accent-live: #ef4444;
    
    /* Gradientes */
    --gradient-1: linear-gradient(135deg, #6366f1 0%, #8b5cf6 100%);
    --gradient-2: linear-gradient(135deg, #ec4899 0%, #f43f5e 100%);
    --gradient-3: linear-gradient(135deg, #14b8a6 0%, #06b6d4 100%);
    --gradient-4: linear-gradient(135deg, #f59e0b 0%, #f97316 100%);
    --gradient-5: linear-gradient(135deg, #3b82f6 0%, #6366f1 100%);
    
    /* Sombras */
    --shadow-sm: 0 2px 8px rgba(0,0,0,0.3);
    --shadow-md: 0 4px 16px rgba(0,0,0,0.4);
    --shadow-lg: 0 8px 32px rgba(0,0,0,0.5);
    --shadow-glow: 0 0 40px rgba(99, 102, 241, 0.3);
    
    /* Bordas */
    --border-color: rgba(255,255,255,0.08);
    --border-radius-sm: 8px;
    --border-radius-md: 12px;
    --border-radius-lg: 16px;
    --border-radius-xl: 24px;
    
    /* Transições */
    --transition-fast: 0.15s ease;
    --transition-normal: 0.25s ease;
    --transition-slow: 0.4s ease;
}

/* =====================================================
   RESET & BASE
   ===================================================== */
.community-wrapper {
    font-family: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, sans-serif;
    background: var(--bg-primary);
    min-height: 100vh;
    color: var(--text-primary);
    padding-bottom: 60px;
}

body {

    background-color: #0a0a0e;
}

.community-wrapper * {
    box-sizing: border-box;
}

.community-wrapper a {
    color: inherit;
    text-decoration: none;
    transition: var(--transition-fast);
}

.community-wrapper a:hover {
    color: white;
}

/* =====================================================
   HEADER DA COMUNIDADE
   ===================================================== */
.community-header {
    background: linear-gradient(180deg, var(--bg-secondary) 0%, var(--bg-primary) 100%);
    padding: 40px 0 30px;
    border-bottom: 1px solid var(--border-color);
}

.community-title {
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 8px;
    display: flex;
    align-items: center;
    gap: 12px;
}

.community-title i {
    color: var(--accent-primary);
}

.community-subtitle {
    color: var(--text-secondary);
    font-size: 1.1rem;
    margin: 0;
}

/* Stats Mini */
.stats-mini {
    display: flex;
    gap: 24px;
    justify-content: flex-end;
}

.stat-item {
    text-align: center;
    padding: 16px 20px;
    background: var(--bg-card);
    border-radius: var(--border-radius-md);
    border: 1px solid var(--border-color);
}

.stat-number {
    display: block;
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--accent-primary);
}

.stat-label {
    display: block;
    font-size: 0.75rem;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* =====================================================
   LIVE BANNER (AO VIVO)
   ===================================================== */
.live-banner {
    background: linear-gradient(135deg, rgba(239,68,68,0.2) 0%, rgba(239,68,68,0.05) 100%);
    border: 1px solid rgba(239,68,68,0.3);
    border-radius: var(--border-radius-lg);
    padding: 24px 32px;
    display: flex;
    align-items: center;
    gap: 24px;
    animation: glow-pulse 2s infinite;
}

@keyframes glow-pulse {
    0%, 100% { box-shadow: 0 0 20px rgba(239,68,68,0.2); }
    50% { box-shadow: 0 0 40px rgba(239,68,68,0.4); }
}

.live-badge {
    display: flex;
    align-items: center;
    gap: 8px;
    background: var(--accent-live);
    color: white;
    padding: 8px 16px;
    border-radius: 50px;
    font-weight: 700;
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.pulse {
    width: 10px;
    height: 10px;
    background: white;
    border-radius: 50%;
    animation: pulse 1.5s infinite;
}

@keyframes pulse {
    0% { transform: scale(1); opacity: 1; }
    50% { transform: scale(1.3); opacity: 0.7; }
    100% { transform: scale(1); opacity: 1; }
}

.live-info {
    flex: 1;
}

.live-info h3 {
    margin: 0 0 4px;
    font-size: 1.2rem;
}

.live-info p {
    margin: 0;
    color: var(--text-secondary);
    font-size: 0.9rem;
}

.btn-live {
    background: var(--accent-live);
    color: white;
    padding: 12px 28px;
    border-radius: 50px;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 8px;
    border: none;
    cursor: pointer;
    transition: var(--transition-normal);
}

.btn-live:hover {
    background: #dc2626;
    transform: scale(1.05);
    color: white;
}

/* =====================================================
   SEÇÕES DE CONTEÚDO
   ===================================================== */
.content-section {
    margin-top: 48px;
}

.section-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 24px;
}

.section-header h2 {
    font-size: 1.5rem;
    font-weight: 700;
    display: flex;
    align-items: center;
    gap: 12px;
    margin: 0;
}

.section-header h2 i {
    color: var(--accent-primary);
}

.see-all {
    color: var(--accent-primary);
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 0.95rem;
}

.see-all:hover {
    color: var(--accent-secondary);
}

/* =====================================================
   CARDS DE CONTEÚDO
   ===================================================== */
.content-card {
    background: var(--bg-card);
    border-radius: var(--border-radius-md);
    overflow: hidden;
    transition: var(--transition-normal);
    border: 1px solid var(--border-color);
    height: 100%;
}

.content-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-lg);
    border-color: var(--accent-primary);
}

.card-thumbnail {
    position: relative;
    aspect-ratio: 16/9;
    overflow: hidden;
}

.card-thumbnail.large {
    aspect-ratio: 4/3;
}

.thumbnail-placeholder {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 3rem;
    color: rgba(255,255,255,0.5);
}

.thumbnail-placeholder i {
    opacity: 0.6;
}

/* Gradientes para thumbnails */
.gradient-1 { background: var(--gradient-1); }
.gradient-2 { background: var(--gradient-2); }
.gradient-3 { background: var(--gradient-3); }
.gradient-4 { background: var(--gradient-4); }
.gradient-5 { background: var(--gradient-5); }

.play-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(0,0,0,0.4);
    opacity: 0;
    transition: var(--transition-normal);
}

.play-overlay i {
    font-size: 2.5rem;
    color: white;
    background: var(--accent-primary);
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    padding-left: 4px;
    transform: scale(0.8);
    transition: var(--transition-normal);
}

.content-card:hover .play-overlay {
    opacity: 1;
}

.content-card:hover .play-overlay i {
    transform: scale(1);
}

/* Barra de progresso mini */
.progress-bar-mini {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: rgba(0,0,0,0.5);
}

.progress-bar-mini .progress-fill {
    height: 100%;
    background: var(--accent-primary);
    transition: width 0.3s ease;
}

.card-info {
    padding: 16px;
}

.card-info h4 {
    margin: 0 0 8px;
    font-size: 0.95rem;
    font-weight: 600;
    line-height: 1.4;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.card-meta {
    display: block;
    font-size: 0.8rem;
    color: var(--text-muted);
}

.progress-text {
    display: block;
    font-size: 0.75rem;
    color: var(--accent-success);
    margin-top: 4px;
}

.badge-tipo {
    position: absolute;
    top: 12px;
    left: 12px;
    background: rgba(0,0,0,0.7);
    color: white;
    padding: 4px 10px;
    border-radius: 4px;
    font-size: 0.7rem;
    font-weight: 600;
    text-transform: uppercase;
}

.badge-destaque {
    position: absolute;
    top: 12px;
    right: 12px;
    background: var(--gradient-4);
    color: white;
    padding: 4px 10px;
    border-radius: 4px;
    font-size: 0.7rem;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 4px;
}

.badge-assistido {
    position: absolute;
    top: 12px;
    left: 12px;
    background: var(--accent-success);
    color: white;
    padding: 4px 10px;
    border-radius: 4px;
    font-size: 0.7rem;
    font-weight: 600;
}

/* =====================================================
   CARDS DE LIVE
   ===================================================== */
.live-card {
    background: var(--bg-card);
    border-radius: var(--border-radius-md);
    overflow: hidden;
    border: 1px solid var(--border-color);
    transition: var(--transition-normal);
}

.live-card:hover {
    border-color: var(--accent-primary);
    transform: translateY(-4px);
}

.live-card-header {
    background: var(--bg-secondary);
    padding: 20px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.live-date {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.live-date .day {
    font-size: 2rem;
    font-weight: 800;
    color: var(--accent-primary);
    line-height: 1;
}

.live-date .month {
    font-size: 0.8rem;
    color: var(--text-secondary);
    text-transform: uppercase;
}

.live-time {
    color: var(--text-secondary);
    font-size: 0.9rem;
}

.live-card-body {
    padding: 20px;
}

.live-card-body h4 {
    margin: 0 0 8px;
    font-size: 1.1rem;
    font-weight: 600;
}

.live-card-body p {
    margin: 0;
    font-size: 0.9rem;
    color: var(--text-secondary);
    line-height: 1.5;
}

.live-card-footer {
    padding: 16px 20px;
    border-top: 1px solid var(--border-color);
}

/* =====================================================
   NAVEGAÇÃO RÁPIDA
   ===================================================== */
.quick-nav {
    margin-top: 60px;
    padding-top: 40px;
    border-top: 1px solid var(--border-color);
}

.quick-nav-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
    padding: 24px;
    background: var(--bg-card);
    border-radius: var(--border-radius-md);
    border: 1px solid var(--border-color);
    text-align: center;
    transition: var(--transition-normal);
}

.quick-nav-item:hover {
    background: var(--bg-card-hover);
    border-color: var(--accent-primary);
    transform: translateY(-4px);
}

.quick-nav-icon {
    width: 56px;
    height: 56px;
    background: var(--gradient-1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
}

.quick-nav-item span {
    font-weight: 600;
    font-size: 0.95rem;
}

/* =====================================================
   PAGE HEADERS
   ===================================================== */
.page-header-community {
    background: linear-gradient(180deg, var(--bg-secondary) 0%, var(--bg-primary) 100%);
    padding: 40px 0;
    border-bottom: 1px solid var(--border-color);
}

.page-header-community h1 {
    font-size: 2.2rem;
    font-weight: 800;
    margin: 0 0 12px;
    display: flex;
    align-items: center;
    gap: 14px;
}

.page-header-community h1 i {
    color: var(--accent-primary);
}

.page-header-community p {
    color: var(--text-secondary);
    font-size: 1.1rem;
    margin: 0;
}

/* Breadcrumb */
.breadcrumb-community {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 16px;
    font-size: 0.9rem;
}

.breadcrumb-community a {
    color: var(--text-muted);
}

.breadcrumb-community a:hover {
    color: var(--accent-primary);
}

.breadcrumb-community span {
    color: var(--text-muted);
}

.breadcrumb-community .current {
    color: var(--text-secondary);
}

.breadcrumb-community.light a,
.breadcrumb-community.light span {
    color: rgba(255,255,255,0.7);
}

.breadcrumb-community.light .current {
    color: white;
}

/* =====================================================
   FILTROS
   ===================================================== */
.filters-bar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 24px;
    padding: 24px 0;
    margin-bottom: 24px;
    flex-wrap: wrap;
}

.filter-group {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
}

.filter-btn {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    color: var(--text-secondary);
    padding: 10px 20px;
    border-radius: 50px;
    font-size: 0.9rem;
    font-weight: 500;
    cursor: pointer;
    transition: var(--transition-fast);
}

.filter-btn:hover {
    border-color: var(--accent-primary);
    color: var(--text-primary);
}

.filter-btn.active {
    background: var(--accent-primary);
    border-color: var(--accent-primary);
    color: white;
}

.search-box {
    position: relative;
    min-width: 280px;
}

.search-box i {
    position: absolute;
    left: 16px;
    top: 50%;
    transform: translateY(-50%);
    color: var(--text-muted);
}

.search-box input {
    width: 100%;
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    color: var(--text-primary);
    padding: 12px 16px 12px 44px;
    border-radius: 50px;
    font-size: 0.95rem;
    transition: var(--transition-fast);
}

.search-box input:focus {
    outline: none;
    border-color: var(--accent-primary);
    box-shadow: 0 0 0 3px rgba(99, 102, 241, 0.2);
}

.search-box input::placeholder {
    color: var(--text-muted);
}

/* =====================================================
   GRID DE CONTEÚDO
   ===================================================== */
.content-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
    gap: 24px;
}

.content-item {
    transition: var(--transition-normal);
}

.curso-card-large .card-description,
.treinamento-card-large .card-description {
    font-size: 0.85rem;
    color: var(--text-secondary);
    line-height: 1.5;
    margin-bottom: 12px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.card-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
}

.card-tag {
    background: rgba(99, 102, 241, 0.2);
    color: var(--accent-primary);
    padding: 4px 10px;
    border-radius: 4px;
    font-size: 0.75rem;
    font-weight: 500;
}

.progress-badge {
    display: flex;
    align-items: center;
    gap: 4px;
    font-size: 0.8rem;
    color: var(--accent-success);
}

.badge-tipo-treinamento {
    position: absolute;
    bottom: 12px;
    left: 12px;
    background: var(--accent-secondary);
    color: white;
    padding: 4px 10px;
    border-radius: 4px;
    font-size: 0.7rem;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 4px;
}

/* =====================================================
   CURSO HERO
   ===================================================== */
.curso-hero {
    padding: 48px 0;
    position: relative;
    overflow: hidden;
}

.curso-hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(180deg, rgba(0,0,0,0.3) 0%, var(--bg-primary) 100%);
}

.curso-hero .container {
    position: relative;
    z-index: 1;
}

.curso-hero-content {
    padding-top: 20px;
}

.curso-categoria {
    display: inline-block;
    background: rgba(255,255,255,0.2);
    color: white;
    padding: 6px 14px;
    border-radius: 50px;
    font-size: 0.85rem;
    font-weight: 500;
    margin-bottom: 16px;
}

.curso-hero h1 {
    font-size: 2.5rem;
    font-weight: 800;
    margin: 0 0 16px;
    color: white;
}

.curso-descricao {
    font-size: 1.1rem;
    color: rgba(255,255,255,0.85);
    margin-bottom: 24px;
    max-width: 600px;
}

.curso-stats {
    display: flex;
    gap: 32px;
    margin-bottom: 24px;
}

.curso-stats .stat {
    display: flex;
    align-items: center;
    gap: 8px;
    color: rgba(255,255,255,0.9);
    font-size: 0.95rem;
}

.curso-stats .stat i {
    color: rgba(255,255,255,0.7);
}

.curso-progress-bar {
    height: 6px;
    background: rgba(255,255,255,0.2);
    border-radius: 3px;
    overflow: hidden;
    max-width: 400px;
}

.curso-progress-bar .progress-fill {
    height: 100%;
    background: white;
    border-radius: 3px;
    transition: width 0.5s ease;
}

.curso-thumbnail-hero {
    width: 180px;
    height: 180px;
    background: rgba(255,255,255,0.15);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 5rem;
    color: rgba(255,255,255,0.5);
    margin: 0 auto;
}

/* =====================================================
   MÓDULOS E AULAS (ACCORDION)
   ===================================================== */
.curso-content {
    padding: 48px 0;
}

.modulos-section h2 {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 24px;
    display: flex;
    align-items: center;
    gap: 12px;
}

.modulos-section h2 i {
    color: var(--accent-primary);
}

.accordion-modulos {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.modulo-item {
    background: var(--bg-card);
    border-radius: var(--border-radius-md);
    border: 1px solid var(--border-color);
    overflow: hidden;
}

.modulo-header {
    padding: 20px 24px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
    transition: var(--transition-fast);
}

.modulo-header:hover {
    background: var(--bg-card-hover);
}

.modulo-info {
    display: flex;
    align-items: center;
    gap: 16px;
}

.modulo-numero {
    width: 36px;
    height: 36px;
    background: var(--gradient-1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 0.95rem;
}

.modulo-texto h4 {
    margin: 0 0 4px;
    font-size: 1.05rem;
    font-weight: 600;
}

.modulo-aulas-count {
    font-size: 0.85rem;
    color: var(--text-muted);
}

.modulo-toggle {
    color: var(--text-muted);
    transition: var(--transition-fast);
}

.modulo-header[aria-expanded="true"] .modulo-toggle {
    transform: rotate(180deg);
}

.modulo-aulas {
    border-top: 1px solid var(--border-color);
}

.aula-item {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 16px 24px;
    border-bottom: 1px solid var(--border-color);
    transition: var(--transition-fast);
}

.aula-item:last-child {
    border-bottom: none;
}

.aula-item:hover {
    background: var(--bg-card-hover);
}

.aula-item.concluida {
    opacity: 0.7;
}

.aula-item.concluida .aula-numero {
    color: var(--accent-success);
}

.aula-numero {
    width: 32px;
    height: 32px;
    background: var(--bg-input);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.85rem;
    color: var(--text-secondary);
    flex-shrink: 0;
}

.aula-numero i {
    color: var(--accent-success);
}

.aula-info {
    flex: 1;
}

.aula-info h5 {
    margin: 0;
    font-size: 0.95rem;
    font-weight: 500;
}

.aula-play {
    width: 36px;
    height: 36px;
    background: var(--accent-primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    opacity: 0;
    transform: scale(0.8);
    transition: var(--transition-fast);
}

.aula-item:hover .aula-play {
    opacity: 1;
    transform: scale(1);
}

/* =====================================================
   SIDEBAR DO CURSO
   ===================================================== */
.curso-sidebar {
    position: sticky;
    top: 24px;
}

.sidebar-card {
    background: var(--bg-card);
    border-radius: var(--border-radius-md);
    border: 1px solid var(--border-color);
    padding: 24px;
    margin-bottom: 20px;
}

.sidebar-card h4 {
    font-size: 1rem;
    font-weight: 600;
    margin: 0 0 16px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.sidebar-card h4 i {
    color: var(--accent-primary);
}

.action-card {
    text-align: center;
    background: var(--gradient-1);
    border: none;
}

.btn-iniciar-curso {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: #1bcb27;
    color: var(--accent-primary);
    padding: 16px 32px;
    border-radius: 50px;
    font-size: 1.1rem;
    font-weight: 700;
    transition: var(--transition-normal);
    width: 100%;
    justify-content: center;
}

.btn-iniciar-curso:hover {
    transform: scale(1.02);
    box-shadow: var(--shadow-lg);
    color: var(--accent-secondary);
}

.proxima-aula-info {
    margin: 16px 0 0;
    color: rgba(255,255,255,0.8);
}

.curso-descricao-completa {
    color: var(--text-secondary);
    font-size: 0.95rem;
    line-height: 1.7;
}

.destaques-lista {
    list-style: none;
    padding: 0;
    margin: 0;
}

.destaques-lista li {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 10px 0;
    border-bottom: 1px solid var(--border-color);
    font-size: 0.95rem;
}

.destaques-lista li:last-child {
    border-bottom: none;
}

.destaques-lista li i {
    color: var(--accent-success);
}

/* =====================================================
   PLAYER DE VÍDEO
   ===================================================== */
.player-page {
    padding-top: 0;
}

.player-layout {
    display: grid;
    grid-template-columns: 1fr 360px;
    min-height: calc(100vh - 60px);
}

.player-main {
    background: var(--bg-secondary);
}

.player-header {
    padding: 16px 24px;
    background: var(--bg-card);
    border-bottom: 1px solid var(--border-color);
}

.video-container {
    background: black;
    position: relative;
}

.video-wrapper {
    position: relative;
    padding-top: 56.25%;
    background: black;
}

.video-wrapper iframe,
.video-wrapper #youtube-player {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.video-controls {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 12px 24px;
    background: var(--bg-card);
    border-bottom: 1px solid var(--border-color);
}

.control-btn {
    background: var(--bg-input);
    border: 1px solid var(--border-color);
    color: var(--text-secondary);
    padding: 8px 16px;
    border-radius: 6px;
    cursor: pointer;
    font-size: 0.85rem;
    display: flex;
    align-items: center;
    gap: 6px;
    transition: var(--transition-fast);
}

.control-btn:hover {
    background: var(--bg-card-hover);
    border-color: var(--accent-primary);
    color: var(--text-primary);
}

.control-btn.btn-concluir {
    background: var(--accent-success);
    border-color: var(--accent-success);
    color: white;
}

.control-center {
    display: flex;
    align-items: center;
    gap: 12px;
    flex: 1;
    padding: 0 24px;
    color: var(--text-secondary);
    font-size: 0.85rem;
}

.progress-wrapper {
    flex: 1;
}

.progress-bar-video {
    height: 4px;
    background: var(--bg-input);
    border-radius: 2px;
    overflow: hidden;
}

.progress-bar-video .progress-fill {
    height: 100%;
    background: var(--accent-primary);
    transition: width 0.3s ease;
}

/* Info da Aula */
.aula-info-section {
    padding: 24px;
}

.aula-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 20px;
    margin-bottom: 24px;
}

.aula-titulo {
    flex: 1;
}

.modulo-badge {
    display: inline-block;
    background: rgba(99, 102, 241, 0.2);
    color: var(--accent-primary);
    padding: 4px 12px;
    border-radius: 4px;
    font-size: 0.8rem;
    font-weight: 500;
    margin-bottom: 8px;
}

.aula-titulo h1 {
    font-size: 1.5rem;
    font-weight: 700;
    margin: 0;
}

/* Navegação entre aulas */
.aula-navegacao {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
}

.nav-aula {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 16px;
    background: var(--bg-card);
    border-radius: var(--border-radius-md);
    border: 1px solid var(--border-color);
    transition: var(--transition-normal);
}

.nav-aula:hover {
    border-color: var(--accent-primary);
    background: var(--bg-card-hover);
}

.nav-aula.disabled {
    opacity: 0;
    pointer-events: none;
}

.nav-aula i {
    font-size: 1.5rem;
    color: var(--accent-primary);
}

.nav-info {
    flex: 1;
}

.nav-label {
    display: block;
    font-size: 0.75rem;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 4px;
}

.nav-titulo {
    font-size: 0.95rem;
    font-weight: 500;
    color: var(--text-primary);
}

.nav-proxima {
    text-align: right;
    justify-content: flex-end;
}

.nav-proxima .nav-info {
    text-align: right;
}

.curso-concluido {
    background: var(--gradient-4);
    border-color: transparent;
}

.curso-concluido:hover {
    border-color: transparent;
}

/* =====================================================
   PLAYER SIDEBAR
   ===================================================== */
.player-sidebar {
    background: var(--bg-card);
    border-left: 1px solid var(--border-color);
    display: flex;
    flex-direction: column;
    height: 100vh;
    position: sticky;
    top: 0;
}

.sidebar-header {
    padding: 20px;
    border-bottom: 1px solid var(--border-color);
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.sidebar-header h3 {
    margin: 0;
    font-size: 1rem;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 8px;
}

.sidebar-header h3 i {
    color: var(--accent-primary);
}

.btn-back-curso {
    width: 36px;
    height: 36px;
    background: var(--bg-input);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-secondary);
    transition: var(--transition-fast);
}

.btn-back-curso:hover {
    background: var(--accent-primary);
    color: white;
}

.sidebar-content {
    flex: 1;
    overflow-y: auto;
}

.sidebar-modulo {
    border-bottom: 1px solid var(--border-color);
}

.sidebar-modulo-header {
    padding: 16px 20px;
    display: flex;
    align-items: center;
    gap: 12px;
    cursor: pointer;
    transition: var(--transition-fast);
}

.sidebar-modulo-header:hover {
    background: var(--bg-card-hover);
}

.modulo-num {
    width: 28px;
    height: 28px;
    background: var(--bg-input);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.8rem;
    font-weight: 600;
    flex-shrink: 0;
}

.modulo-nome {
    flex: 1;
    font-size: 0.9rem;
    font-weight: 500;
}

.sidebar-modulo-header i {
    color: var(--text-muted);
    font-size: 0.8rem;
    transition: var(--transition-fast);
}

.sidebar-aulas {
    background: var(--bg-secondary);
}

.sidebar-aula {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 20px 12px 48px;
    border-top: 1px solid var(--border-color);
    transition: var(--transition-fast);
}

.sidebar-aula:hover {
    background: var(--bg-card);
}

.sidebar-aula.active {
    background: rgba(99, 102, 241, 0.15);
    border-left: 3px solid var(--accent-primary);
}

.sidebar-aula.concluida {
    opacity: 0.6;
}

.sidebar-aula .aula-status {
    width: 24px;
    height: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.sidebar-aula .aula-status i {
    color: var(--accent-success);
}

.sidebar-aula.active .aula-status i {
    color: var(--accent-primary);
}

.sidebar-aula .aula-num {
    font-size: 0.8rem;
    color: var(--text-muted);
}

.sidebar-aula .aula-titulo {
    font-size: 0.85rem;
    color: var(--text-secondary);
    flex: 1;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.sidebar-aula.active .aula-titulo {
    color: var(--text-primary);
    font-weight: 500;
}

/* =====================================================
   PLAYER FULLWIDTH (Treinamentos/Lives)
   ===================================================== */
.player-header-full {
    padding: 24px 0;
}

.video-container-full {
    background: black;
    border-radius: var(--border-radius-lg);
    overflow: hidden;
    margin-bottom: 24px;
}

.treinamento-info-section,
.live-info-section {
    background: var(--bg-card);
    border-radius: var(--border-radius-lg);
    padding: 32px;
    margin-bottom: 24px;
}

.treinamento-header h1,
.live-header-info h1 {
    font-size: 1.8rem;
    font-weight: 700;
    margin: 8px 0 16px;
}

.treinamento-categoria {
    display: inline-block;
    background: rgba(99, 102, 241, 0.2);
    color: var(--accent-primary);
    padding: 4px 12px;
    border-radius: 4px;
    font-size: 0.8rem;
    font-weight: 500;
}

.treinamento-meta,
.live-meta {
    display: flex;
    gap: 20px;
    color: var(--text-secondary);
    font-size: 0.9rem;
}

.treinamento-meta span,
.live-meta span {
    display: flex;
    align-items: center;
    gap: 6px;
}

.badge-treinamento {
    background: var(--accent-secondary);
    color: white;
    padding: 4px 12px;
    border-radius: 4px;
    font-size: 0.8rem;
    font-weight: 600;
}

.treinamento-actions {
    display: flex;
    gap: 12px;
    margin: 24px 0;
    flex-wrap: wrap;
}

.treinamento-descricao h3,
.live-descricao h3 {
    font-size: 1.1rem;
    font-weight: 600;
    margin: 24px 0 12px;
}

.treinamento-descricao p,
.live-descricao p {
    color: var(--text-secondary);
    line-height: 1.7;
}

/* Sidebar relacionados */
.relacionados-section {
    background: var(--bg-card);
    border-radius: var(--border-radius-lg);
    padding: 24px;
    margin-bottom: 24px;
}

.relacionados-section h3 {
    font-size: 1rem;
    font-weight: 600;
    margin: 0 0 16px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.relacionados-section h3 i {
    color: var(--accent-primary);
}

.relacionado-item {
    display: flex;
    gap: 12px;
    padding: 12px 0;
    border-bottom: 1px solid var(--border-color);
    transition: var(--transition-fast);
}

.relacionado-item:last-child {
    border-bottom: none;
}

.relacionado-item:hover {
    opacity: 0.8;
}

.relacionado-thumb {
    width: 100px;
    height: 56px;
    border-radius: 6px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    overflow: hidden;
    background: var(--bg-secondary);
}

.relacionado-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.relacionado-thumb i {
    font-size: 1.2rem;
    color: rgba(255,255,255,0.5);
}

.relacionado-info h4 {
    margin: 0 0 4px;
    font-size: 0.9rem;
    font-weight: 500;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.relacionado-info span {
    font-size: 0.8rem;
    color: var(--text-muted);
}

.sidebar-promo-card {
    background: var(--gradient-1);
    border-radius: var(--border-radius-lg);
    padding: 24px;
    text-align: center;
}

.promo-icon {
    width: 60px;
    height: 60px;
    background: rgba(255,255,255,0.2);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    margin: 0 auto 16px;
}

.sidebar-promo-card h4 {
    margin: 0 0 8px;
    font-size: 1.1rem;
}

.sidebar-promo-card p {
    color: rgba(255,255,255,0.8);
    font-size: 0.9rem;
    margin-bottom: 16px;
}

.sidebar-promo-card .btn-outline-primary {
    background: transparent;
    border: 2px solid white;
    color: white;
}

.sidebar-promo-card .btn-outline-primary:hover {
    background: white;
    color: var(--accent-primary);
}

/* =====================================================
   LIVES
   ===================================================== */
.live-ao-vivo-section {
    margin-bottom: 48px;
}

.live-ao-vivo-card {
    background: linear-gradient(135deg, rgba(239,68,68,0.15) 0%, rgba(239,68,68,0.05) 100%);
    border: 2px solid rgba(239,68,68,0.4);
    border-radius: var(--border-radius-xl);
    padding: 40px;
    position: relative;
    animation: glow-pulse 2s infinite;
}

.live-ao-vivo-badge {
    position: absolute;
    top: -16px;
    left: 40px;
    background: var(--accent-live);
    color: white;
    padding: 8px 20px;
    border-radius: 50px;
    font-weight: 700;
    font-size: 0.9rem;
    display: flex;
    align-items: center;
    gap: 8px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.live-ao-vivo-content h2 {
    font-size: 1.8rem;
    margin: 0 0 12px;
}

.live-ao-vivo-content p {
    color: var(--text-secondary);
    font-size: 1.1rem;
    margin-bottom: 24px;
}

.btn-live-agora {
    background: var(--accent-live);
    color: white;
    padding: 14px 32px;
    border-radius: 50px;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    border: none;
    font-size: 1.1rem;
}

.btn-live-agora:hover {
    background: #dc2626;
    color: white;
    transform: scale(1.05);
}

.live-ao-vivo-icon {
    width: 120px;
    height: 120px;
    background: rgba(239,68,68,0.2);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 3rem;
    color: var(--accent-live);
    animation: pulse-icon 2s infinite;
}

@keyframes pulse-icon {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.1); }
}

/* Live cards grid */
.live-card-full {
    background: var(--bg-card);
    border-radius: var(--border-radius-lg);
    overflow: hidden;
    border: 1px solid var(--border-color);
    transition: var(--transition-normal);
    height: 100%;
    display: flex;
    flex-direction: column;
}

.live-card-full:hover {
    border-color: var(--accent-primary);
    transform: translateY(-4px);
}

.live-card-header-full {
    padding: 24px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    position: relative;
}

.live-data-grande {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.live-data-grande .dia {
    font-size: 2.5rem;
    font-weight: 800;
    line-height: 1;
}

.live-data-grande .mes {
    font-size: 0.9rem;
    text-transform: uppercase;
    opacity: 0.8;
}

.live-hora {
    font-size: 1.2rem;
    font-weight: 600;
    opacity: 0.9;
}

.live-soon-badge {
    position: absolute;
    top: 12px;
    right: 12px;
    background: var(--accent-live);
    color: white;
    padding: 4px 10px;
    border-radius: 4px;
    font-size: 0.7rem;
    font-weight: 700;
    text-transform: uppercase;
}

.live-card-body-full {
    padding: 24px;
    flex: 1;
}

.live-card-body-full h3 {
    margin: 0 0 12px;
    font-size: 1.2rem;
    font-weight: 600;
}

.live-card-body-full p {
    color: var(--text-secondary);
    font-size: 0.9rem;
    line-height: 1.5;
    margin-bottom: 20px;
}

/* Countdown */
.live-countdown {
    display: flex;
    gap: 12px;
    justify-content: center;
}

.countdown-item {
    text-align: center;
    padding: 12px 16px;
    background: var(--bg-secondary);
    border-radius: var(--border-radius-sm);
}

.countdown-number {
    display: block;
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--accent-primary);
}

.countdown-label {
    display: block;
    font-size: 0.7rem;
    color: var(--text-muted);
    text-transform: uppercase;
}

.live-card-footer-full {
    padding: 20px 24px;
    border-top: 1px solid var(--border-color);
}

/* Replays */
.replays-section {
    margin-top: 60px;
}

.section-subtitle {
    color: var(--text-secondary);
    font-size: 0.95rem;
    margin-top: 4px;
}

.replay-card {
    background: var(--bg-card);
    border-radius: var(--border-radius-md);
    overflow: hidden;
    border: 1px solid var(--border-color);
    transition: var(--transition-normal);
}

.replay-card:hover {
    border-color: var(--accent-primary);
    transform: translateY(-4px);
}

.replay-thumbnail {
    aspect-ratio: 16/9;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
}

.replay-thumbnail i {
    font-size: 2.5rem;
    color: rgba(255,255,255,0.5);
}

.replay-badge {
    position: absolute;
    top: 8px;
    left: 8px;
    background: rgba(0,0,0,0.7);
    color: white;
    padding: 4px 8px;
    border-radius: 4px;
    font-size: 0.7rem;
    font-weight: 600;
}

.replay-info {
    padding: 16px;
}

.replay-info h4 {
    margin: 0 0 8px;
    font-size: 0.95rem;
    font-weight: 600;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.replay-date {
    font-size: 0.8rem;
    color: var(--text-muted);
    display: flex;
    align-items: center;
    gap: 6px;
}

/* Live player page */
.ao-vivo-banner {
    background: var(--accent-live);
    color: white;
    padding: 10px 24px;
    border-radius: var(--border-radius-md);
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-weight: 700;
    margin-bottom: 20px;
    animation: glow-pulse 2s infinite;
}

.live-aguardando {
    margin-bottom: 24px;
}

.live-aguardando-content {
    padding: 60px 40px;
    border-radius: var(--border-radius-xl);
    text-align: center;
}

.live-aguardando-icon {
    width: 100px;
    height: 100px;
    background: rgba(255,255,255,0.15);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2.5rem;
    color: rgba(255,255,255,0.7);
    margin: 0 auto 24px;
}

.live-aguardando h2 {
    font-size: 1.8rem;
    margin: 0 0 8px;
}

.live-aguardando p {
    color: rgba(255,255,255,0.8);
    margin-bottom: 32px;
}

.live-data-info {
    display: flex;
    justify-content: center;
    gap: 40px;
    margin-bottom: 32px;
}

.data-grande {
    text-align: center;
}

.data-grande .dia {
    display: block;
    font-size: 4rem;
    font-weight: 800;
    line-height: 1;
}

.data-grande .mes-ano {
    display: block;
    font-size: 1rem;
    text-transform: capitalize;
    opacity: 0.8;
}

.hora-grande {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 2rem;
    font-weight: 600;
}

.live-countdown-grande {
    display: flex;
    gap: 20px;
    justify-content: center;
}

.live-countdown-grande .countdown-item {
    background: rgba(0,0,0,0.2);
    padding: 20px 24px;
}

.live-countdown-grande .countdown-number {
    font-size: 2.5rem;
    color: white;
}

.status-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 6px 14px;
    border-radius: 50px;
    font-size: 0.8rem;
    font-weight: 600;
    text-transform: uppercase;
}

.status-badge.ao-vivo {
    background: var(--accent-live);
    color: white;
}

.status-badge.agendada {
    background: rgba(99, 102, 241, 0.2);
    color: var(--accent-primary);
}

.status-badge.replay {
    background: var(--bg-input);
    color: var(--text-secondary);
}

.live-share {
    margin-top: 24px;
    padding-top: 24px;
    border-top: 1px solid var(--border-color);
    display: flex;
    align-items: center;
    gap: 16px;
}

.live-share span {
    color: var(--text-secondary);
    font-size: 0.9rem;
}

.share-buttons {
    display: flex;
    gap: 8px;
}

.share-btn {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--bg-input);
    border: 1px solid var(--border-color);
    color: var(--text-secondary);
    cursor: pointer;
    transition: var(--transition-fast);
}

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

.share-btn.whatsapp:hover {
    background: #25D366;
    border-color: #25D366;
    color: white;
}

.share-btn.telegram:hover {
    background: #0088cc;
    border-color: #0088cc;
    color: white;
}

.share-btn.copy:hover {
    background: var(--accent-primary);
    border-color: var(--accent-primary);
    color: white;
}

/* Sidebar nav card */
.sidebar-section {
    background: var(--bg-card);
    border-radius: var(--border-radius-lg);
    padding: 24px;
    margin-bottom: 24px;
}

.sidebar-section h3 {
    font-size: 1rem;
    font-weight: 600;
    margin: 0 0 16px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.sidebar-section h3 i {
    color: var(--accent-primary);
}

.proximas-lives-lista {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.proxima-live-item {
    display: flex;
    gap: 16px;
    padding: 12px;
    background: var(--bg-secondary);
    border-radius: var(--border-radius-sm);
    transition: var(--transition-fast);
}

.proxima-live-item:hover {
    background: var(--bg-card-hover);
}

.proxima-data {
    width: 50px;
    text-align: center;
    flex-shrink: 0;
}

.proxima-data .dia {
    display: block;
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--accent-primary);
    line-height: 1;
}

.proxima-data .mes {
    display: block;
    font-size: 0.75rem;
    color: var(--text-muted);
    text-transform: uppercase;
}

.proxima-info h4 {
    margin: 0 0 4px;
    font-size: 0.9rem;
    font-weight: 500;
}

.proxima-info span {
    font-size: 0.8rem;
    color: var(--text-muted);
}

.sidebar-nav-card {
    background: var(--bg-card);
    border-radius: var(--border-radius-lg);
    overflow: hidden;
}

.sidebar-nav-card .nav-item {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 16px 20px;
    border-bottom: 1px solid var(--border-color);
    transition: var(--transition-fast);
    font-weight: 500;
}

.sidebar-nav-card .nav-item:last-child {
    border-bottom: none;
}

.sidebar-nav-card .nav-item:hover {
    background: var(--bg-card-hover);
}

.sidebar-nav-card .nav-item i {
    width: 20px;
    text-align: center;
    color: var(--accent-primary);
}

/* =====================================================
   INFO SECTION
   ===================================================== */
.info-section {
    margin-top: 60px;
}

.info-card {
    background: var(--bg-card);
    border-radius: var(--border-radius-lg);
    padding: 32px;
    border: 1px solid var(--border-color);
}

.info-card h3 {
    margin: 0 0 12px;
    font-size: 1.2rem;
    display: flex;
    align-items: center;
    gap: 10px;
}

.info-card h3 i {
    color: var(--accent-primary);
}

.info-card p {
    color: var(--text-secondary);
    line-height: 1.7;
    margin: 0;
}

.info-icon {
    font-size: 4rem;
    color: var(--accent-primary);
    opacity: 0.5;
}

/* =====================================================
   EMPTY STATES
   ===================================================== */
.empty-state {
    grid-column: 1 / -1;
    text-align: center;
    padding: 60px 20px;
}

.empty-state i {
    font-size: 4rem;
    color: var(--text-muted);
    opacity: 0.5;
    margin-bottom: 20px;
}

.empty-state h3 {
    font-size: 1.3rem;
    margin: 0 0 8px;
    color: var(--text-secondary);
}

.empty-state p {
    color: var(--text-muted);
    margin: 0;
}

.empty-state-large {
    text-align: center;
    padding: 100px 20px;
}

.empty-state-large .empty-icon {
    width: 120px;
    height: 120px;
    background: var(--bg-card);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 24px;
}

.empty-state-large .empty-icon i {
    font-size: 3rem;
    color: var(--text-muted);
}

.empty-state-large h3 {
    font-size: 1.5rem;
    margin: 0 0 12px;
}

.empty-state-large p {
    color: var(--text-secondary);
    margin-bottom: 24px;
}

/* =====================================================
   VIDEO PLACEHOLDER
   ===================================================== */
.video-placeholder {
    aspect-ratio: 16/9;
    background: var(--bg-secondary);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 16px;
}

.video-placeholder i {
    font-size: 4rem;
    color: var(--text-muted);
}

.video-placeholder p {
    color: var(--text-secondary);
    margin: 0;
}

/* =====================================================
   BOTÕES BOOTSTRAP OVERRIDE
   ===================================================== */
.community-wrapper .btn-primary {
    background: var(--accent-primary);
    border-color: var(--accent-primary);
}

.community-wrapper .btn-primary:hover {
    background: var(--accent-secondary);
    border-color: var(--accent-secondary);
}

.community-wrapper .btn-success {
    background: var(--accent-success);
    border-color: var(--accent-success);
}

.community-wrapper .btn-outline-success {
    color: var(--accent-success);
    border-color: var(--accent-success);
}

.community-wrapper .btn-outline-success:hover {
    background: var(--accent-success);
    color: white;
}

.community-wrapper .btn-outline-primary {
    color: var(--accent-primary);
    border-color: var(--accent-primary);
}

.community-wrapper .btn-outline-primary:hover {
    background: var(--accent-primary);
    color: white;
}

.community-wrapper .btn-outline-secondary {
    color: var(--text-secondary);
    border-color: var(--border-color);
}

.community-wrapper .btn-outline-secondary:hover {
    background: var(--bg-card);
    border-color: var(--accent-primary);
    color: var(--text-primary);
}

.community-wrapper .btn-block {
    display: block;
    width: 100%;
}

/* =====================================================
   RESPONSIVO
   ===================================================== */
@media (max-width: 1199px) {
    .player-layout {
        grid-template-columns: 1fr;
    }
    
    .player-sidebar {
        height: auto;
        position: static;
        border-left: none;
        border-top: 1px solid var(--border-color);
    }
}

@media (max-width: 991px) {
    .community-header {
        padding: 30px 0 24px;
    }
    
    .community-title {
        font-size: 1.6rem;
    }
    
    .stats-mini {
        justify-content: flex-start;
        margin-top: 24px;
    }
    
    .live-banner {
        flex-direction: column;
        text-align: center;
    }
    
    .curso-hero h1 {
        font-size: 2rem;
    }
    
    .curso-thumbnail-hero {
        display: none;
    }
    
    .aula-navegacao {
        grid-template-columns: 1fr;
    }
    
    .nav-proxima {
        text-align: left;
        justify-content: flex-start;
    }
    
    .nav-proxima .nav-info {
        text-align: left;
    }
}

@media (max-width: 767px) {
    .page-header-community h1 {
        font-size: 1.6rem;
    }
    
    .filters-bar {
        flex-direction: column;
        align-items: stretch;
    }
    
    .search-box {
        min-width: 100%;
    }
    
    .content-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 16px;
    }
    
    .curso-stats {
        flex-wrap: wrap;
        gap: 16px;
    }
    
    .live-data-info {
        flex-direction: column;
        gap: 20px;
    }
    
    .live-countdown-grande {
        flex-wrap: wrap;
    }
    
    .treinamento-actions {
        flex-direction: column;
    }
    
    .treinamento-actions .btn {
        width: 100%;
    }
}

@media (max-width: 575px) {
    .content-grid {
        grid-template-columns: 1fr;
    }
    
    .stats-mini {
        gap: 12px;
    }
    
    .stat-item {
        padding: 12px 16px;
    }
    
    .stat-number {
        font-size: 1.4rem;
    }
    
    .quick-nav-item {
        padding: 16px;
    }
    
    .quick-nav-icon {
        width: 44px;
        height: 44px;
        font-size: 1.2rem;
    }
    
    .video-controls {
        flex-wrap: wrap;
        gap: 12px;
    }
    
    .control-center {
        order: 3;
        width: 100%;
        padding: 0;
    }
}

/* =====================================================
   NAVBAR SUPERIOR
   ===================================================== */
.community-navbar {
    background: var(--bg-secondary);
    border-bottom: 1px solid var(--border-color);
    padding: 0;
    position: sticky;
    top: 0;
    z-index: 1000;
}

.navbar-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 64px;
}

.navbar-brand {
    display: flex;
    align-items: center;
    gap: 10px;
    font-weight: 700;
    font-size: 1.2rem;
    color: var(--text-primary);
}

.navbar-brand:hover {
    color: var(--text-primary);
}

.navbar-brand i {
    color: var(--accent-primary);
    font-size: 1.4rem;
}

.navbar-menu {
    display: flex;
    gap: 8px;
}

.navbar-menu .nav-link {
    padding: 10px 16px;
    border-radius: 8px;
    color: var(--text-secondary);
    font-weight: 500;
    font-size: 0.9rem;
    display: flex;
    align-items: center;
    gap: 8px;
    transition: var(--transition-fast);
}

.navbar-menu .nav-link:hover {
    background: var(--bg-card);
    color: var(--text-primary);
}

.navbar-menu .nav-link.active {
    background: rgba(99, 102, 241, 0.15);
    color: var(--accent-primary);
}

.navbar-user {
    display: flex;
    align-items: center;
}

.user-info {
    display: flex;
    align-items: center;
    gap: 10px;
}

.user-name {
    font-weight: 500;
    color: var(--text-secondary);
    font-size: 0.9rem;
}

.user-avatar {
    width: 36px;
    height: 36px;
    background-color: var(--accent-secondary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 0.9rem;
    color: white;
}

.navbar-toggle {
    display: none;
    background: none;
    border: none;
    color: var(--text-primary);
    font-size: 1.5rem;
    cursor: pointer;
    padding: 8px;
}

/* Links extras do menu - escondidos no desktop */
.mobile-menu-divider {
    display: none;
}

.mobile-only-link {
    display: none !important;
}

/* User Dropdown */
.user-dropdown {
    position: relative;
}

.user-dropdown-toggle {
    display: flex;
    align-items: center;
    gap: 10px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px 12px;
    border-radius: var(--border-radius-md);
    transition: background 0.3s ease;
}

.user-dropdown-toggle:hover {
    background: var(--bg-tertiary);
}

.user-dropdown-toggle .user-name {
    color: var(--text-primary);
    font-weight: 500;
}

.user-dropdown-toggle .fa-chevron-down {
    font-size: 12px;
    color: var(--text-muted);
    transition: transform 0.3s ease;
}

.user-dropdown-menu {
    position: absolute;
    top: 100%;
    right: 0;
    background: var(--bg-secondary);
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius-lg);
    min-width: 220px;
    padding: 8px 0;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: all 0.3s ease;
    z-index: 1000;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.3);
}

.user-dropdown-menu.active {
    opacity: 1;
    visibility: visible;
    transform: translateY(8px);
}

.dropdown-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 20px;
    color: var(--text-secondary);
    text-decoration: none;
    transition: all 0.2s ease;
}

.dropdown-item:hover {
    background: var(--bg-tertiary);
    color: var(--text-primary);
}

.dropdown-item i {
    width: 18px;
    text-align: center;
    color: var(--text-muted);
}

.dropdown-item:hover i {
    color: var(--accent-primary);
}

.dropdown-item.logout {
    color: #e74c3c;
}

.dropdown-item.logout:hover {
    background: rgba(231, 76, 60, 0.1);
}

.dropdown-divider {
    height: 1px;
    background: var(--border-color);
    margin: 8px 0;
}

/* =====================================================
   FOOTER
   ===================================================== */
.community-footer {
    background: var(--bg-secondary);
    border-top: 1px solid var(--border-color);
    padding: 24px 0;
    margin-top: 60px;
}

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.footer-content p {
    margin: 0;
    color: var(--text-muted);
    font-size: 0.9rem;
}

.footer-links {
    display: flex;
    gap: 24px;
}

.footer-links a {
    color: var(--text-secondary);
    font-size: 0.9rem;
}

.footer-links a:hover {
    color: var(--accent-primary);
}

/* =====================================================
   CONTENT ROW (Cards horizontais com grid)
   ===================================================== */
.content-row {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 20px;
}

.content-card-wrapper {
    min-width: 0;
}

.content-card {
    display: block;
    background: var(--bg-card);
    border-radius: var(--border-radius-md);
    overflow: hidden;
    border: 1px solid var(--border-color);
    transition: var(--transition-normal);
    height: 100%;
}

.content-card:hover {
    transform: translateY(-4px);
    border-color: var(--accent-primary);
    box-shadow: var(--shadow-md);
    color: var(--text-primary);
}

.content-card .card-thumbnail {
    aspect-ratio: 16/9;
    position: relative;
    overflow: hidden;
    background: var(--bg-secondary);
}

.content-card .card-thumbnail img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.content-card:hover .card-thumbnail img {
    transform: scale(1.05);
}

.content-card .card-info {
    padding: 14px;
}

.content-card .card-info h4 {
    margin: 0 0 6px;
    font-size: 0.95rem;
    font-weight: 600;
    line-height: 1.3;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    color: var(--text-primary);
}

.card-desc {
    font-size: 0.8rem;
    color: var(--text-muted);
    margin: 0;
    line-height: 1.4;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.progress-indicator {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-top: 10px;
}

.progress-bar-small {
    flex: 1;
    height: 4px;
    background: var(--bg-input);
    border-radius: 2px;
    overflow: hidden;
}

.progress-bar-small .progress-fill {
    height: 100%;
    background: var(--accent-success);
}

.progress-indicator span {
    font-size: 0.75rem;
    color: var(--accent-success);
    font-weight: 600;
}

.card-footer-info {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
    margin-top: 10px;
}

/* =====================================================
   MATERIAIS DE APOIO
   ===================================================== */
.materiais-card,
.treinamento-materiais {
    border: 1px solid rgba(99, 102, 241, 0.3);
    background: linear-gradient(135deg, rgba(99, 102, 241, 0.1) 0%, rgba(139, 92, 246, 0.05) 100%);
}

.treinamento-materiais {
    margin-top: 24px;
    padding: 24px;
    border-radius: var(--border-radius-md);
}

.treinamento-materiais h3 {
    margin: 0 0 16px;
    font-size: 1.1rem;
    display: flex;
    align-items: center;
    gap: 10px;
    color: var(--text-primary);
}

.treinamento-materiais h3 i {
    color: var(--accent-primary);
}

.materiais-content {
    color: var(--text-secondary);
    line-height: 1.8;
}

.materiais-content p {
    margin: 0 0 12px;
}

.materiais-content p:last-child {
    margin-bottom: 0;
}

.materiais-content a {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: var(--accent-primary);
    font-weight: 500;
    padding: 10px 16px;
    background: rgba(99, 102, 241, 0.15);
    border-radius: var(--border-radius-sm);
    transition: var(--transition-fast);
    margin: 4px 0;
}

.materiais-content a:hover {
    background: var(--accent-primary);
    color: white;
}

.materiais-content a::before {
    content: '\f019';
    font-family: 'Font Awesome 6 Free';
    font-weight: 900;
}

.cursos-grid,
.treinamentos-grid {
    grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
}

/* =====================================================
   COMMUNITY SECTION (WhatsApp, Telegram, Suporte)
   ===================================================== */
.community-section {
    background: var(--bg-secondary);
    border-radius: var(--border-radius-xl);
    padding: 32px;
    margin-top: 40px;
}

.community-cards {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.community-card {
    background: var(--bg-card);
    border-radius: var(--border-radius-md);
    padding: 24px;
    text-align: center;
    border: 1px solid var(--border-color);
    transition: var(--transition-normal);
}

.community-card:hover {
    border-color: var(--accent-primary);
    transform: translateY(-4px);
}

.community-card-icon {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 16px;
    font-size: 1.5rem;
    color: white;
}

.community-card-icon.whatsapp {
    background: #25D366;
}

.community-card-icon.telegram {
    background: #0088cc;
}

.community-card-icon.support {
    background: var(--accent-primary);
}

.community-card h4 {
    margin: 0 0 8px;
    font-size: 1.1rem;
    color: var(--text-primary);
}

.community-card p {
    color: var(--text-secondary);
    font-size: 0.9rem;
    margin-bottom: 16px;
    line-height: 1.5;
}

/* Lives row */
.lives-row {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

/* Mobile only */
.mobile-only {
    display: none;
}

/* =====================================================
   NAVBAR E LAYOUT RESPONSIVO
   ===================================================== */
@media (max-width: 1199px) {
    .content-row {
        grid-template-columns: repeat(4, 1fr);
    }
}

@media (max-width: 991px) {
    .navbar-menu {
        display: none;
        position: absolute;
        top: 64px;
        left: 0;
        right: 0;
        background: var(--bg-secondary);
        flex-direction: column;
        padding: 16px;
        border-bottom: 1px solid var(--border-color);
        box-shadow: var(--shadow-lg);
    }
    
    .navbar-menu.active {
        display: flex;
    }
    
    .navbar-toggle {
        display: block;
    }
    
    .user-dropdown-toggle .user-name {
        display: none;
    }
    
    .user-dropdown-toggle .fa-chevron-down {
        display: none;
    }
    
    .user-dropdown-menu {
        right: -10px;
        min-width: 200px;
    }
    
    /* Links extras visíveis apenas no mobile */
    .mobile-menu-divider {
        display: block;
        height: 1px;
        background: var(--border-color);
        margin: 12px 0;
    }
    
    .mobile-only-link {
        display: flex !important;
    }
    
    .mobile-only-link.logout-link {
        color: #e74c3c !important;
    }
    
    .mobile-only-link.logout-link:hover {
        background: rgba(231, 76, 60, 0.1);
    }
    
    .mobile-only {
        display: block;
    }
    
    .content-row {
        grid-template-columns: repeat(3, 1fr);
    }
    
    .community-cards {
        grid-template-columns: repeat(3, 1fr);
    }
    
    .lives-row {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 767px) {
    .content-row {
        grid-template-columns: repeat(2, 1fr);
        gap: 12px;
    }
    
    .community-cards {
        grid-template-columns: 1fr;
    }
    
    .lives-row {
        grid-template-columns: 1fr;
    }
    
    .footer-content {
        flex-direction: column;
        gap: 16px;
        text-align: center;
    }
    
    .community-header .row {
        flex-direction: column;
    }
    
    .stats-mini {
        justify-content: center;
        margin-top: 20px;
    }
}

@media (max-width: 575px) {
    .community-section {
        padding: 20px;
        margin-left: -12px;
        margin-right: -12px;
        border-radius: 0;
    }
    
    .navbar-brand span {
        display: none;
    }
    
    .community-title {
        font-size: 1.5rem;
    }
}

/* =====================================================
   COMMUNITY SOCIAL - Estilo Skool
   ===================================================== */

/* Feed Layout */
.feed-layout {
    display: grid;
    grid-template-columns: 1fr 340px;
    gap: 30px;
    max-width: 1200px;
    margin: 0 auto;
    padding: 30px 0;
}

.feed-main {
    min-width: 0;
}

.feed-sidebar {
    position: sticky;
    top: 100px;
    height: fit-content;
}

/* Create Post Card */
.create-post-card {
    background: var(--bg-secondary);
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius-lg);
    padding: 20px;
    margin-bottom: 24px;
}

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

.user-avatar-mini {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: var(--accent-gradient);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 600;
    color: white;
    font-size: 16px;
    overflow: hidden;
    flex-shrink: 0;
}

.user-avatar-mini img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.create-post-input {
    flex: 1;
    background: var(--bg-tertiary);
    border: 1px solid var(--border-color);
    border-radius: 25px;
    padding: 12px 20px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.create-post-input span {
    color: var(--text-muted);
}

.create-post-input:hover {
    border-color: var(--accent-primary);
    background: var(--bg-primary);
}

/* Modal */
.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.8);
    display: none;
    align-items: center;
    justify-content: center;
    z-index: 9999;
    padding: 20px;
}

.modal-overlay.active {
    display: flex;
}

.modal-content {
    background: var(--bg-secondary);
    border-radius: var(--border-radius-lg);
    width: 100%;
    max-width: 500px;
    max-height: 90vh;
    overflow-y: auto;
}

.modal-content.modal-large {
    max-width: 600px;
}

.modal-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 20px;
    border-bottom: 1px solid var(--border-color);
}

.modal-header h3 {
    margin: 0;
    font-size: 1.25rem;
}

.modal-close {
    background: none;
    border: none;
    color: var(--text-muted);
    font-size: 28px;
    cursor: pointer;
    line-height: 1;
    padding: 0;
}

.modal-close:hover {
    color: var(--text-primary);
}

.modal-body {
    padding: 20px;
}

.modal-footer {
    padding: 20px;
    border-top: 1px solid var(--border-color);
}

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

.user-info-mini {
    display: flex;
    flex-direction: column;
}

.user-info-mini .user-name {
    font-weight: 600;
    color: var(--text-primary);
}

.user-info-mini .user-level {
    font-size: 13px;
    display: flex;
    align-items: center;
    gap: 4px;
}

.modal-body textarea {
    width: 100%;
    background: var(--bg-tertiary);
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius-md);
    padding: 16px;
    color: var(--text-primary);
    font-size: 16px;
    resize: none;
}

.modal-body textarea:focus {
    outline: none;
    border-color: var(--accent-primary);
}

.btn-block {
    width: 100%;
}

/* Posts */
.posts-list {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.post-card {
    background: var(--bg-secondary);
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius-lg);
    overflow: hidden;
}

.post-pinned {
    background: linear-gradient(135deg, var(--accent-primary), var(--accent-secondary));
    color: white;
    padding: 8px 16px;
    font-size: 13px;
    font-weight: 500;
}

.post-header {
    padding: 16px 20px;
}

.post-user {
    display: flex;
    align-items: center;
    gap: 12px;
    text-decoration: none;
}

.user-avatar {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background-color: var(--accent-secondary);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 600;
    color: white;
    font-size: 18px;
    overflow: hidden;
    flex-shrink: 0;
}

.user-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.user-info {
    display: flex;
    flex-direction: column;
}

.user-info .user-name {
    font-weight: 600;
    color: var(--text-primary);
    font-size: 15px;
}

.user-meta {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 13px;
}

.user-meta .user-level {
    display: flex;
    align-items: center;
    gap: 4px;
}

.post-time {
    color: var(--text-muted);
}

.post-content {
    padding: 0 20px 16px;
    color: var(--text-primary);
    font-size: 15px;
    line-height: 1.6;
}

.post-image {
    margin: 0 0 16px;
}

.post-image img {
    width: 100%;
    max-height: 500px;
    object-fit: cover;
}

.post-stats {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 12px 20px;
    border-top: 1px solid var(--border-color);
    color: var(--text-muted);
    font-size: 14px;
}

.post-stats i {
    margin-right: 4px;
}

.post-actions {
    display: flex;
    border-top: 1px solid var(--border-color);
}

.action-btn {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 14px;
    background: none;
    border: none;
    color: var(--text-secondary);
    font-size: 15px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.action-btn:hover {
    background: var(--bg-tertiary);
    color: var(--accent-primary);
}

.action-btn.liked {
    color: #e74c3c;
}

.action-btn.liked i {
    animation: heartBeat 0.3s ease;
}

@keyframes heartBeat {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.2); }
}

/* Comments Section in Posts */
.comments-section {
    border-top: 1px solid var(--border-color);
    padding: 16px 20px;
}

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

.comment-text-input {
    flex: 1;
    background: var(--bg-tertiary);
    border: 1px solid var(--border-color);
    border-radius: 25px;
    padding: 10px 16px;
    color: var(--text-primary);
    font-size: 14px;
}

.comment-text-input:focus {
    outline: none;
    border-color: var(--accent-primary);
}

.send-comment-btn {
    background: var(--accent-primary);
    border: none;
    color: white;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.send-comment-btn:hover {
    background: var(--accent-secondary);
    transform: scale(1.05);
}

.comments-list .comment-item {
    display: flex;
    gap: 12px;
    margin-bottom: 16px;
}

.comment-avatar {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: var(--accent-gradient);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-weight: 600;
    font-size: 14px;
    overflow: hidden;
    flex-shrink: 0;
}

.comment-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.comment-body {
    flex: 1;
    background: var(--bg-tertiary);
    padding: 12px 16px;
    border-radius: var(--border-radius-md);
}

.comment-header {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 4px;
}

.comment-author {
    font-weight: 600;
    color: var(--text-primary);
    text-decoration: none;
    font-size: 14px;
}

.comment-author:hover {
    color: var(--accent-primary);
}

.comment-time {
    color: var(--text-muted);
    font-size: 12px;
}

.comment-text {
    color: var(--text-secondary);
    font-size: 14px;
    margin: 0;
}

/* Empty Feed */
.empty-feed {
    text-align: center;
    padding: 60px 20px;
    background: var(--bg-secondary);
    border-radius: var(--border-radius-lg);
    border: 1px solid var(--border-color);
}

.empty-feed i {
    font-size: 48px;
    color: var(--text-muted);
    margin-bottom: 16px;
}

.empty-feed h3 {
    margin-bottom: 8px;
    color: var(--text-primary);
}

.empty-feed p {
    color: var(--text-muted);
}

/* Sidebar Cards */
.sidebar-card {
    background: var(--bg-secondary);
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius-lg);
    padding: 20px;
    margin-bottom: 20px;
}

.sidebar-card h4 {
    font-size: 16px;
    margin-bottom: 16px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.sidebar-card-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 16px;
}

.sidebar-card-header h4 {
    margin: 0;
}

.see-all-link {
    color: var(--accent-primary);
    font-size: 13px;
    text-decoration: none;
}

.see-all-link:hover {
    text-decoration: underline;
}

/* Profile Mini Card */
.profile-mini-card .profile-mini {
    display: flex;
    align-items: center;
    gap: 12px;
    text-decoration: none;
    margin-bottom: 16px;
    padding-bottom: 16px;
    border-bottom: 1px solid var(--border-color);
}

.profile-avatar {
    width: 56px;
    height: 56px;
    border-radius: 50%;
    background-color: var(--accent-secondary);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    color: white;
    font-size: 22px;
    position: relative;
}

.profile-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 50%;
}

.level-badge {
    position: absolute;
    bottom: 0;
    right: 0;
    width: 22px;
    height: 22px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 10px;
    border: 2px solid var(--bg-secondary);
    z-index: 1;
}

.profile-info {
    display: flex;
    flex-direction: column;
}

.profile-name {
    font-weight: 600;
    color: var(--text-primary);
    font-size: 16px;
}

.profile-level {
    color: var(--text-muted);
    font-size: 13px;
}

.profile-stats-mini {
    display: flex;
    justify-content: space-between;
}

.profile-stats-mini .stat {
    text-align: center;
}

.profile-stats-mini .value {
    display: block;
    font-weight: 700;
    color: var(--text-primary);
    font-size: 18px;
}

.profile-stats-mini .label {
    font-size: 12px;
    color: var(--text-muted);
}

/* Ranking List */
.ranking-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.ranking-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 8px;
    border-radius: var(--border-radius-md);
    text-decoration: none;
    transition: background 0.3s ease;
}

.ranking-item:hover {
    background: var(--bg-tertiary);
}

.ranking-position {
    width: 28px;
    height: 28px;
    border-radius: 50%;
    background: var(--bg-tertiary);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 13px;
    color: var(--text-secondary);
}

.ranking-position.top-1 {
    background: linear-gradient(135deg, #ffd700, #ffb700);
    color: #000;
}

.ranking-position.top-2 {
    background: linear-gradient(135deg, #c0c0c0, #a0a0a0);
    color: #000;
}

.ranking-position.top-3 {
    background: linear-gradient(135deg, #cd7f32, #b87333);
    color: #fff;
}

.ranking-avatar {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: var(--accent-gradient);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-weight: 600;
    font-size: 14px;
    overflow: hidden;
}

.ranking-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.ranking-info {
    flex: 1;
    min-width: 0;
}

.ranking-name {
    display: block;
    font-weight: 500;
    color: var(--text-primary);
    font-size: 14px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.ranking-points {
    font-size: 12px;
    color: var(--text-muted);
}

.ranking-badge {
    font-size: 14px;
}

/* New Members List */
.new-members-list {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 12px;
}

.new-member-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 4px;
    text-decoration: none;
}

.member-avatar {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: var(--accent-gradient);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-weight: 600;
    overflow: hidden;
    transition: transform 0.3s ease;
}

.member-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.new-member-item:hover .member-avatar {
    transform: scale(1.1);
}

.member-name {
    font-size: 11px;
    color: var(--text-muted);
    max-width: 44px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

/* Quick Links Card */
.quick-links-card {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.quick-link {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px;
    border-radius: var(--border-radius-md);
    text-decoration: none;
    color: var(--text-secondary);
    transition: all 0.3s ease;
}

.quick-link:hover {
    background: var(--bg-tertiary);
    color: var(--accent-primary);
}

.quick-link i {
    width: 20px;
    text-align: center;
}

/* =====================================================
   PROFILE PAGE
   ===================================================== */

.profile-header-card {
    background: var(--bg-secondary);
    border-radius: var(--border-radius-lg);
    border: 1px solid var(--border-color);
    overflow: hidden;
    margin-bottom: 30px;
}

.profile-cover {
    height: 120px;
    background: var(--accent-gradient);
    position: relative;
}

.profile-avatar-large {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    background: var(--bg-secondary);
    position: absolute;
    bottom: -60px;
    left: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 4px solid var(--bg-secondary);
}

.profile-avatar-large img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 50%;
}

.avatar-letter {
    font-size: 48px;
    font-weight: 700;
    color: var(--text-primary);
    background: var(--accent-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.level-badge-large {
    position: absolute;
    bottom: 8px;
    right: 8px;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 14px;
    border: 3px solid var(--bg-secondary);
    z-index: 1;
}

/* Avatar Upload Overlay */
.profile-avatar-large.editable {
    cursor: pointer;
}

/* Badge de câmera sempre visível no canto */
.profile-avatar-large.editable::after {
    content: '\f030';
    font-family: 'Font Awesome 6 Free';
    font-weight: 900;
    position: absolute;
    bottom: 8px;
    left: 8px;
    width: 36px;
    height: 36px;
    background: var(--accent-primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 14px;
    z-index: 4;
    cursor: pointer;
    border: 3px solid var(--bg-secondary);
    transition: all 0.3s ease;
}

.profile-avatar-large.editable:hover::after {
    background: var(--accent-secondary);
    transform: scale(1.1);
}

.avatar-upload-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.75);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 8px;
    border-radius: 50%;
    opacity: 0;
    transition: opacity 0.3s ease;
    color: white;
    font-size: 13px;
    z-index: 5;
    cursor: pointer;
}

.avatar-upload-overlay i {
    font-size: 28px;
}

.avatar-upload-overlay span {
    font-weight: 500;
}

.profile-avatar-large.editable:hover .avatar-upload-overlay {
    opacity: 1;
}

/* Quando está carregando ou sucesso */
.avatar-upload-overlay .fa-spinner,
.avatar-upload-overlay .fa-check {
    font-size: 32px;
}

/* Upload avatar no modal */
.upload-avatar-group {
    margin-bottom: 16px;
}

.upload-avatar-row {
    display: flex;
    align-items: center;
    gap: 12px;
}

.upload-avatar-preview {
    width: 64px;
    height: 64px;
    border-radius: 50%;
    background: var(--bg-tertiary);
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    border: 2px solid var(--border-color);
    flex-shrink: 0;
}

.upload-avatar-preview img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.upload-avatar-preview .avatar-letter {
    font-weight: 700;
    font-size: 22px;
    color: var(--text-primary);
}

.upload-avatar-actions .btn {
    padding: 6px 12px;
}

.profile-info-section {
    padding: 70px 30px 30px;
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    flex-wrap: wrap;
    gap: 20px;
}

.profile-main-info h1 {
    font-size: 1.75rem;
    margin-bottom: 8px;
}

.profile-level-info {
    display: flex;
    align-items: center;
    gap: 12px;
    flex-wrap: wrap;
    margin-bottom: 16px;
}

.level-badge-inline {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 6px 12px;
    border-radius: 20px;
    color: white;
    font-size: 13px;
    font-weight: 500;
}

.profile-points, .profile-ranking {
    color: var(--text-muted);
    font-size: 14px;
}

.profile-bio {
    color: var(--text-secondary);
    max-width: 600px;
    margin-bottom: 12px;
}

.profile-location {
    color: var(--text-muted);
    font-size: 14px;
    margin-bottom: 16px;
}

.profile-location i {
    margin-right: 6px;
}

.profile-social {
    display: flex;
    gap: 12px;
}

.social-link {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 18px;
    transition: transform 0.3s ease;
}

.social-link:hover {
    transform: scale(1.1);
}

.social-link.linkedin { background: #0077b5; }
.social-link.instagram { background: linear-gradient(45deg, #f09433, #e6683c, #dc2743, #cc2366, #bc1888); }
.social-link.whatsapp { background: #25d366; }

/* Profile Stats Row */
.profile-stats-row {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 20px;
    margin-bottom: 30px;
}

.stat-card {
    background: var(--bg-secondary);
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius-lg);
    padding: 20px;
    display: flex;
    align-items: center;
    gap: 16px;
}

.stat-icon {
    width: 50px;
    height: 50px;
    border-radius: var(--border-radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 20px;
}

.stat-content {
    display: flex;
    flex-direction: column;
}

.stat-value {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--text-primary);
}

.stat-label {
    font-size: 13px;
    color: var(--text-muted);
}

/* Profile Content Layout */
.profile-content-layout {
    display: grid;
    grid-template-columns: 1fr 340px;
    gap: 30px;
}

.profile-section-card {
    background: var(--bg-secondary);
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius-lg);
    padding: 24px;
    margin-bottom: 20px;
}

.section-header {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 20px;
    padding-bottom: 16px;
    border-bottom: 1px solid var(--border-color);
}

.section-header h3 {
    margin: 0;
    font-size: 1.1rem;
}

.post-card-mini {
    padding: 16px;
    background: var(--bg-tertiary);
    border-radius: var(--border-radius-md);
    margin-bottom: 12px;
}

.post-content-mini {
    color: var(--text-secondary);
    margin-bottom: 12px;
    line-height: 1.5;
}

.post-meta-mini {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 13px;
    color: var(--text-muted);
}

.post-stats-mini {
    display: flex;
    gap: 12px;
}

.post-stats-mini i {
    margin-right: 4px;
}

/* Activities List */
.activities-list {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.activity-item {
    display: flex;
    gap: 12px;
}

.activity-icon {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: var(--bg-tertiary);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--accent-primary);
    flex-shrink: 0;
}

.activity-content {
    flex: 1;
}

.activity-text {
    font-weight: 500;
    color: var(--text-primary);
    margin-bottom: 4px;
}

.activity-preview {
    display: block;
    font-size: 13px;
    color: var(--text-muted);
    margin-bottom: 4px;
}

.activity-time {
    font-size: 12px;
    color: var(--text-muted);
}

/* Empty Section */
.empty-section {
    text-align: center;
    padding: 40px 20px;
    color: var(--text-muted);
}

.empty-section i {
    font-size: 36px;
    margin-bottom: 12px;
    opacity: 0.5;
}

/* Level Progress Card */
.level-progress-card {
    margin-top: 16px;
}

.current-level {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 12px;
}

.level-badge-small {
    width: 28px;
    height: 28px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 12px;
}

.progress-bar-container {
    height: 8px;
    background: var(--bg-tertiary);
    border-radius: 4px;
    overflow: hidden;
    margin-bottom: 12px;
}

.progress-bar {
    height: 100%;
    background: var(--accent-gradient);
    border-radius: 4px;
    transition: width 0.5s ease;
}

.next-level {
    display: flex;
    align-items: center;
    justify-content: space-between;
    font-size: 13px;
    color: var(--text-muted);
}

.max-level-text {
    text-align: center;
    color: var(--accent-primary);
    font-weight: 500;
}

/* Levels List */
.levels-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.level-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 10px;
    border-radius: var(--border-radius-md);
    opacity: 0.5;
}

.level-item.unlocked {
    opacity: 1;
    background: var(--bg-tertiary);
}

.level-badge-mini {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 12px;
}

.level-info {
    flex: 1;
}

.level-name {
    display: block;
    font-weight: 500;
    color: var(--text-primary);
    font-size: 14px;
}

.level-points {
    font-size: 12px;
    color: var(--text-muted);
}

.unlocked-icon {
    color: #27ae60;
}

/* Interests Tags */
.interests-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.interest-tag {
    background: var(--bg-tertiary);
    padding: 6px 12px;
    border-radius: 20px;
    font-size: 13px;
    color: var(--text-secondary);
}

/* Form Groups */
.form-group {
    margin-bottom: 16px;
}

.form-group label {
    display: block;
    margin-bottom: 6px;
    font-weight: 500;
    color: var(--text-secondary);
    font-size: 14px;
}

.form-group input,
.form-group textarea {
    width: 100%;
    background: var(--bg-tertiary);
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius-md);
    padding: 12px;
    color: var(--text-primary);
    font-size: 14px;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--accent-primary);
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 100px;
    gap: 12px;
}

/* =====================================================
   MEMBERS PAGE
   ===================================================== */

.page-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 30px 0;
    flex-wrap: wrap;
    gap: 20px;
}

.header-content h1 {
    font-size: 1.75rem;
    margin-bottom: 8px;
    display: flex;
    align-items: center;
    gap: 12px;
}

.header-content p {
    color: var(--text-muted);
    margin: 0;
}

.stat-badge {
    background: var(--bg-secondary);
    padding: 12px 20px;
    border-radius: var(--border-radius-md);
    display: flex;
    align-items: center;
    gap: 8px;
    font-weight: 500;
}

.stat-badge i {
    color: var(--accent-primary);
}

.filters-bar {
    background: var(--bg-secondary);
    padding: 16px 20px;
    border-radius: var(--border-radius-lg);
    margin-bottom: 30px;
    display: flex;
    align-items: center;
    gap: 16px;
    flex-wrap: wrap;
}

.filter-group {
    display: flex;
    align-items: center;
    gap: 12px;
}

.filter-group label {
    color: var(--text-muted);
    font-size: 14px;
}

.filter-buttons {
    display: flex;
    gap: 8px;
}

.filter-btn {
    padding: 8px 16px;
    border-radius: 20px;
    background: var(--bg-tertiary);
    color: var(--text-secondary);
    text-decoration: none;
    font-size: 14px;
    display: flex;
    align-items: center;
    gap: 6px;
    transition: all 0.3s ease;
}

.filter-btn:hover,
.filter-btn.active {
    background: var(--accent-primary);
    color: white;
}

/* Members Grid */
.members-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 24px;
    padding-bottom: 40px;
}

.member-card {
    background: var(--bg-secondary);
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius-lg);
    overflow: hidden;
    position: relative;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.member-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.3);
}

.member-rank {
    position: absolute;
    top: 12px;
    left: 12px;
    background: var(--bg-tertiary);
    padding: 6px 12px;
    border-radius: 20px;
    font-size: 13px;
    font-weight: 600;
    z-index: 1;
}

.member-link {
    display: block;
    padding: 30px 20px 20px;
    text-decoration: none;
    text-align: center;
}

.member-avatar-large {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    background: var(--accent-gradient);
    margin: 0 auto 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 32px;
    font-weight: 700;
    color: white;
    position: relative;
}

.member-avatar-large img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 50%;
}

.level-badge-card {
    position: absolute;
    bottom: 0;
    right: 0;
    width: 28px;
    height: 28px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 11px;
    border: 3px solid var(--bg-secondary);
    z-index: 1;
}

.member-info h3 {
    font-size: 1.1rem;
    margin-bottom: 4px;
    color: var(--text-primary);
}

.member-level {
    font-size: 14px;
    font-weight: 500;
}

.member-stats-card {
    margin: 16px 0;
    padding: 12px;
    background: var(--bg-tertiary);
    border-radius: var(--border-radius-md);
}

.member-stats-card .stat-item {
    text-align: center;
}

.member-stats-card .value {
    display: block;
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--text-primary);
}

.member-stats-card .label {
    font-size: 12px;
    color: var(--text-muted);
}

.member-location {
    color: var(--text-muted);
    font-size: 13px;
}

.member-location i {
    margin-right: 4px;
}

.member-actions {
    display: flex;
    gap: 8px;
    padding: 0 20px 20px;
}

.btn-action {
    flex: 1;
    padding: 10px;
    border-radius: var(--border-radius-md);
    text-align: center;
    text-decoration: none;
    font-size: 13px;
    font-weight: 500;
    transition: all 0.3s ease;
}

.btn-profile {
    background: var(--bg-tertiary);
    color: var(--text-secondary);
}

.btn-profile:hover {
    background: var(--accent-primary);
    color: white;
}

.btn-whatsapp {
    background: #25d366;
    color: white;
}

.btn-whatsapp:hover {
    background: #1da851;
}

/* =====================================================
   RANKING PAGE
   ===================================================== */

.ranking-header {
    text-align: center;
    margin-bottom: 40px;
}

.ranking-layout {
    max-width: 900px;
    margin: 0 auto;
    padding-bottom: 40px;
}

/* Podium */
.podium-section {
    display: flex;
    align-items: flex-end;
    justify-content: center;
    gap: 20px;
    margin-bottom: 40px;
    padding: 40px 20px;
}

.podium-item {
    text-align: center;
}

.podium-item.second { order: 1; }
.podium-item.first { order: 2; }
.podium-item.third { order: 3; }

.crown-icon {
    font-size: 32px;
    color: #ffd700;
    margin-bottom: 12px;
    animation: crownBounce 2s ease infinite;
}

@keyframes crownBounce {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-8px); }
}

.podium-link {
    text-decoration: none;
    display: block;
}

.podium-avatar {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    background: var(--accent-gradient);
    margin: 0 auto 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 32px;
    font-weight: 700;
    color: white;
    position: relative;
}

.podium-item.first .podium-avatar {
    width: 100px;
    height: 100px;
    font-size: 40px;
    box-shadow: 0 0 30px rgba(255, 215, 0, 0.3);
}

.podium-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 50%;
}

.level-badge-podium {
    position: absolute;
    bottom: 0;
    right: 0;
    width: 26px;
    height: 26px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 11px;
    border: 3px solid var(--bg-primary);
    z-index: 1;
}

.podium-info {
    margin-bottom: 12px;
}

.podium-name {
    display: block;
    font-weight: 600;
    color: var(--text-primary);
    font-size: 16px;
    margin-bottom: 4px;
}

.podium-points {
    color: var(--accent-primary);
    font-weight: 500;
    font-size: 14px;
}

.podium-stand {
    padding: 16px 40px;
    border-radius: var(--border-radius-lg) var(--border-radius-lg) 0 0;
}

.podium-item.first .podium-stand {
    background: linear-gradient(135deg, #ffd700, #ffb700);
    padding: 24px 60px;
}

.podium-item.second .podium-stand {
    background: linear-gradient(135deg, #c0c0c0, #a0a0a0);
}

.podium-item.third .podium-stand {
    background: linear-gradient(135deg, #cd7f32, #b87333);
}

.podium-position {
    font-size: 28px;
    font-weight: 800;
    color: rgba(0, 0, 0, 0.3);
}

.podium-item.first .podium-position {
    font-size: 36px;
}

/* My Position Card */
.my-position-card {
    background: linear-gradient(135deg, var(--accent-primary), var(--accent-secondary));
    border-radius: var(--border-radius-lg);
    overflow: hidden;
    margin-bottom: 24px;
}

.my-position-header {
    padding: 16px 20px;
    background: rgba(0, 0, 0, 0.1);
}

.my-position-header h3 {
    margin: 0;
    color: white;
    font-size: 1rem;
}

.my-position-content {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 20px;
}

.my-rank {
    font-size: 2rem;
    font-weight: 800;
    color: white;
}

.my-avatar {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.2);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-weight: 700;
    font-size: 20px;
    overflow: hidden;
}

.my-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.my-info {
    flex: 1;
}

.my-name {
    display: block;
    font-weight: 600;
    color: white;
    font-size: 16px;
}

.my-level {
    font-size: 13px;
    opacity: 0.9;
}

.my-points {
    font-size: 1.25rem;
    font-weight: 700;
    color: white;
}

/* Ranking List Full */
.ranking-list-full {
    background: var(--bg-secondary);
    border-radius: var(--border-radius-lg);
    overflow: hidden;
    margin-bottom: 24px;
}

.ranking-table-header {
    display: grid;
    grid-template-columns: 60px 1fr 120px 100px;
    padding: 16px 20px;
    background: var(--bg-tertiary);
    font-weight: 600;
    color: var(--text-muted);
    font-size: 13px;
}

.ranking-table-row {
    display: grid;
    grid-template-columns: 60px 1fr 120px 100px;
    padding: 16px 20px;
    align-items: center;
    border-bottom: 1px solid var(--border-color);
    text-decoration: none;
    transition: background 0.3s ease;
}

.ranking-table-row:hover {
    background: var(--bg-tertiary);
}

.ranking-table-row.is-me {
    background: rgba(255, 107, 53, 0.1);
}

.ranking-table-row .col-rank {
    font-weight: 600;
    color: var(--text-primary);
}

.ranking-table-row .col-member {
    display: flex;
    align-items: center;
    gap: 12px;
}

.member-avatar-small {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: var(--accent-gradient);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-weight: 600;
    overflow: hidden;
}

.member-avatar-small img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.col-member .member-name {
    font-weight: 500;
    color: var(--text-primary);
}

.col-level {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 14px;
}

.col-points {
    font-weight: 600;
    color: var(--text-primary);
    text-align: right;
}

/* How to Earn Points */
.how-to-earn-card {
    background: var(--bg-secondary);
    border-radius: var(--border-radius-lg);
    padding: 24px;
}

.how-to-earn-card h3 {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 20px;
    font-size: 1.1rem;
}

.how-to-earn-card h3 i {
    color: #f1c40f;
}

.points-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.points-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px;
    background: var(--bg-tertiary);
    border-radius: var(--border-radius-md);
}

.points-icon {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: var(--accent-gradient);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
}

.points-action {
    flex: 1;
    color: var(--text-secondary);
}

.points-value {
    font-weight: 700;
    color: var(--accent-primary);
}

/* =====================================================
   COMMUNITY HUB (Dashboard Section)
   ===================================================== */

.community-hub-section {
    margin-top: 40px;
}

.community-hub-grid {
    display: grid;
    grid-template-columns: 1fr 340px;
    gap: 24px;
    margin-bottom: 24px;
}

.hub-card {
    background: var(--bg-secondary);
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius-lg);
    overflow: hidden;
}

.hub-card-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 16px 20px;
    border-bottom: 1px solid var(--border-color);
}

.hub-card-header h4 {
    margin: 0;
    font-size: 15px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.hub-card-header a {
    color: var(--accent-primary);
    font-size: 13px;
    text-decoration: none;
}

.hub-card-header a:hover {
    text-decoration: underline;
}

.hub-card-cta {
    display: block;
    text-align: center;
    padding: 14px;
    background: var(--bg-tertiary);
    color: var(--accent-primary);
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s ease;
}

.hub-card-cta:hover {
    background: var(--accent-primary);
    color: white;
}

.hub-card-cta i {
    margin-right: 6px;
}

/* Hub Posts */
.hub-posts-list {
    padding: 16px;
    min-height: 200px;
}

.hub-post-item {
    display: flex;
    gap: 12px;
    padding: 12px;
    border-radius: var(--border-radius-md);
    margin-bottom: 12px;
    background: var(--bg-tertiary);
}

.hub-post-avatar {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: var(--accent-gradient);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-weight: 600;
    overflow: hidden;
    flex-shrink: 0;
}

.hub-post-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.hub-post-content {
    flex: 1;
    min-width: 0;
}

.hub-post-header {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 4px;
}

.hub-post-author {
    font-weight: 600;
    color: var(--text-primary);
    font-size: 14px;
}

.hub-post-time {
    font-size: 12px;
    color: var(--text-muted);
}

.hub-post-text {
    color: var(--text-secondary);
    font-size: 14px;
    margin: 0 0 8px;
    line-height: 1.4;
}

.hub-post-stats {
    display: flex;
    gap: 12px;
    font-size: 12px;
    color: var(--text-muted);
}

.hub-post-stats i {
    margin-right: 4px;
}

.hub-post-placeholder {
    display: flex;
    gap: 12px;
    padding: 12px;
    animation: pulse 1.5s infinite;
}

.placeholder-avatar {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: var(--bg-tertiary);
}

.placeholder-content {
    flex: 1;
}

.placeholder-line {
    height: 12px;
    background: var(--bg-tertiary);
    border-radius: 6px;
    margin-bottom: 8px;
}

.placeholder-line.short {
    width: 60%;
}

@keyframes pulse {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.5; }
}

.hub-empty {
    text-align: center;
    padding: 30px;
    color: var(--text-muted);
}

.hub-empty i {
    font-size: 32px;
    margin-bottom: 12px;
    opacity: 0.5;
}

/* Hub Ranking */
.hub-ranking-list {
    padding: 12px 16px;
}

.hub-ranking-item {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 8px;
    border-radius: var(--border-radius-md);
    text-decoration: none;
    margin-bottom: 4px;
    transition: background 0.3s ease;
}

.hub-ranking-item:hover {
    background: var(--bg-tertiary);
}

.hub-rank {
    width: 24px;
    height: 24px;
    border-radius: 50%;
    background: var(--bg-tertiary);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 12px;
    font-weight: 700;
    color: var(--text-secondary);
}

.hub-rank.top-1 { background: linear-gradient(135deg, #ffd700, #ffb700); color: #000; }
.hub-rank.top-2 { background: linear-gradient(135deg, #c0c0c0, #a0a0a0); color: #000; }
.hub-rank.top-3 { background: linear-gradient(135deg, #cd7f32, #b87333); color: #fff; }

.hub-rank-avatar {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: var(--accent-gradient);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-weight: 600;
    font-size: 13px;
    overflow: hidden;
}

.hub-rank-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.hub-rank-name {
    flex: 1;
    font-weight: 500;
    color: var(--text-primary);
    font-size: 14px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.hub-rank-points {
    font-size: 12px;
    color: var(--text-muted);
}

/* Hub Members */
.hub-members-list {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    padding: 16px;
}

.hub-member-item {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: var(--accent-gradient);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-weight: 600;
    text-decoration: none;
    transition: transform 0.3s ease;
    overflow: hidden;
}

.hub-member-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.hub-member-item:hover {
    transform: scale(1.1);
}

/* Quick Links Row */
.community-quick-links {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 16px;
}

.quick-link-card {
    display: flex;
    align-items: center;
    gap: 16px;
    background: var(--bg-secondary);
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius-lg);
    padding: 20px;
    text-decoration: none;
    transition: all 0.3s ease;
}

.quick-link-card:hover {
    border-color: var(--accent-primary);
    transform: translateY(-2px);
}

.quick-link-icon {
    width: 50px;
    height: 50px;
    border-radius: var(--border-radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 20px;
}

.quick-link-icon.feed { background: linear-gradient(135deg, #667eea, #764ba2); }
.quick-link-icon.ranking { background: linear-gradient(135deg, #f093fb, #f5576c); }
.quick-link-icon.members { background: linear-gradient(135deg, #4facfe, #00f2fe); }
.quick-link-icon.profile { background: linear-gradient(135deg, #43e97b, #38f9d7); }

.quick-link-info h5 {
    margin: 0 0 4px;
    color: var(--text-primary);
    font-size: 15px;
}

.quick-link-info span {
    font-size: 13px;
    color: var(--text-muted);
}

/* =====================================================
   COMMENTS IN PLAYER
   ===================================================== */

.comments-section-player {
    background: var(--bg-secondary);
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius-lg);
    padding: 24px;
    margin-top: 24px;
}

.comments-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
    padding-bottom: 16px;
    border-bottom: 1px solid var(--border-color);
}

.comments-header h3 {
    margin: 0;
    font-size: 1.1rem;
    display: flex;
    align-items: center;
    gap: 8px;
}

.comments-count-label {
    color: var(--text-muted);
    font-size: 14px;
}

.comment-form {
    margin-bottom: 24px;
}

.comment-input-wrapper {
    display: flex;
    gap: 12px;
}

.comment-user-avatar {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: var(--accent-gradient);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-weight: 600;
    font-size: 16px;
    flex-shrink: 0;
}

.comment-input-area {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.comment-input-area textarea {
    width: 100%;
    background: var(--bg-tertiary);
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius-md);
    padding: 14px;
    color: var(--text-primary);
    font-size: 15px;
    resize: none;
}

.comment-input-area textarea:focus {
    outline: none;
    border-color: var(--accent-primary);
}

.btn-comment {
    align-self: flex-end;
    padding: 10px 24px;
}

.comments-list-player {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.comment-item-player {
    display: flex;
    gap: 12px;
}

.comment-avatar-player {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: var(--accent-gradient);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-weight: 600;
    font-size: 16px;
    overflow: hidden;
    flex-shrink: 0;
    position: relative;
}

.comment-avatar-player img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.comment-level-dot {
    position: absolute;
    bottom: 0;
    right: 0;
    width: 14px;
    height: 14px;
    border-radius: 50%;
    border: 2px solid var(--bg-secondary);
}

.comment-body-player {
    flex: 1;
    background: var(--bg-tertiary);
    padding: 14px 18px;
    border-radius: var(--border-radius-md);
}

.comment-header-player {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 8px;
    flex-wrap: wrap;
}

.comment-author-player {
    font-weight: 600;
    color: var(--text-primary);
    text-decoration: none;
}

.comment-author-player:hover {
    color: var(--accent-primary);
}

.comment-level-name {
    font-size: 12px;
    font-weight: 500;
}

.comment-time-player {
    font-size: 12px;
    color: var(--text-muted);
    margin-left: auto;
}

.comment-text-player {
    color: var(--text-secondary);
    margin: 0 0 12px;
    line-height: 1.5;
}

.comment-actions-player {
    display: flex;
    gap: 16px;
}

.comment-like-btn {
    background: none;
    border: none;
    color: var(--text-muted);
    font-size: 13px;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 6px;
    transition: color 0.3s ease;
}

.comment-like-btn:hover,
.comment-like-btn.liked {
    color: #e74c3c;
}

.no-comments {
    text-align: center;
    padding: 40px;
    color: var(--text-muted);
}

.no-comments i {
    font-size: 36px;
    margin-bottom: 12px;
    opacity: 0.5;
}

/* =====================================================
   RESPONSIVE - Social Features
   ===================================================== */

@media (max-width: 1024px) {
    .feed-layout {
        grid-template-columns: 1fr;
    }
    
    .feed-sidebar {
        position: static;
        display: grid;
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }
    
    .profile-content-layout {
        grid-template-columns: 1fr;
    }
    
    .profile-sidebar {
        display: grid;
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }
    
    .community-hub-grid {
        grid-template-columns: 1fr;
    }
    
    .community-hub-sidebar {
        display: grid;
        grid-template-columns: repeat(2, 1fr);
        gap: 16px;
    }
    
    .community-quick-links {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .profile-stats-row {
        grid-template-columns: repeat(3, 1fr);
    }
    
    .podium-section {
        gap: 10px;
        padding: 20px 10px;
    }
    
    .podium-stand {
        padding: 12px 30px;
    }
    
    .podium-item.first .podium-stand {
        padding: 20px 40px;
    }
}

@media (max-width: 768px) {
    .feed-sidebar {
        grid-template-columns: 1fr;
    }
    
    .profile-sidebar {
        grid-template-columns: 1fr;
    }
    
    .community-hub-sidebar {
        grid-template-columns: 1fr;
    }
    
    .community-quick-links {
        grid-template-columns: 1fr;
    }
    
    .profile-stats-row {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .profile-info-section {
        flex-direction: column;
    }
    
    .profile-actions {
        width: 100%;
    }
    
    .profile-actions .btn {
        width: 100%;
    }
    
    .members-grid {
        grid-template-columns: 1fr;
    }
    
    .ranking-table-header,
    .ranking-table-row {
        grid-template-columns: 50px 1fr 80px;
    }
    
    .ranking-table-header .col-level,
    .ranking-table-row .col-level {
        display: none;
    }
    
    .podium-section {
        flex-direction: column;
        align-items: center;
    }
    
    .podium-item.second,
    .podium-item.first,
    .podium-item.third {
        order: unset;
    }
    
    .podium-item.first {
        order: -1;
    }
    
    .comment-input-wrapper {
        flex-direction: column;
    }
    
    .comment-user-avatar {
        display: none;
    }
}

@media (max-width: 575px) {
    .profile-avatar-large {
        width: 100px;
        height: 100px;
        bottom: -50px;
        left: 50%;
        transform: translateX(-50%);
    }
    
    .profile-info-section {
        text-align: center;
        padding-top: 60px;
    }
    
    .profile-level-info {
        justify-content: center;
    }
    
    .profile-social {
        justify-content: center;
    }
    
    .stat-card {
        flex-direction: column;
        text-align: center;
    }
    
    .filters-bar {
        flex-direction: column;
        align-items: stretch;
    }
    
    .filter-buttons {
        flex-wrap: wrap;
    }
    
    .filter-btn {
        flex: 1;
        justify-content: center;
    }
}

