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

body {
	font-family: 'Courier New', monospace;
	background: linear-gradient(135deg, #1a1a2e 0%, #16213e 100%);
	color: #fff;
	padding: 20px;
	min-height: 100vh;
}

.container {
	max-width: 1400px;
	margin: 0 auto;
}

h1 {
	text-align: center;
	color: #ff6b6b;
	text-shadow: 3px 3px 0px #c44569;
	margin-bottom: 30px;
	font-size: 2.5em;
}

.config-section {
	background: rgba(255, 255, 255, 0.1);
	padding: 30px;
	border-radius: 15px;
	margin-bottom: 20px;
	-webkit-backdrop-filter: blur(10px);
	backdrop-filter: blur(10px);
	border: 2px solid #ff6b6b;
}

.config-section h2 {
	color: #4ecdc4;
	margin-bottom: 20px;
	font-size: 1.5em;
}

.form-group {
	margin-bottom: 20px;
}

label {
	display: block;
	margin-bottom: 8px;
	color: #ddd;
	font-weight: bold;
}

input[type="number"],
input[type="text"],
select {
	width: 100%;
	padding: 12px;
	background: rgba(0, 0, 0, 0.3);
	border: 2px solid #4ecdc4;
	border-radius: 8px;
	color: #fff;
	font-size: 16px;
	font-family: 'Courier New', monospace;
}

input[type="number"]:focus,
input[type="text"]:focus,
select:focus {
	outline: none;
	border-color: #ff6b6b;
	box-shadow: 0 0 10px rgba(255, 107, 107, 0.5);
}

.button-group {
	display: flex;
	gap: 15px;
	flex-wrap: wrap;
}

button {
	flex: 1;
	min-width: 150px;
	padding: 15px 30px;
	font-size: 18px;
	font-weight: bold;
	border: none;
	border-radius: 10px;
	cursor: pointer;
	font-family: 'Courier New', monospace;
	text-transform: uppercase;
	transition: all 0.3s ease;
	box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
}

.btn-start {
	background: linear-gradient(135deg, #56ab2f 0%, #a8e063 100%);
	color: #1a1a2e;
}

.btn-start:hover {
	transform: translateY(-3px);
	box-shadow: 0 8px 20px rgba(86, 171, 47, 0.4);
}

.btn-next {
	background: linear-gradient(135deg, #f093fb 0%, #f5576c 100%);
	color: white;
}

.btn-next:hover {
	transform: translateY(-3px);
	box-shadow: 0 8px 20px rgba(245, 87, 108, 0.4);
}

.btn-winner {
	background: linear-gradient(135deg, #fa709a 0%, #fee140 100%);
	color: #1a1a2e;
}

.btn-winner:hover {
	transform: translateY(-3px);
	box-shadow: 0 8px 20px rgba(250, 112, 154, 0.4);
}

.btn-reset {
	background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
	color: white;
}

.btn-reset:hover {
	transform: translateY(-3px);
	box-shadow: 0 8px 20px rgba(102, 126, 234, 0.4);
}

.btn-add {
	background: linear-gradient(135deg, #4ecdc4 0%, #44a08d 100%);
	color: white;
	min-width: auto;
	padding: 10px 20px;
	font-size: 14px;
}

.btn-add:hover {
	transform: translateY(-2px);
}

.btn-remove {
	background: linear-gradient(135deg, #ff6b6b 0%, #c44569 100%);
	color: white;
	min-width: auto;
	padding: 8px 15px;
	font-size: 12px;
}

button:disabled {
	opacity: 0.5;
	cursor: not-allowed;
	transform: none !important;
}

.status-section {
	background: rgba(78, 205, 196, 0.1);
	padding: 20px;
	border-radius: 15px;
	border: 2px solid #4ecdc4;
}

.status-item {
	padding: 10px;
	margin: 10px 0;
	background: rgba(0, 0, 0, 0.3);
	border-radius: 8px;
	display: flex;
	justify-content: space-between;
	align-items: center;
}

.status-label {
	color: #4ecdc4;
	font-weight: bold;
}

.status-value {
	color: #ff6b6b;
	font-size: 1.2em;
}

.connection-status {
	position: fixed;
	top: 20px;
	right: 20px;
	padding: 10px 20px;
	border-radius: 25px;
	font-weight: bold;
	animation: pulse 2s infinite;
	z-index: 1000;
}

.connected {
	background: #56ab2f;
	color: white;
}

.disconnected {
	background: #ff6b6b;
	color: white;
}

@keyframes pulse {

	0%,
	100% {
		opacity: 1;
	}

	50% {
		opacity: 0.7;
	}
}

.grid-2 {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 20px;
}

@media (max-width: 768px) {
	.grid-2 {
		grid-template-columns: 1fr;
	}

	.button-group {
		flex-direction: column;
	}

	button {
		min-width: 100%;
	}
}

.current-battle {
	background: rgba(255, 107, 107, 0.2);
	padding: 20px;
	border-radius: 15px;
	margin-top: 20px;
	border: 3px solid #ff6b6b;
	text-align: center;
}

.current-battle h3 {
	color: #fee140;
	margin-bottom: 15px;
}

.battle-numbers {
	display: flex;
	justify-content: space-around;
	align-items: center;
	margin: 20px 0;
}

.battle-number {
	font-size: 4em;
	font-weight: bold;
	color: #4ecdc4;
	text-shadow: 3px 3px 0px #1a5f5a;
}

.vs-text {
	font-size: 2em;
	color: #ff6b6b;
	font-weight: bold;
}

.current-game {
	margin-top: 15px;
	padding: 15px;
	background: rgba(78, 205, 196, 0.2);
	border-radius: 10px;
	border: 2px solid #4ecdc4;
}

.current-game-name {
	font-size: 1.8em;
	color: #fee140;
	font-weight: bold;
}

.current-game-rounds {
	font-size: 1.2em;
	color: #4ecdc4;
	margin-top: 5px;
}

/* Games Configuration */
.games-list {
	margin-top: 20px;
}

.game-item {
	display: flex;
	gap: 15px;
	align-items: center;
	margin-bottom: 15px;
	padding: 15px;
	background: rgba(0, 0, 0, 0.3);
	border-radius: 10px;
	border: 2px solid #4ecdc4;
}

.game-item input[type="text"] {
	flex: 2;
	margin: 0;
}

.game-item input[type="number"] {
	flex: 1;
	margin: 0;
}

.game-item-label {
	color: #ddd;
	min-width: 100px;
	font-size: 14px;
}
