/*
Theme Name: GeneratePress
*/
@import url('https://fonts.googleapis.com/css2?family=Josefin+Sans:ital,wght@0,100..700;1,100..700&family=Lato:ital,wght@0,100;0,300;0,400;0,700;0,900;1,100;1,300;1,400;1,700;1,900&display=swap');
body{
	background-image: url("https://sugarbangbang.com/wp-content/uploads/2024/09/bg-2.webp");
	background-size: cover;
	background-position: center;
	background-attachment: fixed;
	z-index: 1;
	position: relative;
	font-family: "Lato", sans-serif;
 	font-style: normal;
}
body::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: inherit; 
    filter: blur(5px); 
    z-index: -1; 
    pointer-events: none;
}

/*Header*/
.site-header{
	    background-image:  linear-gradient(357deg, #f937c1, #ed70c1);
}
.play-now__btn a{
    background-image: linear-gradient(180deg, #2387fb, #58c8fb);
    color: #fff!important;
    font-weight: 600;
	text-shadow: 2px 2px 3px #000;
	position: relative;
    display: inline-block;
    overflow: hidden;
}
.play-now__btn a:hover{
	background-image: linear-gradient(360deg, #4F99EF, #69C7F2);
}
.wp-block-button__link:hover, .play-for-free-btn:hover {
    color: #fff!important;
    background: var(--contrast-3);
}
.main-navigation .main-nav>ul {
    gap: 30px;
}
.site-header {
    box-shadow: 0px -12px 20px 7px #abb8c3;
}
.inside-site-info {
    border-top: 1px solid #eaedf0;
}
.inside-header {
    padding: 10px 40px;
}
.rank-math-list-item {
    background: #d1ebe8;
    padding: 15px;
    margin-bottom: 15px;
    border-radius: 15px;
}
.inside-footer-widgets {
    align-items: center;
}
.site-main img {
    border-radius: 15px;
    margin-bottom: 30px;
    box-shadow: 0 0 15px 0px #0b0b0b;
}
.wp-block-cover, .wp-block-cover-image {
    border-radius: 15px;
    box-shadow: 0 0 15px 0px #0b0b0b;
    margin-bottom: 30px;
}
.wp-block-button__link {
    margin-top: 30px;
    margin-bottom: 30px;
    border-radius: 15px;
}
.wp-block-cover .wp-block-button__link {
    border-radius: 15px;
}
.casinos-list {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    margin-bottom: 30px;
}

.casino-item {
    display: flex;
    width: 100%;
    border: 1px solid #ddd;
    padding: 15px;
    box-sizing: border-box;
    border-radius: 15px;
	background-color: #fff;
}

.casino-column {
    flex: 1;
    padding: 0 15px;
    display: flex;
    align-items: center;
}

.casino-logo img {
    max-width: 100px;
    height: auto;
    display: block;
    margin-bottom: 10px;
}

.casino-rating {
    display: flex;
    align-items: center;
    margin-bottom: 10px;
    justify-content: center;
    border: 1px solid #dddddd;
    border-radius: 15px;
	padding: 5px 15px;
}

.star {
    font-size: 16px;
    color: #ffc107;
    font-size: 24px;
}

.filled {
    color: #ffc107;
}

.casino-title {
    font-size: 24px;
    font-weight: bold;
    margin-bottom: 10px;
}

.casino-description {
    font-size: 14px;
}

.casino-link {
    display: inline-block;
    background-image: linear-gradient(180deg, #2387fb, #58c8fb);
    color: #fff;
    padding: 10px 15px;
    text-decoration: none;
    text-align: center;
	font-weight: 600;
	position: relative;
	overflow: hidden;
	text-shadow: 2px 2px 3px #000;
}

.casino-link:hover {
  background-image: linear-gradient(360deg, #4F99EF, #69C7F2);
	transition: all 0.3s ease;
	color: #fff;
}
.casino-item img {
    box-shadow: -2px 2px 4px 0px #7b7b7b;
}
.casino-item .casino-column:nth-child(1) {
    gap: 30px;
}
.casino-item .casino-column:nth-child(2) {
    border-right: 1px solid #ddd;
    border-left: 1px solid #ddd;
}
.casino-item .casino-column:nth-child(3) {
    justify-content: center;
}
.casino-item .casino-column:nth-child(3) a {
    padding: 15px 45px;
    font-size: 18px;
}
.casino-logo img {
    max-width: 100%;
    height: auto;
    width: 120px;
}
.demo-placeholder iframe {
    border-radius: 15px;
    border: 3px solid var(--global-menu);
}
.demo-placeholder:before {
    content: '';
    background: url(https://sugarbangbang.com/wp-content/uploads/2024/07/demo-version.webp);
    top: 0;
    right: 0;
    height: 80px;
    width: 80px;
    position: absolute;
    z-index: 10;
    background-size: cover;
}
@media (max-width: 767px) {
    .demo-placeholder .play-for-free-btn {
        width: 250px;
        font-size: 24px;
    }
    .demo-placeholder:before {
        content: '';
        background: none;
    }
    .casino-item {
        flex-direction: column;
    }
    .casino-item .casino-column:nth-child(2) {
        border-right: 0;
        border-left: 0;
    }
    .wp-block-buttons>.wp-block-button.wp-block-button__width-25 {
        width: auto;
    }
    .inside-footer-widgets {
        align-items: center;
        display: flex;
        justify-content: center;
        align-content: center;
        flex-wrap: wrap;
        flex-direction: row;
        gap: 15px;
    }
    .inside-footer-widgets>div:not(:last-child) {
        margin-bottom: 0;
    }
    .inside-footer-widgets img {
        height: auto !important;
    }
}
@media (max-width: 1199px) {
    .demo-placeholder iframe {
        height: auto;
        min-height: 550px;
    }
	#Cocos3dGameContainer{
		transform: rotate(270deg)!important;
	}
}

.demo-placeholder {
    position: relative;
    display: inline-block;
    text-align: center;
    width: 100%;
}

.demo-placeholder img {
    display: block;
    max-width: 100%;
    height: auto;
}

.demo-placeholder .overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5); /* Напівпрозорий чорний фон */
    z-index: 1;
    border-radius: 15px;
}

.demo-placeholder .play-for-free-btn {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    padding: 15px 20px;
    background-image: linear-gradient(180deg, #2387fb, #58c8fb);
	text-shadow: 2px 2px 3px #000;
    color: #fff;
    border: none;
    cursor: pointer;
    z-index: 2;
    width: 350px;
    font-size: 32px;
	overflow: hidden;
}

.demo-placeholder img {
    margin-bottom: 0;
}
.list-icon{
	list-style: none;
}
.list-icon li{
	position: relative;
	padding-left: 40px;
	margin-bottom: 10px
}
.list-icon li:last-child{
	margin-bottom: 0;
}
.list-icon li:after{
	content: "";
	position: absolute;
	left: 0;
	width: 25px;
	height: 25px;
	background-image: url('https://sugarbangbang.com/wp-content/uploads/2024/09/list-icon.png');
	background-repeat: no-repeat;
	background-size: 99%;
	top: 5px;
}
.list-mini-icon li:after{
		width: 20px;
		height: 20px;
}
/*Content*/
.inside-article{
	border-radius: 12px;
	box-shadow: 0 0 25px #000;
}
.footer-widgets-container {
    padding: 0px;
}
a.generate-back-to-top {
	background-image: linear-gradient(180deg, #2387fb, #58c8fb);
	color: #fff;
}
.main-navigation .main-nav ul li a {
    padding-left: 75px;
    padding-right: 75px;
    line-height: 55px;
}

.point{
	position: relative;
	margin: 40px 0;
}
.point:after {
    content: "\2660 \2660 \2660";
    display: block;
    position: absolute;
    transform: translate(-50%, -50%);
    left: 50%;
    top: 0;
    font-size: 42px;
	font-weight: 600;
	letter-spacing: 12px;
	color: #41bb41;
}

/*Scroll menu*/
.site-header {
	position: relative;
     transition: top 0.3s ease-in-out, opacity 0.3s ease-in-out;
    z-index: 1000;
}
.site-header__hide{
	top: -60px;
}
.main-header__fixed {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
	box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}
.main-header__fixed .site-logo{
	width: 50px;	
} 
/*Table*/
.wp-block-table.is-style-stripes tbody tr:nth-child(even) {
    background-color: #2e95fb8c;
}
.wp-block-table.is-style-stripes tbody tr:nth-child(odd){
	 background-color: #f54bc163;
	color: #000;
} 
/*Mobile menu*/
.mobile-navigation{
	display: none;
}
.mobile-menu-list{
	list-style: none;
}
/*Span btn*/
.border-btn a {
	position: relative;
	overflow: hidden;
}
.border-btn a span,
.pop-up__btn span,
.casino-link span,
.play-now__btn a span,
.play-for-free-btn span{
    position: absolute;
    display: block;
}
.play-now__btn a span:nth-child(1),
.play-for-free-btn span:nth-child(1),
.casino-link span:nth-child(1),
.pop-up__btn span:nth-child(1),
.border-btn a span:nth-child(1){
    top: 0;
    left: 0;
    width: 100%;
    height: 2px;
    background: linear-gradient(90deg,transparent,#03e9f4);
    animation: animate1 1s linear infinite;
}
.play-now__btn a span:nth-child(2),
.play-for-free-btn span:nth-child(2),
.casino-link span:nth-child(2),
.pop-up__btn span:nth-child(2),
.border-btn a span:nth-child(2){
    top: -100%;
    right: 0;
    width: 2px;
    height: 100%;
    background: linear-gradient(180deg,transparent,#03e9f4);
    animation: animate2 1s linear infinite;
    animation-delay: 0.25s;
}
.play-now__btn a span:nth-child(3),
.play-for-free-btn span:nth-child(3),
.casino-link span:nth-child(3),
.pop-up__btn span:nth-child(3),
.border-btn a span:nth-child(3){
    bottom: 0;
    right: 0;
    width: 100%;
    height: 2px;
    background: linear-gradient(270deg,transparent,#03e9f4);
    animation: animate3 1s linear infinite;
    animation-delay: 0.50s;
}
.play-now__btn a span:nth-child(4),
.play-for-free-btn span:nth-child(4),
.casino-link span:nth-child(4),
.border-btn a span:nth-child(4){
    bottom: -100%;
    left: 0;
    width: 2px;
    height: 100%;
    background: linear-gradient(360deg,transparent,#03e9f4);
    animation: animate4 1s linear infinite;
    animation-delay: 0.75s;
}
/***/
@media(max-width: 769px){
	.main-navigation .main-nav ul li a{
		max-width: 280px;
		text-align: center;
		margin: 40px auto 20px auto;
	}
	.mobile-navigation{
		display: block;
	}
	.menu-toggle{
		display: none!important;
	}
	#site-navigation {
        display: none;
    }
	.mobile-navigation .play-now__btn a {
		text-decoration: none;
		padding: 10px 30px;
	}
	.mobile-navigation ul{
		margin: 0;
	}
}
@media(max-width: 570px){
	.wp-block-buttons>.wp-block-button.wp-block-button__width-50 {
    	width: calc(70% - var(--wp--style--block-gap, .5em)* .5);
	}
	ol, ul {
    	margin: 0 0 0.5em 1em;
	}
}
@media(max-width: 460px){
	.entry-title:after{
		top: 0;
	}
	.entry-title{
		font-size: 32px;
	}
	.title-h2{
		font-size: 28px;
	}
	.title-h2:after {
		top: 0;
	}
	h3{
		font-size: 24px;
	}
}
@keyframes my-btn{
	0%, 17.5% {
    transform: none;
}

2.5%, 7.5%, 12.5% {
    transform: rotate(-2deg);
}
5%, 10%, 15% {
    transform: rotate(2deg);
}
}
@keyframes animate1{
    0%{
        left: -100%;
    }
    50%,100%{
        left: 100%;
    }
}
@keyframes animate2{
    0%{
        top: -100%;
    }
    50%,100%{
        top: 100%;
    }
}
@keyframes animate3{
    0%{
        right: -100%;
    }
    50%,100%{
        right: 100%;
    }
}
@keyframes animate4{
    0%{
        bottom: -100%;
    }
    50%,100%{
        bottom: 100%;
    }
}