/* 全局样式 */
:root {
    --matrix-green: #00ff00;
    --matrix-dark: #000000;
    --matrix-light: #1a1a1a;
}

body {
    background-color: var(--matrix-dark);
    color: #fff;
    font-family: 'Courier New', monospace;
    margin: 0;
    padding: 0;
}

/* 导航栏样式 */
.navbar {
    background-color: rgba(0, 0, 0, 0.9);
    border-bottom: 1px solid var(--matrix-green);
}

.navbar-dark .navbar-nav .nav-link {
    color: var(--matrix-green);
    text-transform: uppercase;
    letter-spacing: 2px;
    transition: all 0.3s ease;
}

.navbar-dark .navbar-nav .nav-link:hover {
    color: #fff;
    text-shadow: 0 0 10px var(--matrix-green);
}

/* Banner区域样式 */
#home {
    height: 80vh;
    overflow: hidden;
    position: relative;
}

.banner-video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 1;
}

#particles-js {
    position: absolute;
    width: 100%;
    height: 100%;
    z-index: 2;
    background-color: rgba(0, 0, 0, 0.5);
}

.banner-content {
    position: relative;
    z-index: 3;
    text-align: center;
    padding-top: 0;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    width: 100%;
}

.text-container {
    min-height: 200px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    margin-bottom: 2rem;
}

.matrix-text {
    font-size: 4rem;
    color: var(--matrix-green);
    text-shadow: 0 0 10px var(--matrix-green);
    margin-bottom: 1rem;
    min-height: 80px;
}

.matrix-subtext {
    font-size: 1.5rem;
    color: #fff;
    margin-bottom: 2rem;
    min-height: 40px;
}

.download-link {
    text-decoration: none;
    display: inline-block;
}

.download-btn {
    background-color: transparent;
    border: 2px solid var(--matrix-green);
    color: var(--matrix-green);
    padding: 1rem 2rem;
    font-size: 1.2rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
    margin-top: 1rem;
    min-height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.download-btn:hover {
    background-color: var(--matrix-green);
    color: var(--matrix-dark);
    box-shadow: 0 0 20px var(--matrix-green);
}

/* 特性区域样式 */
.section-title {
    color: var(--matrix-green);
    text-transform: uppercase;
    letter-spacing: 3px;
    margin-bottom: 3rem;
    position: relative;
}

.section-title::after {
    content: '';
    display: block;
    width: 50px;
    height: 2px;
    background-color: var(--matrix-green);
    margin: 1rem auto;
}

.feature-item {
    text-align: center;
    padding: 2rem;
    transition: all 0.3s ease;
}

.feature-item:hover {
    transform: translateY(-10px);
}

.feature-item img {
    border: 2px solid var(--matrix-green);
    border-radius: 10px;
    margin-bottom: 1.5rem;
}

.feature-item h3 {
    color: var(--matrix-green);
    margin-bottom: 1rem;
}

/* 赞助商区域样式 */
.sponsors-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(65px, 1fr));
    gap: 2rem;
    justify-items: center;
    max-width: 800px;
    margin: 0 auto;
}

.sponsor-item {
    position: relative;
    cursor: pointer;
}

.sponsor-name {
    position: absolute;
    bottom: -30px;
    left: 50%;
    transform: translateX(-50%);
    background-color: rgba(0, 0, 0, 0.8);
    color: var(--matrix-green);
    padding: 5px 10px;
    border-radius: 4px;
    font-size: 14px;
    white-space: nowrap;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    border: 1px solid var(--matrix-green);
    box-shadow: 0 0 10px rgba(0, 255, 0, 0.3);
}

.sponsor-item:hover .sponsor-name {
    opacity: 1;
    visibility: visible;
    bottom: -35px;
}

.sponsor-item img {
    width: 65px;
    height: 65px;
    border-radius: 50%;
    border: 2px solid var(--matrix-green);
    transition: all 0.3s ease;
}

.sponsor-item:hover img {
    transform: scale(1.1);
    box-shadow: 0 0 15px var(--matrix-green);
}

/* 响应式设计 */
@media (max-width: 768px) {
    .matrix-text {
        font-size: 2.5rem;
    }
    
    .matrix-subtext {
        font-size: 1.2rem;
    }
    
    .feature-item {
        margin-bottom: 2rem;
    }
    
    #home {
        height: 60vh;
    }
}

/* 图片模态框样式 */
.image-modal {
    display: none;
    position: fixed;
    z-index: 1000;
    padding-top: 50px;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgba(0, 0, 0, 0.9);
}

.modal-content {
    margin: auto;
    display: block;
    max-width: 90%;
    max-height: 90%;
    border: 2px solid var(--matrix-green);
    box-shadow: 0 0 20px var(--matrix-green);
}

.close-modal {
    position: absolute;
    top: 15px;
    right: 35px;
    color: var(--matrix-green);
    font-size: 40px;
    font-weight: bold;
    transition: 0.3s;
    cursor: pointer;
}

.close-modal:hover {
    color: #fff;
    text-shadow: 0 0 10px var(--matrix-green);
}

/* 其他业务区域背景 */
#docs {
    background-color: rgba(0, 0, 0, 0.7);
    position: relative;
}

#docs::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(rgba(0, 0, 0, 0.2), rgba(0, 0, 0, 0.6));
    z-index: -1;
}

/* 其他业务区域样式 */
.service-card {
    background-color: rgba(0, 0, 0, 0.9);
    border: 2px solid var(--matrix-green);
    border-radius: 10px;
    padding: 2rem;
    height: 100%;
    transition: all 0.3s ease;
    box-shadow: 0 0 15px rgba(0, 255, 0, 0.3);
}

.service-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 0 20px var(--matrix-green);
}

.service-icon {
    width: 70px;
    height: 70px;
    margin: 0 auto 1.5rem;
    border: 2px solid var(--matrix-green);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: rgba(0, 255, 0, 0.1);
}

.service-symbol {
    font-size: 2rem;
    color: var(--matrix-green);
    font-style: normal;
    text-shadow: 0 0 5px var(--matrix-green);
}

.service-details {
    text-align: left;
    padding-left: 1rem;
    margin-top: 1.5rem;
    color: #ffffff;
}

.service-card h3 {
    color: var(--matrix-green);
    text-shadow: 0 0 5px var(--matrix-green);
    font-weight: bold;
}

.service-details li {
    margin-bottom: 0.8rem;
    position: relative;
    color: #ffffff;
    font-size: 1.05rem;
    text-shadow: 0 0 2px rgba(255, 255, 255, 0.5);
}

.highlight {
    color: var(--matrix-green);
    font-weight: bold;
    text-shadow: 0 0 5px var(--matrix-green);
}

.contact-text {
    font-size: 1.2rem;
    color: var(--matrix-green);
    margin-top: 2rem;
    padding: 1rem;
    border-top: 1px solid rgba(0, 255, 0, 0.5);
    border-bottom: 1px solid rgba(0, 255, 0, 0.5);
    display: inline-block;
    text-shadow: 0 0 8px var(--matrix-green);
    font-weight: bold;
    letter-spacing: 1px;
    background-color: rgba(0, 0, 0, 0.7);
    border-radius: 5px;
}

/* 服务端区域样式 */
.coming-soon {
    border: 1px dashed var(--matrix-green);
    border-radius: 10px;
    padding: 3rem 2rem;
    background-color: rgba(0, 0, 0, 0.5);
}

.coming-soon-text {
    font-size: 1.5rem;
    color: var(--matrix-green);
    letter-spacing: 2px;
    text-shadow: 0 0 5px var(--matrix-green);
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0% {
        opacity: 0.6;
    }
    50% {
        opacity: 1;
    }
    100% {
        opacity: 0.6;
    }
}

/* 页脚区域样式 */
.footer {
    background-color: rgba(0, 0, 0, 0.9);
    border-top: 1px solid var(--matrix-green);
    color: #fff;
    margin-top: 2rem;
    position: relative;
}

.footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0.9));
    z-index: -1;
}

.footer-qrcode {
    display: inline-block;
    text-align: center;
}

.qrcode-img {
    max-width: 120px;
    border: 2px solid var(--matrix-green);
    border-radius: 5px;
    padding: 5px;
    background-color: #fff;
    box-shadow: 0 0 10px rgba(0, 255, 0, 0.3);
    transition: all 0.3s ease;
}

.qrcode-img:hover {
    transform: scale(1.05);
    box-shadow: 0 0 15px var(--matrix-green);
}

.qrcode-text {
    color: var(--matrix-green);
    margin-top: 0.5rem;
    font-size: 0.9rem;
    text-shadow: 0 0 5px var(--matrix-green);
}

.qq-link {
    color: var(--matrix-green);
    font-weight: bold;
    text-decoration: none;
    transition: all 0.3s ease;
    position: relative;
    padding: 0 2px;
}

.qq-link:hover {
    color: #fff;
    text-shadow: 0 0 10px var(--matrix-green);
}

.qq-link::after {
    content: '';
    position: absolute;
    width: 100%;
    height: 1px;
    bottom: -2px;
    left: 0;
    background-color: var(--matrix-green);
    transform: scaleX(0);
    transform-origin: bottom right;
    transition: transform 0.3s ease;
}

.qq-link:hover::after {
    transform: scaleX(1);
    transform-origin: bottom left;
}

.copyright-text {
    font-size: 0.9rem;
    color: #aaa;
    margin-bottom: 0.5rem;
}

.footer .contact-text {
    display: inline-block;
    padding: 0.5rem 1rem;
    background-color: rgba(0, 0, 0, 0.5);
    border: 1px solid var(--matrix-green);
    border-radius: 4px;
    font-size: 1rem;
    margin: 0;
}

@media (max-width: 768px) {
    .footer .row > div {
        margin-bottom: 1.5rem;
        text-align: center;
    }
    
    .footer .row > div:last-child {
        margin-bottom: 0;
    }
}

/* 更新日志区域样式 */
#changelog {
    background-color: rgba(0, 0, 0, 0.8);
    position: relative;
}

#changelog::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(rgba(0, 0, 0, 0.3), rgba(0, 0, 0, 0.7));
    z-index: -1;
}

.changelog-container {
    max-width: 900px;
    margin: 0 auto;
}

.changelog-item {
    background-color: rgba(0, 0, 0, 0.9);
    border: 2px solid var(--matrix-green);
    border-radius: 15px;
    margin-bottom: 2rem;
    overflow: hidden;
    transition: all 0.3s ease;
    box-shadow: 0 0 15px rgba(0, 255, 0, 0.2);
    opacity: 0;
    transform: translateY(30px);
}

.changelog-item.animate-in {
    opacity: 1;
    transform: translateY(0);
}

.changelog-item.collapsed {
    border-color: rgba(0, 255, 0, 0.5);
}

.changelog-item.collapsed:hover {
    border-color: var(--matrix-green);
}

.changelog-content {
    padding: 2rem;
    transition: all 0.5s ease;
}

.changelog-title {
    color: var(--matrix-green);
    font-size: 1.5rem;
    margin-bottom: 1.5rem;
    text-shadow: 0 0 8px var(--matrix-green);
    font-weight: bold;
}

.changelog-categories {
    display: grid;
    gap: 1.5rem;
}

.changelog-category {
    background-color: rgba(0, 255, 0, 0.05);
    border: 1px solid rgba(0, 255, 0, 0.2);
    border-radius: 10px;
    padding: 1.5rem;
    transition: all 0.3s ease;
}

.changelog-category:hover {
    background-color: rgba(0, 255, 0, 0.08);
    border-color: rgba(0, 255, 0, 0.4);
}

.category-title {
    color: var(--matrix-green);
    font-size: 1.2rem;
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    text-shadow: 0 0 5px var(--matrix-green);
}

.changelog-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.changelog-list li {
    color: #fff;
    font-size: 1rem;
    margin-bottom: 0.8rem;
    padding-left: 1.5rem;
    position: relative;
    line-height: 1.6;
    text-shadow: 0 0 2px rgba(255, 255, 255, 0.3);
}

.changelog-list li::before {
    content: '▶';
    position: absolute;
    left: 0;
    color: var(--matrix-green);
    font-size: 0.8rem;
    top: 0.1rem;
}

.changelog-list li:hover {
    color: var(--matrix-green);
    transform: translateX(5px);
    transition: all 0.3s ease;
}

/* 历史版本摘要样式 */
.history-summary {
    background: linear-gradient(135deg, rgba(0, 255, 0, 0.1), rgba(0, 0, 0, 0.9));
    border-style: dashed;
}

.history-highlights {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 1rem;
}

.highlight-item {
    background-color: rgba(0, 0, 0, 0.7);
    border: 1px solid rgba(0, 255, 0, 0.3);
    border-radius: 8px;
    padding: 1rem;
    display: flex;
    align-items: center;
    gap: 1rem;
    transition: all 0.3s ease;
}

.highlight-item:hover {
    background-color: rgba(0, 255, 0, 0.05);
    border-color: var(--matrix-green);
    transform: translateY(-2px);
}

.highlight-version {
    font-weight: bold;
    color: var(--matrix-green);
    font-size: 1rem;
    padding: 0.3rem 0.6rem;
    border: 1px solid var(--matrix-green);
    border-radius: 5px;
    background-color: rgba(0, 255, 0, 0.1);
    white-space: nowrap;
    text-shadow: 0 0 5px var(--matrix-green);
}

.highlight-desc {
    color: #fff;
    font-size: 0.95rem;
    text-shadow: 0 0 2px rgba(255, 255, 255, 0.3);
}

/* 响应式设计 */
@media (max-width: 768px) {
    .version-header {
        flex-direction: column;
        gap: 1rem;
        text-align: center;
    }
    
    .version-badge {
        flex-direction: column;
        gap: 0.5rem;
    }
    
    .version-number {
        font-size: 1.5rem;
    }
    
    .changelog-content {
        padding: 1.5rem;
    }
    
    .changelog-title {
        font-size: 1.3rem;
    }
    
    .changelog-category {
        padding: 1rem;
    }
    
    .history-highlights {
        grid-template-columns: 1fr;
    }
} 