* {
	margin: 0;
	padding: 0;
	box-sizing: border-box;
	font-family: "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
}

body,
html {
	height: 100%;
	background-color: #121212;
	color: #f5f5f5;
	display: flex;
	justify-content: center;
	align-items: center;
}

.button-status-message {
	font-size: 0.75rem;
	font-weight: normal;
	margin-top: 5px;
	color: #444;
	text-align: center;
	white-space: normal;
}

.main-wrapper {
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 30px;
}

.title {
	font-size: 3rem;
	font-weight: 900;
	color: #ff3b30;
	text-shadow: 0 2px 6px rgba(0, 0, 0, 0.6);
	letter-spacing: 1px;
}

.game-container {
	background: #1e1e1e;
	padding: 40px;
	border-radius: 20px;
	box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 30px;
}

.game-box {
	width: 600px;
	height: 450px;
	border: 2px solid #333;
	border-radius: 12px;
	display: flex;
	justify-content: center;
	align-items: center;
	font-size: 1.8rem;
	font-weight: bold;
	color: #fafafa;
	box-shadow: inset 0 0 12px rgba(0, 0, 0, 0.4);
	background: linear-gradient(to top, #3b7a57 0%, #8fd3f4 100%);
}

.button-row {
	display: flex;
	justify-content: center;
	gap: 20px;
	flex-wrap: wrap;
}

.square-button {
	min-width: 120px;
	height: 100px;
	padding: 0 10px;
	border: none;
	border-radius: 12px;
	background: #2e2e2e;
	box-shadow: 0 4px 12px rgba(0, 0, 0, 0.5);
	font-size: 1.1rem;
	font-weight: bold;
	color: #fafafa;
	cursor: pointer;
	transition: all 0.3s ease;
	display: flex;
	justify-content: center;
	align-items: center;
	white-space: nowrap;
	text-align: center;
}

.square-button:hover {
	background: #404040;
	transform: translateY(-4px);
}

.clickable {
	background: #ffd700;
	color: #222;
	flex-direction: column;
}

.clickable:hover {
	background: #ffc400;
}

.icon-container {
	display: flex;
	flex-direction: column;
	align-items: center;
}

.tv-icon {
	width: 36px;
	height: 36px;
	margin-bottom: 5px;
}

.watch-label {
	font-size: 1rem;
	font-weight: 600;
}

/* DISABLED STATE VISUALIZATION */
.square-button:disabled {
	opacity: 0.5;
	cursor: not-allowed;
	filter: grayscale(60%);
}

/* Pulse animation when enabled */
@keyframes pulse {
	0% {
		transform: scale(1);
	}
	50% {
		transform: scale(1.05);
	}
	100% {
		transform: scale(1);
	}
}

.pulsing {
	animation: pulse 1s infinite;
}
