.poster-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
    gap: 1.2rem;
}

.poster-card {
    position: relative;
    aspect-ratio: 2 / 3;
    overflow: hidden;
    border-radius: 10px;
    background: #16161a;
    box-shadow: 0 10px 24px rgba(0, 0, 0, 0.35);
}

.poster-image,
.poster-fallback {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.poster-fallback {
    display: flex;
    align-items: center;
    justify-content: center;
    color: #aaa;
    background: linear-gradient(135deg, #1f1f25, #0f1014);
}

.poster-title-wrap {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    padding: 1rem 0.9rem 0.85rem;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.92), rgba(0, 0, 0, 0.08));
    z-index: 2;
    opacity: 0;
}
.poster-card:hover .poster-title-wrap {
    opacity: 1;
}

.poster-title {
    margin: 0;
    font-size: 1rem;
    line-height: 1.15;
    color: #fff;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.9);
}

.poster-title span {
    font-size: 0.9em;
    opacity: 0.95;
}

.poster-overlay {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.45);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.2s ease;
    z-index: 3;
}

.poster-card:hover .poster-overlay {
    opacity: 1;
}

.poster-actions {
    display: flex;
    gap: 0.75rem;
    flex-wrap: wrap;
    justify-content: center;
}

.poster-status {
    position: absolute;
    top: 0.75rem;
    left: 0.75rem;
    z-index: 4;
    padding: 0.35rem 0.6rem;
    border-radius: 999px;
    font-size: 0.85rem;
    font-weight: bold;
    backdrop-filter: blur(4px);
}

.poster-status.started {
    background: rgba(255, 170, 0, 0.9);
    color: #111;
}

.poster-status.watched {
    background: rgba(0, 170, 90, 0.9);
    color: #fff;
}

.corner-watch-form {
    position: absolute;
    top: 0.75rem;
    right: 0.75rem;
    z-index: 4;
    margin: 0;
}

.corner-watch-btn {
    width: 2.2rem;
    height: 2.2rem;
    padding: 0;
    border-radius: 999px;
    font-weight: bold;
    font-size: 1rem;
    background: rgba(0, 0, 0, 0.7);
}

.corner-watch-btn:hover {
    background: rgba(0, 170, 90, 0.9);
}

.meta {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-bottom: 0.75rem;
}
.poster-genres {
    margin-top: 0.35rem;
    font-size: 0.82rem;
    line-height: 1.25;
    color: rgba(255, 255, 255, 0.82);
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.9);
}
