.game-relevance {
    position: relative;
    box-sizing: border-box;
    max-width: 1120px;
    margin: 34px auto 12px;
    padding: 28px;
    overflow: hidden;
    border: 1px solid rgba(254, 206, 26, 0.34);
    border-radius: 8px;
    background: #111416;
    box-shadow: 0 18px 46px rgba(0, 0, 0, 0.34), inset 0 1px 0 rgba(255, 255, 255, 0.03);
}

.game-relevance::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 3px;
    background: linear-gradient(90deg, #fece1a 0%, #ffe56a 52%, rgba(254, 206, 26, 0) 100%);
}

.game-relevance__header {
    max-width: 840px;
    margin: 0 0 24px;
    text-align: left;
}

.game-relevance__eyebrow {
    display: inline-flex;
    align-items: center;
    min-height: 28px;
    box-sizing: border-box;
    margin-bottom: 8px;
    padding: 4px 10px;
    border: 1px solid rgba(254, 206, 26, 0.52);
    border-radius: 6px;
    background: rgba(254, 206, 26, 0.08);
    color: #fece1a;
    font-size: 12px;
    font-weight: 700;
    line-height: 1.2;
    text-transform: uppercase;
}

.game-relevance__header h2,
.game-relevance__header h3 {
    margin: 0;
    color: #ffffff !important;
    font-size: 26px;
    font-weight: 700;
    line-height: 1.2;
    text-align: left;
}

.game-relevance__header p {
    max-width: 800px;
    margin: 8px 0 0;
    padding: 0;
    color: rgba(255, 255, 255, 0.74);
    font-size: 15px;
    font-weight: 400;
    line-height: 1.5;
    text-align: left;
}

.game-relevance__header .game-relevance__note {
    color: rgba(255, 255, 255, 0.74);
}

.game-relevance__grid {
    display: grid;
    grid-template-columns: minmax(0, 1.35fr) minmax(250px, 0.65fr);
    gap: 34px;
    align-items: center;
    width: auto;
    margin: 0;
}

.game-relevance--no-visual .game-relevance__grid {
    grid-template-columns: minmax(0, 1fr);
}

.game-relevance__content,
.game-relevance__aside {
    min-width: 0;
    width: auto;
    margin: 0;
    float: none;
}

.game-relevance__list.skills {
    min-width: 0;
    margin: 0;
    padding: 0;
}

.game-relevance__list.skills li {
    position: relative;
    box-sizing: border-box;
    height: 62px;
    margin: 0 0 12px;
    padding: 0;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.14);
    border-radius: 7px;
    background: #f3f4f4;
    box-shadow: 0 8px 18px rgba(0, 0, 0, 0.16);
    transition: border-color 180ms ease, box-shadow 180ms ease;
}

.game-relevance__list.skills li:last-child {
    margin-bottom: 0;
}

.game-relevance__list.skills li:hover {
    border-color: rgba(254, 206, 26, 0.58);
    box-shadow: 0 10px 22px rgba(0, 0, 0, 0.2);
}

.game-relevance__list.skills li .bar {
    position: absolute;
    z-index: 0;
    top: 0;
    left: 0;
    display: block;
    height: 100%;
    border-radius: 0;
    background: linear-gradient(90deg, #f0b900 0%, #fece1a 72%, #ffe46a 100%);
    box-shadow: inset -1px 0 0 rgba(0, 0, 0, 0.12);
}

.game-relevance__list.skills li[data-level="medium"] .bar {
    background: linear-gradient(90deg, #f0b900 0%, #fece1a 62%, #ffac2f 100%);
}

.game-relevance__list.skills li[data-level="low"] .bar {
    background: linear-gradient(90deg, #e9a500 0%, #ffbd2f 55%, #f0783f 100%);
}

.game-relevance__row {
    position: relative;
    z-index: 1;
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    height: 100%;
    gap: 12px;
    box-sizing: border-box;
    padding: 8px 10px 8px 16px;
    color: #151719;
}

.game-relevance__name {
    min-width: 0;
    color: #151719;
    font-size: 16px;
    font-weight: 700;
    line-height: 1.2;
    overflow-wrap: anywhere;
}

.game-relevance__score {
    flex: 0 0 auto;
    display: inline-flex;
    align-items: baseline;
    gap: 6px;
    min-width: 124px;
    box-sizing: border-box;
    padding: 7px 9px;
    border: 1px solid rgba(254, 206, 26, 0.66);
    border-radius: 6px;
    background: rgba(17, 20, 22, 0.94);
    color: #fece1a;
    line-height: 1;
    white-space: nowrap;
}

.game-relevance__score strong {
    color: #fece1a;
    font-size: 18px;
    font-weight: 800;
}

.game-relevance__score small {
    color: rgba(255, 255, 255, 0.76);
    font-size: 10px;
    font-weight: 600;
    text-transform: uppercase;
}

.game-relevance__visual {
    position: relative;
    min-width: 0;
    width: auto;
    margin: 0;
    padding: 14px;
    float: none;
    text-align: center;
}

.game-relevance__visual::before {
    content: "";
    position: absolute;
    inset: 12% 8%;
    border: 1px solid rgba(254, 206, 26, 0.2);
    border-radius: 50%;
    box-shadow: 0 0 42px rgba(254, 206, 26, 0.14);
}

.game-relevance__visual img {
    position: relative;
    z-index: 1;
    display: block;
    width: min(100%, 390px) !important;
    max-height: 360px;
    height: auto;
    margin: 0 auto !important;
    object-fit: contain;
    filter: drop-shadow(0 18px 20px rgba(0, 0, 0, 0.42));
}

@media (max-width: 979px) {
    .game-relevance {
        padding: 24px;
    }

    .game-relevance__grid {
        grid-template-columns: minmax(0, 1fr) minmax(210px, 0.52fr);
        gap: 22px;
    }

    .game-relevance__score {
        min-width: 110px;
    }
}

@media (max-width: 767px) {
    .game-relevance {
        width: auto;
        margin: 28px 0 10px;
        padding: 20px 14px;
    }

    .game-relevance__header {
        margin-bottom: 18px;
    }

    .game-relevance__header h2,
    .game-relevance__header h3 {
        font-size: 22px;
    }

    .game-relevance__header p {
        font-size: 14px;
    }

    .game-relevance__grid {
        grid-template-columns: minmax(0, 1fr);
        gap: 18px;
    }

    .game-relevance__list.skills li {
        height: 64px;
        margin-bottom: 10px;
    }

    .game-relevance__name {
        font-size: 14px;
    }

    .game-relevance__score {
        min-width: 106px;
        gap: 5px;
        padding: 7px;
    }

    .game-relevance__score strong {
        font-size: 17px;
    }

    .game-relevance__score small {
        font-size: 9px;
    }

    .game-relevance__visual {
        max-width: 320px;
        margin: 0 auto;
        padding: 6px 24px 14px;
    }

    .game-relevance__visual img {
        max-height: 300px;
    }
}

@media (max-width: 420px) {
    .game-relevance__row {
        gap: 8px;
        padding-left: 12px;
    }

    .game-relevance__name {
        font-size: 13px;
    }

    .game-relevance__score {
        min-width: 98px;
        gap: 4px;
        padding: 7px 6px;
    }

    .game-relevance__score strong {
        font-size: 16px;
    }

    .game-relevance__score small {
        font-size: 8px;
    }
}

@media (prefers-reduced-motion: reduce) {
    .game-relevance__list.skills li {
        transition: none;
    }
}
