/* ═══════════════════════════════════════════════════════════════
   下載專區頁面 - Cyberpunk Theme
   ═══════════════════════════════════════════════════════════════ */

/* Hero */
.downloads-hero .server-title {
    font-size: 2.2rem;
    margin-bottom: 1rem;
}

/* Main */
.downloads-main {
    display: grid;
    gap: 3rem;
    margin: 2rem 0;
}

/* Section Title */
.section-title {
    font-family: var(--font-display);
    font-size: 1.6rem;
    color: var(--neon-cyan);
    margin-bottom: 1.5rem;
    letter-spacing: 1px;
    text-align: center;
}

/* Download Cards */
.download-section {
    margin-bottom: 1rem;
}

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

.download-card {
    background: var(--bg-card);
    backdrop-filter: blur(20px);
    border-radius: 20px;
    padding: 2rem;
    border: 1px solid rgba(0, 245, 212, 0.1);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    animation: cardReveal 0.6s ease-out both;
}

.download-card.featured {
    border-color: rgba(247, 37, 133, 0.3);
    background: linear-gradient(135deg, rgba(247, 37, 133, 0.05), rgba(0, 245, 212, 0.05));
}

.download-card:hover {
    transform: translateY(-5px);
    border-color: rgba(0, 245, 212, 0.3);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.3), 0 0 30px rgba(0, 245, 212, 0.1);
}

.download-header {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1rem;
}

.download-icon {
    font-size: 2.5rem;
}

.download-header h2 {
    font-family: var(--font-display);
    font-size: 1.3rem;
    color: var(--text-primary);
    margin: 0;
    letter-spacing: 0.5px;
}

.download-version {
    font-size: 0.9rem;
    color: var(--text-muted);
}

.download-desc {
    font-size: 1.1rem;
    color: var(--text-secondary);
    line-height: 1.7;
    margin-bottom: 1.2rem;
}

.download-meta {
    display: flex;
    gap: 1.5rem;
    flex-wrap: wrap;
    margin-bottom: 1.5rem;
    font-size: 0.95rem;
    color: var(--text-muted);
}

.download-btn {
    display: inline-block;
    padding: 14px 28px;
    border-radius: 12px;
    text-decoration: none;
    font-weight: 600;
    font-size: 1rem;
    transition: all 0.3s ease;
    text-align: center;
}

.download-btn.primary {
    background: linear-gradient(135deg, var(--neon-pink), #d63384);
    color: white;
    box-shadow: 0 4px 20px rgba(247, 37, 133, 0.3);
}

.download-btn.primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 30px rgba(247, 37, 133, 0.4);
}

.download-btn.secondary {
    background: rgba(0, 245, 212, 0.15);
    color: var(--neon-cyan);
    border: 1px solid rgba(0, 245, 212, 0.3);
}

.download-btn.secondary:hover {
    background: rgba(0, 245, 212, 0.25);
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(0, 245, 212, 0.2);
}

.download-note {
    margin-top: 1rem;
    font-size: 0.9rem;
    color: var(--text-muted);
}

.download-note strong {
    color: var(--neon-cyan);
}

/* Tutorial Section */
.tutorial-section {
    margin: 2rem 0;
}

.tutorial-card {
    background: var(--bg-card);
    backdrop-filter: blur(20px);
    border-radius: 20px;
    padding: 2rem;
    margin-bottom: 1.5rem;
    border: 1px solid rgba(0, 245, 212, 0.1);
    animation: cardReveal 0.6s ease-out both;
}

.tutorial-card h3 {
    font-family: var(--font-display);
    font-size: 1.3rem;
    color: var(--neon-cyan);
    margin-bottom: 1.2rem;
    letter-spacing: 0.5px;
}

.tutorial-content {
    color: var(--text-secondary);
}

.tutorial-content > p {
    font-size: 1.1rem;
    line-height: 1.7;
    margin-bottom: 1.2rem;
}

.tutorial-steps {
    padding-left: 0;
    list-style: none;
    counter-reset: tutorial-counter;
}

.tutorial-steps li {
    counter-increment: tutorial-counter;
    padding: 14px 0;
    padding-left: 50px;
    position: relative;
    font-size: 1.1rem;
    line-height: 1.7;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.tutorial-steps li:last-child {
    border-bottom: none;
}

.tutorial-steps li::before {
    content: counter(tutorial-counter);
    position: absolute;
    left: 0;
    top: 14px;
    background: linear-gradient(135deg, var(--neon-cyan), var(--neon-blue));
    color: var(--bg-deep);
    width: 32px;
    height: 32px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 0.9rem;
}

.tutorial-steps a {
    color: var(--neon-cyan);
    text-decoration: none;
    border-bottom: 1px dashed var(--neon-cyan);
    transition: all 0.3s ease;
}

.tutorial-steps a:hover {
    color: var(--neon-pink);
    border-color: var(--neon-pink);
}

.tutorial-steps code {
    background: rgba(0, 245, 212, 0.15);
    padding: 3px 10px;
    border-radius: 6px;
    font-family: 'Courier New', monospace;
    font-weight: 600;
    color: var(--neon-cyan);
    border: 1px solid rgba(0, 245, 212, 0.3);
}

.tutorial-steps strong {
    color: var(--text-primary);
}

/* Mini FAQ */
.faq-mini {
    display: flex;
    flex-direction: column;
    gap: 1.2rem;
}

.faq-mini-item {
    padding: 1rem;
    background: rgba(0, 245, 212, 0.05);
    border-radius: 12px;
    border-left: 3px solid var(--neon-yellow);
}

.faq-mini-item strong {
    display: block;
    color: var(--text-primary);
    margin-bottom: 0.5rem;
    font-size: 1.05rem;
}

.faq-mini-item p {
    margin: 0;
    font-size: 1rem;
    color: var(--text-secondary);
    line-height: 1.6;
}

/* Footer */
.downloads-footer {
    margin-top: 4rem;
    padding: 2.5rem;
    background: var(--bg-card);
    backdrop-filter: blur(20px);
    border-radius: 20px;
    text-align: center;
    border: 1px solid rgba(0, 245, 212, 0.1);
}

.downloads-footer p {
    color: var(--text-secondary);
    font-size: 1.1rem;
    margin: 0.5rem 0;
}

/* Responsive */
@media (max-width: 768px) {
    .downloads-hero .server-title {
        font-size: 1.8rem;
    }

    .download-card {
        padding: 1.5rem;
    }

    .download-header h2 {
        font-size: 1.1rem;
    }

    .download-meta {
        flex-direction: column;
        gap: 0.5rem;
    }

    .tutorial-steps li {
        padding-left: 45px;
    }
}

@media (max-width: 480px) {
    .download-grid {
        grid-template-columns: 1fr;
    }

    .tutorial-card {
        padding: 1.5rem;
    }
}
