355 lines
7.1 KiB
CSS
355 lines
7.1 KiB
CSS
/* Dark Premium Header Styles */
|
|
|
|
.dark-premium-header {
|
|
background: var(--bg-primary);
|
|
border-bottom: 1px solid var(--border-color);
|
|
position: sticky;
|
|
top: 0;
|
|
z-index: 1000;
|
|
backdrop-filter: blur(10px);
|
|
background: rgba(10, 10, 10, 0.95);
|
|
position: relative;
|
|
overflow: hidden;
|
|
}
|
|
|
|
.header-background {
|
|
position: absolute;
|
|
top: 0;
|
|
left: 0;
|
|
width: 100%;
|
|
height: 100%;
|
|
z-index: -1;
|
|
}
|
|
|
|
.header-glow {
|
|
position: absolute;
|
|
top: 0;
|
|
left: 0;
|
|
width: 100%;
|
|
height: 1px;
|
|
background: linear-gradient(90deg, transparent, var(--primary-color), transparent);
|
|
animation: glow-pulse 2s ease-in-out infinite;
|
|
}
|
|
|
|
@keyframes glow-pulse {
|
|
0%, 100% { opacity: 0.5; }
|
|
50% { opacity: 1; }
|
|
}
|
|
|
|
.header-container {
|
|
max-width: 1200px;
|
|
margin: 0 auto;
|
|
padding: 0 var(--spacing-md);
|
|
}
|
|
|
|
.header-content {
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: space-between;
|
|
height: 80px;
|
|
}
|
|
|
|
/* 로고 섹션 */
|
|
.logo-section {
|
|
flex-shrink: 0;
|
|
}
|
|
|
|
.logo-link {
|
|
display: flex;
|
|
align-items: center;
|
|
text-decoration: none;
|
|
position: relative;
|
|
}
|
|
|
|
.logo-img {
|
|
height: 45px;
|
|
width: auto;
|
|
object-fit: contain;
|
|
filter: brightness(1.2);
|
|
}
|
|
|
|
/* 네비게이션 */
|
|
.main-navigation {
|
|
flex: 1;
|
|
display: flex;
|
|
justify-content: center;
|
|
}
|
|
|
|
.nav-menu {
|
|
display: flex;
|
|
list-style: none;
|
|
margin: 0;
|
|
padding: 0;
|
|
gap: var(--spacing-xl);
|
|
}
|
|
|
|
.nav-item {
|
|
position: relative;
|
|
}
|
|
|
|
.nav-link {
|
|
display: block;
|
|
padding: var(--spacing-sm) 0;
|
|
color: var(--text-primary);
|
|
text-decoration: none;
|
|
font-weight: 500;
|
|
transition: all 0.3s ease;
|
|
position: relative;
|
|
text-transform: uppercase;
|
|
font-size: 0.875rem;
|
|
letter-spacing: 0.05em;
|
|
}
|
|
|
|
.nav-link:hover {
|
|
color: var(--primary-color);
|
|
text-shadow: 0 0 10px var(--primary-color);
|
|
}
|
|
|
|
.nav-link::after {
|
|
content: '';
|
|
position: absolute;
|
|
bottom: -5px;
|
|
left: 0;
|
|
width: 0;
|
|
height: 2px;
|
|
background: linear-gradient(90deg, var(--primary-color), var(--secondary-color));
|
|
transition: width 0.3s ease;
|
|
box-shadow: 0 0 5px var(--primary-color);
|
|
}
|
|
|
|
.nav-link:hover::after {
|
|
width: 100%;
|
|
}
|
|
|
|
/* 서브메뉴 */
|
|
.sub-menu {
|
|
position: absolute;
|
|
top: 100%;
|
|
left: 0;
|
|
background: var(--bg-card);
|
|
border: 1px solid var(--border-glow);
|
|
border-radius: var(--radius-md);
|
|
box-shadow: var(--shadow-glow);
|
|
min-width: 200px;
|
|
opacity: 0;
|
|
visibility: hidden;
|
|
transform: translateY(-10px);
|
|
transition: all 0.3s ease;
|
|
list-style: none;
|
|
margin: 0;
|
|
padding: var(--spacing-sm) 0;
|
|
z-index: 1001;
|
|
backdrop-filter: blur(10px);
|
|
}
|
|
|
|
.nav-item:hover .sub-menu {
|
|
opacity: 1;
|
|
visibility: visible;
|
|
transform: translateY(0);
|
|
}
|
|
|
|
.sub-link {
|
|
display: block;
|
|
padding: var(--spacing-sm) var(--spacing-md);
|
|
color: var(--text-secondary);
|
|
text-decoration: none;
|
|
transition: all 0.3s ease;
|
|
font-size: 0.875rem;
|
|
}
|
|
|
|
.sub-link:hover {
|
|
background: var(--bg-glass);
|
|
color: var(--primary-color);
|
|
text-shadow: 0 0 5px var(--primary-color);
|
|
}
|
|
|
|
/* 헤더 액션 */
|
|
.header-actions {
|
|
display: flex;
|
|
align-items: center;
|
|
gap: var(--spacing-md);
|
|
}
|
|
|
|
/* 검색 섹션 */
|
|
.search-section {
|
|
position: relative;
|
|
}
|
|
|
|
.search-btn {
|
|
background: var(--bg-glass);
|
|
border: 1px solid var(--border-glow);
|
|
padding: var(--spacing-sm);
|
|
cursor: pointer;
|
|
color: var(--text-primary);
|
|
transition: all 0.3s ease;
|
|
border-radius: var(--radius-sm);
|
|
backdrop-filter: blur(10px);
|
|
}
|
|
|
|
.search-btn:hover {
|
|
color: var(--primary-color);
|
|
background: var(--bg-card);
|
|
box-shadow: var(--shadow-glow);
|
|
transform: scale(1.05);
|
|
}
|
|
|
|
/* 회원 섹션 */
|
|
.member-section {
|
|
display: flex;
|
|
align-items: center;
|
|
gap: var(--spacing-sm);
|
|
}
|
|
|
|
.member-info {
|
|
display: flex;
|
|
flex-direction: column;
|
|
align-items: flex-end;
|
|
margin-right: var(--spacing-sm);
|
|
}
|
|
|
|
.member-name {
|
|
font-weight: 600;
|
|
color: var(--text-primary);
|
|
font-size: 0.875rem;
|
|
}
|
|
|
|
.member-point {
|
|
font-size: 0.75rem;
|
|
color: var(--primary-color);
|
|
text-shadow: 0 0 5px var(--primary-color);
|
|
}
|
|
|
|
.member-actions {
|
|
display: flex;
|
|
align-items: center;
|
|
gap: var(--spacing-sm);
|
|
}
|
|
|
|
.action-btn {
|
|
display: flex;
|
|
align-items: center;
|
|
padding: var(--spacing-xs) var(--spacing-sm);
|
|
color: var(--text-secondary);
|
|
text-decoration: none;
|
|
border-radius: var(--radius-sm);
|
|
transition: all 0.3s ease;
|
|
position: relative;
|
|
font-size: 0.875rem;
|
|
background: var(--bg-glass);
|
|
border: 1px solid var(--border-color);
|
|
backdrop-filter: blur(10px);
|
|
}
|
|
|
|
.action-btn:hover {
|
|
color: var(--primary-color);
|
|
background: var(--bg-card);
|
|
border-color: var(--border-glow);
|
|
box-shadow: var(--shadow-glow);
|
|
}
|
|
|
|
.neon-btn {
|
|
background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
|
|
color: var(--bg-primary);
|
|
border: none;
|
|
box-shadow: var(--shadow-glow);
|
|
}
|
|
|
|
.neon-btn:hover {
|
|
background: linear-gradient(135deg, var(--secondary-color), var(--primary-color));
|
|
transform: translateY(-2px);
|
|
box-shadow: 0 0 20px rgba(0, 212, 255, 0.5);
|
|
}
|
|
|
|
.badge {
|
|
position: absolute;
|
|
top: -5px;
|
|
right: -5px;
|
|
background: var(--error-color);
|
|
color: white;
|
|
font-size: 0.625rem;
|
|
padding: 2px 6px;
|
|
border-radius: 10px;
|
|
min-width: 18px;
|
|
text-align: center;
|
|
box-shadow: 0 0 10px var(--error-color);
|
|
}
|
|
|
|
/* 인증 버튼 */
|
|
.auth-actions {
|
|
display: flex;
|
|
gap: var(--spacing-sm);
|
|
}
|
|
|
|
.auth-btn {
|
|
padding: var(--spacing-xs) var(--spacing-md);
|
|
border-radius: var(--radius-sm);
|
|
text-decoration: none;
|
|
font-weight: 500;
|
|
font-size: 0.875rem;
|
|
transition: all 0.3s ease;
|
|
}
|
|
|
|
.login-btn {
|
|
color: var(--text-secondary);
|
|
border: 1px solid var(--border-color);
|
|
background: var(--bg-glass);
|
|
backdrop-filter: blur(10px);
|
|
}
|
|
|
|
.login-btn:hover {
|
|
color: var(--primary-color);
|
|
border-color: var(--border-glow);
|
|
box-shadow: var(--shadow-glow);
|
|
}
|
|
|
|
.register-btn {
|
|
background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
|
|
color: var(--bg-primary);
|
|
border: none;
|
|
box-shadow: var(--shadow-glow);
|
|
}
|
|
|
|
.register-btn:hover {
|
|
background: linear-gradient(135deg, var(--secondary-color), var(--primary-color));
|
|
transform: translateY(-2px);
|
|
box-shadow: 0 0 20px rgba(0, 212, 255, 0.5);
|
|
}
|
|
|
|
/* 모바일 메뉴 버튼 */
|
|
.mobile-menu-btn {
|
|
display: none;
|
|
flex-direction: column;
|
|
background: var(--bg-glass);
|
|
border: 1px solid var(--border-glow);
|
|
cursor: pointer;
|
|
padding: var(--spacing-sm);
|
|
gap: 4px;
|
|
border-radius: var(--radius-sm);
|
|
backdrop-filter: blur(10px);
|
|
}
|
|
|
|
.mobile-menu-btn span {
|
|
width: 20px;
|
|
height: 2px;
|
|
background: var(--text-primary);
|
|
transition: all 0.3s ease;
|
|
}
|
|
|
|
.mobile-menu-btn.active span:nth-child(1) {
|
|
transform: rotate(45deg) translate(5px, 5px);
|
|
}
|
|
|
|
.mobile-menu-btn.active span:nth-child(2) {
|
|
opacity: 0;
|
|
}
|
|
|
|
.mobile-menu-btn.active span:nth-child(3) {
|
|
transform: rotate(-45deg) translate(7px, -6px);
|
|
}
|
|
|
|
/* 반응형 디자인 */
|
|
|
|
|
|
|
|
|