body {
    margin: 0;
    background-color: #111;
    color: #eee;
    font-family: 'Noto Sans KR', sans-serif;
}

.container {
    width: 95%;
    max-width: 1400px;
    margin: 0 auto;
    padding: 20px 0;
}

.section-title {
    font-size: 24px;
    font-weight: bold;
    margin: 30px 0 20px;
    padding-left: 10px;
}

.grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
    gap: 15px;
}

.card {
    background-color: #1c1c1c;
    border-radius: 8px;
    overflow: hidden;
    transition: transform 0.3s ease;
}

.card:hover {
    transform: scale(1.05);
}

.card img {
    width: 100%;
    height: 220px;
    object-fit: cover;
    display: block;
}

.card-title {
    font-size: 14px;
    font-weight: 500;
    padding: 10px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    color: #ffffff; /* 제목 하얀색으로 */
}

.detail-wrap {
    display: flex;
    flex-wrap: wrap;
    align-items: flex-start;
    justify-content: space-between;
    background: #1c1c1c;
    padding: 30px;
    border-radius: 10px;
    margin-top: 30px;
}

.detail-text {
    flex: 1 1 50%;
    padding-right: 20px;
    min-width: 300px;
}

.detail-text h1 {
    font-size: 28px;
    margin-bottom: 20px;
    color: #fff;
}

.detail-text .overview {
    font-size: 16px;
    line-height: 1.6;
    color: #ccc;
    margin-bottom: 30px;
}

.watch-button {
    display: block; /* 좌우로 꽉차게 */
    width: 100%;
    padding: 14px 0;
    background: red;
    color: #fff;
    font-size: 18px;
    font-weight: bold;
    text-decoration: none;
    border-radius: 8px;
    transition: background 0.3s ease;
}

.watch-button:hover {
    background: #ff3c3c;
}

.detail-poster {
    flex: 0 0 300px;
    text-align: center;
}

.detail-poster img {
    width: 100%;
    max-width: 300px;
    border-radius: 10px;
}

.detail-text .info {
    font-size: 16px;
    color: #bbb;
    margin-bottom: 8px;
}
