.content-section {
	margin-top: 0rem;
	background: linear-gradient(0deg,rgba(15, 15, 26, 1) 0%, rgba(15, 15, 26, 1) 94%, rgba(15, 15, 26, 0) 100%);
	padding-top: 3rem;
	padding-bottom: 0.4rem;
	z-index: 98;
	display: flex;
	justify-content: center;
	align-items: flex-start;
	gap: 60px;
	width: 100%;
}

.posts-box,
.activity-box,
.leaderboard-box {
	width: 35rem;
	min-height: 330px;
	background: #0b0b1a;
	border: 2px outset #303040;
	border-radius: 20px;
	padding: 20px;
	box-sizing: border-box;
	height: 340px;
}

.leaderboard-box {
	text-align: center;
	transition: opacity 0.5s ease;
}

.leaderboard-box h3 {
	font-size: 1.5rem;
	padding-bottom: 0.3rem;
}

.leaderboard-box .leaderboard-style {
	font-size: 1.2rem;
	font-weight: bold;
}

.places-board {
	background: transparent;
	margin: 30px 20px 0px 20px;
	display: flex;
	justify-content: center;
	align-items: flex-end;
	gap: 60px;
}

.playername {
	white-space: nowrap;
	width: max-content;
	max-width: none;
	text-align: center;
	padding-bottom: 0.3rem;
	font-weight: bold;
}

.first-place .money, .second-place .money, .third-place .money {
	font-size: 0.85rem;
}

.first-place,
.second-place,
.third-place {
	display: flex;
	flex-direction: column;
	align-items: center;
	width: 120px;
}

.first-pedestal-box {
	margin-top: 0.5rem;
	padding-top: 0.75rem;
	font-size: 1.3rem;
	font-weight: bold;
	background: linear-gradient(180deg,rgba(131, 0, 161, 1) 0%, rgba(54, 0, 79, 1) 89%);
	height: 15vh;
	max-width: 120px;
	min-width: 120px;
	border-radius: 10px;
}

.second-pedestal-box {
	margin-top: 0.5rem;
	padding-top: 0.75rem;
	font-size: 1.3rem;
	font-weight: bold;
	background: linear-gradient(180deg,rgba(131, 0, 161, 1) 0%, rgba(54, 0, 79, 1) 89%);
	height: 10vh;
	max-width: 120px;
	min-width: 120px;
	border-radius: 10px;
}

.third-pedestal-box {
	margin-top: 0.5rem;
	padding-top: 0.75rem;
	font-size: 1.3rem;
	font-weight: bold;
	background: linear-gradient(180deg,rgba(131, 0, 161, 1) 0%, rgba(54, 0, 79, 1) 89%);
	height: 5vh;
	max-width: 120px;
	min-width: 120px;
	border-radius: 10px;
}

/* ----NEW DESIGN-----
first-pedestal-box {
	margin-top: 0.5rem;
	padding-top: 0.75rem;
	font-size: 1.3rem;
	font-weight: bold;
	background: linear-gradient(180deg, #FFD700, #FFC107);
	height: 15vh;
	max-width: 120px;
	min-width: 120px;
	border-radius: 10px;
}

.second-pedestal-box {
	 margin-top: 0.5rem;
	 padding-top: 0.75rem;
	 font-size: 1.3rem;
	 font-weight: bold;
	 background: linear-gradient(180deg, #C0C0C0, #A9A9A9);
	 height: 10vh;
	 max-width: 120px;
	 min-width: 120px;
	 border-radius: 10px;
 }

 .third-pedestal-box {
	 margin-top: 0.5rem;
	 padding-top: 0.75rem;
	 font-size: 1.3rem;
	 font-weight: bold;
	 background: linear-gradient(180deg, #CD7F32, #8B4513);
	 height: 5vh;
	 max-width: 120px;
	 min-width: 120px;
	 border-radius: 10px;
 }

*/

/* ----CHART---- */

.activity-box {
	height: 340px;
}

.activity-box h3 {
	text-align: center;
	color: white;
	font-size: 1.5rem;
	margin-bottom: 0.3rem;
}

.chart-container {
	position: relative;
	height: 250px;
	width: 100%;
}

.chart-container canvas {
	max-height: 100%;
}

.dropdown-container {
	text-align: center;
}

.chart-dropdown {
	background: #262A3D;
	border: 2px solid #464B61;
	color: white;
	font-weight: bold;
	font-size: 0.9rem;
	border-radius: 12px;
	padding: 5px 5px 5px 5px;
	text-align: center;
}

.posts-box {
	padding: 0;
	overflow: hidden;
}

.posts-header {
	padding: 10px 25px;
	border-bottom: 2px solid #303040;
}

.posts-header h3 {
	margin: 0;
	color: white;
}

.posts-list {
	max-height: 220px;
	overflow-y: auto;
	padding: 15px;
}

.posts-list::-webkit-scrollbar {
	width: 6px;
}

.posts-list::-webkit-scrollbar-track {
	background: #151525;
}

.posts-list::-webkit-scrollbar-thumb {
	background: #303040;
	border-radius: 3px;
}

.post-item {
	display: flex;
	gap: 15px;
	padding: 12px;
	background: #121220;
	border-radius: 10px;
	cursor: pointer;
	transition: all 0.2s ease;
	margin-bottom: 10px;
}

.post-item:hover {
	background: #1a1a2e;
	transform: translateX(5px);
}

.post-image {
	flex-shrink: 0;
	width: 60px;
	height: 60px;
}

.post-image img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	border-radius: 8px;
	image-rendering: pixelated;
}

.post-content {
	flex-grow: 1;
	overflow: hidden;
}

.post-meta {
	display: flex;
	gap: 10px;
	font-size: 0.75rem;
	margin-bottom: 5px;
}

.post-type {
	color: #9900bb;
	font-weight: bold;
}

.post-date {
	color: #888;
}

.post-title {
	margin: 0 0 5px 0;
	font-size: 1rem;
	color: white;
	white-space: nowrap;
	overflow: hidden;
	text-overflow: ellipsis;
}

.post-short {
	margin: 0;
	font-size: 0.85rem;
	color: #aaa;
	display: -webkit-box;
	-webkit-line-clamp: 2;
	-webkit-box-orient: vertical;
	overflow: hidden;
}

.no-posts {
	color: #666;
	text-align: center;
	padding: 20px;
}

.more-posts-btn {
	width: calc(100% - 40px);
	margin: 15px 20px 20px 20px;
	padding: 10px;
	background: #262a3d;
	border: none;
	color: white;
	font-weight: bold;
	border-radius: 10px;
	cursor: pointer;
	transition: all 0.4s ease;
}

.more-posts-btn:hover {
	background: #303548;
	transform: translateY(-5px);

}

.post-modal {
	display: none;
	position: fixed;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	background: rgba(0, 0, 0, 0.8);
	z-index: 1000;
	justify-content: center;
	align-items: center;
}

.post-modal-content {
	background: #0b0b1a;
	border: 2px solid #303040;
	border-radius: 20px;
	max-width: 600px;
	min-width: 600px;
	max-height: 80vh;
	overflow-y: auto;
	position: relative;
	box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
}

.modal-close {
	position: absolute;
	top: 15px;
	right: 15px;
	background: #262a3d;
	border: none;
	color: white;
	font-size: 1.5rem;
	width: 40px;
	height: 40px;
	border-radius: 50%;
	cursor: pointer;
	transition: all 0.2s ease;
}

.modal-close:hover {
	background: #8300a1;
}

.modal-post-image {
	width: 100%;
	height: 200px;
	overflow: hidden;
}

.modal-post-image img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	image-rendering: pixelated;
}

.modal-post-header {
	padding: 20px 25px;
	border-bottom: 2px solid #303040;
}

.modal-post-meta {
	display: flex;
	gap: 15px;
	font-size: 0.85rem;
	margin-bottom: 10px;
}

.modal-post-type {
	color: #8300a1;
	font-weight: bold;
}

.modal-post-date {
	color: #888;
}

.modal-post-header h2 {
	margin: 0;
	color: white;
	font-size: 1.5rem;
}

.modal-post-long-text {
	padding: 25px;
	color: #ddd;
	line-height: 1.6;
}

.modal-post-long-text p {
	margin: 0;
}

.all-posts-modal {
	display: none;
	position: fixed;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	background: rgba(0, 0, 0, 0.85);
	z-index: 1001;
	justify-content: center;
	align-items: center;
}

.all-posts-modal-content {
	background: #0b0b1a;
	border: 2px solid #303040;
	border-radius: 20px;
	width: 90%;
	max-width: 700px;
	max-height: 85vh;
	overflow-y: auto;
	position: relative;
	box-shadow: 0 10px 40px rgba(0, 0, 0, 0.7);
	padding: 25px;
}

.modal-close-all {
	position: absolute;
	top: 15px;
	right: 15px;
	background: #262a3d;
	border: none;
	color: white;
	font-size: 1.5rem;
	width: 40px;
	height: 40px;
	border-radius: 50%;
	cursor: pointer;
	transition: all 0.2s ease;
	z-index: 10;
}

.modal-close-all:hover {
	background: #8300a1;
}

.all-posts-modal-content h2 {
	margin: 0 0 25px 0;
	color: white;
	text-align: center;
	padding-right: 40px;
}

.all-posts-list {
	max-height: 60vh;
	overflow-y: auto;
}

.all-posts-list::-webkit-scrollbar {
	width: 6px;
}

.all-posts-list::-webkit-scrollbar-track {
	background: #151525;
}

.all-posts-list::-webkit-scrollbar-thumb {
	background: #303040;
	border-radius: 3px;
}

.all-post-item {
	display: flex;
	gap: 15px;
	padding: 15px;
	background: #121220;
	border-radius: 12px;
	cursor: pointer;
	transition: all 0.3s ease;
	margin-bottom: 12px;
	border: 1px solid #262a3d;
}

.all-post-item:hover {
	background: #1a1a2e;
}

.all-post-image {
	flex-shrink: 0;
	width: 70px;
	height: 70px;
}

.all-post-image img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	border-radius: 10px;
	image-rendering: pixelated;
}

.all-post-content {
	flex-grow: 1;
	overflow: hidden;
}

.all-post-meta {
	display: flex;
	gap: 12px;
	font-size: 0.8rem;
	margin-bottom: 8px;
	flex-wrap: wrap;
}

.all-post-type {
	color: #8300a1;
	font-weight: bold;
}

.all-post-date {
	color: #888;
}

.all-post-title {
	margin: 0 0 6px 0;
	font-size: 1.1rem;
	color: white;
	white-space: nowrap;
	overflow: hidden;
	text-overflow: ellipsis;
}

.all-post-short {
	margin: 0;
	font-size: 0.9rem;
	color: #aaa;
	display: -webkit-box;
	-webkit-line-clamp: 2;
	-webkit-box-orient: vertical;
	overflow: hidden;
}

.no-posts-modal {
	color: #666;
	text-align: center;
	padding: 30px;
	font-size: 1rem;
}

.post-image-upload {
	margin-top: 15px;
}

.upload-area {
	display: flex;
	gap: 15px;
	align-items: center;
	margin-bottom: 15px;
}

.upload-btn {
	background: #262a3d;
	border: 2px solid #464b61;
	color: white;
	padding: 10px 20px;
	border-radius: 10px;
	cursor: pointer;
	font-weight: bold;
	transition: all 0.2s ease;
}

.upload-btn:hover {
	background: #303548;
	border-color: #8300a1;
}

.file-name {
	color: #aaa;
	font-size: 0.9rem;
}

.post-image-preview {
	text-align: center;
	margin-top: 15px;
}

.post-image-preview p {
	color: #888;
	margin-bottom: 10px;
}

#postImagePreview {
width: 150px;
height: 150px;
object-fit: cover;
border-radius: 12px;
border: 2px solid #303040;
}

.posts-list::-webkit-scrollbar,
.all-posts-list::-webkit-scrollbar {
	width: 6px;
}

.posts-list::-webkit-scrollbar-track,
.all-posts-list::-webkit-scrollbar-track {
	background: #151525;
}

.posts-list::-webkit-scrollbar-thumb,
.all-posts-list::-webkit-scrollbar-thumb {
	background: #303040;
	border-radius: 3px;
}
