/* =============================================
   INDEX EXTRA - EVENTO EM DESTAQUE
   ============================================= */

/* Botão Terciário nos CTAs */
.btn-cta-tertiary {
    padding: 16px 40px;
    background: transparent;
    border: 2px solid rgba(245, 158, 11, 0.5);
    border-radius: 12px;
    font-size: 16px;
    font-weight: 700;
    color: var(--accent-light);
    cursor: pointer;
    transition: var(--transition);
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.btn-cta-tertiary:hover {
    background: rgba(245, 158, 11, 0.15);
    border-color: var(--accent);
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(245, 158, 11, 0.3);
}

/* Featured Event Section */
.featured-event-section {
    padding: 100px 20px;
    background: rgba(255, 255, 255, 0.02);
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.featured-event-container {
    max-width: 900px;
    margin: 0 auto;
}

/* Loading & Empty States */
.loading-placeholder,
.empty-state,
.error-state {
    text-align: center;
    padding: 80px 20px;
    color: var(--text-secondary);
}

.loading-placeholder .spinner {
    margin: 0 auto 24px;
}

.empty-icon {
    font-size: 72px;
    margin-bottom: 24px;
    opacity: 0.5;
}

.empty-state h3 {
    font-size: 24px;
    margin-bottom: 12px;
    color: var(--text-primary);
}

.empty-state p {
    font-size: 16px;
    color: var(--text-secondary);
}

/* Featured Event Card */
.featured-event-card {
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.08) 0%, rgba(255, 255, 255, 0.04) 100%);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 24px;
    overflow: hidden;
    transition: var(--transition);
    position: relative;
}

.featured-event-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, #6366f1 0%, #f59e0b 100%);
    opacity: 0;
    transition: var(--transition);
}

.featured-event-card:hover {
    background: linear-gradient(135deg, rgba(99, 102, 241, 0.12) 0%, rgba(245, 158, 11, 0.08) 100%);
    border-color: rgba(99, 102, 241, 0.4);
    transform: translateY(-8px);
    box-shadow: 0 20px 60px rgba(99, 102, 241, 0.4);
}

.featured-event-card:hover::before {
    opacity: 1;
}

/* Header */
.featured-event-header {
    padding: 40px 40px 32px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.featured-event-badge {
    display: inline-block;
    padding: 8px 18px;
    border-radius: 20px;
    font-size: 13px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 20px;
}

.featured-event-badge.badge-free {
    background: rgba(34, 197, 94, 0.2);
    color: #86efac;
    border: 1px solid rgba(34, 197, 94, 0.3);
}

.featured-event-badge.badge-paid {
    background: rgba(245, 158, 11, 0.2);
    color: #fbbf24;
    border: 1px solid rgba(245, 158, 11, 0.3);
}

.featured-event-title {
    font-size: 36px;
    font-weight: 800;
    line-height: 1.2;
    background: linear-gradient(135deg, #ffffff 0%, #a1a1aa 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* Body */
.featured-event-body {
    padding: 40px;
}

.featured-event-info {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 20px;
    margin-bottom: 32px;
}

.info-row {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 16px;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    transition: var(--transition);
}

.info-row:hover {
    background: rgba(99, 102, 241, 0.08);
    border-color: rgba(99, 102, 241, 0.3);
    transform: translateX(4px);
}

.info-row svg {
    color: var(--primary-light);
    flex-shrink: 0;
}

.info-row span {
    font-size: 15px;
    color: var(--text-secondary);
    font-weight: 500;
}

/* Description */
.featured-event-description {
    padding: 24px;
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 12px;
    margin-bottom: 32px;
}

.featured-event-description p {
    font-size: 15px;
    line-height: 1.7;
    color: var(--text-secondary);
}

/* Progress */
.featured-event-progress {
    margin-top: 32px;
}

.progress-info {
    display: flex;
    justify-content: space-between;
    margin-bottom: 12px;
    font-size: 14px;
    color: var(--text-secondary);
    font-weight: 600;
}

.progress-bar {
    width: 100%;
    height: 12px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 6px;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.progress-fill {
    height: 100%;
    background: linear-gradient(90deg, #6366f1 0%, #f59e0b 100%);
    border-radius: 6px;
    transition: width 1s ease-out;
    box-shadow: 0 0 12px rgba(99, 102, 241, 0.6);
}

/* Footer */
.featured-event-footer {
    padding: 32px 40px 40px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.btn-featured-event {
    width: 100%;
    padding: 18px 32px;
    background: linear-gradient(135deg, #6366f1 0%, #4f46e5 100%);
    border: none;
    border-radius: 14px;
    font-size: 18px;
    font-weight: 700;
    color: white;
    cursor: pointer;
    transition: var(--transition);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    box-shadow: 0 8px 24px rgba(99, 102, 241, 0.4);
}

.btn-featured-event:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 32px rgba(99, 102, 241, 0.6);
}

.btn-featured-event:active {
    transform: translateY(-2px);
}

.btn-featured-event svg {
    animation: pulse 2s ease-in-out infinite;
}

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

/* =============================================
   RESPONSIVE
   ============================================= */

@media (max-width: 768px) {
    .cta-buttons {
        flex-direction: column;
        width: 100%;
    }
    
    .btn-cta-primary,
    .btn-cta-secondary,
    .btn-cta-tertiary {
        width: 100%;
        justify-content: center;
    }
    
    .featured-event-section {
        padding: 60px 16px;
    }
    
    .featured-event-header,
    .featured-event-body,
    .featured-event-footer {
        padding: 32px 24px;
    }
    
    .featured-event-title {
        font-size: 28px;
    }
    
    .featured-event-info {
        grid-template-columns: 1fr;
    }
    
    .btn-featured-event {
        padding: 16px 24px;
        font-size: 16px;
    }
}

@media (max-width: 480px) {
    .featured-event-header,
    .featured-event-body,
    .featured-event-footer {
        padding: 24px 20px;
    }
    
    .featured-event-title {
        font-size: 24px;
    }
    
    .info-row {
        padding: 12px;
    }
    
    .info-row span {
        font-size: 14px;
    }

   /* =============================================
   CARROSSEL - CORREÇÃO "FORÇA BRUTA"
   ============================================= */

/* Container Principal */
.carousel-wrapper {
    position: relative;
    width: 100%;
    margin: 0 auto;
    /* TAMANHO NO PC: Reduzi para 550px para não ficar gigante */
    max-width: 550px; 
    overflow: hidden; /* Garante que nada saia das bordas */
    padding: 10px 0; /* Espaço para sombra não cortar */
}

/* A Janela onde os slides passam */
.carousel-track-container {
    width: 100%;
    position: relative;
    overflow: hidden;
    border-radius: 20px;
}

/* A Trilha (Onde a mágica acontece) */
/* O !important garante que NADA vai quebrar essa regra */
.carousel-track {
    display: flex !important;       /* OBRIGA ser flexível */
    flex-direction: row !important; /* OBRIGA ser linha horizontal */
    flex-wrap: nowrap !important;   /* OBRIGA não cair para a linha de baixo */
    width: 100%;
    height: 100%;
    padding: 0;
    margin: 0;
    list-style: none; /* Remove bolinhas de lista */
    transition: transform 0.5s ease-in-out; /* Animação suave */
}

/* O Slide Individual */
.carousel-slide {
    /* Trava a largura: Nem mais, nem menos que 100% */
    flex: 0 0 100% !important; 
    width: 100% !important;
    min-width: 100% !important;
    max-width: 100% !important;
    
    display: block;
    position: relative;
    box-sizing: border-box;
}

/* Ajuste do Card dentro do Slide */
.carousel-slide .featured-event-card {
    margin: 0;
    width: 100%;
    height: 100%;
    box-shadow: 0 10px 30px rgba(0,0,0,0.3); /* Sombra bonita */
}

/* --- BOTÕES (SETAS) --- */
.carousel-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(20, 20, 30, 0.8);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: white;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    cursor: pointer;
    z-index: 50; /* Z-index alto para ficar acima de tudo */
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.carousel-btn:hover {
    background: var(--primary);
    transform: translateY(-50%) scale(1.1);
}

/* Afastei um pouco mais para não ficar em cima do texto */
.prev-btn { left: 10px; }
.next-btn { right: 10px; }

/* --- INDICADORES (BOLINHAS) --- */
.carousel-nav {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-top: 20px;
}

.carousel-indicator {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.2);
    border: none;
    cursor: pointer;
    transition: all 0.3s;
    padding: 0;
}

.carousel-indicator.current-slide {
    background: var(--primary);
    transform: scale(1.3);
}

/* --- RESPONSIVIDADE (Celular) --- */
@media (max-width: 768px) {
    .carousel-wrapper {
        max-width: 100%; /* No celular ocupa tudo */
        padding: 0 15px; /* Margem lateral no celular */
    }
    
    .carousel-btn {
        display: none !important; /* Esconde setas no celular */
    }
    
    .carousel-track-container {
        border-radius: 16px;
    }
}



}