/* ========== FONTS ========== */
@font-face {
	font-family: "PressStart2P";
	src: url("fonts/PressStart2P-Regular.ttf") format("truetype");
}
@font-face {
	font-family: "RobotoBlack";
	src: url("fonts/Roboto-Black.ttf") format("truetype");
}

/* RESET */
* {
	margin: 0;
	padding: 0;
	box-sizing: border-box;
}
button:focus {
	outline: none;
}
button:disabled {
	opacity: 0.6;
	pointer-events: none;
	user-select: none;
}

/* BODY BACKGROUND */
body {
	background: #000;
	font-family: "RobotoBlack", sans-serif;
	color: #eee;
	overflow-x: hidden;
	overflow-y: auto;
}

hr {
	margin:  10px;
}

/* .main-content => center everything nicely */
.main-content {
	max-width: 1100px;
	margin: 0 auto;
	padding: 20px;
    display: flex;
    flex-direction: column;
}

/* TOP NAV / SOCIALS */
.header-socials-top {
	background: #333;
	padding: 10px 0;
	text-align: center;
}
.socials-container {
	display: inline-flex;
	gap: 10px;
	justify-content: center;
	align-items: center;
}
.icon-circle {
	background: #555;
	border: 2px solid #222;
	border-radius: 50%;
	padding: 8px;
	text-align: center;
	transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.icon-circle:hover {
	transform: scale(1.1);
	box-shadow: 0 0 8px rgba(0,255,0,0.6);
}
.nav-icon {
	width: 28px;
	height: 28px;
	display: block;
}

/* HEADER => Title */
.header {
	background: #444;
	text-align: center;
	padding: 15px 0;
	box-shadow: 0 0 8px rgba(0,0,0,0.6);
}
.title-box {
	display: inline-block;
	border: 2px solid #222;
	background: rgba(17,17,17,0.7);
	border-radius: 4px;
	padding: 8px 15px;
	box-shadow: 0 0 4px rgba(0,0,0,0.5);
}
.main-title {
	font-family: "PressStart2P", sans-serif;
	font-size: 2em;
	color: #fff;
	text-shadow: 0 0 6px rgba(255,179,71,0.6);
	margin-bottom: 5px;
}
.subtitle {
	font-family: "RobotoBlack", sans-serif;
	font-size: 1em;
	color: #ccc;
}

/* CONTRACT SECTION */
.contract-section {
	background: rgba(17,17,17,0.7);
	border-radius: 5px;
	padding: 15px;
	text-align: center;
	box-shadow: 0 0 8px rgba(0,0,0,0.5);
	margin-bottom: 20px;
}
.contract-header {
	font-family: "PressStart2P", sans-serif;
	font-size: 1.2em;
	color: #ffb347;
	text-shadow: 0 0 4px rgba(255,179,71,0.5);
	margin-bottom: 10px;
}
.contract-line {
	display: inline-flex;
	flex-wrap: nowrap;
	gap: 8px;
	margin-top: 10px;
	justify-content: center;
	max-width: 100%;
}
#contractPlaceholder {
	font-family: "PressStart2P", sans-serif;
	font-size: 0.95rem;
	background: #333;
	padding: 4px 8px;
	border-radius: 4px;
	border: 1px solid #444;
	word-break: normal;
	white-space: nowrap;
	overflow: hidden;
	text-overflow: ellipsis;
	display: inline-block;
	max-width: 100%;
}
#copyContractBtn {
	font-family: "PressStart2P", sans-serif;
	font-size: 0.8rem;
	background: #444;
	color: #fff;
	border: none;
	border-radius: 4px;
	padding: 6px 12px;
	cursor: pointer;
}
#copyContractBtn:hover {
	background: #666;
}

/* GAME FRAME */
.game-frame {
	position: relative;
	width: 360px;
	height: 640px;
	margin: 20px auto;
    border: 2px solid #444;
    border-radius: 5px;
    background: rgba(17, 17, 17, 0.8);
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.6);
}

/* Pumpfun/Telegram section */
.pumpfun-section {
	background: rgba(17,17,17,0.7);
	border-radius: 5px;
	padding: 15px;
	text-align: center;
	box-shadow: 0 0 10px rgba(0,0,0,0.6);
	margin-bottom: 20px;
}
.pumpfun-section h2 {
	font-family: "PressStart2P", sans-serif;
	font-size: 1.2em;
	color: #ffb347;
	margin-bottom: 10px;
}
.pumpfun-wrapper {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	align-items: center;
	gap: 30px;
	max-width: 600px;
	margin: 0 auto;
}
.pumpfun-item {
	width: 180px;
	margin: 10px auto;
	background: #222;
	border-radius: 5px;
	padding: 10px;
	box-shadow: 0 0 6px rgba(0,0,0,0.6);
	transition: transform 0.2s;
	text-align: center;
}
.pumpfun-item:hover {
	transform: scale(1.03);
}
.pumpfun-item p {
	margin-top: 8px;
	font-size: 0.85em;
	color: #ccc;
	line-height: 1.3em;
	font-family: "RobotoBlack", sans-serif;
}
.pumpfun-circle {
	background: #555; 
	display: inline-flex;
	align-items: center;
	justify-content: center;
}
.pumpfun-circle .nav-icon {
	width: 24px;
	height: 24px;
}

/* Assets, multiplier, leaderboards => same style */
.assets-section, .multiplier-section, .leaderboard-section, .fent-counter-section {
	background: rgba(17,17,17,0.7);
	border-radius: 5px;
	padding: 15px;
	text-align: center;
	box-shadow: 0 0 10px rgba(0,0,0,0.6);
	margin-bottom: 20px;
}
.assets-section h2, .multiplier-section h2, .leaderboard-section h2, .fent-counter-section h2 {
	font-family: "PressStart2P", sans-serif;
	font-size: 1.2em;
	color: #ffb347;
	margin-bottom: 10px;
}
.assets-wrapper {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	gap: 30px;
}
.asset-item {
	display: inline-block;
	width: 180px;
	margin: 10px;
	background: #222;
	border-radius: 5px;
	padding: 10px;
	box-shadow: 0 0 6px rgba(0,0,0,0.6);
	transition: transform 0.2s;
}
.asset-item:hover {
	transform: scale(1.03);
}
.asset-item img {
	width: 100%;
	aspect-ratio: 1/1;
	object-fit: contain;
	image-rendering: pixelated;
	padding: 8px;
	border: 2px solid #444;
	border-radius: 5px;
	margin-bottom: 8px;
}
.asset-item h3 {
	font-family: "PressStart2P", sans-serif;
	font-size: 1rem;
	margin-bottom: 6px;
	color: #ffb347;
	text-shadow: 0 0 4px rgba(255,179,71,0.5);
}
.asset-item p {
	font-size:0.8rem;
	color: #ccc;
	line-height:1.2em;
}

/* Leaderboard form etc. */
.leaderboard-form {
	margin: 10px 0;
}
#playerName {
	width: 200px;
	padding: 5px;
	margin-right: 8px;
	border: 2px solid #444;
	border-radius: 3px;
	font-family: sans-serif;
	font-size: 0.9rem;
}
#shareScoreBtn {
	font-family: "PressStart2P", sans-serif;
	font-size: 0.9rem;
	background: #444;
	color: #fff;
	border: none;
	border-radius: 3px;
	padding: 6px 14px;
	cursor: pointer;
}
#shareScoreBtn:hover {
	background: #666;
}
#leaderboardList {
	list-style: none;
	margin-top: 10px;
	padding-left: 0;
}
#leaderboardList li {
	margin: 5px 0;
	font-size: 0.9rem;
	background: #222;
	display: inline-block;
	padding: 6px 10px;
	border-radius: 4px;
	color: #fff;
	border: 1px solid #444;
	min-width: 150px;
	text-align: left;
}

/* Fent counters => user & global */
.fent-counters {
	display: flex;
	flex-direction: column;
	gap: 20px;
	align-items: center;
	margin-top: 10px;
}
.fent-user, .fent-global {
	display: flex;
	align-items: center;
	gap: 8px;
}
.bottle-icon {
	width: 32px;
	height: 32px;
}
.bottle-stack {
	position: relative;
	width: 32px;
	height: 32px;
}
.stack1 {
	position: absolute;
	top: 0; left: 0;
}
.stack2 {
	position: absolute;
	top: 0; left: 8px;
}
.stack3 {
	position: absolute;
	top: 0; left: 16px;
}

/* FOOTER */
.footer {
	text-align: center;
	background: #222;
	color: #fff;
	padding: 10px;
	border-top: 2px solid #444;
	margin-top: 20px;
}
