/* ===== LANÇAMENTOS ===== */

.lanc-main {
    max-width: 980px;
    margin: 80px auto 40px;
    padding: 0 16px;
}

.lanc-header {
    text-align: center;
    margin-bottom: 24px;
}

.lanc-header h1 {
    font-size: 1.8rem;
    font-weight: 800;
    margin: 0 0 6px;
    background: linear-gradient(135deg, #f59e0b, #ec4899, #8b5cf6);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.lanc-header h1 i { -webkit-text-fill-color: #f59e0b; }

.lanc-header p {
    color: rgba(255,255,255,0.45);
    margin: 0;
    font-size: 0.9rem;
}

/* Filters */
.lanc-filters {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
    justify-content: center;
    margin-bottom: 16px;
}

.lanc-filter-btn {
    background: rgba(255,255,255,0.04);
    border: 1px solid rgba(255,255,255,0.08);
    color: rgba(255,255,255,0.6);
    padding: 8px 16px;
    border-radius: 999px;
    font-size: 0.8rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-family: inherit;
}

.lanc-filter-btn:hover {
    background: rgba(255,255,255,0.07);
    color: #fff;
}

.lanc-filter-btn.active {
    background: linear-gradient(135deg, #f59e0b, #ec4899);
    border-color: transparent;
    color: #fff;
}

.lanc-range {
    text-align: center;
    color: rgba(255,255,255,0.35);
    font-size: 0.75rem;
    margin-bottom: 28px;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

/* Day group */
.lanc-day {
    margin-bottom: 32px;
}

.lanc-day-header {
    display: flex;
    align-items: baseline;
    gap: 12px;
    margin-bottom: 12px;
    padding-bottom: 8px;
    border-bottom: 1px solid rgba(255,255,255,0.05);
}

.lanc-day-date {
    font-size: 1rem;
    font-weight: 700;
    color: #fff;
    text-transform: capitalize;
}

.lanc-day-eta {
    font-size: 0.7rem;
    color: #f59e0b;
    background: rgba(245,158,11,0.1);
    padding: 3px 8px;
    border-radius: 6px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.04em;
}

.lanc-day-items {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 12px;
}

/* Card */
.lanc-card {
    display: flex;
    gap: 12px;
    background: rgba(255,255,255,0.03);
    border: 1px solid rgba(255,255,255,0.06);
    border-radius: 12px;
    padding: 10px;
    cursor: pointer;
    transition: all 0.2s;
    overflow: hidden;
}

.lanc-card:hover {
    background: rgba(255,255,255,0.05);
    border-color: rgba(245,158,11,0.25);
    transform: translateY(-2px);
}

.lanc-card-poster, .lanc-card-poster-ph {
    width: 70px;
    height: 100px;
    border-radius: 8px;
    object-fit: cover;
    flex-shrink: 0;
}

.lanc-card-poster-ph {
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.6rem;
}

.lanc-card-info {
    flex: 1;
    min-width: 0;
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.lanc-card-type {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    padding: 2px 8px;
    border-radius: 6px;
    font-size: 0.65rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    width: fit-content;
}

.lanc-card-title {
    font-size: 0.9rem;
    font-weight: 700;
    color: #fff;
    margin: 0;
    line-height: 1.2;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.lanc-card-overview {
    font-size: 0.72rem;
    color: rgba(255,255,255,0.4);
    margin: 0;
    line-height: 1.3;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

/* Loading & Empty */
.lanc-loading, .lanc-empty {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 60px 20px;
    color: rgba(255,255,255,0.4);
    gap: 12px;
    text-align: center;
}

.lanc-loading i, .lanc-empty i {
    font-size: 2.5rem;
    color: #f59e0b;
}

@media (max-width: 480px) {
    .lanc-main { margin-top: 70px; padding: 0 10px; }
    .lanc-day-items { grid-template-columns: 1fr; }
    .lanc-card-poster, .lanc-card-poster-ph { width: 60px; height: 90px; }
}

/* Light theme: surfaces, content and interaction states. */
:is(html.light-theme-early, body.light-theme) .lanc-header p,
:is(html.light-theme-early, body.light-theme) .lanc-range,
:is(html.light-theme-early, body.light-theme) .lanc-card-overview,
:is(html.light-theme-early, body.light-theme) .lanc-loading,
:is(html.light-theme-early, body.light-theme) .lanc-empty {
    color: var(--text-muted, #526070);
}

:is(html.light-theme-early, body.light-theme) .lanc-day-date,
:is(html.light-theme-early, body.light-theme) .lanc-card-title {
    color: var(--text, #1e293b);
}

:is(html.light-theme-early, body.light-theme) .lanc-card {
    background: var(--surface, #fff); border-color: var(--border, rgba(30, 41, 59, .12));
}

:is(html.light-theme-early, body.light-theme) .lanc-filter-btn {
    background: var(--surface2, #f8f7f3); border-color: var(--border, rgba(30, 41, 59, .12)); color: var(--text-muted, #526070);
}

:is(html.light-theme-early, body.light-theme) .lanc-filter-btn:hover,
:is(html.light-theme-early, body.light-theme) .lanc-card:hover {
    background: #edeaf5; border-color: rgba(109, 40, 217, .22); color: var(--text, #1e293b);
}

:is(html.light-theme-early, body.light-theme) .lanc-filter-btn.active {
    background: linear-gradient(135deg, #c2410c, #be185d); color: #fff; border-color: transparent;
}

:is(html.light-theme-early, body.light-theme) .lanc-day-header {
    border-color: var(--border, rgba(30, 41, 59, .12));
}

:is(html.light-theme-early, body.light-theme) .lanc-day-eta {
    color: var(--accent-ink, #806117);
}

:is(html.light-theme-early, body.light-theme) .lanc-header h1 { background-image: linear-gradient(135deg, #a16207, #be185d, #6d28d9); }
:is(html.light-theme-early, body.light-theme) .lanc-header h1 i { -webkit-text-fill-color: #a16207; }

:is(html.light-theme-early, body.light-theme) .lanc-loading i,
:is(html.light-theme-early, body.light-theme) .lanc-empty i { color: var(--accent-ink, #806117); }
