/* 산타클로스의원 메인 스타일 */
@charset "utf-8";
@import url('https://fonts.googleapis.com/css2?family=42dot+Sans:wght@300..800&family=Dancing+Script:wght@400..700&family=Gowun+Batang&family=Lato:ital,wght@0,100;0,300;0,400;0,700;0,900;1,100;1,300;1,400;1,700;1,900&family=Libre+Baskerville:ital,wght@0,400;0,700;1,400&family=Montserrat:ital,wght@0,100..900;1,100..900&family=Nanum+Brush+Script&family=Nanum+Myeongjo&family=Noto+Sans+KR:wght@100..900&family=Noto+Serif+KR:wght@200..900&family=Nunito:ital,wght@0,200..1000;1,200..1000&family=Open+Sans:ital,wght@0,300..800;1,300..800&family=Playfair+Display:ital,wght@0,400..900;1,400..900&family=Varela+Round&display=swap');
@import url('https://cdn.jsdelivr.net/gh/moonspam/NanumSquare@2.0/nanumsquare.css'); /* 300,400,700,800 */

/* Libre Baskerville, Dancing Script, Playfair Display, Montserrat, Lato, Nunito, Varela Round, Noto Serif KR, Noto Sans KR, Nanum Myeongjo, 42dot Sans, Gowun Batang, Nanum Brush Script */

@font-face { 
  font-family:'NEXON Lv1 Gothic OTF'; 
  src:url('https://cdn.jsdelivr.net/gh/projectnoonnu/noonfonts_20-04@2.1/NEXON Lv1 Gothic OTF.woff') format('woff');
}
@font-face {
  font-family: 'NEXON Lv2 Gothic';
  src: url('https://fastly.jsdelivr.net/gh/projectnoonnu/noonfonts_20-04@2.1/NEXON Lv2 Gothic.woff') format('woff');
  font-weight: normal;
  font-style: normal;
}

/* 기본 리셋 */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary-color: #f43f6a;
    --secondary-color: #fe7091;
    --accent-color: #ea2151;
    --text-dark: #1a1a1a;
    --text-light: #666;
    --bg-light: #fafafa;
    --bg-dark: #0a0a0a;
    --white: #ffffff;
    --shadow: 0 2px 15px rgba(0,0,0,0.2);
    --shadow-hover: 0 5px 25px rgba(255,20,147,0.3);
}

body {
    font-family: 'Noto Sans KR', 'Apple SD Gothic Neo', sans-serif;
    color: var(--text-dark);
    line-height: 1.6;
    overflow-x: hidden;
}

div, span, table, p, input, textarea, button, select, code, h1, h2, h3 {
  font-family:"Pretendard Variable", "NanumSquare", "Apple SD Gothic Neo", "NEXON Lv2 Gothic";
  font-weight: 300;
}


/* 헤더 스타일 */
header {
    padding-top:10px;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: var(--bg-light);
    box-shadow: var(--shadow);
    z-index: 1000;
    transition: all 0.3s ease;
}

.header-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 7%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 80px;
}

.logo {
    font-size: 28px;
    font-weight: 700;
    color: var(--white);
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 10px;
}

.logo span {
    color: var(--primary-color);
}

/* 네비게이션 */
nav {
    display: flex;
    gap: 40px;
}

.nav-item {
    position: relative;
    padding: 28px 0;
}

.nav-item > a {
    text-decoration: none;
    color: var(--text-dark);
    font-weight: 500;
    font-size: 16px;
    transition: color 0.3s ease;
    position: relative;
    padding: 10px 0;
}

.nav-item > a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    width: 0;
    height: 2px;
    background: var(--primary-color);
    transition: all 0.3s ease;
    transform: translateX(-50%);
}

.nav-item:hover > a {
    color: var(--primary-color);
}

.nav-item:hover > a::after {
    width: 100%;
}

/* 드롭다운 메뉴 */
.dropdown {
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translateX(-50%);
    background: var(--bg-dark);
    box-shadow: var(--shadow-hover);
    border-radius: 8px;
    padding: 15px 0;
    min-width: 220px;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    margin-top: 10px;
    border: 1px solid var(--primary-color);
}

.nav-item:hover .dropdown {
    opacity: 1;
    visibility: visible;
    margin-top: 0;
}

.dropdown a {
    display: block;
    padding: 12px 25px;
    color: var(--white);
    text-decoration: none;
    font-size: 15px;
    transition: all 0.3s ease;
    white-space: nowrap;
}

.dropdown a:hover {
    background: rgba(255,20,147,0.2);
    color: var(--primary-color);
    padding-left: 30px;
}

/* 모바일 메뉴 버튼 */
.mobile-menu-btn {
    display: none;
    flex-direction: column;
    gap: 5px;
    cursor: pointer;
    padding: 10px;
}

.mobile-menu-btn span {
    width: 25px;
    height: 3px;
    background: var(--text-dark);
    transition: all 0.3s ease;
}

.mobile-menu-btn.active span:nth-child(1) {
    transform: rotate(45deg) translate(8px, 8px);
}

.mobile-menu-btn.active span:nth-child(2) {
    opacity: 0;
}

.mobile-menu-btn.active span:nth-child(3) {
    transform: rotate(-45deg) translate(7px, -7px);
}

/* 메인 슬라이더 */
.main-slider {
    margin-top: 80px;
    position: relative;
    height: 600px;
    overflow: hidden;
}

.slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 1s ease;
}

.slide.active {
    opacity: 1;
}

.slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.slide-content {
    padding:20px 50px;
    position: absolute;
    bottom: 10%;
    left: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
    color: var(--white);
    /*text-shadow: 2px 2px 10px rgba(0,0,0,0.5);*/
    background:rgba(0,0,0,0.55)
}

.slide-content h2 {
    font-size: 48px;
    margin-bottom: 5px;
    font-weight: 700;
}

.slide-content p {
    font-size: 20px;
    margin-bottom: 0px;
}

/* 롤링 팝업 */
.rolling-popup {
    background: var(--white);
    padding: 60px 0;
}

.rolling-popup-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 20px;
}

.rolling-popup h2 {
    text-align: center;
    font-size: 36px;
    margin-bottom: 50px;
    color: var(--primary-color);
}

.popup-slider-wrapper {
    display: flex;
    gap: 30px;
    align-items: center;
}

.popup-slider {
    flex: 1;
    position: relative;
    height: 500px;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: var(--shadow-hover);
}

.popup-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 1s ease;
}

.popup-slide.active {
    opacity: 1;
}

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

.popup-buttons {
    display: flex;
    flex-direction: column;
    gap: 15px;
    width: 300px;
}

.popup-btn {
    padding: 20px;
    background: var(--white);
    border: 2px solid #e0e0e0;
    border-radius: 10px;
    cursor: pointer;
    transition: all 0.3s ease;
    text-align: left;
    font-size: 15px;
    color: var(--text-dark);
    font-weight: 500;
}

.popup-btn:hover {
    border-color: var(--secondary-color);
    transform: translateX(5px);
}

.popup-btn.active {
    background: var(--primary-color);
    color: var(--white);
    border-color: var(--primary-color);
}

/* 모바일 팝업 버튼 */
.popup-buttons-mobile {
    display: none;
    grid-template-columns: repeat(3, 1fr);
    gap: 10px;
    margin-top: 30px;
}

.popup-buttons-mobile .popup-btn {
    padding: 15px 10px;
    text-align: center;
    font-size: 13px;
}

/* 섹션 공통 스타일 */
.section {
    padding: 80px 0;
}

.section-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 20px;
}

.section-title {
    text-align: center;
    font-size: 36px;
    margin-bottom: 50px;
    color: var(--primary-color);
}

/* 푸터
footer {
    background: var(--bg-dark);
    color: var(--white);
    padding: 60px 0 30px;
}

.footer-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 20px;
}

.footer-content {
    display: flex;
    width:100%;
    justify-content: space-between;
    padding: 0 30px;
    align-items: center;
    gap: 50px;
    margin-bottom: 40px;
}

.footer-info h3 {
    color: var(--primary-color);
    margin-bottom: 20px;
    font-size: 22px;
}

.footer-info p {
    margin: 10px 0;
    color: #ccc;
}

.footer-hours {
    padding-left: 30px;
}

.footer-hours h4 {
    color: var(--primary-color);
    margin-bottom: 15px;
}

.footer-hours p {
    margin: 8px 0;
    font-size: 14px;
}

.footer-map {
    border-radius: 10px;
    overflow: hidden;
    height: 250px;
}

.footer-map iframe {
    width: 100%;
    height: 100%;
    border: none;
}

.footer-bottom {
    text-align: center;
    padding-top: 30px;
    border-top: 1px solid rgba(255,255,255,0.1);
    color: #999;
    font-size: 14px;
}
*/
/* Footer */
footer {
  margin-top: 0;
  color: #333;
  font-size: 14px;
  line-height: 1.6;
  border-top:1px solid #ddd;
  flex-direction:column;
}
.footer-wrap {
  width: 100%;
  display: flex;
  justify-content: center;
  background: #fafafa;
}
.footer-top {
  display: flex;
    flex-wrap: wrap;
    justify-content: center;
    padding: 40px 20px;
    margin: 0 auto;
    box-sizing: border-box;
    width: 100%;
    gap: 30px;
    align-items: center;
}
.footer-top .info {
  flex: 1 30px;
  max-width: 400px;
  margin-right: 6rem;
  padding-top:60px
}
.footer-top .info h4 {
  font-family: 'Open Sans';
  font-weight: 500;
  font-size: 1rem;
  margin-bottom: 0.2rem;
  color: #8c7858;
}
.footer-top .info p {
  margin: 0 0 1.5rem 0;
  font-size: 1rem;
  font-family: '42dot Sans';
  font-weight: 300;
}
.footer-top .info .num {
  font-family: 'Dancing Script';
  font-size: 2.2rem;
  font-weight: 700;
  color: #333;
}
.footer-top .info ul {
  margin: 8px 0 0 0;
  padding-left: 20px;
}
.footer-top .info ul li {
  margin-bottom: 4px;
}
.footer-top .map2 {
  flex: 1 1 300px;
  max-width: 600px;
}
.footer-bottom {
  font-family: 'Open Sans';
  background: #333;
  color: #fff;
  text-align: center;
  padding:16px 20px 160px 20px;
  font-weight: 300;
  letter-spacing: 1px;
}
.footer-bottom p {
  margin: 4px 0;
}
.grid {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 80px;
}
.cell {
  flex: 0 0 calc(50% - 10px);
  box-sizing: border-box;
  padding: 0 20px 0 0;
  text-align: left;
  font-size: 1.1rem;
  color: #393939;
  font-family: '42dot Sans';
}
.cell-full {
  flex: 0 0 100%;
  font-size: 1rem;
  color: #a82743;
}
.footer-bottom p a {
  color: #fff;
}

.map2 iframe {
  border:1px solid #ddd
}

.root_daum_roughmap.root_daum_roughmap_landing {width:100%}

.profile01 {
    display: grid; grid-template-columns: 200px 1fr; gap: 30px; margin-top: 30px
}
.profile02 {
    background: #f8f8f8; border-radius: 10px; height: 250px; display: flex; align-items: center; justify-content: center; color: #999;overflow:hidden
}
.content-box .con h3{
    color:#101758 !important;
    font-weight: 600;
}


/* 팝업 닫기 설정 */
.popup-close-wrapper {
    position: fixed;
    bottom: 20px;
    right: 20px;
    background: var(--white);
    padding: 15px 25px;
    border-radius: 10px;
    box-shadow: var(--shadow-hover);
    display: none;
    align-items: center;
    gap: 15px;
    z-index: 999;
}

.popup-close-wrapper.show {
    display: flex;
}

.popup-close-wrapper label {
    cursor: pointer;
    font-size: 14px;
}

.popup-close-wrapper button {
    background: var(--primary-color);
    color: var(--white);
    border: none;
    padding: 8px 20px;
    border-radius: 5px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.popup-close-wrapper button:hover {
    background: var(--accent-color);
}


    .sub-header1, .sub-header2, .sub-header3, .sub-header4, .sub-header5, .sub-header6 {
        position: relative;
    padding: 150px 20px;
    color: #fff;
    text-align: center;
    margin-top: 80px;
    }

    .sub-header1::before {
        content: '';
        position: absolute;
        inset: 0;
        background-image: 
            linear-gradient(rgba(0, 0, 0, 0.4), rgba(0, 0, 0, 0.4)),
            url('../images/top2.jpg');
        background-size: cover;
        background-position: center;
        background-repeat: no-repeat;
        animation: fadeInBg 1.5s ease forwards;
        z-index: 0;
    }
    .sub-header2::before {
        content: '';
        position: absolute;
        inset: 0;
        background-image: 
            linear-gradient(rgba(0, 0, 0, 0.4), rgba(0, 0, 0, 0.4)),
            url('../images/top3.jpg');
        background-size: cover;
        background-position: center;
        background-repeat: no-repeat;
        animation: fadeInBg 1.5s ease forwards;
        z-index: 0;
    }
    .sub-header3::before {
        content: '';
        position: absolute;
        inset: 0;
        background-image: 
            linear-gradient(rgba(0, 0, 0, 0.4), rgba(0, 0, 0, 0.4)),
            url('../images/top4.jpg');
        background-size: cover;
        background-position: center;
        background-repeat: no-repeat;
        animation: fadeInBg 1.5s ease forwards;
        z-index: 0;
    }
    .sub-header4::before {
        content: '';
        position: absolute;
        inset: 0;
        background-image: 
            linear-gradient(rgba(0, 0, 0, 0.4), rgba(0, 0, 0, 0.4)),
            url('../images/top5.jpg');
        background-size: cover;
        background-position: center;
        background-repeat: no-repeat;
        animation: fadeInBg 1.5s ease forwards;
        z-index: 0;
    }
    .sub-header5::before {
        content: '';
        position: absolute;
        inset: 0;
        background-image: 
            linear-gradient(rgba(0, 0, 0, 0.4), rgba(0, 0, 0, 0.4)),
            url('../images/top6.jpg');
        background-size: cover;
        background-position: center;
        background-repeat: no-repeat;
        animation: fadeInBg 1.5s ease forwards;
        z-index: 0;
    }
    .sub-header6::before {
        content: '';
        position: absolute;
        inset: 0;
        background-image: 
            linear-gradient(rgba(0, 0, 0, 0.4), rgba(0, 0, 0, 0.4)),
            url('../images/top7.jpg');
        background-size: cover;
        background-position: center;
        background-repeat: no-repeat;
        animation: fadeInBg 1.5s ease forwards;
        z-index: 0;
    }




    /* 자식 요소들이 배경 위에 표시되도록 */
    .sub-header1 > *, .sub-header2 > *, .sub-header3 > *, .sub-header4 > *, .sub-header5 > *, .sub-header6 > * {
        position: relative;
        z-index: 1;
    }

    @keyframes fadeInBg {
        from { opacity: 0; }
        to   { opacity: 1; }
    }
    
    .sub-header1 h1, .sub-header2 h1, .sub-header3 h1, .sub-header4 h1, .sub-header5 h1, .sub-header6 h1 {
        font-size: 2.8rem;
        margin: 15px;
        letter-spacing: 2px;
        font-weight: 700;
        word-break: keep-all;
        line-height: 1.3;
    }
    
    p.top_sm {
        letter-spacing: 1px;
        font-size: .9rem;
        font-weight: 300;
        font-family: 'Open Sans';
    }

    p.top_mid {
        font-weight: 300;
        letter-spacing: -.5px;
        font-size: 1.4rem;
        font-family: '42dot Sans';
    }
    
    .sub-content {
        max-width: 1200px;
        margin: 60px auto;
        display: flex;
        flex-direction: column;
        padding: 130px 0;
    }
    
    .content-box {
        background: white;
        padding: 40px;
        border-radius: 15px;
        box-shadow: 0 2px 15px rgba(0,0,0,0.08);
        margin-bottom: 30px;
    }
    
    .content-box h2 {
        color: #ea4c67;
        font-size: 28px;
        margin-bottom: 20px;
        padding-bottom: 15px;
        border-bottom: 1px solid #c9c9c9;
    }
    
    .content-box h3 {
        color: #1a1a1a;
        font-size: 20px;
        margin: 30px 0 15px;
    }
    
    .content-box p {
        line-height: 1.8;
        color: #666;
        margin-bottom: 15px;
    }
    
    .content-box ul {
        margin: 20px 0;
        padding-left: 25px;
    }
    
    .content-box li {
        line-height: 1.8;
        color: #666;
        margin-bottom: 10px;
    }
    
    .content-box li::marker {
        color: #FF1493;
    }


.hex-label {
    font-size: 28px !important; 
    margin-bottom: 60px !important;
    display: block;
    text-align: center;
    margin-top: 180px !important;
}

.cs-box, .caut-box,.program-card {border-radius: 0 !important;}
.rec-card, .laser-card, .device-card, .thread-card, .filler-card {border-top:0 !important}
.prin-box {border:1px solid var(--pk) !important}

.web {display: block;}
.mob {display: none;}

.cs-box img {max-width:100%}

/* 반응형 디자인 - 태블릿 */
@media (max-width: 1024px) {
    .header-container {
        height: 70px;
    }
    
    nav {
        gap: 25px;
    }
    
    .main-slider {
        height: 450px;
    }
    
    .slide-content h2 {
        font-size: 36px;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .footer-hours {
        border-left: none;
        border-top: 2px solid var(--secondary-color);
        padding-left: 0;
        padding-top: 20px;
    }
}


/* 반응형 디자인 - 모바일 */
@media (max-width: 768px) {
    .web {display: none;}
    .mob {display: block;}

    .slide-content {
        top:70%;
        width:90% 
    }

    .mobile-menu-btn {
        display: flex;
    }
    
    nav {
        position: fixed;
        top: 70px;
        left: -100%;
        width: 100%;
        height: calc(100vh - 70px);
        background: var(--bg-dark);
        flex-direction: column;
        gap: 0;
        padding: 20px 0;
        transition: left 0.3s ease;
        overflow-y: auto;
        z-index: 200;
    }
    
    nav.active {
        left: 0;
    }
    
    .nav-item {
        width: 100%;
        padding: 0;
        border-bottom: 1px solid rgba(255,20,147,0.2);
    }
    
    .nav-item > a {
        display: block;
        padding: 15px 20px;
        font-size: 16px;
        color:#fff
    }
    
    .nav-item > a::after {
        display: none;
    }
    
    .dropdown {
        position: static;
        transform: none;
        box-shadow: none;
        border-radius: 0;
        padding: 0;
        min-width: auto;
        opacity: 1;
        visibility: visible;
        max-height: 0;
        overflow: hidden;
        transition: max-height 0.3s ease;
        background: rgba(255,20,147,0.1);
        border: none;
    }
    
    .nav-item.active .dropdown {
        max-height: 500px;
    }
    
    .dropdown a {
        padding: 12px 40px;
        font-size: 14px;
    }
    
    .dropdown a:hover {
        background: rgba(255,20,147,0.2);   
    }

    .main-slider {
        height: 700px;
        margin-top: 70px;
    }
    
    .slide-content h2 {
        font-size: 1.8rem;
    }
    
    .slide-content p {
        font-size: 1.2rem;
        line-height: 1.4;
        word-break: keep-all;
        letter-spacing: -.5px;
    }
    
    .popup-slider-wrapper {
        flex-direction: column;
    }
    
    .popup-slider {
        width: 100%;
        height: 400px;
    }
    
    .popup-buttons {
        display: none;
    }
    
    .popup-buttons-mobile {
        display: grid;
    }
    
    .section {
        padding: 50px 0;
    }
    
    .section-title {
        font-size: 28px;
        margin-bottom: 30px;
    }

    .sub-header {
        margin-top: 70px;
        padding: 40px 20px;
    }
    
    .sub-header h1 {
        font-size: 28px;
    }
    
    .sub-content {
        margin: 40px auto;
    }
    
    .content-box {
        padding: 25px;
    }

    .footer-top .info {
    flex: 1;
    max-width: 100%;
    margin-right: 0;
    padding-top: 60px;
}

    p.top_mid {
        font-size:1.2rem ;
    }

}

/* ========================================
   중앙 모달 롤링 팝업 (투명 검정 배경)
======================================== */
.floating-popup-container {
    position: fixed !important;
    top: 0 !important;
    left: 0 !important;
    width: 100% !important;
    height: 100% !important;
    background: rgba(0, 0, 0, 0.8) !important;
    z-index: 9999 !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    padding: 20px !important;
    opacity: 1 !important;
    visibility: visible !important;
    transition: all 0.3s ease;
}

.floating-popup-container.hidden {
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
}

.floating-popup-content {
    position: relative;
    width: 100%;
    max-width: 600px;
    background: var(--white);
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 20px 60px rgba(0,0,0,0.5);
    animation: popupSlideIn 0.4s ease-out;
}

@keyframes popupSlideIn {
    from {
        opacity: 0;
        transform: scale(0.9) translateY(-20px);
    }
    to {
        opacity: 1;
        transform: scale(1) translateY(0);
    }
}

.floating-popup-slides {
    position: relative;
    width: 100%;
    height: 0;
    padding-bottom: 133.33%; /* 3:4 비율 (400px/300px) */
    overflow: hidden;
}

.floating-popup-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    visibility: hidden;
    transition: all 0.5s ease;
}

.floating-popup-slide.active {
    opacity: 1;
    visibility: visible;
}

.floating-popup-slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.floating-popup-slide a {
    display: block;
    width: 100%;
    height: 100%;
}

/* 네비게이션 버튼 */
.floating-popup-nav {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 20px;
    padding: 20px;
    background: var(--white);
    border-top: 1px solid #e0e0e0;
}

.popup-prev,
.popup-next {
    background: var(--primary-color);
    border: none;
    color: var(--white);
    width: 40px;
    height: 40px;
    border-radius: 50%;
    cursor: pointer;
    font-size: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    font-weight: bold;
}

.popup-prev:hover,
.popup-next:hover {
    background: var(--accent-color);
    transform: scale(1.1);
}

.popup-counter {
    font-size: 16px;
    font-weight: 600;
    min-width: 60px;
    text-align: center;
    color: var(--text-dark);
}

.popup-counter .current {
    color: var(--primary-color);
    font-weight: 700;
    font-size: 18px;
}

/* 닫기 버튼 */
.floating-popup-close {
    position: absolute;
    top: 15px;
    right: 15px;
    width: 40px;
    height: 40px;
    background: rgba(0,0,0,0.7);
    border: none;
    border-radius: 50%;
    color: var(--white);
    font-size: 22px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    z-index: 10;
}

.floating-popup-close:hover {
    background: rgba(0,0,0,0.9);
    transform: rotate(90deg) scale(1.1);
}

/* 푸터 (오늘 하루 보지 않기) */
.floating-popup-footer {
    padding: 15px 20px;
    background: #f8f8f8;
    border-top: 1px solid #e0e0e0;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 15px;
}

.floating-popup-footer label {
    display: flex;
    align-items: center;
    gap: 8px;
    color: var(--text-dark);
    font-size: 14px;
    cursor: pointer;
    user-select: none;
}

.floating-popup-footer input[type="checkbox"] {
    width: 18px;
    height: 18px;
    cursor: pointer;
    accent-color: var(--primary-color);
}

.floating-popup-footer .close-today-btn {
    padding: 8px 20px;
    background: var(--text-dark);
    color: var(--white);
    border: none;
    border-radius: 6px;
    cursor: pointer;
    font-size: 14px;
    font-weight: 500;
    transition: all 0.3s ease;
}

.floating-popup-footer .close-today-btn:hover {
    background: var(--primary-color);
}

/* 태블릿 */
@media (max-width: 768px) {
    .floating-popup-content {
        max-width: 500px;
    }
    
    .floating-popup-slides {
        padding-bottom: 140%; /* 모바일에서 조금 더 세로로 */
    }
    
    .floating-popup-nav {
        padding: 15px;
        gap: 15px;
    }
    
    .popup-prev,
    .popup-next {
        width: 35px;
        height: 35px;
        font-size: 18px;
    }
    
    .popup-counter {
        font-size: 14px;
    }
}

/* 모바일 */
@media (max-width: 480px) {
    .floating-popup-container {
        padding: 15px;
    }
    
    .floating-popup-content {
        max-width: 100%;
        border-radius: 15px;
    }
    
    .floating-popup-slides {
        padding-bottom: 150%;
    }
    
    .floating-popup-close {
        top: 10px;
        right: 10px;
        width: 35px;
        height: 35px;
        font-size: 20px;
    }
    
    .floating-popup-footer {
        flex-direction: column;
        padding: 12px 15px;
        gap: 10px;
    }
    
    .floating-popup-footer .close-today-btn {
        width: 100%;
    }
    .profile01 {
        display: flex;
        gap: 30px;
        margin-top: 30px;
        flex-direction: column;
    }
    .profile02 {
        height:auto
    }
}

