/* =========================================================
   MUTANTS PAGE
   БЕЗ ВКЛАДОК
   ВСЕ СТИЛИ ИЗОЛИРОВАНЫ ЧЕРЕЗ .mutants-page
========================================================= */


/* =========================================================
   MUTANTS HERO
========================================================= */

.mutants-page .mutants-hero {
    position: relative;

    overflow: hidden;

    padding: 55px 0 50px;

    border-bottom: 1px solid rgba(183, 43, 43, 0.35);

    background:
        radial-gradient(
            circle at 78% 45%,
            rgba(183, 43, 43, 0.13),
            transparent 34%
        ),
        linear-gradient(
            135deg,
            #080808 0%,
            #0c0c0c 100%
        );
}


/* =========================================================
   MUTANTS HERO GRID
========================================================= */

.mutants-page .mutants-hero::before {
    content: "";

    position: absolute;
    inset: 0;

    opacity: 0.16;

    background-image:
        linear-gradient(
            rgba(255, 255, 255, 0.025) 1px,
            transparent 1px
        ),
        linear-gradient(
            90deg,
            rgba(255, 255, 255, 0.025) 1px,
            transparent 1px
        );

    background-size: 70px 70px;

    pointer-events: none;
}


/* =========================================================
   MUTANTS HERO DECORATION
========================================================= */

.mutants-page .mutants-hero::after {
    content: "";

    position: absolute;

    width: 420px;
    height: 420px;

    right: -210px;
    top: -210px;

    border: 1px solid rgba(183, 43, 43, 0.12);

    transform: rotate(45deg);

    pointer-events: none;
}


/* =========================================================
   MUTANTS HERO CONTENT
========================================================= */

.mutants-page .mutants-hero-content {
    position: relative;

    z-index: 2;

    max-width: 850px;
}


/* =========================================================
   MUTANTS COUNTER
========================================================= */

.mutants-page .mutants-counter {
    margin-bottom: 15px;

    color: #d83232;

    font-size: 10px;
    line-height: 1;
    letter-spacing: 2px;
}


/* =========================================================
   MUTANTS HERO TITLE
========================================================= */

.mutants-page .mutants-hero h1 {
    margin-bottom: 17px;

    color: #eeeeee;

    font-size: 72px;
    line-height: 0.9;
    font-weight: 700;
    letter-spacing: 4px;
}


/* =========================================================
   MUTANTS HERO TEXT
========================================================= */

.mutants-page .mutants-hero p {
    max-width: 690px;

    color: #888888;

    font-size: 15px;
    line-height: 1.5;
}


/* =========================================================
   MUTANTS HERO ACCENT
========================================================= */

.mutants-page .mutants-hero-accent {
    width: 190px;
    height: 2px;

    margin-top: 25px;

    background: #d83232;
}


/* =========================================================
   MUTANTS LIST
========================================================= */

.mutants-page .mutants-list {
    padding: 30px 0 45px;
}


/* =========================================================
   MUTANT CARD
========================================================= */

.mutants-page .mutant-card {
    display: grid;

    grid-template-columns: 250px minmax(0, 1fr);

    gap: 30px;

    min-height: 230px;

    margin-bottom: 15px;

    padding: 20px;

    overflow: hidden;

    background:
        linear-gradient(
            135deg,
            #111111 0%,
            #0d0d0d 100%
        );

    border: 1px solid rgba(255, 255, 255, 0.07);

    transition:
        background 0.25s ease,
        border-color 0.25s ease,
        box-shadow 0.25s ease;
}

.mutants-page .mutant-card:last-child {
    margin-bottom: 0;
}

.mutants-page .mutant-card:hover {
    background:
        linear-gradient(
            135deg,
            #151515 0%,
            #101010 100%
        );

    border-color: rgba(183, 43, 43, 0.65);

    box-shadow: 0 10px 35px rgba(0, 0, 0, 0.25);
}


/* =========================================================
   MUTANT IMAGE
========================================================= */

.mutants-page .mutant-image {
    position: relative;

    min-height: 188px;

    display: flex;
    align-items: center;
    justify-content: center;

    overflow: hidden;

    background:
        radial-gradient(
            circle,
            rgba(183, 43, 43, 0.14),
            transparent 65%
        ),
        #0b0b0b;

    border: 1px solid rgba(183, 43, 43, 0.25);
}

.mutants-page .mutant-image::before {
    content: "";

    position: absolute;
    inset: 0;

    background:
        linear-gradient(
            135deg,
            transparent 45%,
            rgba(183, 43, 43, 0.05) 50%,
            transparent 55%
        );

    pointer-events: none;
}

.mutants-page .mutant-image::after {
    content: "";

    position: absolute;

    left: 50%;
    bottom: 0;

    width: 55px;
    height: 2px;

    transform: translateX(-50%);

    background: #b72b2b;
}

.mutants-page .mutant-image img {
    width: 190px;
    height: 190px;

    object-fit: contain;

    transition: transform 0.3s ease;
}

.mutants-page .mutant-card:hover .mutant-image img {
    transform: scale(1.04);
}


/* =========================================================
   MUTANT INFO
========================================================= */

.mutants-page .mutant-info {
    min-width: 0;

    display: flex;
    flex-direction: column;
}


/* =========================================================
   MUTANT HEADER
========================================================= */

.mutants-page .mutant-header {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;

    gap: 25px;
}


/* =========================================================
   MUTANT NUMBER
========================================================= */

.mutants-page .mutant-number {
    margin-bottom: 5px;

    color: #555555;

    font-size: 10px;
    line-height: 1;
    letter-spacing: 2px;

    transition: color 0.25s ease;
}

.mutants-page .mutant-card:hover .mutant-number {
    color: #d83232;
}


/* =========================================================
   MUTANT TITLE
========================================================= */

.mutants-page .mutant-header h2 {
    color: #e7e7e7;

    font-size: 27px;
    line-height: 1.1;
    font-weight: 500;
    letter-spacing: 1px;

    transition: color 0.25s ease;
}

.mutants-page .mutant-card:hover .mutant-header h2 {
    color: #d83232;
}


/* =========================================================
   MUTANT LINE
========================================================= */

.mutants-page .mutant-line {
    width: 40px;
    height: 1px;

    margin: 10px 0 18px;

    background: #7d2828;

    transition: width 0.25s ease;
}

.mutants-page .mutant-card:hover .mutant-line {
    width: 65px;
}


/* =========================================================
   MUTANT DESCRIPTION
========================================================= */

.mutants-page .mutant-description {
    max-width: 800px;

    margin-bottom: 20px;

    color: #777777;

    font-size: 13px;
    line-height: 1.65;
}


/* =========================================================
   MUTANT DATA
========================================================= */

.mutants-page .mutant-data {
    display: grid;

    grid-template-columns: repeat(3, minmax(0, 1fr));

    gap: 6px;

    margin-top: auto;
}

.mutants-page .mutant-data-item {
    display: flex;
    align-items: center;
    justify-content: space-between;

    gap: 12px;

    padding: 7px 9px;

    background: #101010;

    border: 1px solid rgba(183, 43, 43, 0.25);

    transition:
        background 0.25s ease,
        border-color 0.25s ease;
}

.mutants-page .mutant-data-item span {
    color: #6fa36f;

    font-size: 10px;
    line-height: 1;
    letter-spacing: 1px;

    white-space: nowrap;
}

.mutants-page .mutant-data-item strong {
    color: #bdbdbd;

    font-size: 10px;
    line-height: 1;
    font-weight: 400;

    white-space: nowrap;
}

.mutants-page .mutant-data-item:hover {
    background: #141414;

    border-color: rgba(183, 43, 43, 0.45);
}

.mutants-page .mutant-data-item:hover strong {
    color: #eeeeee;
}


/* =========================================================
   MUTANTS PAGE SCROLL
========================================================= */

@media (min-width: 701px) {

    body:has(.mutants-page) {
        height: auto;
        min-height: 100vh;

        overflow-x: hidden;
        overflow-y: auto;
    }

    .mutants-page {
        flex: none;
    }

}


/* =========================================================
   TABLET
========================================================= */

@media (max-width: 900px) {

    .mutants-page .mutants-hero {
        padding: 45px 0 40px;
    }

    .mutants-page .mutants-hero h1 {
        font-size: 58px;
    }

    .mutants-page .mutant-card {
        grid-template-columns: 190px minmax(0, 1fr);

        gap: 20px;
    }

    .mutants-page .mutant-image {
        min-height: 170px;
    }

    .mutants-page .mutant-image img {
        width: 155px;
        height: 155px;
    }

    .mutants-page .mutant-data {
        grid-template-columns: 1fr;
    }

}


/* =========================================================
   MOBILE
========================================================= */

@media (max-width: 700px) {

    .mutants-page .mutants-hero {
        padding: 55px 0 50px;
    }

    .mutants-page .mutants-hero h1 {
        font-size: 48px;
        letter-spacing: 2px;
    }

    .mutants-page .mutants-hero p {
        font-size: 15px;
    }

    .mutants-page .mutants-list {
        padding: 25px 0 45px;
    }

    .mutants-page .mutant-card {
        grid-template-columns: 1fr;

        gap: 20px;

        padding: 15px;
    }

    .mutants-page .mutant-image {
        min-height: 210px;
    }

    .mutants-page .mutant-image img {
        width: 175px;
        height: 175px;
    }

    .mutants-page .mutant-header {
        gap: 10px;
    }

    .mutants-page .mutant-header h2 {
        font-size: 24px;
    }

    .mutants-page .mutant-description {
        font-size: 13px;
    }

    .mutants-page .mutant-data {
        grid-template-columns: 1fr;

        gap: 5px;

        margin-top: 5px;
    }

}


/* =========================================================
   SMALL MOBILE
========================================================= */

@media (max-width: 420px) {

    .mutants-page .mutants-hero h1 {
        font-size: 40px;
    }

    .mutants-page .mutant-image {
        min-height: 190px;
    }

    .mutants-page .mutant-image img {
        width: 155px;
        height: 155px;
    }

}