:root {
	--bg-warm: #fff9f5;
	--text-dark: #2c221e;
}

body {
	background-color: var(--bg-warm);
	font-family: 'Fredoka', cursive, sans-serif;
	color: var(--text-dark);
	min-height: 100vh;
	display: flex;
	flex-direction: column;
}

/* Banner nagłówkowy klasy 4 */
.hero-class {
	background: linear-gradient(135deg, #ff9f43 0%, #ff793f 100%);
	color: white;
	border-radius: 24px;
	padding: 2.5rem 1.5rem;
	box-shadow: 0 10px 25px rgba(255, 121, 63, 0.25);
}

/* Karta z materiałem */
.material-card {
	background: #ffffff;
	border-radius: 20px;
	border: 2px solid #f1f2f6;
	transition: all 0.3s ease;
	height: 100%;
	display: flex;
	flex-direction: column;
	overflow: hidden;
	position: relative;
}

.material-card:hover {
	transform: translateY(-5px);
	box-shadow: 0 12px 25px rgba(0, 0, 0, 0.08);
}

/* Pasek wyróżniający typ z lewej strony karty */
.card-type-indicator {
	height: 6px;
	width: 100%;
}

.icon-box {
	width: 50px;
	height: 50px;
	border-radius: 14px;
	display: flex;
	align-items: center;
	justify-content: center;
	font-size: 1.5rem;
}

/* Dedykowane kolory dla fioletu (wideo) */
.bg-purple { background-color: #a55eea !important; color: white !important; }
.btn-outline-purple {
	color: #a55eea;
	border-color: #a55eea;
}
.btn-outline-purple:hover {
	background-color: #a55eea;
	color: white;
}

.btn-back {
	background-color: #ffffff;
	color: #ff793f;
	border: 2px solid #ff793f;
	font-weight: 600;
	border-radius: 50px;
	padding: 0.5rem 1.2rem;
	transition: all 0.2s ease;
}

.btn-back:hover {
	background-color: #ff793f;
	color: #ffffff;
}

footer {
	margin-top: auto;
	background-color: rgba(255, 255, 255, 0.6);
	backdrop-filter: blur(10px);
}