@charset "utf-8";
/* 초기화 */
html {overflow-y:scroll}
body {margin:0;padding:0;font-size:0.75em;font-family:'Malgun Gothic', dotum, sans-serif;background:#fff}
html, h1, h2, h3, h4, h5, h6, form, fieldset, img {margin:0;padding:0;border:0}
h1, h2, h3, h4, h5, h6 {font-size:1em;font-family:'Malgun Gothic', dotum, sans-serif}
article, aside, details, figcaption, figure, footer, header, hgroup, menu, nav, section {display:block}
ul, dl,dt,dd {margin:0;padding:0;list-style:none}
legend {position:absolute;margin:0;padding:0;font-size:0;line-height:0;text-indent:-9999em;overflow:hidden}
label, input, button, select, img {vertical-align:middle;font-size:1em}
input, button {margin:0;padding:0;font-family:'Malgun Gothic', dotum, sans-serif;font-size:1em}
input[type="submit"] {cursor:pointer}
button {cursor:pointer}
textarea, select {font-family:'Malgun Gothic', dotum, sans-serif;font-size:1em}
select {margin:0}
p {margin:0;padding:0;word-break:break-all}
hr {display:none}
pre {overflow-x:scroll;font-size:1.1em}
a {color:#000;text-decoration:none}
*, :after, :before {
-webkit-box-sizing:border-box;
-moz-box-sizing:border-box;
box-sizing:border-box;
}
input[type=text],input[type=password], textarea {
-webkit-transition:all 0.30s ease-in-out;
-moz-transition:all 0.30s ease-in-out;
-ms-transition:all 0.30s ease-in-out;
-o-transition:all 0.30s ease-in-out;
outline:none;
}
/* ---------------------------------------------------------------------------------------------------------------------------------------- */
:root {
--header-bg: #0e1521;
--neon-blue: #00f2ff;
--text-white: #ffffff;
--sub-bg: rgba(13, 25, 48, 0.98);
--transition: 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}
body { background: #000; }
#HEAD {
width:100% !important;
background-color: var(--header-bg);
border-bottom: 1px solid rgba(0, 242, 255, 0.15);
height: 70px;
position: sticky;
top: 0;
z-index: 9999;
backdrop-filter: blur(20px);
}
/* 1. 모든 구조 유지 */
.Bar {
max-width: 100%;
height: 100%;
display: flex;
align-items: center;
justify-content: space-between;
padding: 0 30px;
list-style: none;
margin: 0;
}
/* 로고 효과 */
.Logo {
font-size: 30px;
font-weight: 900;
color: var(--text-white);
text-transform: uppercase;
letter-spacing: 2px;
text-decoration: none;
position: relative;
transition: all 0.4s ease;
padding: 5px 0;
}
.Logo::after {
content: '';
position: absolute;
bottom: 0;
left: 50%;
width: 0;
height: 2px;
background: var(--neon-blue);
box-shadow: 0 0 10px var(--neon-blue);
transition: 0.4s ease;
transform: translateX(-50%);
}
.Logo:hover {
color: var(--neon-blue);
letter-spacing: 5px;
}
.Logo:hover::after {
width: 100%;
}
.Right {
display: flex;
height: 100%;
list-style: none;
margin: 0;
padding: 0;
}
.menu-item {
position: relative;
display: flex;
align-items: center;
height: 100%;
padding: 0 20px;
}
.menu-item > a {
color: #94a3b8;
text-decoration: none;
font-weight: 700;
font-size: 0.95rem;
text-transform: uppercase;
transition: 0.3s;
position: relative;
z-index: 10;
}
/* 2. 서브메뉴 위치 10px 위로 이동 (60px -> 50px) */
.sub-menu {
position: absolute;
top: 50px;
right: 0;
background: var(--sub-bg);
min-width: 200px;
padding: 0;
border-radius: 8px;
border: 1px solid rgba(0, 242, 255, 0.4);
box-shadow: 0 15px 40px rgba(0, 0, 0, 0.9);
opacity: 0;
visibility: hidden;
transform: perspective(1000px) rotateX(-20deg) translateY(10px);
transition: var(--transition);
overflow: visible;
}
.sub-menu li {
list-style: none;
width: 100%;
position: relative;
}
.sub-menu li a {
color: #cbd5e1;
text-decoration: none;
display: flex;
align-items: center;
justify-content: flex-start;
width: 100%;
height: 50px; /* 높이 60px 유지 */
padding: 0 25px;
font-size: 0.9rem;
font-weight: 600;
transition: 0.3s;
border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}
.sub-menu > li:first-child > a {
border-top-left-radius: 8px;
border-top-right-radius: 8px;
}
.sub-menu > li:last-child > a {
border-bottom-left-radius: 8px;
border-bottom-right-radius: 8px;
}
.sub-menu-item > a {
justify-content: space-between;
padding: 0 18px;
}
.sub-menu-item {
position: relative;
}
.sub-menu-side {
top: 0;
right: auto;
left: calc(100% + 8px);
min-width: 220px;
transform: perspective(1000px) rotateY(-12deg) translateX(10px);
}
.side-menu-left > .sub-menu-side {
left: auto;
right: calc(100% + 5px);
transform: perspective(1000px) rotateY(12deg) translateX(-10px);
}
.side-menu-left::after {
content: '★'; /* 우주 컨셉에 맞춘 별표 불렛 */
position: absolute;
left: 12px;
color: #00f2ff;
font-size: 10px;
top: 18;
right: 100%;
width: 12px;
height: 100%;
}
.sub-menu li:last-child a { border-bottom: none; }
.menu-item:hover > a {
color: var(--neon-blue);
text-shadow: 0 0 10px rgba(0, 242, 255, 0.3);
}
.menu-item:hover > .sub-menu,
.sub-menu-item:hover > .sub-menu-side {
opacity: 1;
visibility: visible;
transform: perspective(1000px) rotateX(0deg) translateY(0);
}
.side-menu-left:hover > .sub-menu-side {
transform: perspective(1000px) rotateY(0deg) translateX(0);
}
.sub-menu li:hover {
background: linear-gradient(90deg, rgba(0, 242, 255, 0.15), transparent);
}
.sub-menu li:hover a {
color: #fff;
}
/* 3. 메뉴 마우스 오버 라인 효과: 메뉴 텍스트 바로 아래 출력 */
.menu-item::after {
content: '';
position: absolute;
bottom: 22px; /* 텍스트 바로 아래로 위치 조정 */
left: 50%;
width: 0;
height: 3px;
background: var(--neon-blue);
box-shadow: 0 0 10px var(--neon-blue);
transition: 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
transform: translateX(-50%);
}
.menu-item:hover::after {
width: 60%;
}
/* 브릿지: 마우스 이동이 끊기지 않도록 영역 확보 */
.menu-item::before {
content: '';
position: absolute;
top: 50%;
left: 0;
width: 100%;
height: 40px;
}
/* 페이지 스크롤바 스타일 */
::-webkit-scrollbar {
width: 5px;
}
::-webkit-scrollbar-track {
background: #020617;
}
::-webkit-scrollbar-thumb {
background: rgba(99, 102, 241, 0.5);
border-radius: 6px;
}
::-webkit-scrollbar-thumb:hover {
background: rgba(99, 102, 241, 0.7);
}