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

html {
	font-family: "Montserrat", sans-serif;
	height: 100vh;
	overflow: hidden;
}

body {
	height: 100vh;
	width: 100vw;
	background-image: url('./images/background.png');
	background-size: cover;
	background-position: top center;
	background-repeat: no-repeat;
}

.logo {
	position: absolute;
	top: 100px;
	left: 40px;
	z-index: 100;
}

button {
	font-family: inherit;
	font-weight: 600;
	cursor: pointer;
	opacity: 0.8;
}

button:hover {
	opacity: 1;
}

button:active {
	opacity: 0.8;
}

.controls {
	display: grid;
	grid-template-columns: 0.5fr 1fr 1fr 1fr 0.5fr;
	align-items: center;
	justify-content: center;
	gap: 1em;
}

.controls .drop-container {
	display: flex;
	justify-content: center;
}

.controls .drop-container .drop {
	position: relative;
	display: inline-flex;
}

.controls .drop-container .drop button {
	flex-shrink: 0;
	border: none;
	border-radius: 10px;
	padding: 1em 1em 1em 1em;
	background: lime;
	width: 7em;
}

.controls .drop-container .drop input[type="checkbox"] {
	display: none;
}

.controls .drop-container .drop input[type="checkbox"]:not(:checked) + label .checked {
	visibility: hidden;
}

.controls .drop-container .drop label[for="checkbox"] {
	position: absolute;
	left: calc(100%);
	height: 100%;
	cursor: pointer;
	flex-shrink: 0;
	display: flex;
	align-items: center;
	justify-content: center;
	border-radius: 0 10px 10px 0;
	padding: 0 0.5em;
	opacity: 0.8;
}

.controls .drop-container .drop label[for="checkbox"]:hover {
	opacity: 1;
}

.controls .drop-container .drop label[for="checkbox"]:hover .box {
	background-color: rgba(255, 255, 255, 0.1);
}

.controls .drop-container .drop label[for="checkbox"]:active {
	opacity: 0.8;
}

.controls .drop-container .drop label[for="checkbox"] .box {
	position: relative;
	background-color: rgba(255, 255, 255, 0.1);
	border-radius: 0.2em;
	width: 0.8em;
	height: 0.8em;
}

.controls .drop-container .drop label[for="checkbox"] .box:after {
	font-size: 0.6em;
	vertical-align: middle;
	position: absolute;
	left: calc(100% + 0.4em);
	color: #fff;
	content: "auto";
}

.controls .drop-container .drop label[for="checkbox"] .box svg {
	position: absolute;
	left: 50%;
	top: 50%;
	transform: translate(-50%, -50%);
}



.bet-controls {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 10px;
	margin-bottom: 10px;
}

.bet-controls button {
	border: none;
	border-radius: 5px;
	padding: 0.5em 1em;
	background: rgba(255, 255, 255, 0.2);
	color: white;
	font-size: 1.2em;
	font-weight: bold;
	cursor: pointer;
	min-width: 40px;
}

.bet-controls button:hover {
	background: rgba(255, 255, 255, 0.3);
}

.bet-display {
	background: rgba(255, 255, 255, 0.1);
	border-radius: 5px;
	padding: 0.5em 1em;
	min-width: 60px;
	text-align: center;
}

.canvas-container {
	position: absolute;
	bottom: 160px;
	display: flex;
	align-items: center;
	justify-content: center;
	width: 100vw;
	overflow: hidden;
}

.canvas-container canvas {
	display: block;
	width: 100vw;
	height: auto;
	background: transparent;
}

.notes {
	display: flex;
	align-items: flex-end;
	justify-content: center;
	gap: 0;
	margin-top: -45px;
}

.notes .note {
	padding-top: 8px;
	display: flex;
	align-items: center;
	justify-content: center;
	width: 50px;
	height: 45px;
	border-radius: 5px;
	background-size: cover;
	background-position: center;
	background-repeat: no-repeat;
	flex-shrink: 0;
	text-align: center;
	font-family: "Inter", sans-serif;
	font-size: 15px;
	font-weight: 400;
	color: #FFC600;
}

.notes .note:nth-child(1),
.notes .note:nth-child(11) {
	width: 65px;
	height: 45px;
	background-image: url('./images/0-10.png');
}

.notes .note:nth-child(2),
.notes .note:nth-child(10) {
	background-image: url('./images/1-9.png');
}

.notes .note:nth-child(3),
.notes .note:nth-child(9) {
	background-image: url('./images/2-8.png');
}

.notes .note:nth-child(4),
.notes .note:nth-child(5),
.notes .note:nth-child(6),
.notes .note:nth-child(7),
.notes .note:nth-child(8) {
	background-image: url('./images/3-7.png');
}

.notes .note[data-pressed="true"] {
	animation: press 0.5s;
}

@keyframes press {
	0% {
		border-bottom-width: 4px;
	}
	50% {
		border-bottom-width: 0;
	}
	100% {
		border-bottom-width: 4px;
	}
}

.panel-container {
	position: absolute;
	bottom: 20px;
	left: 50%;
	transform: translateX(-50%);
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	gap: 10px;
	z-index: 100;
}

.panel {
	display: flex;
	flex-direction: row;
	align-items: center;
	justify-content: center;
	gap: 10px;
	margin-top: 20px;
}

.panel button {
	border: none;
	background-size: contain;
	background-position: center;
	background-repeat: no-repeat;
	cursor: pointer;
	background-color: transparent;
}

.panel .left-button {
	background-image: url('./images/left-button.png');
	width: 46px;
	height: 51.5px;
}

.panel .volume-button {
	background-image: url('./images/volume-button.png');
	width: 112px;
	height: 66px;
}

.panel .center-button {
	background-image: url('./images/center-button.png');
	width: 106px;
	height: 106px;
}

.panel .a-button {
	background-image: url('./images/a-button.png');
	width: 112px;
	height: 66px;
}

.panel .right-button {
	background-image: url('./images/right-button.png');
	width: 46px;
	height: 51.5px;
}

.info-container {
	width: 100vw;
	padding: 20px;
	position: absolute;
	bottom: 0;
	display: flex;
	justify-content: space-between;
	align-items: flex-end;
	gap: 10px;
}

.last-win-container {
	background-image: url('./images/last-win-container.png');
	background-size: cover;
	background-position: center;
	background-repeat: no-repeat;
	display: flex;
	flex-direction: column;
	align-items: center;
	width: 291px;
	height: 91px;
}

.balance-bet-container {
	display: flex;
	flex-direction: column;
	align-items: flex-end;
	gap: 15px;
}

.balance-container {
	width: 263px;
	height: 91px;
	display: flex;
	flex-direction: column;
	align-items: center;
	background-image: url('./images/balance-container.png');
	background-size: cover;
	background-position: center;
	background-repeat: no-repeat;
}

.bet-container {
	background-image: url('./images/bet-container.png');
	background-size: contain;
	background-position: center;
	background-repeat: no-repeat;
	display: flex;
	flex-direction: row;
	align-items: center;
	justify-content: space-between;
	gap: 10px;
	width: 373px;
	height: 91px;
	padding: 0px 30px;
}

.bet-info {
	height: 100%;


}

.bet-title, .balance-title, .last-win-title {
	margin-top: 15px;
	font-family: "Inter";
	font-size: 19px;
	font-weight: 700;
	color: #FFB0F3;
	text-transform: uppercase;
	line-height: 1;
}

.bet-amount, .balance-amount, .last-win-amount {
	margin-top: 6px;
	font-family: 'Roboto';
	font-size: 32px;
	font-weight: 1000;
	text-transform: uppercase;
	color: #FFFFFF;
	line-height: 1;
	text-align: center;
	/* -webkit-text-stroke: 2px #4D0676; */
}

.last-win-amount.flash {
	animation: lastWinFlash 900ms ease-in-out;
}

@keyframes lastWinFlash {
	0% { transform: scale(1); text-shadow: 0 0 0 rgba(255,200,0,0); }
	30% { transform: scale(1.08); text-shadow: 0 6px 18px rgba(255,176,0,0.45); }
	100% { transform: scale(1); text-shadow: 0 0 0 rgba(255,176,0,0); }
}

#bet-decrease,
#bet-increase {
	border: none;
	background-size: cover;
	background-position: center;
	background-repeat: no-repeat;
	cursor: pointer;
	background-color: transparent;
	width: 52px;
	height: 55px;
}

#bet-decrease {
	background-image: url('./images/bet-decrease.png');
}

#bet-increase {
	background-image: url('./images/bet-increase.png');
}

.green-clouds {
	position: absolute;
	top: 55%;
	left: 20px;
	transform: translateY(-50%);
	-webkit-transform: translateY(-50%);
	-moz-transform: translateY(-50%);
	-ms-transform: translateY(-50%);
	-o-transform: translateY(-50%);
}

.red-clouds {
	position: absolute;
	top: 55%;
	right: 20px;
	transform: translateY(-50%);
	-webkit-transform: translateY(-50%);
	-moz-transform: translateY(-50%);
	-ms-transform: translateY(-50%);
	-o-transform: translateY(-50%);
}

.x101 {
	width: 100px;
	position: absolute;
	top: 35vh;
	right: 50vh;
}

.x102 {
	width: 90px;
	position: absolute;
	bottom: 22vh;
	right: 38vh;
}

.x103 {
	width: 90px;
	position: absolute;
	bottom: 32vh;
	left: 44vh;
	transform: rotate(-40deg);
	-webkit-transform: rotate(-40deg);
	-moz-transform: rotate(-40deg);
	-ms-transform: rotate(-40deg);
	-o-transform: rotate(-40deg);
}

.star1 {
	width: 85px;
	position: absolute;
	top: -1vh;
	left: 8vh;
}

.star2 {
	width: 70px;
	position: absolute;
	top: 4vh;
	left: 40vh;
}

.star3 {
	width: 75px;
	position: absolute;
	top: 16vh;
	right: 44vh;
}

.star4 {
	width: 75px;
	position: absolute;
	top: 0vh;
	right: 29vh;
}

.moon {
	position: absolute;
	top: 15px;
	right: 25px;
}

.chicken {
	width: 26vh;
	position: absolute;
	top: 10px;
	left: 50%;
	transform: translateX(-50%);
	-webkit-transform: translateX(-50%);
	-moz-transform: translateX(-50%);
	-ms-transform: translateX(-50%);
	-o-transform: translateX(-50%);
	z-index: 100;
}

.chicken_animated {
	width: 35vh;
	position: absolute;
	top: -1.5vh;
	left: 50%;
	transform: translateX(-50%);
	-webkit-transform: translateX(-50%);
	-moz-transform: translateX(-50%);
	-ms-transform: translateX(-50%);
	-o-transform: translateX(-50%);
	z-index: 100;
}

.chicken_animated .jsgif {
	width: 100%;
	display: block;
}

.chicken_animated .jsgif canvas {
	width: 100% !important;
	height: auto !important;
	display: block;
}

.chicken_animated .jsgif_toolbar {
	display: none;
}	
/* Animations: stars rotate, moon sway, x10 images float */
@keyframes rotate-cw {
	0% { transform: rotate(0deg); }
	100% { transform: rotate(360deg); }
}
@keyframes rotate-ccw {
	0% { transform: rotate(0deg); }
	100% { transform: rotate(-360deg); }
}

.star1 {
	animation: rotate-cw 10s linear infinite;
	transform-origin: 50% 50%;
	will-change: transform;
	-webkit-animation: rotate-cw 10s linear infinite;
}
.star2 {
	animation: rotate-ccw 12s linear infinite;
	transform-origin: 50% 50%;
	will-change: transform;
	-webkit-animation: rotate-ccw 12s linear infinite;
}
.star3 {
	animation: rotate-cw 14s linear infinite;
	transform-origin: 50% 50%;
	will-change: transform;
	-webkit-animation: rotate-cw 14s linear infinite;
}
.star4 {
	animation: rotate-ccw 16s linear infinite;
	transform-origin: 50% 50%;
	will-change: transform;
	-webkit-animation: rotate-ccw 16s linear infinite;
}

@keyframes moon-sway {
	0% { transform: translateX(0) rotate(-2deg); }
	50% { transform: translateX(-8px) rotate(2deg); }
	100% { transform: translateX(0) rotate(-2deg); }
}
.moon {
	animation: moon-sway 8.5s ease-in-out infinite;
	will-change: transform;
	-webkit-animation: moon-sway 8.5s ease-in-out infinite;
}

/* x10 images: gentle up-down movement with varied durations */
.x101 {
	animation: float-up-down-medium 3s ease-in-out infinite;
	-webkit-animation: float-up-down-medium 3s ease-in-out infinite;
	will-change: transform;
}
.x102 {
	animation: float-up-down-small 3.5s ease-in-out infinite;
	-webkit-animation: float-up-down-small 3.5s ease-in-out infinite;
	will-change: transform;
}
.x103 {
	animation: float-up-down-large 2.5s ease-in-out infinite;
	-webkit-animation: float-up-down-large 2.5s ease-in-out infinite;
	will-change: transform;
}

/* Start Screen Styles */
.start-screen {
	position: fixed;
	top: 0;
	left: 0;
	width: 100vw;
	height: 100vh;
	background-image: url('./images/start-background.png');
	background-size: cover;
	background-position: center;
	background-repeat: no-repeat;
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	z-index: 1000;
	opacity: 1;
	pointer-events: auto;
	transition: opacity 0.5s ease-in-out;
}

.start-logo {
	height: 60vh;
	object-fit: contain;
	margin-bottom: auto;
	margin-top: 13vh;
}

.loading-container {
	position: absolute;
	bottom: 100px;
	left: 50%;
	bottom: 50px;
	transform: translateX(-50%);
	width: 300px;
	display: flex;
	flex-direction: column;
	align-items: center;
}

.loading-bar {
	width: 100%;
	height: 20px;
	background-color: rgba(255, 255, 255, 0.3);
	border-radius: 10px;
	overflow: hidden;
	border: 2px solid rgba(255, 255, 255, 0.5);
}

.loading-progress {
	height: 100%;
	width: 0%;
	background: linear-gradient(90deg, #83DF18 0%, #2BA337 100%);
	border-radius: 10px;
	transition: width 0.1s linear;
}

.play-button {
	width: 256px;
	height: 72px;
	border: 5.5px solid #FFFFFF;
	border-radius: 72px;
	background: linear-gradient(180deg, #83DF18 0%, #2BA337 100%);
	font-family: 'IM Fell English', sans-serif;
	font-size: 32px;
	font-weight: 1000;
	color: #FFFFFF;
	cursor: pointer;
	text-transform: uppercase;
	transition: transform 0.2s, box-shadow 0.2s;
	-webkit-border-radius: 72px;
	-moz-border-radius: 72px;
	-ms-border-radius: 72px;
	-o-border-radius: 72px;
	-webkit-transition: transform 0.2s, box-shadow 0.2s;
	-moz-transition: transform 0.2s, box-shadow 0.2s;
	-ms-transition: transform 0.2s, box-shadow 0.2s;
	-o-transition: transform 0.2s, box-shadow 0.2s;
}

.play-button:hover {
	transform: scale(1.05);
	box-shadow: 0 6px 20px rgba(0, 0, 0, 0.4);
}

.play-button:active {
	transform: scale(0.98);
}

.game-content {
	width: 100%;
	height: 100%;
	opacity: 0;
	pointer-events: none;
	transition: opacity 0.5s ease-in-out;
}

.candy {
	width: 62vw;
	position: absolute;
	bottom: -14vh;
}

.blue-egg {
	position: absolute;
	left: 6vh;
	top: 30vh;
}

.thunder1 {
	width: 100px;
	position: absolute;
	top: 22vh;
	left: 30vh;
}

.thunder2 {
	width: 200px;
	position: absolute;
	right: 3vh;
	transform: rotate(90deg);
	-webkit-transform: rotate(90deg);
	-moz-transform: rotate(90deg);
	-ms-transform: rotate(90deg);
	-o-transform: rotate(90deg);
}

.battery1 {
 position: absolute;
 left: -4vh;
 top: -4vh;
 filter: blur(4px);
 -webkit-filter: blur(4px);
}

.battery2 {
	width: 120px;
	position: absolute;
	top: 10vh;
	right: 40vh;
	transform: rotate(50deg);
	-webkit-transform: rotate(50deg);
	-moz-transform: rotate(50deg);
	-ms-transform: rotate(50deg);
	-o-transform: rotate(50deg);
}

.battery3 {
	width: 100px;
	position: absolute;
	bottom: 2vh;
	left: 5vh;
	transform: rotate(40deg);
	-webkit-transform: rotate(40deg);
	-moz-transform: rotate(40deg);
	-ms-transform: rotate(40deg);
	-o-transform: rotate(40deg);
}

.yellow-egg	{
	width: 90px;
	position: absolute;
	top: 22vh;
	right: 30vh;
}

.white-egg	{
	width: 170px;
	position: absolute;
	bottom: -3vh;
	right: 7vh;
	transform: rotate(-50deg);
	-webkit-transform: rotate(-50deg);
	-moz-transform: rotate(-50deg);
	-ms-transform: rotate(-50deg);
	-o-transform: rotate(-50deg);
	animation: white-egg-levitate 7.6s ease-in-out infinite;
	-webkit-animation: white-egg-levitate 7.6s ease-in-out infinite;
	will-change: transform;
}

/* Start screen animations */
@keyframes float-up-down-large {
	0% { transform: translateY(0); }
	50% { transform: translateY(-14px); }
	100% { transform: translateY(0); }
}

@keyframes float-up-down-medium {
	0% { transform: translateY(0); }
	50% { transform: translateY(-8px); }
	100% { transform: translateY(0); }
}

@keyframes float-up-down-medium-rotated {
    0% { transform: translateY(0) rotate(90deg); }
    50% { transform: translateY(-8px) rotate(90deg); }
    100% { transform: translateY(0) rotate(90deg); }
}

@keyframes float-up-down-small {
	0% { transform: translateY(0); }
	50% { transform: translateY(-6px); }
	100% { transform: translateY(0); }
}

@keyframes white-egg-levitate {
	0% { transform: rotate(-50deg) translateY(0) scale(1); }
	30% { transform: rotate(-50deg) translateY(-12px) scale(1.03); }
	60% { transform: rotate(-50deg) translateY(-6px) scale(1.01); }
	100% { transform: rotate(-50deg) translateY(0) scale(1); }
}

@keyframes battery-rotate-1 {
	0% { transform: rotate(0deg); }
	100% { transform: rotate(360deg); }
}

@keyframes battery-rotate-2 {
	0% { transform: rotate(50deg); }
	100% { transform: rotate(410deg); }
}

@keyframes battery-rotate-3 {
	0% { transform: rotate(40deg); }
	100% { transform: rotate(-320deg); }
}

/* Candy: subtle up-down float */
.candy {
	animation: float-up-down-small 6.8s ease-in-out infinite;
	will-change: transform;
	-webkit-animation: float-up-down-small 6.8s ease-in-out infinite;
}

/* Thunder: levitation up-down (preserve existing rotation for thunder2) */
.thunder1 {
	animation: float-up-down-medium 5.8s ease-in-out infinite;
	-webkit-animation: float-up-down-medium 5.8s ease-in-out infinite;
	will-change: transform;
}
.thunder2 {
	/* keep rotated 90deg while floating vertically */
	animation: float-up-down-medium-rotated 5.8s ease-in-out infinite;
	-webkit-animation: float-up-down-medium-rotated 5.8s ease-in-out infinite;
	will-change: transform;
}

/* Eggs: gentle levitation */
.blue-egg {
	animation: float-up-down-large 7.7s ease-in-out infinite;
	-webkit-animation: float-up-down-large 7.7s ease-in-out infinite;
	will-change: transform;
}
.yellow-egg {
	animation: float-up-down-medium 7s ease-in-out infinite;
	-webkit-animation: float-up-down-medium 7s ease-in-out infinite;
	will-change: transform;
}



/* Batteries: continuous rotation, different directions/speeds */
.battery1 {
	animation: battery-rotate-1 19.6s linear infinite;
	transform-origin: 50% 50%;
	will-change: transform;
	-webkit-animation: battery-rotate-1 19.6s linear infinite;
}
.battery2 {
	animation: battery-rotate-2 12.8s linear infinite;
	transform-origin: 50% 50%;
	will-change: transform;
}
.battery3 {
	animation: battery-rotate-3 16s linear infinite;
	transform-origin: 50% 50%;
	will-change: transform;
}

/* Win Screen Styles */
.win-screen {
	position: fixed;
	top: 0;
	left: 0;
	width: 100vw;
	height: 100vh;
	background-image: url('./images/win-background.png');
	background-size: cover;
	background-position: center;
	background-repeat: no-repeat;
	display: flex;
	align-items: center;
	justify-content: center;
	z-index: 2000;
	opacity: 0;
	pointer-events: none;
	transition: opacity 0.5s ease-in-out;
}

.win-screen-container {
	width: 100%;
	height: 100%;
	display: flex;
	flex-direction: row;
}

.chicken-win-image {
	position: absolute;
	bottom: 5vh;
	max-width: 90%;
	max-height: 90%;
	object-fit: contain;
}

.shine-container {
	position: absolute;
	top: 50%;
	right: 10%;
	transform: translateY(-50%);

	background-size: contain;
	background-position: center;
	background-repeat: no-repeat;
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	-webkit-transform: translateY(-50%);
	-moz-transform: translateY(-50%);
	-ms-transform: translateY(-50%);
	-o-transform: translateY(-50%);
}


.shine {
	position: absolute;
	z-index: 100;
}


.total-win-image {
	height: auto;
	object-fit: contain;
	z-index: 101;
	max-width: 550px;
}

.win-amount-text {
	display: block;
	z-index: 101;
	font-family: 'Mulish', sans-serif;
	font-size: 170px;
	font-weight: 1000;
	line-height: 1;
	text-transform: uppercase;
	background: linear-gradient(to bottom, #FEE205 0%, #F7C414 60%, #EB7216 100%);
	-webkit-background-clip: text;
	background-clip: text;
	-webkit-text-fill-color: transparent;
	color: transparent;
	max-width: 670px;
}

.get-button {
	width: 395px;
	height: 94px;
	margin-top: 20px;
	border: 3px solid #FF68FF;
	border-radius: 72px;
	background: linear-gradient(90deg, #AA42AA 0%, #FF82FF 50%, #AA42AA 100%);
	font-family: 'IM Fell English', sans-serif;
	font-size: 54px;
	font-weight: 1000;
	color: #FFFFFF;
	cursor: pointer;
	text-transform: uppercase;
	text-decoration: none;
	display: flex;
	align-items: center;
	justify-content: center;

	z-index: 101;
	transition: transform 0.2s, box-shadow 0.2s;
	-webkit-border-radius: 72px;
	-moz-border-radius: 72px;
	-ms-border-radius: 72px;
	-o-border-radius: 72px;
	-webkit-transition: transform 0.2s, box-shadow 0.2s;
	-moz-transition: transform 0.2s, box-shadow 0.2s;
	-ms-transition: transform 0.2s, box-shadow 0.2s;
	-o-transition: transform 0.2s, box-shadow 0.2s;
}

.get-button:hover {
	transform: scale(1.05);
	box-shadow: 0 6px 20px rgba(0, 0, 0, 0.4);
}

.get-button:active {
	transform: scale(0.98);
}

.coins {
	position: absolute;
	width: 100vw;
	bottom: 0;
	pointer-events: none;
	z-index: 99;
	opacity: 0.8;
}

.snich1 {
	width: 350px;
	position: absolute;
	top: 0;
	right: 10vh;
	animation: snich-spin 10s ease-in-out infinite;
	-webkit-animation: snich-spin 10s ease-in-out infinite;
}

.snich2 {
	width: 600px;
	position: absolute;
	bottom: 0;
	left: 30vh;
	z-index: 105;
	animation: snich-spin 15s ease-in-out infinite;
	-webkit-animation: snich-spin 15s ease-in-out infinite;
}

@keyframes snich-spin {
	0% { transform: rotate(0deg); }
	50% { transform: rotate(60deg); -webkit-transform: rotate(60deg); -moz-transform: rotate(60deg); -ms-transform: rotate(60deg); -o-transform: rotate(60deg); }
	100% { transform: rotate(0deg); }
}

@media (max-width: 1040px) {
	.blue-egg {
		left: 2vh;
		top: 2vh;
	}

	.white-egg {
		bottom: 13vh;
	}

	.battery3 {
		bottom: 20vh;
	}

	.battery2 {
		right: 10vh;
	}

	.battery1 {
		display: none;
	}

	.candy {
		bottom: -7vh;
	}

	.thunder1 {
		top: 40vh;
		left: 5vh;
	}

	.thunder2 {
		top: 30vh;
		right: 0vh;
	}

	.yellow-egg {
		top: 2vh;
		right: 35vh;
	}

	.canvas-container {
		top: 20vh;
	}

	.panel-container {
		top: 68vh;
	}

	.info-container {
		justify-content: center;
		gap: 10px;
	}

	.balance-bet-container {
		flex-direction: row;
		gap: 10px;
	}

	.green-clouds, .red-clouds {
		width: 100px;
	}

	.logo {
		width: 350px;
		top: 20px;
		left: 20px;
	}

	.star1 {
		top: 15vh;
		left: 1vh;
	}

	.star2 {
		top: 18vh;
		left: 17vh;
	}

	.star3 {
		top: 18vh;
		right: 12vh;
	}

	.star4 {
		top: 5vh;
		right: 20vh;
	}

	.x101 {
		top: 40vh;
		left: 20vh;
	}

	.x102 {
		bottom: 25vh;
		left: 56vh;
	}

	.x103 {
		bottom: 15vh;
		display: none;
	}

	.canvas-container {
		transform: scale(0.8);
		-webkit-transform: scale(0.8);
		-moz-transform: scale(0.8);
		-ms-transform: scale(0.8);
		-o-transform: scale(0.8);
	}

	.panel-container {
		bottom: 14vh;
		transform:translateX(-50%) scale(0.8) ;
		-webkit-transform:translateX(-50%) scale(0.8) ;
		-moz-transform:translateX(-50%) scale(0.8) ;
		-ms-transform:translateX(-50%) scale(0.8) ;
		-o-transform:translateX(-50%) scale(0.8) ;
	}

	.shine-container {
		right: 50%;
		top: 70%;
		transform: translate(50%, -50%) scale(0.8);
		-webkit-transform: translate(50%, -50%) scale(0.8);
		-moz-transform: translate(50%, -50%) scale(0.8);
		-ms-transform: translate(50%, -50%) scale(0.8);
		-o-transform: translate(50%, -50%) scale(0.8);
	}

	.chicken-win-image {
		top: 0;
		left: 50%;
		transform: translateX(-50%);
		height: 60vh;
	}

	.snich1 {
		width: 350px;
		right: 1vh;
	}

	.snich2 {
		width: 450px;
		left: -3vh;
	}
}

@media (max-width: 840px) {
	.white-egg {
		width: 100px;
		bottom: 15vh;
	}

	.logo {
		width: 270px;
	}

	.green-clouds, .red-clouds {
		width: 65px;
	}

	.star1 {
		width: 75px;
	}

	.star2 {
		width: 60px;
	}

	.star3, .star4 {
		width: 65px;
	}

	.moon {
		width: 140px;
	}

	.panel-container {
		bottom: 11vh;
	}

	.x101, .x102 {
		width: 80px;
	}

	.x101 {
		top: 45vh;
		left: 15vh;
	}

	.x102 {
		left: 60vh;
	}

	.x103 {
		display: none;
	}

	.info-container {
		width: 950px;
		left: 50%;
		padding: 0;
		transform: translateX(-50%) scale(0.8);
		-webkit-transform: translateX(-50%) scale(0.8);
		-moz-transform: translateX(-50%) scale(0.8);
		-ms-transform: translateX(-50%) scale(0.8);
		-o-transform: translateX(-50%) scale(0.8);
		justify-content: center;
		gap: 10px;
}

	.balance-bet-container {
		flex-direction: row;
		gap: 10px;
	}

	.snich1 {
		width: 300px;
		right: -1vh;
	}

	.snich2 {
		width: 400px;
		left: -5vh;
	}
}

@media (max-height: 840px) and (max-width: 1200px) {
	.start-logo {
		max-height: 500px;
	}

	.white-egg {
		width: 150px;
	}

	.canvas-container {
		transform: scale(0.8);
		-webkit-transform: scale(0.8);
		-moz-transform: scale(0.8);
		-ms-transform: scale(0.8);
		-o-transform: scale(0.8);
	}

	.panel-container {
		bottom: 3vh;
		transform:translateX(-50%) scale(0.75) ;
		-webkit-transform:translateX(-50%) scale(0.75) ;
		-moz-transform:translateX(-50%) scale(0.75) ;
		-ms-transform:translateX(-50%) scale(0.75) ;
		-o-transform:translateX(-50%) scale(0.75) ;
}

	.green-clouds, .red-clouds {
		width: 80px;
	}

	.logo {
		width: 300px;

	}

	.logo {
		width: 270px;
	}

	.x101, .x102, .x103 {
		width: 80px;
	}

	.star1 {
		width: 75px;
	}

	.star2 {
		width: 60px;
	}

	.star3, .star4 {
		width: 65px;
	}

	.moon {
		width: 140px;
	}

	.shine-container {
		right: 2%;
		transform: translateY(-50%) scale(0.65);
		-webkit-transform: translateY(-50%) scale(0.65);
		-moz-transform: translateY(-50%) scale(0.65);
		-ms-transform: translateY(-50%) scale(0.65);
		-o-transform: translateY(-50%) scale(0.65);
	}
}

@media (max-width: 780px) {
	.start-logo {
		max-height: 500px;
		margin-top: 25vh
	}

	.canvas-container {
		transform: scale(0.77);
		-webkit-transform: scale(0.77);
		-moz-transform: scale(0.77);
		-ms-transform: scale(0.77);
		-o-transform: scale(0.77);
	}

	.panel-container {
		bottom: 7.5vh;
		transform:translateX(-50%) scale(0.78) ;
		-webkit-transform:translateX(-50%) scale(0.78) ;
		-moz-transform:translateX(-50%) scale(0.78) ;
		-ms-transform:translateX(-50%) scale(0.78) ;
		-o-transform:translateX(-50%) scale(0.78) ;
	}

	.shine-container {
		transform: translate(-50% -50%) scale(0.55);
		-webkit-transform: translate(-50% -50%) scale(0.55);
		-moz-transform: translate(-50% -50%) scale(0.55);
		-ms-transform: translate(-50% -50%) scale(0.55);
		-o-transform: translate(-50% -50%) scale(0.55);
	}

	.snich1 {
		width: 250px;
		right: -3vh;
	}

	.snich2 {
		width: 350px;
		left: -7vh;
	}
}

@media (max-height: 780px) and (max-width: 1100px) {
	.white-egg {
		width: 120px;
	}

	.candy {
		bottom: -12vh;
	}

	.shine-container {
		right: 50%;
		top: 70%;
		transform: translate(50%, -50%) scale(0.6);
		-webkit-transform: translate(50%, -50%) scale(0.6);
		-moz-transform: translate(50%, -50%) scale(0.6);
		-ms-transform: translate(50%, -50%) scale(0.6);
		-o-transform: translate(50%, -50%) scale(0.6);
	}

	.panel-container {
		bottom: 1vh;
		transform: translate(-50%, 23%) scale(0.8);
	}

	.canvas-container {
		top: 25vh;
		height: 500px;
	}

	canvas {
		margin-top: -13vh;
	}

	.x101 {
		top: 40vh;
		left: 35vh;
	}

	.x102 {
		bottom: 25vh;
		left: 100vh;
	}

	.info-container {
		width: 140vw;
		padding: 20px;
		position: absolute;
		bottom: 0;
		left: 50%;
		display: flex;
		justify-content: space-between;
		align-items: flex-end;
		gap: 10px;
		transform: translateX(-50%) scale(0.7);
		padding: 0;
	}

	.balance-bet-container {
		flex-direction: column;
	}
}

@media (max-width: 450px) {
	.start-logo {
		width: 80vw;
		margin-top: 14vh;
	}

	.loading-container {
		bottom: 10vh;
	}

	.play-button {
		width: 170px;
		height: 50px;
		font-size: 24px;
	}
	
	.candy {
		width: 80vw;
		bottom: -2vh;
	}

	.white-egg {
		width: 90px;
		bottom: 25vh;
	}

	.battery3 {
		width: 70px;
		left: 2vh;
	}

	.thunder2 {
		display: none;
	}

	.battery2 {
		width: 80px;
		right: 5vh;
		top: 20vh;
	}

	.yellow-egg {
		width: 60px;
		right: 10vh;
	}

	.blue-egg {
		width: 150px;
		left: 2vh;
		top: 5vh;
	}

	.thunder1 {
		width: 60px;
		top: 30vh;
		left: 0vh;
	}

	.logo {
		width: 130px;
		top: 10px;
		left: 10px;
	}

	.green-clouds, .red-clouds {
		width: 40px;
		top: 50vh;

	}

	.green-clouds {
		left: 5px;
	}

	.red-clouds {
		right: 5px;
	}

	.canvas-container {
		top: 34vh;
		transform: scale(1);
		-webkit-transform: scale(1);
		-moz-transform: scale(1);
		-ms-transform: scale(1);
		-o-transform: scale(1);
}

	.panel-container {
		top: 61vh;
		bottom: 0;
		transform:translateX(-50%) scale(0.55) ;
		-webkit-transform:translateX(-50%) scale(0.55) ;
		-moz-transform:translateX(-50%) scale(0.55) ;
		-ms-transform:translateX(-50%) scale(0.55) ;
		-o-transform:translateX(-50%) scale(0.55) ;
	}

	.info-container {
		transform: translateX(-50%) scale(0.4);
		-webkit-transform: translateX(-50%) scale(0.4);
		-moz-transform: translateX(-50%) scale(0.4);
		-ms-transform: translateX(-50%) scale(0.4);
		-o-transform: translateX(-50%) scale(0.4);
	}

	.x101, .x102 {
		display: none;
	}

.star1 {
		width: 50px;
		top: 20vh;
		left: 1vh;
	}

	.star2 {
		width: 40px;
		top: 12vh;
		left: 7vh;
	}

	.star3 {
		width: 45px;
		top: 17vh;
		right: 4vh;
	}

	.star4 {
		display: none;
	}

	.moon {
		width: 100px;
	}

	.shine-container {
		transform: translate(50%, -50%) scale(0.5);
		-webkit-transform: translate(50%, -50%) scale(0.5);
		-moz-transform: translate(50%, -50%) scale(0.5);
		-ms-transform: translate(50%, -50%) scale(0.5);
		-o-transform: translate(50%, -50%) scale(0.5);
	}

	.snich1 {
		width: 200px;
		right: 0;
		top: 35vh;
	}

	.snich2 {
		width: 250px;
		left: -3vh;
		bottom: -3vh;
	}
}

@media (max-width: 400px) {
	.panel-container {
		top: 64vh;
	}
}

@media (max-width: 1400px) {
	.x101 {
		right: 40vh;
	}
	.x103 {
		left: 30vh;
	}
	.x102 {
		right: 27vh;
	}
}

@media (max-height: 950px) and (min-width: 1050px) {
	.x101, .x102, .x103 {
		width: 65px;
	}

	.x101 {
		right: 55vh;
	}

	.x102 {
		right: 37vh;
	}

	.x103 {
		left: 35vh;
	}

	.green-clouds, .red-clouds {
		width: 80px;
	}

	.info-container {
		padding: 0;
	}

	.last-win-container, .balance-bet-container{
		transform: scale(0.9);

	}

	.panel-container {
		transform: translateX(-50%) scale(0.84);
		-webkit-transform: translateX(-50%) scale(0.84);
		-moz-transform: translateX(-50%) scale(0.84);
		-ms-transform: translateX(-50%) scale(0.84);
		-o-transform: translateX(-50%) scale(0.84);
	}

	canvas {
		transform: scale(0.9);
		-webkit-transform: scale(0.9);
		-moz-transform: scale(0.9);
		-ms-transform: scale(0.9);
		-o-transform: scale(0.9);
	}

 	.canvas-container {
		top: 25vh;
		transform: scale(0.9);
		-webkit-transform: scale(0.9);
		-moz-transform: scale(0.9);
		-ms-transform: scale(0.9);
		-o-transform: scale(0.9);
	}

	.logo{
		width: 300px;
	}

	.star1 {
		width: 85px;
	}

	.star2 {
		width: 70px;
	}

	.star3, .star4 {
		width: 75px;
	}

	.moon {
		width: 140px;
	}

	.snich1 {
		width: 300px;
	}

	.snich2 {
		width: 500px;
	}

	.shine-container {
		right: 2%;
		transform: translateY(-50%) scale(0.8);
		-webkit-transform: translateY(-50%) scale(0.8);
		-moz-transform: translateY(-50%) scale(0.8);
		-ms-transform: translateY(-50%) scale(0.8);
		-o-transform: translateY(-50%) scale(0.8);
}	
}