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

html {
    scroll-behavior: smooth;
}

body {
    font-family: Arial, Helvetica, sans-serif;
    background: #080808;
    color: #ffffff;
    line-height: 1.5;
}

a {
    color: inherit;
    text-decoration: none;
}


/* HEADER */

.header {
    height: 80px;
    padding: 0 6%;
    display: flex;
    align-items: center;
    justify-content: space-between;

    background: rgba(8, 8, 8, 0.92);
    border-bottom: 1px solid #222;

    position: sticky;
    top: 0;
    z-index: 100;
}

.logo {
    font-size: 24px;
    font-weight: 900;
    letter-spacing: 3px;
}

.logo span {
    color: #888;
}

.header nav {
    display: flex;
    gap: 35px;
}

.header nav a {
    color: #aaa;
    font-size: 14px;
    font-weight: 700;
    transition: 0.2s;
}

.header nav a:hover {
    color: white;
}

.submit-btn {
    border: 1px solid #444;
    padding: 11px 18px;
    font-size: 13px;
    font-weight: 700;
    transition: 0.2s;
}

.submit-btn:hover {
    background: white;
    color: black;
}


/* HERO */

.hero {
    min-height: 620px;

    display: flex;
    align-items: center;

    padding: 100px 8%;

    background:
        linear-gradient(
            90deg,
            rgba(0,0,0,0.95) 0%,
            rgba(0,0,0,0.75) 45%,
            rgba(0,0,0,0.25) 100%
        ),
        radial-gradient(
            circle at 80% 50%,
            #333 0%,
            #111 35%,
            #080808 70%
        );
}

.hero-content {
    max-width: 750px;
}

.badge {
    display: inline-block;

    border: 1px solid #444;
    padding: 8px 13px;

    font-size: 11px;
    font-weight: 800;
    letter-spacing: 2px;

    color: #aaa;

    margin-bottom: 25px;
}

.hero h1 {
    font-size: clamp(60px, 9vw, 125px);
    line-height: 0.85;
    letter-spacing: -6px;
    font-weight: 900;
}

.hero h1 span {
    color: #555;
}

.hero p {
    margin-top: 35px;

    max-width: 500px;

    color: #aaa;
    font-size: 18px;
}


/* SEARCH */

.search-box {
    display: flex;

    max-width: 650px;

    margin-top: 40px;

    border: 1px solid #333;
    background: #111;
}

.search-box input {
    flex: 1;

    padding: 18px 20px;

    background: transparent;
    border: none;
    outline: none;

    color: white;

    font-size: 15px;
}

.search-box input::placeholder {
    color: #666;
}

.search-box button {
    padding: 0 30px;

    border: none;

    background: white;
    color: black;

    font-weight: 900;

    cursor: pointer;

    transition: 0.2s;
}

.search-box button:hover {
    background: #ccc;
}


/* MODS */

.mods-section {
    padding: 100px 7%;
}

.section-title {
    display: flex;
    justify-content: space-between;
    align-items: end;

    margin-bottom: 45px;
}

.section-title small {
    color: #666;
    font-size: 11px;
    font-weight: 900;
    letter-spacing: 3px;
}

.section-title h2 {
    margin-top: 5px;

    font-size: 42px;
    letter-spacing: -2px;
}

.filter {
    display: flex;
    gap: 8px;
}

.filter button {
    padding: 9px 16px;

    border: 1px solid #333;
    background: transparent;

    color: #777;

    cursor: pointer;
}

.filter button:hover,
.filter button.active {
    background: white;
    color: black;
}


/* GRID */

.mods-grid {
    display: grid;

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

    gap: 25px;
}


/* CARD */

.mod-card {
    background: #101010;

    border: 1px solid #222;

    overflow: hidden;

    transition:
        transform 0.25s,
        border-color 0.25s;
}

.mod-card:hover {
    transform: translateY(-6px);

    border-color: #555;
}

.mod-image {
    height: 260px;

    display: flex;
    align-items: center;
    justify-content: center;

    background:
        radial-gradient(
            circle,
            #333 0%,
            #191919 40%,
            #0d0d0d 80%
        );
}
.mod-image {
    position: relative;
    overflow: hidden;
}

.mod-image img {
    transition: transform 0.4s;
}

.mod-card:hover .mod-image img {
    transform: scale(1.05);
}
.mod-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.placeholder {
    font-size: 40px;

    font-weight: 900;

    letter-spacing: -2px;

    color: #444;
}

.mod-info {
    padding: 25px;
}

.category {
    color: #666;

    font-size: 10px;

    font-weight: 900;

    letter-spacing: 2px;
}

.mod-info h3 {
    margin-top: 7px;

    font-size: 25px;
}

.mod-info p {
    margin-top: 10px;

    color: #777;

    font-size: 14px;
}

.mod-bottom {
    display: flex;

    justify-content: space-between;

    margin-top: 20px;

    padding-bottom: 20px;

    border-bottom: 1px solid #222;

    color: #777;

    font-size: 12px;
}

.download {
    display: block;

    margin-top: 18px;

    padding: 14px;

    text-align: center;

    background: white;

    color: black;

    font-size: 12px;

    font-weight: 900;

    letter-spacing: 1px;

    transition: 0.2s;
}

.download:hover {
    background: #ccc;
}


/* FOOTER */

footer {
    padding: 60px 7%;

    border-top: 1px solid #222;

    display: flex;

    justify-content: space-between;

    color: #555;

    font-size: 12px;
}


/* MOBILE */

@media (max-width: 900px) {

    .header {
        padding: 0 5%;
    }

    .header nav {
        display: none;
    }

    .hero {
        padding: 80px 6%;
    }

    .mods-section {
        padding: 70px 5%;
    }

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

    .section-title {
        align-items: start;
        flex-direction: column;
        gap: 25px;
    }

    .filter {
        flex-wrap: wrap;
    }

    footer {
        flex-direction: column;
        gap: 20px;
    }
}
/* MOD PAGE */

.mod-hero {
    min-height: 620px;

    display: grid;

    grid-template-columns:
        1.2fr 1fr;

    gap: 60px;

    align-items: center;

    padding: 80px 7%;

    border-bottom: 1px solid #222;
}


.mod-hero-image {

    height: 500px;

    overflow: hidden;

    background:
        radial-gradient(
            circle,
            #333,
            #111 65%
        );

}


.mod-hero-image img {

    width: 100%;
    height: 100%;

    object-fit: cover;

}


.big-placeholder {

    width: 100%;
    height: 100%;

    display: flex;

    justify-content: center;
    align-items: center;

    color: #444;

    font-size: 70px;

    font-weight: 900;

    text-align: center;

}


.mod-hero-info h1 {

    margin-top: 10px;

    font-size:
        clamp(45px, 6vw, 90px);

    line-height: 0.9;

    letter-spacing: -4px;

}


.mod-description {

    margin-top: 30px;

    color: #888;

    font-size: 17px;

    max-width: 600px;

}


.mod-stats {

    display: grid;

    grid-template-columns:
        repeat(3, 1fr);

    gap: 10px;

    margin-top: 40px;

}


.mod-stats div {

    border: 1px solid #222;

    padding: 18px;

    background: #0e0e0e;

}


.mod-stats span,
.info-grid span {

    display: block;

    color: #555;

    font-size: 9px;

    font-weight: 900;

    letter-spacing: 2px;

}


.mod-stats strong {

    display: block;

    margin-top: 7px;

    font-size: 16px;

}


.big-download {

    display: flex;

    justify-content: space-between;

    align-items: center;

    margin-top: 25px;

    padding: 20px 25px;

    background: white;

    color: black;

    font-size: 14px;

    font-weight: 900;

}


.big-download small {

    font-size: 9px;

    color: #666;

}


.mod-details {

    padding: 90px 7%;

}


.details-content {

    max-width: 900px;

}


.details-content h2 {

    margin-top: 50px;

    margin-bottom: 20px;

    font-size: 30px;

}


.details-content p {

    color: #777;

    font-size: 16px;

}


.info-grid {

    display: grid;

    grid-template-columns:
        repeat(4, 1fr);

    gap: 10px;

}


.info-grid div {

    padding: 20px;

    background: #101010;

    border: 1px solid #222;

}


.info-grid strong {

    display: block;

    margin-top: 8px;

}


.error-page {

    min-height: 600px;

    display: flex;

    flex-direction: column;

    align-items: center;

    justify-content: center;

    text-align: center;

}


.error-page h1 {

    font-size: 120px;

}


.error-page p {

    color: #777;

    margin-bottom: 30px;

}



@media (max-width: 900px) {

    .mod-hero {

        grid-template-columns: 1fr;

        padding: 50px 5%;

    }


    .mod-hero-image {

        height: 350px;

    }


    .mod-stats {

        grid-template-columns: 1fr;

    }


    .info-grid {

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

    }

}
/* SPECS */

.specs {

    display: grid;

    grid-template-columns:
        repeat(3, 1fr);

    gap: 10px;

}


.specs div {

    background: #101010;

    border: 1px solid #222;

    padding: 25px;

}


.specs span {

    display: block;

    color: #555;

    font-size: 9px;

    font-weight: 900;

    letter-spacing: 2px;

}


.specs strong {

    display: block;

    margin-top: 8px;

    font-size: 20px;

}


/* FEATURES */

.features {

    display: grid;

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

    gap: 10px;

}


.feature {

    padding: 18px;

    background: #101010;

    border: 1px solid #222;

    color: #aaa;

}


/* CHANGELOG */

.changelog {

    border-left: 1px solid #333;

    padding-left: 25px;

    color: #777;

}


.changelog div {

    margin-bottom: 12px;

}


/* FINAL DOWNLOAD */

.final-download {

    display: flex;

    justify-content: space-between;

    align-items: center;

    margin-top: 70px;

    padding: 25px 30px;

    background: white;

    color: black;

    font-size: 15px;

    font-weight: 900;

}


.final-download span {

    color: #777;

    font-size: 10px;

    letter-spacing: 2px;

}


@media (max-width: 900px) {

    .specs {

        grid-template-columns: 1fr;

    }


    .features {

        grid-template-columns: 1fr;

    }


    .final-download {

        flex-direction: column;

        gap: 10px;

        text-align: center;

    }

}
/* MOD BACK */

.mod-back {
    max-width: 1200px;
    margin: 30px auto 0;
    padding: 0 25px;
}

.mod-back a {
    color: #666;
    text-decoration: none;
    font-size: 11px;
    font-weight: 900;
    letter-spacing: 2px;
    transition: 0.2s;
}

.mod-back a:hover {
    color: white;
}


/* TAGS */

.tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin: 25px 0;
}

.tag {
    padding: 8px 12px;
    background: #111;
    border: 1px solid #252525;
    color: #888;
    font-size: 9px;
    font-weight: 900;
    letter-spacing: 1px;
    text-transform: uppercase;
}


/* SCREENSHOTS */

.screenshots {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
    margin-bottom: 60px;
}

.screenshot {
    overflow: hidden;
    background: #101010;
    border: 1px solid #222;
}

.screenshot img {
    display: block;
    width: 100%;
    height: 320px;
    object-fit: cover;
    transition: transform 0.4s;
}

.screenshot:hover img {
    transform: scale(1.03);
}


/* INSTALLATION */

.installation {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-bottom: 60px;
}

.installation-step {
    display: flex;
    align-items: center;
    gap: 20px;
    padding: 18px 20px;
    background: #101010;
    border: 1px solid #222;
}

.installation-step span {
    color: #555;
    font-size: 12px;
    font-weight: 900;
}

.installation-step p {
    margin: 0;
    color: #aaa;
}


/* MOBILE */

@media (max-width: 700px) {

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

    .screenshot img {
        height: 240px;
    }

    .mod-back {
        padding: 0 15px;
    }

}
/* LIGHTBOX */

.lightbox {
    position: fixed;
    inset: 0;
    z-index: 9999;

    display: flex;
    align-items: center;
    justify-content: center;

    background: rgba(0, 0, 0, 0.96);

    padding: 40px;
}


.lightbox-content {
    width: min(1200px, 90vw);
    height: 85vh;

    display: flex;
    align-items: center;
    justify-content: center;
}


.lightbox-content img {
    max-width: 100%;
    max-height: 100%;

    object-fit: contain;

    user-select: none;
}


/* BUTTONS */

.lightbox button {
    position: absolute;

    border: 0;
    background: transparent;

    color: white;

    cursor: pointer;

    z-index: 2;

    font-family: inherit;
}


.lightbox-close {
    top: 20px;
    right: 30px;

    font-size: 42px;
    font-weight: 300;
}


.lightbox-prev,
.lightbox-next {
    top: 50%;

    transform: translateY(-50%);

    width: 60px;
    height: 80px;

    font-size: 40px;

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

    transition: 0.2s;
}


.lightbox-prev:hover,
.lightbox-next:hover {
    background: rgba(255,255,255,0.12) !important;
}


.lightbox-prev {
    left: 25px;
}


.lightbox-next {
    right: 25px;
}


/* CLICKABLE IMAGES */

.screenshot {
    cursor: zoom-in;
}


/* MOBILE */

@media (max-width: 700px) {

    .lightbox {
        padding: 15px;
    }


    .lightbox-content {
        width: 100%;
        height: 80vh;
    }


    .lightbox-prev,
    .lightbox-next {
        width: 45px;
        height: 60px;

        font-size: 28px;
    }


    .lightbox-prev {
        left: 5px;
    }


    .lightbox-next {
        right: 5px;
    }


    .lightbox-close {
        top: 5px;
        right: 15px;

        font-size: 35px;
    }

}
