body {
    margin: 0;
    padding: 0;
    width: 100%; 
}

/* section 기본 여백 제거 */
section {
    margin: 0;
    padding: 0;
}

/* 영상과 아래 이미지 사이 여백 제거 */
.video-section,
.page2 {
    margin: 0;
    padding: 0;
}

.imgbox {
    display: flex;
    justify-content: center;
    position: relative;
}

img {
    width: 100%;
    max-width: 756px;
    height: auto;
    image-rendering: auto;
    display: block;
}

iframe {
    display: block;
}

/* YouTube 영상 컨테이너 */
.video-wrapper {
    width: 100%;
    max-width: 756px;
    height: auto; 
    aspect-ratio: 16 / 9;
    margin: 0 auto;
    position: relative;
}

.video-wrapper iframe {
    width: 100%;
    height: 100%;
    border: 0;
}



/* 버튼 컨테이너 */
.button-container {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    width: 100%;
    max-width: 756px;
    height: 70px;
    margin: 0 auto;
    text-align: center;
    z-index: 100;
}

.btn {
    display: block;
    width: 100%;
    height: 100%;
    font-size: 1.375rem;
    font-weight: 700;
    letter-spacing: -0.25px;
    padding: 18px 0;
    text-align: center;
    background-color: rgba(59, 42, 130, 1);
    color: #fff;
    text-decoration: none;
    border: none;
    cursor: pointer;
}

.popup {
    display: none;
    position: fixed;
    z-index: 999;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    background: #fff;
    border: 2px solid #3b2a82;
    padding: 20px;
    width: 90%;
    max-width: 400px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.3);
    text-align: center;
    border-radius: 8px;
}

.popup h2 {
    margin-top: 0;
}

.popup button {
    margin-top: 20px;
    padding: 10px 20px;
    background-color: #3b2a82;
    color: #fff;
    border: none;
    cursor: pointer;
}

@media screen and (max-width: 768px) {
    .button-container {
       height: 60px;
    }
}

@media screen and (max-width: 480px) {
    .popup {
      width: 80%;
      padding: 16px;
    }
}