* {
	margin: 0;
	padding: 0;
	box-sizing: border-box;
}

body {
	font-family: 'Inter', 'Segoe UI', -apple-system, BlinkMacSystemFont, sans-serif;
	background: linear-gradient(135deg, #667eea 0%, #764ba2 50%, #667eea 100%);
	background-size: 400% 400%;
	animation: gradientShift 15s ease infinite;
	min-height: 100vh;
	padding: 20px;
	position: relative;
	overflow-x: hidden;
}

body::before {
	content: '';
	position: fixed;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	background: 
		radial-gradient(circle at 20% 50%, rgba(120, 119, 198, 0.3) 0%, transparent 50%),
		radial-gradient(circle at 80% 20%, rgba(255, 119, 198, 0.3) 0%, transparent 50%),
		radial-gradient(circle at 40% 80%, rgba(120, 119, 255, 0.3) 0%, transparent 50%);
	pointer-events: none;
	z-index: -1;
}

@keyframes gradientShift {
	0% { background-position: 0% 50%; }
	50% { background-position: 100% 50%; }
	100% { background-position: 0% 50%; }
}

.container {
	max-width: 1000px;
	margin: 0 auto;
	position: relative;
	z-index: 1;
}

.header {
	text-align: center;
	color: white;
	margin-bottom: 40px;
	padding: 40px 30px;
	background: rgba(255, 255, 255, 0.08);
	border-radius: 24px;
	backdrop-filter: blur(20px);
	border: 1px solid rgba(255, 255, 255, 0.18);
	box-shadow: 
		0 8px 32px rgba(0, 0, 0, 0.12),
		inset 0 1px 0 rgba(255, 255, 255, 0.2);
	position: relative;
	overflow: hidden;
}

.header::before {
	content: '';
	position: absolute;
	top: 0;
	left: -100%;
	width: 100%;
	height: 100%;
	background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.1), transparent);
	animation: shimmer 3s infinite;
}

@keyframes shimmer {
	0% { left: -100%; }
	100% { left: 100%; }
}

.header h1 {
	font-size: 3rem;
	margin-bottom: 15px;
	text-shadow: 0 4px 8px rgba(0, 0, 0, 0.3);
	font-weight: 700;
	background: linear-gradient(135deg, #ffffff, #f0f0f0);
	background-clip: text;
	-webkit-background-clip: text;
	position: relative;
}

.header p {
	font-size: 1.2rem;
	opacity: 0.95;
	font-weight: 400;
	letter-spacing: 0.5px;
}

.controls {
	display: flex;
	gap: 20px;
	margin-bottom: 40px;
	flex-wrap: wrap;
	justify-content: center;
	padding: 25px;
	background: rgba(255, 255, 255, 0.06);
	border-radius: 20px;
	backdrop-filter: blur(20px);
	border: 1px solid rgba(255, 255, 255, 0.15);
	box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
}

.btn {
	padding: 14px 28px;
	border: none;
	border-radius: 30px;
	cursor: pointer;
	font-weight: 600;
	transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
	text-decoration: none;
	display: inline-flex;
	align-items: center;
	gap: 10px;
	font-size: 15px;
	position: relative;
	overflow: hidden;
	text-transform: none;
	letter-spacing: 0.3px;
	box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.btn::before {
	content: '';
	position: absolute;
	top: 0;
	left: -100%;
	width: 100%;
	height: 100%;
	background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
	transition: left 0.6s;
}

.btn:hover::before {
	left: 100%;
}

.btn-primary,  {
	background: linear-gradient(135deg, #4CAF50, #66BB6A, #4CAF50);
	background-size: 200% 200%;
	color: white;
	border: 1px solid rgba(255, 255, 255, 0.2);
}

.btn-secondary {
	background: linear-gradient(135deg, #2196F3, #42A5F5, #2196F3);
	background-size: 200% 200%;
	color: white;
	border: 1px solid rgba(255, 255, 255, 0.2);
}

.btn-success {
	background: linear-gradient(135deg, #667eea, #764ba2) !important;
	background-size: 200% 200%;
	color: white;
	border: 1px solid rgba(255, 255, 255, 0.2);
}

.btn:hover {
	transform: translateY(-3px) scale(1.02);
	box-shadow: 0 12px 25px rgba(0, 0, 0, 0.2);
	background-position: right center;
}

.btn:active {
	transform: translateY(-1px) scale(0.98);
}

.quiz-content {
	display: flex;
	flex-direction: column;
	gap: 30px;
}

.question-card {
	background: rgba(255, 255, 255, 0.95);
	border-radius: 24px;
	box-shadow: 
		0 10px 40px rgba(0, 0, 0, 0.08),
		0 2px 8px rgba(0, 0, 0, 0.04);
	overflow: hidden;
	transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
	border: 1px solid rgba(255, 255, 255, 0.2);
	backdrop-filter: blur(10px);
	position: relative;
}

.question-card::before {
	content: '';
	position: absolute;
	top: 0;
	left: 0;
	right: 0;
	height: 4px;
	background: linear-gradient(90deg, #667eea, #764ba2, #667eea);
	background-size: 200% 100%;
	animation: borderGlow 3s linear infinite;
}

@keyframes borderGlow {
	0% { background-position: 0% 50%; }
	100% { background-position: 200% 50%; }
}

.question-card:hover {
	transform: translateY(-8px);
	box-shadow: 
		0 20px 60px rgba(0, 0, 0, 0.15),
		0 8px 16px rgba(0, 0, 0, 0.08);
}

.question-header {
	background: linear-gradient(135deg, #667eea, #764ba2);
	background-size: 200% 200%;
	color: white;
	padding: 28px;
	cursor: pointer;
	display: flex;
	justify-content: space-between;
	align-items: center;
	transition: all 0.4s ease;
	min-height: 80px;
	position: relative;
	overflow: hidden;
}

.question-header::before {
	content: '';
	position: absolute;
	top: 0;
	left: 0;
	right: 0;
	bottom: 0;
	background: linear-gradient(135deg, transparent, rgba(255, 255, 255, 0.1), transparent);
	opacity: 0;
	transition: opacity 0.4s ease;
}

.question-header:hover {
	background-position: right center;
}

.question-header:hover::before {
	opacity: 1;
}

.question-title {
	font-weight: 600;
	font-size: 1.2rem;
	display: flex;
	align-items: center;
	gap: 12px;
	flex: 1;
	min-width: 0;
	text-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
}

.question-date {
	font-size: 0.9rem;
	opacity: 0.9;
	background: rgba(255, 255, 255, 0.15);
	padding: 6px 16px;
	border-radius: 20px;
	white-space: nowrap;
	flex-shrink: 0;
	backdrop-filter: blur(10px);
	border: 1px solid rgba(255, 255, 255, 0.2);
}

.toggle-icon {
	font-size: 1.3rem;
	transition: transform 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
	flex-shrink: 0;
	margin-left: 15px;
}

.question-content {
	padding: 35px;
	display: none;
	animation: slideDown 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.question-content.show {
	display: block;
}

@keyframes slideDown {
	from {
		opacity: 0;
		transform: translateY(-20px);
		filter: blur(5px);
	}
	to {
		opacity: 1;
		transform: translateY(0);
		filter: blur(0);
	}
}

.question-text {
	font-size: 1.15rem;
	line-height: 1.7;
	margin-bottom: 30px;
	color: #2c3e50;
	font-weight: 500;
	letter-spacing: 0.2px;
}

.options {
	list-style: none;
	margin-bottom: 25px;
	display: flex;
	flex-direction: column;
	gap: 15px;
}

.option {
	padding: 20px;
	border: 2px solid #e8f4f8;
	border-radius: 16px;
	transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
	cursor: pointer;
	background: linear-gradient(135deg, #f8f9fa, #ffffff);
	position: relative;
	overflow: hidden;
}

.option::before {
	content: '';
	position: absolute;
	top: 0;
	left: -100%;
	width: 100%;
	height: 100%;
	background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.8), transparent);
	transition: left 0.6s;
}

.option:hover {
	border-color: #667eea;
	background: linear-gradient(135deg, #f0f8ff, #ffffff);
	transform: translateX(8px);
	box-shadow: 0 8px 25px rgba(102, 126, 234, 0.15);
}

.option:hover::before {
	left: 100%;
}

.option.correct {
	border-color: #4CAF50;
	background: linear-gradient(135deg, #e8f5e8, #f1f8e9);
	box-shadow: 0 8px 25px rgba(76, 175, 80, 0.2);
}

.option.incorrect {
	border-color: #f44336;
	background: linear-gradient(135deg, #ffeaea, #ffebee);
	box-shadow: 0 8px 25px rgba(244, 67, 54, 0.2);
}

.option label {
	cursor: pointer;
	display: flex;
	align-items: center;
	gap: 15px;
	font-weight: 500;
	font-size: 1.05rem;
	color: #2c3e50;
	position: relative;
	z-index: 1;
}

.option input[type="radio"] {
	width: 20px;
	height: 20px;
	accent-color: #667eea;
	cursor: pointer;
}

.check-answer-btn {
	background: linear-gradient(135deg, #667eea, #764ba2);
	background-size: 200% 200%;
	color: white;
	border: none;
	padding: 15px 32px;
	border-radius: 30px;
	cursor: pointer;
	font-weight: 600;
	font-size: 15px;
	transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
	margin-bottom: 20px;
	box-shadow: 0 6px 20px rgba(102, 126, 234, 0.3);
	position: relative;
	overflow: hidden;
}

.check-answer-btn::before {
	content: '';
	position: absolute;
	top: 0;
	left: -100%;
	width: 100%;
	height: 100%;
	background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
	transition: left 0.6s;
}

.check-answer-btn:hover:not(:disabled) {
	transform: translateY(-3px) scale(1.02);
	box-shadow: 0 12px 30px rgba(102, 126, 234, 0.4);
	background-position: right center;
}

.check-answer-btn:hover:not(:disabled)::before {
	left: 100%;
}

.check-answer-btn:disabled {
	opacity: 0.6;
	cursor: not-allowed;
	transform: none;
}

.result {
	display: none;
	padding: 25px;
	border-radius: 16px;
	margin-top: 20px;
	animation: resultAppear 0.6s cubic-bezier(0.175, 0.885, 0.32, 1.275);
	position: relative;
	overflow: hidden;
}

.result::before {
	content: '';
	position: absolute;
	top: 0;
	left: -100%;
	width: 100%;
	height: 100%;
	background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
	animation: resultShimmer 2s infinite;
}

@keyframes resultAppear {
	from { 
		opacity: 0; 
		transform: translateY(20px) scale(0.95);
		filter: blur(10px);
	}
	to { 
		opacity: 1; 
		transform: translateY(0) scale(1);
		filter: blur(0);
	}
}

@keyframes resultShimmer {
	0% { left: -100%; }
	50% { left: 100%; }
	100% { left: 100%; }
}

.result.correct {
	background: linear-gradient(135deg, #4CAF50, #66BB6A);
	color: white;
	box-shadow: 0 10px 30px rgba(76, 175, 80, 0.3);
}

.result.incorrect {
	background: linear-gradient(135deg, #f44336, #ef5350);
	color: white;
	box-shadow: 0 10px 30px rgba(244, 67, 54, 0.3);
}

.result-answer {
	font-weight: 600;
	margin-bottom: 12px;
	font-size: 1.15rem;
	position: relative;
	z-index: 1;
}

.result-description {
	font-size: 1rem;
	line-height: 1.6;
	opacity: 0.95;
	position: relative;
	z-index: 1;
}

.stats-bar {
	background: rgba(255, 255, 255, 0.08);
	color: white;
	padding: 25px;
	border-radius: 20px;
	margin-bottom: 30px;
	text-align: center;
	backdrop-filter: blur(20px);
	border: 1px solid rgba(255, 255, 255, 0.15);
	box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
	position: relative;
	overflow: hidden;
}

.stats-bar::before {
	content: '';
	position: absolute;
	top: 0;
	left: -100%;
	width: 100%;
	height: 100%;
	background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.1), transparent);
	animation: statsShimmer 4s infinite;
}

@keyframes statsShimmer {
	0% { left: -100%; }
	25% { left: 100%; }
	100% { left: 100%; }
}

.stats-bar span {
	margin: 0 20px;
	font-weight: 600;
	font-size: 1.1rem;
	position: relative;
	z-index: 1;
}

@media (max-width: 768px) {
	body {
		padding: 15px;
	}
	
	.header h1 {
		font-size: 2.2rem;
	}
	
	.header {
		padding: 30px 20px;
		margin-bottom: 30px;
	}
	
	.controls {
		flex-direction: column;
		align-items: center;
		padding: 20px;
		gap: 15px;
	}
	
	.btn {
		justify-content: center;
		max-width: 280px;
	}
	
	.question-header {
		padding: 20px;
		min-height: 70px;
		gap: 10px;
	}
	
	.question-title {
		font-size: 1.1rem;
		gap: 8px;
	}
	
	.question-date {
		font-size: 0.8rem;
		padding: 4px 12px;
	}
	
	.question-content {
		padding: 25px 20px;
	}
	
	.option {
		padding: 16px;
	}
	
	.option label {
		gap: 12px;
		font-size: 1rem;
	}
	
	.toggle-icon {
		font-size: 1.2rem;
	}
	
	.stats-bar {
		padding: 20px;
	}
	
	.stats-bar span {
		margin: 0 10px;
		font-size: 1rem;
		display: block;
		margin-bottom: 8px;
	}
	
	.stats-bar span:last-child {
		margin-bottom: 0;
	}
}

.date-selector {
	background: #fff;
	border-radius: 10px;
	padding: 20px;
	margin-bottom: 20px;
	box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.date-selector h3 {
	margin: 0 0 15px 0;
	color: #333;
	display: flex;
	align-items: center;
	gap: 10px;
}

.date-options {
	display: flex;
	flex-wrap: wrap;
	gap: 10px;
	align-items: center;
}

.date-btn {
	background: #f8f9fa;
	border: 2px solid #e9ecef;
	padding: 8px 15px;
	border-radius: 20px;
	text-decoration: none;
	color: #333;
	font-size: 14px;
	transition: all 0.3s ease;
	display: flex;
	align-items: center;
	gap: 5px;
}

.date-btn:hover {
	background: #e9ecef;
	transform: translateY(-2px);
}

.date-btn.active {
	background: #007bff;
	color: white;
	border-color: #007bff;
}

.date-btn.all-dates {
	background: #28a745;
	color: white;
	border-color: #28a745;
}

.date-btn.all-dates:hover {
	background: #218838;
}

.load-more-btn {
	background: #6c757d;
	color: white;
	border: 2px solid #6c757d;
	padding: 8px 15px;
	border-radius: 20px;
	cursor: pointer;
	font-size: 14px;
	transition: all 0.3s ease;
	display: flex;
	align-items: center;
	gap: 5px;
}

.load-more-btn:hover {
	background: #5a6268;
	border-color: #5a6268;
	transform: translateY(-2px);
}

.additional-dates {
	display: none;
	flex-wrap: wrap;
	gap: 10px;
	margin-top: 10px;
	padding-top: 10px;
	border-top: 1px solid #e9ecef;
}

.additional-dates.show {
	display: flex;
}

.stats-info {
	background: #e3f2fd;
	border-left: 4px solid #2196f3;
	padding: 15px;
	margin-bottom: 20px;
	border-radius: 5px;
}

.stats-info i {
	color: #2196f3;
	margin-right: 8px;
}

@media (max-width: 768px) {
	.date-options {
		flex-direction: column;
		align-items: stretch;
	}
	
	.date-btn, .load-more-btn {
		justify-content: center;
	}
	
	.additional-dates {
		flex-direction: column;
	}
}

.pagination {
	margin-top: 40px;
	display: flex;
	flex-wrap: wrap;
	gap: 12px;
	align-items: center;
	justify-content: center;
	padding: 30px;
	background: rgba(255, 255, 255, 0.08);
	border-radius: 20px;
	backdrop-filter: blur(20px);
	border: 1px solid rgba(255, 255, 255, 0.15);
	box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
}

.pagination h3 {
	font-size: 1.2rem;
	color: white;
	margin-bottom: 20px;
	width: 100%;
	text-align: center;
	font-weight: 600;
	text-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
}

.pagination .btn {
	padding: 10px 18px;
	font-size: 14px;
	text-decoration: none;
	border-radius: 12px;
	background: rgba(255, 255, 255, 0.1);
	color: white;
	transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
	border: 1px solid rgba(255, 255, 255, 0.2);
	backdrop-filter: blur(10px);
	box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
	position: relative;
	overflow: hidden;
}

.pagination .btn::before {
	content: '';
	position: absolute;
	top: 0;
	left: -100%;
	width: 100%;
	height: 100%;
	background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
	transition: left 0.6s;
}

.pagination .btn:hover {
	background: rgba(255, 255, 255, 0.2);
	transform: translateY(-2px);
	box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
}

.pagination .btn:hover::before {
	left: 100%;
}

.pagination .btn.btn-primary {
	background: linear-gradient(135deg, #667eea, #764ba2);
	border-color: rgba(255, 255, 255, 0.3);
	box-shadow: 0 6px 20px rgba(102, 126, 234, 0.3);
}