
#downloads-page {
    max-width: 1180px;
    margin: auto;

    color: #edf3f8;

    --download-cyan: #43e4ff;
    --download-pink: #ff4f9a;
    --download-line: rgba(255, 255, 255, 0.08);
}


/* =========================================================
   HERO
   ========================================================= */

.downloads-hero {
    position: relative;

    min-height: 260px;

    overflow: hidden;

    margin-bottom: 14px;

    border: 1px solid var(--download-line);
    border-radius: 16px;

    background:
        radial-gradient(
            circle at 82% 26%,
            rgba(255, 79, 154, 0.18),
            transparent 27%
        ),
        radial-gradient(
            circle at 65% 75%,
            rgba(67, 228, 255, 0.1),
            transparent 30%
        ),
        linear-gradient(
            120deg,
            #0d1319,
            #111116 54%,
            #180d17
        );
}


.downloads-hero-copy {
    position: relative;
    z-index: 2;

    max-width: 720px;

    padding: 36px;
}


.downloads-kicker {
    color: var(--download-cyan);

    font-size: 10px;
    font-weight: 800;

    letter-spacing: 1px;
}


.downloads-hero h1 {
    margin: 13px 0 10px;

    font-family: "Space Grotesk";
    font-size: clamp(38px, 6vw, 65px);

    line-height: 0.95;
}


.downloads-hero p {
    max-width: 610px;

    margin: 0;

    color: #a6afbb;

    font-size: 12px;
    line-height: 1.7;
}


.downloads-hero-meta {
    display: flex;
    flex-wrap: wrap;

    gap: 7px;

    margin-top: 20px;
}


.downloads-hero-meta span {
    padding: 6px 9px;

    border: 1px solid var(--download-line);
    border-radius: 999px;

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

    color: #aeb8c4;

    font-size: 10px;
    font-weight: 700;
}


.downloads-symbol {
    position: absolute;

    right: 6%;
    bottom: -65px;

    color: rgba(255, 255, 255, 0.035);

    font-family: "Space Grotesk";
    font-size: 250px;
}


/* =========================================================
   FEATURED DOWNLOAD
   ========================================================= */

.featured-download {
    display: grid;

    grid-template-columns:
        minmax(0, 0.9fr)
        minmax(0, 1.1fr);

    gap: 0;

    overflow: hidden;

    margin-bottom: 14px;

    border: 1px solid var(--download-line);
    border-radius: 15px;

    background: #10141a;
}


.featured-download-media {
    position: relative;

    min-height: 330px;

    overflow: hidden;

    background:
        linear-gradient(
            135deg,
            #121b24,
            #21131d
        );
}


.featured-download-media img {
    width: 100%;
    height: 100%;

    object-fit: cover;
}


.featured-download-media > span {
    position: absolute;

    top: 14px;
    left: 14px;

    padding: 6px 9px;

    border:
        1px solid
        rgba(67, 228, 255, 0.25);

    border-radius: 999px;

    background:
        rgba(6, 10, 14, 0.78);

    color: var(--download-cyan);

    font-size: 10px;
    font-weight: 800;
}


.featured-download-copy {
    display: flex;
    flex-direction: column;

    justify-content: center;

    padding: 30px;
}


.featured-download-top {
    display: flex;

    justify-content: space-between;

    gap: 12px;
}


.featured-download-top span,
.featured-download-top b {
    padding: 5px 8px;

    border: 1px solid var(--download-line);
    border-radius: 999px;

    font-size: 10px;
}


.featured-download-top span {
    color: var(--download-cyan);
}


.featured-download-top b {
    color: #ff9bc7;
}


.featured-download-copy h2 {
    margin: 18px 0 9px;

    font-family: "Space Grotesk";
    font-size: clamp(25px, 4vw, 40px);
}


.featured-download-copy p {
    margin: 0;

    color: #929daa;

    font-size: 11px;
    line-height: 1.65;
}


.featured-source {
    display: flex;

    justify-content: space-between;

    gap: 12px;

    margin-top: 19px;
    padding: 11px 0;

    border-top:
        1px solid
        rgba(255, 255, 255, 0.055);

    border-bottom:
        1px solid
        rgba(255, 255, 255, 0.055);
}


.featured-source span,
.featured-source strong {
    font-size: 10px;
}


.featured-source span {
    color: #6f7a87;
}


.featured-source strong {
    color: #d5dce5;
}


.download-primary {
    min-height: 44px;

    margin-top: 18px;

    border:
        1px solid
        rgba(67, 228, 255, 0.3);

    border-radius: 9px;

    background:
        linear-gradient(
            135deg,
            rgba(67, 228, 255, 0.12),
            rgba(255, 79, 154, 0.08)
        );

    color: var(--download-cyan);

    font-size: 11px;
    font-weight: 900;

    cursor: pointer;
}


.download-primary:hover {
    background:
        rgba(67, 228, 255, 0.12);
}


.download-primary:disabled {
    opacity: 0.55;

    cursor: wait;
}


.featured-download-copy small {
    margin-top: 9px;

    color: #6d7784;

    font-size: 10px;
}


/* =========================================================
   MEDIA SECTION
   ========================================================= */

.downloads-section {
    margin-bottom: 14px;
}


.downloads-section-head {
    display: flex;

    justify-content: space-between;
    align-items: flex-end;

    gap: 18px;

    margin-bottom: 12px;
    padding: 4px 2px;
}


.downloads-section-head h2 {
    margin: 6px 0 0;

    font-family: "Space Grotesk";
    font-size: 25px;
}


.downloads-section-head p {
    max-width: 360px;

    margin: 0;

    color: #7f8996;

    font-size: 10px;
    line-height: 1.6;

    text-align: right;
}


.wallpaper-grid {
    display: grid;

    grid-template-columns:
        repeat(
            2,
            minmax(0, 1fr)
        );

    gap: 12px;
}


.wallpaper-card {
    overflow: hidden;

    border: 1px solid var(--download-line);
    border-radius: 14px;

    background: #10141a;
}


.wallpaper-preview {
    position: relative;

    height: 220px;

    overflow: hidden;

    background:
        linear-gradient(
            135deg,
            #111923,
            #1a1119
        );
}


.wallpaper-preview img {
    width: 100%;
    height: 100%;

    object-fit: cover;
}


.wallpaper-preview span {
    position: absolute;

    right: 10px;
    bottom: 10px;

    padding: 5px 8px;

    border-radius: 999px;

    background:
        rgba(6, 10, 14, 0.78);

    color: #f0f3f6;

    font-size: 10px;
}


.wallpaper-body {
    padding: 14px;
}


.wallpaper-meta {
    display: flex;

    justify-content: space-between;

    gap: 10px;
}


.wallpaper-meta span,
.wallpaper-meta b {
    font-size: 10px;
}


.wallpaper-meta span {
    color: var(--download-cyan);
}


.wallpaper-meta b {
    color: #ff9bc7;
}


.wallpaper-body h3 {
    margin: 10px 0 7px;

    font-family: "Space Grotesk";
    font-size: 19px;
}


.wallpaper-body p {
    margin: 0;

    color: #87919f;

    font-size: 11px;
    line-height: 1.6;
}


.wallpaper-actions {
    display: grid;

    grid-template-columns:
        1fr
        1fr;

    gap: 8px;

    margin-top: 13px;
}


.wallpaper-actions button {
    min-height: 38px;

    border: 1px solid var(--download-line);
    border-radius: 8px;

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

    color: #aab4c0;

    font-size: 10px;
    font-weight: 800;

    cursor: pointer;
}


.wallpaper-actions button:last-child {
    color: var(--download-cyan);

    border-color:
        rgba(67, 228, 255, 0.22);
}


/* =========================================================
   POLICY / STATES
   ========================================================= */

.downloads-note {
    display: flex;

    gap: 12px;

    margin-top: 12px;
    padding: 14px 16px;

    border: 1px solid var(--download-line);
    border-radius: 12px;

    background: #10141a;

    font-size: 10px;
}


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


.downloads-note span {
    color: #8993a3;
}


.downloads-state,
.downloads-empty {
    min-height: 250px;

    display: grid;

    place-items: center;
    align-content: center;

    gap: 8px;

    padding: 24px;

    border: 1px solid var(--download-line);
    border-radius: 14px;

    background: #10141a;
}


.downloads-state p {
    color: #7f8996;

    font-size: 11px;
}


/* =========================================================
   TABLET
   ========================================================= */

@media (max-width: 900px) {

    .featured-download {
        grid-template-columns: 1fr;
    }


    .featured-download-media {
        min-height: 260px;
    }


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

}


/* =========================================================
   MOBILE
   ========================================================= */

@media (max-width: 680px) {

    .downloads-hero-copy {
        padding: 27px 20px;
    }


    .downloads-symbol {
        font-size: 150px;
    }


    .featured-download-copy {
        padding: 20px;
    }


    .downloads-section-head {
        align-items: flex-start;

        flex-direction: column;
    }


    .downloads-section-head p {
        text-align: left;
    }


    .featured-download-top,
    .featured-source {
        align-items: flex-start;

        flex-direction: column;
    }


    .downloads-note {
        flex-direction: column;

        gap: 5px;
    }

}
