/**
 * landing10.css - Styles for the v10 landing additions only.
 * Doesn't touch landing.css; the existing v5 layout stays intact.
 */

/* ============================================================
   Section 1: Hot on EntertainMe! Right Now
   ============================================================ */
.lp10-hot {
    background: rgba(255, 255, 255, 0.02);
    border-top: 1px solid rgba(255, 255, 255, 0.04);
    border-bottom: 1px solid rgba(255, 255, 255, 0.04);
}

.lp10-hot-row {
    display: flex;
    gap: 14px;
    overflow-x: auto;
    overflow-y: hidden;
    padding: 4px 2px 12px;
    scroll-behavior: smooth;
    -webkit-overflow-scrolling: touch;
}

.lp10-hot-row::-webkit-scrollbar { height: 6px; }
.lp10-hot-row::-webkit-scrollbar-track { background: rgba(255, 255, 255, 0.04); border-radius: 3px; }
.lp10-hot-row::-webkit-scrollbar-thumb { background: rgba(255, 255, 255, 0.2); border-radius: 3px; }
.lp10-hot-row::-webkit-scrollbar-thumb:hover { background: rgba(255, 255, 255, 0.35); }

/* Skeletons while data loads (sized to match the rendered cards) */
.lp10-hot-skeleton {
    flex: 0 0 auto;
    width: 150px;
    height: 270px;
    border-radius: 10px;
    background: linear-gradient(110deg, rgba(255,255,255,0.04) 30%, rgba(255,255,255,0.08) 50%, rgba(255,255,255,0.04) 70%);
    background-size: 200% 100%;
    animation: lp10-shimmer 1.6s ease-in-out infinite;
}

@keyframes lp10-shimmer {
    0%   { background-position: 200% 0; }
    100% { background-position: -200% 0; }
}

/* Rendered card */
.lp10-hot-card {
    flex: 0 0 auto;
    width: 150px;
    text-decoration: none;
    color: inherit;
    transition: transform 0.18s ease;
    cursor: default;
}

.lp10-hot-card:hover {
    transform: translateY(-4px);
    text-decoration: none;
    color: inherit;
}

.lp10-hot-card-img {
    position: relative;
    width: 100%;
    padding-top: 150%; /* 2:3 portrait */
    border-radius: 10px;
    overflow: hidden;
    background: #1a2332;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.45);
}

.lp10-hot-card-img img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.lp10-hot-card-img .lp10-hot-no-image {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    color: rgba(255, 255, 255, 0.25);
    font-size: 2.4rem;
}

/* Category icon chip pinned top-left so the variety reads at a glance */
.lp10-hot-cat {
    position: absolute;
    top: 8px;
    left: 8px;
    background: rgba(0, 0, 0, 0.65);
    color: #fff;
    width: 28px;
    height: 28px;
    border-radius: 6px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.85rem;
    backdrop-filter: blur(4px);
}

.lp10-hot-card-info {
    padding: 8px 2px 0;
    color: #e2e8f0;
}

.lp10-hot-card-title {
    font-size: 0.9rem;
    font-weight: 600;
    line-height: 1.2;
    margin-bottom: 2px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.lp10-hot-card-sub {
    font-size: 0.75rem;
    color: #94a3b8;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

/* ============================================================
   Section 2: Try recommendations callout
   ============================================================ */
.lp10-rec {
    padding: 2rem 0 !important;
}

.lp10-rec-card {
    background: linear-gradient(135deg, rgba(99, 102, 241, 0.12), rgba(139, 92, 246, 0.10));
    border: 1px solid rgba(139, 92, 246, 0.25);
    border-radius: 16px;
    padding: 1.5rem 1.75rem;
}

/* The decorative icon row (lp10-rec-art) is purely visual filler. It only
   reads well when it sits beside the text in the 2-column desktop layout
   (>= 992px). Below that it stacks underneath and bloats the section
   vertically with no information value, so hide it. */
@media (max-width: 991.98px) {
    .lp10-rec-art {
        display: none !important;
    }
}

.lp10-rec-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 4px 12px;
    background: rgba(139, 92, 246, 0.18);
    color: #c4b5fd;
    border-radius: 999px;
    font-size: 0.8rem;
    font-weight: 500;
    letter-spacing: 0.02em;
}

.lp10-rec-title {
    font-size: 1.85rem;
    font-weight: 700;
    color: #f1f5f9;
}

.lp10-rec-text {
    color: #cbd5e1;
    font-size: 1.02rem;
    line-height: 1.6;
}

.lp10-rec-art {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: 14px;
    padding: 1rem;
}

.lp10-rec-art i {
    font-size: 2.4rem;
    color: rgba(196, 181, 253, 0.85);
    text-shadow: 0 0 18px rgba(139, 92, 246, 0.35);
}

.lp10-rec-art i:nth-child(1) { font-size: 3.2rem; color: #c4b5fd; }
.lp10-rec-art i:nth-child(2) { transform: rotate(-6deg); }
.lp10-rec-art i:nth-child(4) { transform: rotate(4deg); }

@media (max-width: 575px) {
    .lp10-hot-card { width: 130px; }
    .lp10-hot-skeleton { width: 130px; height: 234px; }
    .lp10-rec-card { padding: 1.5rem 1.25rem; }
    .lp10-rec-title { font-size: 1.5rem; }
    .lp10-rec-art { display: none; }
}

/* ============================================================
   Section: What Members Are Saying (random public reviews)
   ============================================================ */
.lp10-reviews {
    background: rgba(255, 255, 255, 0.02);
    border-top: 1px solid rgba(255, 255, 255, 0.04);
    border-bottom: 1px solid rgba(255, 255, 255, 0.04);
}

.lp10-reviews-row {
    display: flex;
    gap: 16px;
    overflow-x: auto;
    overflow-y: hidden;
    padding: 4px 2px 14px;
    scroll-behavior: smooth;
    -webkit-overflow-scrolling: touch;
}

.lp10-reviews-row::-webkit-scrollbar { height: 6px; }
.lp10-reviews-row::-webkit-scrollbar-track { background: rgba(255, 255, 255, 0.04); border-radius: 3px; }
.lp10-reviews-row::-webkit-scrollbar-thumb { background: rgba(255, 255, 255, 0.2); border-radius: 3px; }

.lp10-review-skeleton {
    flex: 0 0 auto;
    width: 320px;
    height: 220px;
    border-radius: 12px;
    background: linear-gradient(110deg, rgba(255,255,255,0.04) 30%, rgba(255,255,255,0.08) 50%, rgba(255,255,255,0.04) 70%);
    background-size: 200% 100%;
    animation: lp10-shimmer 1.6s ease-in-out infinite;
}

.lp10-rev-card {
    flex: 0 0 auto;
    width: 320px;
    padding: 14px;
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.06);
    text-decoration: none;
    color: #e2e8f0;
    display: flex;
    flex-direction: column;
    gap: 8px;
    transition: transform 0.18s ease, background 0.18s ease;
}

.lp10-rev-card:hover {
    transform: translateY(-3px);
    background: rgba(255, 255, 255, 0.06);
    color: #e2e8f0;
    text-decoration: none;
}

.lp10-rev-card-top {
    display: flex;
    gap: 12px;
    align-items: flex-start;
}

.lp10-rev-poster {
    position: relative;
    flex: 0 0 auto;
    width: 56px;
    height: 84px;
    border-radius: 6px;
    overflow: hidden;
    background: #1a2332;
}

.lp10-rev-poster img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.lp10-rev-no-image {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: rgba(255, 255, 255, 0.25);
    font-size: 1.4rem;
}

.lp10-rev-cat {
    position: absolute;
    bottom: 2px;
    right: 2px;
    background: rgba(0, 0, 0, 0.7);
    color: #fff;
    width: 18px;
    height: 18px;
    border-radius: 4px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.7rem;
}

.lp10-rev-entity {
    flex: 1;
    min-width: 0;
}

.lp10-rev-entity-title {
    font-size: 0.95rem;
    font-weight: 600;
    color: #fff;
    line-height: 1.25;
    overflow: hidden;
    text-overflow: ellipsis;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
}

.lp10-rev-byline {
    font-size: 0.78rem;
    color: #94a3b8;
    margin-top: 4px;
    display: flex;
    align-items: center;
    gap: 6px;
}

.lp10-rev-pin {
    color: #fbbf24;
    font-size: 0.78rem;
}

.lp10-rev-headline {
    font-size: 0.88rem;
    font-weight: 600;
    color: #cbd5e1;
    line-height: 1.3;
    overflow: hidden;
    text-overflow: ellipsis;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
}

.lp10-rev-blurb {
    font-size: 0.85rem;
    line-height: 1.45;
    color: #cbd5e1;
    overflow: hidden;
    text-overflow: ellipsis;
    display: -webkit-box;
    -webkit-line-clamp: 5;
    -webkit-box-orient: vertical;
}

/* ============================================================
   Section: Lists Members Have Curated (random public lists)
   ============================================================ */
.lp10-lists {
    background: rgba(255, 255, 255, 0.02);
    border-top: 1px solid rgba(255, 255, 255, 0.04);
    border-bottom: 1px solid rgba(255, 255, 255, 0.04);
}

.lp10-lists-row {
    display: flex;
    gap: 16px;
    overflow-x: auto;
    overflow-y: hidden;
    padding: 4px 2px 14px;
    scroll-behavior: smooth;
    -webkit-overflow-scrolling: touch;
}

.lp10-lists-row::-webkit-scrollbar { height: 6px; }
.lp10-lists-row::-webkit-scrollbar-track { background: rgba(255, 255, 255, 0.04); border-radius: 3px; }
.lp10-lists-row::-webkit-scrollbar-thumb { background: rgba(255, 255, 255, 0.2); border-radius: 3px; }

.lp10-list-skeleton {
    flex: 0 0 auto;
    width: 240px;
    height: 280px;
    border-radius: 12px;
    background: linear-gradient(110deg, rgba(255,255,255,0.04) 30%, rgba(255,255,255,0.08) 50%, rgba(255,255,255,0.04) 70%);
    background-size: 200% 100%;
    animation: lp10-shimmer 1.6s ease-in-out infinite;
}

.lp10-list-card {
    flex: 0 0 auto;
    width: 240px;
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.06);
    text-decoration: none;
    color: #e2e8f0;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    transition: transform 0.18s ease, background 0.18s ease;
}

.lp10-list-card:hover {
    transform: translateY(-3px);
    background: rgba(255, 255, 255, 0.06);
    color: #e2e8f0;
    text-decoration: none;
}

.lp10-list-cover {
    position: relative;
    width: 100%;
    height: 140px;
    overflow: hidden;
    background: #1a2332;
}

.lp10-list-cover img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.lp10-list-cover .lp10-list-cover-icon {
    display: none;
    position: absolute;
    inset: 0;
    align-items: center;
    justify-content: center;
    color: rgba(255, 255, 255, 0.25);
    font-size: 3rem;
}

.lp10-list-no-cover .lp10-list-cover-icon {
    display: flex;
}

/* Shared collage helper renders a 180px-tall .el-card-collage by default;
   inside the landing tile, make it fill the tile's 140px cover region. */
.lp10-list-cover .el-card-collage {
    height: 100%;
    border-radius: 0;
}
.lp10-list-cover .el-card-img-placeholder {
    display: none;
}

.lp10-list-count {
    position: absolute;
    bottom: 8px;
    right: 8px;
    background: rgba(0, 0, 0, 0.7);
    color: #fff;
    padding: 3px 8px;
    border-radius: 4px;
    font-size: 0.75rem;
    font-weight: 500;
}

.lp10-list-info {
    padding: 12px 14px 14px;
    display: flex;
    flex-direction: column;
    gap: 6px;
    flex: 1;
}

.lp10-list-name {
    font-size: 0.95rem;
    font-weight: 600;
    color: #fff;
    line-height: 1.25;
    overflow: hidden;
    text-overflow: ellipsis;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
}

.lp10-list-meta {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
    font-size: 0.78rem;
    color: #94a3b8;
}

.lp10-list-chip {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    padding: 2px 8px;
    background: rgba(255, 255, 255, 0.06);
    border-radius: 10px;
    color: #cbd5e1;
}

.lp10-list-by {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.lp10-list-desc {
    font-size: 0.82rem;
    color: #94a3b8;
    line-height: 1.4;
    overflow: hidden;
    text-overflow: ellipsis;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
}

@media (max-width: 575px) {
    .lp10-rev-card,
    .lp10-review-skeleton { width: 280px; }
    .lp10-list-card,
    .lp10-list-skeleton { width: 200px; }
    .lp10-list-cover { height: 120px; }
}
