body {
	background: radial-gradient(circle at top left, #1a1a2e, #16213e, #0f3460);
	min-height: 100vh;
	color: white;
	font-family: 'Inter', sans-serif;
}

.glass {
    transition: all 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
	border: 1px solid rgba(255, 255, 255, 0.1);
	box-shadow: 0 15px 30px rgba(0, 0, 0, 0.3);
    will-change: transform;
}

.glass:hover {
    background: rgba(255, 255, 255, 0.1);
    transform: scale(0.97) translateY(-3px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.3);
    border-color: rgba(255, 255, 255, 0.4);
}

/* logos anim */
.animated-name {
	background: linear-gradient(
		to right, 
		#ffffff 20%, 
		#22d3ee 40%, 
		#3b82f6 60%, 
		#ffffff 80%
	);
	background-size: 200% auto;
	-webkit-background-clip: text;
	background-clip: text;
	-webkit-text-fill-color: transparent;
	animation: shine 10s linear infinite;
}

@keyframes shine {
	0% {
		background-position: 200% center;
	}
	100% {
		background-position: -200% center;
	}
}			

/*  OLX DATA */
.chart-wrapper {
	position: relative;
	height: 400px; 
	width: 100%;
	background: rgba(255, 255, 255, 0.02);
	padding: 20px;
	border-radius: 15px;
}
h2 {
	color: #2c3e50;
	margin-bottom: 30px;
	text-align: center;
}

/* Stats */
.stats-main {
	width: 90%;
	max-width: 1600px;
	background: white;
	padding: 30px;
	border-radius: 12px;
	box-shadow: 0 4px 15px rgba(0,0,0,0.05);
	margin: 40px auto; 
}
.live-stats-container {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	gap: 15px;
	margin-bottom: 30px;
	padding: 20px;
	background: #fdfdfd;
	border-radius: 10px;
	border: 1px solid #f0f0f0;
}
.stat-card { text-align: center; min-width: 130px; }
.stat-card .label {
	display: block;
	font-size: 10px;
	color: #888;
	text-transform: uppercase;
	letter-spacing: 0.5px;
	margin-bottom: 5px;
}
.stat-card .value {
	display: block;
	font-size: 16px;
	font-weight: bold;
	color: #2c3e50;
}
.divider { width: 1px; background: #eee; height: 35px; align-self: center; }		
.top_stat { 
	display: block;
	text-align: center; 
	color: #444; 
	font-weight: 600; 
	margin-bottom: 20px; 
	width: 100%;
}
.bottom_stat { text-align: center; color: #444; font-weight: 100; margin-bottom: 20px; font-size: small; }

/* for stats.php */
@media (max-width: 768px) {
	/* Rozciągnięcie głównego kontenera statystyk */
	.stats-main {
		width: 100vw !important; /* Szerokość całego ekranu */
		max-width: 100vw !important;
		margin-left: calc(-50vw + 50%); /* Centrowanie po wyjściu z kontenera */
		margin-right: calc(-50vw + 50%);
		border-radius: 0; /* Opcjonalnie: usuń zaokrąglenia na telefonie */
		padding: 15px 10px; /* Mniejszy padding, żeby tekst nie dotykał krawędzi */
	}

	/* Dostosowanie kart statystyk, aby mieściły się obok siebie lub lepiej wypełniały wiersz */
	.live-stats-container {
		padding: 10px;
		gap: 10px;
	}

	.stat-card {
		min-width: calc(50% - 10px); /* Dwie karty w jednym rzędzie */
		flex-grow: 1;
	}

	.divider {
		display: none; /* Ukrywamy pionowe kreski na telefonie dla lepszego układu */
	}
}