/*
Theme Name: template-parsec
Version: 1.0
*/

* {
    margin: 0; 
	padding: 0; 
	box-sizing: border-box;
}

body {
    font-family: 'Segoe UI', sans-serif;
    background: #0a0e2a;
    color: white;
	position: relative;
}

h2 {
	font-size: 1.9rem;
	margin-bottom: 16px;
}

ul {
    list-style: none;	
}

.wp-block-list {
	margin: 8px 0;
}

ol.wp-block-list {
	list-style-position: inside;
}

ul.wp-block-list {
	list-style: inside;
}

.wp-block-list li {
	margin-top: 8px;
}

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

img {
    width: 100%;
}

.text-center {
	text-align: center;
}
.d-flex {
	display: flex;
}
.d-block {
	display: block;
}
.flex-direction-column {
	flex-direction: column;
}
.row {
	display: flex;
	flex-wrap: wrap;
}
.align-items-center {
	align-items:center;
}

.align-items-start {
	align-items: start;
}

.justify-content-center {
	justify-content: center;
}

.justify-content-around {
	justify-content: space-around;
}

.justify-content-between {
	justify-content: space-between;
}

.justify-content-end {
	justify-content: end;
}

.w-100 {
	width: 100%;
}


.container {
    width: 100%;
    max-width: 1402px;
	padding: 0 16px;
    margin: 0 auto;
}


/* header */
header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 9;
	background: #090f1e;
	backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
}
.header-logo img {
    max-width: 156px;
    height: 64px;
}

header .lang {
	/* padding: 9px 11px;
    background: #203232;
    border-radius: 4px;
    font-size: 14px;	 */
	margin: 0 32px 0 auto;
}

.header-buttons {
	gap: 14px;
}

.header-buttons a:nth-child(1) {
	background: #2972D6;
}

.header-buttons a:nth-child(2) {
	background: limegreen;
}

.header-btn {
    justify-content: center;
    gap: 6px;	
    line-height: 16px;	
	padding: 13px 28px;
}

header .lang svg {
	margin-right: 8px;
}

.btn {
	display: flex;
	align-items: center;
	justify-content: center;
    text-align: center;
    height: 44px;
	border-radius: 8px;
}

.btn:hover,
.wp-block-buttons .wp-block-button__link:hover {
	opacity: 0.7;
    transition: .6s;
}

.wp-block-buttons .wp-block-button__link {
    font-size: 16px;
    border-radius: 8px;
    margin: 16px 0;
}

.wp-block-table thead,
.wp-block-buttons .wp-block-button__link {
	background-color: #2972D6;
}

.wp-block-table table {
	min-width: 600px;
}

header,
footer {
	padding: 16px 0;
}

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

.main-menu li:hover {
	color: #0097eb;
    transform: scale(1.06);
    transition: .35s;
}
/* header */


section {
    padding-top: 50px;
}


/* hero-block */
.hero-block {
	padding: 120px 0 32px;
}

.hero-block h1 {
    font-size: 34px;
}

.title-block {
    max-width: 63.7%;
}

.hero-block-promo {
    position: relative;
    gap: 14px;
	border-radius: 20px;
	padding: 16px 72px 16px 16px;
	margin-top: 20px;
}

.label {
	width: fit-content;
	background: #ffffff52;
    border-radius: 50px;
    padding: 4px 8px;
}

.promo-label {
	gap: 4px;
	margin-bottom: 8px;
}

.hero-block-promo .promo-label p {
	font-size: 14px;
}

.hero-block-promo p {
	font-size: 18px;
    line-height: 1.2;
	max-width: 352px;
}

.promocode-block {
	max-width: 417px;
	width: 100%;
	padding: 18px 0;
}

.promocode {
	background: #ffffff52;	
    border-radius: 10px;
	padding: 12px;
	text-transform: uppercase;
}

.hero-block-promo .promocode p {
	font-weight: 700;
    font-size: 16px;
}

.promocode-buttons {
	gap: 12px;
	margin-top: 14px;
}

.promocode-buttons .btn {
	width: 100%;
	padding: 12px 25px;
    gap: 8px;
}


.promocode-buttons a:nth-child(1) {
	background: white;
	color: black;
}

.promocode-buttons a:nth-child(2) {
	border: 1px solid white;
}

.hero-block-promo .promocode-image {
    position: absolute;
	width: 52px;
	height: 52px;
    right: -3px;
    top: -8px;
}

.hero-block-text {
	line-height: 1.5;
	margin-top: 30px;
}

.link-blocks {
	display: flex;
    flex-direction: column;
	max-width: 33.9%;
	width: 100%;
	gap: 16px;
	margin-top: auto;
}

.link-blocks a {
    border-radius: 20px;
	padding: 16px;
}

.link-block-label {
	font-size: 14px;
	font-weight: 600;
	margin-bottom: 12px;
}

.link-block-text {
	max-width: 301px;
	line-height: 1.5;
	gap: 4px;
}


.link-block img {
	max-width: 120px;
	width: 100%;
	max-height: 88px;
	object-fit: cover;
    object-position: top;
	margin: auto 0 -16px;
}
/* hero-block */


/* .categories-links */
.categories-links {
	padding-top: 24px;
}

.categories-links ul {
	width: 100%;
	gap: 9px;
}

.categories-links-item {
	width: 19.4%;
}

.categories-links-item a {
	display: flex;
    align-items: center;
	gap: 8px;
	font-size: 16px;
    background: rgba(255, 255, 255, 0.1);
	border-radius: 12px;
	padding: 8px 10px;
}

.categories-links-item a:hover{
	outline: 1px solid orange;
	transition: .3s;
}
/* .categories-links */


/* matches */
.matches .matches-btn {
	margin: 0 0 16px;
}

.page-btn {
	max-width: 150px;
	width: 100%;
	background: #2972D6;
	margin: 16px auto;
}

.matches-container {
	overflow: auto;
}
.matches-item {
	display: flex;
    width: 24.1%;
    flex-direction: column;
	font-size: 14px;
    line-height: 16px;
	gap: 10px;
	background-color: #272E44;
	border-radius: 10px;
	padding: 10px;
}
.matches-item-date,
.matches-item-category {
	font-size: 12px;
    line-height: 12px;
}

.matches-item-date {
	background: #1DCC39;
	border-radius: 0 50px 50px 0;
	padding: 4px 10px;
	margin-left: -10px;
}

.matches-item-title {
	font-size: 18px;
    font-weight: 700;
    line-height: 18px;
    text-align: center;
    margin-top: 10px;
}

.matches-item-team,
.matches-item-coefficient {
    width: 32%;
    text-align: center;
}

.matches-item-coefficient {
	display: flex;
	align-items: center;
	justify-content: center;
	min-height: 48px;
	font-size: 16px;
    line-height: 16px;
	border-radius: 10px;
    background-color: #FFFFFF10;
    cursor: pointer;
}

.matches-item-coefficient:hover {
	background: #1DCC39;
	transition: .3s;
}

.matches-item-probability span {
    border-radius: 4px;
	background: #1DCC39;
	line-height: 24px;
    padding: 2px 6px;
    margin-right: 4px;
}

.matches-item-btn {
	background: #1DCC39;
	border-radius: 10px;
	padding: 12px 0;
}
/* matches */

/* games */
.games-item {
	width: 15.5%;
}
.games-item img {
	max-width: 100%;
	width: 100%;
    aspect-ratio: 3 / 4;
    border-radius: 16px;
}
/* games */



/* gutenberg */
*,
.wp-block-custom {
    scroll-margin-top: 100px;
}
.content .container {
	line-height: 1.5
}
.wp-block-table {
	margin: 20px 0;
}
.wp-block-table table td {
    padding: 22px 16px;
    border: 1px solid #2972d1;
}
.wp-block-media-text {
	display: flex;
    justify-content: space-between;
    gap: 48px;
	margin: 48px 0;
}
.wp-block-media-text__media {
	width: calc(100% - 24px);
}
.content .wp-block-media-text .wp-block-media-text__media img {
	position: static;
	aspect-ratio: 2 / 1;
	border-radius: 16px;
}
.content .wp-block-media-text .wp-block-media-text__content {
	width: calc(100% - 24px);
    font-size: 18px;
    font-weight: 200;
	padding: 0 ;
}
.content .wp-block-media-text__content h2 {
	color: white;
}
.content .wp-block-media-text__content p {
    font-size: 18px;
    font-weight: 200;
	line-height: 1.5;    
	padding: 0;
	margin-bottom: 16px;
}
.wp-block-media-text__content .wp-block-heading {
	margin-top: 0;
}
.wp-block-heading {
	margin: 20px 0 16px;
}
.wp-block-image {
	margin: 20px 0;
}
/* gutenberg */


/* app */
.app-block-left,
.app-block-right {
	width: 100%;
	border: 1px solid #FFFFFF46;
    border-radius: 16px;
	overflow: hidden;
	padding: 16px 32px 16px 16px;
}
.app-block-left {
	max-width: 64%;
}

.app-block-right {
	max-width: 35%;
	flex-direction: column;
}

.app-block-left-text {
	display: grid;
	justify-items: start;
	gap: 16px;
    width: 100%;
}

.app-title {
    font-size: 24px;
}

.app-rating {
	height: min-content;
	background: #0097eb;
    padding: 2px 8px;
    border-radius: 50px;
	margin-left: 8px;
}
.app-rating p {
	font-size: 16px;
    line-height: 1;
}

.app-specs {
	width: 300px;
	padding: 8px 16px;
	border-radius: 8px;
	text-align: center;
}
.app-specs span {
	font-size: 14px;
	font-weight: 100;
}
.app-specs-divider {
	width: 1px;
	background: white;
	margin: 0 16px;
}
.app-block-left .btn {
	max-width: 300px;
    width: 100%;
    height: 44px;
}
.app-block-left-img {
	margin-left: auto;
}

.app-block-left-img img {
	width: 200px;
    height: 181px;
    object-fit: cover;
    object-position: top;
    margin: -53px 0;
}

.app-block-right .btn {
    max-width: fit-content;
    width: 100%;
    height: 44px;
    padding: 0 24px;
    margin-top: auto;
}

.app-block-right .btn svg{
	margin-right: 6px;
}

.app-subtitle {
	margin: 16px 0;
}
/* app */


/* popular-games */
.popular-games-item {
	width: 18.5%;
    border-radius: 16px;
    background: #32373c;
	padding: 16px;
}

.popular-games-item-title {
    font-size: 16px;
    text-transform: uppercase;
    font-weight: 600;
    text-align: center;
    margin: 8px 0 16px;
}

.popular-games-item img {
	width: 100%;
	aspect-ratio: 4 / 3;
    object-fit: cover;
    border-radius: 16px;
}

.popular-games-item .btn {
    max-width: 100%;
	margin-top: 8px;
}

.popular-games-item a {
	background: limegreen;
}

.popular-games-item a + a {
  background: white;
  color: black;
}
/* popular-games */


/* list-stages */
.list-stages {
	overflow: hidden;
    padding-bottom: 72px;
	margin: 48px 0;
}
.stage-item:nth-child(even) {
	flex-direction: row-reverse;
    margin: -72px 0;
}
.stage-content {
    position: relative;
	width: 45.402%;
	background: #32373c;
	border-radius: 16px;
}
.stage-content:after {
    content: '';
    position: absolute;
    right: -16px;
    top: 50%;
    transform: translateY(-50%);
    width: 0;
    height: 0;
    border-style: solid;
    border-width: 16px 0 16px 16px;
    border-color: transparent transparent transparent #001cff;
}
.stage-item:nth-child(even) .stage-content:after {
	border-width: 16px 16px 16px 0;
    border-color: transparent #001cff transparent transparent;
    left: -16px;
}
.stage-content img {
	border-radius: 16px;
	height: 290px;
    object-fit: cover;
}

.stage-content-text {
	margin: 16px;
}
.stage-number {
    position: relative;
	width: 3vw;
    height: 3vw;
    margin: 0 3vw;
}
.stage-item:last-child .stage-number::after {
	display: none;
}
.stage-number::after,
.stage-line:before {
	content: '';
	width: 3px;
	height: 245px;
    background: #0000ff;
    display: block;
    margin: 0 auto;
}
.stage-line {
	position: relative;
	display: flex;
    justify-content: center;
    width: 1px;
    margin: 0 auto;
}
.stage-line:before {
    position: absolute;
    bottom: 0;
}
.stage-item:first-child .stage-line {
	display: none;
}
.stage {
	counter-reset: stage-counter;
}
.stage-item {
	counter-increment: stage-counter;
}
.stage-number::before {
	position: absolute;
  	content: counter(stage-counter);
    display: flex;
    align-items: center;
    justify-content: center;
	width: 3vw;
    height: 3vw;
    font-weight: bold;
    font-size: 18px;
	background: #0000ff;
    border-radius: 50px;
    z-index: 1;
}
/* list-stages */


/* slider */
.slide-image {
	height: 256px;
	object-fit: cover;
	object-position: center;
	border-radius: 16px;
}
/* slider */


/* tabs */
.custom-tabs {
	border-radius: 8px;
    overflow: hidden;
	background: #32373c;
	margin: 32px 0 16px;
}

.tabs-headers {
	display: flex;
	gap: 1px;
	margin-bottom: 16px;
    background: black;
	border-radius: 8px 8px 0 0;
    overflow: auto;
    white-space: nowrap;
}

.tab-btn:first-child {
	border-top-left-radius: 8px;
}

.tab-btn:last-child {
	border-top-right-radius: 8px;
}

.tabs-content {
	justify-content: space-between;
	gap: 40px;
    padding: 0 16px;
}

.tabs-img,
.tabs-text {
	max-width: 45%;
	width: 100%;
}

.tab-btn {
	width: 100%;
	border: none;
	padding: 13px 20px;
	font-size: 16px;
	cursor: pointer;
	color: #666;
	transition: all 0.3s ease;
	position: relative;
}

.tab-btn:hover {
    filter: brightness(0.8);
	transition: 0.3s;
}

.tab-btn.active {
	color: white;
    background: limegreen;
}

.tab-pane {
	display: none;
	animation: fadeIn 0.3s ease;
}

.tab-pane.active {
	display: block;
}

.tabs-img {
margin-bottom: 20px;
}

.tab-img-pane,
.tab-text-pane {
	display: none;
	animation: fadeIn 0.3s ease;
}

.tab-img-pane.active,
.tab-text-pane.active {
	display: block;
}

.tab-img-pane img {
	width: 100%;
	height: 320px;
	object-fit: cover;
    object-position: center;
	border-radius: 16px;
}



@media (max-width: 768px) {
	.tabs-content {
		justify-content: space-between;
		gap: 40px;
		padding: 0 16px;
		flex-direction: column-reverse;
	}
	.tabs-img, .tabs-text {
		max-width: 100%;
	}
}
/* tabs */









.custom-faq {
    width: 100%;
    margin: 20px 0;
}
.faq-item {
	margin-bottom: 8px;
    border-radius: 8px;
}
.faq-question {
    padding: 16px;
    cursor: pointer;
    font-weight: 600;
    display: flex;
    align-items: center;
	font-size: 24px;
    gap: 10px;
}
.faq-icon {
    transition: transform 0.3s ease;
    font-size: 12px;
	margin-left: auto;
}
.faq-item.active .faq-icon {
    transform: rotate(180deg);
}
.faq-answer {
    display: none;
    padding: 16px;
}
.faq-item.active .faq-answer {
    display: block;
}


/* footer */
footer {
    background: #0a0e2a;
}

footer .container {
	gap: 32px;
}

footer .col-1,
footer .col-2 {
	width: 25%;
}
.footer-logo img {
	height: 100px;
    width: 100%;
    max-width: 156px;
    margin-bottom: 32px;
    object-fit: contain;
}

footer .col-1 p,
footer .copyright {
    color: gray;
}

.footer-nav li {
	margin-bottom: 16px;
}

.footer-nav li:hover {
	color: #0097eb;
	transition: .35s;
}
.footer-app-link {
	width: 250px;
	border-radius: 8px;
	padding: 8px;
	margin-bottom: 8px;
}
.footer_app_text {
    margin: 0 auto 0 8px;
}
.footer-app-link p {
	font-size: 12px;
	margin-bottom: 4px;
}

.footer-app-link span {
	font-size: 14px;
	font-weight: bold;
}
/* footer */


/* block popular-games */
 .game-modal {
	display: none;
	position: fixed;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	background: rgba(0,0,0,0.8);
	z-index: 9999;
	justify-content: center;
	align-items: center;
}

.game-modal-content {
	position: relative;
	width: 90%;
	max-width: 1200px;
	height: 80%;
	background: #fff;
	border-radius: 12px;
	overflow: hidden;
}

.game-modal-close {
	position: absolute;
	top: 5px;
	right: 20px;
	font-size: 48px;
	font-weight: 100;
	cursor: pointer;
	color: black;
	z-index: 10;
}

.game-iframe-container {
	width: 100%;
	height: 100%;
}

.game-iframe {
	width: 100%;
	height: 100%;
	border: none;
}

.game-button {
	padding: 12px 24px;
	background: #007cba;
	color: white;
	border: none;
	border-radius: 8px;
	cursor: pointer;
	font-size: 16px;
	transition: background 0.3s;
}

.game-button:hover {
	background: #005a87;
}
/* block popular-games */


/* mobile-menu */
.mobile-menu {
    position: fixed;
    top: 73px;
    right: -100%;
    width: 100%;
    height: 100%;
    background: #090F1E;
    z-index: 1000;
    transition: right 0.6s ease;
    box-shadow: -2px 0 10px rgba(0,0,0,0.1);
    overflow-y: auto;
}
.mobile-menu.open {
    right: 0;
}
.mobile-menu-overlay {
    position: fixed;
    top: 73px;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 999;
    display: none;
}
.mobile-menu-overlay.active {
    display: block;
}
.mobile-menu-header {
    padding: 20px;
    text-align: right;
}
.mobile-menu-close {
    background: none;
    border: none;
    font-size: 28px;
    cursor: pointer;
    color: #333;
}
.mobile-nav {
    padding: 20px;
}
.mobile-main-menu {
    list-style: none;
    padding: 0;
    margin: 0;
}
.mobile-main-menu li {
    margin-bottom: 15px;
}
.mobile-main-menu a {
    text-decoration: none;
    font-size: 18px;
    display: block;
    padding: 8px 0;
}
.mobile-main-menu a:hover {
    color: #007cba;
}
@media (max-width: 768px) {
    .nav-desk {
        display: none;
    }
}
@media (min-width: 769px) {
    .mobile-menu,
    .mobile-menu-overlay {
        display: none;
    }
}
.burger-btn {
    cursor: pointer;
    width: 34px;
    position: relative;
    z-index: 1001;
    display: flex;
    align-items: center;
    justify-content: center;
}

.burger-icon {
    width: 34px;
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
	gap: 8px;
}

.burger-icon span {
    display: block;
    width: 100%;
    height: 2px;
    background: #808080;
    transition: all 0.3s ease;
    border-radius: 2px;
}

.burger-btn.active .burger-icon span:nth-child(1) {
    transform: translateY(10px) rotate(45deg);
}

.burger-btn.active .burger-icon span:nth-child(2) {
    opacity: 0;
}

.burger-btn.active .burger-icon span:nth-child(3) {
    transform: translateY(-10px) rotate(-45deg);
}

@media (min-width: 769px) {
    .main-menu .menu-item-has-children {
        position: relative;
    }
    
    .main-menu .sub-menu {
        position: absolute;
        top: 32px;
        left: -8px;
        min-width: 200px;
        background: black;
        box-shadow: 0 4px 10px rgba(0,0,0,0.1);
        opacity: 0;
        visibility: hidden;
        transition: all 0.3s ease;
        z-index: 100;
        padding: 16px;
        list-style: none;
		border-radius: 16px;
        border: 1px solid #ffffff1c;
    }
    
    .main-menu .menu-item-has-children:hover > .sub-menu {
        opacity: 1;
        visibility: visible;
    }
	.sub-menu li {
		margin-bottom: 16px;
	}
}


@media (max-width: 768px) {
    .mobile-nav .sub-menu {
        display: none;
        list-style: none;
        padding-left: 20px;
    }
    
    .mobile-nav .menu-item-has-children.open > .sub-menu {
        display: block;
    }
    
    .mobile-nav .menu-item-has-children > a {
        display: flex;
        justify-content: space-between;
        align-items: center;
    }
    
    .mobile-nav .menu-item-has-children > a::after {
        content: "▼";
        font-size: 10px;
        transition: transform 0.2s;
    }
    .mobile-nav .menu-item-has-children.open > a::after {
        transform: rotate(180deg);
    }
}
/* mobile-menu */

.block-title {
	font-size: 1.9rem;
	font-weight: bold;
    margin-bottom: 16px;
}


/* anchor-links */
.anchor-links-title {
	margin: 0;
}
.anchor-links-items {
	border-radius: 16px;
    padding: 16px;
	gap: 16px 32px;
}
.anchor-links-items i {
    color: gray;
    font-size: 24px;
}
.anchor-links-items .anchor-links-item:hover,
.anchor-toggle:hover {
    filter: brightness(0.7);
	transition: .4s;
}
.anchor-links-items .anchor-links-item {
    max-width: 190px;
	width: 100%;
}

.anchor-links-list {
    display: none;  
    margin-top: 20px;
	gap: 16px 32px;
}

.anchor-links-list.open {
    display: flex; 
}

.anchor-toggle {
    cursor: pointer;
    font-size: 35px;
	line-height: 1;
    transition: transform 0.3s ease;
    user-select: none;
}

.anchor-toggle.open {
    transform: rotate(45deg);
}
/* anchor-links */


/* hero-block-app */
.hero-block-app,
.hero-block-game {
	padding: 32px 0 32px;
}
.hero-block-app-title {
	font-size: 34px;
    font-weight: 600;
	margin-bottom: 16px;
}
.hero-app-img {
	width: 106px;
    height: 190px;
}
.block-app {
    gap: 24px;
	border-radius: 16px;
	padding: 16px 42px 16px 16px;
	overflow: hidden;
    max-height: 190px;
	width: 100%;
    max-width: 874px;
}
.hero-app-spec {
	width: 100%;
    max-width: 360px;
}
.hero-app-spec-item {
	border-bottom: 1px solid #d1d1d12e;
    line-height: 24px;
    padding: 8px 0;
}
.hero-app-spec-item:last-child {
	border-bottom: none;
    padding: 8px 0 0 0;
}
.hero-app-spec-item:first-child {
    padding:0 0 8px 0;
}
.hero-app-spec-name {
	color: #ABB8C3;
}
.hero-app-os-item {
	padding: 12px 24px;
	border-radius: 8px;
	background: blue;
	gap: 8px;
}
.hero-app-os {
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 12px;
	max-width: 100%;
    width: 300px;
}
.hero-app-promocode {
	max-width: 480px;
    width: 100%;
	border-radius: 16px;
	padding: 16px;
    margin-left: 16px;
}
.hero-app-promocode-title-img {
	max-width: 150px;
    max-height: 87px;
    object-fit: contain;
}
.hero-app-promocode-label {
	gap: 4px;
}
.hero-app-promocode-title {
    font-size: 18px;
	margin: 12px 0;
}
.hero-app-promocode-btn {
	width: 100%;
    max-width: 175px;
}
.hero-app-promocode .promocode {
    width: stretch;
	margin-right: 12px;
}
.hero-block-app-text {
	line-height: 1.5;
	margin-top: 16px;
}
/* hero-block-app */


/* hero-block-game */
.hero-block-game-left {
	max-width: 786px;
	width: 100%;
	line-height: 1.5;
}
.hero-block-game-right {
	max-width: 550px;
	width: 100%;
}
.hero-block-game-right p {
    font-size: 18px;
}
.hero-block-game-demo,
.hero-block-game-promocode-content {
	border-radius: 22px;
	padding: 16px;
    overflow: hidden;
}
.hero-block-game-demo {
	background: linear-gradient(271.97deg, #57A4FF 0%, #004699 40.85%, #002D61 100%);
}
.hero-block-game-demo-content {
	display: grid;
	gap: 16px;
	width: calc(100% - 158px);
}
.hero-game-img {
	width: 142px;
    height: 142px;
    border-radius: 24px;
    object-fit: cover;
	margin-left: 16px;
}
.hero-block-game-promocode {
    display: grid;
    gap: 8px;	
	margin-top: 16px;
}
.hero-block-game-promocode-content .promocode {
	max-width: 260px;
	width: 100%;
}
.hero-game-promocode-img {
	width: 104px;
	height: 76px;
	object-fit: cover;
    margin: -16px 0 -16px auto;
}

.hero-game-promocode-btn {
	width: 100px;
	margin: 0 8px;
}
.hero-game-btn,
.hero-game-promocode-btn {
	background-color: white;
	color: black;
}
/* hero-block-game */


.error-404 {
	padding: 128px 0 256px;
    text-align: center;
}

.error-404 h1 {
	font-size: 156px;
}

.error-404 .btn {
    background: blue;
    max-width: 300px;
	width: 100%;
    margin: 64px auto;
}
.error-404-subtitle {
	font-size: 32px;
	font-weight: bold;
}



.breadcrumbs {
	margin-top: 100px;
    padding: 24px 0;
    background: #0000004d;
	white-space: nowrap;
    overflow: auto;
}



.breadcrumbs-block {
	display: flex;
	align-items: center;
	gap: 12px;
	
	    white-space: nowrap;
    overflow: auto;

}

.breadcrumbs-block a:hover {
	color: #0000ff;
	transition: .4s
}

.breadcrumbs-block .divider {
	color: gray;
	font-size: 12px;
}

html {
    margin-top: 0 !important;
}

.breadcrumbs-block span {
	color: #0000ff;
}


@media (min-width: 1370px) {
	.stage-number {
		width: 40px;
		height: 40px;
		margin: 0 43px;
	}
	.stage-number::before {
		height: 40px;
		width: 40px;
	}
}


@media (min-width: 1241px) {
	.burger-btn {
		display: none;
	}
	.nav-desk {
		margin: 0 auto;
	}
	.link-blocks a {
		height: 125px;
	}
}


@media (max-width: 1240px) {
	.nav-desk {
		display: none;	
	}
	header .container {
		position: relative;
	}
	header h1 {
		margin-right: auto;
	}
	.header-buttons {
		margin-right: 54px;
	}
	.burger-btn {
		display: block;
		position: absolute;
		right: 20px;
	}
	.title-block {
		max-width: 100%;
	    width: 100%;
	}
	.hero-block h1 {
		text-align: center;
	}
	.hero-block-promo p {
		max-width: 100%;
	}
	.promocode-block {
		max-width: 50%;
	}
	.categories-links .container ul {
		justify-content: space-between;
	} 
	.link-blocks {
		flex-direction: row;
		max-width: 100%;
		font-size: 12px;
		margin-top: 16px;
		gap: 8px;
	}
	.link-blocks .link-block:nth-child(1) img{ 
		max-width: 81px;
		max-height: 132px;
	    margin-left: auto;
	}
	.link-blocks .link-block:nth-child(2) img {
		width: 98px;
		height: 62px;
	}
	.link-blocks .link-block:nth-child(1) {
		max-width: 100%;
		width: 100%;
	}
	.link-blocks .link-block:nth-child(2) {
		display: block;
		max-width: 120px;
	}
	.link-block-text {
		max-width: 100%;
	}
	.categories-links-item {
		width: 24%;
	}
	.matches-items {
		width: max-content;
		gap: 12px;		
	}
	.matches-item {
		width: 277px;
	}
	.wp-block-media-text {
		flex-wrap: wrap;
	}
	.wp-block-media-text.has-media-on-the-right {
		flex-direction: column-reverse;
	}
	.content .wp-block-media-text__content,
	.wp-block-media-text__media  {
    	width: 100%;
	}
	.content .wp-block-media-text .wp-block-media-text__media {
		min-height: auto;
	}
	.games .games-items {
		flex-wrap: wrap;
		gap: 16px 4px;
	}
	.games-item {
    	width: 29vw;
	}
	.app-block-left,
	.app-block-right {
		max-width: 100%;
        padding-right: 16px;
	}
	.app-block-right {
		margin-top: 16px;
	}
	.app-block-right .app-subtitle {
		margin-bottom: 16px;
	}
	.popular-games-item {
		width: 32%;
	}
	.hero-block-app-wrapper {
		flex-wrap: wrap;
	}
	.hero-app-promocode {
		max-width: 100%;
		margin: 16px 0 0 0;
	}
	.block-app {
		justify-content: center;
		max-width: 100%;
	}
	.hero-block-game .container {
		flex-wrap: wrap;
		gap: 32px;
	}
	.hero-block-game-left,
	.hero-block-game-right {
		max-width: 100%;
	}

}


@media (max-width: 768px) {
	.hero-block {
		padding: 160px 0 32px;
	}
	.burger-btn {
		position: static;
	}
	.header-logo img {
		height: 40px;
		object-fit: contain;
	}
	.header-buttons,
	.header-buttons .btn {
		width: 100%;
	}
	.header-buttons .btn {
		padding: 12px 16px;
	}
	.header-buttons {
		margin: 20px 0 0 0;
	}
	.hero-block h1 {
		font-size: 28px;
	}
	.hero-block-promo {
		display: block;
		padding: 16px 8px;
	}
	.promocode-block {
		max-width: 100%;
	    margin-top: 14px;
	    padding: 0;
	}
	.promocode-buttons .btn {
		padding: 8px 16px;
	}
	.link-block-text {
		max-width: 100%;
		font-size: 12px;
        align-items: start;
	}
	.hero-block-text {
		text-align: center;
	}
	.categories-links {
		padding-top: 16px;
	}
	.categories-links-item {
		width: 49%;
	}
	.categories-links ul {
		gap: 6px 4px;
	}
	.games-wrapper {
		overflow: scroll;
    	margin: 0 -16px;
	}
	.games-items {
		flex-wrap: nowrap;
		gap: 4px;
		width: max-content;
	}
	.app-specs {
		max-width: 300px;
		width: 100%;
		font-size: 14px;
	}
	.app-specs-divider {
		margin: 0 8px;
	}
	.app-block-left-img img {
		width: 100px;
		margin: 0 0 -79px 16px;
	}
	.popular-games-item {
		width: 100%;
        max-width: 300px;
	}
	.stage-item {
		justify-content: space-between;
	}
	.stage-item:nth-child(even) {
		flex-direction: row-reverse;
		margin: 16px 0;
	}
	.stage-item:nth-child(odd) {
		flex-direction: row-reverse;
	}
	.stage-content {
		width: 84%;
	}
	.stage-item .stage-content:after {
		border-width: 16px 16px 16px 0;
		border-color: transparent #001cff transparent transparent;
		left: -16px;
	}
	.stage-number,
	.stage-number::before {
		width: 30px;
		height: 30px;
		margin: 0;
	}
	footer .col-1,
	footer .col-2 {
		width: 100%;
	    text-align: center;
	}
	footer .col-3 {
		margin: 0 auto;
	}
	.stage-content img {
		height: auto;
		aspect-ratio: 2 / 1;
	}
	.block-app {
		position: relative;
		justify-content: space-between;
        max-width: 100%;
        flex-wrap: wrap;
        max-height: fit-content;
		padding-right: 16px;
    }
	.hero-app-os {
		width: 100%;
		z-index: 2;
	}
	.hero-app-img {
		position: absolute;
		right: 16px;
		z-index: 1;
	}
	.hero-app-spec {
    	width: calc(100% - 120px);
	}
	.hero-block-game-promocode-content {
		position: relative;
    	z-index: 1;
	}
	.hero-game-promocode-img {
		position: absolute;
		right: 0;
		z-index: -1;
	}
	.list-stages {
		padding-bottom: 0;
	}
	.anchor-links-items .anchor-links-item {
    	max-width: 100%;
	}
	.breadcrumbs {
    	margin-top: 150px;
	}
}


@media (max-width: 359px) {
    .app-specs {
        flex-direction: column;
	}
}