/*:root {*/
/*    --bs-body-bg: var(--bs-dark);*/
/*    --bs-body-color: #e1e1e1;*/
/*}*/


[data-bs-theme="light"] {
    --bs-blue: #0069a8;
    --bs-primary: #0069a8;
    --bs-primary-rgb: 0, 105, 168;
    --bs-link-color: #0069a8;
    --bs-link-color-rgb: 0, 105, 168;
    --bs-link-hover-color: #005486;
    --bs-link-hover-color-rgb: 0, 84, 134;
    --bs-focus-ring-color: rgba(0, 105, 168, 0.25);
}

[data-bs-theme="dark"] {
    --bs-blue: #018cdf;
    --bs-primary: #018cdf;
    --bs-primary-rgb: 1, 140, 223;
    --bs-link-color: #018cdf;
    --bs-link-color-rgb: 1, 140, 223;
    --bs-link-hover-color: #2aa2eb;
    --bs-link-hover-color-rgb: 42, 162, 235;
    --bs-focus-ring-color: rgba(1, 140, 223, 0.25);
}

[data-bs-theme="dark"] .btn-primary {
    --bs-btn-color: #fff;
    --bs-btn-bg: #0069a8;
    --bs-btn-border-color: #018cdf;
    --bs-btn-hover-color: #fff;
    --bs-btn-hover-bg: #0075bb;
    --bs-btn-hover-border-color: #2aa2eb;
    --bs-btn-focus-shadow-rgb: 1, 140, 223;
    --bs-btn-active-color: #fff;
    --bs-btn-active-bg: #005f98;
    --bs-btn-active-border-color: #018cdf;
    --bs-btn-disabled-color: #fff;
    --bs-btn-disabled-bg: #0069a8;
    --bs-btn-disabled-border-color: #018cdf;
}

[data-bs-theme="dark"] .btn-outline-primary {
    --bs-btn-color: #2aa2eb;
    --bs-btn-border-color: #018cdf;
    --bs-btn-hover-color: #fff;
    --bs-btn-hover-bg: #0069a8;
    --bs-btn-hover-border-color: #018cdf;
    --bs-btn-focus-shadow-rgb: 1, 140, 223;
    --bs-btn-active-color: #fff;
    --bs-btn-active-bg: #005f98;
    --bs-btn-active-border-color: #018cdf;
    --bs-btn-disabled-color: #2aa2eb;
    --bs-btn-disabled-border-color: #018cdf;
}

[data-bs-theme="light"] .btn-primary {
    --bs-btn-bg: #0069a8;
    --bs-btn-border-color: #0069a8;
    --bs-btn-hover-bg: #005a8f;
    --bs-btn-hover-border-color: #005486;
    --bs-btn-focus-shadow-rgb: 0, 105, 168;
    --bs-btn-active-bg: #005486;
    --bs-btn-active-border-color: #004f7e;
    --bs-btn-disabled-bg: #0069a8;
    --bs-btn-disabled-border-color: #0069a8;
}

[data-bs-theme="light"] .btn-outline-primary {
    --bs-btn-color: #0069a8;
    --bs-btn-border-color: #0069a8;
    --bs-btn-hover-bg: #0069a8;
    --bs-btn-hover-border-color: #0069a8;
    --bs-btn-focus-shadow-rgb: 0, 105, 168;
    --bs-btn-active-bg: #0069a8;
    --bs-btn-active-border-color: #0069a8;
    --bs-btn-disabled-color: #0069a8;
    --bs-btn-disabled-border-color: #0069a8;
}

[data-bs-theme="light"] .alert-primary {
    --bs-alert-color: #003554;
    --bs-alert-bg: #cce1ee;
    --bs-alert-border-color: #99c3dc;
    --bs-alert-link-color: #002a43;
}


* {
    font-family: "Inter", sans-serif;
    font-optical-sizing: auto;
    font-style: normal;
}

.card {
    --bs-card-bg: var(--bs-tertiary-bg);
}

.navbar-brand img {
    max-width: 200px;
}

.theme-wordmark-light {
    display: none !important;
}

[data-bs-theme="light"] .theme-wordmark-dark {
    display: none !important;
}

[data-bs-theme="light"] .theme-wordmark-light {
    display: block !important;
}

header {
    position: relative;
    overflow: hidden;
    isolation: isolate;
}

.header-content {
    padding-top: 20px;
    padding-bottom: 50px;
    position: relative;
}

header .background-pattern {
    height: 100%;
    width: 100%;

    background-image: radial-gradient(
            rgba(2255, 255, 255, 0.1) 9%,
            transparent 9%
    );
    background-position: 0% 0%;
    background-size: 5vmin 5vmin;

    position: absolute;
    left: 0px;
    top: 0px;

    z-index: 1;
    opacity: 1;
}

header .background-image {
    height: 100%;
    width: 65%;

    background-position: center center;
    background-repeat: no-repeat;
    background-size: cover;

    position: absolute;
    right: 0px;
    top: 0px;
    z-index: 0;
}

header .background-image-default {
    background-image: url("../../img/background.webp");
}

[data-bs-theme="light"] header .background-image-default {
    background-image: url("../../img/background-light.webp");
}

header .background-image::after {
    content: "";
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    width: 154%;
    background: linear-gradient(
            90deg,
            var(--bs-body-bg) 0%,
            var(--bs-body-bg) 42%,
            rgba(var(--bs-body-bg-rgb), 0.96) 46%,
            rgba(var(--bs-body-bg-rgb), 0.82) 51%,
            rgba(var(--bs-body-bg-rgb), 0.58) 56%,
            rgba(var(--bs-body-bg-rgb), 0.34) 61%,
            rgba(var(--bs-body-bg-rgb), 0.16) 66%,
            rgba(var(--bs-body-bg-rgb), 0.05) 70%,
            rgba(var(--bs-body-bg-rgb), 0) 74%
    ),
    radial-gradient(
            ellipse at 34% 100%,
            var(--bs-body-bg) 0%,
            rgba(var(--bs-body-bg-rgb), 0.82) 18%,
            rgba(var(--bs-body-bg-rgb), 0.42) 34%,
            rgba(var(--bs-body-bg-rgb), 0.12) 52%,
            rgba(var(--bs-body-bg-rgb), 0) 68%
    ),
    linear-gradient(
            180deg,
            var(--bs-body-bg) 0%,
            rgba(var(--bs-body-bg-rgb), 0.7) 7%,
            rgba(var(--bs-body-bg-rgb), 0.28) 16%,
            rgba(var(--bs-body-bg-rgb), 0) 28%,
            rgba(var(--bs-body-bg-rgb), 0) 58%,
            rgba(var(--bs-body-bg-rgb), 0.18) 70%,
            rgba(var(--bs-body-bg-rgb), 0.42) 84%,
            rgba(var(--bs-body-bg-rgb), 0.7) 93%,
            var(--bs-body-bg) 100%
    );
}

header nav, header .header-content {
    z-index: 2;
}

.navbar {
    height: 80px;
    z-index: 3;
}

.bg-navbar-main{
     background: rgba(var(--bs-body-bg-rgb), 0.92);
}

.page-nav {
    position: sticky;
    top: 0;
    z-index: 1030;
    min-height: 56px;
    margin-bottom: 1rem;
    background: rgba(var(--bs-body-bg-rgb), 0.92);
    border-bottom: 1px solid rgba(var(--bs-border-color-rgb), 0.45);
    backdrop-filter: blur(16px);
}

.page-nav .navbar-nav {
    gap: 1.5rem;
    overflow-x: auto;
    white-space: nowrap;
}

.page-nav .nav-link {
    color: var(--bs-secondary-color);
    font-weight: 600;
}

.page-nav .nav-link:hover,
.page-nav .nav-link:focus,
.page-nav .nav-link.active {
    color: var(--bs-body-color);
}

.page-nav .nav-link i {
    margin-right: 5px;
}

.page-section,
header[id] {
    scroll-margin-top: 72px;
}

.hide, .hidden {
    display: none;
}

footer {
    width: 100%;
    margin-top: 80px;
}

.site-footer {
    padding: 3rem 0 2rem;
    background:
            linear-gradient(180deg, rgba(var(--bs-primary-rgb), 0.05), rgba(var(--bs-primary-rgb), 0)),
            rgba(10, 22, 34, 0.92);
    border-top: 1px solid rgba(94, 125, 153, 0.2);
}

.site-footer-grid {
    display: grid;
    grid-template-columns: minmax(240px, 1.35fr) repeat(3, minmax(150px, 1fr));
    gap: 2rem;
}

.site-footer-logo {
    display: inline-flex;
    margin-bottom: 1rem;
}

.site-footer-logo img {
    display: block;
    width: 150px;
    height: auto;
}

.site-footer-brand p {
    max-width: 360px;
    margin: 0 0 1rem;
    color: var(--bs-secondary-color);
    line-height: 1.6;
}

.site-footer-social {
    display: flex;
    gap: 0.6rem;
    margin: 0 0 1rem;
    padding: 0;
    list-style: none;
}

.site-footer-social a {
    display: grid;
    width: 38px;
    height: 38px;
    place-items: center;
    color: var(--bs-body-color);
    text-decoration: none;
    background: rgba(15, 35, 55, 0.78);
    border: 1px solid rgba(94, 125, 153, 0.24);
    border-radius: 8px;
}

.site-footer-social a:hover,
.site-footer-social a:focus-visible {
    color: #fff;
    background: rgba(var(--bs-primary-rgb), 0.18);
    border-color: rgba(var(--bs-primary-rgb), 0.5);
}

.site-footer-section h2 {
    margin: 0 0 0.85rem;
    color: var(--bs-body-color);
    font-size: 0.95rem;
    font-weight: 600;
}

.site-footer-section ul {
    display: grid;
    gap: 0.55rem;
    margin: 0;
    padding: 0;
    list-style: none;
}

.site-footer-section a {
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
    color: var(--bs-secondary-color);
    text-decoration: none;
    font-size: 0.92rem;
}

.site-footer-section a:hover,
.site-footer-section a:focus-visible {
    color: #9fcaff;
}

.site-theme-toggle {
    display: inline-flex;
    align-items: center;
    gap: 0.55rem;
    min-height: 38px;
    padding: 0 0.75rem;
    color: var(--bs-body-color);
    background: rgba(15, 35, 55, 0.78);
    border: 1px solid rgba(94, 125, 153, 0.24);
    border-radius: 8px;
    font-size: 0.9rem;
}

.site-theme-toggle:hover,
.site-theme-toggle:focus-visible {
    color: #fff;
    background: rgba(var(--bs-primary-rgb), 0.18);
    border-color: rgba(var(--bs-primary-rgb), 0.5);
}

.site-footer-controls {
    display: flex;
    flex-wrap: wrap;
    align-items: flex-start;
    gap: 0.6rem;
}

.site-footer-controls .dropdown {
    margin-top: 0 !important;
}

.site-footer-controls .language-selector-badge {
    align-self: center;
}

.language-selector-button {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    min-height: 38px;
    padding: 0 0.75rem;
    color: var(--bs-body-color);
    background: rgba(15, 35, 55, 0.78);
    border: 1px solid rgba(94, 125, 153, 0.24);
    border-radius: 8px;
    font-size: 0.9rem;
}

.language-selector-button:hover,
.language-selector-button:focus-visible,
.language-selector-button.show {
    color: #fff;
    background: rgba(var(--bs-primary-rgb), 0.18);
    border-color: rgba(var(--bs-primary-rgb), 0.5);
}

.language-selector-menu {
    padding: 0.35rem;
    background:
            linear-gradient(180deg, rgba(var(--bs-primary-rgb), 0.06), rgba(var(--bs-primary-rgb), 0)),
            rgba(10, 22, 34, 0.96);
    border: 1px solid rgba(94, 125, 153, 0.24);
    border-radius: 8px;
    box-shadow: 0 18px 40px rgba(0, 0, 0, 0.24);
}

.language-selector-menu .dropdown-item {
    display: flex;
    align-items: center;
    gap: 0.45rem;
    color: var(--bs-body-color);
    border-radius: 6px;
    font-size: 0.9rem;
}

.language-selector-menu .dropdown-item:hover,
.language-selector-menu .dropdown-item:focus {
    color: #fff;
    background: rgba(var(--bs-primary-rgb), 0.18);
}

.language-selector-badge {
    display: inline-flex;
    align-items: center;
    min-height: 28px;
    padding: 0 0.55rem;
    color: var(--bs-secondary-color);
    background: rgba(15, 35, 55, 0.5);
    border: 1px solid rgba(94, 125, 153, 0.18);
    border-radius: 8px;
    font-size: 0.78rem;
}

.site-footer-bottom {
    margin-top: 2rem;
    padding-top: 1.25rem;
    border-top: 1px solid rgba(94, 125, 153, 0.16);
}

.site-footer-bottom p {
    margin: 0;
    color: var(--bs-secondary-color);
    font-size: 0.88rem;
}

[data-bs-theme="light"] .bg-navbar-main,
[data-bs-theme="light"] .page-nav {
    background: rgba(255, 255, 255, 0.92);
}

[data-bs-theme="light"] .site-footer {
    background:
            linear-gradient(180deg, rgba(var(--bs-primary-rgb), 0.04), rgba(var(--bs-primary-rgb), 0)),
            #f6f9fc;
    border-top-color: rgba(18, 38, 63, 0.12);
}

[data-bs-theme="light"] .site-footer-social a,
[data-bs-theme="light"] .site-theme-toggle,
[data-bs-theme="light"] .language-selector-button,
[data-bs-theme="light"] .home-game-search-form,
[data-bs-theme="light"] .home-popular-searches a,
[data-bs-theme="light"] .games-pagination .page-link,
[data-bs-theme="light"] .home-game-card,
[data-bs-theme="light"] .home-feature-card,
[data-bs-theme="light"] .plan,
[data-bs-theme="light"] .free-plan,
[data-bs-theme="light"] .locations-card,
[data-bs-theme="light"] .server-type-card,
[data-bs-theme="light"] .guide-card {
    background:
            linear-gradient(180deg, rgba(var(--bs-primary-rgb), 0.035), rgba(var(--bs-primary-rgb), 0)),
            rgba(255, 255, 255, 0.88);
    border-color: rgba(18, 38, 63, 0.14);
    box-shadow: 0 14px 32px rgba(18, 38, 63, 0.06);
}

[data-bs-theme="light"] .home-game-card:hover,
[data-bs-theme="light"] .home-game-card:focus-visible {
    background-color: rgba(var(--bs-primary-rgb), 0.06);
}

[data-bs-theme="light"] .home-game-search-form > i,
[data-bs-theme="light"] .home-game-search-form button {
    color: rgba(18, 38, 63, 0.55);
}

[data-bs-theme="light"] .home-game-search-form input::placeholder {
    color: rgba(18, 38, 63, 0.48);
}

[data-bs-theme="light"] .home-popular-searches a,
[data-bs-theme="light"] .free-plan .plan-specs,
[data-bs-theme="light"] .plan-specs,
[data-bs-theme="light"] .location-row,
[data-bs-theme="light"] .locations-card-description {
    color: rgba(18, 38, 63, 0.72);
}

[data-bs-theme="light"] .location-ping {
    text-shadow: none;
}

[data-bs-theme="light"] .games-pagination .disabled .page-link {
    background: rgba(18, 38, 63, 0.04);
    border-color: rgba(18, 38, 63, 0.1);
}

[data-bs-theme="light"] .games-pagination .page-link:hover,
[data-bs-theme="light"] .games-pagination .page-link:focus {
    color: var(--bs-primary);
    background: rgba(var(--bs-primary-rgb), 0.1);
}

[data-bs-theme="light"] .home-game-search-form button:hover,
[data-bs-theme="light"] .home-game-search-form button:focus-visible,
[data-bs-theme="light"] .site-theme-toggle:hover,
[data-bs-theme="light"] .site-theme-toggle:focus-visible,
[data-bs-theme="light"] .language-selector-button:hover,
[data-bs-theme="light"] .language-selector-button:focus-visible,
[data-bs-theme="light"] .language-selector-button.show,
[data-bs-theme="light"] .site-footer-social a:hover,
[data-bs-theme="light"] .site-footer-social a:focus-visible {
    color: var(--bs-primary);
    background: rgba(var(--bs-primary-rgb), 0.1);
}

[data-bs-theme="light"] .language-selector-menu {
    background:
            linear-gradient(180deg, rgba(var(--bs-primary-rgb), 0.035), rgba(var(--bs-primary-rgb), 0)),
            rgba(255, 255, 255, 0.98);
    border-color: rgba(18, 38, 63, 0.14);
    box-shadow: 0 18px 40px rgba(18, 38, 63, 0.12);
}

[data-bs-theme="light"] .language-selector-menu .dropdown-item:hover,
[data-bs-theme="light"] .language-selector-menu .dropdown-item:focus {
    color: var(--bs-primary);
    background: rgba(var(--bs-primary-rgb), 0.1);
}

[data-bs-theme="light"] .language-selector-badge {
    background: rgba(255, 255, 255, 0.72);
    border-color: rgba(18, 38, 63, 0.12);
}

[data-bs-theme="light"] .locations-tabs button:hover,
[data-bs-theme="light"] .locations-tabs button:focus-visible,
[data-bs-theme="light"] .locations-tabs button.active {
    color: var(--bs-primary);
    background: rgba(var(--bs-primary-rgb), 0.1);
}

[data-bs-theme="light"] .home-feature-icon,
[data-bs-theme="light"] .plan-icon {
    color: var(--bs-primary);
    background: rgba(var(--bs-primary-rgb), 0.1);
}

[data-bs-theme="light"] .home-game-card-image,
[data-bs-theme="light"] .wiki-game-cta-image {
    background: rgba(18, 38, 63, 0.05);
}

.modal {
    --bs-modal-bg: var(--bs-body-bg);
    --bs-modal-border-color: var(--bs-body-bg);
}

.modal-header {
    border-bottom: 0;
}

.modal-footer {
    border-top: 0;
}

.navbar-collapse.show, .navbar-collapse.collapsing {
    background: var(--bs-dark);
    padding: 10px;
}

/*.form-control, .form-control:focus {*/
/*    background-color: #e1e1e1;*/
/*}*/

.game-card {
    background: rgba(0, 0, 0, 0.6);
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.offer-card {
    background: rgba(0, 0, 0, 0.2);
    backdrop-filter: blur(15px);
    max-width: 300px;
    width: 100%;
}

.bg-body-dark-secondary {
    background: #343a40;
}

.features-list {
    --icon: url("data:image/svg+xml,%3Csvg width='18' height='14' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M16.552.134 5.717 10.97 1.448 6.701 0 8.149l5.717 5.717L18 1.583 16.552.134Z' fill='%230D6EFD'/%3E%3C/svg%3E%0A");
    --height: 0.875rem;
    margin: 0 0 2.75rem;
    padding: 0;
    font-weight: 500;
}

[data-bs-theme="light"] .features-list {
    --icon: url("data:image/svg+xml,%3Csvg width='18' height='14' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M16.552.134 5.717 10.97 1.448 6.701 0 8.149l5.717 5.717L18 1.583 16.552.134Z' fill='%230069A8'/%3E%3C/svg%3E%0A");
}

[data-bs-theme="dark"] .features-list {
    --icon: url("data:image/svg+xml,%3Csvg width='18' height='14' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M16.552.134 5.717 10.97 1.448 6.701 0 8.149l5.717 5.717L18 1.583 16.552.134Z' fill='%23018CDF'/%3E%3C/svg%3E%0A");
}

.features-list li.disabled {
    --color: #b1b8c9;
    --height: 1.125rem;
    --icon: url("data:image/svg+xml,%3Csvg width='18' height='18' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M18 1.414 16.586 0 9 7.586 1.414 0 0 1.414 7.586 9 0 16.586 1.414 18 9 10.414 16.586 18 18 16.586 10.414 9 18 1.414Z' fill='%23B1B8C9'/%3E%3C/svg%3E");
}

.features-list li {
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    gap: 1rem;
}

.features-list li > span {
    display: flex;
    justify-content: space-between;
    flex-grow: 1;
}

.features-list li:before {
    content: "";
    background-image: var(--icon);
    background-size: cover;
    display: block;
    width: 1.125rem;
    height: var(--height);
}

.hero {
    margin-top: 12px;
    margin-left: auto;
    margin-right: auto;
    box-shadow: 48px 16px 48px rgba(24, 37, 56, 0.12);
    border-radius: 4px;
    transform: perspective(1000px) rotateY(16deg) rotateX(2deg) rotateZ(-7deg) scaleY(0.95) translatex(2%);
    max-width: 500px;
    width: 100%;
}

.hero-2 {
    transform: perspective(1000px) rotateY(16deg) rotateX(5deg) rotateZ(8deg) scaleY(0.95) translatex(2%);
    margin-top: -80px;
}

.hero img {
    width: 100%;
    height: 100%;
    border-radius: 4px;
}

.statistics {
    margin-top: 80px;
}

.statistics .item {
    text-align: center;
    margin-bottom: 50px;
}

.statistics .image-border {
    height: 114px;
    width: 114px;
    border: solid 2px var(--bs-primary);
    background: linear-gradient(to bottom, rgba(43, 70, 237, 0) 0%, rgba(var(--bs-primary-rgb), 0.3) 100%);
    box-shadow: 0px 1px 30px 0px rgba(0, 0, 0, 0.25);
    margin-bottom: 20px;
    border-radius: 15px;
    display: inline-block;
}

.statistics .image-container {
    display: flex;
    width: 100%;
    position: relative;
    top: 15px;
    align-content: flex-end;
}

.statistics .image-container img {
    display: inline-flex;
    object-fit: contain;
    margin: auto;
    max-width: calc(100% - 25px);
    transition: .25s;
}

.statistics .item h3 {
    font-size: 24px;
    color: #fff;
    margin-bottom: 10px;
    text-align: center;
}

.statistics .item p {
    font-size: 14px;
    color: #fff;
    max-width: 150px;
    display: inline-block;
    line-height: 1.3;
}

.panel {
    padding: 20px;
    border: solid 2px var(--bs-primary);
    background: linear-gradient(to bottom, rgba(43, 70, 237, 0) 0%, rgba(var(--bs-primary-rgb), 0.3) 100%);
    box-shadow: 0px 1px 30px 0px rgba(0, 0, 0, 0.25);
    border-radius: 5px;
    margin-bottom: 20px;
}

.panel-danger {
    border: solid 2px var(--bs-danger);
    background: linear-gradient(to bottom, rgba(43, 70, 237, 0) 0%, rgba(var(--bs-danger-rgb), 0.3) 100%);
}

.panel img {
    border-radius: 5px;
    max-width: 100%;
}

body {
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}

main {
    flex: 1 0 auto;
}

.offers {
    display: flex;
    gap: 1rem;
    justify-content: center;
    margin-top: 1rem;
}

.payments.panel img {
    max-width: 20px;
}

@media (max-width: 777px) {
    .offers {
        flex-direction: column;
        align-items: center;
    }
}

.adblock-notice > div {
    border-left: 0.25rem solid var(--bs-danger);
    background: var(--bs-danger-bg-subtle);
}

.attention-item {
    position: relative;
    font-weight: 700;
    /*background-color: var(--bs-light);*/
    color: var(--bs-primary);
    overflow: hidden;
}

.sparkle-container {
    position: absolute;
    left: 0.5rem;
    top: 50%;
    transform: translateY(-50%);
    width: 0;
    height: 0;
}

.sparkle {
    position: absolute;
    font-size: 1rem;
    color: var(--bs-primary);
    animation: sparkle-burst 2s infinite ease-in-out;
    opacity: 0;
}

.active > .sparkle-container > .sparkle {
    color: var(--bs-light);
}

.sparkle-1 {
    top: -10px;
    left: -10px;
    animation-delay: 0s;
}

.sparkle-2 {
    top: 0;
    left: 0;
    animation-delay: 0.5s;
}

.sparkle-3 {
    top: 10px;
    left: 10px;
    animation-delay: 1s;
}

@keyframes sparkle-burst {
    0% {
        transform: scale(0) rotate(0deg);
        opacity: 0;
    }
    30% {
        transform: scale(1.5) rotate(20deg);
        opacity: 1;
    }
    60% {
        transform: scale(1.2) rotate(-20deg);
        opacity: 0.8;
    }
    100% {
        transform: scale(0) rotate(0deg);
        opacity: 0;
    }
}

.mw-50 {
    max-width: 50%;
}

.highlight {
    color: var(--bs-primary);
}

.features {
    display: flex;
    gap: 50px;
    margin-top: 20px;
}

.feature-item {
    display: flex;
    margin-bottom: 20px;
    align-items: center;
}

.feature-item > i {
    color: var(--bs-primary);
    font-size: 2.5rem;
}

.feature-item > div {
    display: flex;
    flex-direction: column;
    justify-content: center;
    margin-left: 15px;
}

.feature-item p {
    margin: 0;
    padding: 0;
}

.cta-buttons {
    display: flex;
    gap: 15px;
}

.home-game-search {
    display: flex;
    justify-content: center;
    padding: 2.75rem 0 3.25rem;
}

.home-game-search-inner {
    width: min(100%, 680px);
    text-align: center;
}

.home-game-search h2 {
    margin-bottom: 0.35rem;
    font-size: 1.45rem;
    font-weight: 800;
}

.home-game-search p {
    margin-bottom: 0.9rem;
    color: var(--bs-secondary-color);
    font-size: 0.92rem;
}

.home-game-search-form {
    display: grid;
    grid-template-columns: 22px minmax(0, 1fr) 34px;
    align-items: center;
    gap: 0.75rem;
    min-height: 56px;
    padding: 0 0.85rem;
    background: rgba(12, 27, 43, 0.78);
    border: 1px solid rgba(94, 125, 153, 0.28);
    border-radius: 8px;
    box-shadow:
            inset 0 1px 0 rgba(255, 255, 255, 0.04),
            0 16px 38px rgba(0, 0, 0, 0.18);
}

.home-game-search-form > i {
    color: rgba(255, 255, 255, 0.34);
    font-size: 0.95rem;
}

.home-game-search-form input {
    min-width: 0;
    color: var(--bs-body-color);
    background: transparent;
    border: 0;
    outline: 0;
    font-size: 0.95rem;
}

.home-game-search-form input::placeholder {
    color: rgba(255, 255, 255, 0.48);
}

.home-game-search-form button {
    display: grid;
    width: 34px;
    height: 34px;
    padding: 0;
    place-items: center;
    color: rgba(255, 255, 255, 0.68);
    background: transparent;
    border: 0;
    border-radius: 6px;
}

.home-game-search-form button:hover,
.home-game-search-form button:focus-visible {
    color: #fff;
    background: rgba(var(--bs-primary-rgb), 0.18);
}

.home-popular-searches {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: 0.55rem;
    margin-top: 1rem;
    color: var(--bs-secondary-color);
    font-size: 0.86rem;
}

.home-popular-searches a {
    min-width: 86px;
    padding: 0.36rem 0.8rem;
    color: rgba(255, 255, 255, 0.78);
    text-decoration: none;
    background: rgba(15, 35, 55, 0.78);
    border: 1px solid rgba(94, 125, 153, 0.28);
    border-radius: 8px;
    font-weight: 600;
}

.home-popular-searches a:hover,
.home-popular-searches a:focus-visible {
    color: #fff;
    border-color: rgba(var(--bs-primary-rgb), 0.45);
    background: rgba(var(--bs-primary-rgb), 0.14);
}

.home-games-showcase {
    margin-bottom: 3rem;
}

.home-section-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    margin-bottom: 0.9rem;
}

.home-section-header h2 {
    margin: 0;
    font-size: 1.45rem;
    font-weight: 800;
}

.home-section-header a {
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
    color: #5da8ff;
    text-decoration: none;
    font-size: 0.88rem;
    font-weight: 700;
    white-space: nowrap;
}

.home-section-header a:hover,
.home-section-header a:focus-visible {
    color: #8ac1ff;
}

.home-games-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 0.9rem;
}

.home-game-card {
    display: flex;
    flex-direction: column;
    min-width: 0;
    overflow: hidden;
    color: var(--bs-body-color);
    text-decoration: none;
    background: rgba(10, 24, 38, 0.82);
    border: 1px solid rgba(94, 125, 153, 0.24);
    border-radius: 8px;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.04);
    transition: border-color 0.16s ease, background-color 0.16s ease, transform 0.16s ease;
}

.home-game-card:hover,
.home-game-card:focus-visible {
    color: var(--bs-body-color);
    background-color: rgba(var(--bs-primary-rgb), 0.08);
    border-color: rgba(var(--bs-primary-rgb), 0.65);
    transform: translateY(-2px);
}

.home-game-card:focus-visible {
    outline: 0;
    box-shadow:
            0 0 0 0.2rem rgba(var(--bs-primary-rgb), 0.25),
            inset 0 1px 0 rgba(255, 255, 255, 0.04);
}

.home-game-card-image {
    display: block;
    aspect-ratio: 16 / 9;
    overflow: hidden;
    background: rgba(255, 255, 255, 0.04);
}

.home-game-card-image img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.home-game-card-body {
    display: flex;
    flex: 1 1 auto;
    flex-direction: column;
    padding: 0.85rem;
}

.home-game-card h3 {
    margin: 0 0 0.35rem;
    overflow: hidden;
    color: var(--bs-body-color);
    font-size: 1rem;
    font-weight: 700;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.home-game-card p {
    display: -webkit-box;
    min-height: 2.75rem;
    margin: 0 0 0.9rem;
    overflow: hidden;
    color: var(--bs-secondary-color);
    font-size: 0.88rem;
    line-height: 1.45;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
}

.home-game-card-price {
    display: flex;
    flex-wrap: wrap;
    align-items: baseline;
    gap: 0.25rem;
    margin: 0 0 0.85rem;
}

.home-game-card-price span {
    flex: 0 0 100%;
    color: var(--bs-secondary-color);
    font-size: 0.78rem;
    line-height: 1;
}

.home-game-card-price strong {
    color: var(--bs-primary);
    font-size: 1.35rem;
    font-weight: 900;
    line-height: 1;
}

.home-game-card-price small {
    color: var(--bs-secondary-color);
    font-size: 0.82rem;
    font-weight: 600;
}

.home-game-card-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.55rem;
    width: 100%;
    margin-top: auto;
    font-size: 0.86rem;
    font-weight: 700;
}

.home-games-empty {
    color: var(--bs-secondary-color);
}

.games-page-search {
    padding-bottom: 2.25rem;
}

.games-result-count {
    color: var(--bs-secondary-color);
    font-size: 0.9rem;
    font-weight: 650;
    white-space: nowrap;
}

.games-pagination {
    margin-top: 1.5rem;
}

.games-pagination .page-link {
    color: var(--bs-body-color);
    background: rgba(10, 22, 34, 0.74);
    border-color: rgba(94, 125, 153, 0.24);
}

.games-pagination .page-link:hover,
.games-pagination .page-link:focus {
    color: #fff;
    background: rgba(var(--bs-primary-rgb), 0.14);
    border-color: rgba(var(--bs-primary-rgb), 0.45);
}

.games-pagination .active .page-link {
    color: #fff;
    background: var(--bs-primary);
    border-color: var(--bs-primary);
}

.games-pagination .disabled .page-link {
    color: var(--bs-secondary-color);
    background: rgba(10, 22, 34, 0.38);
    border-color: rgba(94, 125, 153, 0.16);
}

.home-features-showcase {
    margin-bottom: 3.5rem;
}

.home-features-showcase h2 {
    margin-bottom: 0.9rem;
    font-size: 1.45rem;
    font-weight: 800;
}

.home-features-grid {
    display: grid;
    grid-template-columns: repeat(6, minmax(0, 1fr));
    gap: 1rem;
}

.features-page-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
}

.home-feature-card {
    min-width: 0;
    min-height: 210px;
    padding: 1.15rem;
    background:
            linear-gradient(180deg, rgba(var(--bs-primary-rgb), 0.07), rgba(var(--bs-primary-rgb), 0)),
            rgba(10, 22, 34, 0.74);
    border: 1px solid rgba(94, 125, 153, 0.2);
    border-radius: 8px;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.04);
}

.home-feature-icon {
    display: inline-grid;
    width: 46px;
    height: 46px;
    margin-bottom: 0.9rem;
    place-items: center;
    color: #9fcaff;
    font-size: 2rem;
    border-radius: 7px;
}

.home-feature-card h3 {
    margin: 0 0 0.55rem;
    font-size: 0.98rem;
    font-weight: 800;
    line-height: 1.25;
}

.home-feature-card p {
    margin: 0;
    color: var(--bs-secondary-color);
    font-size: 0.86rem;
    line-height: 1.55;
}

#plans, #server-types, #about-game, #guides-wiki, #locations, #features, #faq {
    /*scroll-margin-top: 42px;*/
    margin-bottom: 30px;
}

.game-about {
    position: relative;
}

.game-about-heading {
    margin-bottom: 1.25rem;
}

.game-about-heading h2 {
    margin: 0;
    font-size: clamp(1.5rem, 3vw, 2rem);
}

.game-about-layout {
    display: grid;
    grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
    grid-template-areas:
            "intro primary"
            "secondary details";
    gap: 1rem;
}

.game-about-panel,
.game-about-media {
    min-width: 0;
    min-height: 300px;
    margin: 0;
    border: 1px solid rgba(94, 125, 153, 0.22);
    border-radius: 10px;
    overflow: hidden;
}

.game-about-panel {
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: clamp(1.25rem, 2.8vw, 2.25rem);
    background:
            linear-gradient(180deg, rgba(var(--bs-primary-rgb), 0.08), rgba(var(--bs-primary-rgb), 0)),
            rgba(10, 22, 34, 0.72);
}

.game-about-panel::before {
    position: absolute;
    top: 1.25rem;
    bottom: 1.25rem;
    left: 0;
    width: 3px;
    background: var(--bs-primary);
    border-radius: 0 3px 3px 0;
    content: "";
}

.game-about-intro {
    grid-area: intro;
}

.game-about-primary-media {
    grid-area: primary;
}

.game-about-secondary-media {
    grid-area: secondary;
}

.game-about-details {
    grid-area: details;
}

.game-about-details-wide {
    grid-column: 1 / -1;
}

.game-about-copy {
    color: rgba(255, 255, 255, 0.82);
    font-size: 1rem;
    line-height: 1.72;
}

.game-about-copy > :last-child {
    margin-bottom: 0;
}

.game-about-link {
    display: inline-flex;
    align-items: center;
    align-self: flex-start;
    gap: 0.6rem;
    margin-top: 1.25rem;
    color: var(--bs-link-color);
    font-weight: 700;
    text-decoration: none;
}

.game-about-link i {
    transition: transform 160ms ease;
}

.game-about-link:hover i,
.game-about-link:focus-visible i {
    transform: translateX(0.25rem);
}

.game-about-media {
    position: relative;
    background: rgba(10, 22, 34, 0.72);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.04);
}

.game-about-media::after {
    position: absolute;
    inset: 0;
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: inherit;
    pointer-events: none;
    content: "";
}

.game-about-media img {
    display: block;
    width: 100%;
    height: 100%;
    min-height: 300px;
    object-fit: cover;
    transition: transform 400ms ease;
}

.game-about-media:hover img {
    transform: scale(1.025);
}

[data-bs-theme="light"] .game-about-panel {
    background:
            linear-gradient(180deg, rgba(var(--bs-primary-rgb), 0.06), rgba(var(--bs-primary-rgb), 0)),
            rgba(255, 255, 255, 0.9);
    border-color: rgba(18, 38, 63, 0.14);
}

[data-bs-theme="light"] .game-about-copy {
    color: rgba(18, 38, 63, 0.78);
}

@media (max-width: 991.98px) {
    .game-about-layout {
        grid-template-columns: 1fr;
        grid-template-areas:
                "intro"
                "primary"
                "details"
                "secondary";
    }

    .game-about-details-wide {
        grid-column: auto;
    }

    .game-about-panel,
    .game-about-media,
    .game-about-media img {
        min-height: 0;
    }

    .game-about-media img {
        aspect-ratio: 16 / 9;
    }
}

@media (max-width: 575.98px) {
    .game-about-panel {
        padding: 1.25rem;
    }

    .game-about-copy {
        font-size: 0.95rem;
        line-height: 1.65;
    }
}

@media (prefers-reduced-motion: reduce) {
    .game-about-link i,
    .game-about-media img {
        transition: none;
    }

    .game-about-media:hover img {
        transform: none;
    }
}


.plans {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 1rem;
    margin-top: 1.5rem;
}

.plan {
    position: relative;
    display: flex;
    flex-direction: column;
    min-height: 360px;
    padding: 1.5rem;
    overflow: hidden;
    background:
            linear-gradient(180deg, rgba(var(--bs-primary-rgb), 0.08), rgba(var(--bs-primary-rgb), 0)),
            rgba(10, 22, 34, 0.72);
    border: 1px solid rgba(94, 125, 153, 0.22);
    border-radius: 8px;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.04);
}

.plans .plan:nth-child(3) {
    border-color: rgba(var(--bs-primary-rgb), 0.9);
    box-shadow:
            0 0 0 1px rgba(var(--bs-primary-rgb), 0.25),
            0 14px 40px rgba(var(--bs-primary-rgb), 0.12),
            inset 0 1px 0 rgba(255, 255, 255, 0.05);
}

.plan-header {
    display: flex;
    align-items: center;
    gap: 0.9rem;
    min-height: 56px;
    padding-bottom: 1rem;
    border-bottom: 1px solid rgba(94, 125, 153, 0.18);
}

.plan-icon {
    display: grid;
    flex: 0 0 42px;
    width: 42px;
    height: 42px;
    place-items: center;
    color: #7fc7ff;
    background: rgba(89, 137, 181, 0.22);
    border-radius: 7px;
}

.plan-header h3 {
    margin: 0;
    font-size: 1.1rem;
    font-weight: 800;
}

.plan-header p {
    margin: 0.15rem 0 0;
    color: var(--bs-secondary-color);
    font-size: 0.86rem;
}

.plan-badge {
    display: none;
    position: absolute;
    top: 0;
    right: 0.7rem;
    padding: 0.28rem 0.55rem;
    color: var(--bs-body-color);
    background: rgba(var(--bs-primary-rgb), 0.55);
    border: 1px solid rgba(var(--bs-primary-rgb), 0.7);
    border-top: 0;
    border-radius: 0 0 5px 5px;
    font-size: 0.75rem;
    font-weight: 700;
}

.plans .plan:nth-child(3) .plan-badge {
    display: inline-flex;
}

[data-bs-theme="light"] .plan-badge {
    color: #fff;
    background: var(--bs-primary);
    border-color: var(--bs-primary);
}

.plan-price {
    display: flex;
    align-items: baseline;
    gap: 0.35rem;
    padding: 1rem 0;
    border-bottom: 1px solid rgba(94, 125, 153, 0.18);
}

.plan-price span {
    font-size: 2rem;
    font-weight: 900;
    line-height: 1;
}

.plan-price small {
    color: var(--bs-secondary-color);
    font-weight: 600;
}

.plan-specs {
    display: grid;
    gap: 0.55rem;
    margin: 0 0 auto;
    padding: 0.9rem 0 1.25rem;
    list-style: none;
    color: rgba(255, 255, 255, 0.82);
    font-weight: 600;
}

.plan-button {
    width: 100%;
    margin-top: auto;
}

.plan-countries {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    gap: 0.5rem;
    margin: 0 0 0.85rem;
    padding-top: 0.75rem;
    color: var(--bs-secondary-color);
    border-top: 1px solid rgba(94, 125, 153, 0.18);
    font-size: 0.82rem;
    font-weight: 600;
}

.plan-countries > div {
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-start;
    gap: 0.35rem;
}

.plan-countries em {
    width: 1.15rem;
    height: 1.15rem;
}

.plans .plan:nth-child(3) .plan-button {
    color: #fff !important;
    background: var(--bs-primary);
    border-color: var(--bs-primary);
}

.plans .plan:nth-child(3) .plan-button:hover,
.plans .plan:nth-child(3) .plan-button:focus {
    color: #fff !important;
    background: #0b5ed7;
    border-color: #0a58ca;
}

[data-bs-theme="dark"] .plans .plan:nth-child(3) .plan-button {
    color: #fff !important;
    background: #0069a8;
    border-color: var(--bs-primary);
}

[data-bs-theme="dark"] .plans .plan:nth-child(3) .plan-button:hover,
[data-bs-theme="dark"] .plans .plan:nth-child(3) .plan-button:focus {
    color: #fff !important;
    background: #0075bb;
    border-color: #2aa2eb;
}

[data-bs-theme="light"] .plans .plan:nth-child(3) .plan-button:hover,
[data-bs-theme="light"] .plans .plan:nth-child(3) .plan-button:focus {
    background: #005a8f;
    border-color: #005486;
}

.free-plan {
    display: grid;
    grid-template-columns: minmax(220px, 1fr) minmax(260px, 1.4fr) minmax(150px, auto) auto;
    align-items: center;
    gap: 1.5rem;
    width: 100%;
    margin-top: 1rem;
    padding: 1rem 1.25rem;
    color: var(--bs-secondary-color);
    background: rgba(255, 255, 255, 0.025);
    border: 1px solid rgba(94, 125, 153, 0.16);
    border-radius: 8px;
}

.free-plan-header {
    display: flex;
    align-items: center;
    gap: 0.9rem;
}

.free-plan h3 {
    margin: 0;
    color: var(--bs-body-color);
    font-size: 1rem;
    font-weight: 700;
}

.free-plan p {
    margin: 0.15rem 0 0;
    font-size: 0.9rem;
}

.free-plan .plan-specs {
    grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
    gap: 0.45rem 1rem;
    margin: 0;
    padding: 0;
    color: var(--bs-secondary-color);
    font-size: 0.9rem;
}

.free-plan .plan-countries {
    margin: 0;
    padding-top: 0;
    border-top: 0;
    white-space: nowrap;
}

.free-plan-button {
    min-width: 150px;
    white-space: nowrap;
}

@media (max-width: 991.98px) {
    .free-plan {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 575.98px) {
    .free-plan {
        align-items: stretch;
        grid-template-columns: 1fr;
    }
}

#server-types {
    margin-top: 4rem;
    scroll-margin-top: 72px;
}

#guides-wiki {
    margin-top: 4rem;
}

#locations, #features {
    margin-top: 4rem;
}

.location-card {
    display: grid;
    grid-template-columns: minmax(260px, 0.9fr) minmax(320px, 1.35fr);
    align-items: center;
    gap: 2rem;
    min-height: 300px;
}

.location-card-content {
    display: flex;
    flex-direction: column;
    min-width: 0;
    position: relative;
    z-index: 1;
}

.location-card h2 {
    margin-bottom: 0.45rem;
    /*font-size: 1.55rem;*/
    /*font-weight: 700;*/
}

.location-card p {
    margin-bottom: 1.15rem;
    color: var(--bs-secondary-color);
    font-size: 0.95rem;
}

.location-list {
    display: grid;
    gap: 0.55rem;
    max-width: 310px;
}

.location-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    color: rgba(255, 255, 255, 0.82);
    font-size: 0.96rem;
    font-weight: 500;
}

.location-name {
    display: inline-flex;
    align-items: center;
    min-width: 0;
}

.location-flag {
    display: inline-flex;
    width: 1.45rem;
    margin-right: 0.55rem;
    line-height: 1;
}

.location-ping {
    color: #48c977;
    font-size: 0.9rem;
    font-weight: 650;
    text-shadow: 0 0 12px rgba(72, 201, 119, 0.26);
    white-space: nowrap;
}

.location-link {
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
    width: fit-content;
    margin-top: auto;
    padding-top: 1.25rem;
    color: #5da8ff;
    text-decoration: none;
}

.location-link:hover,
.location-link:focus-visible {
    color: #8ac1ff;
}

.location-map {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
}

.location-map img,
.location-map svg {
    display: block;
    width: 100%;
    max-width: 620px;
    height: auto;
}

[data-bs-theme="light"] .searcade-location-pin-halo {
    fill-opacity: 0.34;
}

[data-bs-theme="light"] .searcade-location-pin-dot {
    stroke: #10233f;
    stroke-width: 2;
}

[data-bs-theme="light"] .searcade-location-pin-core {
    fill: #10233f;
}

[data-bs-theme="light"] .searcade-location-pin-unavailable .searcade-location-pin-halo,
[data-bs-theme="light"] .searcade-location-pin-unavailable .searcade-location-pin-dot {
    fill: #7b8794;
}

[data-bs-theme="light"] .searcade-location-pin-unavailable .searcade-location-pin-dot {
    stroke: #3f4b59;
}

[data-bs-theme="light"] .searcade-location-pin-unavailable .searcade-location-pin-core {
    fill: #f8fafc;
}

.locations-hero-title {
    font-weight: 400;
}

.locations-page {
    margin-top: 2rem;
}

.locations-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    align-items: start;
    gap: 1rem;
}

.locations-card {
    display: flex;
    flex-direction: column;
    min-width: 0;
    padding: 1.15rem;
    background:
            linear-gradient(180deg, rgba(var(--bs-primary-rgb), 0.07), rgba(var(--bs-primary-rgb), 0)),
            rgba(10, 22, 34, 0.74);
    border: 1px solid rgba(94, 125, 153, 0.2);
    border-radius: 8px;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.04);
}

.locations-card-header {
    display: grid;
    grid-template-columns: 48px minmax(0, 1fr) auto;
    align-items: start;
    gap: 0.9rem;
    margin-bottom: 0.75rem;
}

.locations-card-flag {
    width: 48px;
    height: 34px;
    font-size: 2.15rem;
}

.locations-card h2 {
    margin: 0;
    font-size: 1.2rem;
    font-weight: 500;
    line-height: 1.2;
}

.locations-card-header p {
    margin: 0.15rem 0 0;
    color: var(--bs-secondary-color);
    font-weight: 400;
}

.locations-status-group {
    display: grid;
    justify-items: end;
    gap: 0.2rem;
}

.locations-status {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    color: #62d84e;
    font-size: 0.85rem;
    font-weight: 500;
    white-space: nowrap;
}

.locations-status::before {
    content: "";
    width: 0.45rem;
    height: 0.45rem;
    background: currentColor;
    border-radius: 50%;
}

.locations-status.offline {
    color: #8b98a8;
}

.locations-ping {
    color: var(--bs-secondary-color);
    font-size: 0.82rem;
    line-height: 1.1;
    white-space: nowrap;
}

.locations-card-description {
    margin: 0;
    color: rgba(255, 255, 255, 0.78);
    line-height: 1.55;
}

.locations-card-coming-soon {
    justify-content: center;
    border-style: dashed;
    border-color: rgba(var(--bs-primary-rgb), 0.5);
}

.locations-card-coming-soon p {
    color: var(--bs-secondary-color);
}

.section-header {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 1.25rem;
    margin-bottom: 1.25rem;
}

.section-header h2 {
    margin-bottom: 0.5rem;
}

.section-header p {
    max-width: 680px;
    margin-bottom: 0;
    color: var(--bs-secondary-color);
}

.section-header .btn {
    flex: 0 0 auto;
    white-space: nowrap;
}

.guide-resources {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 0.85rem;
}

.guide-card {
    display: grid;
    grid-template-columns: 50px minmax(0, 1fr);
    gap: 0.95rem;
    min-height: 132px;
    padding: 1.1rem;
    color: var(--bs-body-color);
    text-decoration: none;
    background:
            linear-gradient(180deg, rgba(var(--bs-primary-rgb), 0.07), rgba(var(--bs-primary-rgb), 0)),
            rgba(10, 22, 34, 0.74);
    border: 1px solid rgba(94, 125, 153, 0.2);
    border-radius: 8px;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.04);
    transition: border-color 0.16s ease, background-color 0.16s ease, transform 0.16s ease;
}

.guide-card:hover,
.guide-card:focus-visible {
    color: var(--bs-body-color);
    background-color: rgba(var(--bs-primary-rgb), 0.08);
    border-color: rgba(var(--bs-primary-rgb), 0.65);
    transform: translateY(-2px);
}

.guide-card:focus-visible {
    outline: 0;
    box-shadow:
            0 0 0 0.2rem rgba(var(--bs-primary-rgb), 0.25),
            inset 0 1px 0 rgba(255, 255, 255, 0.04);
}

.guide-card-icon {
    display: grid;
    width: 50px;
    height: 50px;
    place-items: center;
    color: #7fc7ff;
    background: rgba(89, 137, 181, 0.2);
    border-radius: 8px;
    font-size: 1.35rem;
}

.guide-card-title,
.guide-card-description {
    display: block;
}

.guide-card-title {
    font-size: 1rem;
    font-weight: 800;
    line-height: 1.3;
}

.guide-card-description {
    margin-top: 0.45rem;
    color: var(--bs-secondary-color);
    font-size: 0.87rem;
    line-height: 1.45;
}

.server-types {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(190px, 1fr));
    gap: 0.85rem;
    margin-top: 1.25rem;
}

.server-type-card {
    display: grid;
    grid-template-columns: 58px minmax(0, 1fr);
    align-items: center;
    gap: 1rem;
    min-height: 132px;
    padding: 1.1rem;
    color: var(--bs-body-color);
    text-decoration: none;
    background:
            linear-gradient(180deg, rgba(var(--bs-primary-rgb), 0.07), rgba(var(--bs-primary-rgb), 0)),
            rgba(10, 22, 34, 0.74);
    border: 1px solid rgba(94, 125, 153, 0.2);
    border-radius: 8px;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.04);
    transition: border-color 0.16s ease, background-color 0.16s ease, transform 0.16s ease;
}

.server-type-card:hover,
.server-type-card:focus-visible {
    color: var(--bs-body-color);
    background-color: rgba(var(--bs-primary-rgb), 0.08);
    border-color: rgba(var(--bs-primary-rgb), 0.65);
    transform: translateY(-2px);
}

.server-type-card:focus-visible {
    outline: 0;
    box-shadow:
            0 0 0 0.2rem rgba(var(--bs-primary-rgb), 0.25),
            inset 0 1px 0 rgba(255, 255, 255, 0.04);
}

.server-type-icon {
    display: grid;
    width: 58px;
    height: 58px;
    place-items: center;
    color: #7fc7ff;
    background: rgba(89, 137, 181, 0.2);
    border-radius: 8px;
    font-size: 1.7rem;
}

.server-type-icon img {
    max-width: 46px;
    max-height: 46px;
    object-fit: contain;
}

.server-type-card h3 {
    margin: 0;
    font-size: 1.05rem;
    font-weight: 800;
}

.server-type-card p {
    margin: 0.35rem 0 0;
    color: var(--bs-secondary-color);
    font-size: 0.87rem;
    line-height: 1.45;
}

@media (max-width: 991.98px) {
    .site-footer-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .site-footer-brand {
        grid-column: 1 / -1;
    }

    .home-games-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

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

    .home-features-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }

    .features-page-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 575.98px) {
    .site-footer {
        padding: 2.25rem 0 1.6rem;
    }

    .site-footer-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .site-footer-bottom {
        margin-top: 1.5rem;
    }

    .home-game-search {
        padding: 2rem 0 2.5rem;
    }

    .home-games-grid {
        grid-template-columns: 1fr;
    }

    .home-features-grid {
        grid-template-columns: 1fr;
    }

    .home-game-search-form {
        grid-template-columns: 20px minmax(0, 1fr) 32px;
        min-height: 52px;
        gap: 0.55rem;
    }

    .home-popular-searches {
        justify-content: flex-start;
    }

    .home-popular-searches a {
        min-width: 0;
    }

    .section-header {
        flex-direction: column;
    }

    .section-header .btn {
        width: 100%;
    }

    .guide-card {
        grid-template-columns: 44px minmax(0, 1fr);
        min-height: 110px;
    }

    .guide-card-icon {
        width: 44px;
        height: 44px;
        font-size: 1.15rem;
    }

    .location-card {
        grid-template-columns: 1fr;
        gap: 1rem;
        min-height: 0;
        padding: 1.25rem;
    }

    .location-card h2 {
        font-size: 1.35rem;
    }

    .location-list {
        max-width: none;
    }

    .location-map {
        min-height: 180px;
        order: -1;
    }

    .location-link {
        margin-top: 0.3rem;
    }

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

    .locations-card {
        min-height: 0;
        padding: 1.1rem;
    }

    .locations-card-header {
        grid-template-columns: 44px minmax(0, 1fr);
    }

    .locations-status-group {
        grid-column: 2;
        justify-items: start;
    }

    .server-type-card {
        grid-template-columns: 48px minmax(0, 1fr);
        min-height: 110px;
    }

    .server-type-icon {
        width: 48px;
        height: 48px;
        font-size: 1.35rem;
    }
}

/* Responsive foundations shared by public and account pages. */
html,
body {
    max-width: 100%;
    overflow-x: clip;
}

img,
svg {
    max-width: 100%;
}

img {
    height: auto;
}

main,
main .container,
header .container,
footer .container,
.row > *,
.navbar-collapse {
    min-width: 0;
}

main table {
    display: block;
    width: 100%;
    max-width: 100%;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
}

pre,
code,
kbd,
.alert,
.panel,
.card,
.list-group-item {
    max-width: 100%;
    overflow-wrap: anywhere;
}

.pagination,
.cta-buttons {
    flex-wrap: wrap;
}

.header-content,
.home-game-search,
.home-game-search-inner,
.home-section-header,
.home-games-grid,
.home-game-card,
.location-card,
.free-plan,
.plans,
.plan {
    min-width: 0;
    max-width: 100%;
}

.header-content .mw-50 {
    min-width: 0;
}

.skip-link {
    position: fixed;
    top: 0.75rem;
    left: 0.75rem;
    z-index: 1100;
    padding: 0.75rem 1rem;
    color: #fff;
    background: var(--bs-primary);
    border-radius: 0.375rem;
    transform: translateY(-200%);
}

.skip-link:focus {
    transform: translateY(0);
}

@media (prefers-reduced-motion: reduce) {
    html:focus-within {
        scroll-behavior: auto !important;
    }

    *,
    *::before,
    *::after {
        scroll-behavior: auto !important;
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
}

.header-content h1,
.header-content p,
.feature-item,
.feature-item p,
.home-section-header > *,
.home-game-card-body,
.home-game-card-body > *,
.plan-header > div,
.free-plan-header > div {
    overflow-wrap: anywhere;
}

@media (max-width: 991.98px) {
    .navbar {
        height: auto;
        min-height: 72px;
    }

    .navbar-brand img {
        width: min(170px, 52vw);
    }

    .navbar-collapse.show,
    .navbar-collapse.collapsing {
        width: 100%;
        margin-top: 0.5rem;
        padding: 0.75rem;
        border: 1px solid rgba(var(--bs-border-color-rgb), 0.35);
        border-radius: 8px;
    }

    [data-bs-theme="light"] .navbar-collapse.show,
    [data-bs-theme="light"] .navbar-collapse.collapsing {
        background: rgba(255, 255, 255, 0.98);
    }

    header .background-image {
        width: 100%;
        opacity: 0.72;
    }

    header .background-image::after {
        width: 100%;
        background: linear-gradient(
                90deg,
                var(--bs-body-bg) 0%,
                rgba(var(--bs-body-bg-rgb), 0.94) 45%,
                rgba(var(--bs-body-bg-rgb), 0.7) 100%
        );
    }

    .header-content .mw-50 {
        max-width: min(100%, 680px);
    }

    .features {
        flex-wrap: wrap;
        gap: 1rem 2rem;
    }

    .feature-item {
        flex: 1 1 180px;
        min-width: 0;
    }

    .location-card {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .location-map {
        order: -1;
    }
}

@media (max-width: 767.98px) {
    header .background-image-default {
        background-image: url("../../img/background-mobile.webp");
    }

    [data-bs-theme="light"] header .background-image-default {
        background-image: url("../../img/background-light-mobile.webp");
    }

    .header-content {
        padding-top: 0;
        padding-bottom: 1.5rem;
    }

    .header-content .pt-5 {
        padding-top: 1.5rem !important;
    }

    .header-content h1 {
        max-width: 100%;
        font-size: clamp(1.75rem, 8vw, 2.35rem) !important;
        line-height: 1.12;
        overflow-wrap: anywhere;
    }

    .features {
        display: grid;
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .feature-item {
        margin-bottom: 0;
    }

    .feature-item > i {
        flex: 0 0 auto;
        font-size: 1.75rem;
    }

    .feature-item > div {
        min-width: 0;
        margin-left: 0.75rem;
    }

    .page-nav .container {
        max-width: 100%;
        padding: 0;
    }

    .page-nav .navbar-nav {
        width: 100%;
        gap: 1rem;
        padding: 0 0.75rem;
        scrollbar-width: thin;
    }

    .home-features-grid,
    .features-page-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .home-section-header {
        align-items: flex-start;
        flex-direction: column;
    }

    .home-game-search-inner,
    .home-game-search-form {
        width: 100%;
    }

    .games-result-count {
        white-space: normal;
    }

    .locations-page,
    .home-features-showcase.mt-5 {
        margin-top: 1.5rem !important;
    }

    .container.mt-5.pt-5 {
        margin-top: 1.5rem !important;
        padding-top: 0 !important;
    }

    
    .cta-buttons .btn {
        width: 100% !important;
    }
}

@media (max-width: 575.98px) {
    .container {
        --bs-gutter-x: 1.5rem;
    }

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

    .feature-item {
        flex-basis: auto;
    }

    .home-game-search {
        padding-top: 1.5rem;
    }

    .home-section-header a {
        white-space: normal;
    }

    .home-feature-card,
    .plan {
        min-height: 0;
        padding: 1rem;
    }

    .home-features-grid,
    .features-page-grid {
        grid-template-columns: 1fr;
    }

    .plans,
    .guide-resources {
        grid-template-columns: minmax(0, 1fr);
    }

    .free-plan-button,
    .free-plan .btn {
        width: 100%;
        min-width: 0;
    }

    .location-row {
        align-items: flex-start;
    }

    .location-name {
        overflow-wrap: anywhere;
    }

    .pagination {
        gap: 0.25rem;
    }

    .pagination .page-link {
        border-radius: var(--bs-pagination-border-radius);
    }

    footer {
        margin-top: 3rem;
    }

    .site-footer-controls,
    .site-footer-controls .dropdown,
    .site-theme-toggle,
    .language-selector-button {
        width: 100%;
    }

    .site-theme-toggle,
    .language-selector-button {
        justify-content: center;
    }
}
