.spinkupon {
	top: 40%;
	background: none;
	float: left;
	font-size: 18px;
	position: fixed;
	z-index: 9;
}

.btn-spin {
	background: none;
}

.btn-spin-close {
	text-align: right;
	float: right;
}

/*----modal1----*/
.modal {
	display: none;
	/* Hidden by default */
	position: fixed;
	/* Stay in place */
	z-index: 1;
	/* Sit on top */
	padding-top: 100px;
	/* Location of the box */
	left: 100%;
	top: 100%;
	width: 100%;
	/* Full width */
	height: 100%;
	/* Full height */
	overflow: auto;
}

/* Modal Content */
.modal-content {
	margin: auto;
	padding: 20px;
	border: 1px solid #888;
}

.modal-content h2 {
	font-size: 24px;
	color: var(--title-widget);
}

/* The Close Button */
.close {
	float: right;
	font-size: 28px;
	font-weight: bold;
	text-align: right;
}

.close:hover,
.close:focus {
	color: #000;
	text-decoration: none;
	cursor: pointer;
}

/*----modal2----*/
.modal1 {
	display: none;
	/* Hidden by default */
	position: fixed;
	/* Stay in place */
	z-index: 1;
	/* Sit on top */
	padding-top: 100px;
	/* Location of the box */
	left: 100%;
	top: 100%;
	width: 100%;
	/* Full width */
	height: 100%;
	/* Full height */
	overflow: auto;
	/* Enable scroll if needed */
	background-color: rgb(0, 0, 0);
	/* Fallback color */
	background-color: rgba(0, 0, 0, 0.8);
	/* Black w/ opacity */
	text-align: center;
}

/* Modal Content */
.modal1-content {
	background: linear-gradient(rgba(0, 0, 0, 0.8), rgba(0, 0, 0, 1)),
		url(https://imgix.bustle.com/inverse/6e/4a/42/97/5b22/4b2b/930a/881bb89a76fb/the-mega-millions-jackpot-hit-502-million-on-friday.jpeg?w=1200&h=1200&fit=crop&crop=faces&fm=jpg);
	max-width: 60vh;
	margin: auto;
	padding: 20px;
	border: 1px solid #888;
}

.modal1-content h2 {
	font-size: 24px;
	color: var(--title-widget);
}

/* The Close Button */
.close {
	float: right;
	font-size: 28px;
	font-weight: bold;
	text-align: right;
	justify-content: center;
}

.close:hover,
.close:focus {
	color: #000;
	text-decoration: none;
	cursor: pointer;
}

/*css spinwhell*/
.spinhadiah {
	font-family: Open Sans;
	display: block flex;
	margin: auto;
	justify-content: center;
	align-items: center;
	width: 100%;
	height: 100%;
	overflow: hidden;
	background: linear-gradient(rgba(0, 0, 0, 0.1), rgba(0, 0, 0, 0.9));
	background-size: cover;
	padding: 10% 0;
}

.mainbox {
	position: relative;
	width: 350px;
	height: 350px;
	display: block;
}

.mainbox::after {
	position: absolute;
	content: "";
	width: 100%;
	height: 100%;
	background: url(zeus.webp) no-repeat;
	background-size: 0%;
	left: 5%;
	top: 48%;
	transform: rotate(90deg);
}

.box {
	width: 100%;
	height: 100%;
	position: relative;
	border-radius: 50%;
	border: 10px solid #ffaa00;
	overflow: hidden;
	transition: all ease-in-out 5s;
	transform: rotate(90deg);
}

.spinhadiah span {
	width: 100%;
	height: 100%;
	display: inherit;
	position: absolute;
	font-size: 18px;
}

.span1 {
	clip-path: polygon(0 17%, 0 50%, 50% 50%);
	background-color: black;
}

.span2 {
	clip-path: polygon(0 17%, 30% 0, 50% 50%);
	background-color: red;
}

.span3 {
	clip-path: polygon(30% 0, 71% 0, 50% 50%);
	background: linear-gradient(
		180deg,
		rgba(255, 174, 0, 1) 0%,
		rgba(245, 194, 86, 1) 50%,
		rgba(255, 174, 0, 1) 100%
	);
	color: #000;
}

.span4 {
	clip-path: polygon(71% 0, 100% 18%, 50% 50%);
	background-color: red;
}

.span5 {
	clip-path: polygon(100% 18%, 100% 50%, 50% 50%);
	background: #ff8300;
}

.box2 .span3 {
	background: linear-gradient(
		90deg,
		rgba(255, 174, 0, 1) 0%,
		rgba(245, 194, 86, 1) 50%,
		rgba(255, 174, 0, 1) 100%
	);
}

.box2 {
	width: 100%;
	height: 100%;
	transform: rotate(180deg);
}

.font {
	color: white;
	font-size: 20px;
}

.box1 .span1 b {
	position: absolute;
	top: 38%;
	right: 68%;
	transform: rotate(200deg);
	text-align: center;
}

.box1 .span2 b {
	position: absolute;
	top: 28%;
	right: 55%;
	transform: rotate(-130deg);
}

.box1 .span3 b {
	position: absolute;
	top: 15%;
	right: 37%;
	transform: rotate(-90deg);
	color: #000;
}

.box1 .span4 b {
	position: absolute;
	top: 26%;
	right: 24%;
	transform: rotate(-45deg);
	font-size: 31px;
}

.box1 .span5 b {
	position: absolute;
	top: 40%;
	right: 18%;
	transform: rotate(-15deg);
	text-align: center;
	color: #000;
}

.box2 .span1 b {
	position: absolute;
	top: 39%;
	right: 62%;
	transform: rotate(200deg);
}

.box2 .span2 b {
	position: absolute;
	top: 19%;
	right: 58%;
	transform: rotate(-130deg);
	text-align: center;
}

.box2 .span3 b {
	position: absolute;
	top: 16.5%;
	right: 34%;
	transform: rotate(270deg);
}

.box2 .span4 b {
	position: absolute;
	top: 23%;
	right: 8%;
	transform: rotate(310deg);
}

.box2 .span5 b {
	position: absolute;
	top: 35%;
	right: 12%;
	transform: rotate(-20deg);
	text-align: center;
}

.spin {
	position: absolute;
	top: 50%;
	left: 50%;
	transform: translate(-50%, -50%);
	width: 75px;
	height: 75px;
	border-radius: 50%;
	border: 5px solid #000;
	background-color: #404040;
	color: #fff;
	box-shadow: 0 5px 20px #000;
	font-weight: bold;
	font-size: 22px;
	cursor: pointer;
	z-index: 1000;
}

.spin:active {
	width: 70px;
	height: 70px;
	font-size: 20px;
}

.arrow {
	position: absolute;
	top: 90px; /* Posisi lebih atas */
	left: 50%;
	transform: translateX(-50%);
	width: 30px;
	height: 60px;
	background: linear-gradient(0deg, #404040, #707070);
	animation: blink 1s infinite;
	clip-path: polygon(50% 0%, 100% 100%, 0% 100%); /* Bentuk panah segitiga */
	z-index: 999; /* Pastikan di atas wheel */
	filter: drop-shadow(0 0 5px rgba(0, 0, 0, 0.5));
}

/*@keyframes blink {
    0% { opacity: 1; }
    50% { opacity: 0.7; }
    100% { opacity: 1; }
}*/

.mainbox {
	position: relative;
}

.swal-modal {
	background: rgb(0, 0, 0, 0.9);
	border: 3px solid #ff8300;
	border-radius: 1vh;
	-webkit-border-radius: 1vh;
	-moz-border-radius: 1vh;
	-ms-border-radius: 1vh;
	-o-border-radius: 1vh;
}

.swal-title {
	color: #ff8300;
}

.swal-text {
	color: #ffffff;
	font-size: 24px;
}

.swal-icon {
	display: none;
}

.swal-icon--success {
	display: none;
}

.swal-icon .swal-modal {
	border: 3px solid #ffaa00;
}

.swal-icon--success__ring {
	display: none;
}

.swal-icon--success__line {
	display: none;
}

.swal-icon--success__line {
	display: none;
}

.swal-button,
.swal-button--confirm {
	background: #ffaa00 !important;
	color: #000;
}

.swal-button:hover,
.swal-button--confirm:hover {
	background: #ff8300 !important;
	color: #000;
}

.swal-button:active {
	background: #ff8300 !important;
	color: #000;
}

.mainbox.animate::after {
	animation: animateArrow 0.7s ease infinite;
}

audio {
	display: none;
}

@keyframes animateArrow {
	50% {
		right: -50px;
	}
}
