/* =========================================================
   FULL SOFTWARE PAGE
   All classes are prefixed with sw-
   ========================================================= */

.sw-page {
    width: 100%;
    max-width: 1400px;
    margin: 0 auto;
    box-sizing: border-box;
}


/* =========================================================
   BREADCRUMB
   ========================================================= */

.sw-breadcrumb {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 7px;

    margin-bottom: 18px;

    font-size: 12px;
    opacity: .65;
}

.sw-breadcrumb a {
    text-decoration: none;
}

.sw-breadcrumb strong {
    font-weight: 600;
    opacity: .9;
}


/* =========================================================
   TOP AREA
   ========================================================= */

.sw-top {
    display: grid;

    grid-template-columns:
        220px
        minmax(0, 1fr)
        300px;

    gap: 18px;

    margin-bottom: 24px;

    align-items: stretch;
}


/* =========================================================
   SOFTWARE COVER
   ========================================================= */

.sw-cover {
    position: relative;

    width: 220px;
    height: 330px;

    overflow: hidden;

    border-radius: 8px;

    background: #111820;

    border: 1px solid rgba(255,255,255,.07);

    box-sizing: border-box;
}

.sw-cover a {
    display: block;

    width: 100%;
    height: 100%;
}

.sw-cover img {
    display: block;

    width: 100% !important;
    height: 100% !important;

    max-width: none !important;
    max-height: none !important;

    object-fit: cover !important;
    object-position: center !important;
}


/* =========================================================
   INTRO
   ========================================================= */

.sw-intro {
    min-width: 0;

    padding: 4px 0;
}

.sw-intro h1 {
    margin: 0;

    font-size: 30px;
    line-height: 1.15;

    font-weight: 700;
}

.sw-subtitle {
    margin-top: 6px;

    font-size: 13px;

    opacity: .58;
}


/* =========================================================
   META
   ========================================================= */

.sw-meta {
    display: flex;
    flex-wrap: wrap;
    align-items: center;

    gap: 6px;

    margin-top: 12px;
}

.sw-meta span {
    padding: 5px 8px;

    border-radius: 4px;

    background: rgba(255,255,255,.06);

    font-size: 10px;
    line-height: 1;
}

.sw-meta .sw-license {
    background: rgba(50,210,130,.12);

    color: #52df9a;
}


/* =========================================================
   DESCRIPTION
   ========================================================= */

.sw-description {
    max-width: 700px;

    margin: 15px 0;

    font-size: 13px;
    line-height: 1.65;

    opacity: .78;
}


/* =========================================================
   ACTION BUTTONS
   ========================================================= */

.sw-actions {
    display: flex;
    flex-wrap: wrap;

    gap: 8px;

    margin-bottom: 16px;
}

.sw-btn {
    display: inline-flex;

    align-items: center;
    justify-content: center;

    min-height: 40px;

    padding: 0 16px;

    border-radius: 6px;

    background: rgba(255,255,255,.06);

    text-decoration: none;

    font-size: 11px;
    font-weight: 600;

    box-sizing: border-box;

    transition:
        background .18s ease,
        transform .18s ease;
}

.sw-btn:hover {
    background: rgba(255,255,255,.10);

    transform: translateY(-1px);
}

.sw-btn-primary {
    background: #e50914;

    color: #fff;
}

.sw-btn-primary:hover {
    background: #f20d19;
}


/* =========================================================
   QUICK INFORMATION
   ========================================================= */

.sw-quick-info {
    display: grid;

    grid-template-columns:
        repeat(3, minmax(0,1fr));

    gap: 8px;

    max-width: 700px;
}

.sw-quick-item {
    min-width: 0;

    padding: 10px 11px;

    border-radius: 7px;

    background: rgba(255,255,255,.035);

    border: 1px solid rgba(255,255,255,.045);
}

.sw-quick-item span {
    display: block;

    margin-bottom: 4px;

    font-size: 9px;

    opacity: .48;
}

.sw-quick-item strong {
    display: block;

    overflow: hidden;

    white-space: nowrap;
    text-overflow: ellipsis;

    font-size: 10px;

    font-weight: 600;
}


/* =========================================================
   RIGHT SIDE
   ========================================================= */

.sw-side {
    min-width: 0;

    display: flex;
    flex-direction: column;

    gap: 8px;
}


/* =========================================================
   RATING
   ========================================================= */

.sw-rating-box {
    padding: 14px 15px;

    border-radius: 7px;

    background: rgba(255,255,255,.05);

    text-align: center;
}

.sw-rating {
    display: flex;

    align-items: baseline;
    justify-content: center;

    gap: 4px;
}

.sw-rating > span {
    color: #ffc400;

    font-size: 25px;
}

.sw-rating strong {
    font-size: 27px;
}

.sw-rating small {
    font-size: 11px;

    opacity: .55;
}

.sw-rating-label {
    margin-top: 2px;

    font-size: 9px;

    opacity: .55;
}

.sw-votes {
    margin-top: 2px;

    font-size: 9px;

    opacity: .45;
}


/* =========================================================
   SOFTWARE DETAILS
   ========================================================= */

.sw-details {
    flex: 1;

    padding: 13px 15px;

    border-radius: 7px;

    background: rgba(255,255,255,.04);

    box-sizing: border-box;
}

.sw-detail-row {
    display: grid;

    grid-template-columns:
        82px
        minmax(0,1fr);

    gap: 8px;

    align-items: start;

    padding: 7px 0;

    border-bottom:
        1px solid rgba(255,255,255,.05);

    font-size: 10px;
}

.sw-detail-row:last-child {
    border-bottom: 0;
}

.sw-detail-row label {
    opacity: .55;
}

.sw-detail-row strong {
    font-weight: 500;

    line-height: 1.4;
}


/* =========================================================
   COLORS
   ========================================================= */

.sw-green {
    color: #52df9a !important;
}

.sw-blue {
    color: #5ecbff !important;
}

.sw-yellow {
    color: #ffd21c !important;
}


/* =========================================================
   MAIN MIDDLE
   ========================================================= */

.sw-middle {
    display: grid;

    grid-template-columns:
        minmax(0,1fr)
        300px;

    gap: 18px;

    margin-bottom: 20px;

    align-items: start;
}

.sw-main-column {
    min-width: 0;
}

.sw-right-column {
    min-width: 0;

    display: flex;
    flex-direction: column;

    gap: 10px;
}


/* =========================================================
   SECTION
   ========================================================= */

.sw-section {
    min-width: 0;

    margin-bottom: 22px;
}

.sw-section-title {
    display: flex;

    align-items: center;
    justify-content: space-between;

    margin-bottom: 10px;
}

.sw-section-title h2 {
    margin: 0;

    font-size: 16px;
}

.sw-section-title a {
    font-size: 10px;

    text-decoration: none;

    opacity: .55;
}


/* =========================================================
   SCREENSHOTS
   ========================================================= */

.sw-screenshots {
    display: grid;

    grid-template-columns:
        repeat(2, minmax(0,1fr));

    gap: 10px;
}

.sw-screenshot {
    position: relative;

    min-width: 0;

    aspect-ratio: 16 / 9;

    overflow: hidden;

    border-radius: 7px;

    background: #111820;

    border: 1px solid rgba(255,255,255,.05);
}

.sw-screenshot a {
    display: block;

    width: 100%;
    height: 100%;
}

.sw-screenshot img {
    display: block;

    width: 100%;
    height: 100%;

    object-fit: cover;

    transition: transform .25s ease;
}

.sw-screenshot:hover img {
    transform: scale(1.035);
}


/* =========================================================
   OVERVIEW
   ========================================================= */

.sw-overview {
    padding: 15px 16px;

    border-radius: 7px;

    background: rgba(255,255,255,.035);

    border: 1px solid rgba(255,255,255,.04);
}

.sw-overview p {
    margin: 0;

    font-size: 11px;

    line-height: 1.75;

    opacity: .76;
}


/* =========================================================
   FEATURES
   ========================================================= */

.sw-features {
    display: grid;

    grid-template-columns:
        repeat(2, minmax(0,1fr));

    gap: 10px;
}

.sw-feature {
    display: flex;

    gap: 10px;

    padding: 13px;

    border-radius: 7px;

    background: rgba(255,255,255,.035);

    border: 1px solid rgba(255,255,255,.04);
}

.sw-feature > span {
    flex: 0 0 auto;

    width: 24px;
    height: 24px;

    display: flex;

    align-items: center;
    justify-content: center;

    border-radius: 50%;

    background: rgba(50,210,130,.12);

    color: #52df9a;

    font-size: 12px;
}

.sw-feature strong {
    display: block;

    margin-bottom: 4px;

    font-size: 11px;
}

.sw-feature p {
    margin: 0;

    font-size: 9px;

    line-height: 1.5;

    opacity: .52;
}


/* =========================================================
   SYSTEM REQUIREMENTS
   ========================================================= */

.sw-requirements {
    display: grid;

    grid-template-columns:
        repeat(2, minmax(0,1fr));

    gap: 10px;
}

.sw-requirement-card {
    min-width: 0;

    padding: 14px 15px;

    border-radius: 7px;

    background: rgba(255,255,255,.04);

    border: 1px solid rgba(255,255,255,.04);

    box-sizing: border-box;
}

.sw-requirement-card h3 {
    margin: 0 0 10px;

    font-size: 12px;
}

.sw-requirement-card > div {
    display: grid;

    grid-template-columns:
        75px
        minmax(0,1fr);

    gap: 8px;

    padding: 7px 0;

    border-bottom:
        1px solid rgba(255,255,255,.045);

    font-size: 10px;
}

.sw-requirement-card > div:last-child {
    border-bottom: 0;
}

.sw-requirement-card span {
    opacity: .5;
}

.sw-requirement-card strong {
    font-weight: 500;

    line-height: 1.4;
}


/* =========================================================
   RELATED SOFTWARE
   ========================================================= */

.sw-related {
    display: grid;

    grid-template-columns:
        repeat(6, minmax(0,1fr));

    gap: 10px;
}

.sw-related > * {
    min-width: 0;
}


/* =========================================================
   SHARE
   ========================================================= */

.sw-share {
    padding: 13px 15px;

    border-radius: 7px;

    background: rgba(255,255,255,.04);
}

.sw-share h2,
.sw-download-box h2,
.sw-tech h2 {
    margin: 0 0 12px;

    font-size: 15px;
}

.sw-share-buttons {
    display: flex;

    flex-wrap: wrap;

    gap: 9px;
}

.sw-share-buttons a {
    width: 34px;
    height: 34px;

    display: flex;

    align-items: center;
    justify-content: center;

    border-radius: 50%;

    background: rgba(255,255,255,.08);

    text-decoration: none;

    font-size: 14px;
    font-weight: 700;

    transition:
        background .18s ease,
        transform .18s ease;
}

.sw-share-buttons a:hover {
    background: rgba(255,255,255,.14);

    transform: translateY(-1px);
}


/* =========================================================
   DOWNLOAD BOX
   ========================================================= */

.sw-download-box {
    padding: 14px 15px;

    border-radius: 7px;

    background: rgba(255,255,255,.045);

    border: 1px solid rgba(255,255,255,.04);
}

.sw-download-row {
    display: grid;

    grid-template-columns:
        75px
        minmax(0,1fr);

    gap: 7px;

    padding: 7px 0;

    border-bottom:
        1px solid rgba(255,255,255,.05);

    font-size: 10px;
}

.sw-download-row label {
    opacity: .55;
}

.sw-download-row strong {
    font-weight: 500;
}

.sw-download-button {
    display: flex;

    align-items: center;
    justify-content: center;

    min-height: 40px;

    margin-top: 12px;

    border-radius: 6px;

    background: #e50914;

    color: #fff;

    text-decoration: none;

    font-size: 11px;
    font-weight: 700;

    transition:
        background .18s ease,
        transform .18s ease;
}

.sw-download-button:hover {
    background: #f20d19;

    transform: translateY(-1px);
}


/* =========================================================
   TECHNICAL DETAILS
   ========================================================= */

.sw-tech {
    padding: 13px 15px;

    border-radius: 7px;

    background: rgba(255,255,255,.04);
}

.sw-tech-row {
    display: grid;

    grid-template-columns:
        75px
        minmax(0,1fr);

    gap: 7px;

    padding: 7px 0;

    border-bottom:
        1px solid rgba(255,255,255,.05);

    font-size: 10px;
}

.sw-tech-row:last-child {
    border-bottom: 0;
}

.sw-tech-row label {
    opacity: .55;
}

.sw-tech-row strong {
    font-weight: 500;

    line-height: 1.4;
}


/* =========================================================
   FOOTER META
   ========================================================= */

.sw-footer-meta {
    display: flex;

    flex-wrap: wrap;

    gap: 18px;

    padding-top: 12px;

    border-top:
        1px solid rgba(255,255,255,.06);

    font-size: 9px;

    opacity: .45;
}


/* =========================================================
   TABLET
   ========================================================= */

@media (max-width: 1100px) {

    .sw-top {
        grid-template-columns:
            180px
            minmax(0,1fr)
            260px;
    }

    .sw-cover {
        width: 180px;
        height: 270px;
    }

    .sw-middle {
        grid-template-columns:
            minmax(0,1fr)
            260px;
    }

    .sw-related {
        grid-template-columns:
            repeat(4, minmax(0,1fr));
    }

}


/* =========================================================
   SMALL LAPTOP
   ========================================================= */

@media (max-width: 900px) {

    .sw-top {
        grid-template-columns:
            160px
            minmax(0,1fr);
    }

    .sw-cover {
        width: 160px;
        height: 240px;
    }

    .sw-side {
        grid-column: 1 / -1;

        display: grid;

        grid-template-columns:
            240px
            minmax(0,1fr);

        gap: 12px;
    }

    .sw-middle {
        grid-template-columns: 1fr;
    }

    .sw-right-column {
        display: grid;

        grid-template-columns:
            240px
            minmax(0,1fr);

        gap: 12px;
    }

}


/* =========================================================
   MOBILE
   ========================================================= */

@media (max-width: 768px) {

    .sw-page {
        width: 100%;
    }

    .sw-breadcrumb {
        font-size: 10px;

        margin-bottom: 12px;
    }

    .sw-top {
        grid-template-columns:
            105px
            minmax(0,1fr);

        gap: 12px;
    }

    .sw-cover {
        width: 105px;
        height: 158px;
    }

    .sw-intro {
        padding: 0;
    }

    .sw-intro h1 {
        font-size: 21px;
    }

    .sw-subtitle {
        font-size: 10px;
    }

    .sw-meta {
        gap: 4px;

        margin-top: 8px;
    }

    .sw-meta span {
        padding: 4px 5px;

        font-size: 9px;
    }

    .sw-description {
        grid-column: 1 / -1;

        max-width: none;

        margin: 12px 0;

        font-size: 11px;
    }

    .sw-actions {
        grid-column: 1 / -1;
    }

    .sw-quick-info {
        grid-column: 1 / -1;

        max-width: none;
    }

    .sw-side {
        grid-column: 1 / -1;

        display: flex;

        flex-direction: column;
    }

    .sw-middle {
        grid-template-columns: 1fr;

        gap: 14px;
    }

    .sw-right-column {
        display: grid;

        grid-template-columns:
            1fr
            1fr;

        gap: 10px;
    }

    .sw-screenshots {
        grid-template-columns:
            repeat(2, minmax(0,1fr));

        gap: 8px;
    }

    .sw-features {
        grid-template-columns: 1fr;
    }

    .sw-requirements {
        grid-template-columns: 1fr;
    }

    .sw-related {
        grid-template-columns:
            repeat(3, minmax(0,1fr));

        gap: 8px;
    }

}


/* =========================================================
   SMALL MOBILE
   ========================================================= */

@media (max-width: 480px) {

    .sw-top {
        grid-template-columns:
            90px
            minmax(0,1fr);

        gap: 10px;
    }

    .sw-cover {
        width: 90px;
        height: 135px;
    }

    .sw-intro h1 {
        font-size: 18px;
    }

    .sw-subtitle {
        font-size: 9px;
    }

    .sw-meta span {
        padding: 4px;

        font-size: 8px;
    }

    .sw-description {
        font-size: 10px;
    }

    .sw-actions {
        flex-direction: column;
    }

    .sw-btn {
        width: 100%;
    }

    .sw-quick-info {
        grid-template-columns: 1fr;
    }

    .sw-right-column {
        grid-template-columns: 1fr;
    }

    .sw-share-buttons a {
        width: 32px;
        height: 32px;
    }

    .sw-related {
        grid-template-columns:
            repeat(3, minmax(0,1fr));
    }

    .sw-tech-row {
        grid-template-columns:
            70px
            minmax(0,1fr);
    }

}