/* =========================================
   누액감지기 동영상 바로가기 카드 디자인
   ========================================= */

/* 전체 영역 래퍼 */
.video-link-wrapper {
    max-width: 550px;           /* 최대 너비 */
    margin: 40px auto;          /* 위아래 여백, 중앙 정렬 */
    font-family: 'Notokr', 'Malgun Gothic', 'Apple SD Gothic Neo', sans-serif; /* 폰트 설정 */
    box-sizing: border-box;
}

/* 상단 안내 텍스트 */
.guide-text {
    text-align: center;
    margin-bottom: 20px;
    color: #555;
    font-size: 16px;
    line-height: 1.6;
    letter-spacing: -0.5px;
}

/* 강조 텍스트 (형광펜 효과) */
.guide-text .highlight {
    color: #236fa1;             /* 유한테크 파란색 */
    font-weight: 800;
    background: #eef6fb;        /* 연한 파란 배경 */
    padding: 3px 8px;
    border-radius: 6px;
}

/* 링크 카드 본체 */
.yt-card-link {
    display: flex;
    background-color: #fff;
    border: 1px solid #e1e4e8;
    border-radius: 15px;        /* 둥근 모서리 */
    box-shadow: 0 5px 15px rgba(0,0,0,0.05); /* 부드러운 그림자 */
    overflow: hidden;
    text-decoration: none !important; /* 링크 밑줄 제거 */
    transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1); /* 부드러운 움직임 */
    position: relative;
    cursor: pointer;
}

/* 호버(마우스 올렸을 때) 효과 - 카드 */
.yt-card-link:hover {
    transform: translateY(-5px); /* 위로 살짝 떠오름 */
    box-shadow: 0 15px 30px rgba(35, 111, 161, 0.15); /* 그림자 진해짐 */
    border-color: #236fa1;
}

/* 왼쪽 포인트 컬러 바 (그라데이션) */
.yt-accent-bar {
    width: 8px;
    background: linear-gradient(to bottom, #236fa1, #843fa1);
    flex-shrink: 0;
}

/* 내용 컨텐츠 영역 */
.yt-content {
    flex: 1;
    padding: 25px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

/* 텍스트 정보 영역 */
.yt-info {
    padding-right: 15px;
}

/* 뱃지 스타일 (LIVE TEST) */
.yt-badge {
    display: inline-block;
    font-size: 11px;
    color: #ba372a;
    background-color: #fff0f0;
    border: 1px solid #ba372a;
    padding: 2px 8px;
    border-radius: 20px;
    margin-bottom: 8px;
    font-weight: 800;
    letter-spacing: 0.5px;
}

/* 제목 스타일 */
.yt-info h3 {
    margin: 0 0 8px 0;
    font-size: 19px;
    font-weight: 800;
    color: #222;
    line-height: 1.3;
}

/* 설명문구 스타일 */
.yt-info p {
    margin: 0;
    font-size: 14px;
    color: #666;
    letter-spacing: -0.5px;
    line-height: 1.5;
}

/* 재생 버튼 원형 배경 */
.yt-play-btn {
    width: 56px;
    height: 56px;
    background-color: #f1f3f5;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 2px solid #e9ecef;
    transition: all 0.3s ease;
    flex-shrink: 0; /* 크기 줄어듦 방지 */
}

/* 호버 효과 - 재생 버튼 */
.yt-card-link:hover .yt-play-btn {
    background-color: #ba372a;  /* 유튜브 레드 */
    border-color: #ba372a;
    transform: scale(1.1);      /* 버튼 크기 확대 */
    animation: pulse-red 1.5s infinite; /* 펄스 애니메이션 실행 */
}

/* 재생 삼각형 아이콘 */
.yt-triangle {
    width: 0;
    height: 0;
    border-top: 9px solid transparent;
    border-bottom: 9px solid transparent;
    border-left: 15px solid #666; /* 기본 회색 */
    margin-left: 5px; /* 시각적 중앙 보정 */
    transition: all 0.3s ease;
}

/* 호버 효과 - 삼각형 색상 변경 */
.yt-card-link:hover .yt-triangle {
    border-left-color: #fff;    /* 흰색으로 변경 */
}

/* 펄스 애니메이션 (두근거리는 효과) */
@keyframes pulse-red {
    0% {
        box-shadow: 0 0 0 0 rgba(186, 55, 42, 0.7);
    }
    70% {
        box-shadow: 0 0 0 10px rgba(186, 55, 42, 0);
    }
    100% {
        box-shadow: 0 0 0 0 rgba(186, 55, 42, 0);
    }
}

/* 모바일 반응형 (화면이 좁을 때) */
@media (max-width: 480px) {
    .yt-content {
        padding: 20px 15px;
    }
    .yt-info h3 {
        font-size: 17px;
    }
    .yt-play-btn {
        width: 45px;
        height: 45px;
    }
    .yt-triangle {
        border-top-width: 7px;
        border-bottom-width: 7px;
        border-left-width: 12px;
        margin-left: 4px;
    }
}