/* ==========================================================================
   ВИДЖЕТ: ДОВЕРЬСЯ СЛУЧАЙНОСТИ (RANDOM MOVIE)
   ========================================================================== */
.random-anime-card {
    padding: 15px;
    border: 1px solid #ff6803;
    border-radius: 12px;
    width: 280px;
    text-align: center;
    background: #211f1f;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.5);
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    box-sizing: border-box;
}

.random-anime-card h4 {
    margin-top: 0;
    margin-bottom: 12px;
    color: #ff6803;
    font-size: 13px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

#random-anime-body {
    min-height: 330px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    transition: opacity 0.3s ease-in-out;
    opacity: 1;
}

#random-anime-body .loading-text {
    color: #ff6803;
    font-size: 12px;
    margin-top: 110px;
}

#random-anime-body .error-text {
    color: #e53e3e;
    font-size: 12px;
    font-weight: 600;
    margin-top: 110px;
}

#random-anime-body .poster-wrap {
    display: block;
    width: 200px;
    height: 270px;
    overflow: hidden;
    border-radius: 6px;
    margin-bottom: 10px;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.4);
}

#random-anime-body .poster-wrap img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    border: 0;
    transition: transform 0.3s ease;
}

#random-anime-body .random-title-link {
    color: #ffffff;
    text-decoration: none;
    font-weight: 700;
    font-size: 14px;
    line-height: 1.3;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    width: 200px;
    text-align: center;
    transition: color 0.2s;
}

#btn-anime-refresh {
    background: #ff6803;
    color: #ffffff;
    border: none;
    padding: 10px;
    border-radius: 6px;
    cursor: pointer;
    font-size: 13px;
    margin-top: 12px;
    width: 100%;
    font-weight: 600;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 4px;
    transition: background 0.2s ease, transform 0.1s ease;
    outline: none;
}
