.category-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1200px;
    padding: 20px;
    background: rgba(30, 58, 42, 0.2);
    border-radius: 8px;
    margin-top: 80px;
    margin-bottom: 20px;
}


.header-icon {
    font-size: 2.5rem;
    color: var(--primary-yellow);
    margin-right: 20px;
}

.btn-new-topic {
    background: var(--primary-yellow);
    color: #000;
    padding: 10px 20px;
    border-radius: 4px;
    text-decoration: none;
    font-weight: bold;
    font-family: 'monospace';
    transition: 0.3s;
}

.btn-new-topic:hover {
    background: #fff;
    transform: scale(1.05);
}

.topic-row {
    display: flex;
    justify-content: space-between;
    align-items: center; /* Centra verticalmente el título con el contador */
    padding: 15px;
    border-bottom: 1px solid #1e3a2a;
    transition: 0.2s;
}

.topic-row:hover {
    background: rgba(255, 255, 255, 0.03);
}

.topic-title {
    color: #fff;
    text-decoration: none;
    font-size: 1.1rem;
    display: block;
    margin-bottom: 5px;
    transition: 0.2s;
}

.topic-title:hover {
    color: var(--primary-yellow);
    transform: translateX(5px); /* Un pequeño desplazamiento al pasar el mouse */
}

.topic-meta {
    font-size: 0.8rem;
    color: #666;
}

.topic-stats {
    color: #4e9a66;
    font-size: 0.85rem;
    font-family: 'monospace'; /* Estilo terminal */
    text-align: right;
    min-width: 120px; /* Para que todos los "Respuestas" queden parejitos */
}

/* Contenedor del estado vacío */
.empty-state {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 60px 20px;
    text-align: center;
    background: rgba(0, 0, 0, 0.2); /* Un fondo ligeramente más oscuro que el principal */
    border: 2px dashed #1e3a2a; /* Borde punteado para indicar "espacio vacío" */
    border-radius: 12px;
    margin: 20px 0;
}

/* El texto principal del mensaje */
.empty-state p {
    color: #4e9a66; /* Verde terminal */
    font-family: 'monospace';
    font-size: 1.1rem;
    margin: 0;
    letter-spacing: 1px;
}

/* Opcional: Agregar un icono o efecto de parpadeo */
.empty-state::before {
    content: "!"; 
    display: block;
    width: 40px;
    height: 40px;
    line-height: 40px;
    border: 2px solid var(--primary-yellow);
    color: var(--primary-yellow);
    border-radius: 50%;
    font-weight: bold;
    font-size: 1.5rem;
    margin-bottom: 15px;
    animation: blink 1.5s infinite; /* Efecto de alerta */
}

/* Animación de parpadeo para el icono */
@keyframes blink {
    0% { opacity: 1; transform: scale(1); }
    50% { opacity: 0.5; transform: scale(0.95); }
    100% { opacity: 1; transform: scale(1); }
}

/* Si quieres que se vea mejor, puedes añadir un botón de "Sé el primero" debajo */
.empty-state .btn-first-post {
    margin-top: 20px;
    font-size: 0.8rem;
    text-transform: uppercase;
    color: var(--primary-yellow);
    text-decoration: underline;
    cursor: pointer;
    transition: 0.3s;
}

.empty-state .btn-first-post:hover {
    color: #fff;
}

.respuestas-count {
    background: #1e3a2a;
    color: #4e9a66;
    padding: 2px 8px;
    border-radius: 3px;
    font-size: 0.75rem;
    border: 1px solid #2d5a3f;
    float: right; /* Para que se mantenga a la derecha como en tu foto */
}