.gh-game-list {
    gap: 0.75rem;
}

.gh-game-item {
    align-items: center;
    background: linear-gradient(145deg, rgba(24, 26, 32, 0.94), rgba(18, 20, 26, 0.98));
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: 18px;
    color: inherit;
    cursor: pointer;
    display: flex;
    gap: 1rem;
    padding: 0.95rem 1rem;
    text-align: left;
    transition: border-color 0.18s ease, transform 0.18s ease, background 0.18s ease, box-shadow 0.18s ease;
    width: 100%;
}

.gh-game-item:hover:not(.gh-game-item--disabled) {
    border-color: rgba(255, 215, 0, 0.18);
    transform: translateY(-1px);
}

.gh-game-item.active,
.gh-game-item[aria-selected="true"] {
    background: linear-gradient(180deg, rgba(255, 223, 0, 0.10), rgba(255, 255, 255, 0.03));
    border-color: rgba(255, 215, 0, 0.34);
    box-shadow:
        inset 0 0 0 1px rgba(255, 215, 0, 0.05),
        0 12px 28px rgba(0, 0, 0, 0.18);
}

.gh-game-item--disabled {
    cursor: not-allowed;
    opacity: 0.56;
}

.gh-game-item__icon {
    align-items: center;
    background: transparent;
    border: none;
    border-radius: 0;
    color: #ffd84d;
    display: inline-flex;
    flex: 0 0 68px;
    font-size: 0.95rem;
    font-weight: 800;
    height: 68px;
    justify-content: center;
    overflow: visible;
    transition: background 0.18s ease, color 0.18s ease;
    width: 68px;
}


.gh-game-item__icon--logo {
    padding: 0;
}

.gh-game-item__icon--logo img,
.gh-game-logo {
    display: block;
    height: 86%;
    width: 86%;
    object-fit: contain;
}


.gh-game-logo--faceit {
    transform: scale(1.08);
}

.gh-game-logo--dota2 {
    transform: scale(1.14);
}

.gh-game-logo--pubg {
    transform: scale(1.08);
}

.gh-game-item__body {
    display: flex;
    flex-direction: column;
    gap: 0.15rem;
    min-width: 0;
}

.gh-game-item__body strong {
    color: #ffffff;
    font-size: 0.98rem;
    font-weight: 800;
    line-height: 1.1;
}

.gh-game-item__body small {
    color: rgba(255, 255, 255, 0.58);
    font-size: 0.88rem;
    font-weight: 600;
}

.gh-game-item.active .gh-game-item__icon,
.gh-game-item[aria-selected="true"] .gh-game-item__icon {
    background: transparent;
    /* border-color: rgba(255, 215, 0, 0.22); */
    box-shadow: none;
    color: #ffe257;
}

.gh-game-item.active .gh-game-item__body strong,
.gh-game-item[aria-selected="true"] .gh-game-item__body strong {
    color: #ffffff;
}

.gh-game-item.active .gh-game-item__body small,
.gh-game-item[aria-selected="true"] .gh-game-item__body small {
    color: rgba(255, 255, 255, 0.78);
}

.gh-dota-toolbar {
    align-items: center;
    display: flex;
    gap: 0.9rem;
    justify-content: space-between;
    margin-bottom: 1rem;
}

.gh-dota-toolbar__meta {
    color: rgba(255, 255, 255, 0.72);
    font-size: 0.92rem;
}

.gh-dota-toolbar__actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
}

.gh-dota-connect-form {
    display: grid;
    gap: 0.9rem;
    max-width: 520px;
}

.gh-dota-connect-form__actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
}

.gh-dota-hero {
    background: linear-gradient(135deg, rgba(255, 215, 0, 0.08), rgba(255, 255, 255, 0.02));
    border: 1px solid rgba(255, 215, 0, 0.14);
    border-radius: 22px;
    margin-bottom: 1rem;
    padding: 1rem;
}

.gh-dota-hero__left,
.gh-dota-recent-row,
.gh-dota-recent-row__main {
    align-items: center;
    display: flex;
    gap: 0.9rem;
}

.gh-dota-avatar {
    border-radius: 18px;
    height: 72px;
    object-fit: cover;
    width: 72px;
}

.gh-dota-avatar--placeholder {
    align-items: center;
    background: linear-gradient(135deg, rgba(255, 215, 0, 0.18), rgba(255, 255, 255, 0.04));
    color: #ffd84d;
    display: flex;
    font-size: 1.4rem;
    font-weight: 700;
    justify-content: center;
}

.gh-dota-hero-grid {
    display: grid;
    gap: 1rem;
    grid-template-columns: repeat(5, minmax(0, 1fr));
}

.gh-dota-hero-tile {
    background: linear-gradient(145deg, rgba(18, 20, 27, 0.98), rgba(12, 14, 20, 0.98));
    border: 1px solid rgba(255, 255, 255, 0.07);
    border-radius: 22px;
    box-shadow: 0 16px 34px rgba(0, 0, 0, 0.18);
    min-height: 300px;
    overflow: hidden;
    position: relative;
    transition: transform 0.18s ease, border-color 0.18s ease, box-shadow 0.18s ease;
}

.gh-dota-hero-tile:hover {
    border-color: rgba(255, 215, 0, 0.28);
    box-shadow:
        inset 0 0 0 1px rgba(255, 215, 0, 0.03),
        0 22px 42px rgba(0, 0, 0, 0.24);
    transform: translateY(-2px);
}

.gh-dota-hero-tile__media {
    background-color: #17191f;
    background-position: center top;
    background-repeat: no-repeat;
    background-size: cover;
    inset: 0;
    position: absolute;
    transform: scale(1.03);
}

.gh-dota-hero-tile__frame {
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 16px;
    inset: 10px;
    pointer-events: none;
    position: absolute;
    z-index: 2;
}

.gh-dota-hero-tile__top {
    align-items: center;
    display: flex;
    justify-content: space-between;
    left: 0;
    padding: 1rem 1rem 0;
    position: relative;
    right: 0;
    top: 0;
    z-index: 3;
}

.gh-dota-hero-tile__rank,
.gh-dota-hero-tile__count {
    backdrop-filter: blur(8px);
    background: rgba(12, 14, 20, 0.58);
    border: 1px solid rgba(255, 255, 255, 0.10);
    border-radius: 999px;
    color: rgba(255, 255, 255, 0.92);
    display: inline-flex;
    font-size: 0.72rem;
    font-weight: 800;
    letter-spacing: 0.08em;
    line-height: 1;
    padding: 0.42rem 0.68rem;
    text-transform: uppercase;
}

.gh-dota-hero-tile__bottom {
    bottom: 0;
    left: 0;
    padding: 0 1rem 1rem;
    position: absolute;
    right: 0;
    z-index: 3;
}

.gh-dota-hero-tile__name {
    color: #ffffff;
    font-size: 1.1rem;
    font-weight: 900;
    letter-spacing: 0.03em;
    line-height: 1.05;
    margin-bottom: 0.75rem;
    text-shadow: 0 6px 16px rgba(0, 0, 0, 0.34);
    text-transform: uppercase;
}

.gh-dota-hero-tile__chips {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.gh-dota-hero-tile__chip {
    backdrop-filter: blur(10px);
    background: linear-gradient(145deg, rgba(12, 14, 20, 0.82), rgba(12, 14, 20, 0.94));
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 14px;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.16);
    color: rgba(255, 255, 255, 0.92);
    display: inline-flex;
    font-size: 0.8rem;
    font-weight: 800;
    line-height: 1.2;
    padding: 0.55rem 0.75rem;
    width: fit-content;
}

.gh-dota-recent-row__image {
    border-radius: 14px;
    height: 56px;
    object-fit: cover;
    width: 56px;
}

.gh-dota-recent-list {
    display: grid;
    gap: 0.75rem;
}

.gh-dota-match-meta {
    flex-wrap: wrap;
    gap: 0.45rem;
}

.gh-dota-mode-pill {
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 999px;
    color: rgba(255, 255, 255, 0.82);
    display: inline-flex;
    font-size: 0.74rem;
    font-weight: 700;
    line-height: 1;
    padding: 0.38rem 0.62rem;
}

.gh-dota-recent-row {
    border-radius: 18px;
    justify-content: space-between;
    padding: 1rem 1.1rem;
    transition: transform 0.18s ease, border-color 0.18s ease, box-shadow 0.18s ease;
}

.gh-dota-recent-row--standard {
    background: linear-gradient(145deg, rgba(22, 24, 31, 0.96), rgba(16, 18, 24, 0.96));
    border: 1px solid rgba(255, 255, 255, 0.06);
    box-shadow: 0 10px 24px rgba(0, 0, 0, 0.16);
}

.gh-dota-recent-row--ranked {
    background:
        radial-gradient(circle at top right, rgba(255, 215, 0, 0.08), transparent 42%),
        linear-gradient(145deg, rgba(34, 32, 20, 0.96), rgba(20, 22, 26, 0.98));
    border: 1px solid rgba(255, 215, 0, 0.22);
    box-shadow:
        inset 0 0 0 1px rgba(255, 215, 0, 0.04),
        0 12px 28px rgba(0, 0, 0, 0.18);
}

.gh-dota-recent-row:hover {
    transform: translateY(-1px);
}

.gh-dota-recent-row--ranked:hover {
    border-color: rgba(255, 215, 0, 0.32);
}

.gh-dota-recent-row__main strong {
    color: #ffffff;
    font-size: 1rem;
}

.gh-dota-recent-row__meta {
    align-items: flex-end;
    display: flex;
    flex-direction: column;
    gap: 0.45rem;
    min-width: 90px;
}

.gh-dota-result {
    border-radius: 999px;
    font-size: 0.78rem;
    font-weight: 700;
    padding: 0.3rem 0.7rem;
}

.gh-dota-result--win {
    background: rgba(54, 179, 126, 0.16);
    color: #79f0b3;
}

.gh-dota-result--loss {
    background: rgba(255, 90, 90, 0.14);
    color: #ff9b9b;
}

.gh-dota-kda {
    color: #ffffff;
    font-size: 1rem;
    font-weight: 800;
    letter-spacing: 0.01em;
}

.gh-pubg-stat-box span i {
    color: #ffdf00;
    opacity: 0.92;
}

.gh-pubg-best-mode {
    align-items: center;
    color: rgba(255, 255, 255, 0.72);
    display: inline-flex;
    font-size: 0.92rem;
    gap: 0.1rem;
}

.gh-pubg-best-mode i {
    color: #ffdf00;
}

.gh-pubg-mode-list {
    display: grid;
    gap: 1rem;
}

.gh-pubg-mode-card {
    background:
        radial-gradient(circle at top right, rgba(255, 215, 0, 0.06), transparent 35%),
        linear-gradient(145deg, rgba(21, 23, 31, 0.98), rgba(14, 16, 22, 0.98));
    border: 1px solid rgba(255, 255, 255, 0.07);
    border-radius: 22px;
    box-shadow: 0 14px 34px rgba(0, 0, 0, 0.22);
    overflow: hidden;
    padding: 1.15rem 1.2rem;
    position: relative;
    transition: transform 0.18s ease, border-color 0.18s ease, box-shadow 0.18s ease;
}

.gh-pubg-mode-card:hover {
    border-color: rgba(255, 215, 0, 0.24);
    box-shadow: 0 18px 40px rgba(0, 0, 0, 0.28);
    transform: translateY(-2px);
}

.gh-pubg-mode-card__glow {
    background: linear-gradient(90deg, rgba(255, 215, 0, 0.18), rgba(255, 215, 0, 0));
    height: 1px;
    left: 0;
    opacity: 0.65;
    position: absolute;
    right: 0;
    top: 0;
}

.gh-pubg-mode-card__main {
    align-items: center;
    display: flex;
    gap: 1.5rem;
    justify-content: space-between;
}

.gh-pubg-mode-card__identity {
    align-items: center;
    display: flex;
    gap: 1rem;
    min-width: 0;
}

.gh-pubg-mode-card__icon {
    align-items: center;
    background:
        radial-gradient(circle at 30% 30%, rgba(255, 215, 0, 0.22), rgba(255, 215, 0, 0.08)),
        rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 215, 0, 0.18);
    border-radius: 18px;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.05);
    color: #ffdf00;
    display: flex;
    flex: 0 0 52px;
    font-size: 1.15rem;
    height: 52px;
    justify-content: center;
}

.gh-pubg-mode-card__title {
    color: #ffffff;
    font-size: 1.35rem;
    font-weight: 800;
    letter-spacing: -0.02em;
    margin: 0 0 0.6rem;
}

.gh-pubg-mode-card__chips {
    display: flex;
    flex-wrap: wrap;
    gap: 0.55rem;
}

.gh-pubg-chip {
    align-items: center;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: 999px;
    color: rgba(255, 255, 255, 0.78);
    display: inline-flex;
    font-size: 0.9rem;
    font-weight: 600;
    gap: 0.42rem;
    padding: 0.45rem 0.75rem;
}

.gh-pubg-chip i {
    color: #ffdf00;
    font-size: 0.82rem;
}

.gh-pubg-mode-card__stats {
    display: grid;
    gap: 0.7rem;
    grid-template-columns: repeat(3, minmax(110px, 1fr));
    min-width: 360px;
}

.gh-pubg-mode-metric {
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: 16px;
    padding: 0.8rem 0.9rem;
    text-align: left;
}

.gh-pubg-mode-metric__label {
    align-items: center;
    color: rgba(255, 255, 255, 0.62);
    display: inline-flex;
    font-size: 0.78rem;
    font-weight: 700;
    gap: 0.45rem;
    letter-spacing: 0.08em;
    margin-bottom: 0.45rem;
    text-transform: uppercase;
}

.gh-pubg-mode-metric__label i {
    color: #ffdf00;
    font-size: 0.85rem;
}

.gh-pubg-mode-metric__value {
    color: #ffffff;
    display: block;
    font-size: 1.3rem;
    font-weight: 800;
    letter-spacing: -0.03em;
    line-height: 1;
}

@media (max-width: 1399px) {
    .gh-dota-hero-grid {
        grid-template-columns: repeat(4, minmax(0, 1fr));
    }
}

@media (max-width: 1199px) {
    .gh-dota-hero-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }

    .gh-pubg-mode-card__main {
        align-items: flex-start;
        flex-direction: column;
    }

    .gh-pubg-mode-card__stats {
        grid-template-columns: repeat(3, minmax(0, 1fr));
        min-width: 0;
        width: 100%;
    }
}

@media (max-width: 991px) {

    .gh-dota-toolbar,
    .gh-dota-recent-row {
        align-items: flex-start;
        flex-direction: column;
    }

    .gh-dota-recent-row__meta {
        align-items: flex-start;
    }

    .gh-dota-hero-poster {
        min-height: 420px;
    }

    .gh-dota-hero-poster__name {
        font-size: 1.3rem;
    }

    .gh-dota-hero-poster__stats {
        grid-template-columns: 1fr;
    }

    .gh-dota-hero-poster__stat--full {
        grid-column: auto;
    }

    .gh-dota-hero-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .gh-dota-hero-tile {
        min-height: 260px;
    }

    .gh-dota-hero-tile__name {
        font-size: 1rem;
    }
}

@media (max-width: 767px) {
    .gh-game-item {
        gap: 0.8rem;
        padding: 0.85rem 0.9rem;
    }

    .gh-game-item__icon {
        flex-basis: 58px;
        height: 58px;
        width: 58px;
    }

    .gh-pubg-mode-card {
        padding: 1rem;
    }

    .gh-pubg-mode-card__identity {
        align-items: flex-start;
    }

    .gh-pubg-mode-card__title {
        font-size: 1.15rem;
    }

    .gh-pubg-mode-card__stats {
        gap: 0.55rem;
        grid-template-columns: 1fr;
    }

    .gh-pubg-mode-metric {
        padding: 0.75rem 0.8rem;
    }

    .gh-pubg-best-mode {
        font-size: 0.85rem;
    }
}