* {
			padding: 0;
			margin: 0;
		}
		html, body {
			background: #000;
			color: #fff;
			overflow: hidden;
			touch-action: none;
			-ms-touch-action: none;
		}
		canvas {
			touch-action-delay: none;
			touch-action: none;
			-ms-touch-action: none;
		}
		
		/* T-Shirt Score Display */
		#tshirt-score-container {
			position: fixed;
			top: 18%;
			left: 1%;
			width: clamp(100px, 12vw, 180px);
			height: auto;
			aspect-ratio: 224 / 237.6;
			z-index: 1000;
			pointer-events: none;
		}
		
		#tshirt-svg {
			width: 100%;
			height: 100%;
			filter: drop-shadow(2px 4px 6px rgba(0,0,0,0.3));
		}
		
		#score-text {
			position: absolute;
			top: 40%;
			left: 50%;
			transform: translate(-50%, -50%);
			font-family: 'Arial Black', Gadget, sans-serif;
			font-size: clamp(10px, 1.2vw, 16px);
			font-weight: bold;
			color: #1f3c5e;
			text-align: center;
			line-height: 1.2;
			z-index: 1001;
		}
		
		#score-text .label {
			font-size: clamp(8px, 1vw, 14px);
		}
		
		#score-text .value {
			font-size: clamp(16px, 2vw, 28px);
		}
		
		/* Responsive T-Shirt for different screen sizes */
		@media (max-width: 768px) {
			#tshirt-score-container {
				top: 12%;
				left: 3%;
				width: clamp(80px, 18vw, 140px);
			}
			#score-text {
				font-size: 10px;
			}
			#score-text .label {
				font-size: 8px;
			}
			#score-text .value {
				font-size: 16px;
			}
		}
		
		@media (max-width: 480px) {
			#tshirt-score-container {
				top: 10%;
				left: 2%;
				width: clamp(60px, 20vw, 100px);
			}
			#score-text {
				font-size: 8px;
			}
			#score-text .label {
				font-size: 6px;
			}
			#score-text .value {
				font-size: 12px;
			}
		}
		
		@media (min-width: 1400px) {
			#tshirt-score-container {
				width: clamp(140px, 10vw, 200px);
			}
		}
		
		/* Game Modal Styles */
		.game-modal {
			display: none;
			position: fixed;
			top: 0;
			left: 0;
			width: 100%;
			height: 100%;
			background: rgba(0, 0, 0, 0.8);
			z-index: 2000;
			justify-content: center;
			align-items: center;
			animation: fadeIn 0.3s ease-in-out;
		}
		
		.game-modal.show {
			display: flex;
		}
		
		@keyframes fadeIn {
			from { opacity: 0; }
			to { opacity: 1; }
		}
		
		@keyframes bounceIn {
			0% { transform: scale(0.5); opacity: 0; }
			50% { transform: scale(1.1); }
			100% { transform: scale(1); opacity: 1; }
		}
		
		@keyframes shake {
			0%, 100% { transform: translateX(0); }
			25% { transform: translateX(-10px); }
			75% { transform: translateX(10px); }
		}
		
		.modal-content {
			background: linear-gradient(180deg, #f8f9fa 0%, #e9ecef 100%);
			/* border-radius: 15px; */
			padding: 40px 50px;
			text-align: center;
			box-shadow: 0 25px 80px rgba(0, 0, 0, 0.6);
			max-width: 380px;
			width: 90%;
			animation: bounceIn 0.5s ease-out;
			/* border: 3px solid rgba(255, 255, 255, 0.3); */
			position: relative;
			overflow: hidden;
		}
		
		/* Winning Modal */
		#win-modal .modal-content {
			/* border: 3px solid rgba(200, 200, 200, 0.5); */
			/* background: linear-gradient(180deg, #f8f9fa 0%, #e9ecef 100%); */
		
			background-image: url(/images/win-bg.png);
			background-size: contain;
			background-repeat: no-repeat;
		}
		
		#win-modal .modal-icon {
			width: 80px;
			height: 80px;
			margin: 0 auto 15px;
		}
		
		#win-modal .trophy-img {
			width: 100%;
			height: 100%;
			object-fit: contain;
		}
		
		#win-modal .modal-title {
			background: linear-gradient(180deg, #d4a24c 0%, #b8860b 50%, #d4a24c 100%);
			-webkit-background-clip: text;
			-webkit-text-fill-color: transparent;
			background-clip: text;
			font-size: 42px;
			font-weight: bold;
			font-style: italic;
			margin-bottom: 10px;
			font-family: 'Arial Black', Gadget, sans-serif;
			text-shadow: none;
			letter-spacing: 2px;
		}
		
		#win-modal .modal-message {
			color: #666;
			font-size: 16px;
			margin-bottom: 15px;
			font-family: Arial, sans-serif;
		}
		
		#win-modal .modal-score {
			background: transparent;
			color: transparent;
			padding: 10px 0;
			margin-bottom: 20px;
			display: block;
		}
		
		#win-modal .score-label {
			background: linear-gradient(180deg, #d4a24c 0%, #b8860b 50%, #d4a24c 100%);
			-webkit-background-clip: text;
			-webkit-text-fill-color: transparent;
			background-clip: text;
			font-size: 24px;
			font-weight: bold;
			font-family: 'Arial Black', Gadget, sans-serif;
			font-style: italic;
			letter-spacing: 3px;
		}
		
		#win-modal .score-value {
			background: linear-gradient(180deg, #d4a24c 0%, #b8860b 50%, #d4a24c 100%);
			-webkit-background-clip: text;
			-webkit-text-fill-color: transparent;
			background-clip: text;
			font-size: 72px;
			font-weight: bold;
			font-family: 'Arial Black', Gadget, sans-serif;
			line-height: 1;
			display: block;
			margin-top: 5px;
		}
		
		/* Game Over Modal */
		#gameover-modal .modal-content {
			background-image: url(/images/win-bg.png);
			background-size: contain;
			background-repeat: no-repeat;
			/* border: 8px solid rgba(200, 200, 200, 0.5); */
			/* background: linear-gradient(180deg, #f8f9fa 0%, #e9ecef 100%); */
			/* animation: bounceIn 0.5s ease-out, shake 0.5s ease-out 0.5s; */
		}
		
		#gameover-modal .modal-icon {
			width: 80px;
			height: 80px;
			margin: 0 auto 15px;
			font-size: 60px;
			line-height: 80px;
		}
		
		#gameover-modal .modal-title {
			background: linear-gradient(180deg, #c62828 0%, #8b0000 50%, #c62828 100%);
			-webkit-background-clip: text;
			-webkit-text-fill-color: transparent;
			background-clip: text;
			font-size: 42px;
			font-weight: bold;
			font-style: italic;
			margin-bottom: 10px;
			font-family: 'Arial Black', Gadget, sans-serif;
			letter-spacing: 2px;
		}
		
		#gameover-modal .modal-message {
			color: #666;
			font-size: 16px;
			margin-bottom: 15px;
			font-family: Arial, sans-serif;
		}
		
		#gameover-modal .modal-score {
			background: transparent;
			padding: 10px 0;
			margin-bottom: 20px;
			display: block;
		}
		
		#gameover-modal .score-label {
			background: linear-gradient(180deg, #c62828 0%, #8b0000 50%, #c62828 100%);
			-webkit-background-clip: text;
			-webkit-text-fill-color: transparent;
			background-clip: text;
			font-size: 24px;
			font-weight: bold;
			font-family: 'Arial Black', Gadget, sans-serif;
			font-style: italic;
			letter-spacing: 3px;
		}
		
		#gameover-modal .score-value {
			background: linear-gradient(180deg, #c62828 0%, #8b0000 50%, #c62828 100%);
			-webkit-background-clip: text;
			-webkit-text-fill-color: transparent;
			background-clip: text;
			font-size: 72px;
			font-weight: bold;
			font-family: 'Arial Black', Gadget, sans-serif;
			line-height: 1;
			display: block;
			margin-top: 5px;
		}

		.try-again-btn {
			width: 219px;
			height: auto;
		}
		.surf-logo{
			position: absolute;
			top: 40px;
			right: 50px;
			width: 220px;
			height: auto;
			z-index: 1000;
		}
		
		/* Modal Buttons */
		.modal-btn {
			padding: 14px 50px;
			font-size: 18px;
			font-weight: bold;
			border: none;
			border-radius: 30px;
			cursor: pointer;
			transition: all 0.3s ease;
			margin: 5px;
			box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
		}
		
		.modal-btn.play-again {
			background: linear-gradient(180deg, #5cb85c 0%, #4cae4c 50%, #449d44 100%);
			color: white;
			text-shadow: 0 1px 2px rgba(0, 0, 0, 0.2);
		}
		
		.modal-btn.play-again:hover {
			background: linear-gradient(180deg, #4cae4c 0%, #449d44 50%, #398439 100%);
			transform: scale(1.05);
			box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
		}
		
		/* Square Confetti */
		.confetti {
			position: absolute;
			top: -20px;
			width: 12px;
			height: 12px;
			background: #f00;
			animation: confetti-fall 4s linear forwards;
			border-radius: 2px;
			transform-origin: center;
		}
		
		@keyframes confetti-fall {
			0% { 
				transform: translateY(-20px) rotate(0deg) scale(1); 
				opacity: 1; 
			}
			50% {
				opacity: 1;
			}
			100% { 
				transform: translateY(100vh) rotate(720deg) scale(0.8); 
				opacity: 0; 
			}
		}
		
		/* Trophy SVG styling */
		.trophy-svg {
			width: 80px;
			height: 80px;
		}