/*  --------------- 스타일 초기화 / 공통요소 --------------- */
    /* 세로 스크롤 숨기기, 스크롤 가능 */
    html, body {
        overflow-y: scroll; /* 실제 스크롤은 가능 */
        scrollbar-width: none; /* Firefox */
        -ms-overflow-style: none; /* IE, Edge */
    }
    /* Chrome, Safari, Opera */
    html::-webkit-scrollbar, 
    body::-webkit-scrollbar {
        display: none;
    }
body {
    background-color: #111113;
    color: #fff;
    user-select: none; /* 텍스트 선택 금지 */
    text-align: center;
}
div.horizontal {
    position: relative;
    width: 100%;
    height: 75px;
    border-radius: 100px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    margin: 30px auto 50px;
}

div.horizontal::before {
    content: "";
    position: absolute;
    inset: 0;
    border-radius: inherit;
    padding: 5px;
    background: linear-gradient(90deg,#121415, #2FFF97, #121415);
    -webkit-mask:
        linear-gradient(#fff 0 0) content-box,
        linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
            mask-composite: exclude;
    pointer-events: none;
}
h1 {
    font-weight: 800;
    font-size: 80px;
}
h3 {
    font-weight: 100;
    font-size: 45px;
}
div.horizontal h3 {
    position: relative;
    font-size: 45px;
    font-weight: 300;
}
p {
    font-weight: 100;
    font-size: 30px;
    line-height: 150%;
}
article {
    margin-bottom: 100px;
}
/* 페이지가 아래로 이동 + 블러 증가 + 투명해지며 사라지는 효과 */
.page-drop-blur {
    animation: pageDropBlur 0.7s ease forwards;
}

@keyframes pageDropBlur {
    0% {
        opacity: 1;
        transform: translateY(0);
        filter: blur(0px);
    }
    100% {
        opacity: 0;
        transform: translateY(120px); /* 아래로 더 크게 드랍 */
        filter: blur(12px); /* 흐려지면서 사라짐 */
    }
}

header {
    width: 100%;
    background: transparent;
    position: fixed;
    z-index: 99;
    display: flex;
    justify-content: end;
    align-items: center;
    padding: 20px 100px;
}
header a.back-bt {
    position: relative;
    display: block;
    width: 60px;
    height: 60px;
    border-radius: 50px;
    cursor: pointer;

    background: transparent;
    --line-color: #fff;
    transition: 0.3s ease;
}

/* X (두 개의 선) */
header a.back-bt::before,
header a.back-bt::after {
    content: "";
    position: absolute;
    left: 50%;
    top: 50%;
    width: 30px;
    height: 2px;
    background: var(--line-color);

    transform-origin: center;
    transform: translate(-50%, -50%) rotate(45deg);
    transition: 0.3s ease;
}

/* 두 번째 선 */
header a.back-bt::after {
    transform: translate(-50%, -50%) rotate(-45deg);
}

/* 🔥 호버 시: X에만 빛이 들어옴 */
header a.back-bt:hover::before,
header a.back-bt:hover::after {
    background: lime;
    box-shadow: 0 0 6px lime, 0 0 12px lime, 0 0 18px lime;
}
/* ------------------------ section.network -------------------------- */
section.network {
    padding: 100px 100px 0;
}
article.network {
    margin-bottom: 200px;
}
article.network h3 {
    letter-spacing: 30px;
}
article.network h3 span {
    letter-spacing: 0;
}
/* ?------------------------------- .antm -------------------------------- */
div.antm {
    width: 100%;
    margin-bottom: 200px;
}
div.ciloc {
    margin-bottom: 200px;
}
div.sode {
    margin-bottom: 200px;
}
div.qsas {
    margin-bottom: 200px;
}
div.antm-image {
    width: 100%;
    height: 1200px;
    background: url('images/antm-image.png') no-repeat center / contain;
}
/* ? ---------------------------- ciloc ------------------------------- */
div.ciloc-image {
    width: 100%;
    height: 1400px;
    background: url('images/ciloc-image.png') no-repeat center / contain;
}
/* ? ------------------------- sode --------------------------- */
div.sode-image {
    width: 100%;
    height: 800px;
    background: url('images/sode-image.png') no-repeat center / contain;
}
/* ?----------------------- qsas ---------------------------- */
div.qsas-image {
    width: 100%;
    height: 700px;
    background: url('images/qsas-image.png') no-repeat center / contain;
}


/* logo */
a.logo {
    display: block;
    width: 237px;
    height: 68px;
    margin:  200px auto 0;
    background: #111113 url('images/logos/kgfc로고-국문포함.png') no-repeat center / cover;
    background-size: contain;
    z-index: 2;
}

div.last-bg {
    width: 100%;
    height: 200px;
    background: url('images/uss\ 타이틀\ 이미지.png') no-repeat center / cover;
}

/* ------------------ 상단 타이틀 등장 애니메이션 ------------------ */
.fade-up {
    opacity: 0;
    transform: translateY(40px);
    filter: blur(6px);
}

.fade-up.show {
    opacity: 1;
    transform: translateY(0);
    filter: blur(0);
    transition: 2s cubic-bezier(0.23, 1, 0.32, 1);
}

/* ------------------ 제자리 페이드 인 ------------------ */
.fade-in {
    opacity: 0;
    filter: blur(8px);
    transition: 1.2s ease-out;
    transition-delay: 1s;
}

.fade-in.show {
    opacity: 1;
    filter: blur(0);
}

.to-top-btn {
    position: fixed;
    bottom: 20px;
    right: 50px;
    padding: 12px 14px;
    background: none;
    color: #fff;
    border-radius: 50px;
    border: 2px solid #fff;
    cursor: pointer;
    font-size: 14px;
    z-index: 999;
    opacity: 0;               /* 기본은 숨김 */
    transition: opacity 0.4s; /* 부드러운 페이드 */
    pointer-events: none;      /* 숨김 상태에서 클릭 불가 */
    transition: 300ms;
    }

    .to-top-btn.show {
    opacity: 1;
    pointer-events: auto;
    }

    .to-top-btn:hover {
    border-color: lime;
    box-shadow: 0 0 6px lime, 0 0 12px lime, 0 0 20px lime;
    transition: 0.5s;
    color: lime;
    }
