/* 青龙加速器 - 样式文件 */

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

body {
    font-family: 'PingFang SC', 'Microsoft YaHei', 'Helvetica Neue', Arial, sans-serif;
    background: #000;
    min-height: 100vh;
    color: #333;
    overflow-x: hidden;
    position: relative;
}

body::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: 
        radial-gradient(circle at 20% 80%, rgba(102, 126, 234, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 80% 20%, rgba(255, 255, 255, 0.1) 0%, transparent 50%);
    pointer-events: none;
    z-index: 0;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
    position: relative;
    z-index: 1;
}

.header {
    text-align: center;
    margin-bottom: 60px;
    padding-top: 40px;
    position: relative;
}

.header::before {
    content: '';
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 100px;
    height: 4px;
    background: linear-gradient(90deg, #667eea, #1DB954);
    border-radius: 2px;
}

.logo {
    font-size: 3.2rem;
    font-weight: 800;
    color: #fff;
    margin-bottom: 20px;
    text-shadow: 2px 2px 8px rgba(0,0,0,0.3);
    transition: all 0.5s ease;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 15px;
}

.logo-img {
    width: 60px;
    height: 60px;
    border-radius: 12px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
    transition: all 0.3s ease;
}

.logo:hover .logo-img {
    transform: scale(1.1);
    box-shadow: 0 6px 20px rgba(0, 200, 81, 0.3);
}

.tagline {
    font-size: 1.2rem;
    color: #f0f0f0;
    margin-bottom: 40px;
}

.main-content {
    background: rgba(255, 255, 255, 0.98);
    border-radius: 24px;
    padding: 50px;
    box-shadow: 0 20px 60px rgba(0,0,0,0.15);
    backdrop-filter: blur(15px);
    border: 1px solid rgba(255,255,255,0.2);
}

.description {
    text-align: center;
    margin-bottom: 50px;
    padding: 30px;
    background: linear-gradient(145deg, #f7fafc 0%, #ffffff 100%);
    border-radius: 20px;
    border: 1px solid rgba(74, 85, 104, 0.1);
}

.description h2 {
    font-size: 2.2rem;
    color: #4a5568;
    margin-bottom: 20px;
    font-weight: 700;
}

.description p {
    font-size: 1.1rem;
    line-height: 1.8;
    color: #555;
    max-width: 800px;
    margin: 0 auto;
}

.features {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
    margin-bottom: 50px;
}

.feature {
    text-align: center;
    padding: 30px 20px;
    border-radius: 16px;
    background: linear-gradient(145deg, #f8f9ff 0%, #ffffff 100%);
    box-shadow: 0 8px 24px rgba(0,0,0,0.08);
    transition: all 0.3s ease;
    border: 1px solid rgba(255,255,255,0.5);
}

.feature:hover {
    transform: translateY(-8px);
    box-shadow: 0 16px 40px rgba(0,0,0,0.12);
}

.feature-icon {
    font-size: 3rem;
    margin-bottom: 15px;
}

.feature h3 {
    font-size: 1.3rem;
    margin-bottom: 10px;
    color: #555;
}

.feature p {
    color: #666;
    line-height: 1.6;
}

.download-section {
    text-align: center;
    padding: 40px 30px;
    background: linear-gradient(145deg, #f7fafc 0%, #ffffff 100%);
    border-radius: 20px;
    border: 1px solid rgba(74, 85, 104, 0.1);
}

.download-title {
    font-size: 2rem;
    margin-bottom: 40px;
    color: #4a5568;
    font-weight: 700;
    position: relative;
}

.download-title::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 3px;
    background: linear-gradient(90deg, #667eea, #1DB954);
    border-radius: 2px;
}

.download-buttons {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 20px;
    max-width: 1200px;
    margin: 0 auto;
}

.platform-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
}

.platform-title {
    font-size: 1rem;
    font-weight: 600;
    color: #4a5568;
    margin-bottom: 8px;
    text-align: center;
}

.platform-options {
    display: flex;
    flex-direction: column;
    gap: 8px;
    width: 100%;
}

.system-icon {
    font-size: 2rem;
    margin-bottom: 8px;
    display: block;
}

.download-btn {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 16px 15px;
    background: linear-gradient(45deg, #667eea, #764ba2);
    color: white;
    text-decoration: none;
    border-radius: 12px;
    font-size: 0.9rem;
    font-weight: 600;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 6px 20px rgba(102, 126, 234, 0.3);
    width: 100%;
    min-height: 70px;
    position: relative;
    overflow: hidden;
    text-align: center;
}

.download-btn.single-platform {
    min-height: 80px;
    font-size: 1rem;
    padding: 20px 15px;
}

.download-btn.mac-intel {
    background: linear-gradient(45deg, #2a5298, #4facfe);
    font-size: 0.85rem;
    padding: 16px 15px;
    min-height: 80px;
}

.download-btn.mac-arm {
    background: linear-gradient(45deg, #4facfe, #00f2fe);
    font-size: 0.85rem;
    padding: 16px 15px;
    min-height: 80px;
}

.download-btn:hover {
    transform: translateY(-4px) scale(1.02);
    box-shadow: 0 10px 28px rgba(102, 126, 234, 0.4);
    background: linear-gradient(45deg, #764ba2, #1DB954);
}

.download-btn.mac-intel:hover {
    background: linear-gradient(45deg, #4facfe, #00f2fe);
}

.download-btn.mac-arm:hover {
    background: linear-gradient(45deg, #00f2fe, #0099ff);
}

.download-btn:before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.2), transparent);
    transition: left 0.6s;
}

.download-btn:hover:before {
    left: 100%;
}

/* 不同平台的特色颜色 */
.download-btn[onclick*="windows"] {
    background: linear-gradient(45deg, #0078d4, #106ebe);
    box-shadow: 0 6px 20px rgba(0, 120, 212, 0.3);
}

.download-btn[onclick*="windows"]:hover {
    background: linear-gradient(45deg, #106ebe, #005a9e);
    box-shadow: 0 10px 28px rgba(0, 120, 212, 0.4);
}

.download-btn[onclick*="mac"] {
    background: linear-gradient(45deg, #007aff, #5856d6);
    box-shadow: 0 6px 20px rgba(0, 122, 255, 0.3);
}

.download-btn[onclick*="mac"]:hover {
    background: linear-gradient(45deg, #5856d6, #af52de);
    box-shadow: 0 10px 28px rgba(0, 122, 255, 0.4);
}

.download-btn[onclick*="android"] {
    background: linear-gradient(45deg, #3ddc84, #1db954);
    box-shadow: 0 6px 20px rgba(61, 220, 132, 0.3);
}

.download-btn[onclick*="android"]:hover {
    background: linear-gradient(45deg, #1db954, #0d8043);
    box-shadow: 0 10px 28px rgba(61, 220, 132, 0.4);
}

.download-btn[onclick*="ios"] {
    background: linear-gradient(45deg, #ff9500, #ff6b00);
    box-shadow: 0 6px 20px rgba(255, 149, 0, 0.3);
}

.download-btn[onclick*="ios"]:hover {
    background: linear-gradient(45deg, #ff6b00, #e55a00);
    box-shadow: 0 10px 28px rgba(255, 149, 0, 0.4);
}

.footer {
    text-align: center;
    margin-top: 40px;
    padding: 20px;
    color: rgba(255,255,255,0.8);
}

/* 响应式设计 */
@media (max-width: 1024px) and (min-width: 769px) {
    .features {
        grid-template-columns: repeat(2, 1fr);
        gap: 25px;
    }
    
    .download-buttons {
        grid-template-columns: repeat(3, 1fr);
        gap: 15px;
        max-width: 900px;
    }
    
    .download-btn {
        font-size: 0.85rem;
        min-height: 65px;
        padding: 15px 12px;
    }
    
    .logo {
        font-size: 2.6rem;
    }
    
    .main-content {
        padding: 35px;
    }
    
    .description h2 {
        font-size: 2rem;
    }
    
    .download-title {
        font-size: 1.8rem;
    }
}

@media (max-width: 768px) {
    .logo {
        font-size: 1.6rem;
        gap: 10px;
    }
    
    .logo-img {
        width: 45px;
        height: 45px;
    }
    
    .tagline {
        font-size: 1rem;
        margin-bottom: 30px;
    }
    
    .main-content {
        padding: 15px;
        margin: 10px;
        border-radius: 16px;
    }
    
    .header {
        margin-bottom: 40px;
        padding-top: 20px;
    }
    
    .description {
        padding: 20px 15px;
        margin-bottom: 30px;
    }
    
    .description h2 {
        font-size: 1.6rem;
        margin-bottom: 15px;
    }
    
    .description p {
        font-size: 0.95rem;
        line-height: 1.6;
    }
    
    .download-section {
        padding: 25px 15px;
    }
    
    .download-title {
        font-size: 1.4rem;
        margin-bottom: 25px;
    }
    
    .download-buttons {
        grid-template-columns: repeat(2, 1fr);
        gap: 12px;
        max-width: 100%;
    }
    
    .download-btn {
        font-size: 0.8rem;
        padding: 12px 8px;
        min-height: 55px;
        border-radius: 10px;
    }
    
    .download-btn.single-platform {
        min-height: 60px;
        font-size: 0.85rem;
        padding: 14px 8px;
    }
    
    .download-btn.mac-intel,
    .download-btn.mac-arm {
        font-size: 0.75rem;
        padding: 10px 8px;
        min-height: 50px;
    }
    
    .features {
        grid-template-columns: repeat(2, 1fr);
        gap: 15px;
        margin-bottom: 30px;
    }
    
    .feature {
        padding: 15px 12px;
        border-radius: 12px;
    }
    
    .feature-icon {
        font-size: 2.2rem;
        margin-bottom: 10px;
    }
    
    .feature h3 {
        font-size: 1.1rem;
        margin-bottom: 8px;
    }
    
    .feature p {
        font-size: 0.85rem;
        line-height: 1.4;
    }
    
    .platform-title {
        font-size: 0.85rem;
        margin-bottom: 6px;
    }
    
    .container {
        padding: 10px;
    }
    
    .footer {
        padding: 15px;
        margin-top: 30px;
    }
    
    .footer p {
        font-size: 0.8rem;
        margin-bottom: 5px;
    }
}

/* 超小屏幕优化 (≤480px) */
@media (max-width: 480px) {
    .logo {
        font-size: 1.4rem;
        flex-direction: column;
        gap: 8px;
    }
    
    .logo-img {
        width: 40px;
        height: 40px;
    }
    
    .tagline {
        font-size: 0.9rem;
        margin-bottom: 25px;
        padding: 0 10px;
    }
    
    .main-content {
        padding: 12px;
        margin: 5px;
    }
    
    .description h2 {
        font-size: 1.4rem;
    }
    
    .description p {
        font-size: 0.9rem;
    }
    
    .download-title {
        font-size: 1.2rem;
        margin-bottom: 20px;
    }
    
    .download-buttons {
        gap: 10px;
    }
    
    .download-btn {
        font-size: 0.75rem;
        padding: 10px 6px;
        min-height: 50px;
    }
    
    .download-btn.single-platform {
        min-height: 55px;
        font-size: 0.8rem;
    }
    
    .features {
        gap: 12px;
        margin-bottom: 25px;
    }
    
    .feature {
        padding: 12px 10px;
    }
    
    .feature-icon {
        font-size: 2rem;
    }
    
    .feature h3 {
        font-size: 1rem;
    }
    
    .feature p {
        font-size: 0.8rem;
    }
}