:root {
    --bg-color: #101A2C;
    --point-color: #F5D88A;
    --point-color2: #E0AE64;;
    --gold-gradient: linear-gradient(45deg, #F5D88A, #F3C976, #EFC86A);
    --gold-shadow:  0 0 6px rgba(245, 216, 138, 0.4), 0 0 16px rgba(245, 216, 138, 0.2);;
    --white: #EAE3D2;        /* 따뜻한 아이보리 톤 (차가운 흰색 대신) */

    --black1: #3A2A20;       /* 따뜻한 다크브라운 */
    --black2: #5C3B2E;       /* 붉은 기운이 살짝 도는 브라운 */
    --black3: #2F3D2B;       /* 짙은 올리브 느낌 (가을 숲 그늘 색) */
    --gold1: #F4E5C2;        /* 약간 베이지 톤의 골드 화이트 */
}

html { scroll-behavior: smooth; }
body {  font-family: 'Noto sans KR', serif; position: relative;  color: var(--white);  width: 100%; text-transform: uppercase;}
.noScroll { overflow: hidden;}
.point-text { background: var(--gold-gradient);-webkit-background-clip: text;-webkit-text-fill-color: transparent;display: inline-block; font-weight: 600;}
.isMob { display: block;}
.isPc { display: none;}

.section { overflow: hidden; background: linear-gradient(145deg, #000 0%, #222 30%, #000 60%, #444 100%);; padding: 120px 16px 60;}
.section .section-header { text-align: center;font-family: "Pretendard"; width: 100%;letter-spacing: -1px; font-weight: 600;}
.section .section-header .section-desc { font-size: 0.9rem; margin: 0px auto 8px; width: 80%; text-align: center; font-family: "Pretendard";background: var(--gold-gradient);-webkit-background-clip: text;-webkit-text-fill-color: transparent; }
.section .section-header .section-title { font-size: 1.8rem;font-family: 'Spoqa Han Sans Neo', 'sans-serif';background: var(--gold-gradient);-webkit-background-clip: text;-webkit-text-fill-color: transparent; } 

.section .section-body { padding: 24px 8px ; position: relative;}

.header { position: fixed; top: 0; left: 0; width: -webkit-fill-available; background: rgba(0,0,0,0.6); backdrop-filter: blur(8px); z-index: 999; padding: 12px 20px; color: #fff; transition: opacity 0.5s ease, transform 0.5s ease; }
.hidden-header { opacity: 0; pointer-events: none; transform: translateY(-30px);  }
.show-header { opacity: 1; pointer-events: auto; transform: translateY(0); }
.header-inner { max-width: 960px; margin: 0 auto; display: flex; align-items: center; justify-content: space-between; position: relative; }
.header-inner .logo { width:36px; height: 36px; position: relative; border-radius: 8px; overflow: hidden;margin: 0px !important;}
.header-inner .logo::before { content: ""; width: 100%; height: 100%; background: url(../images/img-logo2.svg) no-repeat; background-size: contain; scale: 1.2; display: block;}
/* .menu { display: flex; gap: 20px; }
.menu a { color: #F5D88A; font-size: 0.95rem; text-decoration: none; transition: color 0.3s; }
.menu a:hover { color: #FFD700; } */


.buggers { width: 24px; height: 20px; position: relative;;}
.buggers span { width: 24px; height: 3px ; border-radius: 24px;display: block;background: #fff; position: absolute;} 
.buggers span:nth-child(1) { top: 0; }
.buggers span:nth-child(2) { top: calc(50% - 3px); transform: translateY(calc((50% - 3px) * -1));}
.buggers span:nth-child(3) { bottom: 0; }

.header-inner .menu{ display: none; }
.header-inner .menu { position: absolute; top: calc(100% + 12px); width: 120px; padding: 12px; background: var(--white); border-radius: 12px; ;box-shadow: 0 4px 20px rgba(255, 215, 0, 0.3);right: 0;}
.header-inner .menu a { color: var(--bg-color); font-size: 0.8rem; text-decoration: none; display: block;cursor: pointer; transition: all 0.3s ease; width: fit-content;;}
.header-inner .menu a:hover { font-weight: 600;background-color: var(--bg-color); color: var(--point-color); border-radius: 8px; padding: 4px 8px; }
.header-inner .menu a + a { margin-top: 5px;}

.header-inner.active .buggers span { top: 50% ; transition: transform 0.3s ease, opacity 0.3s ease;}
.header-inner.active .buggers span:nth-child(1) { transform: translateY(-50%) rotate(45deg); }
.header-inner.active .buggers span:nth-child(2) { display: none }
.header-inner.active .buggers span:nth-child(3) { transform: translateY(-50%) rotate(-45deg); }

.main.section { height: 100%; display: flex;flex-direction: column;align-items: center;justify-content: center;text-align: center; position: relative ; overflow-x: hidden; padding: 0px;    letter-spacing: 2px; width: 100%;}
.main.section::after { content: ""; width: 100%; height: 100%;background: linear-gradient(145deg, #000 0%, #222 30%, #000 60%, #444 100%); position: absolute; left: 50%;transform: translateX(-50%);bottom: 0%; opacity: 0.6;}
.main.section .intro-text {  position: absolute; top: 15%; left: 50%; transform: translate(-50%, -15%);  color: var(--point-color2); font-size: 2em; letter-spacing: 2px ;text-shadow: 0 0 6px rgba(255, 215, 0, 0.3);animation: shimmer 3s infinite linear; font-family: 'Great Vibes', cursive; width: 100% ; display: none;}
.main.section .main-title { position: absolute; top: 40%; left: 50%; transform: translate(-50%, -40%); width: 80%;  animation: fadeUp 1.2s ease-out forwards;opacity: 0; z-index: 9 }

.main.section .main-title .sub-text {  color: var(--point-color); font-size: 1.2rem; letter-spacing: 2px ;text-shadow: 0 0 6px rgba(255, 215, 0, 0.3);animation: shimmer 3s infinite linear; font-family: 'Playfair Display'; }
.main.section .main-title h1 { font-size: 2rem ; width: 100%; letter-spacing: 1px; font-family: 'Playfair Display';}
.main.section .main-title .main-intro { width: 100% ; z-index: 1; font-family: "Pretendard"; font-size: 0.8rem ; color:var(--point-color2) ; display: flex; justify-content: center;}
.main.section .main-title .main-intro span { position: relative;; max-width: 30%; display: inline-block; letter-spacing: -1px; position: relative; text-align: center;font-family: 'Playfair Display'; margin: 0px 16px ;min-width: 70px; text-align: center;}
.main.section .main-title .main-intro span::before { content: ""; position: absolute; top: -60px; width: 70px; height: 70px; left: 0;}
.main.section .main-title .main-intro span.rank::before { background: url("../images/img-rank.png") center center no-repeat; background-size: contain; }
.main.section .main-title .main-intro span.free::before {  background: url("../images/img-free.png") center center no-repeat;background-size: contain; }
.main.section .main-title .main-intro span.country::before { background: url("../images/img-country.png") center center no-repeat; background-size: contain; }

.main.section .image-box {position: absolute; left: 50%;transform: translateX(-50%);bottom: 0%;width: 140%;z-index: 0;opacity: 0.85;filter: drop-shadow(0 0 30px rgba(255, 255, 255, 0.1)) ;  }
.main.section .image-box img { width:120% ; }

.gold-btn { margin-top: 2rem;padding: 14px 32px; background : var(--gold-gradient);border: none;border-radius: 999px;color: #000; font-weight: bold;font-size: 1rem;box-shadow: 0 4px 20px rgba(255, 215, 0, 0.3);transition: transform 0.3s ease; display: inline-block; text-decoration: none;}  
.gold-btn:hover { transform: scale(1.05);  }
@keyframes fadeUp {
    0% { opacity: 0; transform: translate(-50%, -60%); }
    100% { opacity: 1; transform: translate(-50%, -40%); }
}

@keyframes shimmer {
    0% { text-shadow: 0 0 4px rgba(255, 215, 0, 0.2); }
    50% { text-shadow: 0 0 12px rgba(255, 215, 0, 0.6); }
    100% { text-shadow: 0 0 4px rgba(255, 215, 0, 0.2); }
}

@keyframes pulse {
    0%, 100% { transform: translate(-50%, -50%) scale(1); opacity: 0.7; }
    50% { transform: translate(-50%, -50%) scale(1.4); opacity: 1; }
}


.carrer.section { height: auto; }
.card {  position: relative;border: 1px solid var(--point-color); border-radius: 8px; background: var(--black1) ; padding: 24px; box-shadow: var(--gold-shadow); }
.card + .card { margin-top: 24px;;}
.card .card-title { font-size: 1.2rem; font-weight: 600; font-family: "Pretendand"; letter-spacing: -1px; background: var(--gold-gradient);-webkit-background-clip: text;-webkit-text-fill-color: transparent;display: inline-block; margin-bottom: 8px;;}

.card .contents .content { margin: 0 0.1rem ;font-size: 0.9rem; }
.card .contents .content::before { content: "-";display: inline-block;margin-right: 8px;}

.section.server .section-body { text-align: center;}
.card.circle { width: 160px; height: 160px; border-radius: 50%; text-align: center; border-width: 3px;margin: 32px auto; background: #2F3D2B;}
.card.circle:first-of-type { margin-top: 0;}
.card.circle .card-title { margin-top: 24px; text-align: center;}
.card.circle .contents { margin-top: 12px;}
.card.circle .contents .content {letter-spacing: -1px;}
.card.circle .contents .content::before { content: ""; margin-right: 0;}


.section.server .section-footer { font-family: 'Spoqa Han Sans Neo', 'sans-serif'; font-size: 1.2rem; text-align: center; letter-spacing: 0.5px;}
.section.contact .section-body { text-align: center;}
.section.preferred .section-body { max-width: 600px ; margin: 0px auto;}
.section.gallery .section-body { height: fit-content;}
.castle-box { position: relative; border-radius: 16px; box-shadow: var(--gold-shadow); overflow: hidden;}
.castle-marker {position: absolute;top: 60%; left: 50%;transform: translate(-50%, -60%);text-align: center;}
.ping {width: 10px;height: 10px;background: #E60012;border-radius: 50%;margin: auto;animation: pulse 2s infinite;}
.label-box { margin-top: 6px;padding: 8px 12px;background: rgba(20, 20, 20, 0.85);color: #FFFFFF; border-radius: 8px;font-size: 0.8rem;box-shadow: 0 4px 12px rgba(0, 0, 0, 0.4);}

.footer { background: #000000; padding: 40px 20px; text-align: left; color: #FFFFFF; font-size: 0.9rem; }
.footer-inner { max-width: 500px; margin: auto; }
.footer-title { font-size: 1.5rem; font-weight: bold; margin-bottom: 8px; }
.footer-slogan { font-size: 1rem; color: #CCCCCC; margin-bottom: 20px; }

.footer-copy { margin-top: 30px; font-size: 0.8rem; color: #888888; }

.popup-wrap { position: fixed; top: 0; left: 0; width: 100%;height: 100vh; background: rgba(0,0,0,0.9); z-index: 9999;}
.popup-wrap .popup-body { position: absolute; top: 50%; left: 50% ; transform: translate(-50%, -50%); width: 90% ;}
.popup-wrap .popup-body img { width: 100%;}

.popup-wrap .popup-body .button-wrap { margin-top: 8px; width: 100%; visibility: hidden;}
.popup-wrap .popup-body .button-wrap.active { visibility: visible;}
.popup-wrap .popup-body .button-wrap button { width: 100% ; text-align: center; padding: 8px 0px; border-radius: 8px; background: var(--point-color);  border: 3px solid transparent;cursor: pointer;overflow: hidden; color: var(--bg-color); font-size: 16px;; }

#introPopup  .swiper { z-index: 99999;}
ul {list-style: none;padding: 0;margin: 0;}

.card.point { padding-bottom: 66px; overflow: hidden;}
.card.point .pointer-box { position: absolute; background: var(--white); font-size: 12px;; color: #000; padding: 8px; bottom: 0; left: 0; width: 100%;}

.schedule {background: var(--bg-color);color: var(--white);font-family: 'Noto Sans KR', sans-serif;max-width: 600px;margin: 0 auto;border-radius: 16px;box-shadow: 0 0 20px rgba(0,0,0,0.5); }
.schedule .event-box {border: 1px solid var(--point-color);backdrop-filter: blur(10px);background: rgba(255, 255, 255, 0.05); /* glass effect */border-radius: 12px;padding: 1rem 1.5rem;margin-bottom: 12px;}
.schedule .event-box h2 {font-size: 1.2rem;color: var(--point-color);/* text-shadow: var(--gold-shadow); */border-bottom: 1px solid rgba(245,216,138,0.3);padding-bottom: 6;    }
.schedule .event-box ul li {margin-bottom: 12px;font-size: 14px;display: flex;align-items: center;gap: 0.5rem;}
.schedule .time {font-weight: bold;color: var(--point-color2);min-width: 60px;}
.schedule .icon {font-size: 14px;}
.schedule .special-events .highlight {font-weight: bold;background: var(--gold-gradient);-webkit-background-clip: text;-webkit-text-fill-color: transparent;text-shadow: var(--gold-shadow);}


.preferred-list li { font-size: 14px; padding: 12px 36px 12px 12px ; border-radius: 8px; position: relative; background: transparent; border: 1px solid var(--white); color: var(--white);transition: background-color 0.5s ease, color 0.5s ease;}
.preferred-list li::after { opacity: 0; transition: transform 0.5s ease, opacity 0.5s ease; }
.preferred-list li.active { background: var(--white);color: #000;  }
.preferred-list li.active::after { content: ""; background-image: url("../images/ico-check.svg") ; background-position: center center; display: block; position: absolute; right: 10; top: 50%; transform: translate(0, -50%);  width: 24px;height: 24px;background-size: contain;opacity: 1;               /* 나타남 */}
.preferred-list li + li { margin-top: 12px; }

.video-wrap { margin: 0px auto; text-align: center;}
.video-wrap video { aspect-ratio: 16/9; width: 90%; height: auto;}


.image-wrap .swiper-slide { opacity: 0.7; }
.image-wrap .swiper-slide-active {transform: scale(1.05);z-index: 2;opacity: 1;box-shadow: 0 6px 18px rgba(0,0,0,0.25), 0 0 8px rgba(245,216,138,0.4);}
.image-wrap .image-list { margin-bottom: 36px;}
.image-wrap .image-item {background: var(--white);border-radius: 16px;padding: 12px 16px;width: 100%;max-width: 90%; display: flex;flex-direction: column;justify-content: flex-start;align-items: center;transition: transform 0.3s ease;box-shadow: 0 2px 12px rgba(0,0,0,0.12);}
.image-wrap .image-item .image-title {font-size: 1rem;font-weight: bold;margin-bottom: 12px;text-align: center;color: var(--bg-color);}
.image-wrap .image-item .image-main {position: relative;width: 100%;border-radius: 12px;overflow: hidden;height: 360px;}
.image-wrap .image-item .image-main img {width: 100%;height: auto;position: absolute;top: 50%;left: 50%;transform: translate(-50%, -50%);}
.image-wrap .image-item .image-main.bottom img {top: 100%;left: 50%;transform: translate(-50%, -100%);}
.image-wrap .image-item .image-thumb {width: 100%;display: flex;margin-top: 10px;justify-content: center;gap: 6px; align-items: center;}
.image-wrap .image-item .image-thumb img {width: 40px;height: 40px;object-fit: cover;border-radius: 6px;border: 2px solid transparent;transition: all 0.2s ease;}
.image-wrap .image-item .image-thumb .imgThumb.active {  border-color: var(--point-color);transform: scale(1.1);box-shadow: 0 4px 12px rgba(0,0,0,0.2);}
.image-wrap .image-item .image-desc {margin-top: 8px;font-size: 0.8rem;text-align: center;color: #666;}

#gallery .swiper-pagination-bullet {width: 10px;height: 10px;background: var(--white);opacity: 1; border-radius: 50%;margin: 0 4px !important;transition: background 0.3s ease;}
#gallery .swiper-pagination-bullet-active {background: var(--point-color);width: 12px;height: 12px;}

@media (min-width: 768px)  {
    .isMob { display: none ;}
    .isPc { display: block;}
    .header-inner, .footer-inner { padding: 0 32px;}

    .header-inner .logo { width:48px; height: 48px;}

    .header { padding: 20px 0px ;}
    .buggers { width: 32px; height: 24px; position: relative;;}
    .buggers span { width: 32px; height: 4px ; border-radius: 24px;display: block;background: #fff; position: absolute;} 
    .buggers span:nth-child(1) { top: 0; }
    .buggers span:nth-child(2) { top: calc(50% - 3px); transform: translateY(calc((50% - 3px) * -1));}
    .buggers span:nth-child(3) { bottom: 0; }
    
    .header-inner .menu { right: 32px }
    .header-inner.active .menu a { font-size: 1rem;}

    .popup-wrap .popup-body { width: 500px ;}
    
    .popup-wrap .popup-body .button-wrap { margin-top: 16px; width: 100%; visibility: hidden;}
    .popup-wrap .popup-body .button-wrap.active { visibility: visible;}
    .popup-wrap .popup-body .button-wrap button { width: 100% ; text-align: center; padding: 16px 0px; border-radius: 16px;  border: 3px solid transparent;cursor: pointer;overflow: hidden; font-size: 20px;; }

    .section { padding: 60px 32px;}
    .main.section .main-title { z-index: 1; top: 50%; left: 50%; transform: translate(-50%, -50%);}
    .main.section .main-title h1 { font-size: 2.5rem; }
    .main.section .main-title .sub-text { font-size: 1.4rem; }
    .main.section .main-title .main-intro { font-size: 1rem; }
    .main.section .main-title .main-intro span { gap: 20px;min-width: 120px; }
    .main.section .main-title .main-intro span::before {    top: -100px;width: 120px;height: 120px;left: 50%;transform: translateX(-50%); }
    .section .section-header .section-desc { font-size: 1.2rem;}
    .section .section-header .section-title { font-size: 2rem; }

    .section .section-header { margin-bottom: 36px;;}
    .section.carrer .section-body .card{ position: relative;margin: 0px auto 36px ;;}
    
    .section.server .section-body { display: flex; align-items: flex-start; justify-content: space-between; flex-wrap: wrap;}
    

    .card {  width: calc((90% / 2) - 16px);;}
    .card:nth-child(2) { margin-top: 0;}
    .card .card-title { font-size: 1.4rem; margin-bottom: 16px;;}
    
    .card .contents .content { font-size: 1rem;}
    .card .contents .content + .content { margin-top: 6px;}

    .card.circle  { width: 180px; height: 180px; margin: 32px 0 !important; }
    .card.circle .card-title { margin-top: 0px;}
    .card.circle .contents { margin-top: 24px;}
    .section.server .section-footer { font-size: 1.4rem;}

    /* .card .pointer{ position: absolute ; top: 0px; right: -30px; width: 100px; padding: 16px; } */
    .card.point { padding-bottom: 24px; overflow: visible;}
    .card .pointer-box { position: absolute ; top: -36px; left: 90% !important;width: max-content !important; height: fit-content !important ;border-radius: 16px !important;}
    .card .pointer-box .pointer {position: relative; color: #000; padding: 16px; font-size: 16px !important;border-radius: 16px !important;}
    .card .pointer-box .pointer:after {content: '';position: absolute;bottom: -2px;left: 30px;width: 0;height: 0;border: 24px solid transparent;border-top-color: #eae3d2;border-bottom: 0;border-left: 0;margin-left: -12px;margin-bottom: -24px;}

    .ring-wrap { display: grid !important;grid-column-gap: 32px;grid-row-gap: 32px; margin: 0px auto;}
    .ring-wrap:nth-child(1) {grid-template-columns: repeat(2, 240px); max-width: calc((240px * 2) + 32px) ;}
    .ring-wrap:nth-child(2) {grid-template-columns: repeat(3, 240px); max-width: calc((240px * 3) + 64px) }
    .ring-wrap .card.circle { margin: 0px !important;}
      
    .gold-btn { font-size: 1.1rem; }

    .main.section .image-box img { width: 100%;z-index: 0; opacity: 0.3; max-height: 100vh;}

    .castle-box { max-width: 500px;text-align: center;margin: 0px auto;}

    .schedule {background: var(--bg-color);color: var(--white);font-family: 'Noto Sans KR', sans-serif;max-width: 600px;margin: 0 auto;border-radius: 16px;box-shadow: 0 0 20px rgba(0,0,0,0.5); }
    .schedule .event-box {border: 1px solid var(--point-color);backdrop-filter: blur(10px);background: rgba(255, 255, 255, 0.05); /* glass effect */border-radius: 12px;padding: 1rem 1.5rem;margin-bottom: 2rem;}
    .schedule .event-box h2 {font-size: 1.5rem;margin-bottom: 1rem;color: var(--point-color);/* text-shadow: var(--gold-shadow); */border-bottom: 1px solid rgba(245,216,138,0.3);padding-bottom: 0.5rem;    }
    .schedule .event-box ul li {margin-bottom: 0.8rem;font-size: 1.1rem;display: flex;align-items: center;gap: 0.5rem;}
    .schedule .time {font-weight: bold;color: var(--point-color2);min-width: 60px;}
    .schedule .icon {font-size: 1.2rem;}
    .schedule .special-events .highlight {font-weight: bold;background: var(--gold-gradient);-webkit-background-clip: text;-webkit-text-fill-color: transparent;text-shadow: var(--gold-shadow);}


    .preferred-list li { font-size: 18px; padding: 16px 48px 16px 16px ; border-radius: 12px; position: relative; background: transparent; border: 1px solid var(--white); color: var(--white);transition: background-color 0.5s ease, color 0.5s ease;}
    .preferred-list li::after { opacity: 0; transition: transform 0.5s ease, opacity 0.5s ease; }
    .preferred-list li.active { background: var(--white);color: #000;  }
    .preferred-list li.active::after { content: ""; background-image: url("../images/ico-check.svg") ; background-position: center center; display: block; position: absolute; right: 10; top: 50%; transform: translate(0, -50%);  width: 36px;height: 36px;background-size: contain;opacity: 1;               /* 나타남 */}
    .preferred-list li + li { margin-top: 24px; }
    
    #imageSwiper .swiper-wrapper { height: auto; width: auto;}

    .image-wrap .image-item {flex-shrink: 0; max-width: 80%;padding: 16px 20px;border-radius: 20px; width: 360px;}
    .image-wrap .image-title {font-size: 1.1rem;margin-bottom: 14px;}
    .image-wrap .image-thumb img {width: 50px;height: 50px;}
    .image-wrap .image-desc {font-size: 0.85rem;}
    

}
  
  @media (min-width: 1200px) {
    /* PC (가로폭 1200px 이상) */
    .header-inner, .section-header, .section-body, .footer-inner {
      max-width: 1200px;
      margin: 0 auto;
      padding: 0 40px;
    }
    .section { padding: 140px 40px 80px; }
    .section .section-header {    width: -webkit-fill-available;  } 
     
    .header-inner .menu { right: 40px }
    .main.section { height: 100vh; }
    .main.section .main-title h1 { font-size: 3rem; }
    .main.section .main-title .sub-text { font-size: 1.6rem; }
    .main.section .main-title .main-intro { font-size: 1.2rem; }
    .section .section-header .section-title { font-size: 2.2rem; }
    .gold-btn { font-size: 1.2rem; padding: 16px 36px; }

    .card .contents .content { font-size: 1.2rem;}

    .popup-wrap .popup-body { width: 800px ;}

    .video-wrap video { width: 1000px; height: auto;}
  }
