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

body {
	font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
	background: linear-gradient(135deg, #0a1929 0%, #1a2942 50%, #0d2847 100%);
	color: #e0e7ff;
	line-height: 1.6;
	min-height: 100vh;
}

.container {
	max-width: 1200px;
	margin: 0 auto;
	padding: 20px;
}

header {
	background: rgba(13, 40, 71, 0.8);
	backdrop-filter: blur(10px);
	padding: 30px 0;
	margin-bottom: 40px;
	border-bottom: 2px solid #2563eb;
	box-shadow: 0 4px 20px rgba(37, 99, 235, 0.3);
}

h1 {
	color: #60a5fa;
	text-align: center;
	font-size: 2.5em;
	text-shadow: 0 0 20px rgba(96, 165, 250, 0.5);
}

.subtitle {
	text-align: center;
	color: #93c5fd;
	margin-top: 10px;
	font-size: 1.1em;
}

.section {
	background: rgba(26, 41, 66, 0.6);
	backdrop-filter: blur(5px);
	padding: 30px;
	margin-bottom: 30px;
	border-radius: 15px;
	border: 1px solid rgba(37, 99, 235, 0.3);
	box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
	transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.section:hover {
	transform: translateY(-5px);
	box-shadow: 0 12px 40px rgba(37, 99, 235, 0.4);
}

h2 {
	color: #60a5fa;
	margin-bottom: 20px;
	font-size: 1.8em;
	border-bottom: 2px solid #2563eb;
	padding-bottom: 10px;
}

h3 {
	color: #93c5fd;
	margin: 20px 0 10px;
	font-size: 1.3em;
}

.risk-groups {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
	gap: 20px;
	margin-top: 20px;
}

.risk-card {
	background: rgba(30, 58, 138, 0.4);
	padding: 20px;
	border-radius: 10px;
	border-left: 4px solid #3b82f6;
	transition: all 0.3s ease;
}

.risk-card:hover {
	background: rgba(30, 58, 138, 0.6);
	border-left-color: #60a5fa;
	transform: translateX(5px);
}

.risk-card h4 {
	color: #60a5fa;
	margin-bottom: 15px;
	font-size: 1.2em;
}

.risk-card ul {
	list-style: none;
	padding-left: 0;
}

.risk-card li {
	padding: 8px 0;
	padding-left: 20px;
	position: relative;
	color: #cbd5e1;
	font-size: 0.95em;
}

.risk-card li:before {
	content: '▸';
	position: absolute;
	left: 0;
	color: #3b82f6;
}

.linguistic-vars {
	display: flex;
	justify-content: space-around;
	flex-wrap: wrap;
	gap: 15px;
	margin: 20px 0;
}

.var-badge {
	background: linear-gradient(135deg, #1e3a8a 0%, #1e40af 100%);
	padding: 12px 24px;
	border-radius: 25px;
	border: 2px solid #3b82f6;
	font-weight: bold;
	color: #e0e7ff;
	box-shadow: 0 4px 15px rgba(37, 99, 235, 0.3);
	transition: all 0.3s ease;
}

.var-badge:hover {
	transform: scale(1.05);
	box-shadow: 0 6px 20px rgba(37, 99, 235, 0.5);
}

.formula {
	background: rgba(15, 23, 42, 0.8);
	padding: 20px;
	border-radius: 10px;
	margin: 20px 0;
	border-left: 4px solid #2563eb;
	font-family: 'Courier New', monospace;
	color: #bfdbfe;
	overflow-x: auto;
}

.assessment-levels {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
	gap: 15px;
	margin: 20px 0;
}

.level-card {
	background: linear-gradient(
		135deg,
		rgba(30, 58, 138, 0.5) 0%,
		rgba(30, 64, 175, 0.5) 100%
	);
	padding: 15px;
	border-radius: 10px;
	text-align: center;
	border: 2px solid #3b82f6;
	transition: all 0.3s ease;
}

.level-card:hover {
	transform: translateY(-3px);
	box-shadow: 0 8px 25px rgba(37, 99, 235, 0.4);
}

.level-name {
	font-weight: bold;
	color: #60a5fa;
	margin-bottom: 5px;
	font-size: 1.1em;
}

.level-range {
	color: #93c5fd;
	font-size: 0.9em;
}

.calculator {
	background: rgba(15, 23, 42, 0.6);
	padding: 25px;
	border-radius: 15px;
	border: 2px solid #2563eb;
	margin-top: 30px;
}

.input-group {
	margin: 15px 0;
}

label {
	display: block;
	color: #93c5fd;
	margin-bottom: 8px;
	font-weight: 500;
}

select,
input[type='number'] {
	width: 100%;
	padding: 12px;
	background: rgba(30, 58, 138, 0.5);
	border: 1px solid #3b82f6;
	border-radius: 8px;
	color: #e0e7ff;
	font-size: 1em;
}

select:focus,
input[type='number']:focus {
	outline: none;
	border-color: #60a5fa;
	box-shadow: 0 0 10px rgba(96, 165, 250, 0.3);
}

button {
	background: linear-gradient(135deg, #2563eb 0%, #1d4ed8 100%);
	color: white;
	padding: 14px 30px;
	border: none;
	border-radius: 8px;
	cursor: pointer;
	font-size: 1.1em;
	font-weight: bold;
	margin-top: 20px;
	width: 100%;
	transition: all 0.3s ease;
	box-shadow: 0 4px 15px rgba(37, 99, 235, 0.4);
}

button:hover {
	background: linear-gradient(135deg, #1d4ed8 0%, #1e40af 100%);
	transform: translateY(-2px);
	box-shadow: 0 6px 20px rgba(37, 99, 235, 0.6);
}

.result {
	background: rgba(30, 58, 138, 0.4);
	padding: 20px;
	border-radius: 10px;
	margin-top: 20px;
	border-left: 4px solid #10b981;
	display: none;
}

.result.show {
	display: block;
	animation: slideIn 0.5s ease;
}

@keyframes slideIn {
	from {
		opacity: 0;
		transform: translateY(-20px);
	}
	to {
		opacity: 1;
		transform: translateY(0);
	}
}

.result-value {
	font-size: 2em;
	color: #60a5fa;
	font-weight: bold;
	text-align: center;
	margin: 15px 0;
}

.result-description {
	color: #93c5fd;
	text-align: center;
	font-size: 1.1em;
}

@media (max-width: 768px) {
	h1 {
		font-size: 1.8em;
	}

	.section {
		padding: 20px;
	}

	.risk-groups {
		grid-template-columns: 1fr;
	}
}
