/* 基础样式 */
body {
    background: radial-gradient(ellipse at center, rgba(10, 20, 40, 1) 0%, rgba(5, 10, 25, 1) 70%, rgba(2, 5, 15, 1) 100%);
    color: #a9e0ff;
    font-family: 'Orbitron', sans-serif;
    margin: 0;
    padding: 0;
    line-height: 1.6;
    letter-spacing: 0.5px;
    overflow-x: hidden;
    position: relative;
}

/* 星空背景 */
body::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    background-image: 
        radial-gradient(1px 1px at 25% 35%, rgba(255, 255, 255, 0.6) 0%, rgba(255, 255, 255, 0) 50%),
        radial-gradient(1px 1px at 50% 50%, rgba(255, 255, 255, 0.6) 0%, rgba(255, 255, 255, 0) 50%),
        radial-gradient(1.5px 1.5px at 75% 30%, rgba(255, 255, 255, 0.7) 0%, rgba(255, 255, 255, 0) 50%),
        radial-gradient(2px 2px at 20% 80%, rgba(255, 255, 255, 0.5) 0%, rgba(255, 255, 255, 0) 50%),
        radial-gradient(2.5px 2.5px at 40% 10%, rgba(255, 255, 255, 0.6) 0%, rgba(255, 255, 255, 0) 50%),
        radial-gradient(1px 1px at 90% 70%, rgba(255, 255, 255, 0.7) 0%, rgba(255, 255, 255, 0) 50%),
        radial-gradient(1.5px 1.5px at 10% 20%, rgba(255, 255, 255, 0.5) 0%, rgba(255, 255, 255, 0) 50%);
    background-size: 550px 550px;
    animation: stars-drift 150s linear infinite;
    opacity: 0.5;
}

@keyframes stars-drift {
    from {
        background-position: 0 0;
    }
    to {
        background-position: 550px 550px;
    }
}

/* 滚动条样式 */
::-webkit-scrollbar {
    width: 8px;
    height: 8px;
}

::-webkit-scrollbar-track {
    background: rgba(10, 20, 40, 0.5);
}

::-webkit-scrollbar-thumb {
    background: linear-gradient(to bottom, #00c2ff, #0088ff);
    border-radius: 4px;
    border: 1px solid rgba(0, 150, 255, 0.3);
    box-shadow: 0 0 10px rgba(0, 150, 255, 0.5);
}

::-webkit-scrollbar-thumb:hover {
    background: linear-gradient(to bottom, #00e5ff, #0099ff);
}

/* 容器样式 */
.container {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 15px;
}

/* 星际科技辉光文字 */
.glow-text {
    color: #ffffff;
    text-shadow: 0 0 10px #00aeff, 0 0 20px #0077ff, 0 0 30px #0055ff;
    animation: pulsate 2s infinite alternate;
    font-family: 'Orbitron', sans-serif;
    letter-spacing: 2px;
    font-weight: 700;
}

@keyframes pulsate {
    0% {
        text-shadow: 0 0 10px #00aeff, 0 0 20px #0077ff, 0 0 30px #0055ff;
    }
    100% {
        text-shadow: 0 0 20px #00c2ff, 0 0 30px #0088ff, 0 0 40px #0066ff;
    }
} 

/* 导航栏样式 */
nav {
    background: rgba(5, 15, 30, 0.85);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(0, 150, 255, 0.3);
    position: fixed;
    width: 100%;
    z-index: 100;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.5);
}

nav .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem;
}

nav .logo {
    font-family: 'Orbitron', sans-serif;
    font-weight: 700;
    font-size: 1.25rem;
    letter-spacing: 2px;
    color: #ffffff;
    text-shadow: 0 0 10px rgba(0, 150, 255, 0.8);
    position: relative;
    padding-left: 15px;
    text-decoration: none;
}

nav .logo::before {
    content: '';
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 5px;
    height: 70%;
    background: linear-gradient(to bottom, #00c2ff, #0066cc);
    box-shadow: 0 0 10px rgba(0, 150, 255, 0.8);
}

nav ul {
    display: flex;
    list-style: none;
    gap: 1.5rem;
    margin: 0;
    padding: 0;
}

nav ul li a {
    color: #a9e0ff;
    text-decoration: none;
    font-family: 'Orbitron', sans-serif;
    font-size: 0.9rem;
    letter-spacing: 1px;
    text-transform: uppercase;
    transition: all 0.3s ease;
    padding: 0.5rem 1rem;
    border-radius: 3px;
    position: relative;
    background: transparent;
}

nav ul li a::before {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 2px;
    background: linear-gradient(90deg, transparent, #00c2ff, transparent);
    transition: all 0.3s ease;
}

nav ul li a:hover, nav ul li a.active {
    color: #ffffff;
    text-shadow: 0 0 10px rgba(0, 150, 255, 0.8);
}

nav ul li a:hover::before, nav ul li a.active::before {
    width: 80%;
}

/* 英雄区域样式 */
.hero {
    padding-top: 120px;
    padding-bottom: 60px;
    position: relative;
    overflow: hidden;
    background-image: url('Banner.png');
    background-size: cover;
    background-position: center;
    text-align: center;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(to bottom, rgba(5, 15, 30, 0.7), rgba(10, 20, 40, 0.9));
    z-index: 1;
}

.hero .container {
    position: relative;
    z-index: 2;
}

.hero h1 {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.hero p {
    font-size: 1.2rem;
    max-width: 600px;
    margin: 0 auto;
} 

/* 更新内容区域样式 */
.updates-section {
    padding: 5rem 0;
}

.version-selector {
    margin-bottom: 2rem;
    text-align: center;
}

.version-selector label {
    font-size: 1.1rem;
    margin-right: 1rem;
    color: #ffffff;
}

.version-selector select {
    background: rgba(10, 25, 50, 0.7);
    color: #a9e0ff;
    border: 1px solid rgba(0, 150, 255, 0.5);
    padding: 0.5rem 1.5rem;
    border-radius: 4px;
    font-family: 'Orbitron', sans-serif;
    font-size: 1rem;
    outline: none;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 0 10px rgba(0, 150, 255, 0.2);
}

.version-selector select:focus, .version-selector select:hover {
    border-color: rgba(0, 200, 255, 0.8);
    box-shadow: 0 0 15px rgba(0, 150, 255, 0.4);
}

.update-card {
    background: rgba(10, 25, 50, 0.7);
    border-radius: 8px;
    box-shadow: 0 0 30px rgba(0, 150, 255, 0.2);
    border: 1px solid rgba(0, 150, 255, 0.3);
    overflow: hidden;
    backdrop-filter: blur(5px);
    -webkit-backdrop-filter: blur(5px);
    position: relative;
    animation: card-appear 0.5s ease-out forwards;
}

@keyframes card-appear {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.update-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 3px;
    background: linear-gradient(90deg, transparent, #00c2ff, transparent);
    z-index: 1;
}

.update-header {
    padding: 1.5rem 2rem;
    border-bottom: 1px solid rgba(0, 150, 255, 0.3);
    background: rgba(5, 15, 30, 0.5);
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
}

.version-title {
    font-size: 1.8rem;
    margin: 0;
    color: #ffffff;
    text-shadow: 0 0 10px rgba(0, 150, 255, 0.5);
}

.release-date {
    color: #a9e0ff;
    font-size: 1rem;
}

/* Markdown内容样式覆盖 */
.markdown-body {
    padding: 2rem;
    background: transparent !important;
    color: #a9e0ff !important;
    font-family: 'Orbitron', sans-serif !important;
}

.markdown-body h1, .markdown-body h2, .markdown-body h3, .markdown-body h4 {
    color: #ffffff !important;
    border-bottom-color: rgba(0, 150, 255, 0.3) !important;
    padding-bottom: 0.5rem;
}

.markdown-body h1 {
    font-size: 2.2rem !important;
    text-shadow: 0 0 10px rgba(0, 150, 255, 0.5);
}

.markdown-body h2 {
    font-size: 1.8rem !important;
    color: #00c2ff !important;
    margin-top: 2rem !important;
}

.markdown-body ul, .markdown-body ol {
    padding-left: 2rem !important;
}

.markdown-body li {
    margin-bottom: 0.5rem !important;
}

.markdown-body strong {
    color: #ffffff !important;
    font-weight: 600 !important;
}

.markdown-body code {
    background-color: rgba(0, 150, 255, 0.1) !important;
    border: 1px solid rgba(0, 150, 255, 0.2) !important;
    border-radius: 3px !important;
    padding: 0.2em 0.4em !important;
    color: #00c2ff !important;
}

.markdown-body pre {
    background-color: rgba(10, 20, 40, 0.8) !important;
    border: 1px solid rgba(0, 150, 255, 0.3) !important;
    border-radius: 5px !important;
}

.markdown-body pre code {
    background-color: transparent !important;
    border: none !important;
}

.markdown-body blockquote {
    border-left-color: rgba(0, 150, 255, 0.5) !important;
    background-color: rgba(0, 150, 255, 0.05) !important;
    color: #a9e0ff !important;
}

/* 页脚样式 */
footer {
    background: rgba(5, 15, 30, 0.8);
    color: #a9e0ff;
    padding: 2rem 1rem;
    text-align: center;
    border-top: 1px solid rgba(0, 150, 255, 0.2);
    margin-top: 3rem;
    position: relative;
}

footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 2px;
    background: linear-gradient(90deg, transparent, rgba(0, 150, 255, 0.5), transparent);
    transform: translateY(-1px);
}

footer a {
    color: #00c2ff;
    text-decoration: none;
    transition: all 0.3s ease;
    font-family: 'Orbitron', sans-serif;
    letter-spacing: 1px;
    position: relative;
}

footer a::before {
    content: '';
    position: absolute;
    left: 0;
    bottom: -3px;
    width: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, #00c2ff, transparent);
    transition: all 0.3s ease;
}

footer a:hover {
    color: #ffffff;
    text-shadow: 0 0 10px rgba(0, 150, 255, 0.8);
}

footer a:hover::before {
    width: 100%;
}

.footer-links {
    margin-top: 1rem;
}

/* 返回顶部按钮 */
#backToTop {
    background: linear-gradient(135deg, #0066cc, #0088ff);
    color: #ffffff;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    box-shadow: 0 0 20px rgba(0, 150, 255, 0.5);
    border: 1px solid rgba(0, 150, 255, 0.3);
    transition: all 0.3s ease;
    opacity: 0;
    transform: translateY(100px);
    position: fixed;
    bottom: 2rem;
    right: 2rem;
    z-index: 99;
    pointer-events: none;
}

#backToTop.show {
    opacity: 0.8;
    transform: translateY(0);
    pointer-events: auto;
    animation: float-btn 3s ease-in-out infinite;
}

#backToTop:hover {
    opacity: 1;
    transform: scale(1.1);
    box-shadow: 0 0 30px rgba(0, 150, 255, 0.7);
}

@keyframes float-btn {
    0%, 100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-10px);
    }
}

/* 响应式样式 */
@media (max-width: 992px) {
    .hero h1 {
        font-size: 2.5rem;
    }
    
    .update-header {
        flex-direction: column;
        align-items: flex-start;
    }
    
    .release-date {
        margin-top: 0.5rem;
    }
}

@media (max-width: 768px) {
    nav .container {
        flex-direction: column;
        padding: 0.5rem 1rem;
    }
    
    nav .logo {
        margin-bottom: 1rem;
    }
    
    nav ul {
        flex-wrap: wrap;
        justify-content: center;
    }
    
    nav ul li a {
        padding: 0.3rem 0.7rem;
        font-size: 0.8rem;
    }
    
    .hero {
        padding-top: 150px;
    }
    
    .hero h1 {
        font-size: 2rem;
    }
    
    .hero p {
        font-size: 1rem;
    }
    
    .markdown-body {
        padding: 1.5rem;
    }
    
    .markdown-body h1 {
        font-size: 1.8rem !important;
    }
    
    .markdown-body h2 {
        font-size: 1.5rem !important;
    }
}

@media (max-width: 480px) {
    .hero h1 {
        font-size: 1.8rem;
    }
    
    .version-selector label {
        display: block;
        margin-bottom: 0.5rem;
    }
    
    .update-header {
        padding: 1rem;
    }
    
    .version-title {
        font-size: 1.5rem;
    }
    
    .markdown-body {
        padding: 1rem;
    }
    
    .markdown-body h1 {
        font-size: 1.5rem !important;
    }
    
    .markdown-body h2 {
        font-size: 1.3rem !important;
    }
} 