/* ============================================ */
/* COMPONENTS.CSS - COMPONENTES REUTILIZÁVEIS   */
/* SANTOBOLETO - SISTEMA DE DESIGN MODULAR      */
/* ============================================ */

/* ============================================ */
/* 1. HEADER / TOP BAR                         */
/* ============================================ */

.header {
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--border-light);
    position: sticky;
    top: 0;
    z-index: var(--z-header);
    padding: 0.75rem 2rem;
}

.header-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    max-width: 1400px;
    margin: 0 auto;
}

.header-left {
    display: flex;
    align-items: center;
    gap: 2rem;
}

.header-right {
    display: flex;
    align-items: center;
    gap: 1rem;
}

/* Busca no Header */
.header-search {
    display: flex;
    align-items: center;
    background: var(--bg-sidebar);
    border-radius: var(--radius-full);
    padding: 0.5rem 1rem;
    border: 1px solid var(--border-light);
    min-width: 300px;
}

.header-search i {
    color: var(--text-light);
    margin-right: 8px;
}

.header-search input {
    border: none;
    background: transparent;
    flex: 1;
    font-size: 0.9rem;
    outline: none;
}

.header-search input::placeholder {
    color: var(--text-light);
}

/* Ícones do Header */
.header-icon {
    position: relative;
    width: 44px;
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 12px;
    color: var(--text-muted);
    font-size: 1.2rem;
    cursor: pointer;
    transition: all var(--transition-base);
    background: transparent;
    border: none;
}

.header-icon:hover {
    background: var(--bg-sidebar);
    color: var(--brand-purple);
}

.header-icon .badge {
    position: absolute;
    top: 4px;
    right: 4px;
}

/* Lux no Header */
.header-lux {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 6px 14px;
    background: linear-gradient(135deg, var(--brand-purple) 0%, #5B4D7D 100%);
    border-radius: var(--radius-full);
    color: white;
}

.header-lux i {
    color: var(--lux-gold);
}

.header-lux .amount {
    font-weight: 800;
}

/* Streak no Header */
.header-streak {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 6px 14px;
    background: linear-gradient(135deg, #FF6B35 0%, #FF8C42 100%);
    border-radius: var(--radius-full);
    color: white;
}

.header-streak i {
    font-size: 1rem;
}

.header-streak .days {
    font-weight: 800;
}

/* ============================================ */
/* 2. CARDS DE BOLETO (FEED)                   */
/* ============================================ */

.feed-card {
    background: var(--bg-card);
    border-radius: var(--radius-lg);
    border: 1px solid var(--border-light);
    overflow: hidden;
    transition: all var(--transition-base);
    position: relative;
}

.feed-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-hover);
}

/* Tag de Lux no Card */
.feed-card-lux-tag {
    position: absolute;
    top: 12px;
    right: 12px;
    background: var(--lux-gold);
    color: var(--brand-purple);
    padding: 4px 10px;
    border-radius: var(--radius-full);
    font-size: 0.7rem;
    font-weight: 700;
    display: flex;
    align-items: center;
    gap: 4px;
    z-index: 5;
    box-shadow: var(--shadow-sm);
}

/* Header do Card */
.feed-card-header {
    padding: 1.2rem 1.5rem 0.5rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.feed-card-author {
    display: flex;
    align-items: center;
    gap: 12px;
}

.feed-card-avatar {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: var(--brand-purple);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-weight: 700;
    font-size: 1rem;
    flex-shrink: 0;
}

.feed-card-author-info h4 {
    font-size: 0.95rem;
    font-weight: 700;
    margin-bottom: 2px;
}

.feed-card-author-info .meta {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.7rem;
    color: var(--text-muted);
    flex-wrap: wrap;
}

.feed-card-category {
    padding: 4px 10px;
    background: rgba(212, 175, 55, 0.12);
    border-radius: var(--radius-full);
    font-size: 0.65rem;
    font-weight: 600;
    color: var(--brand-gold);
}

/* Corpo do Card */
.feed-card-body {
    padding: 0 1.5rem;
}

.feed-card-title {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--text-main);
    margin: 0.75rem 0 0.5rem;
    line-height: 1.4;
}

.feed-card-description {
    font-size: 0.85rem;
    color: var(--text-muted);
    line-height: 1.5;
    margin-bottom: 1rem;
}

/* Progresso no Card */
.feed-card-progress {
    margin: 1rem 0;
}

.feed-card-progress-header {
    display: flex;
    justify-content: space-between;
    font-size: 0.75rem;
    color: var(--text-muted);
    margin-bottom: 6px;
}

.feed-card-progress-bar {
    height: 6px;
    background: #EFE8DC;
    border-radius: 3px;
    overflow: hidden;
}

.feed-card-progress-fill {
    height: 100%;
    background: var(--brand-green);
    border-radius: 3px;
}

.feed-card-amount {
    font-size: 1.4rem;
    font-weight: 800;
    color: var(--brand-purple);
    margin: 0.75rem 0;
}

/* Footer do Card */
.feed-card-footer {
    padding: 1rem 1.5rem 1.2rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    border-top: 1px solid var(--border-light);
    flex-wrap: wrap;
    gap: 1rem;
}

.feed-card-actions {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

.feed-card-action-btn {
    background: none;
    border: none;
    display: flex;
    align-items: center;
    gap: 6px;
    color: var(--text-muted);
    font-size: 0.85rem;
    cursor: pointer;
    padding: 6px 12px;
    border-radius: var(--radius-full);
    transition: all var(--transition-base);
}

.feed-card-action-btn:hover {
    background: var(--bg-sidebar);
    color: var(--brand-purple);
}

.feed-card-action-btn.active {
    color: #e74c3c;
}

.feed-card-action-btn .fa-hands-clapping.active {
    color: var(--brand-gold);
}

.feed-card-help-btn {
    background: var(--brand-purple);
    color: white;
    border: none;
    padding: 8px 20px;
    border-radius: var(--radius-full);
    font-weight: 600;
    font-size: 0.85rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 6px;
    transition: all var(--transition-base);
}

.feed-card-help-btn:hover {
    background: var(--brand-purple-light);
    transform: scale(1.02);
}

/* ============================================ */
/* 3. CARDS DE PROJETO                         */
/* ============================================ */

.project-card {
    background: var(--bg-card);
    border-radius: var(--radius-lg);
    border: 1px solid var(--border-light);
    overflow: hidden;
    transition: all var(--transition-base);
    cursor: pointer;
}

.project-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-hover);
}

.project-card-cover {
    height: 160px;
    background-size: cover;
    background-position: center;
    position: relative;
}

.project-card-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 60px;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.5), transparent);
}

.project-card-status {
    position: absolute;
    top: 12px;
    right: 12px;
    padding: 4px 10px;
    border-radius: var(--radius-full);
    font-size: 0.65rem;
    font-weight: 700;
    text-transform: uppercase;
    background: rgba(255, 255, 255, 0.9);
}

.project-card-status.active {
    color: var(--brand-green);
}

.project-card-status.completed {
    color: var(--text-muted);
}

.project-card-content {
    padding: 1.5rem;
}

.project-card-creator {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 1rem;
}

.project-card-avatar {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: var(--brand-purple);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-weight: 600;
    font-size: 0.85rem;
}

.project-card-creator-info h4 {
    font-size: 0.9rem;
    font-weight: 700;
}

.project-card-creator-info span {
    font-size: 0.65rem;
    color: var(--text-muted);
}

.project-card-title {
    font-size: 1.1rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
}

.project-card-description {
    font-size: 0.8rem;
    color: var(--text-muted);
    line-height: 1.5;
    margin-bottom: 1rem;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.project-card-metrics {
    display: flex;
    gap: 1.2rem;
    padding-top: 1rem;
    border-top: 1px solid var(--border-light);
    flex-wrap: wrap;
}

.project-card-metric {
    display: flex;
    align-items: center;
    gap: 6px;
    color: var(--text-muted);
    font-size: 0.75rem;
}

.project-card-metric i {
    color: var(--brand-gold);
}

/* ============================================ */
/* 4. CARDS DE MISSÃO                          */
/* ============================================ */

.mission-card {
    background: var(--bg-card);
    border-radius: var(--radius-md);
    border: 1px solid var(--border-light);
    padding: 1.25rem;
    display: flex;
    align-items: center;
    gap: 1rem;
    transition: all var(--transition-base);
    flex-wrap: wrap;
}

.mission-card.completed {
    background: linear-gradient(135deg, var(--brand-green-light) 0%, white 100%);
    border-color: var(--brand-green);
}

.mission-card-icon {
    width: 50px;
    height: 50px;
    background: var(--bg-sidebar);
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    color: var(--brand-purple);
    flex-shrink: 0;
}

.mission-card.completed .mission-card-icon {
    background: var(--brand-green);
    color: white;
}

.mission-card-content {
    flex: 1;
    min-width: 150px;
}

.mission-card-header {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 0.5rem;
    flex-wrap: wrap;
}

.mission-card-title {
    font-weight: 700;
    font-size: 1rem;
}

.mission-card-description {
    font-size: 0.8rem;
    color: var(--text-muted);
    margin-bottom: 0.5rem;
}

.mission-card-progress {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    flex-wrap: wrap;
}

.mission-card-progress-bar {
    flex: 1;
    min-width: 100px;
    height: 6px;
    background: #EFE8DC;
    border-radius: 3px;
    overflow: hidden;
}

.mission-card-progress-fill {
    height: 100%;
    background: var(--brand-green);
    border-radius: 3px;
}

.mission-card-progress-text {
    font-size: 0.75rem;
    color: var(--text-muted);
    min-width: 50px;
}

.mission-card-reward {
    text-align: center;
    min-width: 80px;
}

.mission-card-reward-amount {
    font-size: 1.2rem;
    font-weight: 800;
    color: var(--lux-gold);
}

.mission-card-reward-label {
    font-size: 0.65rem;
    color: var(--text-muted);
}

.mission-card-status {
    margin-left: 0.5rem;
}

.mission-card-status i {
    font-size: 1.5rem;
    color: var(--brand-green);
}

/* ============================================ */
/* 5. CARDS DE CONQUISTA (ACHIEVEMENT)         */
/* ============================================ */

.achievement-card {
    background: var(--bg-card);
    border-radius: var(--radius-md);
    border: 1px solid var(--border-light);
    padding: 1.25rem;
    text-align: center;
    transition: all var(--transition-base);
}

.achievement-card.unlocked {
    background: linear-gradient(135deg, var(--brand-green-light) 0%, white 100%);
    border-color: var(--brand-green);
}

.achievement-card.locked {
    opacity: 0.7;
}

.achievement-card-icon {
    font-size: 2rem;
    margin-bottom: 0.75rem;
}

.achievement-card-name {
    font-weight: 700;
    font-size: 0.9rem;
    margin-bottom: 0.25rem;
}

.achievement-card-description {
    font-size: 0.7rem;
    color: var(--text-muted);
    margin-bottom: 0.5rem;
}

.achievement-card-reward {
    font-size: 0.8rem;
    color: var(--lux-gold);
    font-weight: 600;
}

.achievement-card-tier {
    display: inline-block;
    padding: 2px 8px;
    border-radius: var(--radius-full);
    font-size: 0.6rem;
    font-weight: 600;
    text-transform: uppercase;
    margin-top: 0.5rem;
}

.achievement-card-tier.bronze {
    background: #CD7F32;
    color: white;
}

.achievement-card-tier.prata {
    background: #C0C0C0;
    color: var(--text-main);
}

.achievement-card-tier.ouro {
    background: var(--brand-gold);
    color: var(--text-main);
}

.achievement-card-tier.diamante {
    background: #B9F2FF;
    color: #0369A1;
}

.achievement-card-tier.lendario {
    background: linear-gradient(135deg, var(--brand-purple), #8B5CF6);
    color: white;
}

/* ============================================ */
/* 6. PODIUM (RANKING)                         */
/* ============================================ */

.podium {
    display: flex;
    justify-content: center;
    align-items: flex-end;
    gap: 1.5rem;
    padding: 2rem 1rem;
    flex-wrap: wrap;
}

.podium-item {
    text-align: center;
    width: 180px;
}

.podium-item.first {
    transform: translateY(-15px);
}

.podium-medal {
    font-size: 2.5rem;
    margin-bottom: 0.5rem;
}

.podium-avatar {
    width: 80px;
    height: 80px;
    margin: 0 auto 1rem;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--brand-purple), #5B4D7D);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-weight: 700;
    font-size: 1.8rem;
    border: 3px solid var(--brand-gold);
}

.podium-item.first .podium-avatar {
    width: 100px;
    height: 100px;
    font-size: 2.2rem;
    border-color: var(--lux-gold);
    box-shadow: 0 8px 20px rgba(212, 175, 55, 0.3);
}

.podium-name {
    font-weight: 700;
    font-size: 1rem;
    margin-bottom: 4px;
}

.podium-level {
    display: inline-block;
    padding: 4px 10px;
    border-radius: var(--radius-full);
    font-size: 0.65rem;
    font-weight: 600;
    background: rgba(60, 42, 93, 0.1);
    margin-bottom: 8px;
}

.podium-score {
    font-size: 1.3rem;
    font-weight: 800;
    color: var(--lux-gold);
}

.podium-score small {
    font-size: 0.7rem;
    color: var(--text-muted);
    font-weight: 400;
}

/* ============================================ */
/* 7. TIMELINE (PROJETOS)                      */
/* ============================================ */

.timeline {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.timeline-item {
    display: flex;
    gap: 1.5rem;
    flex-wrap: wrap;
}

.timeline-marker {
    display: flex;
    flex-direction: column;
    align-items: center;
    flex-shrink: 0;
}

.timeline-dot {
    width: 14px;
    height: 14px;
    background: var(--brand-green);
    border-radius: 50%;
    border: 3px solid white;
    box-shadow: 0 0 0 2px var(--brand-green);
    margin-top: 4px;
}

.timeline-line {
    width: 2px;
    flex: 1;
    background: var(--border-light);
    margin-top: 8px;
}

.timeline-item:last-child .timeline-line {
    display: none;
}

.timeline-content {
    flex: 1;
    padding-bottom: 1.5rem;
    min-width: 200px;
}

.timeline-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 0.75rem;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.timeline-title {
    font-weight: 700;
    font-size: 1.1rem;
}

.timeline-date {
    font-size: 0.75rem;
    color: var(--text-muted);
}

.timeline-text {
    color: var(--text-muted);
    line-height: 1.6;
    margin-bottom: 1rem;
}

.timeline-images {
    display: flex;
    gap: 0.75rem;
    flex-wrap: wrap;
}

.timeline-image {
    width: 100px;
    height: 100px;
    border-radius: var(--radius-sm);
    background-size: cover;
    background-position: center;
    cursor: pointer;
    transition: transform var(--transition-base);
}

.timeline-image:hover {
    transform: scale(1.05);
}

/* ============================================ */
/* 8. COMENTÁRIOS                              */
/* ============================================ */

.comments-section {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.comment-form {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

.comment-form-avatar {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: var(--brand-purple);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-weight: 600;
    flex-shrink: 0;
}

.comment-form-input {
    flex: 1;
    min-width: 200px;
}

.comment-form-input textarea {
    width: 100%;
    padding: 0.75rem 1rem;
    border: 1px solid var(--border-light);
    border-radius: var(--radius-md);
    font-size: 0.9rem;
    font-family: inherit;
    resize: vertical;
    min-height: 80px;
}

.comment-form-input textarea:focus {
    outline: none;
    border-color: var(--brand-purple);
}

.comment-form-actions {
    display: flex;
    justify-content: flex-end;
    margin-top: 0.5rem;
}

.comments-list {
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
}

.comment-item {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

.comment-avatar {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: var(--brand-purple);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-weight: 600;
    flex-shrink: 0;
}

.comment-content {
    flex: 1;
    min-width: 200px;
}

.comment-header {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 0.25rem;
    flex-wrap: wrap;
}

.comment-author {
    font-weight: 700;
    font-size: 0.9rem;
}

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

.comment-text {
    font-size: 0.9rem;
    color: var(--text-muted);
    line-height: 1.5;
}

.comment-actions {
    display: flex;
    gap: 1rem;
    margin-top: 0.5rem;
    flex-wrap: wrap;
}

.comment-action-btn {
    background: none;
    border: none;
    font-size: 0.75rem;
    color: var(--text-muted);
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 4px;
    padding: 4px 8px;
    border-radius: var(--radius-full);
    transition: all var(--transition-base);
}

.comment-action-btn:hover {
    background: var(--bg-sidebar);
    color: var(--brand-purple);
}

/* ============================================ */
/* 9. MODAIS ESPECÍFICOS                       */
/* ============================================ */

/* Modal de Pagamento */
.payment-modal .boleto-summary {
    background: var(--bg-sidebar);
    border-radius: var(--radius-md);
    padding: 1.25rem;
    margin-bottom: 1.5rem;
}

.payment-modal .boleto-summary p {
    display: flex;
    justify-content: space-between;
    margin-bottom: 0.5rem;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.payment-modal .boleto-summary p:last-child {
    margin-bottom: 0;
}

.payment-modal .lux-estimate {
    background: rgba(255, 215, 0, 0.1);
    border-radius: var(--radius-md);
    padding: 1rem;
    text-align: center;
    margin: 1.5rem 0;
    border: 1px dashed var(--lux-gold);
}

.payment-modal .lux-estimate i {
    color: var(--lux-gold);
    margin-right: 6px;
}

.payment-modal .lux-estimate strong {
    color: var(--lux-gold);
    font-size: 1.2rem;
}

/* Modal de Confirmação */
.confirm-modal .modal-icon {
    font-size: 4rem;
    color: var(--brand-green);
    text-align: center;
    margin-bottom: 1rem;
}

.confirm-modal .modal-message {
    text-align: center;
    font-size: 1.1rem;
    margin-bottom: 1.5rem;
}

.confirm-modal .lux-earned {
    text-align: center;
    padding: 1rem;
    background: linear-gradient(135deg, var(--brand-purple) 0%, #5B4D7D 100%);
    border-radius: var(--radius-md);
    color: white;
    margin-bottom: 1.5rem;
}

.confirm-modal .lux-earned i {
    color: var(--lux-gold);
    margin-right: 6px;
}

.confirm-modal .lux-earned .amount {
    font-size: 2rem;
    font-weight: 800;
    color: var(--lux-gold);
}

/* ============================================ */
/* 10. ESTADOS VAZIOS (EMPTY STATES)           */
/* ============================================ */

.empty-state {
    text-align: center;
    padding: 4rem 2rem;
    background: var(--bg-card);
    border-radius: var(--radius-lg);
    border: 1px solid var(--border-light);
}

.empty-state-icon {
    font-size: 4rem;
    color: var(--text-light);
    margin-bottom: 1.5rem;
    opacity: 0.5;
}

.empty-state-title {
    font-size: 1.3rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
}

.empty-state-description {
    color: var(--text-muted);
    margin-bottom: 1.5rem;
    max-width: 400px;
    margin-left: auto;
    margin-right: auto;
}

/* ============================================ */
/* 11. BANNERS E DESTAQUES                     */
/* ============================================ */

/* Banner de Gamificação */
.gamification-banner {
    background: linear-gradient(135deg, var(--brand-purple) 0%, #5B4D7D 100%);
    padding: 1rem 0;
    color: white;
}

.gamification-banner-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 1rem;
}

/* Banner de Streak */
.streak-banner {
    background: linear-gradient(135deg, #FF6B35 0%, #FF8C42 100%);
    border-radius: var(--radius-lg);
    padding: 1.5rem 2rem;
    color: white;
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 1rem;
}

.streak-banner-left {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    flex-wrap: wrap;
}

.streak-banner-icon {
    font-size: 3rem;
    animation: flameFlicker 2s infinite;
}

.streak-banner-info h3 {
    color: white;
    font-size: 0.9rem;
    font-weight: 400;
    opacity: 0.9;
    margin-bottom: 4px;
}

.streak-banner-info .streak-number {
    font-size: 2.5rem;
    font-weight: 800;
    line-height: 1;
}

.streak-banner-right {
    text-align: right;
}

.streak-banner-right .label {
    font-size: 0.8rem;
    opacity: 0.8;
}

.streak-banner-right .value {
    font-size: 1.8rem;
    font-weight: 700;
}

/* Banner de Bônus */
.bonus-banner {
    background: linear-gradient(135deg, var(--brand-green) 0%, #1B8A3A 100%);
    border-radius: var(--radius-lg);
    padding: 1.25rem 2rem;
    color: white;
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 1rem;
}

.bonus-banner.completed {
    background: linear-gradient(135deg, var(--brand-gold) 0%, #B8962E 100%);
}

.bonus-banner-left {
    display: flex;
    align-items: center;
    gap: 1rem;
    flex-wrap: wrap;
}

.bonus-banner-icon {
    font-size: 2rem;
    color: var(--lux-gold);
}

.bonus-banner-info h4 {
    color: white;
    margin-bottom: 2px;
}

.bonus-banner-info p {
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 0;
}

.bonus-banner-reward {
    text-align: center;
    padding: 0.5rem 1.5rem;
    background: rgba(255, 255, 255, 0.15);
    border-radius: var(--radius-full);
}

.bonus-banner-reward .amount {
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--lux-gold);
}

/* ============================================ */
/* 12. DROPDOWNS E MENUS                       */
/* ============================================ */

.dropdown {
    position: relative;
    display: inline-block;
}

.dropdown-toggle {
    cursor: pointer;
}

.dropdown-menu {
    position: absolute;
    top: 100%;
    right: 0;
    min-width: 200px;
    background: white;
    border-radius: var(--radius-md);
    border: 1px solid var(--border-light);
    box-shadow: var(--shadow-lg);
    padding: 0.5rem;
    z-index: 100;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: all var(--transition-base);
}

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

.dropdown-item {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 0.6rem 1rem;
    color: var(--text-main);
    text-decoration: none;
    border-radius: var(--radius-sm);
    transition: background var(--transition-base);
    cursor: pointer;
}

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

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

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

.dropdown-divider {
    height: 1px;
    background: var(--border-light);
    margin: 0.5rem 0;
}

/* ============================================ */
/* 13. TOOLTIPS                                */
/* ============================================ */

.tooltip {
    position: relative;
    display: inline-block;
}

.tooltip-text {
    position: absolute;
    bottom: 100%;
    left: 50%;
    transform: translateX(-50%);
    background: var(--text-main);
    color: white;
    padding: 0.4rem 0.8rem;
    border-radius: var(--radius-sm);
    font-size: 0.75rem;
    white-space: nowrap;
    opacity: 0;
    visibility: hidden;
    transition: all var(--transition-base);
    pointer-events: none;
    margin-bottom: 8px;
}

.tooltip-text::after {
    content: '';
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translateX(-50%);
    border: 5px solid transparent;
    border-top-color: var(--text-main);
}

.tooltip:hover .tooltip-text {
    opacity: 1;
    visibility: visible;
}

/* ============================================ */
/* 14. PAGINAÇÃO                               */
/* ============================================ */

.pagination {
    display: flex;
    justify-content: center;
    gap: 0.5rem;
    margin-top: 2rem;
    flex-wrap: wrap;
}

.pagination-btn {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: var(--radius-sm);
    background: white;
    border: 1px solid var(--border-light);
    color: var(--text-main);
    font-weight: 500;
    cursor: pointer;
    transition: all var(--transition-base);
}

.pagination-btn:hover:not(:disabled) {
    background: var(--bg-sidebar);
    border-color: var(--brand-purple);
}

.pagination-btn.active {
    background: var(--brand-purple);
    color: white;
    border-color: var(--brand-purple);
}

.pagination-btn:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

.pagination-ellipsis {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-muted);
}

/* ============================================ */
/* 15. TABS E FILTROS                          */
/* ============================================ */

.filter-bar {
    display: flex;
    gap: 0.5rem;
    flex-wrap: wrap;
    margin-bottom: 1.5rem;
}

.filter-chip {
    padding: 0.5rem 1.2rem;
    background: white;
    border: 1px solid var(--border-light);
    border-radius: var(--radius-full);
    font-weight: 500;
    font-size: 0.85rem;
    color: var(--text-muted);
    cursor: pointer;
    transition: all var(--transition-base);
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.filter-chip i {
    font-size: 0.9rem;
}

.filter-chip:hover {
    background: var(--bg-hover);
}

.filter-chip.active {
    background: var(--brand-green);
    color: white;
    border-color: var(--brand-green);
}

/* ============================================ */
/* 16. ANIMAÇÕES                               */
/* ============================================ */

@keyframes flameFlicker {
    0%, 100% {
        transform: scale(1);
        filter: brightness(1);
    }
    25% {
        transform: scale(1.05);
        filter: brightness(1.1);
    }
    50% {
        transform: scale(0.98);
        filter: brightness(0.95);
    }
    75% {
        transform: scale(1.02);
        filter: brightness(1.05);
    }
}

/* ============================================ */
/* 17. RESPONSIVIDADE DOS COMPONENTES          */
/* ============================================ */

@media (max-width: 992px) {
    .header-search {
        min-width: 200px;
    }
}

@media (max-width: 768px) {
    .header-search {
        min-width: auto;
        width: 100%;
    }
    
    .header-container {
        flex-wrap: wrap;
    }
    
    .header-left {
        order: 1;
    }
    
    .header-search {
        order: 3;
        width: 100%;
        margin-top: 0.5rem;
    }
    
    .header-right {
        order: 2;
        margin-left: auto;
    }
    
    .podium {
        flex-direction: column;
        align-items: center;
    }
    
    .podium-item.first {
        transform: none;
        order: -1;
    }
    
    .timeline-item {
        gap: 1rem;
    }
    
    .comment-form {
        flex-direction: column;
    }
    
    .comment-form-avatar {
        align-self: flex-start;
    }
}

@media (max-width: 576px) {
    .filter-bar {
        flex-wrap: nowrap;
        overflow-x: auto;
        padding-bottom: 0.5rem;
        -webkit-overflow-scrolling: touch;
    }
    
    .filter-chip {
        white-space: nowrap;
        flex-shrink: 0;
    }
    
    .feed-card-header {
        flex-direction: column;
        align-items: flex-start;
    }
    
    .feed-card-footer {
        flex-direction: column;
    }
    
    .feed-card-help-btn {
        width: 100%;
        justify-content: center;
    }
    
    .mission-card {
        flex-direction: column;
        align-items: flex-start;
    }
    
    .mission-card-reward {
        width: 100%;
        display: flex;
        justify-content: space-between;
        align-items: center;
    }
    
    .mission-card-status {
        margin-left: 0;
    }
    
    .pagination-btn {
        width: 36px;
        height: 36px;
    }
}