/* downloads.css */



:root {

    --primary: #4f46e5;

    --primary-dark: #3730a3;

    --secondary: #06b6d4;



    --bg: #0f172a;

    --card: #111827;

    --card-2: #1e293b;



    --text: #f8fafc;

    --muted: #94a3b8;



    --border: rgba(255,255,255,0.08);



    --success: #10b981;

    --warning: #f59e0b;



    --shadow:

        0 10px 30px rgba(0,0,0,0.35);

}



/* ========================

   PAGE

======================== */



.downloads-page {

    min-height: 100vh;

    padding: 50px 20px;

    background:

        radial-gradient(circle at top left,

        rgba(79,70,229,0.25),

        transparent 35%),



        radial-gradient(circle at bottom right,

        rgba(6,182,212,0.18),

        transparent 35%),



        var(--bg);



    color: var(--text);

}



/* ========================

   HERO

======================== */
.downloads-hero {
    max-width: 1200px;
    margin: 0 auto 40px;
}

.hero-content h1 {
    font-size: 3rem;
    font-weight: 800;
    margin-bottom: 10px;
    letter-spacing: -1px;
}

.hero-content p {
    max-width: 700px;
    color: var(--muted);
    font-size: 1.05rem;
    line-height: 1.7;
}

/* ========================
   CONTAINER
======================== */

.downloads-container {
    max-width: 1200px;
    margin: 0 auto;
    background: rgba(17,24,39,0.88);
    border: 1px solid var(--border);
    border-radius: 22px;
    overflow: hidden;
    backdrop-filter: blur(10px);
    box-shadow: var(--shadow);
}

.downloads-toolbar {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 1rem;
    padding: 24px 30px 0;
}

.downloads-filters {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    align-items: center;
}

.downloads-filters label {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    font-size: 0.85rem;
    color: var(--text-secondary);
}

.downloads-filters select {
    min-width: 180px;
    padding: 0.85rem 1rem;
    border-radius: 12px;
    border: 1px solid rgba(255,255,255,0.08);
    background: rgba(255,255,255,0.04);
    color: var(--text);
}

.filter-clear {
    align-self: center;
    color: var(--gold);
    font-size: 0.95rem;
    text-decoration: none;
    font-weight: 600;
}

.filter-clear:hover {
    text-decoration: underline;
}


/* ========================
   HEADER
======================== */
.downloads-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 25px 30px;
    border-bottom: 1px solid var(--border);
}

.downloads-header h2 {
    margin: 0;
    font-size: 1.4rem;
}

.release-count {
    background: rgba(79,70,229,0.2);
    color: #c7d2fe;
    padding: 8px 14px;
    border-radius: 999px;
    font-size: 0.85rem;
    font-weight: 600;
}

/* ========================
   TABLE
======================== */
.table-wrapper {
    overflow-x: auto;
}

.downloads-table {
    width: 100%;
    border-collapse: collapse;
}

.downloads-table thead {
    background: rgba(255,255,255,0.03);
}

.downloads-table th {
    text-align: left;
    padding: 18px 24px;
    color: #cbd5e1;
    font-size: 0.9rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.downloads-table td {
    padding: 22px 24px;
    border-top: 1px solid var(--border);
    font-size: 0.95rem;
    color: var(--text);
    vertical-align: middle;
}

.downloads-table tbody tr {
    transition: 0.25s ease;
}

.downloads-table tbody tr:hover {
    background: rgba(255,255,255,0.03);
}

/* ========================
   APP INFO
======================== */
.app-info {
    display: flex;
    align-items: center;
    gap: 15px;
}

.app-icon {
    width: 42px;
    height: 42px;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 12px;
    color: white;
    font-size: 1rem;
}

.app-icon img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 12px;
    padding: 5px;
}

.app-name {
    font-weight: 600;
}

/* ========================
   BADGES
======================== */



.os-badge,

.version-pill,

.kind-pill {

    display: inline-flex;

    align-items: center;

    justify-content: center;



    padding: 7px 14px;



    border-radius: 999px;



    font-size: 0.82rem;

    font-weight: 600;

}



.os-badge.windows {

    background: rgba(59,130,246,0.15);

    color: #93c5fd;

}



.os-badge.linux {

    background: rgba(245,158,11,0.15);

    color: #fcd34d;

}



.os-badge.macos {

    background: rgba(236,72,153,0.15);

    color: #f9a8d4;

}



.version-pill {

    background: rgba(79,70,229,0.15);

    color: #c7d2fe;

}



.kind-pill {

    background: rgba(16,185,129,0.15);

    color: #6ee7b7;

}



/* ========================

   DOWNLOAD BUTTON

======================== */



.download-btn {

    display: inline-flex;

    align-items: center;

    gap: 10px;



    padding: 11px 18px;



    border-radius: 12px;



    text-decoration: none;



    background: linear-gradient(

        135deg,

        var(--primary),

        var(--secondary)

    );



    color: white;

    font-weight: 600;



    transition: 0.25s ease;

}



.download-btn:hover {

    transform: translateY(-2px);

    box-shadow:

        0 10px 20px rgba(79,70,229,0.35);

}



/* ========================

   EMPTY STATE

======================== */



.empty-state {

    padding: 90px 20px;

    text-align: center;

}



.empty-icon {

    width: 90px;

    height: 90px;



    margin: 0 auto 25px;



    display: flex;

    align-items: center;

    justify-content: center;



    border-radius: 50%;



    background: rgba(255,255,255,0.05);



    font-size: 2rem;

    color: var(--muted);

}



.empty-state h3 {

    margin-bottom: 12px;

    font-size: 1.6rem;

}



.empty-state p {

    color: var(--muted);

    max-width: 500px;

    margin: auto;

    line-height: 1.7;

}



/* ========================

   RESPONSIVE

======================== */



@media (max-width: 900px) {



    .downloads-header {

        flex-direction: column;

        align-items: flex-start;

        gap: 15px;

    }



    .hero-content h1 {

        font-size: 2.4rem;

    }

}



@media (max-width: 768px) {



    .downloads-page {

        padding: 30px 15px;

    }



    .downloads-table th,

    .downloads-table td {

        padding: 16px;

    }



    .download-btn {

        padding: 10px 14px;

        font-size: 0.85rem;

    }

}



@media (max-width: 600px) {



    .hero-content h1 {

        font-size: 2rem;

    }



    .hero-content p {

        font-size: 0.95rem;

    }



    .downloads-container {

        border-radius: 16px;

    }



    .downloads-table {

        min-width: 850px;

    }

}
