@font-face {
	font-family: "DeadrayMojangles";
	src: url("/assets/fonts/Mojangles.woff2") format("woff2");
	font-display: swap;
}

@font-face {
	font-family: "DeadrayOreBold";
	src: url("/assets/fonts/OreBold.woff2") format("woff2");
	font-display: swap;
}

:root {
	--bg: #111218;
	--bg-overlay: rgba(10, 10, 14, 0.72);

	--panel: rgba(40, 40, 44, 0.9);
	--panel-deep: rgba(28, 28, 32, 0.94);

	--outer-border: #151515;
	--inner-border: #66686d;
	--inner-border-soft: #8d8f94;

	--divider-dark: #17181b;
	--divider-light: #4f5157;

	--text: #f3f3f3;
	--muted: #c9c9c9;
	--dim: #9a9ca3;

	--surface-light: #d9d9dd;
	--surface-mid: #b7b8bd;
	--surface-dark: #8e9097;
	--surface-text: #191919;

	--green-top: #63bb34;
	--green-mid: #4a9825;
	--green-bottom: #2e6615;
	--green-border: #17320d;

	--button-top: #efeff1;
	--button-mid: #d4d5d9;
	--button-bottom: #b3b5bc;
	--button-border: #2b2c2f;

	--title-font: 'Minecraft', sans-serif;
	--body-font: 'Minecraft', sans-serif;
}

* {
	box-sizing: border-box;
}

html,
body {
	margin: 0;
	min-height: 100%;
	background: var(--bg);
	color: var(--text);
}

body {
	font-family: var(--body-font);
	overflow-x: hidden;
	position: relative;

	-webkit-font-smoothing: none;
	font-smooth: never;
	text-rendering: optimizeSpeed;

	display: flex;
	flex-direction: column;
	min-height: 100vh;
}

/* Background */
.background {
	position: fixed;
	inset: 0;
	background:
		url("/assets/bg.gif") center center / cover no-repeat,
		linear-gradient(to bottom, #1a1b22, #0d0e13);
	z-index: 0;
}

.background-overlay {
	position: fixed;
	inset: 0;
	z-index: 1;
	background:
		linear-gradient(to bottom, rgba(12, 13, 18, 0.45), rgba(8, 8, 10, 0.78)),
		rgba(0, 0, 0, 0.22);
}

.page {
	position: relative;
	z-index: 2;

	flex: 1;

	display: flex;
	justify-content: center;
	align-items: flex-start;
	/* 🔥 THIS is the key change */

	padding: 32px 16px 8px;
	/* slightly tighter bottom */
}

.panel {
	width: min(100%, 700px);

	background: #2c2d31;

	border: 3px solid #141414;

	box-shadow:
		inset 0 0 0 1px #6e7178,
		/* inner light frame */
		inset 0 -2px 0 #1a1b1f,
		/* bottom inner shadow */
		0 6px 0 #0b0b0d,
		/* outer drop */
		0 10px 20px rgba(0, 0, 0, 0.4);

	padding: 24px;
}

.eyebrow {
	margin: 0 0 8px;
	color: var(--dim);
	font-size: 0.8rem;
	letter-spacing: 0.12em;
	text-transform: uppercase;
}

h1 {
	margin: 0;
	font-family: var(--title-font);
	font-size: clamp(2.2rem, 7vw, 4.2rem);
	line-height: 1;
	text-transform: uppercase;
	letter-spacing: 0.08em;
	color: #ffffff;
	text-shadow:
		2px 2px 0 rgba(0, 0, 0, 0.4);
}

h2 {
	margin: 0 0 10px;
	font-family: var(--title-font);
	font-size: 1rem;
	line-height: 1.1;
	text-transform: uppercase;
	letter-spacing: 0.08em;
	color: #ffffff;
}

p {
	margin: 0;
	font-size: 0.96rem;
	line-height: 1.6;
	color: var(--muted);
}

.divider {
	height: 2px;
	margin: 18px 0;

	background:
		linear-gradient(to bottom,
			#0f1013 0,
			#0f1013 50%,
			#5a5d64 50%,
			#5a5d64 100%);
}

.content-block {
	background: #2a2b2f;

	border: 2px solid #1a1b1f;

	box-shadow:
		inset 0 0 0 1px #5f626a,
		inset 0 -2px 0 #1a1b1f;

	padding: 14px;
}

.info-list {
	display: grid;
	gap: 10px;
}

.info-row {
	display: flex;
	justify-content: space-between;
	align-items: center;

	min-height: 54px;
	padding: 12px;

	background: #3a3c42;

	border: 2px solid #1b1c20;

	box-shadow:
		inset 0 1px 0 #8b8e96,
		/* top highlight */
		inset 0 -2px 0 #2a2c30;
	/* bottom shadow */
}

.label {
	color: #ffffff;
	font-size: 0.9rem;
	text-transform: uppercase;
	letter-spacing: 0.08em;
}

.value {
	color: #f2f2f2;
	font-size: 0.92rem;
	text-align: right;
	word-break: break-word;
}

/* Buttons */
.actions {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 12px;
}

.ore-button {
	display: inline-flex;
	align-items: center;
	justify-content: center;

	user-select: none;
	-webkit-user-select: none;

	min-height: 62px;
	padding: 0 16px;

	font-family: var(--title-font);
	font-size: 0.95rem;
	letter-spacing: 0.05em;
	text-transform: uppercase;

	color: #1a1a1a;

	background: #cfd1d6;

	border: 2px solid #2a2b2f;

	box-shadow:
		inset 0 1px 0 #ffffff,
		/* top light */
		inset 0 -3px 0 #9a9ca3,
		/* bottom depth */
		0 3px 0 #0f1013;
	/* outer drop */

	transition: transform 0.05s ease, box-shadow 0.05s ease;
}

.ore-button:hover {
	filter: brightness(1.05);
}

.ore-button:active {
	transform: translateY(2px);

	box-shadow:
		inset 0 1px 0 rgba(255, 255, 255, 0.7),
		inset 0 -1px 0 rgba(0, 0, 0, 0.2),
		0 1px 0 #0f1013;
}

.ore-button-green {
	color: #ffffff;

	background: #5fbf2f;

	border: 2px solid #1f3d12;

	box-shadow:
		inset 0 1px 0 #a6ea7a,
		inset 0 -3px 0 #3a7f1e,
		0 3px 0 #0f1013;
}

.ore-button-green:hover {
	filter: brightness(1.03);
}

.ore-button-green:active {
	box-shadow:
		inset 0 0 0 1px #7fd84a,
		inset 0 -1px 0 rgba(0, 0, 0, 0.16),
		0 1px 0 rgba(0, 0, 0, 0.2);
}

.ore-button,
.ore-button:link,
.ore-button:visited,
.ore-button:hover,
.ore-button:active {
	text-decoration: none;
}

.footer {
	position: relative;
	z-index: 2;
	flex-shrink: 0;
	margin-top: 12px;
	padding: 0 16px 20px;
	text-align: center;
	color: #d7d8dd;
	font-family: var(--body-font);
	font-size: 0.85rem;
	line-height: 1.4;
	letter-spacing: 0.03em;
	text-shadow: 1px 1px 0 rgba(0, 0, 0, 0.35);
}

/* Mobile */
@media (max-width: 720px) {
	.page {
		padding: 18px 10px 10px;
	}

	.panel {
		padding: 16px;
	}

	.actions {
		grid-template-columns: 1fr;
	}

	.info-row {
		flex-direction: column;
		align-items: flex-start;
	}

	.value {
		text-align: left;
	}
}