/** * All of the CSS for your public-facing functionality should be * included in this file. */

.minigame_recently_opened {
	display: block;
	text-align: center;
	margin-bottom: 25px;
}

.minigame_recently_opened .recently_opened {
	max-height: 200px;
	overflow: auto;	
}

.minigames-not-loaded {
	display: block; 
	text-align: center; 
	border-radius: 6px;
	background-color: orange; 
	color: #ffffff; 
	padding: 5px 10px;
	margin: 10px 0px;
}

.minigame_recently_opened > h4 {
	font-size: 16px;
}

.minigame_recently_opened .ticket-log-item {
font-size: 13px;
    border-radius: 10px;
    max-width: max-content;
	min-width: 160px;
    padding: 0px 10px;
    margin: 0 auto;
    margin-bottom: 5px;
    border: solid 1px;
    font-weight: 400;
    text-wrap: nowrap;
    text-align: center;
    overflow: hidden;
}

 .minigame_popup {
	 display: flex;
	 position: fixed;
	 left: 0;
	 right: 0;
	 top: 0;
	 bottom: 0;
	 justify-content: center;
	 align-items: center;
	 z-index: 999;
	 background-color: #000000b0;
	 display: none;
}

.payouts-thank-you-disclaimer {
	font-size: 12px;
	padding: 10px;
	max-width: 200px;
	display: inline-block;
	text-align: center;
	padding-bottom: 0px;
	color: #000000;
}

.payouts-thank-you-banner-minigame.no-spins-left {
	border-radius: 10px;
	padding: 5px 10px;
	display: block;
	max-width: max-content;
	margin: 0 auto;
	margin-top: 10px;
	font-size: 14px;
	background-color: #000000;
}

.spinner-body .payouts-thank-you-banner-minigame {
	max-width: max-content;
	margin: 0 auto;
	padding: 10px 50px;
	border-radius: 10px;
}


.payouts-thank-you-banner-minigame {
	display: block;
	text-align: center;
	padding: 10px 0px;
	background-color: var(--e-global-color-primary);
	border-color: var(--e-global-color-primary);
	color: #ffffff !important;
	line-height: normal;
	border-radius: 0px 0px 5px 5px;
}


.no-more-spins {
	color: #000000 !important;
	display: block;
	text-align: center;
}

.auto-scratch-arrow:hover {
	background-color: #970097; 
	color: #ffffff;
}
.auto-scratch-arrow {
	font-size: 13px !important;
	text-align: center !important;
	display: block;
	padding: 3px 6px !important;
	margin: 0 auto;
	margin-bottom: 10px !important;
	background-color: #ffffff;
	border-color: #970097;
	color: #970097;
}

.disable-spin-button {
	pointer-events: none !important; 	
}

.scratch_gif_loaded {
	object-fit: cover;
	width: 100%;
	position: absolute;
	min-height: 100%; 	
	top: 0;
	bottom: 0;
	height: auto;
	max-height: 100%;
	padding: 10px;
	right: 0;
	left: 0;
	-webkit-touch-callout: none; /* iOS Safari */
	-webkit-user-select: none; /* Safari */
	-khtml-user-select: none; /* Konqueror HTML */
	-moz-user-select: none; /* Old versions of Firefox */
	-ms-user-select: none; /* Internet Explorer/Edge */
	user-select: none; 
}

.two-grid-scratcher {
	display: flex; 
	flex-direction: row; 
	gap: 10px;
	justify-content: center;
}

#scratch_game_buttons .next-scratch-arrow, #scratch_game_buttons .next-bulk-scratch {	
	font-size: 13px !important;
	text-align: center !important;
	display: block;	
	padding: 3px 6px !important;
	margin: 0px !important;
	margin-bottom: 10px !important;
}

.expanded_log {
	max-height: 300px !important;
	margin-top: 25px !important;
	margin-bottom: 25px !important;
}

.number-of-spins-container {
	font-size: 16px;
	font-weight: 800;
	display: block;
	margin-bottom: 5px;
}

.open-minigame-mode:hover, .open-minigame-mode:focus {
	background-color: var(--e-global-color-primary);
	color: #ffffff;
}

.open-minigame-mode {
    background-color: var(--e-global-color-primary);
    border-color: var(--e-global-color-primary);
    color: #ffffff;
    margin: 5px;
    margin-bottom: 10px;
	text-wrap: auto;
    margin-left: 0px;
}

#checkout-page-gem-mine-won {
	background-color: transparent !important; 
	background: transparent;
}

.checkout-page-gem-mine-won a {
	font-size: 30px; 
	font-weight: 800;
	text-align: center; 
	display: flex; 
	align-items: center; 
	justify-content: center; 
	color: gold !important;
	gap: 10px;
}

.checkout-page-gem-mine-won svg {
	max-width: 30px;
}

.checkout-page-gem-mine-won {
	padding-bottom: 20px;
	width: 100% !important; 
}

.gem_mine_ticket_won {
	text-decoration: line-through;
	opacity: 0.25;	
}

.gem_mine_title {
	background: rgba(255, 255, 255, 0.2);
	border-radius: 6px;
	box-shadow: 0 4px 30px rgba(0, 0, 0, 0.1);
	backdrop-filter: blur(5px);
	-webkit-backdrop-filter: blur(5px);
	border: 1px solid rgba(255, 255, 255, 0.3);
	box-shadow: rgba(50, 50, 93, 0.25) 0px 13px 27px -5px, rgba(0, 0, 0, 0.3) 0px 8px 16px -8px;
	padding: 10px;
	font-size: 20px;
	text-transform: uppercase;
    font-weight: 800;
}

.gem_mine_title_total {
	font-weight: 800;
	font-size: 16px;
	background: rgba(255, 255, 255, 0.2);
	border-radius: 6px;
	box-shadow: 0 4px 30px rgba(0, 0, 0, 0.1);
	backdrop-filter: blur(5px);
	-webkit-backdrop-filter: blur(5px);
	border: 1px solid rgba(255, 255, 255, 0.3);
	box-shadow: rgba(50, 50, 93, 0.25) 0px 13px 27px -5px, rgba(0, 0, 0, 0.3) 0px 8px 16px -8px;
	padding: 5px;
}

.gem_mine_loop_container {
    border-radius: 10px;
    min-width: 300px;
    overflow: hidden;
    position: relative;
    background: none;
	color: #ffffff !important;
	box-shadow: rgba(50, 50, 93, 0.25) 0px 13px 27px -5px, rgba(0, 0, 0, 0.3) 0px 8px 16px -8px;
}

.gem_mine_loop_container .preoverlay {
	background: rgb(0 0 0 / 17%);
	height: 100%;
}

.gem_mine_overlay {
	padding: 20px;
}

.gem_mine_overlay::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image: url('/wp-content/plugins/universal-competition-games/public/images/gemminebackdrop.webp');
  background-size: cover;
  background-position: center;
  opacity: 1;
  z-index: -1;
}

.gem_mine_summary_frontend .gem_mine_diamonds {
	vertical-align: middle;
}

.gem_mine_ticket h4 {
vertical-align: middle;
    font-size: 16px;
    margin-right: 10px;
    display: inline-block;
    margin-bottom: 0px;
    margin-top: 0px;
    padding: 0px;    
}

.gem_mine_ticket {
	vertical-align: middle;
    display: block;
    justify-content: center;
    gap: 10px;
    align-items: center;
	background: rgba(255, 255, 255, 0.2);
	border-radius: 6px;
	box-shadow: 0 4px 30px rgba(0, 0, 0, 0.1);
	backdrop-filter: blur(5px);
	-webkit-backdrop-filter: blur(5px);
	border: 1px solid rgba(255, 255, 255, 0.3);
	box-shadow: rgba(50, 50, 93, 0.25) 0px 13px 27px -5px, rgba(0, 0, 0, 0.3) 0px 8px 16px -8px;
	padding: 5px;
	font-size: 16px;
}

#gem_mine_summary_frontend {
	position: relative; 
	z-index: 0;	
}

#gem_mine_summary_frontend .gem_mine_ticket_loop {
	display: flex;
    flex-direction: column;
    max-height: 300px;
    overflow: auto;
    font-size: 15px;	
    color: #ffffff;
    font-weight: 500;
	justify-content: flex-start;
	background: rgba(255, 255, 255, 0.2);
	border-radius: 6px;
	box-shadow: 0 4px 30px rgba(0, 0, 0, 0.1);
	backdrop-filter: blur(5px);
	-webkit-backdrop-filter: blur(5px);
	border: 1px solid rgba(255, 255, 255, 0.3);
	padding: 10px;
	box-shadow: rgba(50, 50, 93, 0.25) 0px 13px 27px -5px, rgba(0, 0, 0, 0.3) 0px 8px 16px -8px;
}

.gem_mine_summary_frontend {
	display: flex;
	flex-wrap: wrap;
	gap: 10px;
	text-align: center;
	justify-content: center;
}

.gem_mine_summary_frontend .gem_mine_diamonds {
	max-width: 30px;
}

.scratch-card-text {
    user-select: none; /* Disable text selection */
    -webkit-user-select: none; /* Safari */
    -moz-user-select: none; /* Firefox */
    -ms-user-select: none; /* Internet Explorer/Edge */
}


.show_minigame_popup_on_product {
	margin: 10px 5px;
	justify-content: center;
	display: flex;
}

.game_mode li {
	-webkit-touch-callout: none; /* iOS Safari */
	-webkit-user-select: none; /* Safari */
	-khtml-user-select: none; /* Konqueror HTML */
	-moz-user-select: none; /* Old versions of Firefox */
	-ms-user-select: none; /* Internet Explorer/Edge */
	user-select: none; /* Non-prefixed version, currently
	supported by Chrome, Edge, Opera and Firefox */
}

.close-minigame-popup {
    position: absolute;
    top: -40px;
    right: 0px;
    color: red;
    cursor: pointer;
    background-color: white;
    border-radius: 500px;
    height: 30px;
    width: 30px;
    text-align: center;
    vertical-align: middle;
    display: flex;
    justify-content: center;
    align-items: center;
}

 .minigame_popup_child {
	 position: relative;
	 display: flex;
	 align-items: center;
	 justify-content: center;
	 background-color: #fff;
	 border-radius: 10px;
	 min-height: 300px;
	 min-width: 300px;
	 border: solid 2px #000000;
	 margin: 5px;
}
 .scratch-card {
	 position: relative;	 
	 border-radius: 10px 10px 0px 0px;
	 padding: 12px;
	 width: 320px;
	 height: 320px;
	 background-color: #f3f3f3;
}
 .scratch-card-cover-container {
	 position: absolute;
	 z-index: 1;
	 top: 0;
	 left: 0;
	 border-radius: 4px;
	 width: 100%;
	 height: 100%;
	 filter: url('#remove-black');
	 transition: opacity 0.4s;
}
 .scratch-card-cover-container.clear {
	 opacity: 0;
}
 .scratch-card-cover-container.hidden {
	 display: none;
}
 .scratch-card-canvas {
	 position: absolute;
	 z-index: 2;
	 top: 0;
	 left: 0;
	 width: 100%;
	 height: 100%;
	 cursor: grab;
	 touch-action: none;
	 
	 touch-action: none;  /* Prevents touch gestures like scrolling */
	 user-select: none;   /* Stops text/image selection */
	 -webkit-user-select: none; /* Prevents selection on older Safari */
	 -webkit-touch-callout: none; /* Disables the touch menu (long press) */

}
 .scratch-card-canvas.hidden {
	 opacity: 0;
}
 .scratch-card-canvas:active {
	 cursor: grabbing;
}
 .scratch-card-canvas-render {
	 position: absolute;
	 z-index: 1;
	 top: 0;
	 left: 0;
	 width: 100%;
	 height: 100%;
	 background-color: transparent;
	 transition: background-color 0.2s;
	 touch-action: none;  /* Prevents touch gestures like scrolling */
	 user-select: none;   /* Stops text/image selection */
	 -webkit-user-select: none; /* Prevents selection on older Safari */
	 -webkit-touch-callout: none; /* Disables the touch menu (long press) */
}
 .scratch-card-canvas-render.hidden {
	 display: none;
}

.scratch-card-results .ticket-number-li {
	font-size: 16px;
	display: block;
}

.scratch-card-results ul {
	list-style: none;
	padding: 0px;
	overflow: auto;
	display: block;
	max-height: 100%;
	width: 100%;
	margin: 0px;
	text-align: center;
	display: flex;
	flex-wrap: wrap;
	gap: 10px;
	justify-content: center;	
}


.scratch-card-results ul .scratch-card-not-winner {	
	text-decoration: line-through;
}

.scratch-card-results ul .scratch-card-winner {	
	font-weight: 700;
	background-color: var(--e-global-color-primary);
	color: #ffffff;
}

.scratch-card-results ul li {
	font-size: 14px; 
	color: #000000;
	background-color: #ffffff;
	padding: 10px;
	border-radius: 5px;
	min-width: 48%;
}

.scratch-card-results {
	    display: flex;
    justify-content: center;
    align-items: center;
    height: 100%;
    list-style: none;	
    font-size: 20px;
	background: #f3f3f3; 
	padding: 10px;
	border-radius: 5px;
}

.scratch-card-results.blur * {
	filter: blur(5px);
}

.scratch-card-text {
	text-align: center; 
	font-weight: 900;
	margin-top: 10px; 
	color: #000000 !important;
	margin-bottom: 10px;
}

 .scratch-card-cover {
	 display: flex;
	 justify-content: center;
	 align-items: center;
	 position: absolute;
	 top: 0;
	 left: 0;
	 width: 100%;
	 height: 100%;
	 background-color: #cfced6;
	 background-image: linear-gradient(to right, #cfced6, #e0dfe6, #efeef3, #e0dfe6, #cfced6);
	 overflow: hidden;
	 border-radius: 10px 10px 0px 0px;
	 touch-action: none;  /* Prevents touch gestures like scrolling */
	 user-select: none;   /* Stops text/image selection */
	 -webkit-user-select: none; /* Prevents selection on older Safari */
	 -webkit-touch-callout: none; /* Disables the touch menu (long press) */
}
 .scratch-card-cover::before {
	 content: '';
	 position: absolute;
	 top: 0;
	 left: 0;
	 width: 100%;
	 height: 100%;
	 background-image: linear-gradient(135deg, transparent 40%, #c0c0cba6 50%, transparent 60%);
	 background-position: bottom right;
	 background-size: 300% 300%;
	 background-repeat: no-repeat;
}
 .scratch-card-cover.shine::before {
	 animation: shine 8s infinite;
}
 @keyframes shine {
	 50% {
		 background-position: 0% 0%;
	}
	 100% {
		 background-position: -50% -50%;
	}
}
 .scratch-card-cover::after {
	 content: '';
	 position: absolute;
	 top: 0;
	 left: 0;
	 width: 100%;
	 height: 100%;
	 opacity: 0.1;
	 filter: url('#noise');
}
 .scratch-card-cover svg {
	 width: 100%;
	 height: 100%;	 
	 opacity: 0.3;
}
 .scratch-card-image {
	 border-radius: 4px;
	 width: 100%;
	 height: 100%;
	 object-fit: contain;
	 filter: drop-shadow(0 4px 4px #000);
	 user-select: none;
	 will-change: transform;
}
 .scratch-card-image.animate {
	 animation: pop-out-in cubic-bezier(0.65, 1.35, 0.5, 1) 1s;
}
 @keyframes pop-out-in {
	 36% {
		 transform: scale(1.125);
	}
	 100% {
		 transform: scale(1);
	}
}
 