@import url('https://fonts.googleapis.com/css2?family=Roboto:ital,wght@0,100;0,300;0,400;0,500;0,700;0,900;1,100;1,300;1,400;1,500;1,700;1,900&family=Ubuntu:ital,wght@0,300;0,400;0,500;0,700;1,300;1,400;1,500;1,700&display=swap');

:root {
    --default-color: #e9c003;
    --default-lighten-color: #0095ff;
    --default-catifsh-color: rgb(0, 0, 0);
    --default-header-color: #003266;
    --default-footer-color: #04386e;
    --btn-text: #fff;
}

*, :after, :before {
    box-sizing: border-box
}

li, ol, ol[class], ul, ul[class] {
    margin: 0;
    padding: 0
}

blockquote, body, dd, dl, figcaption, figure, h1, h2, h3, h4, li, ol[class], p, ul[class] {
    margin: 0
}

body {
    line-height: 1.5;
    min-height: 100vh;
    scroll-behavior: smooth;
    text-rendering: optimizeSpeed
}

/* Стили блокировки скролла удалены */

li, ol[class], ul[class] {
    list-style: none
}

a {
    text-decoration: none
}

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

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

button, input, select, textarea {
    border: none;
    font: inherit
}

[role=button], button {
    cursor: pointer
}

@media (prefers-reduced-motion:reduce) {
    * {
        animation-duration: .01ms !important;
        animation-iteration-count: 1 !important;
        scroll-behavior: auto !important;
        transition-duration: .01ms !important
    }
}

body {
    background: #250904;
    color: rgb(255, 255, 255);
    font-family: "Ubuntu", sans-serif;
    font-size: 16px;
    letter-spacing: .5px;
    line-height: 1.4
}

@media (max-width:768px) {
    body {
        font-size: 14px;
        overflow-x: hidden
    }
}

.container {
    margin-left: auto;
    margin-right: auto;
    max-width: 1220px;
    padding-left: 20px;
    padding-right: 20px;
    width: 100%;
}

.header > .container {
    max-width: 100%;
}

.header {
    background: #250904;
    padding: 15px 0;
    
    height: 85px;
    display: flex;
    align-items: center;
}

.header-wrap {
    grid-gap: 20px;
    align-items: center;
    display: grid;
    grid-template-columns: max-content max-content 1fr;
    justify-items: end;
}

.header-logo__img {
    height: 24px;
    width: auto;
}

.menu-wrap {
    grid-gap: 15px;
    align-items: center;
    display: grid;
    grid-template-columns: 1fr max-content max-content max-content max-content max-content;
}

.main-nav {
    padding-right: 20px;
    text-align: left;
    display: flex;
    align-items: center;
    justify-content: flex-start;
}

/* Quick nav next to logo */
.quick-nav {
    display: flex;
    align-items: center;
}

.quick-nav__list {
    display: inline-flex;
    gap: 12px;
    align-items: center;
    padding: 0;
    margin: 0;
    list-style: none;
}

.main-nav__list {
    display: inline-flex;
    flex-wrap: wrap;
    gap: 25px;
    align-items: center;
    margin-left: 0;
    padding-left: 0;
}

.nav-item {
    font-size: 14px;
    position: relative;
    font-weight: bold;
}

.bonuslar-item {
    background: linear-gradient(90deg, #5c2bd6 0%, #2e71ff 100%);
    border-radius: 999px;
    padding: 6px 16px 6px 42px;
    position: relative;
    display: inline-flex;
    align-items: center;
    box-shadow: 0 6px 18px rgba(46, 113, 255, 0.35);
}

.bonuslar-item a {
    color: #fff !important;
    font-weight: 700;
    letter-spacing: .5px;
}

.bonuslar-item::before {
    content: "";
    position: absolute;
    left: 14px;
    top: 50%;
    transform: translateY(-50%);
    width: 20px;
    height: 20px;
    background-image: url('../assets/img/gift-color.svg');
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
}

/* Search icon item (left of bonus button) */
.nav-search-item {
    display: inline-flex;
    align-items: center;
}

.nav-search__link {
    width: 36px;
    height: 36px;
    display: inline-block;
    border-radius: 50%;
    background-color: #2a130b;
    border: 2px solid #a56a33;
    background-image: url('../assets/img/search-icon.svg');
    background-repeat: no-repeat;
    background-position: center;
    background-size: 18px 18px;
}

/* Mobile: show only gift icon for BONUS button */
@media (max-width: 768px) {
    .quick-nav__list { gap: 8px; }
    .bonuslar-item {
        padding: 0;
        width: 36px;
        height: 36px;
        border-radius: 50%;
        position: relative;
    }
    .bonuslar-item a {
        display: block;
        width: 100%;
        height: 100%;
        padding: 0;
        font-size: 0; /* hide label visually on mobile */
        text-indent: -9999px;
        overflow: hidden;
    }
    .bonuslar-item::before {
        left: 50%;
        top: 50%;
        transform: translate(-50%, -50%);
        width: 20px;
        height: 20px;
    }
}

.header-bonus-icon {
    display: flex;
    align-items: center;
}

.header-bonus-icon img {
    width: 24px;
    height: 24px;
}

.header-time {
    color: #fff;
    font-size: 14px;
    font-weight: bold;
}

.header-lang {
    background-color: #2a3441;
    border-radius: 5px;
    padding: 5px 10px;
    color: #fff;
    font-size: 14px;
    font-weight: bold;
    cursor: pointer;
}

.nav-item__link {
    color: rgba(255, 255, 255, 0.7);
    transition: color 0.2s ease;
}

.main-nav__list li:hover>a {
    color: #ffffff;

}

.header-lang {
    display: flex;
    align-items: center;
    color: #fff;
}

.btn {
    border-radius: 5px;
    font-size: 14px;
    font-weight: 500;
    line-height: 36px;
    text-transform: uppercase;
	width: fit-content;
}


/* Register and Login buttons styling as screenshot */
.btn-register {
    background: linear-gradient(90deg, #ffd84a 0%, #ff9a1f 100%);
    border-radius: 999px;
    box-shadow: 0 8px 20px rgba(255, 154, 31, 0.35);
    border: 2px solid #3b250e;
}

.btn-login {
    background: linear-gradient(90deg, #5b3717 0%, #7a4a20 100%);
    border-radius: 999px;
    box-shadow: 0 8px 20px rgba(122, 74, 32, 0.35);
    border: 2px solid #2a1609;
}

.btn a {
    color: var(--btn-text);
    display: block;
    padding: 0 22px;
    font-weight: bold;
}

.btn:hover {
    opacity: .86
}

.menu-mob-btn {
    background: var(--default-color) url(../assets/img/mob-menu-icon.svg) no-repeat 50%;
    background-size: 15px;
    border: 1px solid var(--default-color);
    border-radius: 4px;
    display: none;
    height: 42px;
    justify-self: flex-end;
    width: 42px;
    cursor: pointer;
    position: relative;
    z-index: 9999;
}

.menu-mob-btn.-toggle {
    background: var(--default-color) url(../assets/img/mob-menu-close-icon.svg) no-repeat 50%;
    background-size: 15px
}

.main {
    background-color: #250904;
    color: #e5e6ec;
}

/*POST*/
.post-entry p:not(:last-child) {
    margin-bottom: 24px;
}

.post-entry h1,
.post-entry h2,
.post-entry h3,
.post-entry h4,
.post-entry h5,
.post-entry h6 {
    line-height: 1.2;
    margin-bottom: 14px
}

.post-entry h1 {
    font-size: 32px
}

.post-entry h2 {
    font-size: 28px
}

.post-entry h3 {
    font-size: 24px
}

.post-entry h4 {
    font-size: 20px
}


.post-entry table {
    width: 100%;
    margin-bottom: 20px;
    border-collapse: collapse;
    border-spacing: 0;
    border: 1px solid #333;
    border-radius: 6px;
    overflow: hidden;
    background: #1a1a1a;
}

.post-entry table th {
    background: #222;
    color: #FF6B00;
    font-weight: 600;
    padding: 12px 16px;
    text-align: left;
    border-bottom: 1px solid rgba(255, 107, 0, 0.3);
    font-size: 14px;
}

.post-entry table td {
    padding: 10px 16px;
    border-bottom: 1px solid #333;
    color: #fff;
    font-size: 14px;
    transition: all 0.2s ease;
}

.post-entry table tr:nth-child(even) {
    background-color: #222;
}

.post-entry table tr:hover td {
    background-color: #2a2a2a;
}

.post-entry table tr:last-child td {
    border-bottom: none;
}

@media (max-width: 768px) {
    .post-entry table {
        display: block;
        overflow-x: auto;
        white-space: nowrap;
        border-radius: 4px;
    }
    
    .post-entry table th,
    .post-entry table td {
        padding: 8px 12px;
        font-size: 13px;
    }
}

.post-entry table tr:first-child {
    background: #222 !important;
}

.post-entry table tr:first-child td {
    color: #FF6B00;
    font-weight: 600;
    border: none;
}

.post-entry table tr:nth-child(odd) {
    background: linear-gradient(135deg, rgba(183, 190, 207, 0.08) 0%, rgba(183, 190, 207, 0.03) 100%);
}

.post-entry table tr td {
    padding: 16px 20px
}

.post-entry .wp-block-image {
    margin-bottom: 24px
}

.post-entry .wp-block-image img {
	border-radius:15px;
    margin: 0 auto;
}

.post-entry img {
    height: auto !important;
}

.post-entry ol {
    counter-reset: num;
    list-style-type: none;
    margin-bottom: 24px;
    margin-left: 32px
}

.post-entry ol li {
    margin: 0 0 16px;
    padding: 0;
    position: relative
}

.post-entry ol li:before {
    background: var(--default-color);
    border-radius: 50%;
    color: #fff;
    content: counter(num);
    counter-increment: num;
    display: inline-block;
    font-size: 14px;
    font-weight: 500;
    height: 24px;
    left: -32px;
    line-height: 24px;
    position: absolute;
    text-align: center;
    top: 0;
    width: 24px
}

.post-entry ul {
    list-style-type: none;
    margin-bottom: 24px;
    margin-left: 32px;
    padding: 0;
}

.post-entry ul li {
    margin: 0 0 16px;
    padding: 0;
    position: relative;
}

.post-entry ul li:before {
    background: var(--default-color);
    border-radius: 50%;
    content: "";
    display: inline-block;
    height: 8px;
    left: -20px;
    position: absolute;
    top: 8px;
    width: 8px;
    box-shadow: 0 0 0 2px var(--default-lighten-color);
}

/* WPFront Scroll Top Styles */
#wpfront-scroll-top-container {
    border-radius: 8px !important;
    transition: all 0.3s ease !important;
}



#wpfront-scroll-top-container div.text-holder {
    
    color: #fff !important;
    border: 1px solid var(--default-header-color) !important;
    box-shadow: none !important;
}


#wpfront-scroll-top-container i {
    color: #fff !important;
}

#wpfront-scroll-top-container i:hover {
    color: var(--default-lighten-color) !important;
}

.wp-block-quote{
    margin-bottom:1.2rem;
    background-color: var(--default-color);
    color: #FFFFFF;
    padding:40px;
    padding-left:80px;
    position: relative;
        border-radius: 8px;
}
.wp-block-quote::before{
    position: absolute;
    left:20px;
    top:20px;
    width:40px;
    height:40px;
content: url("data:image/svg+xml,%3Csvg fill='%23FFFFFF' width='40px' height='40px' viewBox='0 0 512 512' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M464 256h-80v-64c0-35.3 28.7-64 64-64h8c13.3 0 24-10.7 24-24V56c0-13.3-10.7-24-24-24h-8c-88.4 0-160 71.6-160 160v240c0 26.5 21.5 48 48 48h128c26.5 0 48-21.5 48-48V304c0-26.5-21.5-48-48-48zm-288 0H96v-64c0-35.3 28.7-64 64-64h8c13.3 0 24-10.7 24-24V56c0-13.3-10.7-24-24-24h-8C71.6 32 0 103.6 0 192v240c0 26.5 21.5 48 48 48h128c26.5 0 48-21.5 48-48V304c0-26.5-21.5-48-48-48z'/%3E%3C/svg%3E");
}

@media(max-width:580px){
    .wp-block-quote{
        padding:24px;
        padding-left:56px;
    }
    .wp-block-quote::before{
        top:16px;
        left:16px;
        width:24px;
        height:24px;
content: url("data:image/svg+xml,%3Csvg fill='%23FFFFFF' width='24px' height='24px' viewBox='0 0 512 512' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M464 256h-80v-64c0-35.3 28.7-64 64-64h8c13.3 0 24-10.7 24-24V56c0-13.3-10.7-24-24-24h-8c-88.4 0-160 71.6-160 160v240c0 26.5 21.5 48 48 48h128c26.5 0 48-21.5 48-48V304c0-26.5-21.5-48-48-48zm-288 0H96v-64c0-35.3 28.7-64 64-64h8c13.3 0 24-10.7 24-24V56c0-13.3-10.7-24-24-24h-8C71.6 32 0 103.6 0 192v240c0 26.5 21.5 48 48 48h128c26.5 0 48-21.5 48-48V304c0-26.5-21.5-48-48-48z'/%3E%3C/svg%3E");
    }
}

/*AUTHOR*/
.author-block {
    grid-gap: 30px;
    background: #fff;
    border: 1px solid #d8d8d8;
    border-radius: 20px;
    box-shadow: 0 0 16px 0 rgba(0, 0, 0, .078);
    display: grid;
    grid-template-columns: max-content 1fr;
    margin-bottom: 32px;
    padding: 32px
}

@media (max-width:768px) {
    .author-block {
        grid-gap: 20px;
        grid-template-columns: 1fr;
        padding: 20px 16px
    }
}

.author-block .author-block__photo img {
    border-radius: 50%;
    height: 168px;
    -o-object-fit: cover;
    object-fit: cover;
    -o-object-position: center;
    object-position: center;
    width: 168px
}

.author-block .author-block__top-grid {
    grid-gap: 20px;
    display: grid;
    grid-template-columns: 1fr max-content;
    margin-bottom: 20px
}

@media (max-width:768px) {
    .author-block .author-block__top-grid {
        grid-gap: 20px;
        grid-template-columns: 1fr
    }
}

.author-block .author-block__line {
    color: #828282;
    font-size: 18px
}

.author-block .author-block__name {
    color: #2d2d2c;
    font-size: 24px;
    font-weight: 700
}

.author-block .author-block__socials {
    display: flex;
    gap: 10px
}

.author-block .author-block__socials .author-block__socials__item {
    background: #f2f2f2;
    border-radius: 4px;
    display: inline-block;
    height: 32px;
    overflow: hidden;
    width: 32px
}

.author-block .author-block__socials .author-block__socials__item:hover {
    opacity: .86
}

.author-block .author-block__socials .author-block__socials__item i {
    display: inline-block;
    height: 32px;
    width: 32px
}

.author-block .author-block__socials .author-block__socials__item i.icon-fb {
    background: url(../assets/img/icon-fb.svg) no-repeat 50%;
    background-size: 22px
}

.author-block .author-block__socials .author-block__socials__item i.icon-tw {
    background: url(../assets/img/icon-tw.svg) no-repeat 50%;
    background-size: 22px
}

.author-block .author-block__socials .author-block__socials__item i.icon-email {
    background: url(../assets/img/icon-email.svg) no-repeat 50%;
    background-size: 22px
}

.author-block .author-block__text {
    color: #2d2d2c;
    font-size: 18px
}

.author-block .author-block__text p:not(:last-child) {
    margin-bottom: 20px
}

/*FAQ*/
.faq-block {
    padding: 60px 0;
    margin-top: 40px;
    background: linear-gradient(135deg, rgba(8, 85, 196, 0.05) 0%, rgba(0, 149, 255, 0.05) 100%);
    border-radius: 16px;
}

.faq-block .faq-block--title {
    color: #fff;
    font-size: 28px;
    font-weight: 600;
    margin-bottom: 20px;
    text-transform: uppercase;
    letter-spacing: 1px;
    text-align: center;
    color: #FF6B00;
}

.faq-block .faq-block--subtitle {
    color: rgba(255, 255, 255, 0.8);
    font-size: 16px;
    margin-bottom: 24px;
    text-align: center;
    font-weight: 400;
}

.faq-block .faq-block--items .faq-block--items__item:not(:last-child) {
    margin-bottom: 10px
}

.faq-block .faq-block--items .faq-block--items__item .faq-block--items__item--header {
    background: #222;
    border: 1px solid rgba(255, 107, 0, 0.2);
    border-radius: 8px;
    font-size: 16px;
    font-weight: 500;
    padding: 16px 20px;
    position: relative;
    color: #fff;
    transition: all 0.2s ease;
    cursor: pointer;
}

.faq-block .faq-block--items .faq-block--items__item .faq-block--items__item--header:hover {
    background: #2a2a2a;
    border-color: rgba(255, 107, 0, 0.4);
}

.faq-block .faq-block--items .faq-block--items__item .title-faq {
    max-width: 90%;
    width: 90%
}

.faq-block .faq-block--items .faq-block--items__item .title-faq:after {
    background: #333;
    border-radius: 4px;
    content: "+";
    height: 28px;
    width: 28px;
    position: absolute;
    right: 16px;
    top: 50%;
    transform: translateY(-50%);
    transition: all 0.2s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    font-weight: 400;
    color: #FF6B00;
    border: 1px solid rgba(255, 107, 0, 0.3);
}

.faq-block .faq-block--items .faq-block--items__item .faq-block--items__item--content {
    display: none
}

.faq-block .faq-block--items .faq-block--items__item.-toggle .faq-block--items__item--header {
    background: #2a2a2a;
    color: #FF6B00;
    border-color: rgba(255, 107, 0, 0.4);
    border-bottom-left-radius: 0;
    border-bottom-right-radius: 0;
}

.faq-block .faq-block--items .faq-block--items__item.-toggle .faq-block--items__item--header .title-faq:after {
    content: "−";
    background: #333;
    color: #FF6B00;
}

.faq-block .faq-block--items .faq-block--items__item.-toggle .faq-block--items__item--content {
    display: block;
    padding: 16px 20px;
    background: #1a1a1a;
    border: 1px solid rgba(255, 107, 0, 0.2);
    border-top: none;
    border-radius: 0 0 8px 8px;
    color: #fff;
    font-size: 14px;
    line-height: 1.5;
}

.faq-block .faq-block--items .faq-block--items__item.-toggle .faq-block--items__item--content p:not(:last-child) {
    margin-bottom: 12px
}

.faq-block .faq-block--items .faq-block--items__item.-toggle .faq-block--items__item--content a {
    color: #FF6B00;
    transition: all 0.2s ease;
    text-decoration: none;
}

.faq-block .faq-block--items .faq-block--items__item.-toggle .faq-block--items__item--content a:hover {
    color: #FF9900;
    text-decoration: underline;
}

/*WP STYLE*/
.wp-block-media-text .wp-block-media-text__media {
    float: right;
    max-width: 50%;
    margin-left: 20px;
    margin-bottom: 20px;
}

.alignright{
    float: right;
    margin-left: 20px;
    margin-bottom: 20px;
}

@media (max-width: 1024px) {
    .menu-mob-btn {
        display: block !important;
        position: absolute;
        right: 5px;        
    }
    
    .header-wrap {
        position: relative;
    }
}

.alignright {
    max-width: 100%;
    margin: 16px auto 24px auto;
    float: none;
    order: 2;
}

.alignleft{
    float: left;
    margin-right: 20px;
    margin-bottom: 20px;
}
/*footer*/
footer {
    background: #1A0A00;
    color: #fff;
	padding: 0 20px;
}
.footer-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Providers section */
.footer-providers {
    padding: 30px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-title {
    color: #fff;
    font-size: 24px;
    font-weight: 600;
    margin: 0 0 20px 0;
    text-align: left;
}

.providers-slider {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 30px;
}

.provider-item {
    background: #3A1A00;
    border-radius: 8px;
    padding: 15px;
    width: 18%;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.provider-item img {
    max-width: 100%;
    max-height: 60px;
}

.payment-methods {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 20px;
    margin-top: 20px;
}

.payment-item {
    height: 60px;
}

.payment-item img {
    height: 100%;
    width: auto;
}

/* Menu section */
.footer-menu-section {
    padding: 40px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-logo-social {
    display: flex;
    flex-direction: column;
    gap: 20px;
    margin-bottom: 30px;
}

.footer-logo {
    margin-bottom: 0;
}

.footer-logo-img {
    height: 23px;
    width: auto;
}

.footer-title {
    margin-bottom: 20px;
}

.footer-title h3 {
    color: #fff;
    font-size: 18px;
    font-weight: 600;
    margin: 0;
}

.footer-menu-columns {
    display: flex;
    justify-content: space-between;
    margin-bottom: 30px;
}

.footer-menu-column {
    width: 23%;
}

.footer-menu-title {
    color: #fff;
    font-size: 13px;
    line-height: 1.4;
    margin-bottom: 10px;
}

.footer-menu-column ul {
    list-style: none;
    margin: 0;
    padding: 0;
}

.footer-menu-column li {
    margin-bottom: 10px;
}

.footer-menu-column a {
    color: #fff;
    text-decoration: none;
    font-size: 13px;
    line-height: 1.4;
    transition: color 0.3s ease;
}

.footer-menu-column a:hover {
    color: #FF6B00;
}

/* Social section */
.footer-social-section {
    padding: 30px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-social h3 {
    color: #fff;
    font-size: 18px;
    font-weight: 600;
    margin: 0 0 15px 0;
}

.social-icons {
    display: flex;
    gap: 15px;
}

.social-icon {
    background: #2A1A0A;
    border-radius: 50%;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.3s ease;
}

.social-icon:hover {
    background: #FF6B00;
}

.social-icon img {
    width: 20px;
    height: 20px;
}

/* Copyright section */
.footer-copyright-section {
    padding: 15px 0;
    background-color: #1A0F05;
    border-top: 1px solid #2A1A0A;
}

.footer-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 15px;
}

.footer-copyright-text {
    font-size: 14px;
    color: #9A8C7E;
}

.footer-copyright-right {
    display: flex;
    align-items: center;
    gap: 15px;
}

.license-link {
    font-size: 14px;
    color: #0ac5cb;
    display: flex;
    align-items: center;
}


.app-link img, .age-restriction img, .ssl-icon img {
    height: 30px;
    width: auto;
}

.language-selector {
    background: #2A1A0A;
    padding: 8px 15px;
    border-radius: 5px;
    cursor: pointer;
    display: flex;
    align-items: center;
}

.language-selector span {
    font-size: 14px;
    color: #fff;
    display: flex;
    align-items: center;
}

.language-selector span:after {
    content: "";
    display: inline-block;
    width: 10px;
    height: 10px;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='white'%3E%3Cpath d='M7 10l5 5 5-5z'/%3E%3C/svg%3E");
    background-size: contain;
    margin-left: 5px;
}

.footer-copyright-text {
    text-align: center;
    font-size: 12px;
    color: rgba(255, 255, 255, 0.7);
    padding: 10px 0;
}

.footer-copyright-text p {
    margin: 0;
}

/* Responsive styles */
@media (max-width: 991px) {
    .providers-slider {
        flex-wrap: wrap;
        gap: 10px;
    }
    
    .provider-item {
        width: 48%;
        margin-bottom: 10px;
    }
    
    .payment-methods {
        flex-wrap: wrap;
    }
    
    .footer-menu-columns {
        flex-wrap: wrap;
    }
    
    .footer-menu-column {
        width: 48%;
        margin-bottom: 20px;
    }
    
    .footer-copyright {
        flex-direction: column;
        gap: 15px;
    }
}

@media (max-width: 576px) {
    .provider-item {
        width: 100%;
    }
    
    .footer-menu-column {
        width: 100%;
    }
}



/*MOBILE*/
@media (max-width:768px) {
    .menu-mob-btn {
        display: block;
    }

    .header-logo__img {
        max-height: 42px;
        max-width: 180px;
        width: auto;
    }

    .menu-wrap {
        grid-gap: 16px;
        background: #000;
        display: none;
        grid-template-columns: 1fr; /* single-column grid for full-width items */
        height: calc(100vh - 82px);
        left: 0;
        padding: 20px;
        place-content: flex-start;
        position: fixed;
        top: 82px;
        width: 100%;
        z-index: 9998;
        transition: all 0.3s ease;
        overflow-y: auto;
    }

    .menu-wrap.-toggle {
        display: grid !important;
        visibility: visible !important;
        opacity: 1 !important;
    }

    .menu-wrap.show {
        display: grid !important;
        visibility: visible !important;
        opacity: 1 !important;
    }

    .main-nav {        
        grid-row: 1;
        margin-bottom: 64px;
        padding: 0;
        text-align: left;
        width: 100%;
        margin-top: 64px;
        align-items: center;
        justify-content: center;
        flex-direction: column;
    }

    .main-nav__list {
        display: block;
    }

    .main-nav__list li {
        border-bottom: 1px solid hsla(0, 0%, 100%, .1);
        display: block;
        margin-bottom: 20px;
        padding-bottom: 20px;
        text-align: center;
    }

    .header .btn {
        grid-row: auto !important; /* avoid forcing same row */
        grid-column: 1 / -1 !important; /* span full width */
        text-align: center;
    }

    .header .btn a {
        padding: 0 10px;
    }

    /* Equal width for Register/Login buttons on mobile */
    .header .btn,
    .header .btn-register,
    .header .btn-login {
        width: 100% !important;
        display: flex !important;
        justify-content: center !important;
    }

    .header .btn a,
    .header .btn-register a,
    .header .btn-login a {
        display: block !important;
        width: 100% !important;
        max-width: 320px !important; /* equal max width */
        text-align: center !important;
        margin: 0 auto !important;
    }

    /* Close button styles and visibility */
    .menu-close-btn {
        position: absolute !important;        
        right: 5px !important;
        width: 40px !important;
        height: 40px !important;
        z-index: 10060 !important;
        background: #dd9236 !important;
        color: #fff !important;
        border: none !important;
        border-radius: 4px !important;
        font-size: 28px !important;
        line-height: 40px !important;
        text-align: center !important;
        cursor: pointer !important;
        display: none !important; /* hidden by default */
    }

    body.menu-open .menu-close-btn {
        display: block !important;
    }

    /* Toggle burger visibility when menu is open */
    .menu-mob-btn.-toggle {
        display: none !important;
        pointer-events: none !important;
    }

    /* Fix header position when menu is open */
    html.menu-open header,
    body.menu-open header {
        position: fixed !important;
        top: 0 !important;
        left: 0 !important;
        right: 0 !important;
        z-index: 10000 !important;        
    }
}

/* Мобильный хедер при ширине < 1050px */
@media (max-width: 1050px) {
    .header {
        position: relative;
    }
    
    .menu-wrap {
        background-color: #1a1a1a;
        display: none;
        grid-template-columns: 1fr;
        height: calc(100vh - 82px);
        left: 0;
        padding: 20px;
        place-content: flex-start;
        position: fixed;
        top: 82px;
        width: 100%;
        z-index: 9998;
        transition: all 0.3s ease;
        overflow-y: auto;
    }
    
    .menu-mob-btn {
        display: block !important;
        cursor: pointer;
    }
    
    .menu-close-btn {
        display: none !important;
    }
    
    body.menu-open .menu-close-btn {
        display: block !important;
    }
    
    .menu-wrap.-toggle,
    .menu-wrap.show {
        display: grid !important;
        visibility: visible !important;
        opacity: 1 !important;
    }
    
    .main-nav__list {
        display: block;
    }
    
    .main-nav__list li {
        border-bottom: 1px solid hsla(0, 0%, 100%, .1);
        display: block;
        margin-bottom: 20px;
        padding-bottom: 20px;
        text-align: center;
    }
}

/* Desktop overrides */
@media (min-width: 1051px) {
    .menu-wrap {
        display: grid !important;
        visibility: visible !important;
        opacity: 1 !important;
    }
    .menu-mob-btn { display: none !important; }
    .menu-close-btn { display: none !important; }
}

/* Уменьшение текста в хедере при разрешении < 1350px */
@media (max-width: 1350px) {
    .header {
        font-size: 10px;
    }
    .nav-item__link, 
    .header-time, 
    .header-lang, 
    .btn {
        font-size: 10px;
    }
}

/* banner */

        .banner-container {
            width: 100%;            
            margin: 0 auto;
            height: auto;
            overflow: hidden;
            position: relative;
            margin-bottom: 20px;
        }

        .banner-wrapper {
            display: grid;
            grid-template-columns: repeat(3, 1fr);
            width: 100%;
            gap: 12px;
            align-items: stretch; /* Выравнивание элементов по высоте */
        }

        .banner-item {
            min-width: 0;
            height: 227px;
            background: linear-gradient(110deg,#3a2a1e,#5a3a28 100%);
            border-radius: 12px;
            position: relative;
            color: #fff;
            padding: 16px;
            overflow: hidden;
            display: flex; /* Добавляем flex для внутреннего выравнивания */
            flex-direction: column;
            justify-content: center; /* Центрирование по вертикали */
        }

        .banner-item::before {
            content: "";
            position: absolute;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            border-radius: 12px;
            background: linear-gradient(90deg, rgba(0,0,0,.35) 0%, rgba(0,0,0,0) 60%);
            pointer-events: none;
            z-index: 1; /* Добавляем z-index */
        }

        .banner-image {
            position: absolute;
            top: 0;
            right: 0;
            bottom: 0;
            left: 0;
            width: 100%;
            height: 100%;
            object-fit: cover;
            z-index: 0;
            pointer-events: none;
        }

        .banner-content {
            position: relative;
            z-index: 1;
            text-align: left;
            max-width: 52%;
            display: grid;
            grid-auto-rows: min-content;
            justify-items: start;
            align-content: center;
            gap: 10px;
        }

        .banner-item .banner-badge {
            display: inline-block;
            padding: 7px 16px;
            background: linear-gradient(90deg, #FF5C00 0%, #FF8A00 100%) !important;
            border: none !important;
            border-radius: 999px;
            font-size: 14px;
            font-weight: 800;
            text-transform: uppercase;
            letter-spacing: 1px;
            color: #ffffff !important;
            box-shadow: 0 6px 18px rgba(255, 92, 0, 0.35);
            position: relative;
        }
        .banner-item .banner-badge::before {
            content: none;
        }

        .banner-title {
            font-size: 20px;
            font-weight: 800;
            margin: 0;
            color: #fff;
            text-transform: uppercase;
            text-shadow: 0 2px 4px rgba(0,0,0,0.6);
        }

        .banner-text {
            font-size: 13px;
            font-weight: 600;
            margin: 0;
            color: #fff;
            text-shadow: 0 1px 2px rgba(0,0,0,0.6);
        }

        .banner-item .banner-button {
            margin-top: 8px;
            padding: 10px 22px;
            background: linear-gradient(90deg, #FF5C00 0%, #FF8A00 100%) !important;
            color: #ffffff !important;
            border: none !important;
            border-radius: 999px;
            cursor: pointer;
            font-size: 14px;
            font-weight: 800;
            text-transform: uppercase;
            display: inline-block;
            box-shadow: 0 8px 20px rgba(255, 92, 0, 0.35);
            text-decoration: none;
            position: relative;
        }

        .banner-item .banner-button::before {
            content: none;
        }
        .banner-item .banner-button:hover {
            background: linear-gradient(90deg, #FF5C00 0%, #FF8A00 100%) !important;
            filter: brightness(1.1);
            transform: translateY(-2px);
            box-shadow: 0 10px 24px rgba(255, 92, 0, 0.5);
        }

        /* Мобильная адаптация баннеров */
        @media (max-width: 768px) {
            .banner-wrapper { 
                grid-template-columns: 1fr; 
                gap: 16px;
            }
            .banner-item { 
                height: auto; 
                min-height: 220px;
                padding: 20px;
            }
            .banner-content { 
                max-width: 100%; 
                gap: 12px;
                position: relative;
                z-index: 2;
            }
            .banner-image { 
                width: 100%;
                height: 100%;
                max-width: none;
                right: 0;
                object-fit: cover;
                opacity: 0.9;
            }
        }

/* Секция с играми */
.games-section {
    background: #250904;
    padding: 20px 0;
    margin: 0;
}

.section-title {
    color: #fff;
    font-size: 24px;
    font-weight: 700;
    margin: 0 0 20px 20px;
    text-transform: uppercase;
}

.games-container {
    display: flex;
    gap: 15px;
    overflow-x: auto;
    padding: 0 20px 20px;
    scroll-behavior: smooth;
    justify-content: space-between;
}

.games-container::-webkit-scrollbar {
    height: 6px;
}

.games-container::-webkit-scrollbar-track {
    background: rgba(255, 255, 255, 0.1);
    border-radius: 3px;
}

.games-container::-webkit-scrollbar-thumb {
    background: linear-gradient(90deg, #FF6B00, #FF9900);
    border-radius: 3px;
    transition: background 0.2s ease;
}

.games-container::-webkit-scrollbar-thumb:hover {
    background: rgba(255, 255, 255, 0.5);
}

.game-item {
    flex: 1;
    text-align: center;
    cursor: pointer;
    transition: transform 0.3s;
    position: relative;
    width: calc(16.666% - 12.5px);
    border-radius: 10px;
    overflow: hidden;
}

.game-item:hover {
    transform: translateY(-5px);
}

.game-image {
    width: 100%;
    height: 120px;
    object-fit: cover;
    border-radius: 10px;
    display: block;
}

.game-badge {
    position: absolute;
    top: 10px;
    right: 10px;
    background: linear-gradient(90deg, #FF5C00, #FF8A00);
    color: white;
    padding: 3px 8px;
    border-radius: 4px;
    font-size: 10px;
    font-weight: 600;
    text-transform: uppercase;
}

.game-info {
    display: flex;
    flex-direction: column;
    padding: 8px 0;
    text-align: left;
}

.game-title {
    color: #fff;
    font-size: 14px;
    font-weight: 600;
    margin-bottom: 4px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.game-provider {
    color: #aaa;
    font-size: 12px;
    font-weight: 400;
}

.game-favorite {
    position: absolute;
    right: 0;
    bottom: 8px;
    width: 20px;
    height: 20px;
    background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23aaa' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M12 2L15.09 8.26 22 9.27 17 14.14 18.18 21.02 12 17.77 5.82 21.02 7 14.14 2 9.27 8.91 8.26 12 2z'/%3E%3C/svg%3E") no-repeat center;
    background-size: contain;
    cursor: pointer;
}

/* Адаптивные стили для мобильных устройств */
@media (max-width: 768px) {
    .game-item {
        width: 140px;
    }
    
    .game-image {
        height: 100px;
    }
    
    .game-badge {
        font-size: 9px;
        padding: 2px 6px;
    }
    
    .section-title {
        font-size: 20px;
        margin-left: 15px;
    }
}

.game-image {
    max-width: 100%;
    height: auto;
    border-radius: 12px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
    transition: box-shadow 0.2s ease;
}

.game-item:hover .game-image {
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.4);
}

.game-title {
    color: #fff;
    font-size: 12px;
    font-weight: 600;
    margin-top: 8px;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.5);
    line-height: 1.2;
}

@media (max-width: 768px) {
    .games-container {
        padding: 0 15px;
        gap: 8px;
    }
    
    .game-item {
        /* width removed for responsive sizing */
        max-width: 120px;
        min-width: 100px;
    }
    
    .game-image {
        max-width: 100%;
        height: auto;
        border-radius: 8px;
    }
    
    .game-title {
        font-size: 10px;
        margin-top: 6px;
    }
}

/* Горизонтальное оглавление */
.table-of-contents {
    background: #5f3a18;
    border: 1px solid #dd9236;
    border-radius: 8px;
    padding: 16px;
    margin: 20px 0;
    display: none;
    box-shadow: 0 2px 8px rgba(42, 58, 96, 0.3);
}

.table-of-contents .toc-title {
    margin: 0 0 12px 0;
    font-size: 1.1em;
    font-weight: 600;
    color: #fff;
    border-bottom: 2px solid #dd9236;
    padding-bottom: 8px;
}

.toc-horizontal-wrapper {
    overflow-x: auto;
    overflow-y: hidden;
    padding-bottom: 8px;
}

.toc-horizontal-wrapper::-webkit-scrollbar {
    height: 6px;
}

.toc-horizontal-wrapper::-webkit-scrollbar-track {
    background: rgba(42, 58, 96, 0.3);
    border-radius: 3px;
}

.toc-horizontal-wrapper::-webkit-scrollbar-thumb {
    background: #dd9236;
    border-radius: 3px;
    transition: background 0.2s ease;
}

.toc-horizontal-wrapper::-webkit-scrollbar-thumb:hover {
    background: #1a0a00;
}

.toc-list {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    gap: 8px;
    min-width: max-content;
}

.toc-list li {
    margin: 0;
    padding: 0;
    flex-shrink: 0;
}

.toc-link {
    display: block;
    padding: 8px 12px;
    color: #4b211e;
    text-decoration: none;
    font-size: 0.9em;
    line-height: 1.2;
    transition: all 0.2s ease;
    background: #ff9f23;
    border: 1px solid rgba(67, 92, 148, 0.5);
    border-radius: 6px;
    white-space: nowrap;
    font-weight: 500;
}

.toc-link:hover {
    color: #fff;
    border-color: #dd9236;
    background: #dd9236;
    transform: translateY(-1px);
    box-shadow: 0 2px 6px rgba(67, 92, 148, 0.4);
}

.toc-level-h3 {
    font-size: 0.85em;
    opacity: 0.95;
}

.toc-level-h4 {
    font-size: 0.8em;
    opacity: 0.9;
}

.toc-level-h5,
.toc-level-h6 {
    font-size: 0.75em;
    opacity: 0.85;
}

@media (max-width: 768px) {
    .table-of-contents {
        margin: 15px 0;
        padding: 12px;
        border-radius: 6px;
    }
    
    .table-of-contents .toc-title {
        font-size: 1em;
        margin-bottom: 10px;
    }
    
    .toc-link {
        font-size: 0.85em;
        padding: 6px 10px;
        border-radius: 4px;
    }
    
    .toc-link:hover {
        transform: none;
        box-shadow: 0 1px 3px rgba(8, 85, 196, 0.15);
    }
    
    .toc-list {
        gap: 6px;
    }
}

.banner-button {
	text-decoration: none;
	font-weight: 600;
	box-shadow: 0 4px 12px rgba(5, 242, 107, 0.3);
    width: auto;
    display: inline-block;
    transition: all 0.3s ease;
}

.banner-button:hover {
    background: #04d95f;
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(5, 242, 107, 0.4);
}

/* Стили для banner-wrapper при разрешении < 1350px */
@media (max-width: 1350px) {
    .banner-content {
        font-size: 10px;
    }
    .banner-badge {
        font-size: 10px;
    }
    .banner-button {
        font-size: 10px;
    }
}

/* Мобильные стили для banner-item */
@media (max-width: 768px) {
    .banner-item {
        background-position: right !important;
        position: relative;
    }
    
    .banner-wrapper {
        grid-template-columns: 1fr;
    }
    
    .banner-image {
        top: 0;
        right: 0;
        bottom: 0;
        left: 0;
        width: 100%;
        height: 100%;
        object-fit: cover;
    }
    
    .banner-item::before {
        content: '';
        position: absolute;
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
        background: rgba(0, 0, 0, 0.3);
        z-index: 1;
    }
    
    .banner-content {
        position: relative;
        z-index: 2;
    }
}



.banner-header {
			color: #fff;
			box-sizing: inherit;
			font-family: -apple-system,SF Pro Display,-apple-system,SF Pro Text,sans-serif;
			font-weight: 800;
			letter-spacing: .33px;
			text-shadow: 0 2px 4px rgba(0,0,0,0.5), 0 4px 8px rgba(0,0,0,0.5);
			max-width: 100%;
			width: 100%;
			font-size: 30px;
			line-height: 106%;
			white-space: pre-line;
		}

        @media (max-width: 768px) {
    .banner-container {
        height: auto;
    }
    
    .banner-item {
        height: 200px;
    }
}

/*grid*/

        .grid-container {
            display: flex;
            gap: 15px;
            width: 100%;
            max-width: 1200px;
            margin: 0 auto;
            flex-wrap: wrap;
			justify-content: space-between;
			margin: 15px 0 15px 0;
        }

        .grid-item {
            display: flex;
            align-items: center;
            background-image: linear-gradient(110deg,#1e283f,rgba(20,27,46,.6) 100%);
            padding: 15px;
            border-radius: 8px;
            text-decoration: none;
            color: #fff;
            width: 30%;
            min-width: 200px;
			justify-content: space-between;
        }
		
		.grid-item:hover {
			scale: 1.1;
}

        .grid-icon {
            width: 50px;
            height: 50px;
            margin-right: 15px;
            display: flex;
            align-items: center;
            justify-content: center;
			font-size: 35px;
        }

        .grid-text {
            display: flex;
            flex-direction: column;
        }

        .grid-title {
            font-size: 18px;
            font-weight: bold;
        }

        .grid-subtitle {
            font-size: 14px;
        }

        @media (max-width: 768px) {
            .grid-container {
                flex-direction: column;
                align-items: center;
            }
            .grid-item {
                width: 100%;
            }
        }

body > header > div {
    max-width: 100%;
}

#wpfront-scroll-top-container img {
    margin-bottom: 60px;
}