/* header layout */
:root {
    --brand-teal: #11b5c8;
    --brand-dark: #2b2b2b;
    --brand-gray: #f3f3f3;
}

body {
    font-family: 'Noto Sans KR', 'Pretendard', sans-serif;
    background: #fff;
    color: #222;
}

#Wrap {
    min-height: 100vh;
    background: #fff;
}

.site-header {
    position: relative;
    z-index: 9;
    box-shadow: 0 2px 15px rgba(0, 0, 0, 0.08);
}

.site-header .inner {
    width: min(1200px, 100%);
    margin: 0 auto;
    padding: 0 24px;
    box-sizing: border-box;
}



.top-bar {
    background: #f0f0f0;
    position: relative;
}


.top-bar .inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    min-height: 52px;
    gap: 16px;
}

.platform-group{
    display: flex;
    align-items: center;
}

.platform-badge {
    margin-top: 10px;
}

.platform-badge  img{
    width: 274px;
}

/* �뚮� 蹂� �꾩씠肄� 諛섏쭩�대뒗 �④낵 (�고븯怨� �먯뿰�ㅻ읇寃�) */
img[src$="star-blue.svg"] {
    animation: star-twinkle 2.2s ease-in-out infinite alternate;
    transform-origin: center center;
    filter: drop-shadow(0 0 3px rgba(0, 168, 255, 0.4));
}

@keyframes star-twinkle {
    0% {
        transform: scale(1);
        opacity: 0.8;
        filter: drop-shadow(0 0 2px rgba(0, 168, 255, 0.3));
    }
    50% {
        transform: scale(1.03) rotate(1deg);
        opacity: 0.95;
        filter: drop-shadow(0 0 5px rgba(0, 168, 255, 0.6));
    }
    100% {
        transform: scale(1);
        opacity: 0.85;
        filter: drop-shadow(0 0 3px rgba(0, 168, 255, 0.4));
    }
}

/* 罹섎┛�� �� 蹂꾨뱾�� �쒕줈 �ㅻⅨ ���대컢�쇰줈 諛섏쭩�닿쾶 */
.calendar-2w__stars img[src$="star-blue.svg"]:nth-child(1) {
    animation-duration: 2.0s;
    animation-delay: 0s;
}

.calendar-2w__stars img[src$="star-blue.svg"]:nth-child(2) {
    animation-duration: 2.4s;
    animation-delay: 0.4s;
}

.calendar-2w__stars img[src$="star-blue.svg"]:nth-child(3) {
    animation-duration: 2.8s;
    animation-delay: 0.8s;
}

.calendar-2w__stars img[src$="star-blue.svg"]:nth-child(4) {
    animation-duration: 3.2s;
    animation-delay: 1.1s;
}

.calendar-2w__stars img[src$="star-blue.svg"]:nth-child(5) {
    animation-duration: 3.6s;
    animation-delay: 1.4s;
}

.platform-switch {
    display: flex;
    gap: 8px;
}

.switch-btn {
    width: auto!important;
    border-radius: 30px;
    padding: 5px 15px;
    font-size: 15px;
    cursor: pointer;
    font-weight: 600;
}

.switch-btn.primary {
    background: var(--blue);
    color: #fff;
}

.switch-btn.dark {
    background: #333;
    color: #fff;
}

.top-utils {
    display: flex;
    gap: 0 10px;
    font-size: 18px;
}

.top-utils a{
    padding-left: 25px;
    font-weight: 600;
    width: auto;
    margin: 0;
}

.top-utils .login-btn{
    background: url("../images/common/ico_login.svg") no-repeat left center;
    background-size: 20px;
}

.top-utils .logout-btn{
    background: url("../images/common/logout.png") no-repeat left center;
    background-size: 15px;
}


.main-bar {
    background: #fff;
    position: relative;
}

.main-bar::before {
    content: '';
    position: absolute;
    left: 0;
    right: 0;
    top: 0;
    bottom: 0;
    background-image: url(../images/common/platform-group-bg.svg);
    background-size: 85% auto;
    background-position: right bottom;
    background-repeat: no-repeat;
    opacity: 0.06;
    filter: sepia(0.35) hue-rotate(-15deg);
    pointer-events: none;
    z-index: 0;
}

.main-bar {
    position: relative;
}

.main-bar .inner {
    position: relative;
    z-index: 1;
    display: flex;
    align-items: center;
    gap: 32px;
    min-height: 88px;
}

.main-bar .logo img{
    width: 260px;
}


/* ========== 湲�濡쒕쾶 GNB ========== */
.gnb {
    display: flex;
    flex: 1;
    justify-content: center;
    align-items: stretch;
    margin-left: 40px;
}

.gnb__list {
    display: flex;
    gap: 0 50px;
}

.gnb__item {
    position: relative;
}

.gnb__link {
    border: none;
    background: none;
    padding: 14px 6px;
    font-size: 17px;
    font-weight: 600;
    color: #333;
    cursor: pointer;
}

.gnb__item:hover .gnb__link {
    color: var(--brand-teal);
}

/* ========== �꾩껜 �쒕∼�ㅼ슫 硫붽�硫붾돱 (�� 踰덉뿉 �쒖떆) ========== */
.gnb-mega {
    position: absolute;
    left: 0;
    right: 0;
    top: 100%;
    max-height: 0;
    overflow: hidden;
    background: #fff;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.08);
    z-index: 99;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: max-height 0.35s ease, opacity 0.28s ease, visibility 0s 0.35s;
}

.main-bar:hover .gnb-mega {
    max-height: 420px;
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    transition: max-height 0.35s ease, opacity 0.28s ease, visibility 0s 0s;
}

.gnb-mega__inner {
    width: min(1200px, 100%);
    margin: 0 auto;
    padding: 24px 24px 32px;
    box-sizing: border-box;
    display: flex;
    gap: 0 40px;
}

.gnb-mega__col {
    flex: 1;
    min-width: 0;
}

.gnb-mega__title {
    background: #efefef;
    color: #333;
    font-size: 18px;
    font-weight: 600;
    padding: 10px 14px;
    margin-bottom: 12px;
    border-radius: 4px;
    text-align: center;
}

.gnb-mega__links {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.gnb-mega__links a {
    display: block;
    padding: 8px 0;
    color: #222;
    text-decoration: none;
    line-height: 1.4;
}

.gnb-mega__links a:hover {
    color: var(--brand-teal);
}

.gnb-mega__ext {
    position: relative;
    padding-right: 20px;
}

.gnb-mega__ext::after {
    content: '';
    width: 14px;
    height: 14px;
    background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23666' stroke-width='2'%3E%3Cpath d='M18 13v6a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2V8a2 2 0 0 1 2-2h6'/%3E%3Cpolyline points='15 3 21 3 21 9'/%3E%3Cline x1='10' y1='14' x2='21' y2='3'/%3E%3C/svg%3E") no-repeat center / contain;
    opacity: 0.7;
    display: inline-block;
    margin-left: 10px;
}

.header-actions {
    display: flex;
    align-items: center;
    gap: 20px;
    margin-left: auto;
}

.search-toggle {
    width: 42px;
    height: 42px;
    border: none;
    border-radius: 50%;
    background-color: #959595;
    display: flex;
    justify-content: center;
    align-items: center;
    cursor: pointer;
    color: #fff;
}

.search-toggle:hover {
    background-color: var(--brand-teal);
}

.search-toggle svg {
    display: block;
}

.menu-toggle {
    width: 42px;
    height: 42px;
    border-radius: 50%;
    background-color: var(--blue);
    border: none;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 4px;
    cursor: pointer;
}

.menu-toggle:hover {
    background-color: var(--brand-teal);
}

.menu-toggle span {
    display: block;
    width: 16px;
    height: 2px;
    background: #fff;
}

.allmenu-modal {
    position: fixed;
    inset: 0;
    z-index: 9999;
    display: none;
}

.allmenu-modal.is-open {
    display: block;
}

.site-header:has(.allmenu-modal.is-open) {
    z-index: 9999;
}

.allmenu-modal__backdrop {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.55);
}

.allmenu-modal__panel {
    position: relative;
    margin: 0;
    width: 100%;
    max-width: 100%;
    height: 100vh;
    background: #fff;
    display: flex;
    flex-direction: column;
    overflow: hidden;
}

.allmenu-modal__main {
    display: flex;
    flex: 1;
    min-height: 0;
}

.allmenu-modal__left {
    flex: 0 0 52%;
    max-width: 1200px;
    background: #fff;
    overflow-y: auto;
}

.allmenu-modal__inner {
    padding: 48px 56px 56px;
    box-sizing: border-box;
}

.allmenu-modal__header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 40px;
}

/* 紐⑤떖 �� top-utils: 湲곕낯 �④�, 768px�먯꽌留� �ㅻ뜑 �꾨옒 �쒖떆 */
.allmenu-modal__utils {
    display: none;
}

.allmenu-modal__logo {
    font-size: 20px;
    font-weight: 700;
}

.allmenu-modal__logo img {
    display: block;
    height: 32px;
    width: auto;
}

.allmenu-modal__close {
    border: none;
    background: none;
    font-size: 32px;
    line-height: 1;
    cursor: pointer;
    width: 40px;
    height: 40px;
    color: #333;
    padding: 0;
}

.allmenu-modal__close:hover {
    color: #000;
}

.allmenu-modal__body {
    display: block;
}

.allmenu-modal__section {
    margin-bottom: 32px;
}

.allmenu-modal__section:last-child {
    margin-bottom: 0;
}

.allmenu-modal__title {
    margin: 0 0 10px;
    font-size: 22px;
    font-weight: 700;
    color: var(--blue);
    line-height: 1.3;
}

.allmenu-modal__line {
    height: 1px;
    background: #e0e0e0;
    margin: 0 0 14px;
}

.allmenu-modal__list {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-wrap: wrap;
    gap: 8px 24px;
}

.allmenu-modal__list li {
    margin: 0;
}

.allmenu-modal__list a {
    display: inline-block;
    padding: 4px 0;
    color: #333;
    font-size: 18px;
}

.allmenu-modal__list a:hover {
    color: var(--brand-teal);
}

.allmenu-modal__list a.allmenu-modal__ext {
    padding-right: 20px;
    position: relative;
}

.allmenu-modal__list a.allmenu-modal__ext::after {
    content: '';
    position: absolute;
    right: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 12px;
    height: 12px;
    background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23333' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M18 13v6a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2V8a2 2 0 0 1 2-2h6'/%3E%3Cpolyline points='15 3 21 3 21 9'/%3E%3Cline x1='10' y1='14' x2='21' y2='3'/%3E%3C/svg%3E") no-repeat center;
    background-size: 12px;
}

.allmenu-modal__list a.allmenu-modal__ext:hover {
    color: var(--brand-teal);
}

.allmenu-modal__list a.allmenu-modal__ext:hover::after {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2300a6b2' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M18 13v6a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2V8a2 2 0 0 1 2-2h6'/%3E%3Cpolyline points='15 3 21 3 21 9'/%3E%3Cline x1='10' y1='14' x2='21' y2='3'/%3E%3C/svg%3E");
}

/* �곗륫 鍮꾩＜��: 諛곌꼍 �대�吏� */
.allmenu-modal__right {
    flex: 1;
    min-width: 0;
    position: relative;
    background: #f5f5f5;
}

.allmenu-modal__visual {
    position: absolute;
    inset: 0;
    background: url("../images/main/main-vs-1.png") no-repeat center center;
    background-size: cover;
}

/* 諛섏쓳��(900px �댄븯) �ъ씠�몃㏊�먯꽌 top-utils �쒖떆 */
@media (max-width: 900px) {
    .allmenu-modal__utils {
        display: flex;
        flex-wrap: wrap;
        align-items: center;
        gap: 0 12px;
        margin-bottom: 24px;
        padding: 12px 0;
        border-bottom: 1px solid #eee;
    }

    .allmenu-modal__utils b {
        font-size: 14px;
        font-weight: 600;
        color: #333;
    }

    .allmenu-modal__utils .login-btn,
    .allmenu-modal__utils .logout-btn {
        font-size: 14px;
        padding-left: 22px;
        background-size: 18px;
        color: #333;
    }

    .allmenu-modal__utils b,
    .allmenu-modal__utils .login-btn {
        position: relative;
    }

    .allmenu-modal__utils b::after,
    .allmenu-modal__utils .login-btn::after {
        content: '';
        position: absolute;
        right: -7px;
        top: 50%;
        transform: translateY(-50%);
        width: 1px;
        height: 12px;
        background: #ddd;
    }

}

/* �쒕툝由� 768px �댄븯: �⑥씪 而щ읆 + �꾩퐫�붿뼵 */
@media (max-width: 768px) {
    .allmenu-modal__main {
        flex-direction: column;
    }

    .allmenu-modal__left {
        flex: 1 1 auto;
        max-width: none;
    }

    .allmenu-modal__inner {
        padding: 24px 20px 32px;
    }

    .allmenu-modal__header {
        margin-bottom: 16px;
    }

    .allmenu-modal__utils {
        display: flex;
        flex-wrap: wrap;
        align-items: center;
        gap: 0 12px;
        margin-bottom: 24px;
        padding: 12px 0;
        border-bottom: 1px solid #eee;
    }

    .allmenu-modal__utils b {
        font-size: 14px;
        font-weight: 600;
        color: #333;
    }

    .allmenu-modal__utils .login-btn,
    .allmenu-modal__utils .logout-btn {
        font-size: 14px;
        padding-left: 22px;
        background-size: 18px;
        color: #333;
    }

    .allmenu-modal__utils b,
    .allmenu-modal__utils .login-btn {
        position: relative;
    }

    .allmenu-modal__utils b::after,
    .allmenu-modal__utils .login-btn::after {
        content: '';
        position: absolute;
        right: -7px;
        top: 50%;
        transform: translateY(-50%);
        width: 1px;
        height: 12px;
        background: #ddd;
    }

    .allmenu-modal__right {
        display: none;
    }

    .allmenu-modal__section {
        margin-bottom: 0;
        border-bottom: 1px solid #eee;
    }

    .allmenu-modal__title {
        margin: 0;
        padding: 16px 0;
        font-size: 18px;
        cursor: pointer;
        display: flex;
        justify-content: space-between;
        align-items: center;
        color: var(--blue);
        user-select: none;
    }

    .allmenu-modal__title::after {
        content: '+';
        font-size: 20px;
        font-weight: 400;
        color: #666;
    }

    .allmenu-modal__section.is-open .allmenu-modal__title::after {
        content: '−';
    }

    .allmenu-modal__line {
        display: none;
    }

    .allmenu-modal__list {
        display: block;
        max-height: 0;
        overflow: hidden;
        transition: max-height 0.3s ease;
        padding: 0 0 4px;
    }

    .allmenu-modal__list li {
        display: block;
    }

    .allmenu-modal__section.is-open .allmenu-modal__list {
        max-height: 400px;
    }

    .allmenu-modal__list a {
        display: block;
        padding: 10px 0;
        font-size: 15px;
    }

    .allmenu-modal__list a.allmenu-modal__ext {
        padding-right: 0;
        background: none;
    }

    .allmenu-modal__logo img {
        max-width: 255px;
    }
}

@media (max-width: 480px) {
    .allmenu-modal__inner {
        padding: 20px 16px 28px;
    }

    .allmenu-modal__title {
        font-size: 17px;
        padding: 14px 0;
    }
}
/* footer */
.site-footer {
    background: #fff !important;
    border-top: 1px solid #eaeaea;
}

.footer-inner {
    width: min(1200px, 100%);
    margin: 0 auto;
    padding: 40px 24px 36px;
    box-sizing: border-box;
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 40px;
}

.footer-left {
    flex-shrink: 0;
}

.footer-logo {
    display: block;
    margin-bottom: 16px;
}

.footer-logo img {
    display: block;
    height: 35px;
    width: auto;
}


.footer-right {
    text-align: right;
    flex: 1;
    max-width: 640px;
}

.footer-nav {
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-end;
    gap: 12px 20px;
    margin-bottom: 14px;
}

.footer-nav a {
    font-size: 14px;
    color: #a0a0a0;
    text-decoration: none;
}

.footer-nav a:hover {
    color: #00bcd4;
}

.footer-info {
    font-size: 14px;
    color: #333;
    margin: 0 0 10px;
    line-height: 1.5;
}

.footer-info .sep {
    margin: 0 8px;
    color: #ccc;
}

.footer-copy {
    font-size: 13px;
    color: #a0a0a0;
    margin: 0;
}


/* ========== TOP 踰꾪듉 ========== */
.btn-top {
    position: fixed;
    right: 40px;
    top: auto;
    bottom: 40px;
    width: 80px;
    height: 80px;
    border-radius: 50%;
    border: none;
    background: #ffffff;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.18);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 4px;
    cursor: pointer;
    color: #9e9e9e;
    font-weight: 600;
    letter-spacing: 0.06em;
    z-index: 100;
}

.btn-top span {
    rotate: none;
}

.btn-top__icon {
    font-size: 18px;
}

.btn-top__text {
    font-size: 14px;
}

.btn-top:hover {
    box-shadow: 0 10px 26px rgba(0, 0, 0, 0.22);
    color: #757575;
}

.quick-hm-btn{
    position: fixed;
    right: 40px;
    bottom: 140px;
    z-index: 5;
}

@media (max-width: 768px) {
    .footer-inner {
        flex-direction: column;
        align-items: flex-start;
        padding: 32px 24px 28px;
    }

    .footer-right {
        text-align: left;
    }

    .footer-nav {
        justify-content: flex-start;
    }

    .footer-title {
        font-size: 18px;
    }
}

@media (max-width: 900px) {
    .gnb {
        display: none;
    }

    .gnb-mega {
        display: none !important;
    }

    .main-bar .inner {
        flex-direction: row;
        justify-content: space-between;
        min-height: 72px;
    }
}

@media screen and (max-width: 1024px) {
    /* 諛섏쓳��: platform-badge �④�, platform-switch + 濡쒓렇�� �쒖떆 */
    .top-bar .platform-badge {
        display: none;
    }

    .platform-badge img {
        max-width: 200px;
        width: 100%;
        height: auto;
    }

    .main-bar .logo img {
        width: 200px;
    }

    .switch-btn {
        padding: 4px 12px;
        font-size: 14px;
    }

    .top-utils .login-btn {
        font-size: 15px;
    }
}

@media screen and (max-width: 768px) {
    .top-bar {
        min-height: auto;
    }

    .top-bar .inner {
        flex-direction: row;
        align-items: center;
        justify-content: space-between;
        min-height: 40px;
        padding: 10px 16px;
        gap: 12px;
        flex-wrap: nowrap;
    }

    .platform-group {
        display: flex;
        align-items: center;
        gap: 10px;
        flex: 1;
        min-width: 0;
        flex-wrap: nowrap;
    }

    .platform-badge {
        margin-top: 0;
        flex-shrink: 0;
    }

    .platform-badge img {
        max-width: 140px;
        height: auto;
    }

    .platform-switch {
        gap: 6px;
        flex-shrink: 1;
    }

    .switch-btn {
        padding: 4px 10px;
        font-size: 12px;
        white-space: nowrap;
    }

    .top-bar .top-utils {
        flex-shrink: 0;
        display: none;
    }

    .top-utils .login-btn {
        font-size: 14px;
    }

    .main-bar .inner {
        min-height: 64px;
        padding: 0 16px;
    }

    .main-bar .logo img {
        width: 160px;
    }

    .search-toggle {
        width: 36px;
        height: 36px;
    }

    .search-toggle svg {
        width: 18px;
        height: 18px;
    }

    .menu-toggle {
        width: 36px;
        height: 36px;
    }

    .menu-toggle span {
        width: 14px;
    }

    .top-utils .logout-btn {
        background-size: 11px;
    }

    .footer-inner {
        flex-direction: column;
        align-items: flex-start;
        padding: 28px 20px 24px;
        gap: 24px;
    }

    .footer-right {
        text-align: left;
    }

    .footer-nav {
        justify-content: flex-start;
    }

    .footer-nav {
        gap: 8px 16px;
    }

    .footer-nav a {
        font-size: 13px;
    }

    .footer-info {
        font-size: 13px;
    }

    .footer-copy {
        font-size: 12px;
    }

    .btn-top {
        right: 20px;
        bottom: 24px;
        width: 56px;
        height: 56px;
    }

    .btn-top__text {
        font-size: 12px;
    }

    .btn-top__icon img {
        width: 16px;
        height: auto;
    }
}

@media screen and (max-width: 640px) {
    .top-bar .inner {
        padding: 8px 12px;
        min-height: 36px;
    }

    .platform-badge img {
        max-width: 110px;
    }

    .platform-switch {
        gap: 4px;
    }

    .switch-btn {
        padding: 3px 8px;
        font-size: 11px;
    }

    .top-utils .login-btn {
        padding-left: 20px;
        background-size: 14px;
        font-size: 13px;
    }


    .search-toggle {
        width: 32px;
        height: 32px;
    }

    .search-toggle svg {
        width: 16px;
        height: 16px;
    }

    .menu-toggle {
        width: 32px;
        height: 32px;
    }

    .quick-hm-btn{
        width: 80px;
        right: 20px;
        bottom: 100px;
    }

    .quick-hm-btn img{
        width: 100%;
    }

    .btn-top span {
        margin-bottom: -5px;
    }

    .btn-top span {
        margin-top: -7px;
    }

}

@media screen and (max-width: 480px) {
    .site-header .inner {
        padding: 0 12px;
    }

    .top-bar .inner {
        padding: 8px 12px;
    }

    .platform-group {
        gap: 8px;
    }

    .platform-badge img {
        max-width: 90px;
    }


    .top-utils .login-btn {
        font-size: 13px;
    }


    .footer-inner {
        padding: 24px 16px 20px;
    }

    .footer-info .sep {
        display: block;
        margin: 4px 0;
    }

    .btn-top {
        right: 16px;
        bottom: 20px;
        width: 48px;
        height: 48px;
    }

    .btn-top__text {
        font-size: 11px;
    }
}