/* ========================================
   下载页面样式
   ======================================== */

.download-hero {
    min-height: 60vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 120px 30px 80px;
    text-align: center;
    position: relative;
    z-index: 1;
    background: linear-gradient(180deg, rgba(0, 240, 255, 0.05) 0%, transparent 100%);
}

.download-hero::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(0, 240, 255, 0.1) 0%, transparent 70%);
}

.download-hero > div {
    position: relative;
    z-index: 1;
    animation: fade-in-up 1s ease-out;
}

.download-hero h1 {
    font-family: 'Orbitron', sans-serif;
    font-size: 56px;
    font-weight: 800;
    margin-bottom: 20px;
    color: var(--text);
}

.download-hero h1 span {
    background: var(--gradient-text);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.download-hero p {
    font-size: 18px;
    color: var(--text-muted);
    max-width: 600px;
    margin: 0 auto;
}

/* ========================================
   下载区域
   ======================================== */

.download-section {
    padding: 60px 30px 100px;
    position: relative;
    z-index: 1;
}

.download-grid {
    max-width: 1400px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 30px;
}

.download-card {
    background: rgba(18, 18, 26, 0.6);
    border: 1px solid rgba(0, 240, 255, 0.1);
    border-radius: 20px;
    padding: 40px;
    text-align: center;
    position: relative;
    overflow: hidden;
    transition: all 0.4s ease;
    backdrop-filter: blur(10px);
}

.download-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--gradient-1);
    opacity: 0;
    transition: opacity 0.4s ease;
    pointer-events: none;
}

.download-card::after {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: linear-gradient(
        45deg,
        transparent,
        rgba(255, 255, 255, 0.05),
        transparent
    );
    transform: rotate(45deg);
    transition: all 0.6s ease;
    pointer-events: none;
}

.download-card:hover {
    transform: translateY(-10px);
    border-color: var(--primary);
    box-shadow: 
        0 20px 50px rgba(0, 0, 0, 0.4),
        0 0 40px rgba(0, 240, 255, 0.3);
}

.download-card:hover::before {
    opacity: 0.05;
}

.download-card:hover::after {
    left: 100%;
}

.download-icon-wrapper {
    width: 100px;
    height: 100px;
    background: rgba(0, 240, 255, 0.1);
    border: 2px solid rgba(0, 240, 255, 0.2);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 25px;
    position: relative;
    z-index: 1;
    transition: all 0.4s ease;
}

.download-card:hover .download-icon-wrapper {
    background: rgba(0, 240, 255, 0.2);
    box-shadow: 0 0 30px rgba(0, 240, 255, 0.4);
}

.download-icon {
    font-size: 48px;
    animation: float 3s ease-in-out infinite;
}

.download-card h2 {
    font-family: 'Orbitron', sans-serif;
    font-size: 28px;
    font-weight: 700;
    margin-bottom: 25px;
    position: relative;
    z-index: 1;
}

.download-meta {
    margin-bottom: 30px;
    position: relative;
    z-index: 1;
}

.download-meta p {
    color: var(--text-muted);
    font-size: 14px;
    margin-bottom: 10px;
}

.download-meta .version {
    color: var(--primary);
    font-weight: 600;
}

.download-btn {
    display: inline-block;
    padding: 16px 50px;
    background: var(--gradient-1);
    color: var(--text);
    text-decoration: none;
    border-radius: 30px;
    font-weight: 600;
    font-size: 16px;
    font-family: 'Rajdhani', sans-serif;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    z-index: 1;
    box-shadow: var(--glow);
}

.download-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
    transition: left 0.5s ease;
}

.download-btn:hover {
    transform: translateY(-3px) scale(1.05);
    box-shadow: 
        0 0 30px rgba(0, 240, 255, 0.7),
        0 0 60px rgba(123, 44, 191, 0.3);
}

.download-btn:hover::before {
    left: 100%;
}

/* ========================================
   信息区域
   ======================================== */

.info-section {
    padding: 80px 30px 100px;
    position: relative;
    z-index: 1;
}

.info-header {
    text-align: center;
    margin-bottom: 60px;
}

.info-grid {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 30px;
}

.info-card {
    background: rgba(18, 18, 26, 0.6);
    border: 1px solid rgba(0, 240, 255, 0.1);
    border-radius: 20px;
    padding: 40px;
    position: relative;
    overflow: hidden;
    transition: all 0.4s ease;
    backdrop-filter: blur(10px);
}

.info-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: var(--gradient-1);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.4s ease;
}

.info-card:hover {
    transform: translateY(-5px);
    border-color: var(--primary);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.3);
}

.info-card:hover::before {
    transform: scaleX(1);
}

.info-icon-wrapper {
    width: 80px;
    height: 80px;
    background: rgba(0, 240, 255, 0.1);
    border: 2px solid rgba(0, 240, 255, 0.2);
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 25px;
    transition: all 0.4s ease;
}

.info-card:hover .info-icon-wrapper {
    background: rgba(0, 240, 255, 0.2);
    box-shadow: 0 0 20px rgba(0, 240, 255, 0.4);
}

.info-icon {
    font-size: 36px;
}

.info-card h3 {
    font-family: 'Orbitron', sans-serif;
    font-size: 22px;
    font-weight: 600;
    margin-bottom: 15px;
}

.info-card p {
    color: var(--text-muted);
    font-size: 15px;
    line-height: 1.8;
}

/* ========================================
   响应式设计
   ======================================== */

@media (max-width: 1024px) {
    .download-hero h1 {
        font-size: 42px;
    }

    .download-grid {
        grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    }
}

@media (max-width: 768px) {
    .download-hero {
        padding: 100px 20px 60px;
        min-height: 50vh;
    }

    .download-hero h1 {
        font-size: 32px;
    }

    .download-hero p {
        font-size: 16px;
    }

    .download-section {
        padding: 40px 20px 80px;
    }

    .info-section {
        padding: 60px 20px 80px;
    }

    .download-card,
    .info-card {
        padding: 30px;
    }

    .download-btn {
        padding: 14px 40px;
        font-size: 15px;
    }
}

@media (max-width: 480px) {
    .download-grid,
    .info-grid {
        grid-template-columns: 1fr;
    }

    .download-card h2 {
        font-size: 24px;
    }
}
