/* Center the card in the middle of the page */
body {
	margin: 0;
	background-color: #1a252f;
	font-family: "Oxanium", sans-serif;
    justify-content: center;
    background: url('../../data/misc/bg.webp') no-repeat center center fixed;
    background-size: cover;
    background-color: #1a252f;
}

a {
	text-decoration: none;
	color: inherit;
}

.site-banner {
	display: flex;
	justify-content: center;
	align-items: center;
	gap: 16px;
	padding: 16px;
	width: 100%;
	box-sizing: border-box;
}

.site-logo {
	height: 80px; /* adjust to your logo size */
	max-width: 80%;
	object-fit: contain;
}

.site-title {
	font-size: 2rem;
	font-weight: bold;
	color: white;
	margin-top: 8px;
    text-align: center;
}

@media (max-width: 600px) {
    .site-title {
        font-size: 1.5rem;
    }
}

.scroll-wrapper {
	scrollbar-width: none;
	-ms-overflow-style: none;
	overflow-y: scroll;
}

.scroll-wrapper::-webkit-scrollbar {
	display: none; /* Hide scrollbar for Chrome, Safari and Opera */
}

.card-container {
	display: flex;
	flex-direction: column;
	gap: 16px;
	width: 100%;
	max-width: 70vh;
    margin: 0 auto;
}

/* Card layout */
.card {
	display: grid;
	grid-template-columns: 100px 1fr;
	grid-template-rows: auto auto;
	gap: 10px;
    margin: 0 16px;
	padding: 16px;
	border-radius: 12px;
	background-color: #2c3e50;
	color: white;
	width: minmax(60vh, 1fr);
}

.dlc-card {
	position: relative;
}

.card-dlc-ribbon {
	position: absolute;
	top: 0;
	right: 12px;
	background-color: #2ecc71; /* green */
	color: white;
	font-weight: bold;
	font-size: 1rem;
	padding: 8px 18px;
	border-bottom-left-radius: 8px;
	border-bottom-right-radius: 8px;
}

@media (max-width: 600px) {
    .card-dlc-ribbon {
		position: absolute;
		top: 0;
		right: 12px;
		background-color: #2ecc71; /* green */
		color: white;
		font-weight: bold;
		font-size: 1rem;
		padding: 4px 12px;
		border-bottom-left-radius: 8px;
		border-bottom-right-radius: 8px;
	}
}

.card-image {
	display: flex;
	align-items: center;
}

/* Image column */
.card-image img {
	width: 100px;
	height: 100px;
	object-fit: cover;
	border-radius: 8px;
	grid-row: span 2;
}

@media (max-width: 600px) {
	.card-image img {
		width: 80px;
		height: 80px;
	}
}

/* Text column */
.card-text {
	display: flex;
	flex-direction: column;
	justify-content: center; /* vertical center */
	align-items: center; /* horizontal center */
	text-align: center;
}

.card-title {
	font-size: 1.5rem;
	overflow-wrap: break-word;
	font-weight: bold;
}

@media (max-width: 600px) {
	.card-title {
		font-size: 1.25rem;
	}
}

.card-subtitle {
	font-size: 1rem;
	color: #bdc3c7;
	margin-top: 4px;
}

@media (max-width: 600px) {
	.card-subtitle {
		font-size: 0.8rem;
	}
}

/* Bottom stat row */
.card-difficulty {
	display: grid;
	grid-template-columns: repeat(4, 1fr);
	gap: 8px;
	grid-column: 1 / -1; /* span both columns */
	margin-top: 8px;
}

.difficulty {
	background: #34495e;
	padding: 8px;
	border-radius: 6px;
	text-align: center;
	font-size: 1.25rem;
	font-weight: bolder;
	white-space: nowrap;
}

@media (max-width: 600px) {
	.difficulty {
		font-size: 1rem;
	}
}

.difficulty:nth-child(1) {
	background-color: #00adb0;
}

.difficulty:nth-child(2) {
	background-color: #3687e2;
}

.difficulty:nth-child(3) {
	background-color: #e62b72;
}

.difficulty:nth-child(4) {
	background-color: #853dd6;
}


