* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    overflow-x: hidden;
    scrollbar-width: none;
}

body {
    display: flex;
    flex-direction: column;
    min-width: 1200px;
    min-height: 100vh;
    min-height: 100dvh;
    margin: 0;
    padding-top: 90px;
    overflow-x: hidden;
    -ms-overflow-style: none;
    background: #f0f6ff;
    color: #243b5c;
    font-family: "PingFang SC", "Microsoft YaHei", Arial, sans-serif;
}

body::-webkit-scrollbar {
    display: none;
}

body.error404 {
    min-height: 100dvh;
}

.site-main,
main {
    flex: 1 0 auto;
    margin-bottom: 0;
    padding-bottom: 0;
}

.screen-reader-text {
    position: absolute;
    width: 1px;
    height: 1px;
    margin: -1px;
    padding: 0;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    clip-path: inset(50%);
    border: 0;
    white-space: nowrap;
}

body.menu-open {
    overflow: hidden;
}

a {
    color: inherit;
    text-decoration: none;
}

img {
    display: block;
    max-width: 100%;
    object-fit: contain;
}

button {
    font: inherit;
}

section {
    scroll-margin-top: 100px;
}

.container {
    width: 1200px;
    margin: 0 auto;
}

.site-header {
    position: fixed;
    top: 0;
    left: 0;
    z-index: 50;
    width: 100%;
    height: 90px;
    background: #fff;
    backdrop-filter: blur(10px);
}

.admin-bar .site-header {
    top: 32px;
}

.site-header__inner {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    width: 1200px;
    height: 90px;
    margin: 0 auto;
}

.site-logo img {
    display: block;
    width: 112px;
    height: 41px;
    object-fit: contain;
}

.site-nav__list {
    display: flex;
    align-items: center;
    gap: 30px;
    height: 90px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.site-nav {
    margin-left: auto;
    margin-right: 72px;
}

.site-nav a {
    position: relative;
    display: inline-flex;
    align-items: center;
    height: auto;
    padding: 24px 0 22px;
    color: #243b5c;
    font-size: 18px;
    font-weight: 600;
    line-height: 20px;
    transition: color 0.25s ease;
}

.site-nav a::after {
    position: absolute;
    left: 50%;
    bottom: 12px;
    width: 26px;
    height: 2px;
    border-radius: 2px;
    background: #0b5ea8;
    content: "";
    transform: translateX(-50%) scaleX(0);
    transition: transform 0.25s ease;
}

.site-nav a:hover {
    color: #0b5ea8;
}

.site-nav a:hover::after {
    transform: translateX(-50%) scaleX(1);
}

.site-header__actions {
    display: flex;
    align-items: center;
    gap: 18px;
}

.register-button,
.gradient-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    height: 32px;
    min-width: 100px;
    padding: 0 18px;
    border-radius: 24px;
    background: linear-gradient(180deg, #33b8ff 0%, #168bff 48%, #256bff 100%);
    box-shadow: 0 6px 14px rgba(22, 123, 238, 0.28);
    color: #fff;
    font-size: 16px;
    font-weight: 700;
    transition: box-shadow 0.25s ease, transform 0.25s ease, background 0.25s ease;
}

.register-button:hover,
.gradient-button:hover {
    background: linear-gradient(180deg, #2ca8f8 0%, #147bee 48%, #235bea 100%);
    box-shadow: 0 8px 18px rgba(22, 123, 238, 0.35);
    color: #fff;
    transform: translateY(-1px);
}

.mobile-menu-toggle,
.mobile-nav-panel {
    display: none;
}

.hero {
    display: flex;
    align-items: center;
    justify-content: space-between;
    min-height: 470px;
}

.hero__copy {
    width: 464px;
}

.hero__copy h1 {
    margin: 0;
    color: #163d73;
    font-size: 56px;
    font-weight: 800;
    line-height: 74px;
    white-space: nowrap;
}

.hero__copy p {
    margin: 18px 0 0;
    color: #4b6388;
    font-size: 16px;
    font-weight: 500;
    line-height: 30px;
}

.hero__partners {
    display: flex;
    gap: 18px;
    margin-top: 24px;
}

.hero__partners span {
    display: inline-flex;
    align-items: center;
    height: 34px;
    padding: 0 18px 0 15px;
    border-radius: 999px;
    background: linear-gradient(180deg, #ffffff 0%, #eef8ff 100%);
    color: #0b74bd;
    font-size: 15px;
    font-weight: 800;
    letter-spacing: 0.4px;
    box-shadow: 0 6px 14px rgba(23, 156, 255, 0.12);
}

.hero__partners span::before {
    content: "";
    width: 6px;
    height: 6px;
    margin-right: 8px;
    border-radius: 50%;
    background: #179cff;
    box-shadow: 0 0 0 4px rgba(23, 156, 255, 0.12);
}

.hero__badge-image {
    width: 100%;
    max-width: 464px;
    aspect-ratio: 2296 / 410;
    height: auto;
    margin-top: 18px;
    object-fit: contain;
}

.hero__media {
    width: 620px;
    aspect-ratio: 620 / 470;
    height: 470px;
}

.hero__media img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.platform-card {
    min-height: 240px;
    padding: 38px 50px 18px;
    border-radius: 22px;
    background: #fff;
    box-shadow: 0 8px 24px rgba(80, 130, 180, 0.15);
}

.platform-entry-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    border-bottom: 1px solid #cfe6ff;
}

.platform-entry {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    min-height: 56px;
    color: #173d72;
    font-size: 16px;
    font-weight: 700;
}

.platform-entry + .platform-entry {
    border-left: 1px solid #cfe6ff;
}

.platform-entry img {
    width: 28px;
    height: 28px;
}

.platform-entry b {
    color: #179cff;
}

.platform-card__note {
    margin: 20px 0 16px;
    text-align: center;
    color: #173d72;
    font-size: 15px;
    line-height: 24px;
}

.contact-card-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 24px;
}

.contact-card {
    display: flex;
    align-items: center;
    gap: 14px;
    min-height: 68px;
    padding: 0 18px;
    border-radius: 16px;
    background: #e8f4ff;
    color: #173d72;
}

.contact-card img {
    width: 40px;
    height: 40px;
}

.contact-card strong {
    flex: 1;
    font-size: 14px;
}

.copy-button,
.outline-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    height: 36px;
    padding: 0 18px;
    border: 1px solid #0b5ea8;
    border-radius: 18px;
    background: #fff;
    color: #0b5ea8;
    font-weight: 700;
    cursor: pointer;
}

.page-section {
    padding: 80px 0 0;
}

.section-title {
    margin-bottom: 40px;
    text-align: center;
}

.section-title h1,
.section-title h2 {
    position: relative;
    display: inline-flex;
    align-items: center;
    gap: 24px;
    margin: 0;
    color: #0b74bd;
    font-size: 40px;
    font-weight: 800;
    line-height: 52px;
}

.section-title h1::before,
.section-title h1::after,
.section-title h2::before,
.section-title h2::after {
    flex: 0 0 auto;
    width: 136px;
    height: 12px;
    border-radius: 2px;
    background:
        linear-gradient(45deg, transparent 44%, #2fa8ff 44% 56%, transparent 56%) 0 2px / 7px 7px no-repeat,
        linear-gradient(-45deg, transparent 44%, #2fa8ff 44% 56%, transparent 56%) 0 2px / 7px 7px no-repeat,
        linear-gradient(45deg, transparent 44%, #66c6ff 44% 56%, transparent 56%) 9px 2px / 7px 7px no-repeat,
        linear-gradient(-45deg, transparent 44%, #66c6ff 44% 56%, transparent 56%) 9px 2px / 7px 7px no-repeat,
        linear-gradient(45deg, transparent 44%, #8fd6ff 44% 56%, transparent 56%) 18px 2px / 7px 7px no-repeat,
        linear-gradient(-45deg, transparent 44%, #8fd6ff 44% 56%, transparent 56%) 18px 2px / 7px 7px no-repeat,
        linear-gradient(45deg, transparent 44%, #b9e8ff 44% 56%, transparent 56%) 27px 2px / 7px 7px no-repeat,
        linear-gradient(-45deg, transparent 44%, #b9e8ff 44% 56%, transparent 56%) 27px 2px / 7px 7px no-repeat,
        linear-gradient(90deg, #4bb5ff 0%, rgba(120, 200, 255, 0.35) 65%, transparent 100%) left center / 100% 2px no-repeat;
    content: "";
}

.section-title h1::before,
.section-title h2::before {
    transform: scaleX(-1);
}

.section-title p {
    margin: 8px 0 0;
    color: #333;
    font-size: 22px;
    font-weight: 500;
    line-height: 30px;
}

.download-cards {
    display: flex;
    justify-content: space-between;
}

.download-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 286px;
    min-height: 550px;
    padding: 34px 22px 30px;
    border-radius: 18px;
    background: #fff;
    box-shadow: 0 8px 24px rgba(80, 130, 180, 0.15);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.download-card:hover {
    box-shadow: 0 14px 34px rgba(80, 130, 180, 0.25);
    transform: scale(1.04);
}

.download-card img {
    display: block;
    width: 179px;
    aspect-ratio: 179 / 238;
    height: 238px;
    object-fit: contain;
}

.download-card h3 {
    width: 180px;
    margin: 20px 0 0;
    color: #24446f;
    text-align: center;
    font-size: 24px;
    line-height: 35px;
}

.download-card p {
    min-height: 120px;
    margin: 14px 0 24px;
    color: #243b5c;
    font-size: 14px;
    line-height: 24px;
}

.download-card__button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 140px;
    height: 42px;
    border: 1px solid #0b5ea8;
    border-radius: 20px;
    color: #0b5ea8;
    font-size: 16px;
    font-weight: 700;
    transition: all 0.25s ease;
}

.download-card__button:hover {
    border-color: transparent;
    background: radial-gradient(85.99% 191.66% at 50% -32.28%, #b6e9ff 0%, #73d5ff 26.77%, #20a0ff 45.96%, #3d72ff 100%);
    color: #fff;
}

.page-section--about {
    position: relative;
    margin-top: 80px;
    padding: 80px 0 98px;
    background: transparent;
    overflow: hidden;
}

.page-section--about::before {
    display: none;
}

.page-section--about > * {
    position: relative;
    z-index: 1;
}

.about-bg-wrap {
    position: relative;
}

.about-panel {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    gap: 0;
    min-height: 452px;
    margin-top: 78px;
    overflow: visible;
    padding: 60px 500px 48px 112px;
    border-radius: 26px;
    background: #fff;
    box-shadow: 0 14px 35px rgba(27, 79, 140, 0.16);
}

.about-panel::before {
    position: absolute;
    top: -44px;
    left: 50%;
    z-index: -1;
    width: 100vw;
    height: calc(100% + 88px);
    background: linear-gradient(180deg, #4aa9ff 0%, #2574f4 100%);
    content: "";
    transform: translateX(-50%);
}

.about-panel::after {
    position: absolute;
    inset: 0;
    z-index: -1;
    border-radius: 26px;
    background: #fff;
    content: "";
}

.about-tabs,
.about-panel__content,
.about-panel__image {
    position: relative;
    z-index: 1;
}

.about-tabs {
    position: absolute;
    top: 50%;
    left: -44px;
    z-index: 5;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    gap: 22px;
    transform: translateY(-50%);
}

.about-tabs::before {
    display: none !important;
}

.about-tab,
.game-tab,
.dynamic-tabs button {
    border: 0;
    cursor: pointer;
}

.about-tab {
    position: relative;
    z-index: 1;
    display: flex;
    align-items: center;
    width: 150px;
    height: 44px;
    min-height: 44px;
    padding: 0;
    border-radius: 999px;
    background: transparent;
    box-shadow: none;
    color: #173d72;
    font-size: 13px;
    font-weight: 800;
    transition: transform 0.25s ease;
}

.about-tab__icon {
    position: relative;
    z-index: 2;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 52px;
    height: 52px;
    flex: 0 0 52px;
    border-radius: 50%;
    background: linear-gradient(180deg, #e9f7ff 0%, #96d7ff 100%);
    box-shadow:
        0 8px 18px rgba(23, 156, 255, 0.22),
        inset 0 1px 0 rgba(255, 255, 255, 0.95);
}

.about-tab__icon img {
    width: 30px;
    height: 30px;
    object-fit: contain;
}

.about-tab__text {
    position: relative;
    z-index: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    min-width: 108px;
    height: 42px;
    margin-left: -14px;
    padding: 0 22px 0 26px;
    border-radius: 0 999px 999px 0;
    background: #fff;
    box-shadow: 0 10px 24px rgba(30, 116, 210, 0.13);
    color: #173d72;
    line-height: 42px;
    white-space: nowrap;
    transition: background 0.25s ease, color 0.25s ease, box-shadow 0.25s ease;
}

.about-tabs > h3,
.game-tabs > h3 {
    margin: 0;
    color: inherit;
    font: inherit;
    line-height: inherit;
}

.about-tab.active {
    transform: translateX(4px);
}

.about-tab.active .about-tab__text {
    background: linear-gradient(180deg, #4db8ff 0%, #168bff 100%);
    box-shadow: 0 12px 26px rgba(23, 119, 255, 0.3);
    color: #fff;
}

.about-tab.active .about-tab__icon {
    background: linear-gradient(180deg, #ffffff 0%, #d9f1ff 100%);
    box-shadow:
        0 8px 18px rgba(23, 156, 255, 0.28),
        inset 0 1px 0 rgba(255, 255, 255, 0.95);
}

.about-tab:hover {
    transform: translateX(4px);
}

.about-heading {
    display: flex;
    align-items: baseline;
    gap: 16px;
}

.about-heading strong,
.about-heading h3,
.game-panel__body strong,
.game-panel__body h3 {
    display: block;
    margin: 0;
    color: #0b74bd;
    font-size: 40px;
    font-weight: 800;
    line-height: 56px;
}

.about-heading span,
.game-panel__body span {
    color: #8bbff0;
    font-size: 30px;
    font-style: italic;
    font-weight: 800;
}

.game-panel__body p {
    margin: 24px 0 0;
    color: #243b5c;
    font-size: 14px;
    line-height: 30px;
}

.about-text {
    max-height: 250px;
    margin-top: 22px;
    overflow-y: auto;
    padding-right: 14px;
    scrollbar-color: #168bff rgba(22, 139, 255, 0.12);
    scrollbar-width: thin;
}

.about-text::-webkit-scrollbar {
    width: 4px;
}

.about-text::-webkit-scrollbar-track {
    border-radius: 999px;
    background: rgba(22, 139, 255, 0.12);
}

.about-text::-webkit-scrollbar-thumb {
    border-radius: 999px;
    background: linear-gradient(180deg, #67c4ff 0%, #168bff 100%);
}

.about-text::-webkit-scrollbar-thumb:hover {
    background: linear-gradient(180deg, #33b8ff 0%, #0b74bd 100%);
}

.about-text::-webkit-scrollbar-button {
    display: none;
}

.about-text p {
    margin: 0 0 12px;
    color: #243b5c;
    font-size: 14px;
    line-height: 26px;
}

.about-text p:last-child {
    margin-bottom: 0;
}

.about-panel__image {
    position: absolute;
    right: 24px;
    bottom: 0;
    width: 480px;
    aspect-ratio: 600 / 560;
    height: 430px;
    object-fit: contain;
    object-position: right bottom;
}

.game-tabs {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-bottom: 32px;
    padding: 6px;
    border-radius: 24px;
    background: #e8f6ff;
}

@media (min-width: 769px) {
#games .section-title {
    margin: 44px 0 26px;
}

#games .section-title h2 {
    gap: 18px;
    color: #0b74bd;
}

#games .section-title h2::before,
#games .section-title h2::after {
    width: 165px;
}

#games .section-title p {
    margin-top: 8px;
    color: #333;
}

#games .game-tabs {
    align-items: center;
    width: max-content;
    max-width: calc(100% - 32px);
    height: 56px;
    margin: 0 auto 28px;
    padding: 8px 20px;
    gap: 6px;
    border-radius: 999px;
    background: #e7f5ff;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.7);
}

.game-tab {
    width: 154px;
    height: 40px;
    border-radius: 20px;
    background: transparent;
    color: #3f5075;
    font-size: 14px;
    font-weight: 700;
}

#games .game-tab {
    width: 88px;
    min-width: 88px;
    height: 40px;
    border-radius: 999px;
    color: #3f5075;
    font-size: 14px;
    font-weight: 600;
    transition: background 0.25s ease, color 0.25s ease, box-shadow 0.25s ease, transform 0.25s ease;
}

#games .game-tab:hover {
    background: rgba(255, 255, 255, 0.64);
    color: #1570b7;
    box-shadow: 0 6px 14px rgba(80, 130, 180, 0.1);
}

#games .game-tab.active {
    background: #fff;
    color: #1570b7;
    box-shadow: 0 8px 18px rgba(80, 130, 180, 0.16);
}
}

.game-tab.active,
.game-tab:hover,
.dynamic-tabs button.active,
.dynamic-tabs button:hover {
    background: #fff;
    color: #1570b7;
    box-shadow: 0 6px 14px rgba(80, 130, 180, 0.12);
}

.game-panel {
    position: relative;
    min-height: 545px;
}

.game-panel > img {
    position: absolute;
    left: 0;
    top: 12px;
    z-index: 2;
    width: 610px;
    aspect-ratio: 610 / 520;
    height: 520px;
    object-fit: contain;
}

.game-panel__body {
    position: absolute;
    right: 0;
    top: 60px;
    z-index: 1;
    width: 797px;
    min-height: 445px;
    padding: 96px 60px 60px 310px;
    border: 1px solid #fff;
    border-radius: 30px;
    background: linear-gradient(180deg, #fff 0%, #f3faff 100%);
    box-shadow: 0 8px 12px rgba(159, 177, 191, 0.25);
}

.faq-list,
.dynamic-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

#faq .faq-item,
#faq .faq-question,
#faq .faq-answer {
    background: #fff !important;
}

.faq-item,
.dynamic-item {
    overflow: hidden;
    border-radius: 16px;
    background: #fff !important;
}

.faq-question,
.dynamic-head {
    appearance: none;
    -webkit-appearance: none;
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    min-height: 68px;
    padding: 0 22px;
    border: 0;
    background: #fff !important;
    color: #173d72;
    cursor: pointer;
    font-size: 16px;
    font-weight: 700;
    text-align: left;
}

.faq-question {
    height: 48px;
    min-height: 48px;
    padding: 0 22px;
}

.faq-question span {
    display: flex;
    align-items: center;
    gap: 8px;
}

.faq-question h3 {
    margin: 0;
    color: inherit;
    font-size: inherit;
    font-weight: inherit;
    line-height: inherit;
}

.faq-subtitle {
    margin: 0 0 12px;
    color: #173d72;
    font-size: 18px;
    font-weight: 700;
    line-height: 28px;
}

.faq-question b {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background: #e8f4ff;
    color: #1570b7;
}

.faq-question i,
.dynamic-head i,
.dynamic-toggle i {
    width: 18px;
    height: 18px;
    background: url("../icons/icon-arrow-down.svg") center / contain no-repeat;
    transition: transform 0.32s ease;
}

.faq-item.open .faq-question i,
.dynamic-item.open .dynamic-head i,
.dynamic-item.open .dynamic-toggle i {
    transform: rotate(180deg);
}

.faq-answer,
.dynamic-body {
    display: block;
    max-height: 0;
    overflow: hidden;
    border-top: 0 solid transparent;
    padding: 0 22px;
    background: #fff !important;
    color: #243b5c;
    font-size: 14px;
    line-height: 28px;
    opacity: 0;
    transition:
        max-height 0.42s cubic-bezier(0.22, 1, 0.36, 1),
        opacity 0.28s ease,
        padding 0.36s ease,
        border-color 0.36s ease;
}

.faq-item.open .faq-answer,
.dynamic-item.open .dynamic-body {
    max-height: 800px;
    border-top: 1px solid #cfe6ff;
    padding: 16px 22px 20px;
    opacity: 1;
}

.dynamic-tabs {
    display: flex;
    justify-content: center;
    gap: 8px;
    width: max-content;
    margin: -20px auto 28px;
    padding: 4px;
    border-radius: 24px;
    background: #e8f6ff;
}

.dynamic-tabs button {
    width: 128px;
    height: 40px;
    border-radius: 20px;
    background: transparent;
    color: #3f5075;
    font-size: 14px;
    font-weight: 700;
}

.dynamic-title-wrap {
    margin: 0;
    color: inherit;
    font: inherit;
    line-height: inherit;
}

.dynamic-head time {
    display: flex;
    align-items: center;
    width: 120px;
    border-right: 1px solid #cfe6ff;
    color: #333;
}

.dynamic-head time strong {
    margin-right: 8px;
    color: #1570b7;
    font-size: 30px;
    line-height: 32px;
}

.dynamic-title {
    flex: 1;
    margin: 0;
    padding-left: 24px;
    color: inherit;
    font-size: inherit;
    font-weight: inherit;
    line-height: inherit;
}

.dynamic-toggle {
    display: block;
    width: 100%;
    border: 0;
    background: transparent;
    color: inherit;
    cursor: pointer;
    font: inherit;
    padding: 0;
    text-align: left;
}

.news-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.news-grid::before,
.news-grid::after {
    display: none;
    content: none;
}

.news-card {
    border-radius: 14px;
    background: #fff;
    box-shadow: 0 8px 20px rgba(80, 130, 180, 0.12);
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.news-card:hover {
    box-shadow: 0 12px 28px rgba(80, 130, 180, 0.18);
    transform: translateY(-4px);
}

.news-card a {
    display: block;
    padding: 20px;
}

.news-card img {
    display: block;
    width: 100%;
    aspect-ratio: 16 / 9;
    height: 190px;
    border-radius: 12px;
    object-fit: cover;
}

.news-card h3 {
    display: -webkit-box;
    min-height: 48px;
    margin: 18px 0 12px;
    overflow: hidden;
    color: #173d72;
    font-size: 16px;
    font-weight: 700;
    line-height: 24px;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
}

.news-card__meta {
    display: flex;
    align-items: center;
    gap: 12px;
    color: #333;
    font-size: 14px;
}

.news-card__meta span {
    color: #1570b7;
}

.news-card__meta span::after {
    display: inline-block;
    width: 1px;
    height: 14px;
    margin-left: 12px;
    background: #b8cce5;
    vertical-align: -2px;
    content: "";
}

.news-card p {
    margin: 12px 0 0;
    color: #4b6388;
    font-size: 14px;
    line-height: 24px;
}

@media (min-width: 769px) {
    .page-section {
        padding: 56px 0 60px;
    }

    .page-section--about {
        overflow: visible;
        margin-top: 0;
        padding: 56px 0 0;
    }

    .section-title,
    #games .section-title {
        margin: 0 0 30px;
    }

    .section-title h1,
    .section-title h2,
    #games .section-title h2 {
        margin-top: 0;
        margin-bottom: 8px;
        font-size: 32px;
        font-weight: 700;
        line-height: 42px;
    }

    .section-title p,
    #games .section-title p {
        margin-top: 0;
        margin-bottom: 0;
        font-size: 14px;
        line-height: 22px;
    }

    .download-cards,
    .faq-list,
    .dynamic-list,
    .news-grid {
        margin-top: 0;
    }

    .page-section--about .section-title {
        position: relative;
        z-index: 3;
        margin-bottom: 36px;
    }

    .page-section--about .section-title h2 {
        margin-bottom: 8px;
    }

    .page-section--about .section-title p {
        margin: 0;
        line-height: 22px;
    }

    .about-bg-wrap {
        position: relative;
        z-index: 1;
        padding: 44px 0 72px;
        background: linear-gradient(180deg, #42a9ff 0%, #1678ef 100%);
    }

    .about-panel {
        position: relative;
        z-index: 2;
        margin: 0 auto;
    }

    .about-panel::before {
        display: none;
    }

    #games .game-tabs,
    .game-tabs {
        margin-bottom: 28px;
    }

    .game-panel {
        margin-top: 0;
    }

    .dynamic-tabs {
        margin: 20px auto 24px;
    }
}

.site-footer {
    flex-shrink: 0;
    margin-top: auto;
    margin-bottom: 0 !important;
    padding: 46px 0 34px;
    overflow: hidden;
    background: #111827;
    color: #fff;
}

.site-footer__inner {
    width: 1200px;
    margin: 0 auto;
    margin-bottom: 0 !important;
}

.footer-main {
    display: grid;
    grid-template-columns: minmax(0, 560px) 1fr;
    gap: 80px;
    align-items: start;
    padding-top: 8px;
}

.footer-brand img {
    display: block;
    width: 176px;
    aspect-ratio: 228 / 88;
    height: 46px;
    margin-bottom: 18px;
    object-fit: contain;
    object-position: left center;
}

.footer-brand p {
    margin: 0;
    color: rgba(255, 255, 255, 0.88);
    font-size: 14px;
    font-weight: 600;
    line-height: 28px;
}

.footer-socials {
    display: flex;
    gap: 12px;
    margin-top: 18px;
}

.footer-socials span {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 26px;
    height: 26px;
    border-radius: 50%;
    background: #179cff;
    color: #fff;
    font-size: 13px;
    font-weight: 800;
}

.footer-socials span:nth-child(1) {
    background: #ff5a86;
}

.footer-socials span:nth-child(2) {
    background: #000;
}

.footer-socials span:nth-child(3) {
    background: linear-gradient(135deg, #feda75, #d62976, #4f5bd5);
}

.footer-socials span:nth-child(4) {
    background: #ff0000;
}

.footer-socials span:nth-child(5) {
    background: #1877f2;
}

.footer-socials span:nth-child(6) {
    background: #bd081c;
}

.footer-friend-links h3,
.footer-friend-links h2,
.footer-friend-links strong {
    display: block;
    margin: 0 0 20px;
    color: #fff;
    font-size: 20px;
    line-height: 28px;
}

.footer-friend-links {
    padding-top: 56px;
    display: none;
}

.footer-friend-links a {
    color: rgba(255, 255, 255, 0.9);
    font-size: 14px;
    font-weight: 600;
}

.footer-certificates {
    position: relative;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    gap: 28px;
    margin-top: 34px;
    padding-top: 20px;
}

.footer-certificates::before {
    position: absolute;
    top: 0;
    left: 50%;
    width: 100vw;
    max-width: none;
    border-top: 1px dashed rgba(255, 255, 255, 0.12);
    content: "";
    transform: translateX(-50%);
}

.footer-certificates img {
    display: block;
    width: auto;
    max-width: 190px;
    height: 46px;
    object-fit: contain;
    opacity: 0.9;
}

.footer-license {
    margin: 18px 0 0;
    color: #7981a4;
    text-align: center;
    font-size: 14px;
    font-weight: 400;
    line-height: 26px;
}

.footer-bottom {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 14px;
    margin-top: 24px;
}

.footer-bottom a,
.footer-bottom span {
    color: #7981a4;
    font-size: 14px;
}

.site-footer a,
.footer-bottom a,
.footer-bottom span {
    transition: color 0.25s ease;
}

.site-footer a:hover,
.footer-bottom a:hover {
    color: #179cff;
}

.footer-copyright {
    color: #7981a4;
    font-size: 14px;
}

.footer-copyright {
    margin-top: 18px;
    margin-bottom: 0 !important;
    padding-bottom: 0;
    text-align: center;
}

/* Accessibility contrast refinements */
.breadcrumb,
.article-meta,
.empty-message,
.news-card p {
    color: #445b78;
}

.breadcrumb a,
.breadcrumb a:visited,
.section-title p a,
.section-title p a:visited,
.news-card__meta span,
.primary-link {
    color: #0b5ea8 !important;
}

.breadcrumb a:hover,
.section-title p a:hover,
.primary-link:hover {
    color: #084b86 !important;
}

.footer-license,
.footer-copyright {
    color: #d7e6f5;
}

.footer-bottom a,
.footer-bottom span {
    color: #ffffff;
}

.site-footer a:hover,
.footer-bottom a:hover {
    color: #8fd4ff;
}

.back-to-top {
    position: fixed;
    right: 28px;
    bottom: 32px;
    z-index: 80;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 46px;
    height: 46px;
    border: 0;
    border-radius: 50%;
    background: linear-gradient(180deg, #2fe7ff 0%, #1593ff 100%);
    box-shadow: 0 8px 20px rgba(21, 147, 255, 0.32);
    color: #fff;
    cursor: pointer;
    font-size: 24px;
    font-weight: 800;
    line-height: 1;
    opacity: 0;
    pointer-events: none;
    transform: translateY(12px);
    transition: opacity 0.25s ease, transform 0.25s ease;
}

.back-to-top.show {
    opacity: 1;
    pointer-events: auto;
    transform: translateY(0);
}

@media (min-width: 769px) {
    .site-footer {
        padding-top: 12px;
    }

    .footer-main {
        padding-top: 0;
    }

    .footer-brand {
        display: flex;
        flex-direction: column;
        align-items: flex-start;
    }

    .footer-brand img {
        width: 176px;
        height: 58px;
        max-height: 46px;
        margin: 0 0 16px;
        object-fit: contain;
        object-position: left center;
    }

    .footer-brand p {
        width: 100%;
        text-align: left;
    }

    .footer-socials {
        justify-content: flex-start;
    }
}

.news-page,
.archive-page,
.single-page {
    min-height: 0;
    padding-top: 70px;
}

.error-page {
    display: flex;
    flex: 1 0 auto;
    align-items: center;
    justify-content: center;
    width: 100%;
    max-width: none;
    min-height: 0;
    height: auto;
    padding: 80px 24px 32px;
    box-sizing: border-box;
    overflow-x: hidden;
    background: #eef6ff;
}

body.error404 .site-footer {
    flex-shrink: 0;
    margin-top: auto;
}

body.error404 .footer-certificates::before {
    left: 0;
    width: 100%;
    transform: none;
}

.error-card {
    width: min(100%, 960px);
    max-width: 100%;
    margin: 0 auto;
    padding: 48px;
    border-radius: 20px;
    background: #fff;
    box-shadow: 0 12px 30px rgba(30, 116, 210, 0.08);
    box-sizing: border-box;
    text-align: left;
}

.error-card h1 {
    margin: 0 0 18px;
    color: #0b3b78;
    font-size: 32px;
    font-weight: 800;
    line-height: 1.35;
}

.error-card p {
    margin: 0 0 28px;
    color: #173d72;
    font-size: 16px;
    line-height: 1.8;
}

.error-back-home {
    display: inline-flex;
    align-items: center;
    color: #0b74bd;
    font-size: 16px;
    font-weight: 700;
    text-decoration: none;
    transition: color 0.25s ease;
}

.error-back-home:hover {
    color: #179cff;
}

.news-list--page,
.news-list--archive {
    display: block;
    width: 820px;
    margin: 0 auto;
    font-size: 0;
}

.news-list--page .news-card,
.news-list--archive .news-card {
    font-size: initial;
}

.news-list--page .news-card + .news-card,
.news-list--archive .news-card + .news-card {
    margin-top: 12px;
}

.news-list--page .news-card a,
.news-list--archive .news-card a {
    display: grid;
    grid-template-columns: 220px 1fr;
    column-gap: 18px;
    row-gap: 6px;
    padding: 16px 20px;
}

.news-list--page .news-card img,
.news-list--archive .news-card img {
    grid-row: span 3;
    height: 124px;
}

.news-list--page .news-card h3,
.news-list--archive .news-card h3 {
    min-height: 0;
    margin: 0;
}

.news-list--page .news-card p,
.news-list--archive .news-card p {
    display: -webkit-box;
    margin: 0;
    overflow: hidden;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
}

.xks-pagination {
    display: flex;
    justify-content: center;
    gap: 8px;
    margin: 40px 0 0;
}

.xks-pagination .page-numbers,
.xks-pagination .page-link,
.xks-pagination a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 36px;
    height: 32px;
    padding: 0 10px;
    border-radius: 6px;
    color: #3f5075;
    font-size: 14px;
}

.xks-pagination .current {
    background: #eee;
    color: #1570b7;
}

.xks-pagination a:hover {
    color: #1570b7;
}

.xks-pagination .disabled {
    opacity: 0.45;
}

.article-wrap {
    position: relative;
    z-index: 1;
    width: 820px;
    margin: 0 auto;
}

.breadcrumb {
    position: relative;
    z-index: 20;
    display: block;
    margin-bottom: 18px;
    color: #657897;
    font-size: 14px;
    overflow-wrap: anywhere;
}

.breadcrumb a {
    position: relative;
    z-index: 3;
    display: inline-flex;
    align-items: center;
    color: #1570b7 !important;
    text-decoration: none !important;
    pointer-events: auto !important;
    transition: color 0.25s ease;
}

.breadcrumb a:visited {
    color: #1570b7 !important;
}

.breadcrumb a:hover {
    color: #179cff !important;
}

.breadcrumb__current {
    overflow-wrap: anywhere;
    pointer-events: none !important;
}

.section-title p a {
    color: #1570b7;
    text-decoration: none;
    transition: color 0.25s ease;
}

.section-title p a:visited {
    color: #1570b7;
}

.section-title p a:hover {
    color: #179cff;
}

.article-card {
    position: relative;
    z-index: 1;
    padding: 42px 28px;
    border-radius: 18px;
    background: #fff;
    box-shadow: 0 8px 24px rgba(80, 130, 180, 0.12);
}

.article-card h1 {
    margin: 0;
    color: #173d72;
    font-size: 28px;
    line-height: 40px;
}

.article-meta {
    display: flex;
    gap: 18px;
    margin-top: 14px;
    color: #657897;
    font-size: 14px;
}

.article-content {
    margin-top: 28px;
    color: #1f2f46;
    font-size: 16px;
    line-height: 32px;
}

.article-content img {
    height: auto;
    border-radius: 12px;
}

.post-nav {
    display: grid;
    gap: 12px;
    margin-top: 36px;
    padding-top: 24px;
    border-top: 1px solid #cfe6ff;
    color: #173d72;
    font-size: 14px;
}

.primary-link {
    display: inline-flex;
    margin-top: 20px;
    color: #1570b7;
    font-weight: 700;
}

.empty-message {
    text-align: center;
    color: #657897;
}

body.modal-open {
    overflow: hidden;
}

.entry-modal {
    position: fixed;
    inset: 0;
    z-index: 10000;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s ease;
}

.entry-modal.is-open {
    opacity: 1;
    pointer-events: auto;
}

.entry-modal__overlay {
    position: absolute;
    inset: 0;
    background: rgba(8, 24, 48, 0.52);
}

.entry-modal__dialog {
    position: relative;
    z-index: 1;
    width: 540px;
    max-width: calc(100vw - 40px);
    overflow: hidden;
    border-radius: 20px;
    background: #fff;
    box-shadow: 0 22px 58px rgba(16, 58, 110, 0.28);
    transform: translateY(18px);
    transition: transform 0.3s ease;
}

.entry-modal.is-open .entry-modal__dialog {
    transform: translateY(0);
}

.entry-modal__header {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    height: 56px;
    background: linear-gradient(180deg, #33b8ff 0%, #168bff 48%, #256bff 100%);
}

.entry-modal__header h2,
.entry-modal__title {
    margin: 0;
    color: #fff;
    font-size: 20px;
    font-weight: 600;
    line-height: 56px;
    text-align: center;
}

.entry-modal__close {
    position: absolute;
    top: 10px;
    right: 14px;
    width: 36px;
    height: 36px;
    border: 0;
    background: transparent;
    color: #fff;
    cursor: pointer;
    font-size: 32px;
    font-weight: 300;
    line-height: 36px;
    opacity: 1;
    transition: opacity 0.25s ease, transform 0.25s ease;
}

.entry-modal__close:hover {
    opacity: 0.75;
    transform: rotate(90deg);
}

.entry-modal__notice {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    min-height: 36px;
    color: #1570b7;
    font-size: 14px;
    line-height: 36px;
    text-align: center;
}

.entry-modal__notice span {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 16px;
    height: 16px;
    border-radius: 50%;
    background: #e8f6ff;
    color: #1570b7;
    font-size: 12px;
    font-weight: 800;
}

.entry-modal__notice p {
    margin: 0;
    font: inherit;
}

.entry-modal__list {
    max-height: calc(100vh - 150px);
    overflow-y: auto;
    padding: 0 18px 18px;
}

.entry-modal__item {
    display: flex;
    align-items: center;
    min-height: 92px;
    margin-bottom: 10px;
    padding: 14px 16px;
    border-radius: 16px;
    background: #e3f3ff;
}

.entry-modal__item:last-child {
    margin-bottom: 0;
}

.entry-modal__item img {
    flex: 0 0 auto;
    display: block;
    width: 56px;
    aspect-ratio: 1 / 1;
    height: 56px;
    border-radius: 12px;
    object-fit: cover;
}

.entry-modal__info {
    min-width: 0;
    flex: 1;
    margin: 0 14px;
}

.entry-modal__info strong,
.entry-modal__info h3 {
    display: block;
    margin: 0;
    color: #243b5c;
    font-size: 18px;
    font-weight: 700;
    line-height: 24px;
}

.entry-modal__info span {
    display: block;
    overflow: hidden;
    margin-top: 4px;
    color: #111;
    font-size: 14px;
    line-height: 22px;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.entry-modal__link {
    display: flex;
    flex: 0 0 auto;
    align-items: center;
    justify-content: center;
    width: 88px;
    height: 38px;
    border-radius: 999px;
    background: linear-gradient(180deg, #33b8ff 0%, #168bff 48%, #256bff 100%);
    box-shadow: 0 6px 14px rgba(22, 123, 238, 0.28);
    color: #fff;
    font-size: 14px;
    font-weight: 600;
    text-align: center;
    transition: box-shadow 0.25s ease, transform 0.25s ease;
}

.entry-modal__link:hover {
    background: linear-gradient(180deg, #2ca8f8 0%, #147bee 48%, #235bea 100%);
    box-shadow: 0 8px 18px rgba(22, 123, 238, 0.35);
    color: #fff;
    transform: translateY(-1px);
}

@media (max-width: 768px) {
    .entry-modal {
        padding: 12px;
    }

    .entry-modal__dialog {
        width: calc(100% - 24px);
        max-width: 430px;
        max-height: calc(100vh - 24px);
        border-radius: 18px;
    }

    .entry-modal__header {
        height: 56px;
    }

    .entry-modal__header h2,
    .entry-modal__title {
        font-size: 18px;
    }

    .entry-modal__notice {
        min-height: 32px;
        font-size: 12px;
        line-height: 32px;
        padding: 0 10px;
    }

    .entry-modal__notice span {
        width: 14px;
        height: 14px;
        font-size: 11px;
    }

    .entry-modal__list {
        max-height: calc(100vh - 120px);
        padding: 0 12px 12px;
    }

    .entry-modal__item {
        min-height: 76px;
        margin-bottom: 8px;
        padding: 10px 12px;
        border-radius: 14px;
    }

    .entry-modal__item img {
        width: 50px;
        height: 50px;
        border-radius: 10px;
    }

    .entry-modal__info {
        min-width: 0;
        margin: 0 8px;
    }

    .entry-modal__info strong,
    .entry-modal__info h3 {
        font-size: 15px;
        line-height: 20px;
    }

    .entry-modal__info span {
        font-size: 12px;
        line-height: 18px;
    }

    .entry-modal__link {
        width: 76px;
        height: 32px;
        flex: 0 0 76px;
        font-size: 12px;
        line-height: 32px;
        box-shadow: 0 6px 14px rgba(22, 123, 238, 0.28);
    }
}

/* Final accessibility contrast overrides */
.breadcrumb,
.breadcrumb__current,
.article-meta,
.empty-message,
.news-card p {
    color: #445b78 !important;
}

.breadcrumb a,
.breadcrumb a:visited,
.section-title p a,
.section-title p a:visited,
.news-card__meta span,
.primary-link,
.xks-pagination .current,
.xks-pagination a:hover {
    color: #0b5ea8 !important;
}

.breadcrumb a:hover,
.section-title p a:hover,
.primary-link:hover {
    color: #084b86 !important;
}

.footer-license,
.footer-copyright {
    color: #d7e6f5 !important;
}

.footer-bottom a,
.footer-bottom span {
    color: #ffffff !important;
}

.site-footer a:hover,
.footer-bottom a:hover {
    color: #8fd4ff !important;
}

.site-nav a,
.nav-anchor {
    color: #243b5c !important;
}

.site-nav a.active,
.site-nav a:hover,
.nav-anchor.active,
.nav-anchor:hover {
    color: #0b5ea8 !important;
}

.copy-button,
.outline-button,
.download-card__button {
    border-color: #0b5ea8 !important;
    color: #0b5ea8 !important;
    font-weight: 700;
}

.copy-button:hover,
.outline-button:hover,
.download-card__button:hover {
    color: #ffffff !important;
}
