html {
	background-image: url("imgs/ZLOTO.png");
	font-family: "Open Sans", sans-serif;
	background-color: #000;
}

.title {
	display: flex;
	justify-content: center;
	background-color: #f1f1f1;
	padding: 20px;
	border-radius: 10px;
	margin: 2rem;
	border: 2px solid black;
}

.products {
	margin: 2rem;
}

.products-header {
	display: flex;
	justify-content: center;
	flex-wrap: wrap;
	background-color: #f1f1f1;
	padding: 20px;
	border-radius: 10px;
	border: 2px solid black;
	margin-bottom: 2rem;
}

.products-list {
	display: grid;
	grid-template-columns: 1fr 1fr 1fr;
	grid-gap: 20px;
}

@media screen and (max-width: 768px) {
	.products-list {
		grid-template-columns: 1fr;
	}

	.footer-info {
		grid-template-columns: 1fr 1fr;
	}
}

.product {
	background-color: #f1f1f1;
	padding: 20px;
	border-radius: 10px;
	border: 2px solid black;

	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: space-between;
}

.product-image > img {
	image-rendering: pixelated;
}

.product-btn > button {
	border: 2px solid #000000;
	border-radius: 7px;
	padding: 5px;
	font-size: 1rem;
	cursor: pointer;
}

.product-btn > button:hover {
	background-color: #000000;
	color: #ffffff;
}

.product-price > p {
	font-size: 0.4rem;
	text-align: center;
	margin-top: 0;
	margin-bottom: 1rem;
}

.product-price > h5 {
	margin-bottom: 0;
	margin-top: 0;
	text-align: center;
}

.product-info > h3 {
	text-align: center;
}

.product-info > h6 {
	text-align: center;
}

.product-image > img {
	/* animate it so it rotates */
	animation: rotate 3s linear infinite;
}

@keyframes rotate {
	0% {
		transform: rotate(0deg);
	}
	100% {
		transform: rotate(360deg);
	}
}

.footer {
	display: flex;
	justify-content: center;
	background-color: #f1f1f1;
	padding: 20px;
	border-radius: 10px;
	border: 2px solid black;
	margin: 2rem;
	flex-direction: column;
	align-items: center;
}

.footer-info {
	display: grid;
	grid-template-columns: 1fr 1fr;
	grid-gap: 1rem;
}

.footer > * {
	margin: 0;
}

@media screen and (max-width: 768px) {
	.footer-info {
		grid-template-columns: 1fr;
	}
}

.footer-info > ul {
	list-style-type: none;
	text-align: center;
}

.products-header {
	display: flex;
	justify-content: center;
	flex-wrap: wrap;
	flex-direction: column;
	align-items: center;
	gap: 0.4rem;
}

.products-header > h6 {
	margin: 0;
}

.footer-info > div {
	display: flex;
	justify-content: center;
	flex-direction: column;
	align-items: center;
}

.warning {
	position: sticky;
	bottom: 1rem;
	background-color: #f1f1f1;
	padding: 20px;
	border-radius: 10px;
	border: 2px solid black;
	justify-content: center;
	display: flex;
	align-items: center;
}

.best-clients {
	display: flex;
	justify-content: center;
	flex-wrap: wrap;
	background-color: #f1f1f1;
	padding: 20px;
	border-radius: 10px;
	border: 2px solid black;

	margin: 2rem;
	text-align: center;
	display: flex;
	flex-direction: column;
	align-items: center;
}

.best-clients > .clients {
	display: grid;
	grid-template-columns: 1fr 1fr 1fr;
	grid-gap: 20px;

	align-items: center;
	justify-content: center;
}

.client > img {
	width: 50px;
	height: 50px;
	border-radius: 5px;
	border: 2px solid black;
}

.client > h6,
.client > h5 {
	margin: 0;
}

@media screen and (max-width: 768px) {
	.best-clients > .clients {
		grid-template-columns: 1fr;
	}
}

.footer {
	margin-bottom: 8rem;
}

.enchanted {
	color: #9d27be;
}

.opinion {
	font-style: italic;
	padding-top: 20px;
}

.mining-popup {
	position: fixed;
	top: 70px;
	right: 20px;
	background-color: #f1f1f1;
	padding: 15px;
	border-radius: 10px;
	border: 2px solid black;
	display: flex;
	align-items: center;
	gap: 10px;
	font-family: "Open Sans", sans-serif;
	font-weight: bold;
	box-shadow: 0 4px 8px rgba(0, 0, 0, 0.3);
	z-index: 1000;
	animation: bounce 0.4s ease-in-out infinite;
}

.mining-popup img {
	image-rendering: pixelated;
	animation: rotate 2s linear infinite;
}

@keyframes bounce {
	0%,
	20%,
	50%,
	80%,
	100% {
		transform: translateY(0);
	}
	40% {
		transform: translateY(-10px);
	}
	60% {
		transform: translateY(-5px);
	}
}

.cart-button {
	position: fixed;
	top: 20px;
	right: 20px;
	background-color: #f1f1f1;
	padding: 15px;
	border-radius: 50%;
	border: 2px solid black;
	font-size: 18px;
	font-weight: bold;
	cursor: pointer;
	box-shadow: 0 4px 8px rgba(0, 0, 0, 0.3);
	z-index: 1000;
	transition: transform 0.2s;
}

.cart-button:hover {
	transform: scale(1.1);
	background-color: #e0e0e0;
}

.cart-popup {
	display: none;
	position: fixed;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	background-color: rgba(0, 0, 0, 0.5);
	z-index: 10001;
}

.cart-popup > div {
	position: fixed;
	top: 50%;
	left: 50%;
	transform: translate(-50%, -50%);
	background-color: #f1f1f1;
	border: 2px solid black;
	border-radius: 10px;
	width: 400px;
	max-width: 90vw;
	max-height: 80vh;
	display: flex;
	flex-direction: column;
	font-family: "Open Sans", sans-serif;
}

.cart-header {
	background-color: #f1f1f1;
	padding: 15px;
	border-bottom: 2px solid black;
	display: flex;
	justify-content: space-between;
	align-items: center;
}

.cart-header h3 {
	margin: 0;
	font-family: "Open Sans", sans-serif;
}

.close-cart {
	cursor: pointer;
	font-size: 18px;
	font-weight: bold;
	color: #ff4444;
}

.close-cart:hover {
	color: #ff0000;
	transform: scale(1.2);
}

.cart-items {
	padding: 15px;
	flex: 1;
	overflow-y: auto;
	min-height: 200px;
}

.empty-cart {
	text-align: center;
	color: #666;
	font-style: italic;
}

.cart-item {
	display: flex;
	justify-content: space-between;
	align-items: center;
	padding: 10px;
	border-bottom: 1px solid #ccc;
	gap: 10px;
}

.cart-item:last-child {
	border-bottom: none;
}

.item-name {
	flex: 1;
	font-weight: bold;
}

.item-quantity {
	color: #666;
}

.item-price {
	font-weight: bold;
	color: #333;
}

.remove-item {
	background-color: #ff4444;
	color: white;
	border: none;
	border-radius: 3px;
	padding: 5px;
	cursor: pointer;
	font-size: 12px;
}

.remove-item:hover {
	background-color: #ff0000;
}

.cart-footer {
	padding: 15px;
	border-top: 2px solid black;
	background-color: #e8e8e8;
	flex-shrink: 0;
}

.cart-total {
	text-align: center;
	margin-bottom: 10px;
	font-size: 16px;
}

.checkout-btn {
	width: 100%;
	padding: 12px;
	background-color: #4caf50;
	color: white;
	border: 2px solid #333;
	border-radius: 5px;
	font-size: 16px;
	font-weight: bold;
	cursor: pointer;
	font-family: "Open Sans", sans-serif;
}

.checkout-btn:hover {
	background-color: #45a049;
	transform: scale(1.02);
}

.cart-notification {
	position: fixed;
	top: 140px;
	right: 20px;
	background-color: #4caf50;
	color: white;
	padding: 10px 15px;
	border-radius: 5px;
	border: 2px solid black;
	font-family: "Open Sans", sans-serif;
	font-weight: bold;
	z-index: 10002;
	animation: slideInRight 0.3s ease-out, fadeOut 0.5s ease-out 2.5s forwards;
}

@keyframes slideInRight {
	from {
		transform: translateX(100%);
		opacity: 0;
	}
	to {
		transform: translateX(0);
		opacity: 1;
	}
}

.lucky-notification {
	position: fixed;
	top: 50%;
	left: 50%;
	transform: translate(-50%, -50%);
	background: linear-gradient(45deg, #ffd700, #ffa500);
	color: #333;
	padding: 20px 30px;
	border-radius: 15px;
	border: 3px solid #333;
	font-family: "Open Sans", sans-serif;
	font-weight: bold;
	font-size: 18px;
	z-index: 10003;
	animation: luckyBounce 0.6s ease-out, pulse 2s ease-in-out 0.6s 2;
	box-shadow: 0 8px 20px rgba(0, 0, 0, 0.4);
	text-align: center;
}

@keyframes luckyBounce {
	0% {
		transform: translate(-50%, -50%) scale(0) rotate(-180deg);
		opacity: 0;
	}
	50% {
		transform: translate(-50%, -50%) scale(1.2) rotate(10deg);
	}
	100% {
		transform: translate(-50%, -50%) scale(1) rotate(0deg);
		opacity: 1;
	}
}

@keyframes pulse {
	0%,
	100% {
		transform: translate(-50%, -50%) scale(1);
	}
	50% {
		transform: translate(-50%, -50%) scale(1.05);
	}
}

/* AI Widget Styles */
.ai-widget {
	position: fixed;
	bottom: 60px;
	left: 20px;
	width: 300px;
	background-color: #f1f1f1;
	border: 2px solid black;
	border-radius: 10px;
	font-family: "Open Sans", sans-serif;
	z-index: 10000;
	box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
	transition: all 0.3s ease;
}

.ai-widget.minimized {
	height: 50px;
	overflow: hidden;
}

.ai-header {
	background-color: #4caf50;
	color: white;
	padding: 10px;
	border-radius: 8px 8px 0 0;
	display: flex;
	justify-content: space-between;
	align-items: center;
	font-weight: bold;
}

.ai-minimize {
	background: none;
	border: none;
	color: white;
	font-size: 16px;
	cursor: pointer;
	padding: 2px 8px;
	border-radius: 3px;
}

.ai-minimize:hover {
	background-color: rgba(255, 255, 255, 0.2);
}

.ai-chat {
	height: 150px;
	overflow-y: auto;
	padding: 10px;
	background-color: white;
	border-bottom: 1px solid #ccc;
}

.ai-message {
	margin: 5px 0;
	padding: 8px;
	background-color: #e8f5e8;
	border-radius: 8px;
	font-size: 12px;
}

.user-message {
	margin: 5px 0;
	padding: 8px;
	background-color: #e3f2fd;
	border-radius: 8px;
	font-size: 12px;
	text-align: right;
}

.ai-input-container {
	display: flex;
	padding: 10px;
	gap: 5px;
}

.ai-input-container input {
	flex: 1;
	padding: 8px;
	border: 1px solid #ccc;
	border-radius: 5px;
	font-size: 12px;
}

.ai-input-container button {
	padding: 8px 12px;
	background-color: #4caf50;
	color: white;
	border: none;
	border-radius: 5px;
	cursor: pointer;
	font-size: 12px;
}

.ai-input-container button:hover {
	background-color: #45a049;
}

.mega-notification {
	position: fixed;
	top: 50%;
	left: 50%;
	transform: translate(-50%, -50%);
	background: linear-gradient(45deg, #4caf50, #8bc34a);
	color: white;
	padding: 20px 30px;
	border-radius: 15px;
	border: 3px solid #333;
	font-family: "Open Sans", sans-serif;
	font-weight: bold;
	font-size: 16px;
	z-index: 10004;
	animation: megaBounce 0.8s ease-out, megaPulse 1.5s ease-in-out 0.8s 3;
	box-shadow: 0 8px 25px rgba(0, 0, 0, 0.4);
	text-align: center;
}

@keyframes megaBounce {
	0% {
		transform: translate(-50%, -50%) scale(0) rotate(-360deg);
		opacity: 0;
	}
	50% {
		transform: translate(-50%, -50%) scale(1.3) rotate(10deg);
	}
	100% {
		transform: translate(-50%, -50%) scale(1) rotate(0deg);
		opacity: 1;
	}
}

@keyframes megaPulse {
	0%,
	100% {
		transform: translate(-50%, -50%) scale(1);
	}
	50% {
		transform: translate(-50%, -50%) scale(1.1);
		box-shadow: 0 12px 30px rgba(76, 175, 80, 0.6);
	}
}

.bomb-timer {
	font-size: 30px;
	font-weight: bold;
	color: #cc0000;
	text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
	display: block;
	margin: 10px 0;
}
