/* assets/styles.css - Modern Dark Theme with Dynamic Font Sizing */

/* Main Statistics Block */
.stats-block {
	background: #000000;
	padding: 4rem 2rem;
	margin: 0;
	width: 100%;
}

/* Container for centering content */
.stats-container {
	max-width: 1400px;
	margin: 0 auto;
	padding: 0 1rem;
}

/* Stats Header Layout */
.stats-header {
	display: flex;
	justify-content: space-between;
	align-items: flex-start;
	gap: 2rem;
	margin-bottom: 2rem;
	flex-wrap: wrap;
}

.stats-title-wrapper {
	flex: 2;
}

.stats-title {
	font-size: clamp(1.75rem, 4vw, 2.5rem);
	font-weight: 700;
	color: #b22929;
	margin: 0 0 0.25rem 0;
	line-height: 1.2;
	letter-spacing: -0.02em;
}

.stats-description-wrapper {
	flex: 1;
	text-align: left;
}

.stats-description {
	font-size: clamp(0.875rem, 1.5vw, 1rem);
	color: #a0a0a0;
	margin: 0;
	line-height: 1.5;
	max-width: 400px;
}

/* Stats Grid */
.stats-grid {
	display: grid;
	gap: 1.5rem;
	margin-top: 1.5rem;
}

/* Base Stat Card */
.stat-card {
	background: rgba(255, 255, 255, 0.05);
	backdrop-filter: blur(10px);
	border-radius: 16px;
	padding: 1.5rem 1rem;
	text-align: center;
	transition: all 0.3s ease;
	border: 1px solid rgba(255, 255, 255, 0.1);
	cursor: default;
}

.stat-card:hover {
	transform: translateY(-5px) scale(1.02);
	background: rgba(255, 255, 255, 0.08);
	border-color: rgba(255, 255, 255, 0.3);
	box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
}

/* Stat Value Wrapper */
.stat-value-wrapper {
	font-weight: 700;
	color: #ffffff;
	margin-bottom: 0.5rem;
	display: flex;
	align-items: baseline;
	justify-content: center;
	gap: 0.25rem;
	flex-wrap: wrap;
}

/* Stat Prefix */
.stat-prefix {
	font-weight: 600;
	color: #ffffff;
}

/* DYNAMIC STAT NUMBER FONT SIZING */
/* Base size for all stat numbers */
.stat-prefix,.stat-number {
	font-weight: 800;
	letter-spacing: -0.02em;
	line-height: 1.1;
}

/* Desktop - Based on column count */
.stats-grid[data-columns="2"] .stat-prefix,
.stats-grid[data-columns="2"] .stat-number {
	font-size: clamp(2.5rem, 8vw, 5rem);
}

.stats-grid[data-columns="3"] .stat-prefix,
.stats-grid[data-columns="3"] .stat-number {
	font-size: clamp(2rem, 6vw, 4rem);
}

.stats-grid[data-columns="4"] .stat-prefix,
.stats-grid[data-columns="4"] .stat-number {
	font-size: clamp(1.75rem, 5vw, 3rem);
}

.stats-grid[data-columns="5"] .stat-prefix,
.stats-grid[data-columns="5"] .stat-number {
	font-size: clamp(1.5rem, 4vw, 2.5rem);
}

.stats-grid[data-columns="6"] .stat-prefix,
.stats-grid[data-columns="6"] .stat-number {
	font-size: clamp(1.25rem, 3.5vw, 2rem);
}

/* Stat Label */
.stat-label {
	font-size: clamp(0.75rem, 1.5vw, 0.875rem);
	color: #a0a0a0;
	text-transform: uppercase;
	letter-spacing: 0.05em;
	font-weight: 500;
	margin-top: 0.25rem;
}

/* Tablet Responsive */
@media (max-width: 768px) {
	.stats-block {
		padding: 3rem 1.5rem;
	}
	
	.stats-header {
		flex-direction: column;
		text-align: center;
		gap: 0.75rem;
		margin-bottom: 1.5rem;
	}
	
	.stats-description-wrapper {
		text-align: center;
	}
	
	.stats-description {
		max-width: 100%;
	}
	
	/* Force 2 columns on tablet */
	.stats-grid {
		grid-template-columns: repeat(2, 1fr) !important;
		gap: 1rem;
	}
	
	.stat-card {
		padding: 1.25rem 0.75rem;
	}
	
	/* Tablet font sizes */
	.stat-prefix, .stat-number {
		font-size: clamp(1.75rem, 5vw, 3rem) !important;
	}
	
	.stat-label {
		font-size: 0.75rem;
	}
}

/* Mobile Responsive */
@media (max-width: 480px) {
	.stats-block {
		padding: 2rem 1rem;
	}
	
	.stats-title {
		font-size: 1.5rem;
	}
	
	/* Force 1 column on mobile */
	.stats-grid {
		grid-template-columns: 1fr !important;
		gap: 0.875rem;
	}
	
	.stat-card {
		padding: 1rem 0.75rem;
	}
	
	/* Mobile font sizes */
	.stat-prefix, .stat-number {
		font-size: clamp(1.5rem, 8vw, 2.5rem) !important;
	}
	
	.stat-value-wrapper {
		margin-bottom: 0.25rem;
	}
	
	.stat-label {
		font-size: 0.7rem;
		margin-top: 0;
	}
}

/* Large Desktop (1400px+) */
@media (min-width: 1400px) {
	.stats-container {
		max-width: 1600px;
	}
	
	.stats-grid[data-columns="2"] .stat-prefix,
	.stats-grid[data-columns="2"] .stat-number {
		font-size: 5.5rem;
	}
	
	.stats-grid[data-columns="3"] .stat-prefix,
	.stats-grid[data-columns="3"] .stat-number {
		font-size: 4.5rem;
	}
	
	.stats-grid[data-columns="4"] .stat-prefix,
	.stats-grid[data-columns="4"] .stat-number {
		font-size: 3.5rem;
	}
	
	.stats-grid[data-columns="5"] .stat-prefix,
	.stats-grid[data-columns="5"] .stat-number {
		font-size: 2.75rem;
	}
	
	.stat-card {
		padding: 2rem 1rem;
	}
}

/* All Categories Page (Stats Page) */
.stats-all-categories {
	background: #000000;
	padding: 2rem;
}

.stats-category-block {
	margin-bottom: 3rem;
	padding-bottom: 2rem;
	border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.stats-category-block:last-child {
	border-bottom: none;
	margin-bottom: 0;
	padding-bottom: 0;
}

.stats-category-title {
	font-size: clamp(1.5rem, 3vw, 2rem);
	font-weight: 700;
	color: #ffffff;
	margin-bottom: 0.5rem;
}

.stats-category-description {
	font-size: 0.9375rem;
	color: #a0a0a0;
	margin-bottom: 1.5rem;
}

/* Empty State */
.stats-empty {
	text-align: center;
	padding: 3rem;
	color: #a0a0a0;
	background: rgba(255, 255, 255, 0.05);
	border-radius: 16px;
}