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

body {
    font-family: 'Arial Black', Arial, sans-serif;
    background: #000;
    color: #fff;
    line-height: 1.4;
}

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


header {
    background: #111;
    padding: 40px 0;
    border-bottom: 4px solid #333;
}

header h1 {
    font-size: 3rem;
    font-weight: 900;
    text-align: center;
    color: #fff;
    letter-spacing: 2px;
    margin-bottom: 10px;
}

header p {
    text-align: center;
    font-size: 1.2rem;
    color: #ccc;
    font-weight: normal;
}


.filters {
    background: #111;
    padding: 30px;
    margin: 30px 0;
    border: 2px solid #333;
}

.search-input {
    width: 100%;
    padding: 15px 20px;
    font-size: 1.1rem;
    background: #000;
    color: #fff;
    border: 2px solid #333;
    margin-bottom: 20px;
    font-family: Arial, sans-serif;
}

.search-input:focus {
    outline: none;
    border-color: #fff;
    background: #222;
}

.category-filters {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.filter-btn {
    padding: 12px 20px;
    background: #000;
    color: #fff;
    border: 2px solid #333;
    cursor: pointer;
    font-size: 0.9rem;
    font-weight: bold;
    font-family: 'Arial Black', Arial, sans-serif;
    transition: all 0.2s;
}

.filter-btn:hover {
    background: #222;
    border-color: #666;
}

.filter-btn.active {
    background: #fff;
    color: #000;
    border-color: #fff;
}


.software-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 20px;
    margin: 30px 0;
}

.software-card {
    background: #111;
    border: 2px solid #333;
    transition: all 0.2s;
}

.software-card:hover {
    border-color: #666;
    transform: scale(1.02);
}

.software-card__image-container {
    position: relative;
    width: 100%;
    height: 160px;
    background: #000;
    border-bottom: 2px solid #333;
    display: flex;
    align-items: center;
    justify-content: center;
}

.software-card__image {
    width: 100%;
    height: 100%;
    object-fit: contain;
    object-position: center;
    padding: 20px;
}

.software-card__fallback {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: #222;
    border: 2px solid #444;
    display: none;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-weight: bold;
    text-align: center;
    font-family: 'Arial Black', Arial, sans-serif;
    font-size: 0.9rem;
    text-transform: uppercase;
}

.software-card__content {
    padding: 20px;
}

.software-card__title {
    font-size: 1.4rem;
    font-weight: 900;
    margin-bottom: 10px;
    color: #fff;
    text-transform: uppercase;
}

.software-card__description {
    color: #ccc;
    margin-bottom: 15px;
    font-size: 0.95rem;
}

.software-card__meta {
    display: flex;
    justify-content: space-between;
    margin-bottom: 15px;
    font-size: 0.85rem;
    color: #999;
    font-family: monospace;
}

.software-card__category {
    background: #fff;
    color: #000;
    padding: 5px 10px;
    font-size: 0.8rem;
    font-weight: bold;
    display: inline-block;
    margin-bottom: 15px;
    text-transform: uppercase;
}

.software-card__download {
    width: 100%;
    padding: 15px;
    background: #fff;
    color: #000;
    border: none;
    font-size: 1rem;
    font-weight: 900;
    cursor: pointer;
    text-transform: uppercase;
    font-family: 'Arial Black', Arial, sans-serif;
    transition: all 0.2s;
}

.software-card__download:hover {
    background: #ccc;
    transform: scale(0.98);
}


.no-results {
    text-align: center;
    padding: 60px 20px;
    background: #111;
    border: 2px solid #333;
    font-size: 1.5rem;
    font-weight: bold;
    color: #666;
}

/* REQUEST SECTION */
.request-section {
    text-align: center;
    margin: 40px 0;
}

.request-btn {
    padding: 20px 40px;
    background: #fff;
    color: #000;
    border: 3px solid #000;
    font-size: 1.2rem;
    font-weight: 900;
    cursor: pointer;
    text-transform: uppercase;
    font-family: 'Arial Black', Arial, sans-serif;
    transition: all 0.2s;
}

.request-btn:hover {
    background: #000;
    color: #fff;
    border-color: #fff;
    transform: scale(1.05);
}


footer {
    background: #111;
    text-align: center;
    padding: 30px 0;
    margin-top: 50px;
    border-top: 4px solid #333;
    color: #666;
    font-weight: bold;
}


.download-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.9);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 1000;
}

.download-modal__content {
    background: #111;
    border: 4px solid #333;
    padding: 30px;
    max-width: 550px;
    width: 90%;
    color: #fff;
}

.download-modal__header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
    padding-bottom: 15px;
    border-bottom: 2px solid #333;
}

.download-modal__header h3 {
    margin: 0;
    font-weight: 900;
    text-transform: uppercase;
}

.download-modal__close {
    background: none;
    border: none;
    font-size: 2rem;
    color: #fff;
    cursor: pointer;
    font-weight: bold;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.download-modal__close:hover {
    background: #333;
}

.download-modal__body p {
    margin-bottom: 10px;
    color: #ccc;
    font-family: monospace;
}

.download-modal__body strong {
    color: #fff;
}

.software-info {
    background: #000;
    border: 2px solid #333;
    padding: 15px;
    margin-bottom: 15px;
}

.software-info p {
    color: #ccc;
    margin-bottom: 8px;
    font-family: monospace;
    font-size: 0.9rem;
}


.warning-box {
    background: #222;
    border: 2px solid #fff;
    padding: 15px;
    margin: 15px 0;
}

.warning-box h4 {
    color: #fff;
    margin-bottom: 10px;
    font-weight: 900;
    font-size: 1rem;
    text-transform: uppercase;
}

.warning-box p {
    color: #ccc;
    margin-bottom: 8px;
    font-size: 0.9rem;
    font-weight: bold;
}

.warning-box strong {
    color: #fff;
}

.download-progress {
    margin: 25px 0;
}

.download-progress__bar {
    width: 100%;
    height: 20px;
    background: #000;
    border: 2px solid #333;
    overflow: hidden;
    margin-bottom: 10px;
}

.download-progress__fill {
    height: 100%;
    background: #fff;
    width: 0%;
    transition: width 2s ease;
}

.download-progress__text {
    font-size: 0.9rem;
    color: #ccc;
    font-weight: bold;
    text-transform: uppercase;
}

.download-modal__footer {
    margin-top: 25px;
    display: flex;
    gap: 15px;
    justify-content: center;
}

.btn {
    padding: 15px 30px;
    border: 2px solid #333;
    cursor: pointer;
    font-size: 1rem;
    font-weight: bold;
    text-transform: uppercase;
    font-family: 'Arial Black', Arial, sans-serif;
    flex: 1;
    transition: all 0.2s;
}

.btn-primary {
    background: #fff;
    color: #000;
    border-color: #fff;
}

.btn-primary:hover {
    background: #ccc;
    transform: scale(0.98);
}

.btn:not(.btn-primary) {
    background: #000;
    color: #fff;
}

.btn:not(.btn-primary):hover {
    background: #222;
    border-color: #666;
}


.error-message {
    text-align: center;
    padding: 40px;
    background: #111;
    border: 2px solid #333;
    color: #666;
}

.error-message h3 {
    margin-bottom: 15px;
    font-size: 2rem;
    font-weight: 900;
}


.scroll-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 60px;
    height: 60px;
    background: #fff;
    color: #000;
    border: 3px solid #000;
    font-size: 1.8rem;
    cursor: pointer;
    font-weight: 900;
    z-index: 1000;
}

.scroll-to-top:hover {
    background: #ccc;
}


@media (max-width: 768px) {
    header h1 {
        font-size: 2rem;
    }

    .category-filters {
        flex-direction: column;
    }

    .filter-btn {
        width: 100%;
        padding: 15px;
    }

    .software-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 480px) {
    header h1 {
        font-size: 1.5rem;
    }

    .container {
        padding: 0 10px;
    }

    .filters {
        padding: 20px;
    }
}