@font-face {
    font-family: Roadstore;
    font-style: auto;
    font-weight: auto;
}

* {
    box-sizing: border-box;
}

html {
    margin: 0!important;
}

body {
    color: #fff;
    font-family: WorkSans, sans-serif;
    font-size: 18px;
    font-weight: 400;
    line-height: 1.4;
    margin: 0;
    background: #12111d;
}

header {
    background: #12111d;
    align-items: center;
    display: flex;
    justify-content: space-between;
    height: 60px;
    padding: 0 20px;
    border-bottom: 1px solid rgba(251, 0, 215, 0.1);
    position: sticky;
    top: 0;
    z-index: 999;
}

wrapper.wrapper {
    position: relative;
}

a:active {
    color: #850101;
}

a {
    color: #fff;
    text-decoration: none;
}

b {
    font-weight: 800;
}

/* Типографика */
h1 {
    color: #fff;
    font-size: 32px;
    line-height: 1.3;
    margin: 0 0 16px 0;
    font-weight: 700;
}

h2 {
    color: #fff;
    font-size: 28px;
    font-weight: 600;
    line-height: 1.3;
    margin: 12px 0;
}

h3 {
    color: #fff;
    font-size: 24px;
    font-weight: 600;
    line-height: 1.3;
    margin: 10px 0;
}

h4 {
    color: #fff;
    font-size: 20px;
    font-weight: 600;
    line-height: 1.3;
    margin: 8px 0;
}

/* Навигация */
.header-container {
    align-items: center;
    display: flex;
    gap: 16px;
    justify-content: space-between;
    width: 100%;
	max-width: 1640px;
	margin: 0 auto;
	padding: 5px 0;
}

.main-menu {
    display: flex;
    gap: 24px;
    list-style: none;
    margin: 0;
    padding: 0;
}

.main-menu a {
    color: #fff;
    font-size: 14px;
    font-weight: 600;
    text-transform: uppercase;
    transition: color 0.2s ease;
}

.main-menu a:hover {
    color: #fb00d7;
}

.main-navigation {
    align-items: center;
    display: flex;
    gap: 8px;
}

.main-navigation ul {
    display: flex;
    list-style: none;
    margin: 0;
    padding: 0;
}

.main-navigation li {
    margin: 0 8px;
    width: max-content;
}

.main-navigation a {
    color: #fff;
    font-size: 18px;
    text-decoration: none;
    font-weight: 500;
}

.navigation_post a {
    color: #fff;
    font-size: 18px;
}

/* Логотип */
.site-logo {
    max-width: 90px;
}

.site-logo span {
    color: #fff;
    font-size: 18px;
}

/* Основной контент */
.blog p {
    text-align: center;
}

.info_block .img, .main .title {
    display: flex;
    justify-content: center;
}

.block-info-img {
    display: flex;
    justify-content: center;
}

.error404 .container {
    align-items: center;
    display: flex;
    flex-direction: column;
    height: 100%;
    justify-content: center;
    margin: auto;
    min-height: calc(100vh - 60px);
}

.error404 .container .error-404 {
    align-items: center;
    display: flex;
    flex-direction: column;
    gap: 16px;
    max-width: max-content;
    padding: 24px 32px;
    text-align: center;
    width: 100%;
}

.error-404 h3 {
    margin: 0;
    text-align: center;
}

.error404 .container .error-404 span {
    color: #dbff00;
    font-size: 48px;
    font-weight: 800;
    line-height: 1;
}

.error404 .container .error-404 h2 {
    color: #b1b1b1;
    font-size: 18px;
    font-weight: 900;
    line-height: 1.3;
    text-align: center;
}

.error-404 button.but-all.yellow-but {
    background: linear-gradient(155deg, #ff00d6 16.12%, #b300f2 82.73%);
    box-shadow: 0 0 16px 0 rgba(255, 0, 214, 0.75), inset 0 2px 4px 0 rgba(219, 255, 0, 0.5);
    color: #fff;
    padding: 12px 24px;
    border: none;
}

.error-404 button.but-all.yellow-but:hover {
    box-shadow: none;
}

/* Контейнеры секций */
section.offers-block {
    border-radius: 16px;
    margin: 24px;
    padding: 16px;
}

.single section.main {
    margin: 0 24px 40px;
}

.content-wrapper {
    margin: 32px 16px 0;
}

section.main {
    align-items: center;
    display: flex;
    justify-content: flex-start;
    margin: 0;
    padding: 0 8px;
}

section.info .title {
    margin-bottom: 16px;
}

.home section.info {
    margin: 16px 0;
    padding: 8px;
}

.home .blurred-background {
    display: flex;
    height: 100%;
    justify-content: flex-start;
    width: auto;
}

.home .blurred-background .left {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

/* Кнопки */
a.banner-button {
    font-size: clamp(14px, 2vw, 18px);
    font-weight: 500;
    text-transform: uppercase;
}

.banner .button {
    align-items: center;
    background: #fb00d7;
    border-radius: 12px;
    color: #fff;
    display: flex;
    font-weight: 600;
    justify-content: center;
    min-height: 40px;
    min-width: 180px;
    padding: 8px 16px;
    position: relative;
    width: fit-content;
    transition: background 0.2s ease;
    border: none;
    cursor: pointer;
}

.banner .button:hover {
    background: #c200a5;
}

.but-all, button.authorization {
    background: none;
    border: 1px solid #fb00d7;
    border-radius: 8px;
    cursor: pointer;
    font-family: WorkSans, sans-serif;
    font-size: 13px;
    font-weight: 600;
    line-height: 1.2;
    min-height: 32px;
    min-width: 32px;
    padding: 0 12px;
    text-transform: uppercase;
    transition: all 0.2s ease;
}

button.authorization.reg:hover, button.authorization:hover {
    background: #c200a5;
}

.main-navigation button.authorization {
    background: #fb00d7;
    color: #fff;
}

.offer button {
    background: none;
    border: none;
    cursor: pointer;
    margin: 0;
    padding: 0;
}

.but-version-lang {
    margin-right: 16px;
}

/* Предложения и карточки */
.offers-block .offers {
    display: grid;
    gap: 12px;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    width: 100%;
}

.offer .img {
    border: 1px solid #1b1d22;
    border-radius: 6px;
    padding: 3px;
}

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

.offer p {
    color: #929292;
    font-family: WorkSans, sans-serif;
    font-size: 14px;
    font-weight: 500;
    letter-spacing: -0.02em;
    line-height: 1.3;
    margin: 8px 0;
    overflow: hidden;
}

/* Блог */
.blog .container#post-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 16px;
    margin: 16px 0;
}

.post-item {
    align-items: center;
    background: rgba(82, 22, 22, 0.349);
    border: 1px solid #521616;
    border-radius: 12px;
    box-shadow: 0 2px 8px rgba(47, 5, 5, 0.522);
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 16px;
    text-align: center;
    transition: transform 0.2s ease;
}

.post-item:hover {
    transform: translateY(-2px);
}

.post-item h3 {
    margin: 0 0 8px 0;
}

.post-navigation {
    border-radius: 12px;
    display: flex;
    gap: 16px;
    justify-content: space-between;
    padding: 12px;
}

.blog section.blog {
    border: 1px solid rgba(0, 0, 0, 0.1);
    margin: 0 16px;
}

.blog h2 {
    color: #fff;
}

.home section.blog {
    margin: 0 16px;
}

.blog .blurred-background {
    margin: 16px 0;
}

.blog header {
    position: relative;
}

.blog button {
    margin-top: 32px;
}

a.blog-read-more {
    background-color: #521616;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(47, 5, 5, 0.522);
    color: #fff;
    cursor: pointer;
    padding: 8px 16px;
    font-size: 14px;
    font-weight: 500;
    transition: all 0.2s ease;
}

a.blog-read-more:hover {
    background-color: #6b1f1f;
    transform: translateY(-1px);
}

/* Банер */
.banner-container {
    align-items: center;
    display: flex;
    overflow: hidden;
    padding: 32px 24px;
    position: relative;
	max-width: 1630px;
	margin: 0 auto;
	min-height: 50svh;
}

section.banner {
    background-position: center;
    background-size: cover;
}

.banner .mini-text-banner {
    color: #fff;
    font-size: 12px;
    font-weight: 600;
    line-height: 1.2;
    text-transform: uppercase;
}

.banner .info-block {
    align-items: center;
    backdrop-filter: blur(1px);
    display: flex;
    flex-direction: column;
    gap: 12px;
    max-width: 400px;
    padding: 16px;
    position: relative;
    text-align: center;
    z-index: 6;
}

.image-block {
    position: relative;
    right: 16px;
    width: max-content;
}

.banner .main-text-banner span {
    color: #fff;
    font-size: 32px;
    font-weight: 900;
    line-height: 1.2;
    text-transform: uppercase;
}

.banner .decor-element {
    animation: show-hole 0.4s cubic-bezier(0.7, -0.3, 0.3, 2.2) 1.3s forwards;
    background: url(/wp-content/uploads/2025/03/decore_element.webp) no-repeat 0 0;
    background-size: cover;
    height: 12px;
    position: absolute;
    scale: 1;
    width: 12px;
    will-change: scale;
    z-index: 0;
}

/* Боковая навигация */
.anchor-nav {
    border: 1px solid #fb00d7;
    border-radius: 12px;
    float: right;
    height: fit-content;
    margin: 0 0 16px 16px;
    max-width: 280px;
    padding: 12px;
    position: sticky;
    top: 80px;
    width: fit-content;
}

.acf-block {
    display: flex;
    flex-direction: column;
    max-width: calc(100% - 296px);
}

.anchor-nav ul ul {
    padding-left: 12px;
}

ul.anchor-nav__sublist li {
    margin: 4px 0;
}

.anchor-nav ul {
    list-style: none;
    margin: 0;
    max-height: 60vh;
    overflow-x: hidden;
    overflow-y: auto;
    padding-left: 0;
    scrollbar-color: #fb00d7 #12111d;
    scrollbar-width: thin;
}

.anchor-nav li {
    margin: 8px 0;
}

.anchor-nav a {
    color: #fff;
    text-decoration: none;
    transition: color 0.2s ease;
    font-size: 14px;
}

.anchor-nav a:hover {
    color: #fb00d7;
}

a:not([class]) {
    text-decoration-skip-ink: auto;
}

.anchor-nav__title {
    font-weight: 700;
    margin-bottom: 8px;
    font-size: 18px;
}

.anchor-nav__item {
    margin-left: 12px;
}

.anchor-nav__item--h2 {
    margin-left: 0;
}

.anchor-nav__item--h2 a {
    font-size: 14px;
}

.anchor-nav__item--h3 a {
    font-size: 12px;
}

/* Аккордеон и FAQ */
.accordion-content.active {
    max-height: max-content!important;
}

.accordion-content {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
}

.faq .accordion-content li,
.faq .accordion-content li::marker,
.faq .accordion-content span {
    color: hsla(0, 0%, 100%, 0.8);
    font-size: 18px;
}

.accordion-item {
    margin: 8px 0;
}

.faq .container_flex {
    margin-top: 16px;
}

.faq button.accordion-header {
    background: #12111d;
    border: 1px solid #fb00d7;
    border-radius: 8px;
    color: #fb00d7;
    cursor: pointer;
    font-family: WorkSans, sans-serif;
    font-size: 18px;
    font-weight: 500;
    line-height: 1.3;
    min-height: 40px;
    text-align: left;
    width: 100%;
    padding: 8px 12px;
    transition: all 0.2s ease;
}

.faq button.accordion-header:hover {
    background: #fb00d7;
    color: #161006;
}

section.faq .accordion {
    display: flex;
    flex-direction: column;
}

section.faq {
    margin: 16px 0;
    padding: 8px;
}

section.faq .swiper-pagination-bullet,
section.faq .swiper-pagination-bullet-active {
    background: #fb00d7;
}

.faq .swiper {
    padding: 16px 0;
}

.accordion {
    overflow: hidden;
}

.accordion-header {
    background: #f0f0f0;
    border: none;
    cursor: pointer;
    font-weight: 600;
    outline: none;
    padding: 12px 16px;
    text-align: left;
    width: 100%;
}

.accordion-content {
    display: none;
    padding: 12px 0;
}

.accordion-item p {
    margin: 0;
}

.accordion-item.active .accordion-content {
    display: block;
}

.swiper-slide .accordion-content.active p {
    margin: 0;
}

/* Таблицы */
table {
    border-collapse: separate;
    min-width: 400px;
    width: 100%;
}

td {
    border: 1px solid #fb00d7;
    border-radius: 8px;
    line-height: 1.3;
    vertical-align: top;
    padding: 8px 12px;
}

table tr:first-child td {
    background: #fb00d7;
}

table p {
    margin: 0;
}

.table-wrapper {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    margin: 16px 0;
    scrollbar-color: #fb00d7 #12111d;
    scrollbar-width: thin;
}

table tr td:last-child {
    border-right: 1px solid #fb00d7;
}

table tr td, table tr td:last-child, table tr th:first-child, table tr th:last-child {
    border-bottom: none;
}

table tr:last-child td {
    border-bottom: 1px solid #fb00d7;
}

/* Списки */
ol, ul {
    padding-left: 20px;
}

ul li::marker {
    color: #fb00d7;
    font-size: 16px;
}

ol li::marker {
    color: #fb00d7;
    font-weight: 600;
}

.no-bullets {
    list-style: none;
}

/* Изображения */
img {
    height: auto;
    max-width: 100%;
    vertical-align: middle;
}

.rang img {
    max-width: 30px;
}

/* Системы платежей */
.payment-systems {
    align-items: center;
    color: #c39f82;
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
}

.payments-more span {
    color: #ca6d00;
    font-size: 12px;
    font-weight: 500;
    line-height: 1.3;
}

.payments-more {
    width: 78px!important;
}

.payment-systems img {
    max-width: 80px;
}

/* Мобильное меню */
.burger-menu {
    background: none;
    border: none;
    cursor: pointer;
    display: none;
    flex-direction: column;
    height: fit-content;
    justify-content: space-around;
    width: fit-content;
    gap: 4px;
}

.home .burger-menu div {
    background-color: hsla(0, 0%, 100%, 0.96);
}

.burger-menu div {
    background-color: #fff;
    height: 2px;
    width: 20px;
    border-radius: 1px;
}

.mobile-menu {
    display: none;
}

.mobile-menu ul {
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 0;
}

.mobile-menu li {
    font-size: 20px;
    font-weight: 600;
    margin: 8px 0;
    text-align: center;
}

.home .mobile-menu li a {
    color: #fafafb!important;
}

svg.svg-burger {
    fill: #fff;
    font-size: 24px;
    height: 1em;
    line-height: 1;
    text-align: center;
}

/* Языковой переключатель */
.lang-dropdown li {
    list-style: none;
}

ul.lang-dropdown {
    background: #1a1c21;
    border-radius: 4px;
    padding: 4px 8px;
    position: absolute;
    z-index: 1;
}

.lang-dropdown li {
    margin: 0;
}

.current-lang {
    padding: 2px 6px;
}

/* Футер */
footer {
    background: #12111d;
    color: #656464;
}

footer a {
    color: #dddddf;
}

footer .main {
    align-items: center;
    display: flex;
    flex-direction: column;
    gap: 16px;
    margin: 0 auto;
    padding: 24px 0;
    text-align: center;
	max-width: 1640px;
}

footer .ct-container {
    align-items: center;
    display: flex;
    justify-content: center;
}

footer .site-logo {
    max-width: 120px;
}

footer .text-about-game .text {
    font-size: 14px;
}

footer p span {
    font-size: 12px;
    line-height: 1.2;
}

/* Посты и навигация */
section.post.post-blok {
    backdrop-filter: blur(9px);
    background: rgba(169, 59, 59, 0.18);
    border-radius: 12px;
    box-shadow: 0 2px 8px rgba(47, 5, 5, 0.522);
    margin: 0 16px;
    padding: 16px;
}

section.navigation_post {
    background: rgba(169, 59, 59, 0.18);
    border-radius: 12px;
    box-shadow: 0 2px 8px rgba(47, 5, 5, 0.522);
    margin: 24px 16px 0;
    padding: 16px;
}

.text-about-game span {
    font-size: 14px;
}

.single h2 {
    margin-top: 16px;
}

.post-excerpt {
    border-bottom: 1px solid #511;
    border-top: 1px solid #511;
    margin: 16px 0;
    padding: 8px 0;
}

.single-post .blurred-background {
    margin: 32px 0 16px;
}

/* Разное */
body section {
    display: block;
}

blockquote {
    margin: 0;
    padding: 12px 16px;
    border-left: 3px solid #fb00d7;
    background: rgba(251, 0, 215, 0.05);
}

.blurred-background .description a {
    background: #521616;
    border: 1px solid rgba(85, 40, 40, 0.671);
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(47, 5, 5, 0.522);
    font-size: 24px;
    font-weight: 600;
    padding: 8px 16px;
    display: inline-block;
}

.left.one {
    display: flex;
    flex-direction: column;
}

.show {
    display: block;
}

@keyframes scroll {
    0% {
        transform: translateX(0);
    }
    to {
        transform: translateX(650px);
    }
}

/* Медиа-запросы */
@media(min-width: 1400px) {
    .offers-block .offers {
        grid-template-columns: repeat(6, 1fr);
        gap: 12px;
    }
    
    .blog .container#post-container {
        grid-template-columns: repeat(4, 1fr);
        gap: 16px;
    }
    
    header {
        height: auto;
        padding: 10px 20px;
    }
    
    .content-wrapper {
        padding: 24px 40px 0;
        max-width: 1640px;
        margin: 0 auto;
    }
}

@media(min-width: 1200px) and (max-width: 1399px) {
    .offers-block .offers {
        grid-template-columns: repeat(5, 1fr);
    }
    
    .blog .container#post-container {
        grid-template-columns: repeat(3, 1fr);
    }
    
    header {
        padding: 0 30px;
    }
    
    .content-wrapper {
		padding: 0;
        margin: 20px 30px 0;
    }
}

@media(min-width: 1024px) and (max-width: 1199px) {
    .offers-block .offers {
        grid-template-columns: repeat(4, 1fr);
    }
    
    .blog .container#post-container {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media(max-width: 1200px) {
    .anchor-nav {
        max-width: 240px;
    }
    .acf-block {
        max-width: calc(100% - 256px);
    }
}

@media(max-width: 1024px) {
    .blog .container#post-container {
        grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
        gap: 12px;
    }
    .offers-block .offers {
        grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    }
    header {
        height: 56px;
        padding: 0 12px;
    }
    .site-logo {
        max-width: 80px;
    }
}

@media(max-width: 1023px) {
    .anchor-nav {
        float: none;
        margin: 0 0 12px 0;
        max-width: 100%;
        position: relative;
        top: 0;
    }
    
    .acf-block {
        max-width: 100%;
    }
    
    .offers-block .offers {
        grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
    }
}

@media(max-width: 768px) {
    body {
        font-size: 16px;
    }
    h1 { font-size: 28px; }
    h2 { font-size: 24px; }
    h3 { font-size: 20px; }
    h4 { font-size: 18px; }
    
    .header-container {
        flex-direction: column;
        gap: 8px;
        align-items: center;
    }
    
    header {
        height: auto;
        padding: 8px 12px;
    }
    
    .burger-menu {
        display: block;
    }
    
    .main-menu {
        display: none;
    }
    
    .main-menu.active {
        display: flex;
        flex-direction: column;
        gap: 8px;
        width: 100%;
        padding: 8px 0;
    }
    
    .blog .container#post-container {
        grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
        gap: 12px;
    }
    
    .content-wrapper,
    section.offers-block {
        margin-left: 12px;
        margin-right: 12px;
    }
}

@media(max-width: 640px) {
    body {
        font-size: 14px;
    }
    h1 { font-size: 24px; }
    h2 { font-size: 20px; }
    h3 { font-size: 18px; }
    h4 { font-size: 16px; }
    
    .banner-container {
        flex-direction: column;
        padding: 16px 12px;
    }
    
    .offers-block .offers {
        grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
        gap: 8px;
    }
    
    .blog .container#post-container {
        grid-template-columns: 1fr;
        gap: 12px;
    }
    
    .blurred-background .description a {
        font-size: 18px;
        padding: 6px 12px;
    }
    
    section.offers-block,
    .content-wrapper,
    section.post.post-blok,
    section.navigation_post {
        margin-left: 8px;
        margin-right: 8px;
    }
}

@media(max-width: 480px) {
    body {
        font-size: 13px;
    }
    
    h1 { font-size: 20px; }
    h2 { font-size: 18px; }
    h3 { font-size: 16px; }
    h4 { font-size: 15px; }
    
    .banner .button {
        min-height: 36px;
        min-width: 140px;
        font-size: 13px;
    }
    
    .site-logo {
        max-width: 70px;
    }
    
    .site-logo span {
        font-size: 14px;
    }
    
    .offers-block .offers {
        grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
        gap: 6px;
    }
    
    .payment-systems img {
        max-width: 60px;
    }
    
    .faq button.accordion-header {
        font-size: 16px;
        min-height: 36px;
    }
}

@media(max-width: 380px) {
    .offers-block .offers {
        grid-template-columns: repeat(2, 1fr);
    }
    
    button.authorization {
        padding: 0 8px;
        font-size: 12px;
    }
    
    .but-version-lang {
        margin-right: 8px;
    }
}
