/*  --------------- 스타일 초기화 --------------- */
    /* 세로 스크롤 숨기기, 스크롤 가능 */
    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; /* 텍스트 선택 금지 */
}
/* 페이지가 아래로 이동 + 블러 증가 + 투명해지며 사라지는 효과 */
.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;
}

h1.title {
    font-size: 80px;
    font-weight: 800;
    text-align: center;
}
p.title {
    font-size: 30px;
    font-weight: 100;
    margin-top: 10px;
    margin-bottom: 130px;
    text-align: center;
}
section.technology {
    position: relative;
    padding: 100px 50px 100px;
    z-index: 1;
}
article.content {
    border-radius: 25px;
    display: flex;
    justify-content: space-between;
    align-items: stretch;
    max-width: 1750px;
    margin: 0 auto;
}
ul.side {
    display: flex;
    flex-direction: column;
    justify-content: space-between; /* 위/아래 양끝 배치 */
    list-style: none;
    padding: 0;
    margin: 0;
}

/* !------------------------------------ list ----------------------------------- */
div.control {
    position: relative;
    width: 850px;
    height: 750px;
    border-radius: 25px;
    overflow: hidden;
    background: url('images/관제기술 배경.png') no-repeat center / cover;
    text-align: center;
}
/* 가상 테두리 */
div.control::before {
    content: "";
    position: absolute;
    inset: 0; /* top:0; left:0; bottom:0; right:0; */
    padding: 3px; /* 테두리 두께 */
    border-radius: 25px; 
    background: linear-gradient(130deg, #181B1B, #32FD98, #181B1B);
    -webkit-mask:
        linear-gradient(#fff 0 0) content-box,
        linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
    pointer-events: none;
    z-index: 2;
}
div.control-icon {
    width: 320px;
    height: 320px;
    background: url('images/관제기술\ 아이콘.png') no-repeat center / cover;
    margin: 0 auto;
}
h1.control {
    font-size: 40px;
    font-weight: 700;
    margin-bottom: 30px;
    color: #00FF2A;
    /* 외부 네온 아웃글로우 */
    text-shadow:
        0 0 12px rgba(0, 255, 42, 0.7),
        0 0 24px rgba(0, 255, 42, 0.6),
        0 0 36px rgba(0, 255, 42, 0.5),
        0 0 48px rgba(0, 255, 42, 0.4),
        0 0 100px rgba(0, 255, 42, 0.3);
    /* 안쪽 그림자 느낌 */
    -webkit-text-stroke: .2px #66FF66;
    -webkit-text-fill-color: #00FF2A;
    position: relative;
    animation: neonPulse 1s ease-in-out infinite alternate;
}

h1.control::before {
    content: attr(data-text); /* 글자 내용 복제 */
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    color: #366640; /* 이너 섀도우 색 */
    filter: blur(3px);
    z-index: -1;
    mix-blend-mode: multiply;
    animation: innerPulse 1s ease-in-out infinite alternate;
}

/* 외부 네온 펄스 */
@keyframes neonPulse {
    0% {
        text-shadow:
            0 0 8px rgba(0, 255, 42, 0.5),
            0 0 16px rgba(0, 255, 42, 0.4),
            0 0 24px rgba(0, 255, 42, 0.3),
            0 0 32px rgba(0, 255, 42, 0.2);
    }
    100% {
        text-shadow:
            0 0 12px rgba(0, 255, 42, 0.7),
            0 0 24px rgba(0, 255, 42, 0.6),
            0 0 36px rgba(0, 255, 42, 0.5),
            0 0 48px rgba(0, 255, 42, 0.4);
    }
}
/* 내부 섀도우 펄스 */
@keyframes innerPulse {
    0% {
        filter: blur(2px);
        color: rgba(54, 102, 64, 0.3);
    }
    100% {
        filter: blur(4px);
        color: rgba(54, 102, 64, 0.5);
    }
}
div.join {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 5px;
}
p.control {
    font-size: 20px;
    font-weight: 200;
    margin-bottom: 0;
    line-height: 150%;
}
/* -------------------- network ----------------- */
article.network {
    text-align: center;
}
div.network-img {
    width: 100%;
    height: 320px;
    background: url('images/네트워크\ 기술\ 이미지.png') no-repeat center / cover;
    background-size: contain;
    margin: 0 auto;
}
div.network-img-bottom {
    width: 100%;
    height: 200px;
    background: url('images/네트워크\ 기술\ 이미지\ -\ bottom.png') no-repeat center;
    background-size: contain;
    margin: 0 auto;
}
li.network {
    position: relative;    
    width: 850px; 
    height: 750px;
    background: url('images/관제기술 배경.png') no-repeat center / cover;
    border-radius: 25px;
    overflow: hidden;
}
li.network::after {
    content: "";
    position: absolute;
    inset: 0; /* top:0; left:0; bottom:0; right:0; */
    padding: 3px; /* 테두리 두께 */
    border-radius: 25px; 
    background: linear-gradient(155deg, #181B1B, #32FD98, #181B1B);
    -webkit-mask:
        linear-gradient(#fff 0 0) content-box,
        linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
    pointer-events: none;
    z-index: 2;
}
h1.network {
    font-size: 40px;
    font-weight: 700;
    margin-bottom: 30px;
    color: #00FF2A;
    /* 외부 네온 아웃글로우 */
    text-shadow:
        0 0 12px rgba(0, 255, 42, 0.7),
        0 0 24px rgba(0, 255, 42, 0.6),
        0 0 36px rgba(0, 255, 42, 0.5),
        0 0 48px rgba(0, 255, 42, 0.4),
        0 0 100px rgba(0, 255, 42, 0.3);
    /* 안쪽 그림자 느낌 */
    -webkit-text-stroke: .2px #66FF66;
    -webkit-text-fill-color: #00FF2A;
    position: relative;
    animation: neonPulse 1s ease-in-out infinite alternate;
}
h1.network::before {
    content: attr(data-text); /* 글자 내용 복제 */
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    color: #366640; /* 이너 섀도우 색 */
    filter: blur(3px);
    z-index: -1;
    mix-blend-mode: multiply;
    animation: innerPulse 1s ease-in-out infinite alternate;
}
p.network {
    font-size: 20px;
    margin-bottom: 0;
    margin-bottom: 5px;
    font-weight: 100;
    line-height: 150%;
}
/* ----------------------------- 애니메이션 ----------------------------- */
/* 초기 상태: 아래로 내려가고 투명 */
.fade-up {
    opacity: 0;
    transform: translateY(50px);
    transition: opacity 1s ease-out, transform 1s ease-out;
}
/* 보여질 때: 위로 올라오면서 불투명 */
.fade-up.active {
    opacity: 1;
    transform: translateY(0);
}
    #bgParticles {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0; /* 배경으로 */
    }

a.logo {
    margin: 100px auto 0;
    display: block;
    width: 237px;
    height: 68px;
    background: url('images/logos/kgfc로고-국문포함.png') no-repeat center / cover;
    background-size: contain;
}
article.content > .control,
article.content > .side {
    flex: 0 0 850px; /* width: 850px 고정 */
}


.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;
    }
