/* Downloads Page Styles */

.search-container {
    max-width: 500px;
    margin: 0 auto 40px auto;
    padding: 0 20px;
}

.search-wrapper {
    position: relative;
}

.search-icon {
    width: 20px;
    height: 20px;
    position: absolute;
    left: 15px;
    top: 50%;
    transform: translateY(-50%);
    stroke: var(--text-dim, #a0a0a0);
    pointer-events: none;
}

.search-input {
    width: 100%;
    padding: 15px 15px 15px 50px;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 12px;
    color: #e8e8e8;
    font-size: 1rem;
    transition: all 0.3s ease;
}

.search-input:focus {
    outline: none;
    border-color: #d4af37;
    box-shadow: 0 0 20px rgba(212, 175, 55, 0.3);
}

.search-input::placeholder {
    color: #a0a0a0;
}

.container {
    max-width: 900px;
    margin: 0 auto;
    padding: 0 20px 60px 20px;
}

.no-results {
    display: none;
    text-align: center;
    padding: 60px 20px;
}

.no-results.visible {
    display: block;
}

.no-results-icon {
    font-size: 3rem;
    margin-bottom: 20px;
}

.no-results h3 {
    color: #e8e8e8;
    margin-bottom: 10px;
}

.no-results p {
    color: #a0a0a0;
}

.download-card {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 16px;
    padding: 30px;
    margin-bottom: 25px;
    transition: all 0.4s ease;
}

.download-card:hover {
    border-color: #d4af37;
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.3), 0 0 20px rgba(212, 175, 55, 0.2);
}

.download-card h2 {
    font-family: 'Orbitron', sans-serif;
    font-size: 1.4rem;
    color: #e8e8e8;
    margin-bottom: 15px;
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 12px;
}

.version-badge {
    display: inline-block;
    padding: 4px 10px;
    background: rgba(212, 175, 55, 0.2);
    border: 1px solid #d4af37;
    border-radius: 20px;
    color: #d4af37;
    font-size: 0.75rem;
    font-weight: 600;
}

.download-card p {
    color: #a0a0a0;
    line-height: 1.7;
    margin-bottom: 20px;
}

.features {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 20px;
}

.feature-badge {
    display: inline-block;
    padding: 6px 14px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 20px;
    color: #e8e8e8;
    font-size: 0.8rem;
    font-weight: 500;
}

.download-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    margin-bottom: 20px;
    color: #a0a0a0;
    font-size: 0.9rem;
}

.download-meta span {
    display: flex;
    align-items: center;
    gap: 8px;
}

.download-meta svg {
    width: 16px;
    height: 16px;
    stroke: #a0a0a0;
}

.download-button {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    padding: 14px 28px;
    background: linear-gradient(135deg, #d4af37, #f97316);
    border: none;
    border-radius: 10px;
    color: #000;
    font-weight: 600;
    font-size: 1rem;
    text-decoration: none;
    transition: all 0.3s ease;
    cursor: pointer;
}

.download-button:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 25px rgba(212, 175, 55, 0.4);
}

.download-button svg {
    width: 20px;
    height: 20px;
}

.file-info {
    margin-top: 20px;
    padding-top: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    color: #a0a0a0;
    font-size: 0.9rem;
}

.file-info strong {
    color: #e8e8e8;
}

@media (max-width: 768px) {
    .download-card h2 {
        font-size: 1.2rem;
    }

    .download-button {
        width: 100%;
        justify-content: center;
    }
}
