@charset "utf-8";
@font-face {
  font-family: 'GmarketSansMedium';
  src: url('https://cdn.jsdelivr.net/gh/projectnoonnu/noonfonts_2001@1.1/GmarketSansMedium.woff') format('woff');
  font-weight: normal;
  font-style: normal;
}
/* PC Common Frame */
html {
    scroll-behavior: smooth;
}
body {
    width: 100%;
    font-family: 'Noto Sans KR', sans-serif;
    background: #18181a;
}
#wrap {
    width: 100%;
    margin: 0 auto;
}
.inner {
    width: 1500px;
    margin: 0 auto;
}
.mobile-container {
    width: 100%;
    height: 100%;
}
.reveal {
    opacity: 0;
    transform: translateY(40px);
    transition:
        opacity 0.8s cubic-bezier(0.22, 1, 0.36, 1),
        transform 0.8s cubic-bezier(0.22, 1, 0.36, 1);
}
.reveal.show {
    opacity: 1;
    transform: translateY(0);
}


/* Header */
.header {
    width:100%;
    height: 80px;
    margin:0 auto;
    color:#808080;

    background: rgba(24, 24, 24, 0.85);
    backdrop-filter: blur(8px);
    border-bottom: 1px solid rgba(255,255,255,0.05);

    position: sticky;
    top: 0;
    transition:
        transform 0.35s ease,
        opacity 0.25s ease,
        height 0.3s ease,
        background 0.3s ease;
    z-index: 1000;
}
/* Modifier */
.header--sticky.shrink {
    height: 60px;
}
.header--sticky.hide {
    transform: translateY(-100%);
    opacity: 0;
}
/* Inner & Layout */
.header__inner {
    height: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 100%;
}
/* Logo */
.header__logo {
    font-family: 'GmarketSansMedium';
    font-size: 1.2rem;
    color: #fff;
}
.header__logo a {
    display: flex;
    align-items: center;            
    gap: 10px;
    text-decoration: none;
    color: inherit;                 
}
.header__logo img {
    width: 50px;
    height: 50px;
    object-fit: contain;            
}
.header__logo-text {
    letter-spacing: 0.03em;
    font-weight: 500;
}
/* GNB(PC) */
.gnb__list {
    display: flex;
    gap: 30px;                     
    align-items: center;          
}
.gnb__link {
    position: relative;
    text-decoration: none;
    color: #808080;
    transition: color 0.3s ease;
}
.gnb__link::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: -4px;
    width: 100%;
    height: 1px;
    background: #fff;

    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.8s ease;
}
.gnb__link.active {
    color: #fff;
}
.gnb__link.active::after {
    transform: scaleX(1);
}


/* Footer */
.footer {
    width: 100%;
    background-color: #0f0f0f; 
    border-top: 1px solid rgba(255,255,255,0.05);
    position: relative;
    z-index: 1;
}
.footer__inner {
    max-width: 1500px;
    margin: 0 auto;
    padding: 24px 20px;
    text-align: center;
}
.footer__brand {
    gap: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
}
.footer__logo {
    width: 22px;          
    display: block;
    opacity: 0.55;        
}
.footer__text {
    font-size: 0.8rem;
    letter-spacing: 0.02em;
    color: rgba(255, 255, 255, 0.6);
    white-space: nowrap;
}


/* Scroll Progress Button */
.scroll-progress {
    position: fixed;
    right: 36px;
    bottom: 36px;
    width: 60px;
    height: 60px;

    border: none;
    border-radius: 18px;

    background: rgba(22, 22, 22, 0.65);
    backdrop-filter: blur(14px);
    border: 1px solid rgba(255, 255, 255, 0.05);

    display: flex;
    align-items: center;
    justify-content: center;

    cursor: pointer;

    opacity: 0;
    transform: translateY(20px) scale(0.92);
    pointer-events: none;

    transition:
        opacity 0.45s ease,
        transform 0.5s cubic-bezier(0.22, 1, 0.36, 1),
        background 0.3s ease,
        border 0.3s ease;

    z-index: 9999;
}
.scroll-progress.show {
    opacity: 1;
    transform: translateY(0) scale(1);
    pointer-events: auto;
}
.scroll-progress:hover {
    transform: translateY(-6px) scale(1.05);
    background: rgba(32, 32, 32, 0.85);
    border: 1px solid rgba(255, 98, 156, 0.35);
}
.scroll-progress:active {
    transform: translateY(-2px) scale(0.96);
}
/* SVG Ring */
.progress-ring {
    position: absolute;
    top: 0;
    left: 0;
    transform: rotate(-90deg);
}
.progress-ring__bg {
    fill: transparent;
    stroke: rgba(255, 255, 255, 0.06);
    stroke-width: 4;   
}
.progress-ring__circle {
    fill: transparent;

    stroke: rgba(255, 255, 255, 0.25);
    stroke-width: 4;  
    stroke-linecap: round;
    stroke-dasharray: 163.36;
    stroke-dashoffset: 163.36;

    transition:
        stroke-dashoffset 0.12s linear,
        stroke 0.3s ease;
}
/* hover */
.scroll-progress:hover .progress-ring__circle {
    stroke: #FF629C;
    filter: drop-shadow(0 0 6px rgba(255, 98, 156, 0.4));
}
/* Icon */
.scroll-progress__icon {
    position: relative;
    color: rgba(255, 255, 255, 0.7);
    font-size: 15px;
    top: 1px; 
    transition: transform 0.3s ease, color 0.3s ease;
}
.scroll-progress:hover .scroll-progress__icon {
    transform: translateY(-3px);
    color: #ffffff;
}


/* Mobile */
@media screen and (max-width: 768px) {
    /* Mobile Common Frame */
    html {
        scroll-behavior: auto;
    }
    :root {
        --mobile-inner: min(90vw, 420px);
    }
    .inner {
        width: 100%;
    }
    .mobile-container {
        width: var(--mobile-inner);   
        margin: 0 auto;    
    }
    .card_interval > * + * {
        margin-top: 25px;
    }
    /* Header */
    .header {
        height: auto;
        padding: 15px 0;
    }
    .header__inner {
        display: flex;  
        flex-direction: column;        
        align-items: center;
        gap: 10px;
        text-align: center;   
    }
    /* Logo */
    .header__logo a{
        display: flex;
        flex-direction: column;  
        align-items: center;
        gap: 6px;
        margin-bottom: 10px; 
    }
    .header__logo img {
        width: 60px;
        height: 60px;
    }
    .header__logo-text {
        font-size: 1.125rem;
    }
    /* GNB */
    .gnb {
        width: 100%;
    }
    .gnb__list {
        width: var(--mobile-inner);   
        margin: 0 auto;
        padding: 12px 8px;

        background: #222;       
        border-radius: 12px;

        display: flex;
        justify-content: space-between;
        align-items: center;

        gap: 24px;
        white-space: nowrap;  
    }
    .gnb__list li {
        flex: 1;
        position: relative;
        text-align: center;
    }
    .gnb__link {
        color: #fff;
        font-size: 0.875rem;
        min-height: 36px;
        padding: 6px 0px;

        display: flex;
        justify-content: center;
        align-items: center;

        white-space: nowrap;      
    }
    .gnb__list li:not(:last-child)::after {
        content: "";
        position: absolute;
        right: -12px; 
        top: 50%;
        transform: translateY(-50%);

        width: 1px;
        height: 16px;
        background: rgba(255, 255, 255, 0.4);
    }
    /* Ripple */
    .gnb__link .ripple {
        position: absolute;
        border-radius: 50%;
        background: radial-gradient(
            circle,
            rgba(255, 255, 255, 0.35) 0%,
            rgba(255, 255, 255, 0.25) 40%,
            rgba(255, 255, 255, 0.15) 60%,
            rgba(255, 255, 255, 0.05) 70%,
            rgba(255, 255, 255, 0) 100%
        );
        transform: scale(0);    
        animation: ripple 0.8s ease-out;
        pointer-events: none;   
    }
    @keyframes ripple {
        0% { transform: scale(0); opacity: 1; }
        70% { transform: scale(3.5); opacity: 0.35; }
        100% { transform: scale(4); opacity: 0; }
    }
    /* Footer */
    .footer__inner {
        padding: 20px 16px;
    }
    .footer__text {
        font-size: 0.75rem; 
        line-height: 1.6;
    }
    /* Scroll Progress */
    .scroll-progress {
        display: none;
    }
}
