/* Translated site (2026-11-14): the language badge after "Contacts" and the fonts of the other languages. */

/* The badge: a pill with the globe and the language code, opening the list of languages. */
.main-header .main-menu .navigation > li.xp-lang {
    margin-right: 0;
    padding-left: 24px;
}
.main-header .main-menu .navigation > li.xp-lang:before {
    display: none;
}
.main-header .main-menu .navigation > li.xp-lang > a.xp-lang-badge {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    margin: 10px 0;
    padding: 7px 13px;
    line-height: 1;
    font-size: 13px;
    letter-spacing: 0.06em;
    border: 1px solid rgba(255, 255, 255, 0.45);
    border-radius: 999px;
}
.main-header .main-menu .navigation > li.xp-lang:hover > a.xp-lang-badge {
    border-color: var(--main-color);
    color: var(--main-color);
}
/* The template turns every <span> directly inside a menu link into a small red label: not in the badge. */
.main-header .main-menu .navigation > li.xp-lang > a > span {
    position: static;
    width: auto;
    height: auto;
    right: auto;
    top: auto;
    font-size: inherit;
    font-weight: inherit;
    line-height: inherit;
    letter-spacing: inherit;
    border-radius: 0;
    color: inherit;
    background: none;
}
.main-header .main-menu .xp-lang .xp-lang-name {
    display: none;
}
.main-header .main-menu .navigation > li.xp-lang > ul {
    width: 11rem;
}
.xp-lang ul li.xp-lang-current > a {
    color: var(--main-color) !important;
    font-weight: 600;
}

/* In the phone menu: the globe and the full name of the language. */
.mobile-menu .xp-lang .xp-lang-code {
    display: none;
}
.mobile-menu .xp-lang .xp-lang-badge .fa-globe {
    margin-right: 10px;
}

/* The template's font has no Cyrillic letters: Russian uses Inter (already loaded), not a serif fallback. */
html:lang(ru) body,
html:lang(ru) h1, html:lang(ru) h2, html:lang(ru) h3,
html:lang(ru) h4, html:lang(ru) h5, html:lang(ru) h6,
html:lang(ru) .main-header .main-menu .navigation > li > a,
html:lang(ru) .mobile-menu .navigation li > a {
    font-family: 'Clash Display', 'Inter', sans-serif;
}

/* "Coming soon" label on the previews of our upcoming games (translated text, not part of the picture). */
.gallery-block_one-image .xp-soon {
    position: absolute;
    top: 14px;
    left: 14px;
    z-index: 100;
    padding: 7px 14px 6px;
    border-radius: 999px;
    background: var(--main-color);
    color: #fff;
    font-size: 12px;
    font-weight: 600;
    line-height: 1;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.45);
    pointer-events: none;
}
/* Book of XPower and Mega Park Live use the site covers, whose title is at the top: their label goes bottom-left. */
.gallery-block_one-image .xp-soon.xp-soon-bottom {
    top: auto;
    bottom: 14px;
}

/* "This translation is provided for convenience..." on Terms and Cookie Policy. */
.xp-legal-note {
    font-size: 14px;
    opacity: 0.75;
    margin-bottom: 24px;
}
