@media (max-width: 1280px){
	.page_main_block .left{
		left: calc((1000px - 100vw) / 2);
	}
}

@media (max-width: 1320px){
	header ul{
		gap: 12px;
	}
}

@media (max-width: 1250px){
	.footer_logotips .img{
		width: 33%;
	}

	.footer_kolonki{
		gap: 16px;
		justify-content: space-between;
	}
}

@media (max-width: 1200px){
	header ul{
		display: none;
	}

	header form.active input{
		width: 100%;
	}

	header form button, header form.active button{
		right: auto;
		left: 16px;
	}

	.search_lang{
		width: calc(100% - 350px);
	}

	header form{
		width: calc(100% - 90px);
	}

	.button_mobile_menu{
		display: block;
	}

	.page_main_block .left img{
		max-width: 100%;
   		max-height: fit-content;
	}
}

@media (max-width: 1140px){
	.page_main_block .left{
		left: -70px;
	}

	.popular_games_slider .slide{
		padding: 24px 16px;
		gap: 16px;
	}
}

@media (max-width: 1100px){
	.review_item{
		flex-wrap: wrap;
		height: auto;
		gap: 16px 24px;
	}

	.payment_methods, .bonus{
		width: calc((100% - 410px) / 2);
		box-sizing: border-box;
		height: 74px;
	}

	.bonus{
		border-right: none;
	}

	.review_item .buttons{
		width: 100%;
		border-top: 1px solid rgba(100, 78, 161, 0.30);
		padding-top: 16px;
		flex-direction: row;
	}

	.review_item .buttons a{
		width: 150px;
	}

	.popular_games_slider p{
		font-size: 18px;
	}
}

@media (max-width: 1050px){
	.top_casinos .item{
		width: calc(25% - 13px);
	}

	.footer_kolonka{
		width: calc(50% - 8px);
	}
}

@media (max-width: 1000px){
	.page_main_block{
		height: auto !important;
		padding: 100px 0 50px;
	}

	.page_main_block .left{
		display: none;
	}

	.img_mobile_1000{
		display: block;
	}

	.page_main_block .right{
		width: 100% !important;
	}

	.main_section h1, .page_main_block h1{
		margin-bottom: 0;
	}

	.page_main_block .right:has(img:last-child){
		margin-bottom: -50px;
	}

	.step_by_step_blocks .item img{
		top: 0;
		margin: auto;
	}

	.main_block_bg_mobile{
		display: block;
	}

	.main_block_bg_desctop{
		display: none;
	}

	.top_guides_items .item {
	    width: calc(33% - 9px);
	}

	.logo_title_cifri{
		gap: 16px;
		justify-content: space-between;
	}
}

@media (max-width: 930px){
	.main_section .right img{
		display: none;
	}

	.img_mobile{
		display: block;
		margin: 0 auto 24px;
		width: 150px;
	}

	.main_section .left{
		text-align: center;
	}

	.main_section .left_right{
		justify-content: center;
	}

	.main_section .buttons{
		justify-content: center;
	}

	.main_section{
		padding-top: 80px;
	}

	.popular_games_slider .slide{
		flex-wrap: wrap;
		justify-content: center;
	}

	.popular_games_slider .right{
		width: 100%;
		text-align: center;
	}

	.popular_games_slider a.green_button{
		margin: 0 auto;
	}

	.design_cards_block .item{
		width: calc(50% - 9px);
	}

	.withdrawals_steps .item{
		width: 100%;
	}

	.mobile_logo_title{
		display: flex;
		order: 1;
	}

	.logo_title_cifri .logo, .title_cifri .title{
		display: none;
	}

	.logo_title_cifri{
		height: auto;
		flex-wrap: wrap;
	}

	.review_section .container{
		display: flex;
		flex-direction: column;
	}

	.review_tabs{
		order: 2;
		margin: 0 0 40px;
	}

	.review_block{
		order: 3;
		background: none;
	}

	.review_block .pros_cons{
		gap: 8px;
	}

	.review_block .pros, .review_block .cons{
		padding: 16px;
		border-radius: 12px;
	}

	.review_block .pros{
		background: #0D2B13;
	}

	.review_block .cons{
		background: #5A0F0F;
	}
}

@media (max-width: 900px){
	.logo_name_rating, .payment_methods, .bonus{
		width: 100%;
	}

	.logo_name_rating, .payment_methods{
		border-right: none;
		height: auto;
	}

	.name_rating{
		border-right: none;
	}

	.payment_methods, .bonus{
		border-top: 1px solid rgba(100, 78, 161, 0.30);
		padding-top: 16px;
	}

	.payment_methods{
		order: 2;
	}

	.bonus{
		order: 1;
	}

	.buttons{
		order: 3;
	}

	.reviews_section .container{
		display: flex;
		flex-wrap: wrap;
		gap: 16px;
	}

	.section_head{
		width: 100%;
	}

	.review_item{
		width: calc(50% - 8px);
		margin-bottom: 0;
	}

	.name_rating p{
		font-size: 17px;
	}

	.name_rating .ps-rating-stars{
		width: 100px;
	}

	.name_rating .ps-rating-stars, .name_rating .ps-rating-stars:before{
		background-size: 14px 14px, 14px 14px, 14px 14px, 14px 14px, 14px 14px;
		background-position: 0 0, 20px 0, 40px 0, 60px 0, 80px 0;
	}

	.name_rating .rating{
		gap: 4px;
	}

	.logo_name_rating{
		gap: 8px;
	}

	.name_rating, .payment_methods, .bonus{
		padding-right: 0;
	}

	.review_logo{
		width: 100px;
		height: 54px;
	}

	.name_rating{
		width: calc(100% - 108px);
	}

	.why_play_block .item{
		width: calc(50% - 11px);
	}
}

@media (max-width: 860px){
	.top_casinos .item{
		width: calc(33% - 13px);
	}
}

@media (max-width: 820px){
	.step_by_step_blocks .item{
		width: 100%;
	}

	.top_guides_items .item {
	    width: calc(50% - 8px);
	}
}

@media (max-width: 750px){
	header .lang_switch{
		display: none;
	}

	header form{
		width: 100%;
	}

	.buttons a{
		padding-left: 8px;
		padding-right: 8px;
	}
}

@media (max-width: 700px){
	.img_mobile_1000{
		display: none;
	}

	.img_mobile_700{
		display: block;
		position: relative;
		left: -40px;
		width: calc(100% + 80px);
	}
}

@media (max-width: 680px){
	.top_casinos .item{
		width: calc(50% - 13px);
	}

	.review_block{
		padding: 24px 0;
	}

	.review_block .pros_cons{
		flex-direction: column;
	}

	.review_block .pros, .review_block .cons{
		width: 100%;
		box-sizing: border-box;
	}

	.title_cifri .cifri, .medali{
		flex-wrap: wrap;
	}
}

@media (max-width: 640px){
	.search_button{
		display: flex;
	}

	header form{
		position: absolute;
        left: 0;
        top: 70px;
        width: 100%;
        background: rgba(68, 0, 17, 0.9);
        padding: 8px 16px;
        height: 50px;
        transition: all 0.3s;
        opacity: 0;
        visibility: hidden;
	}

	header form.active{
		opacity: 1;
		visibility: visible;
	}

	header.scroll form{
		top: 40px;
	}

	header input, header form.active input{
		height: 34px;
        top: 8px;
        width: calc(100% - 32px);
        left: 16px;
        background: rgba(198, 198, 198, 0.5);
	}

	header form button, header form.active button{
		left: 30px;
        top: 17px;
	}

	.review_item{
		width: 100%;
	}

	.why_play_block .item{
		width: 100%;
	}

	.design_cards_block .item{
		width: 100%;
	}
}

@media (max-width: 570px){
	.main_section h1, .page_main_block h1{
		font-size: 32px;
	}

	.main_section h1{
		margin-bottom: 24px;
	}

	.main_section .buttons{
		margin-top: 32px;
	}

	.main_section .oscars{
		margin-top: 54px;
	}

	.oscars .items img{
		width: 20px;
	}

	.main_section .oscars .item p{
		font-size: 12px;
	}

	.main_section .oscars .items{
		min-width: 610px;
	}

	.container, body > p, body > h1, body > h2, body > h3, body > h4, body > ul, body > ol, body > figure{
		padding-left: 16px;
		padding-right: 16px;
	}

	.casino_item_title p{
		font-size: 16px;
	}

	.top_casinos .item{
		width: calc(50% - 4px);
	}

	.top_casinos .items{
		gap: 8px;
	}

	.top_guides_items .item {
	    width: 100%;
	}
}

@media (max-width: 480px){
	.withdrawals_steps .item{
		min-height: 178px;
		padding: 24px 16px;
	}

	.withdrawals_steps .item img{
		width: 135px;
		right: 0;
	}

	.withdrawals_steps .item p{
		width: calc(100% - 105px);
		font-size: 13px;
	}

	.withdrawals_steps .item p.step_guide_title{
		margin: 32px 0 5px;
		font-size: 17px;
	}

	.withdrawals_steps .item p.step_guide_num{
		font-size: 17px;
	}
}

@media (max-width: 460px){
	.step_by_step_blocks .item p{
		width: 65%;
	}

	.step_by_step_blocks .item img{
		max-width: 40%;
	}
}

@media (max-width: 445px){
	.main_section .buttons{
		gap: 12px;
	}

	a.green_button, a.transparent_button{
		padding: 10px 10px;
	}

	.main_section p{
		font-size: 15px;
	}

	.casino_item_title, .top_casinos .casino_item_content{
		padding: 8px;
	}

	.top_casinos .left_right{
		gap: 0;
	}

	.content_section ol li:before, body > ol > li:before{
		position: relative;
		margin-bottom: 24px;
	}

	.content_section ol li, body > ol > li{
		padding-left: 0;
		margin-bottom: 24px;
	}

	.content_section ul li, body > ul > li{
		padding-left: 30px;
	}
}

@media (max-width: 400px){
	.popular_games_slider p{
		font-size: 16px;
	}

	.popular_games_slider .slide{
		padding: 16px 8px;
	}
}

@media (max-width: 365px){
	.top_casinos .left_right p:nth-child(2){
		font-size: 14px;
	}
}