.card {
    background-color: #1e1e1e;
    border: 1px solid #333333;
    cursor: pointer;
    transition: transform 0.2s ease-in-out;
    height: 380px;
    display: flex;
    flex-direction: column;
    width: 100%;
}

.card:hover {
    transform: scale(1.03);
}

.card-img-top {
    object-fit: cover;
    height: 180px;
    width: 100%;
    border-top-left-radius: 0.5rem;
    border-top-right-radius: 0.5rem;
}

.card-title {
    color: #ffffff;
    font-size: 1rem;
    font-weight: bold;
    overflow: hidden;
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 6;
    text-overflow: ellipsis;
}

.card-body {
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.card-footer {
    border-top: 1px solid #333333;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 0.9rem;
    color: #bbbbbb;
}

.card-footer .viewers {
    display: flex;
    align-items: center;
}

.card-footer .viewers i {
    margin-right: 5px;
}

.category-card {
    position: relative;
    background-color: #1e1e1e;
    border-radius: 8px;
    overflow: hidden;
    cursor: pointer;
    transition: transform 0.2s ease-in-out;
    width: 200px;
    height: 300px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.category-card:hover {
    transform: scale(1.05);
}

.category-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    position: absolute;
    top: 0;
    left: 0;
}

.category-info {
    position: absolute;
    bottom: 10px;
    right: 10px;
    background: rgba(0, 0, 0, 0.6);
    padding: 6px 10px;
    border-radius: 5px;
    text-align: right;
}

.category-info h5 {
    margin: 0;
    font-size: 1rem;
    font-weight: bold;
    color: #ffffff;
}

.category-info p {
    margin: 0;
    font-size: 0.9rem;
    color: #ffffff;
}

/* Centralizar os cards na página */
.categories-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 20px;
}