/* ---------------------------------------- OVERVIEW HEADER ---------------------------------------- */
.overview-header {
    background: radial-gradient(ellipse at center, #0a0a0a 0%, #000000 100%);
    padding-top: 4rem;
    padding-bottom: 4rem;
    padding-left: 1.5rem;
    padding-right: 1.5rem;
}

.overview-title {
    font-family: 'Orbitron', sans-serif;
    font-size: 3rem;
    font-weight: 700;
    text-shadow: 0 0 10px rgba(255, 120, 0, 0.4);
    letter-spacing: 5px;
}

.overview-subtitle {
    font-size: 1.1rem;
    color: rgba(255, 255, 255, 0.7);
    max-width: 800px;
    margin: 0 auto;
}

.overview-buttons .btn {
    font-weight: 600;
    padding: 0.75rem 1.5rem;
    font-size: 1rem;
    border-radius: 0px;
    margin: 0 0.5rem;
    transition: all 0.3s ease;
}

/* 왼쪽 버튼: 강조형 */
.btn-primary-custom {
    background: linear-gradient(90deg, #ff4d00 0%, #00bfff 100%);
    border: none;
    color: #f0f0f0;
    font-weight: 700;
    letter-spacing: 1px;
    box-shadow: 0 0 10px rgba(255, 140, 0, 0.4);
    min-width: 140px;
    text-shadow: 0 0 3px rgba(0, 0, 0, 0.5);
}

.btn-primary-custom:hover {
    background: linear-gradient(90deg, #00bfff 0%, #ff4d00 100%);
    transform: scale(1.05);
    box-shadow: 0 0 12px rgba(255, 180, 0, 0.6);
    color: white;
}


/* 오른쪽 버튼: 외곽선 */
.btn-outline-custom {
    background: transparent;
    border: 2px solid #ff8000;
    color: #ff8000;
    min-width: 140px;
}
/* 
.btn-outline-custom:hover {
    background: #ff8000;
    color: #fff;
    transform: scale(1.05);
    color: white;
} */

.btn-outline-custom {
    pointer-events: none;
}



/* ---------------------------------------- OVERVIEW FEATURES ---------------------------------------- */
.overview-img-wrapper {
    position: relative; /* ✅ 추가 */
    width: 100%;
    aspect-ratio: 1 / 1;
    max-width: 300px;
    min-width: 200px;
    overflow: hidden;
    border-radius: 0;
    box-shadow: 0 0 8px rgba(255, 255, 255, 0.1);
}

.overview-img-wrapper::before {
    content: "";
    position: absolute;
    top: 0;
    left: -75%;
    width: 50%;
    height: 100%;
    background: linear-gradient(
        120deg,
        rgba(255, 255, 255, 0) 0%,
        rgba(255, 255, 255, 0.5) 50%,
        rgba(255, 255, 255, 0) 100%
    );
    transform: skewX(-25deg);
    z-index: 2;
}

.hover-bg-dark:hover .overview-img-wrapper::before {
    animation: shine 0.5s ease-out;
}

.overview-img-wrapper:hover::before {
    animation: shine 0.5s ease-out;
}

@keyframes shine {
    0% {
        left: -75%;
    }
    100% {
        left: 125%;
    }
}

/* 좌측 정렬 */
.overview-img-wrapper.left {
    margin: 0;
    margin-left: 2rem;
    margin-right: auto;
    margin-top: 1rem;
    margin-bottom: 1rem;
}

/* 우측 정렬 */
.overview-img-wrapper.right {
    margin: 0;
    margin-left: auto;
    margin-right: 2rem;
    margin-top: 1rem;
    margin-bottom: 1rem;
}

/* Image */
.overview-img-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    border-radius: 0;
}

/* Hover background effect */
.hover-bg-dark:hover {
  background-color: rgba(30, 30, 50, 0.5); /* 좀 더 또렷한 딥 네이비 */
  box-shadow: 0 0 16px rgba(0, 0, 0, 0.1); /* 어두운 그림자 추가 */
  transition: background-color 0.3s ease, box-shadow 0.3s ease;
}

/* Typography spacing */
.overview-text h3 {
    font-family: 'Noto Serif KR', serif;
    font-size: 1.5rem;
    font-weight: 700;
    margin-top: 1rem;
    margin-bottom: 1rem;
    letter-spacing: 1px;

    /* ✨ 그라데이션 텍스트 */
    background: linear-gradient(90deg, #ee2106e7, #00bfff);
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.overview-text p {
    font-family: 'Noto Serif KR', serif;
    margin-top: 1rem;
    margin-bottom: 0.75rem;
    line-height: 2; /* 또는 1.6 ~ 2.0 사이에서 조정 가능 */
}

/* 전체 padding 조절 */
.hover-bg-dark {
    padding: 0.5rem !important; /* 이미지-텍스트 간격 줄이기 */
}

.episode-label {
    font-size: 0.65rem;
    font-weight: bold;
    color: #d6b26c !important; /* 톤 다운된 금색 */
    background-color: rgba(214, 178, 108, 0.12) !important; /* 은은한 배경 */
    -webkit-text-fill-color: #d6b26c !important;

    padding: 0.2em 0.5em;
    border-radius: 0.25rem;
    margin-left: 0.75em;
    display: inline-block;
    vertical-align: middle;

    position: relative;
    top: -3.8px;
    vertical-align: baseline;
}
