/* ============================================
   CSS 변수
   ============================================ */

   :root {
    --color-primary: #331f4c;
    --color-bg-light: #cbc2dc;
    --color-bg-youtube: #CBC2DE;
}

/* ============================================
   공통 버튼 스타일
   ============================================ */

/* 공통 크기 및 여백 (모든 버튼 동일) */
.btn-primary,
.btn-white,
.btn-outline-primary,
.btn-outline-white {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 12px 32px;
    border-radius: 55px;
    transition: all 0.3s ease;
    min-height: 45px;
}

.btn-primary span,
.btn-white span,
.btn-outline-primary span,
.btn-outline-white span {
    font-size: 15px;
    line-height: 1;
    margin: 0;
    padding: 0;
    font-weight: 700;
}

.btn-primary svg,
.btn-white svg,
.btn-outline-primary svg,
.btn-outline-white svg {
    width: 24px;
    height: 24px;
    margin-left: 8px;
}

/* btn-primary 스타일 */
.btn-primary {
    background-color: #331f4C;
}

.btn-primary:hover {
    background-color: #000000;
}

.btn-primary span {
    color: white;
    transition: color 0.3s ease;
}

/* btn-white 스타일 */
.btn-white {
    background-color: white;
}

.btn-white:hover {
    background-color: #000000;
}

.btn-white span {
    color: #331f4C;
    transition: color 0.3s ease;
}

.btn-white:hover span {
    color: white;
}

/* btn-outline-primary 스타일 */
.btn-outline-primary {
    border: 2px solid var(--color-primary);
    border-radius: 9999px;
}

.btn-outline-primary:hover {
    background-color: var(--color-primary);
}

.btn-outline-primary span {
    color: var(--color-primary);
    letter-spacing: 0.5px;
    text-transform: uppercase;
    transition: color 0.3s ease;
}

.btn-outline-primary:hover span {
    color: white;
}

/* btn-outline-white 스타일 */
.btn-outline-white {
    border: 2px solid white;
    background-color: transparent;
}

.btn-outline-white:hover {
    background-color: white;
}

.btn-outline-white span {
    color: white;
    text-align: center;
    transition: color 0.3s ease;
}

.btn-outline-white:hover span {
    color: #CBC2DE;
}

/* ============================================
   공통 섹션 스타일
   ============================================ */

.section-header {
    display: flex;
    flex-direction: column;
    gap: 34px;
    align-items: center;
}

.section-logo {
    width: 43px;
    height: 43px;
}

.section-logo img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

/* ============================================
   공통 텍스트 스타일
   ============================================ */

.text-primary {
    color: var(--color-primary);
}

/* ============================================
   헤더 초기 숨김 (데스크톱만)
   ============================================ */

header {
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.8s ease, visibility 0.8s ease;
}

header.visible {
    opacity: 1;
    visibility: visible;
}

/* 모바일에서는 처음부터 헤더 표시 */
@media (max-width: 767px) {
    header {
        opacity: 1;
        visibility: visible;
    }
}

/* ============================================
   메인 배너
   ============================================ */

.main-banner-section {
    height: 100vh;
    position: relative;
}

.main-banner-scroll-overlay {
    transition: background-color 0.3s ease;
    z-index: 1;
}

.main-banner-overlay {
    opacity: 1;
    transition: opacity 0.1s linear;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
}

.main-banner-initial {
    opacity: 1;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 10001;
    pointer-events: none;
}

.banner-initial-text {
    overflow: hidden;
}

.banner-initial-text .letter {
    display: inline-block;
    vertical-align: baseline;
    line-height: 1;
    margin: 0;
    padding: 0;
}

.banner-initial-text .letter.italic-letter {
    font-style: italic !important;
    font-family: 'Shefian', serif !important;
}

.main-banner-content {
    opacity: 0;
}

/* 통합 배너 텍스트 스타일 */
.main-banner-text-unified {
    z-index: 10;
}

.banner-subtitle,
.banner-main {
    overflow: hidden;
}

.banner-main .letter {
    display: inline-block;
    vertical-align: baseline;
    line-height: 1;
    margin: 0;
    padding: 0;
}

/* ============================================
   애니메이션
   ============================================ */

.scroll-animate {
    opacity: 0;
}

.scroll-animate.animate-visible {
    opacity: 1;
}

.scroll-fadeInDown {
    transform: translateY(-30px);
    transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}

.scroll-fadeInDown.animate-visible {
    opacity: 1;
    transform: translateY(0);
}

.scroll-fadeInLeft {
    transform: translateX(-30px);
    transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}

.scroll-fadeInLeft.animate-visible {
    opacity: 1;
    transform: translateX(0);
}

.scroll-fadeInRight {
    transform: translateX(30px);
    transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}

.scroll-fadeInRight.animate-visible {
    opacity: 1;
    transform: translateX(0);
}

.scroll-fadeInUp {
    transform: translateY(30px);
    transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}

.scroll-fadeInUp.animate-visible {
    opacity: 1;
    transform: translateY(0);
}

.scroll-fadeIn {
    transition: opacity 0.6s ease-out;
}

.scroll-fadeIn.animate-visible {
    opacity: 1;
}

.scroll-zoomIn {
    transform: scale(0.8);
    transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}

.scroll-zoomIn.animate-visible {
    opacity: 1;
    transform: scale(1);
}

.scroll-fade {
    opacity: 0;
    transition: opacity 0.8s ease-out;
}

.scroll-fade.scroll-fade-visible {
    opacity: 1;
}

.text-char-fade .char {
    display: inline-block;
    opacity: 0;
    animation: charFade 0.4s ease-out forwards;
    margin-right: 88px;
}

.text-char-fade .char:last-child {
    margin-right: 0;
}

.text-char-fade .char-space {
    display: inline-block;
}

@keyframes charFade {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

@keyframes spin-slow {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

.brand-circle-rotate {
    animation: spin-slow 20s linear infinite;
}

/* ============================================
   브랜드 섹션
   ============================================ */

.bg-light {
    background-color: var(--color-bg-light);
}

.bg-pink {
    background-image: url('../images/bg_pink.png');
    background-size: 790px 800px;
    background-position: center;
    background-repeat: no-repeat;
    width: 790px;
    height: 800px;
}

.brand-bg-image {
    background: url(../images/image_blur.png) 50% 50% / cover no-repeat;
    width: 727px;
    height: 743px;
    position: absolute;
    top: 5%;
    left: -380px;
    transform-origin: center center;
}

.brand-essential-section .letter,
.special-programs-section .letter,
.youtube-section .letter {
    display: inline-block;
    vertical-align: baseline;
    line-height: 1;
    margin: 0;
    padding: 0;
}

.banner-text-animate .letter {
    display: inline-block;
    vertical-align: baseline;
    line-height: 1;
    padding: 0;
}

.banner-text-animate .letter:last-child {
    margin-right: 0;
}

.scroll-text-ws {
    width: 100%;
    overflow: hidden;
    white-space: nowrap;
    display: flex;
    position: relative;
}

.scroll-text-item {
    display: inline-block;
    white-space: nowrap;
    animation: scroll-text 30s linear infinite;
    padding-right: 50px;
}

.scroll-text-item:nth-child(2) {
    animation-delay: -15s;
}

@keyframes scroll-text {
    0% {
        transform: translateX(0);
    }
    100% {
        transform: translateX(-50%);
    }
}

/* ============================================
   의료진 섹션
   ============================================ */

.doctors-bg-image {
    background: url(../images/image_blur.png) 50% 50% / cover no-repeat;
    width: 727px;
    height: 743px;
    position: absolute;
    top: 0;
    right: -380px;
    transform-origin: center center;
}

/* ============================================
   특별 프로그램 섹션
   ============================================ */

.special-programs-section {
    background-image: 
    linear-gradient(to bottom, rgba(255, 255, 255, 1) 0%, rgba(255, 255, 255, 0) 20%),
    linear-gradient(to top, rgba(255, 255, 255, 1) 0%, rgba(255, 255, 255, 0) 15%),
    url(../images/section05_banner.png);
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

.differences-section {
    background-image:
    linear-gradient(to bottom, rgba(255, 255, 255, 1) 0%, rgba(255, 255, 255, 0) 20%),
    linear-gradient(to top, rgba(255, 255, 255, 1) 0%, rgba(255, 255, 255, 0) 15%),
    url(../images/section05_banner.png);
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

.special-programs-list {
    position: relative;
}

.special-programs-mainlist {
    margin-top: 70px;
    width: 100%;
    position: relative;
    border-top: 1px solid rgba(0, 0, 0, 0.5);
}

.special-programs-item {
    width: 100%;
    border-bottom: 1px solid rgba(0, 0, 0, 0.5);
    transition-duration: 0.4s;
    cursor: pointer;
}

.special-programs-item-inner {
    padding-left: 350px;
    padding-right: 350px;
    transition: all 0.4s;
}

.special-programs-title {
    flex-shrink: 0;
}

.special-programs-desc {
    width: 640px;
    flex-shrink: 0;
}

.special-programs-hover-text {
    opacity: 0;
    transition: opacity 0.4s;
    pointer-events: none;
}

.special-programs-item:hover {
    background-color: #331f4C;
}

.special-programs-item:hover .special-programs-item-inner > p:not(.special-programs-hover-text) {
    opacity: 0;
}

.special-programs-item:hover .special-programs-hover-text {
    opacity: 1 !important;
    pointer-events: auto;
}

/* ============================================
   Swiper 공통
   ============================================ */

.swiper {
    overflow: initial;
    position: relative;
    width: 100%;
    padding-top: 50px;
    padding-bottom: 50px;
}

.swiper-slide {
    background-position: center;
    background-size: cover;
    position: relative;
    width: 352px;
    display: flex;
    flex-direction: column;
    align-items: center;
    cursor: pointer;
}

.swiper-slide img {
    display: block;
    width: 100%;
    height: 320px;
    object-fit: cover;
    transition: transform 0.3s ease;
}


.swiper-slide-text {
    font-size: 22px;
    color: var(--color-primary);
    text-align: center;
    margin-top: 20px;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.swiper-slide-active .swiper-slide-text {
    opacity: 1;
}

.swiper-nav-button {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(0, 0, 0, 0.4);
    height: 48px;
    width: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 4px;
    z-index: 20;
    transition: background-color 0.3s;
}

.swiper-nav-button:hover {
    background: rgba(0, 0, 0, 0.6);
}

.swiper-nav-button-prev {
    left: 120px;
}

.swiper-nav-button-next {
    right: 120px;
}

/* ============================================
   유튜브 섹션
   ============================================ */

.swiper-youtube .swiper-slide {
    transition: transform 0.3s;
    transform: translate(0);
    border-radius: 27px;
    overflow: hidden;
    background: #fff;
    margin-right: 40px;
    width: 425px;
    height: 425px;
    border: 1px solid #c4c4c4;
    position: relative;
}

@media (min-width: 768px) and (max-width: 1024px) {
    .swiper-youtube .swiper-slide {
        height: 350px;
    }
}

.swiper-youtube .swiper-slide a {
    display: block;
    width: 100%;
    height: 100%;
    position: relative;
}

.youtube-thumbnail-bg {
    opacity: 0;
    transition: opacity 0.3s;
    position: absolute;
    z-index: -1;
    width: 100%;
    height: 100%;
    background: #f5f5f5;
    top: 0;
    left: 0;
}

.youtube-thumbnail-bg img {
    width: auto;
    height: auto;
}

.youtube-text-box {
    position: absolute;
    left: 0;
    bottom: 0;
    width: 100%;
    height: 100%;
    padding: 50px 45px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.youtube-category {
    font-weight: 600;
    width: 130px;
    height: 40px;
    line-height: 38px;
    font-size: 14px;
    color: #6f6f6f;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 5px;
    border: 1px solid #c4c4c4;
    border-radius: 50px;
    transition: 0.4s;
    margin: 0;
}

.youtube-category img {
    width: 18px;
    height: 13px;
}

.youtube-category-text {
    transition: 0.4s;
    color: #6f6f6f;
}

.youtube-title-text {
    font-size: 23px;
    text-align: left;
    line-height: 37px;
    padding-bottom: 40px;
    transition: 0.4s;
    color: #192426;
    font-weight: 600;
    margin: 0;
}

.youtube-date-text {
    color: #b2b2b2;
    font-size: 18px;
    display: flex;
    align-items: center;
    gap: 8px;
    transition: 0.4s;
}

.youtube-date-text img {
    width: 20px;
    height: 20px;
}

.swiper-youtube .swiper-slide:hover {
    transform: translate(0, -10%);
}

.swiper-youtube .swiper-slide:hover .youtube-category {
    background: #000;
    color: #fff;
    border: 1px solid #000;
}

.swiper-youtube .swiper-slide:hover .youtube-category-text {
    color: #fff;
}

.swiper-youtube .swiper-slide:hover .youtube-thumbnail-bg {
    opacity: 1;
}

.swiper-youtube .swiper-slide:hover a {
    background: #cbc2dc;
}

.swiper-youtube .swiper-slide:hover .youtube-date-text {
    display: none;
}

.swiper-youtube .swiper-slide:hover .youtube-title-text {
    color: #fff;
    text-decoration-line: underline;
}

.swiper-youtube .youtube-scrollbar.swiper-scrollbar-horizontal,
.swiper-youtube .swiper-scrollbar.swiper-scrollbar-horizontal {
    margin: 80px auto 0 !important;
    height: 3px !important;
    left: 50% !important;
    transform: translate(-50%, -50%) !important;
    position: relative !important;
    bottom: auto !important;
    z-index: 50;
}

.youtube-scrollbar .swiper-scrollbar-drag {
    background: #331f4C;
}

/* ============================================
   푸터
   ============================================ */

.footer-map-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    width: auto;
    height: 40px;
    color: #fff;
    font-size: 15px;
    letter-spacing: 0.02em;
    font-weight: 400;
    gap: 0.75rem;
    padding: 0 15px;
    border: 1px solid #9f9995;
    transition: 0.3s;
    box-sizing: border-box;
}

@media (min-width: 768px) {
    .footer-map-btn {
        min-width: 120px;
    }
}

.footer-map-btn:hover {
    background: #000;
    color: #fff;
    border: none;
}

/* ============================================
   모바일 고정 하단바
   ============================================ */

.mobile-fixed-bar {
    display: none;
}

/* ============================================
   팝업 모달
   ============================================ */

.main-popup-sect {
    display: none;
}

.main-m-popup-sect {
    display: none;
}

.popup-modal {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 10000;
    display: none;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
}

.popup-modal.active {
    display: flex;
    opacity: 1;
    visibility: visible;
}

.popup-overlay {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.4);
    z-index: 89;
}

.popup-container {
    position: relative;
    width: 90%;
    max-width: 800px;
    max-height: 85vh;
    background: linear-gradient(180deg, #1a3a2e 0%, #0f2a20 100%);
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
    z-index: 99;
}

.popup-video-wrapper {
    position: relative;
    width: 100%;
    height: 400px;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
}

.popup-video {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.popup-video-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(26, 58, 46, 0.2) 0%, rgba(15, 42, 32, 0.4) 100%);
    pointer-events: none;
    z-index: 1;
}

.popup-content {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 100%;
    padding: 0 40px;
    text-align: center;
    z-index: 2;
    pointer-events: none;
}

.popup-clinic-name {
    font-size: 18px;
    color: rgba(255, 255, 255, 0.8);
    font-style: italic;
    margin-bottom: 30px;
    letter-spacing: 2px;
}

.popup-title-ko {
    font-size: 20px;
    font-weight: 400;
    color: white;
    line-height: 1.4;
    padding-bottom: 10px;
}

.popup-title-en {
    font-size: 55px;
    font-weight: 500;
    color: white;
    margin-bottom: 50px;
    line-height: 1.2;
}

.popup-event-btn {
    margin: 0 auto;
    padding: 0 30px;
}

.popup-event-btn span {
    font-size: 14px;
}

.popup-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 2px 10px;
    background: #000;
    border-radius: 0 0 20px 20px;
}

.popup-footer span {
    display: flex;
    align-items: center;
    gap: 10px;
    color: white;
    font-size: 14px;
    cursor: pointer;
    user-select: none;
}

.popup-close-btn {
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: opacity 0.3s ease;
}

.popup-close-btn img {
    width: 24px;
    height: 24px;
    display: block;
}

.popup-close-btn:hover {
    opacity: 0.7;
}

/* ============================================
   퀵 메뉴
   ============================================ */

.quick-menu {
    position: fixed;
    bottom: 3rem;
    right: 2rem;
    z-index: 9999;
}


@keyframes floatUpDown {
    0%, 100% {
        transform: translateY(0);
        -webkit-transform: translateY(0);
    }
    50% {
        transform: translateY(-15px);
        -webkit-transform: translateY(-15px);
    }
}

.quick-wrap {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    gap: 20px;
}

.quick-wrap > .quick-btn-area {
    position: relative;
    align-self: flex-end;
    margin-right: calc((143px - 50px) / 2);
}

.quick-wrap > .top_btn01 {
    position: relative;
    align-self: flex-end;
    margin-right: calc((143px - 14.829px) / 2);
    display: flex;
    align-items: center;
    justify-content: center;
}

.inner-hide-title {
    opacity: 0;
}

.quick-button-group {
    position: absolute;
    width: 143px;
    right: 0;
    bottom: calc(50px + 20px);
    pointer-events: none;
    transition: bottom 0.3s ease;
}

.quick-wrap.is-active .quick-button-group {
    height: auto;
    pointer-events: fill;
}

.quick-social-icon {
    display: block;
    opacity: 0;
}

.quick-wrap.is-active .quick-social-icon {
    opacity: 1;
}

.quick-social-icon .title-wrap {
    font-weight: 600;
    border: 1px solid var(--color-primary);
    letter-spacing: -0.5px;
    gap: 10px;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    vertical-align: middle;
    width: 100%;
    border-radius: 2rem;
    background: #fff;
    margin-bottom: 9px;
    font-size: 15px;
    padding: 0 15px;
    height: 45px;
    text-decoration: none;
    opacity: 0;
}


.quick-wrap.is-active .quick-social-icon .title-wrap {
    opacity: 1;
}

.quick-social-icon .icon-social {
    width: 20px;
    height: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
}

.quick-social-icon .tit {
    cursor: pointer;
    font-family: 'BonmyeongjoSourceHanSerif', serif;
    color: #000;
    display: flex;
    align-items: center;
    line-height: 1;
}

.quick-btn-area {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 50px;
    height: 50px;
    border-radius: 50%;
}

.quick-btn-area .quick-bg {
    position: absolute;
    width: 50px;
    height: 50px;
    top: 0px;
    right: 0px;
    border-radius: 100%;
    background: #000;
    transition: all 400ms cubic-bezier(0.215, 0.61, 0.355, 1) 0ms;
    -webkit-transition: all 400ms cubic-bezier(0.215, 0.61, 0.355, 1) 0ms;
    overflow: hidden;
}

.is-active .quick-btn-area .quick-bg {
    display: none;
    background: none;
    transition: transform 330ms cubic-bezier(0.215, 0.61, 0.355, 1) 150ms;
}

.open_btn {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 1;
    transition: opacity 0.3s ease;
    -webkit-transition: opacity 0.3s ease;
    -moz-transition: opacity 0.3s ease;
    -ms-transition: opacity 0.3s ease;
    -o-transition: opacity 0.3s ease;
    display: flex;
    justify-content: center;
    align-items: center;
}

.open_btn > div {
    width: 4px;
    height: 4px;
    border-radius: 100%;
    display: inline-block;
    margin: 0 3px;
    background-color: #fff;
    -webkit-animation: sk-bouncedelay 1.4s infinite ease-in-out both;
    animation: sk-bouncedelay 1.4s infinite ease-in-out both;
    transition: 0.3s ease;
    -webkit-transition: 0.3s ease;
    -moz-transition: 0.3s ease;
    -ms-transition: 0.3s ease;
    -o-transition: 0.3s ease;
}

.open_btn .bounce1 {
    -webkit-animation-delay: -0.32s;
    animation-delay: -0.32s;
}

.open_btn .bounce2 {
    -webkit-animation-delay: -0.16s;
    animation-delay: -0.16s;
}

.chatbot_button_icon {
    position: relative;
    width: 50px;
    height: 50px;
    cursor: pointer;
}

.quick-close-btn {
    position: absolute;
    top: 0px;
    left: 0px;
    width: 50px;
    height: 50px;
    background: #575757;
    border-radius: 50%;
    opacity: 0;
    -webkit-transform: rotate(-135deg);
    transform: rotate(-135deg);
    -webkit-transition: background 0ms ease 500ms, opacity 0ms ease 500ms, -webkit-transform 500ms cubic-bezier(0.55, 0.055, 0.675, 0.19);
    transition: background 0ms ease 500ms, opacity 0ms ease 500ms, -webkit-transform 500ms cubic-bezier(0.55, 0.055, 0.675, 0.19);
    transition: transform 500ms cubic-bezier(0.55, 0.055, 0.675, 0.19), opacity 0ms ease 500ms, background 0ms ease 500ms;
    transition: transform 500ms cubic-bezier(0.55, 0.055, 0.675, 0.19), opacity 0ms ease 500ms, background 0ms ease 500ms, -webkit-transform 500ms cubic-bezier(0.55, 0.055, 0.675, 0.19);
}

.quick-wrap.is-active .quick-close-btn {
    -webkit-transform: rotate(0deg);
    transform: rotate(0deg);
    -webkit-transition: -webkit-transform 330ms cubic-bezier(0.215, 0.61, 0.355, 1) 150ms;
    transition: -webkit-transform 330ms cubic-bezier(0.215, 0.61, 0.355, 1) 150ms;
    transition: transform 330ms cubic-bezier(0.215, 0.61, 0.355, 1) 150ms;
    transition: transform 330ms cubic-bezier(0.215, 0.61, 0.355, 1) 150ms, -webkit-transform 330ms cubic-bezier(0.215, 0.61, 0.355, 1) 150ms;
    opacity: 1;
}

.quick-close-btn span {
    position: absolute;
    display: inline-block;
    top: 50%;
    left: 50%;
    width: 26px;
    height: 2px;
    background-color: #fff;
}

.quick-close-btn span:nth-of-type(1) {
    transform: translate(-50%, -50%) rotate(47deg);
    -webkit-transform: translate(-50%, -50%) rotate(47deg);
}

.quick-close-btn span:nth-of-type(2) {
    transform: translate(-50%, -50%) rotate(313deg);
    -webkit-transform: translate(-50%, -50%) rotate(313deg);
}

@-webkit-keyframes sk-bouncedelay {
    0%,
    80%,
    100% {
        -webkit-transform: scale(0);
    }
    40% {
        -webkit-transform: scale(1.0);
    }
}

@keyframes sk-bouncedelay {
    0%,
    80%,
    100% {
        -webkit-transform: scale(0);
        transform: scale(0);
    }
    40% {
        -webkit-transform: scale(1.0);
        transform: scale(1.0);
    }
}

@-webkit-keyframes bounce {
    from {
        transform: translateY(0px);
    }
    to {
        transform: translateY(-15px);
    }
}

@keyframes bounce {
    from {
        transform: translateY(0px);
    }
    to {
        transform: translateY(-15px);
    }
}

#top_btn {
    position: absolute;
    bottom: -100%;
    right: inherit;
    border: 0;
    background: url("../img/top_btn.png") no-repeat center/ 100% auto;
    opacity: 0;
    visibility: hidden;
}

#top_btn:hover {
    border: 0;
    background: url("../img/top_btn.png") no-repeat center/ 100% auto;
    color: inherit;
}

#quick.on #top_btn {
    opacity: 1;
    visibility: visible;
    border: 0;
    background: none;
}

#quick .top_btn01 {
    position: relative;
    cursor: pointer;
    display: none;
    align-items: center;
    justify-content: center;
}

#quick.on .top_btn01 {
    display: flex;
}

.top_btn01 svg {
    width: 15px;
    height: 35px;
}

.top_btn01 svg line {
    transition: stroke 0.3s ease;
}

/* ============================================
   스크롤 아이콘 애니메이션
   ============================================ */

.scroll-icon-btn {
    background: transparent;
    border: none;
    padding: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    animation: scrollBounce 2s ease-in-out infinite;
    transition: opacity 0.3s ease, transform 0.3s ease;
    outline: none;
}

.scroll-icon-btn:hover {
    opacity: 0.8;
    transform: scale(1.1);
}

.scroll-icon-btn:active {
    transform: scale(0.95);
}

.scroll-icon-btn img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: contain;
    filter: drop-shadow(0px 2px 4px rgba(0, 0, 0, 0.3));
}

@keyframes scrollBounce {
    0%, 100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-10px);
    }
}

/* ============================================
   새로운 헤더 드롭다운 메뉴 스타일
   ============================================ */

header {
    position: relative;
}

.dropdown-menu {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: #f5f5f5;
    opacity: 0;
    visibility: hidden;
    max-height: 0;
    overflow: hidden;
    transition: opacity 0.5s ease-in-out, visibility 0.5s ease-in-out, max-height 0.5s ease-in-out;
    z-index: 10000;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    display: none;
}

@media (min-width: 769px) {
    .dropdown-menu {
        display: block;
    }
}

.dropdown-menu > div {
    display: flex;
    justify-content: flex-end;
}

.dropdown-menu .grid {
    max-width: 1200px;
    margin-left: auto;
}

.dropdown-menu.active {
    opacity: 1;
    visibility: visible;
    max-height: 1000px;
}

.dropdown-column {
    border-right: 1px solid #e0e0e0;
    padding-right: 40px;
    opacity: 0;
    transform: translateY(-20px);
    transition: opacity 0.4s ease, transform 0.4s ease;
}

.dropdown-menu.active .dropdown-column {
    opacity: 1;
    transform: translateY(0);
}

.dropdown-menu.active .dropdown-column:nth-child(1) {
    transition-delay: 0.1s;
}

.dropdown-menu.active .dropdown-column:nth-child(2) {
    transition-delay: 0.2s;
}

.dropdown-menu.active .dropdown-column:nth-child(3) {
    transition-delay: 0.3s;
}

.dropdown-menu.active .dropdown-column:nth-child(4) {
    transition-delay: 0.4s;
}

.dropdown-menu.active .dropdown-column:nth-child(5) {
    transition-delay: 0.5s;
}

.dropdown-column:last-child {
    border-right: none;
}

.dropdown-column h3,
.dropdown-column h4 {
    color: #331f4C;
    margin-bottom: 20px;
}

.dropdown-column ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.dropdown-column ul li {
    margin-bottom: 12px;
}

.dropdown-column ul li a {
    display: block;
    text-decoration: none;
    transition: color 0.3s ease;
}

#main-nav.menu-active {
    background-color: var(--color-primary);
}

@media (max-width: 767px) {
    #main-nav.menu-active {
        background-color: transparent;
    }
}

.hamburger-menu-btn {
    position: relative;
    display: flex;
    z-index: 10002;
}

.hamburger-menu-btn span {
    position: absolute;
    width: 100%;
    height: 2px;
    background-color: white;
    border-radius: 3px;
    transition: all 0.3s ease;
    left: 0;
}

/* 메인 페이지: 기본 primary 컬러 */
body:not(.sub-page) .hamburger-menu-btn span {
    background-color: #331f4C;
}

.hamburger-menu-btn span:nth-child(1) {
    top: 0;
}

.hamburger-menu-btn span:nth-child(2) {
    top: 50%;
    transform: translateY(-50%);
}

.hamburger-menu-btn span:nth-child(3) {
    bottom: 0;
}

.hamburger-menu-btn.active span:nth-child(1) {
    top: 50%;
    transform: translateY(-50%) rotate(45deg);
}

.hamburger-menu-btn.active span:nth-child(2) {
    opacity: 0;
    transform: translateY(-50%);
}

.hamburger-menu-btn.active span:nth-child(3) {
    bottom: auto;
    top: 50%;
    transform: translateY(-50%) rotate(-45deg);
}

/* 햄버거 메뉴 active 상태일 때 흰색 */
.hamburger-menu-btn.active span {
    background-color: white !important;
}

/* 메뉴 active 상태일 때 로고와 텍스트 흰색 */
#main-nav.menu-active #logo-link img {
    filter: brightness(0) invert(1) !important;
}

#main-nav.menu-active #logo-link p,
#main-nav.menu-active .text-primary,
#main-nav.menu-active .text-primary span {
    color: white !important;
}

/* ============================================
   서브메뉴 스타일
   ============================================ */

.nav-item-with-submenu {
    position: relative;
}

.nav-item-with-submenu::after {
    content: '';
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translateX(-50%);
    width: 200px;
    height: 20px;
    background: transparent;
    pointer-events: none;
    z-index: 10001;
}

.nav-item-with-submenu:hover::after {
    pointer-events: auto;
}

.submenu {
    pointer-events: none;
    transform: translateX(-50%) translateY(0);
}

.submenu::before {
    content: '';
    position: absolute;
    top: -20px;
    left: 50%;
    transform: translateX(-50%);
    width: 200px;
    height: 20px;
    background: transparent;
    z-index: 10001;
}

.nav-item-with-submenu:hover .submenu,
.submenu:hover {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
}

.submenu a {
    text-decoration: none;
    display: block;
    white-space: nowrap;
}

.submenu a:first-child {
    border-radius: 8px 8px 0 0;
}

.submenu a:last-child {
    border-radius: 0 0 8px 8px;
}

/* ============================================
   메인 페이지 반응형
   ============================================ */

/* 헤더 */
header {
    z-index: 10001;
}

.header-hamburger {
    display: none !important;
    flex-direction: column;
    justify-content: space-between;
    width: 28px;
    height: 15px;
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 0;
    z-index: 10002;
    position: fixed;
    right: 15px;
    top: 20px;
}

.hamburger-line {
    width: 100%;
    height: 3px;
    background-color: #331f4C;
    border-radius: 3px;
    transition: all 0.3s ease;
}

.header-hamburger.active .hamburger-line:nth-child(1) {
    transform: rotate(45deg) translate(4px, 4px);
    background-color: white !important;
}

.header-hamburger.active .hamburger-line:nth-child(2) {
    transform: rotate(-45deg) translate(5px, -5px);
    background-color: white !important;
}

.mobile-sidebar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    visibility: hidden;
    opacity: 0;
    transition: all 0.3s ease;
    z-index: 10000;
    display: none;
}

@media (max-width: 768px) {
    .mobile-sidebar {
        display: block;
    }
}

.mobile-sidebar.active {
    visibility: visible;
    opacity: 1;
}

.mobile-sidebar-overlay {
    display: none;
}

.mobile-sidebar-content {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.9);
    transform: translateY(-100%);
    transition: transform 0.4s ease;
    overflow-y: auto;
    padding-top: 150px;
}

.mobile-sidebar.active .mobile-sidebar-content {
    transform: translateY(0);
}

.mobile-sidebar-header {
    position: absolute;
    top: 20px;
    left: 20px;
    right: 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    z-index: 10003;
}

.mobile-logo-link {
    display: flex;
    align-items: center;
    gap: 12px;
    text-decoration: none;
}

.mobile-sidebar-close {
    width: 24px;
    height: 24px;
    position: relative;
    background: transparent;
    border: none;
    cursor: pointer;
    z-index: 10003;
    display: flex;
    align-items: center;
    justify-content: center;
}

.mobile-sidebar-close span {
    position: absolute;
    width: 20px;
    height: 2px;
    background-color: white;
    transition: all 0.3s ease;
}

.mobile-sidebar-close span:first-child {
    transform: rotate(45deg);
}

.mobile-sidebar-close span:last-child {
    transform: rotate(-45deg);
}

.mobile-sidebar-nav {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 28px;
    padding: 0 20px;
    width: 100%;
}

.mobile-nav-item {
    padding: 0;
    font-size: 20px;
    color: white;
    text-decoration: none;
    border: none;
    transition: opacity 0.3s;
    overflow: hidden;
}

.mobile-nav-item .letter {
    display: inline-block;
    vertical-align: top;
    opacity: 0;
    transform: translateY(100%);
    transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}

.mobile-nav-button {
    padding: 10px 21px;
    background-color: #fff;
    border: none;
    border-radius: 55px;
    font-size: 14px;
    font-weight: bold;
    cursor: pointer;
    transition: opacity 0.3s;
    margin-top: 20px;
}

.mobile-nav-button span {
    color: var(--color-primary);
}

.mobile-nav-item-group {
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.mobile-nav-accordion-btn {
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 0;
    font-size: 20px;
    color: white;
    text-align: left;
    width: 100%;
    position: relative;
    transition: opacity 0.3s;
    overflow: hidden;
}


.mobile-submenu {
    width: 100%;
}

.mobile-submenu-accordion {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
}

.mobile-submenu-accordion.active {
    max-height: 500px;
}

.mobile-submenu-item {
    text-decoration: none;
    transition: opacity 0.3s, color 0.3s;
    text-align: left;
    display: block;
}

.mobile-submenu-item:hover {
    opacity: 1;
    color: white;
}

.mobile-submenu-divider {
    margin: 12px 0;
}

.mobile-submenu-subtitle {
    font-size: 14px;
    color: rgba(255, 255, 255, 0.6);
    font-weight: 600;
    margin-bottom: 8px;
    padding: 0;
}

/* 노트북 */

@media (max-width: 1919px) {
    .main-banner-section .main-banner-text {
        width: 90% !important;
    }
    
    .brand-bg-image {
        width: 550px !important;
        height: 600px !important;
        left: -300px !important;
    }
    
    .swiper-nav-button-prev {
        left: 60px !important;
    }
    
    .swiper-nav-button-next {
        right: 60px !important;
    }
    
    .footer-divider {
        margin-left: 60px !important;
        margin-right: 60px !important;
    }
    
    /* 베타테스트 */
    .beta-notice-box {
        bottom: 2.5rem !important;
        left: 1.5rem !important;
    }
    
    .beta-notice-content {
        padding: 14px 20px !important;
        min-width: 160px !important;
    }
    
    .beta-notice-line1,
    .beta-notice-line2 {
        font-size: 13px !important;
    }
}

/* 태블릿 */

@media (max-width: 1200px) {    
    /* 메인 배너 */
    .main-banner-section {
        height: 600px !important;
    }

    .main-banner-overlay {
        display: none !important;
    }

    .main-banner-initial {
        display: none !important;
    }

    .main-banner-content {
        opacity: 1 !important;
    }

    .main-banner-content-mobile {
        opacity: 1 !important;
    }

    .main-banner-image {
        content: url(../images/m_main_banner.png) !important;
    }

    .main-banner-initial {
        bottom: 200px !important;
        top: auto !important;
    }

    .banner-initial-text {
        font-size: 50px !important;
        letter-spacing: 5px !important;
        line-height: 1.2 !important;
    }

    .mobile-banner-subtitle {
        font-size: 14px !important;
        letter-spacing: 5px !important;
    }

    .mobile-banner-main {
        font-size: 45px !important;
        letter-spacing: 6px !important;
    }

    .main-banner-section .main-banner-text {
        width: 90% !important;
        height: auto !important;
        display: flex !important;
        flex-direction: column !important;
        align-items: center !important;
        justify-content: center !important;
        margin-top: 70px !important;
    }

    .main-banner-section .banner-header-1 {
        font-size: 16px !important;
        margin-bottom: 0 !important;
        order: 1 !important;
    }

    .main-banner-section .main-banner-text .absolute.left-0.top-\[30\%\] {
        top: 55px !important;
    }

    .main-banner-section .main-banner-text .absolute.left-0.top-\[30\%\] p {
        font-size: 18px !important;
    }

    .main-banner-section .banner-header-2 {
        font-size: 16px !important;
        margin-bottom: 0 !important;
    }

    .main-banner-section .main-banner-text .absolute.bottom-\[10\%\] {
        position: relative !important;
        bottom: 96px;
    }

    .main-banner-section .main-banner-text .absolute.bottom-\[10\%\] p {
        font-size: 18px !important;
    }

    .main-banner-section .banner-header-3 {
        font-size: 16px !important;
        margin-bottom: 0 !important;
        order: 5 !important;
    }

    /* 브랜드 섹션 */
    .brand-essential-section .section-container {
        padding-left: 30px !important;
        padding-right: 30px !important;
        gap: 40px !important;
    }
    
    .brand-essential-section .scroll-text-ws {
        padding-top: 100px !important;
    }
    
    .brand-bg-image {
        width: 450px !important;
        height: 500px !important;
        left: -300px !important;
        top: 20% !important;
    }
    
    /* 프로그램 섹션 */
    .swiper-nav-button-prev {
        left: 30px !important;
    }
    
    .swiper-nav-button-next {
        right: 30px !important;
    }
    
    .swiper-slide {
        width: 280px !important;
    }
    
    
    /* 푸터 */
    /* footer 반응형은 HTML에서 Tailwind로 처리 */
}

/* 모바일 */

@media (max-width: 767px) {
    /* 버튼 */
    .btn-primary,
    .btn-white,
    .btn-outline-primary,
    .btn-outline-white {
        padding: 10px 15px !important;
    }
    
    .btn-primary span,
    .btn-white span,
    .btn-outline-primary span,
    .btn-outline-white span {
        font-size: 13px !important;
    }
            
    .brand-essential-section .scroll-text-ws {
        padding-top: 60px !important;
    }
    
    /* 프로그램 섹션 */
    .programs-section {
        padding-top: 60px !important;
        padding-bottom: 60px !important;
    }
    
    .section-header {
        gap: 20px !important;
        margin-bottom: 20px !important;
    }
    
    .swiper {
        padding-top: 0 !important;
        padding-bottom: 0 !important;
    }

    .swiper-nav-button-prev {
        left: 10px !important;
        width: 28px !important;
        height: 40px !important;
    }
    
    .swiper-nav-button-next {
        right: 10px !important;
        width: 28px !important;
        height: 40px !important;
    }
    
    .swiper-nav-button img {
        width: 16px !important;
        height: 16px !important;
    }
    
    .swiper-slide {
        width: 280px !important;
    }
    
    .swiper-slide img {
        height: 250px !important;
    }
    
    .swiper-slide-text {
        font-size: 16px !important;
        margin-top: 15px !important;
    }
    
    /* 의료진 섹션 */
    .doctors-bg-image {
        width: 400px !important;
        height: 400px !important;
        right: -180px !important;
        top: 34% !important;
    }
    
    .doctors-cards-container {
        flex-direction: column !important;
        gap: 40px !important;
    }
    
    .doctor-card {
        flex-direction: column !important;
        gap: 30px !important;
    }
    
    .doctor-card .flex-1 {
        width: 100% !important;
    }
    
    .doctor-info > div:first-child > p:first-child {
        font-size: 22px !important;
    }
    
    .doctor-info > div:first-child > p:last-child {
        font-size: 14px !important;
    }
    
    .doctor-info > div:first-child {
        gap: 12px !important;
    }
    
    .doctor-image {
        width: 100% !important;
        max-width: 327px !important;
        height: auto !important;
        aspect-ratio: 327 / 425 !important;
    }
    
    .doctor-text-image {
        display: none !important;
    }
    
    /* 특별 프로그램 섹션 */
    .special-programs-section {
        padding-top: 0 !important;
        padding-bottom: 60px !important;
    }
    
    .special-programs-section > div{
        gap: 20px !important;
    }
    
    .special-programs-item {
        padding: 0 !important;
    }
    
    .special-programs-item-inner {
        flex-direction: column !important;
        align-items: flex-start !important;
        gap: 15px !important;
        padding: 25px 20px !important;
        height: auto !important;
    }
    
    .special-programs-title {
        font-size: 28px !important;
        line-height: 1.2 !important;
    }
    
    .special-programs-desc {
        width: 100% !important;
        font-size: 15px !important;
        line-height: 1.5 !important;
        text-align: left !important;
    }
    
    .special-programs-hover-text {
        font-size: 20px !important;
    }
    
    /* 유튜브 섹션 */
    .youtube-section {
        padding-top: 60px !important;
        padding-bottom: 50px !important;
    }
    
    .youtube-header-wrapper {
        flex-direction: column !important;
        gap: 30px !important;
    }
    
    .youtube-section .youtube-header-1,
    .youtube-section .youtube-header-2 {
        font-size: 20px !important;
        letter-spacing: 5px !important;
    }
    
    .youtube-text-wrapper{
        gap: 30px !important;
    }

    .youtube-text-wrapper p  {
        font-size: 16px !important;
    }
    
    .youtube-buttons-wrapper {
        flex-direction: row !important;
        width: 100% !important;
        gap: 5px !important;
    }
    
    .youtube-buttons-wrapper > * {
        flex: 1 !important;
    }
    
    
    .swiper-youtube .swiper-slide {
        width: 300px !important;
        height: 300px !important;
        margin-right: 20px !important;
    }
    
    .youtube-text-box {
        padding: 30px 25px !important;
    }
    
    .youtube-category {
        width: 110px !important;
        height: 35px !important;
        font-size: 12px !important;
    }
    
    .youtube-category img {
        width: 14px !important;
        height: 10px !important;
    }
    
    .youtube-title-text {
        font-size: 18px !important;
        line-height: 28px !important;
        padding-bottom: 30px !important;
    }
    
    .youtube-date-text {
        font-size: 14px !important;
    }
    
    .youtube-date-text img {
        width: 16px !important;
        height: 16px !important;
    }
    
    .swiper-youtube .youtube-scrollbar.swiper-scrollbar-horizontal,
    .swiper-youtube .swiper-scrollbar.swiper-scrollbar-horizontal {
        margin: 30px auto 0 !important;
    }
    
    /* 푸터 */
    footer {
        padding-top: 60px !important;
        padding-bottom: 40px !important;
    }
    
    footer .section-container {
        padding: 0 20px !important;
    }
    
    /* footer 반응형은 HTML에서 Tailwind로 처리 */
    
    
    /* 모바일 고정 하단바 */
    .mobile-fixed-bar {
        display: flex !important;
        position: fixed !important;
        bottom: 0 !important;
        left: 0 !important;
        right: 0 !important;
        background-color: white !important;
        height: 80px !important;
        z-index: 9998 !important;
        align-items: center !important;
        justify-content: space-around !important;
        box-shadow: 0 -2px 10px rgba(0, 0, 0, 0.1) !important;
        border-radius: 30px 30px 0 0 !important;
        transition: background-color 0.3s ease !important;
    }
    
    .mobile-fixed-bar.scrolled {
        background-color: rgba(255, 255, 255, 0.95) !important;
        backdrop-filter: blur(10px) !important;
        -webkit-backdrop-filter: blur(10px) !important;
    }
    
    .mobile-fixed-bar-item {
        display: flex !important;
        flex-direction: row !important;
        align-items: center !important;
        gap: 5px !important;
        cursor: pointer !important;
        flex: 1 !important;
        justify-content: center !important;
        position: relative !important;
    }
    
    .mobile-fixed-bar-item:not(:last-child)::after {
        content: '' !important;
        position: absolute !important;
        right: 0 !important;
        top: 50% !important;
        transform: translateY(-50%) !important;
        width: 1px !important;
        height: 50px !important;
        background-color: #331f4C !important;
    }
    
    .mobile-fixed-bar-item span {
        font-size: 12px !important;
        color: #331f4C !important;
        font-weight: 600 !important;
    }
    
    .mobile-fixed-bar-icon {
        width: 24px !important;
        height: 24px !important;
    }
    
    .mobile-fixed-bar-phone {
        flex-direction: row !important;
    }
    
    .mobile-fixed-bar-phone-text {
        display: flex !important;
        flex-direction: column !important;
        align-items: center !important;
    }
    
    .mobile-fixed-bar-phone-label {
        font-size: 12px !important;
        color: #331f4C !important;
    }
    
    .mobile-fixed-bar-phone-number {
        font-size: 18px !important;
        font-weight: bold !important;
        color: #331f4C !important;
    }

    #quick {
        display: none !important;
    }
    
    /* 닥터 학회 */
    .doctor-societies-desktop {
        display: none !important;
    }
    
    /* 베타테스트 */
    .beta-notice-box {
        bottom: 100px !important;
        left: 15px !important;
    }
    
    .beta-notice-content {
        padding: 12px 18px !important;
        min-width: 150px !important;
        border-radius: 15px !important;
    }
    
    .beta-notice-line1,
    .beta-notice-line2 {
        font-size: 12px !important;
    }
}

/* 작은 모바일 */

@media (max-width: 480px) {
    .section-container {
        padding: 0 15px !important;
    }

    .main-banner-section .banner-header-1,
    .main-banner-section .banner-header-2,
    .main-banner-section .banner-header-3 {
        font-size: 14px !important;
    }
    
    .banner-text-animate .letter {
        margin-right: 0
    }
    
    .brand-essential-section .scroll-text-item {
        font-size: 30px !important;
    }
    
    .swiper-slide {
        width: 240px !important;
    }
    
    .swiper-slide img {
        height: 220px !important;
    }
    
    .swiper-youtube .swiper-slide {
        width: 280px !important;
        height: 280px !important;
    }
    
    .youtube-text-box {
        padding: 25px 20px !important;
    }
    
    .youtube-category {
        width: 100px !important;
        height: 32px !important;
        font-size: 11px !important;
    }
    
    .youtube-category img {
        width: 12px !important;
        height: 9px !important;
    }
    
    .youtube-title-text {
        font-size: 16px !important;
        line-height: 24px !important;
        padding-bottom: 25px !important;
    }
    
    .youtube-date-text {
        font-size: 12px !important;
    }
    
    .youtube-date-text img {
        width: 14px !important;
        height: 14px !important;
    }
    
    /* 팝업 */
    .main-popup-sect {
        display: none !important;
    }
    
    .main-m-popup-sect {
        display: block !important;
    }
    
    .main-m-popup-sect.popup-modal.active {
        display: flex !important;
        align-items: center !important;
        justify-content: center !important;
    }
    
    .popup-container {
        width: 90% !important;
        max-width: 400px !important;
        max-height: 85vh !important;
        border-radius: 20px !important;
        margin: 0 auto !important;
    }
    
    .popup-video-wrapper {
        height: 400px !important;
    }
    
    .popup-content {
        padding: 0 20px !important;
        text-align: center !important;
        left: 50% !important;
        transform: translate(-50%, -50%) !important;
    }
    
    .popup-clinic-name {
        font-size: 14px !important;
        margin-bottom: 20px !important;
    }
    
    .popup-title-ko {
        font-size: 18px !important;
        padding-bottom: 10px !important;
        margin-bottom: 0 !important;
    }
    
    .popup-title-en {
        font-size: 45px !important;
        margin-bottom: 50px !important;
        letter-spacing: 0 !important;
    }
    
    .popup-event-btn {
        margin: 0 auto !important;
        padding: 0 30px !important;
    }
    
    .popup-event-btn span {
        font-size: 14px !important;
    }
    
    .popup-footer span {
        font-size: 12px !important;
    }
    
    /* 베타테스트 */
    .beta-notice-box {
        bottom: 100px !important;
        left: 15px !important;
    }
    
    .beta-notice-content {
        padding: 12px 18px !important;
        min-width: 150px !important;
        border-radius: 15px !important;
    }
    
    .beta-notice-line1,
    .beta-notice-line2 {
        font-size: 12px !important;
    }
}