/* Cyberpunk風格基礎樣式 - 與原始設計保持一致 */
:root {
    /* Cyberpunk配色 */
    --neon-blue: #00f3ff;
    --neon-pink: #ff00ff;
    --neon-green: #00ff9d;
    --neon-purple: #9d00ff;
    --dark-bg: #0a0a14;
    --darker-bg: #050510;
    --card-bg: rgba(20, 20, 40, 0.8);
    --text-primary: #ffffff;
    --text-secondary: #b0b0ff;
    --accent-glow: 0 0 20px;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Exo 2', 'Inter', sans-serif;
    line-height: 1.6;
    color: var(--text-primary);
    background-color: var(--dark-bg);
    background-image: 
        radial-gradient(circle at 10% 20%, rgba(0, 243, 255, 0.05) 0%, transparent 20%),
        radial-gradient(circle at 90% 80%, rgba(255, 0, 255, 0.05) 0%, transparent 20%);
    overflow-x: hidden;
    min-height: 100vh;
}

/* 網格背景效果 */
body::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: 
        linear-gradient(rgba(0, 243, 255, 0.05) 1px, transparent 1px),
        linear-gradient(90deg, rgba(0, 243, 255, 0.05) 1px, transparent 1px);
    background-size: 50px 50px;
    z-index: -1;
    pointer-events: none;
}

.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* 導覽列 */
.navbar {
    background-color: rgba(10, 10, 20, 0.95);
    backdrop-filter: blur(10px);
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1000;
    border-bottom: 1px solid var(--neon-blue);
    box-shadow: 0 0 30px rgba(0, 243, 255, 0.3);
    transition: all 0.3s ease;
}

.navbar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 20px;
    min-height: 70px;
}

.nav-brand {
    display: flex;
    align-items: center;
    gap: 15px;
}

.logo {
    height: 40px;
    width: auto;
    filter: drop-shadow(0 0 10px var(--neon-blue));
    animation: logoGlow 2s infinite alternate;
}

@keyframes logoGlow {
    0% { filter: drop-shadow(0 0 10px var(--neon-blue)); }
    100% { filter: drop-shadow(0 0 15px var(--neon-pink)); }
}

.brand-name {
    font-family: 'Orbitron', sans-serif;
    font-weight: 900;
    font-size: 1.8rem;
    background: linear-gradient(45deg, var(--neon-blue), var(--neon-pink));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    text-shadow: 0 0 15px rgba(0, 243, 255, 0.5);
}

/* 响应式设计 */
@media (max-width: 768px) {
    .navbar .container {
        padding: 10px 15px;
        min-height: 60px;
    }
    
    .logo {
        height: 35px;
    }
    
    .brand-name {
        font-size: 1.3rem;
    }
    
    .container {
        padding: 0 15px;
    }
}

@media (max-width: 480px) {
    .brand-name {
        font-size: 1.1rem;
    }
    
    .logo {
        height: 30px;
    }
}

/* Cyberpunk特殊效果 */
.neon-text {
    text-shadow: 0 0 10px currentColor;
}

.glow-effect {
    box-shadow: 0 0 20px currentColor;
}

.pulse {
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0% { opacity: 1; }
    50% { opacity: 0.7; }
    100% { opacity: 1; }
}
/* 移动菜单样式 */
.mobile-menu-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.8);
    z-index: 9999;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

.mobile-menu-overlay.active {
    opacity: 1;
    visibility: visible;
}

.mobile-menu {
    position: fixed;
    top: 0;
    right: -300px;
    width: 300px;
    height: 100%;
    background: var(--darker-bg);
    z-index: 10000;
    transition: right 0.3s ease;
    border-left: 1px solid var(--neon-blue);
    box-shadow: -10px 0 30px rgba(0, 243, 255, 0.3);
}

.mobile-menu.active {
    right: 0;
}

.mobile-menu-header {
    padding: 20px;
    border-bottom: 1px solid var(--neon-blue);
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: rgba(10, 10, 20, 0.95);
}

.mobile-menu-header h3 {
    font-family: 'Orbitron', sans-serif;
    color: var(--neon-blue);
    margin: 0;
}

.mobile-menu-close {
    background: none;
    border: none;
    color: var(--neon-blue);
    font-size: 1.5rem;
    cursor: pointer;
}

.mobile-menu-content {
    padding: 20px;
}

.mobile-menu-item {
    display: block;
    padding: 15px;
    color: var(--text-primary);
    text-decoration: none;
    border-radius: 5px;
    margin-bottom: 10px;
    transition: all 0.3s;
    border: 1px solid transparent;
}

.mobile-menu-item:hover {
    background: rgba(0, 243, 255, 0.1);
    border-color: var(--neon-blue);
}

.mobile-menu-item.cta-nav {
    background: linear-gradient(45deg, var(--neon-blue), var(--neon-pink));
    color: white;
    text-align: center;
}

.mobile-menu-item.logout-btn {
    background: none;
    border: none;
    width: 100%;
    text-align: left;
    font-family: inherit;
    font-size: inherit;
    cursor: pointer;
}

/* 用户信息样式 */
.user-info {
    display: flex;
    align-items: center;
    gap: 15px;
}

.user-name {
    color: var(--text-secondary);
    font-size: 0.9rem;
}

.user-name i {
    color: var(--neon-green);
    margin-right: 5px;
}

/* 页脚样式补充 */
.footer {
    background-color: var(--darker-bg);
    color: var(--text-primary);
    padding: 60px 0 30px;
    border-top: 1px solid var(--neon-blue);
    box-shadow: 0 0 30px rgba(0, 243, 255, 0.2);
    margin-top: 50px;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
    margin-bottom: 40px;
}

.footer-logo {
    height: 50px;
    width: auto;
    filter: drop-shadow(0 0 10px var(--neon-blue));
    margin-bottom: 15px;
}

.footer-brand h3 {
    font-family: 'Orbitron', sans-serif;
    font-size: 1.5rem;
    color: var(--neon-blue);
    margin-bottom: 5px;
}

.footer-brand p {
    color: var(--neon-pink);
    font-weight: 600;
    font-family: 'Orbitron', sans-serif;
}

.footer-links h4,
.footer-contact h4,
.footer-social h4 {
    font-family: 'Orbitron', sans-serif;
    color: var(--neon-green);
    margin-bottom: 15px;
    font-size: 1.2rem;
}

.footer-links a {
    display: block;
    color: var(--text-secondary);
    text-decoration: none;
    margin-bottom: 10px;
    transition: all 0.3s;
}

.footer-links a:hover {
    color: var(--neon-green);
    transform: translateX(5px);
}

.footer-contact p {
    margin-bottom: 10px;
    color: var(--text-secondary);
    display: flex;
    align-items: center;
    gap: 10px;
}

.footer-contact i {
    color: var(--neon-blue);
    width: 20px;
}

.footer-social .social-icons {
    display: flex;
    gap: 15px;
}

.social-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background: rgba(0, 243, 255, 0.1);
    border: 1px solid var(--neon-blue);
    border-radius: 50%;
    color: var(--neon-blue);
    text-decoration: none;
    transition: all 0.3s;
}

.social-icon:hover {
    background: var(--neon-blue);
    color: var(--dark-bg);
    transform: translateY(-3px);
}

.footer-bottom {
    margin-top: 40px;
    padding-top: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    text-align: center;
}

.copyright {
    color: var(--text-secondary);
    font-size: 0.9rem;
}

.copyright .disclaimer {
    font-size: 0.8rem;
    margin-top: 10px;
    color: var(--neon-pink);
    opacity: 0.8;
}

/* 响应式调整 */
@media (max-width: 768px) {
    .nav-menu {
        display: none;
    }
    
    .user-info {
        display: none;
    }
    
    .mobile-menu-btn {
        display: block;
        background: none;
        border: none;
        color: var(--neon-blue);
        font-size: 1.5rem;
        cursor: pointer;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
        gap: 30px;
        text-align: center;
    }
    
    .footer-social .social-icons {
        justify-content: center;
    }
}

@media (min-width: 769px) {
    .mobile-menu-btn {
        display: none;
    }
}

/* 主容器样式 */
.main-container {
    min-height: calc(100vh - 400px);
    padding-top: 80px;
}

/* 导航链接按钮样式 */
.nav-link-btn {
    background: none;
    border: none;
    color: inherit;
    font-family: inherit;
    font-size: inherit;
    cursor: pointer;
    padding: 5px 0;
    position: relative;
}

.nav-link-btn::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: linear-gradient(90deg, var(--neon-blue), var(--neon-pink));
    transition: width 0.3s;
}

.nav-link-btn:hover::after {
    width: 100%;
}