/* =============================================
   ESTILOS FORO HELLMOKSHA
   ============================================= */

.main-content { 
    padding: 20px 30px; 
    max-width: 1400px; 
    margin: 0 auto; 
}

/* ===== HERO ===== */
.hero-foro {
    background: linear-gradient(135deg, #1a0000, #0a0a0a);
    border-bottom: 3px solid #e63946;
    padding: 25px 30px;
    border-radius: 16px;
    margin-bottom: 25px;
    text-align: center;
    position: relative;
    overflow: hidden;
}
.hero-foro::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(230,57,70,0.05) 0%, transparent 70%);
    animation: heroGlow 8s ease-in-out infinite;
}
@keyframes heroGlow {
    0%, 100% { transform: translate(0, 0); }
    50% { transform: translate(10%, 10%); }
}
.hero-foro h1 {
    font-family: 'Bangers', cursive;
    color: #e63946;
    font-size: 38px;
    letter-spacing: 3px;
    text-shadow: 0 0 40px rgba(230,57,70,0.2);
    position: relative;
    z-index: 1;
}
.hero-foro p { 
    color: #aaa; 
    font-size: 15px; 
    position: relative; 
    z-index: 1; 
}
.hero-foro .hero-stats {
    display: flex;
    justify-content: center;
    gap: 25px;
    margin-top: 12px;
    position: relative;
    z-index: 1;
}
.hero-foro .hero-stats span { 
    color: #888; 
    font-size: 12px; 
}
.hero-foro .hero-stats span strong { 
    color: #fff; 
}

/* ===== NAV FORO ===== */
.nav-foro {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 15px;
    background: #111;
    padding: 12px 20px;
    border-radius: 12px;
    border: 1px solid #222;
    margin-bottom: 25px;
}
.nav-foro .nav-links {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}
.nav-foro .nav-links a {
    color: #aaa;
    text-decoration: none;
    font-size: 13px;
    font-weight: 600;
    padding: 6px 16px;
    border-radius: 20px;
    transition: all 0.3s;
}
.nav-foro .nav-links a:hover {
    background: rgba(230,57,70,0.15);
    color: #e63946;
}
.nav-foro .nav-links a.active {
    background: #e63946;
    color: #fff;
}
.nav-foro .btn-volver {
    background: transparent;
    border: 1px solid #333;
    color: #aaa;
    padding: 6px 18px;
    border-radius: 20px;
    font-size: 13px;
    font-weight: 600;
    transition: all 0.3s;
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 6px;
}
.nav-foro .btn-volver:hover {
    border-color: #e63946;
    color: #fff;
    background: #e63946;
}

/* ===== LAYOUT ===== */
.foro-layout {
    display: flex;
    gap: 25px;
}
.foro-sidebar {
    flex: 0 0 280px;
    min-width: 200px;
}
.foro-main {
    flex: 1;
    min-width: 0;
}

/* ===== SIDEBAR ===== */
.sidebar-card {
    background: linear-gradient(145deg, #121212, #0d0d0d);
    border-radius: 12px;
    padding: 15px 18px;
    border: 1px solid #222;
    margin-bottom: 15px;
}
.sidebar-card h5 {
    font-family: 'Bangers', cursive;
    color: #e63946;
    font-size: 1.1rem;
    margin-bottom: 10px;
    padding-bottom: 6px;
    border-bottom: 1px solid #222;
}
.sidebar-card h5 i { 
    margin-right: 8px; 
}

.sidebar-item {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 6px 8px;
    border-radius: 6px;
    cursor: pointer;
    transition: all 0.3s;
    margin-bottom: 4px;
    text-decoration: none;
    color: #ccc;
}
.sidebar-item:hover {
    background: #1a0a0a;
    border-color: #e63946;
    color: #fff;
}
.sidebar-item .s-icon {
    flex: 0 0 30px;
    width: 30px;
    height: 30px;
    border-radius: 4px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 13px;
    border: 1px solid #222;
}
.sidebar-item .s-content {
    flex: 1;
    min-width: 0;
    overflow: hidden;
}
.sidebar-item .s-titulo {
    font-size: 12px;
    font-weight: 600;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}
.sidebar-item .s-meta {
    font-size: 9px;
    color: #666;
}

/* ===== POST COMPLETO ===== */
.post-full {
    background: linear-gradient(145deg, #1a1a1a, #111);
    border: 1px solid #2a2a2a;
    border-radius: 16px;
    overflow: hidden;
    padding: 25px 30px;
}
.post-full .post-titulo {
    font-family: 'Bangers', cursive;
    color: #e63946;
    font-size: 28px;
    margin-bottom: 8px;
}
.post-full .post-meta {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
    font-size: 13px;
    color: #888;
    padding-bottom: 12px;
    border-bottom: 1px solid #222;
    margin-bottom: 15px;
}
.post-full .post-meta i { 
    margin-right: 4px; 
}
.post-full .post-contenido {
    color: #ccc;
    font-size: 15px;
    line-height: 1.8;
    white-space: pre-wrap;
}
.post-full .post-imagen {
    width: 100%;
    max-height: 400px;
    object-fit: contain;
    border-radius: 12px;
    margin: 10px 0 15px;
    background: #0a0a0a;
}

/* ===== COMENTARIOS ===== */
.comentarios-full {
    margin-top: 20px;
    background: #0a0a0a;
    border-radius: 12px;
    padding: 18px;
    border: 1px solid #1a1a1a;
}
.comentario {
    border-bottom: 1px solid #1a1a1a;
    padding: 10px 0;
    transition: all 0.2s;
}
.comentario:hover {
    background: rgba(255,255,255,0.02);
}
.comentario:last-child { 
    border-bottom: none; 
}
.comentario .nombre {
    color: #e63946;
    font-weight: 700;
    font-size: 14px;
}
.comentario .texto {
    color: #ccc;
    font-size: 14px;
    margin-top: 4px;
}
.comentario .fecha {
    color: #666;
    font-size: 11px;
}
.comentario .btn-responder {
    opacity: 0.6;
    transition: all 0.2s;
}
.comentario .btn-responder:hover {
    opacity: 1;
    color: #16a34a !important;
}

/* ===== REACCIONES ===== */
.reacciones-botones {
    display: flex;
    gap: 10px;
    margin-top: 6px;
}
.btn-like, .btn-dislike {
    background: transparent;
    border: none;
    color: #666;
    padding: 2px 8px;
    border-radius: 12px;
    cursor: pointer;
    transition: all 0.2s;
    font-size: 12px;
    display: flex;
    align-items: center;
    gap: 4px;
}
.btn-like:hover {
    color: #22c55e;
    background: rgba(34,197,94,0.1);
}
.btn-like.active-like {
    color: #22c55e;
    background: rgba(34,197,94,0.15);
}
.btn-dislike:hover {
    color: #e63946;
    background: rgba(230,57,70,0.1);
}
.btn-dislike.active-dislike {
    color: #e63946;
    background: rgba(230,57,70,0.15);
}
.btn-like i, .btn-dislike i {
    font-size: 13px;
}
.btn-like span, .btn-dislike span {
    font-size: 11px;
    font-weight: 600;
}

/* ===== FORMULARIO COMENTARIO ===== */
.form-comentario textarea {
    background: #0d0d0d;
    color: #fff;
    border: 2px solid #222;
    border-radius: 10px;
    padding: 12px;
    width: 100%;
    resize: vertical;
    transition: all 0.3s;
}
.form-comentario textarea:focus {
    border-color: #8a2be2;
    outline: none;
    box-shadow: 0 0 0 4px rgba(138,43,226,0.15);
}
.btn-enviar-comentario {
    background: #8a2be2;
    color: #fff;
    border: none;
    padding: 8px 24px;
    border-radius: 8px;
    font-weight: 600;
    transition: all 0.3s;
}
.btn-enviar-comentario:hover { 
    background: #6a0dad; 
    transform: scale(1.02); 
}

#respuestaContainer {
    animation: slideDown 0.3s ease;
}
@keyframes slideDown {
    0% { opacity: 0; transform: translateY(-10px); }
    100% { opacity: 1; transform: translateY(0); }
}

/* ===== POST CARD (Grid) ===== */
.post-card-link {
    text-decoration: none;
    color: inherit;
}
.post-card {
    background: linear-gradient(145deg, #1a1a1a, #111);
    border: 1px solid #2a2a2a;
    border-radius: 12px;
    overflow: hidden;
    transition: all 0.3s;
    cursor: pointer;
    height: 100%;
    display: flex;
    flex-direction: column;
    position: relative;
}
.post-card:hover {
    transform: translateY(-4px);
    border-color: #e63946;
    box-shadow: 0 12px 24px rgba(230,57,70,0.1);
}
.post-card .post-img {
    width: 100%;
    height: 150px;
    object-fit: cover;
    border-bottom: 1px solid #222;
}
.post-card .post-img-placeholder {
    width: 100%;
    height: 150px;
    background: linear-gradient(135deg, #1a0a2e, #0a0a0a);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 36px;
    color: #333;
    border-bottom: 1px solid #222;
}
.post-card .post-body {
    padding: 12px 15px 14px;
    flex: 1;
    display: flex;
    flex-direction: column;
}
.post-card .post-tipo {
    font-size: 10px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 4px;
}
.post-card .post-titulo {
    font-family: 'Bangers', cursive;
    color: #e63946;
    font-size: 16px;
    margin: 0 0 4px 0;
    line-height: 1.2;
}
.post-card .post-resumen {
    color: #aaa;
    font-size: 12px;
    line-height: 1.4;
    margin-bottom: 8px;
    flex: 1;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}
.post-card .post-meta-grid {
    display: flex;
    justify-content: space-between;
    font-size: 10px;
    color: #666;
    border-top: 1px solid #1a1a1a;
    padding-top: 8px;
}
.post-card .post-meta-grid i { 
    margin-right: 3px; 
}

/* ===== PAGINACIÓN ===== */
.paginacion {
    display: flex;
    justify-content: center;
    gap: 8px;
    margin-top: 25px;
    flex-wrap: wrap;
}
.paginacion a {
    background: #1a1a1a;
    color: #aaa;
    border: 1px solid #333;
    padding: 6px 14px;
    border-radius: 6px;
    text-decoration: none;
    transition: all 0.3s;
    font-size: 13px;
}
.paginacion a:hover { 
    background: #e63946; 
    color: #fff; 
    border-color: #e63946; 
}
.paginacion a.active { 
    background: #e63946; 
    color: #fff; 
    border-color: #e63946; 
}
.paginacion a.disabled { 
    opacity: 0.4; 
    cursor: not-allowed; 
}

/* ===== BOTONES SOCIALES ===== */
.btn-social {
    transition: all 0.3s;
}
.btn-social:hover {
    transform: scale(1.05);
    color: #fff !important;
}

/* ===== RESPONSIVE ===== */
@media (max-width: 992px) {
    .foro-layout { 
        flex-direction: column; 
    }
    .foro-sidebar { 
        flex: 1; 
    }
}
@media (max-width: 768px) {
    .main-content { 
        padding: 15px; 
    }
    .hero-foro h1 { 
        font-size: 28px; 
    }
    .hero-foro .hero-stats { 
        flex-wrap: wrap; 
        gap: 10px; 
    }
    .post-full { 
        padding: 18px; 
    }
    .post-full .post-titulo { 
        font-size: 22px; 
    }
    .nav-foro { 
        flex-direction: column; 
        align-items: stretch; 
    }
    .nav-foro .nav-links { 
        justify-content: center; 
    }
    .nav-foro .btn-volver { 
        justify-content: center; 
    }
    .foro-sidebar { 
        flex: 1; 
        min-width: 0; 
    }
    .post-card .post-img {
        height: 120px;
    }
}
@media (max-width: 480px) {
    .post-full { 
        padding: 12px; 
    }
    .post-full .post-titulo { 
        font-size: 18px; 
    }
    .post-full .post-meta { 
        font-size: 11px; 
        gap: 10px; 
    }
    .post-card .post-img {
        height: 100px;
    }
    .post-card .post-titulo {
        font-size: 14px;
    }
}

/* ===== POST ACCIONES ===== */
.post-acciones button:hover {
    border-color: #e63946;
    color: #fff;
}

.btn-like.active-like {
    color: #22c55e;
    background: rgba(34,197,94,0.15);
}
.btn-dislike.active-dislike {
    color: #e63946;
    background: rgba(230,57,70,0.15);
}
.btn-like, .btn-dislike {
    cursor: pointer;
    user-select: none;
}