/* =========================================
   COMUNIDADE.CSS - Parceiros e Cards de Streamers
   ========================================= */

.streamer-section { padding: 20px 0; }
.stream-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 20px; }

/* Cards de Streamers */
.stream-card {
    background: #0b1013; border: 1px solid var(--line); border-radius: 8px; overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
    display: flex; flex-direction: column; text-decoration: none !important;
    border-width: 1px; /* Garante espessura fina para a troca de cor */
}
.stream-card:hover { transform: translateY(-5px); border-color: var(--gold); box-shadow: 0 10px 20px rgba(0,0,0,0.5); }

/* Cores específicas de Hover (Padrão) */
.stream-card[data-platform="kick"]:hover { border-color: #53FC18; box-shadow: 0 0 15px rgba(83, 252, 24, 0.2); }
.stream-card[data-platform="twitch"]:hover { border-color: #9146FF; box-shadow: 0 0 15px rgba(145, 70, 255, 0.2); }

.card-thumb { width: 100%; aspect-ratio: 16/9; background: #000; position: relative; overflow: hidden; }
.card-thumb img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.5s ease; }
.stream-card:hover .card-thumb img { transform: scale(1.1); }

.live-tag {
    position: absolute; top: 8px; left: 8px; background: red; color: white;
    font-size: 9px; font-weight: bold; padding: 2px 6px; border-radius: 4px;
    box-shadow: 0 2px 5px rgba(0,0,0,0.5); animation: pulseLive 2s infinite;
}
@keyframes pulseLive { 0% { opacity: 1; } 50% { opacity: 0.7; } 100% { opacity: 1; } }

.card-info { padding: 12px; background: #10161a; flex: 1; }
.card-info h3 { margin: 0; font-size: 14px; color: var(--text); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }

/* Cabeçalhos de Seção */
.section-header { 
    display: flex; align-items: center; background: #10161a; padding: 10px 15px; 
    border-bottom: 1px solid var(--line); border-left: 4px solid var(--gold); 
    margin-bottom: 15px; margin-top: 30px; 
}
.section-header h2 { margin: 0; font-size: 14px; text-transform: uppercase; letter-spacing: 1px; color: var(--text); }
.section-header i { margin-right: 10px; }

/* Box de Solicitação */
.partner-box {
    background: linear-gradient(45deg, #0b1013, #161b1f); border: 1px solid var(--line);
    border-radius: 8px; padding: 30px; margin-top: 40px; display: flex; align-items: center; gap: 20px; transition: 0.3s;
}
.partner-box:hover { border-color: var(--gold); box-shadow: 0 0 20px rgba(198, 162, 74, 0.1); }
.partner-icon { 
    font-size: 50px; color: var(--gold); width: 80px; height: 80px; padding: 0; 
    border: 1px solid var(--line); border-radius: 50%; background: rgba(198, 162, 74, 0.1); 
    justify-content: center; display: flex; align-items: center;
}
.partner-content h3 { margin: 0 0 10px 0; color: var(--gold2); text-transform: uppercase; font-size: 18px; }

.btn-partner {
    display: inline-flex; background: var(--gold); color: #000; padding: 12px 25px;
    border-radius: 4px; font-weight: bold; text-transform: uppercase; text-decoration: none;
    transition: transform 0.2s; align-items: center; gap: 8px;
}
.btn-partner:hover { transform: scale(1.05); }

/* Info Bar (Parceiros Rotativo) */
.info-bar {
    background: #10161a; padding: 10px 15px; display: flex; justify-content: space-between;
    align-items: center; border: 1px solid var(--line); border-bottom: none; border-radius: 4px 4px 0 0;
}
.label-status { color: #ffd700; font-size: 11px; font-weight: bold; }
.streamer-highlight { color: #fff; font-weight: bold; text-transform: uppercase; font-size: 14px; }
.timer-info { font-family: monospace; font-size: 14px; color: #ff4444; font-weight: bold; }

.partners-shell {
    display: grid; grid-template-columns: 1fr 380px; height: 600px; background: #000;
}
@media (max-width: 1000px) { .partners-shell { grid-template-columns: 1fr; height: auto; } }

/* =========================================
   STATUS ONLINE / OFFLINE (Bordas)
   ========================================= */

/* ONLINE: Borda Verde Neon + Brilho */
.stream-card.status-on {
    border-color: #53FC18 !important;
    box-shadow: 0 0 15px rgba(83, 252, 24, 0.2);
    transform: translateY(-2px);
}

/* OFFLINE: Borda Vermelha + Levemente Apagado */
.stream-card.status-off {
    border-color: #ff4444 !important;
    opacity: 0.85; /* Fica um pouco mais escuro */
    filter: grayscale(30%); /* Tira um pouco da cor */
}

/* Quando passar o mouse no card offline, ele "acende" de novo */
.stream-card.status-off:hover {
    opacity: 1;
    filter: grayscale(0%);
    border-color: var(--gold) !important; /* Volta ao dourado no mouseover */
}