/* ============================================================
   INFOBOX & SIDEBAR COLUMN
============================================================ */

/* Right column wrapper */
.anime-right {
    display: flex;
    flex-direction: column;
    gap: 20px;
    min-width: 0;
}

/* ========================
   INFOBOX / QUICK-INFO CARD
======================== */

.infobox-card,
.quick-info-card {
    background: #171B26;
    border: 1px solid rgba(124, 92, 255, .25);
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 0 20px rgba(124, 92, 255, .12),
                0 15px 40px rgba(124, 92, 255, .18);
    transition: .3s;
}

.infobox-card:hover,
.quick-info-card:hover {
    box-shadow: 0 0 35px rgba(124, 92, 255, .28),
                0 20px 55px rgba(124, 92, 255, .32);
}

.quick-info-card {
    margin-top: 20px;
}

/* ========================
   INFOBOX HEADER
======================== */

.infobox-header {
    padding: 18px 22px;
    font-size: 20px;
    font-weight: 700;
    color: #fff;
    border-bottom: 1px solid var(--border);
}

/* ========================
   INFOBOX ROW
======================== */

.infobox-row {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    gap: 12px;
    padding: 13px 22px;
    border-bottom: 1px solid var(--border);
}

.infobox-row:last-child {
    border-bottom: none;
}

.infobox-label {
    color: #9aa0b5;
    font-weight: 500;
    font-size: 13px;
    flex-shrink: 0;
    min-width: 72px;
}

.infobox-value {
    text-align: right;
    font-weight: 600;
    font-size: 14px;
    color: #fff;
    word-break: break-word;
    overflow-wrap: break-word;
    max-width: 62%;
}

.infobox-value a {
    color: var(--accent);
}

/* ========================
   GENRE TAGS
======================== */

.quick-info-genres {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    padding: 16px 22px 20px;
}

.genre-tag {
    display: inline-flex;
    padding: 6px 13px;
    background: #1B2030;
    border: 1px solid #2d3345;
    border-radius: 999px;
    color: #d2d5df;
    font-size: 12px;
    font-weight: 600;
    transition: .2s;
    text-decoration: none;
}

.genre-tag:hover {
    background: var(--accent);
    border-color: var(--accent);
    color: #fff;
}

.rating-votes {
    color: #6f7589;
    font-size: 13px;
}

/* ========================
   MOBILE — INFOBOX ROWS
======================== */

@media (max-width: 600px) {

    .infobox-row {
        flex-direction: column;
        align-items: flex-start;
        gap: 3px;
        padding: 11px 16px;
    }

    .infobox-label {
        font-size: 11px;
        text-transform: uppercase;
        letter-spacing: .4px;
        min-width: unset;
    }

    .infobox-value {
        text-align: left;
        max-width: 100%;
        font-size: 14px;
    }

    .infobox-header {
        font-size: 17px;
        padding: 14px 16px;
    }

    .quick-info-genres {
        padding: 12px 16px 16px;
        gap: 6px;
    }

    .genre-tag {
        font-size: 11px;
        padding: 5px 10px;
    }
}
