/* ============================================ */
/* CONTENT ROWS - Netflix-style Styles         */
/* ============================================ */
.content-rows {
    max-width: 1400px;
    margin: 0 auto;
    padding: 20px 40px 30px;
}

.row {
    margin-bottom: 50px;
}

.row-header {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    margin-bottom: 16px;
    padding: 0 8px;
}

.row-header h2 {
    font-size: 20px;
    font-weight: 600;
    color: #e5e5e5;
}

.row-header a {
    font-size: 13px;
    color: #aaa;
    text-decoration: none;
}

.row-header a:hover {
    color: #e50914;
}

.row-scroll {
    display: flex;
    overflow-x: auto;
    overflow-y: hidden;
    gap: 12px;
    scroll-behavior: smooth;
    padding: 8px 4px 20px 4px;
}

.row-scroll::-webkit-scrollbar {
    height: 4px;
}
.row-scroll::-webkit-scrollbar-track {
    background: #2a2a2a;
    border-radius: 2px;
}
.row-scroll::-webkit-scrollbar-thumb {
    background: #555;
    border-radius: 2px;
}
.row-scroll::-webkit-scrollbar-thumb:hover {
    background: #777;
}

.movie-card {
    flex: 0 0 auto;
    width: 180px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.movie-card:hover {
    transform: translateY(-8px) scale(1.02);
}

.card-link {
    text-decoration: none;
    display: block;
}

.card-image {
    position: relative;
    border-radius: 8px;
    overflow: hidden;
    aspect-ratio: 2 / 3;
    background: #1a1a1a;
    box-shadow: 0 4px 12px rgba(0,0,0,0.3);
}

.movie-card:hover .card-image {
    box-shadow: 0 20px 30px -10px rgba(0,0,0,0.5);
}

.card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.no-image {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 48px;
    background: linear-gradient(135deg, #1a1a1a, #0a0a0a);
    color: #333;
}

.card-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(10, 10, 10, 0.7);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
    pointer-events: none;
}

.movie-card:hover .card-overlay {
    opacity: 1;
    pointer-events: auto;
}

.play-btn {
    width: 46px;
    height: 46px;
    background: transparent;
    border: 2px solid #e50914;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    color: #e50914;
    cursor: pointer;
    transition: all 0.2s ease;
}

.play-btn:hover {
    background: rgba(229,9,20,0.15);
    border-color: #ff4d4d;
    color: #ff4d4d;
    transform: scale(1.1);
}

.card-info {
    margin-top: 12px;
    padding: 0 4px;
}

.card-info h3 {
    font-size: 14px;
    font-weight: 500;
    color: #fff;
    margin-bottom: 6px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.card-meta {
    display: flex;
    gap: 12px;
    font-size: 12px;
    color: #aaa;
}

.card-meta .rating {
    color: #ffc107;
}

.card-meta .hd {
    color: #e50914;
    font-weight: 600;
}

.card-meta .hd.sd-badge {
    color: #2196F3;
    background: transparent;
}

.card-meta .age-badge {
    background: #333;
    color: #ccc;
    font-weight: 600;
    padding: 1px 5px;
    border-radius: 3px;
    font-size: 11px;
}

.empty-row-message {
    color: #aaa;
    padding: 40px;
    text-align: center;
    width: 100%;
}

.empty-row-message a {
    color: #e50914;
    text-decoration: underline;
}

@media (max-width: 768px) {
    .content-rows {
        padding: 20px 20px 40px;
    }
    .movie-card {
        width: 140px;
    }
}
@media (max-width: 480px) {
    .movie-card {
        width: 120px;
    }
    .card-meta {
        font-size: 10px;
        gap: 8px;
    }
}