:root {
    --primary-color: #bb86fc;
    --secondary-color: #03dac6;
    --accent-color: #cf6679;
    --text-color: rgba(255, 255, 255, 0.87);
    --text-light: rgba(255, 255, 255, 0.6);
    --background-color: #1e1e1e;
    --background-light: #000000;
    --border-color: #333333;
    --shadow-color: rgba(0, 0, 0, 0.2);
    --border-radius: 8px;
    --transition-speed: 0.3s;
    --pure-black: #000000;
    
    /* 添加的暗黑模式变量，与其他页面保持一致 */
    --dark-bg: #000000;
    --dark-surface: #1e1e1e;
    --dark-elevated: #252525;
    --dark-border: #333333;
    --dark-text-primary: rgba(255, 255, 255, 0.87);
    --dark-text-secondary: rgba(255, 255, 255, 0.6);
    --dark-text-disabled: rgba(255, 255, 255, 0.38);
    --dark-primary: #bb86fc;
    --dark-primary-variant: #3700b3;
    --dark-secondary: #03dac6;
    --dark-error: #cf6679;
    --dark-shadow: rgba(0, 0, 0, 0.2);
    --dark-overlay: rgba(0, 0, 0, 0.5);
    --dark-gradient-primary: linear-gradient(135deg, #845EC2, #D65DB1);
    --dark-gradient-secondary: linear-gradient(135deg, #00C9A7, #845EC2);
    --dark-card-hover: #2d2d2d;
}

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

body {
    font-family: 'SF Pro Text', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif;
    line-height: 1.6;
    color: var(--text-color);
    background-color: var(--pure-black);
    min-height: 100vh; /* 确保最小高度占满视口 */
}

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

a {
    color: var(--dark-primary);
    text-decoration: none;
    transition: color var(--transition-speed) ease;
}

a:hover {
    color: var(--dark-text-primary);
}

/* 导航栏样式 */
.site-header {
    background-color: var(--pure-black);
    box-shadow: 0 2px 10px var(--dark-shadow);
    position: relative; /* 确保使用相对定位，不固定在顶部 */
    z-index: 100;
}

.site-header .container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 70px;
}

.logo img {
    height: 40px;
}

.main-nav ul {
    display: flex;
    list-style: none;
    gap: 30px;
}

.main-nav a {
    text-decoration: none;
    color: var(--dark-text-secondary);
    font-weight: 500;
    transition: color var(--transition-speed) ease;
    font-size: 16px;
    padding: 8px 0;
    display: inline-block;
}

.main-nav a:hover {
    color: var(--dark-text-primary);
}

.main-nav .active a, 
.main-nav a.active {
    color: var(--dark-primary);
    font-weight: 600;
    position: relative;
}

.mobile-menu-toggle {
    display: none;
    font-size: 24px;
    cursor: pointer;
    color: var(--dark-text-primary);
}

/* 页脚样式 */
.site-footer {
    background-color: var(--pure-black);
    color: var(--dark-text-primary);
    padding: 60px 0 30px;
    margin-top: 60px;
}

.footer-content {
    display: flex;
    justify-content: space-between;
    margin-bottom: 40px;
}

.footer-logo {
    flex: 0 0 300px;
}

.footer-logo-text {
    font-size: 24px;
    margin-bottom: 10px;
    color: var(--dark-text-primary);
}

.footer-logo p {
    color: var(--dark-text-secondary);
    font-size: 14px;
}

.footer-links {
    display: flex;
    gap: 60px;
}

.footer-section {
    min-width: 160px;
}

.footer-section h3 {
    font-size: 18px;
    margin-bottom: 20px;
    color: var(--dark-text-primary);
}

.footer-section ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-section li {
    margin-bottom: 12px;
}

.footer-section a {
    color: var(--dark-text-secondary);
    text-decoration: none;
    font-size: 14px;
    transition: color 0.3s ease;
}

.footer-section a:hover {
    color: var(--dark-primary);
}

.footer-section a.active {
    color: var(--dark-primary);
}

.footer-bottom {
    text-align: center;
    padding-top: 30px;
    border-top: 1px solid var(--dark-border);
}

.footer-bottom p {
    color: var(--dark-text-secondary);
    font-size: 14px;
}

/* 二维码悬停效果 */
.hover-qr-container {
    position: relative;
}

.qr-code {
    display: none;
    position: absolute;
    bottom: 30px;
    left: 0;
    width: 120px;
    height: 120px;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
    z-index: 100;
    background-color: white;
    transition: all 0.3s ease;
}

.hover-qr-container:hover .qr-code {
    display: block;
}

/* 移动端适配 */
@media (max-width: 768px) {
    .site-footer {
        padding: 40px 0 calc(30px + var(--bottom-nav-height));
    }
    
    .footer-content {
        flex-direction: column;
        gap: 40px;
    }
    
    .footer-logo {
        flex: none;
        text-align: center;
    }
    
    .footer-links {
        flex-direction: column;
        gap: 30px;
    }
    
    .footer-section {
        min-width: auto;
    }
    
    .footer-section h3 {
        text-align: center;
    }
    
    .footer-section ul {
        text-align: center;
    }
}

/* 通用组件样式 */
.section {
    padding: 60px 0;
}

.section-title {
    text-align: center;
    margin-bottom: 40px;
    font-size: 32px;
    font-weight: 700;
    position: relative;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 3px;
    background-color: var(--primary-color);
}

.btn {
    display: inline-block;
    padding: 10px 24px;
    border-radius: 30px;
    font-weight: 500;
    text-decoration: none;
    text-align: center;
    cursor: pointer;
    transition: all var(--transition-speed) ease;
}

.btn-primary {
    background-color: var(--primary-color);
    color: white;
}

.btn-primary:hover {
    background-color: #2980b9;
    transform: translateY(-2px);
}

.btn-secondary {
    background-color: var(--secondary-color);
    color: white;
}

.btn-secondary:hover {
    background-color: #27ae60;
    transform: translateY(-2px);
}

.btn-sm {
    padding: 8px 16px;
    font-size: 14px;
}

/* 响应式设计 */
@media (max-width: 992px) {
    .footer-content {
        flex-direction: column;
    }
    
    .footer-logo {
        margin-bottom: 30px;
    }
}

@media (max-width: 768px) {
    .main-nav {
        display: none;
    }
    
    .mobile-menu-toggle {
        display: block;
    }
    
    .mobile-menu-open .main-nav {
        display: block;
        position: absolute;
        top: 70px;
        left: 0;
        width: 100%;
        background-color: var(--background-color);
        box-shadow: 0 4px 10px var(--shadow-color);
        padding: 20px;
    }
    
    .mobile-menu-open .main-nav ul {
        flex-direction: column;
        gap: 15px;
    }
    
    .section {
        padding: 40px 0;
    }
    
    .section-title {
        font-size: 28px;
    }
}

/* App信息样式 */
.app-info {
    background-color: rgba(30, 30, 30, 0.6);
    border-radius: 16px;
    padding: 20px;
    margin: 20px 0;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.app-header {
    display: flex;
    align-items: center;
    margin-bottom: 15px;
}

.app-icon {
    width: 80px;
    height: 80px;
    border-radius: 16px;
    margin-right: 15px;
    object-fit: cover;
}

.app-title {
    flex: 1;
}

.app-title h3 {
    margin: 0 0 8px 0;
    color: #ffffff;
    font-size: 18px;
}

.app-store-link {
    display: inline-block;
    background-color: #bb86fc;
    color: #121212;
    padding: 6px 12px;
    border-radius: 20px;
    text-decoration: none;
    font-size: 14px;
    transition: all 0.3s ease;
}

.app-store-link:hover {
    background-color: #9a67ea;
}

.app-description {
    color: rgba(255, 255, 255, 0.8);
    line-height: 1.5;
    margin-bottom: 15px;
    font-size: 14px;
}

.app-screenshots {
    display: flex;
    gap: 10px;
    overflow-x: auto;
    padding-bottom: 10px;
}

.app-screenshot {
    height: 200px;
    border-radius: 8px;
    object-fit: cover;
}

.loading {
    text-align: center;
    padding: 20px;
    color: rgba(255, 255, 255, 0.6);
}

.error {
    text-align: center;
    padding: 20px;
    color: #cf6679;
}

@media (max-width: 768px) {
    .app-header {
        flex-direction: column;
        align-items: flex-start;
    }
    
    .app-icon {
        margin-bottom: 15px;
    }
    
    .app-screenshot {
        height: 150px;
    }
}

/* App搜索表单样式 */
.app-showcase {
    padding: 60px 0;
}

.section-title {
    text-align: center;
    color: #bb86fc;
    margin-bottom: 10px;
    font-size: 28px;
}

.section-description {
    text-align: center;
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: 40px;
    font-size: 16px;
}

.app-container {
    margin-bottom: 40px;
}

.app-search {
    background-color: rgba(30, 30, 30, 0.6);
    border-radius: 16px;
    padding: 20px;
    margin: 20px 0;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.app-search h3 {
    color: #ffffff;
    margin-top: 0;
    margin-bottom: 15px;
    font-size: 18px;
}

.app-search-form {
    display: flex;
    gap: 10px;
    margin-bottom: 15px;
}

.app-id-input {
    flex: 1;
    background-color: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 8px;
    padding: 10px 15px;
    color: white;
    font-size: 16px;
    outline: none;
    transition: all 0.3s ease;
}

.app-id-input:focus {
    border-color: #bb86fc;
    background-color: rgba(255, 255, 255, 0.15);
}

.search-app-btn {
    background-color: #bb86fc;
    color: #121212;
    border: none;
    border-radius: 8px;
    padding: 10px 20px;
    font-size: 16px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.search-app-btn:hover {
    background-color: #9a67ea;
}

.app-search-tip {
    color: rgba(255, 255, 255, 0.5);
    font-size: 14px;
    margin: 0;
}

.app-search-tip strong {
    color: #bb86fc;
}

@media (max-width: 768px) {
    .app-search-form {
        flex-direction: column;
    }
    
    .app-id-input, .search-app-btn {
        width: 100%;
    }
} 