body {
	font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
	background: #1a1a1a;
	color: #eee;
	text-align: center;
	display: flex;
	justify-content: center;
	align-items: center;
	min-height: 100vh;
	margin: 0;
}

.box {
	background: #252525;
	padding: 40px;
	border-radius: 12px;
	border: 1px solid #d38d17;
	box-shadow: 0 10px 25px rgba(0, 0, 0, 0.5);
	width: 90%;
	max-width: 450px;
}

h1 {
	color: #d38d17;
	margin: 0 0 20px;
	text-transform: uppercase;
	letter-spacing: 2px;
	font-size: 1.5em;
}

.status-bar {
	margin-bottom: 20px;
	font-weight: bold;
	font-size: 1.1em;
}

.status-dot {
	height: 12px;
	width: 12px;
	background-color: #555;
	border-radius: 50%;
	display: inline-block;
	margin-right: 8px;
}

.online {
	background-color: #4cd137;
	box-shadow: 0 0 10px #4cd137;
}

.offline {
	background-color: #c62828;
}

.count-large {
	font-size: 5em;
	font-weight: bold;
	margin: 0;
	line-height: 1;
	color: #fff;
	text-shadow: 0 0 10px rgba(255, 255, 255, 0.1);
}

.label {
	color: #888;
	text-transform: uppercase;
	font-size: 0.8em;
	margin-bottom: 25px;
	letter-spacing: 1px;
}

.player-list {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	gap: 10px;
	margin-top: 20px;
	border-top: 1px solid #333;
	padding-top: 20px;
}

.player-badge {
	background: #333;
	border-radius: 4px;
	padding: 6px 12px;
	display: flex;
	align-items: center;
	border-left: 3px solid #555;
	font-size: 0.9em;
	box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
}

.player-color {
	width: 12px;
	height: 12px;
	border-radius: 2px;
	margin-right: 10px;
	box-shadow: 0 0 2px rgba(0, 0, 0, 0.5);
}

.debug-error {
	margin-top: 20px;
	color: #ff6b6b;
	background: rgba(0, 0, 0, 0.2);
	padding: 10px;
	border-radius: 5px;
	font-family: monospace;
	font-size: 0.85em;
	text-align: left;
	display: none;
}

.menu-list {
    display: flex;
    flex-direction: column;
    gap: 15px; /* Space between buttons */
    margin-top: 30px;
}

.btn {
    display: block;
    background-color: #333;
    color: #eee;
    text-decoration: none;
    padding: 15px 20px;
    border-radius: 6px;
    border-left: 5px solid #555; /* Gray accent default */
    transition: all 0.2s ease;
    font-weight: bold;
    text-transform: uppercase;
    letter-spacing: 1px;
    box-shadow: 0 4px 6px rgba(0,0,0,0.2);
}

.btn:hover {
    background-color: #444;
    transform: translateX(5px); /* Slide effect on hover */
    box-shadow: 0 6px 12px rgba(0,0,0,0.4);
}

.btn-primary {
    border-left-color: #d38d17; /* Factorio Orange */
    background: linear-gradient(90deg, #333 0%, #3a2c1d 100%);
}

.btn-primary:hover {
    border-left-color: #ffaa2b;
}

.btn-secondary {
    border-left-color: #2e7d32;
}

.btn-green {
    margin-top: 20px;
    background: linear-gradient(90deg, #1e5c20 0%, #2e7d32 100%);
    border-left: 5px solid #4cd137;
    color: white;
    text-align: center;
    font-size: 1.1em;
    cursor: pointer;
}

.btn-green:hover {
    background: #2e7d32;
    transform: scale(1.02); /* Slight grow effect */
    box-shadow: 0 0 15px rgba(76, 209, 55, 0.4);
}

.subtitle {
    color: #888;
    margin-bottom: 20px;
    font-size: 0.9em;
}