:root {
	color-scheme: dark;
	font-family: 'Inter', system-ui, sans-serif;
	--aurora-1: #3b82f6;
	--aurora-2: #10b981;
	--aurora-3: #06b6d4;
	--card-bg: rgba(17, 24, 39, 0.8);
	--text-primary: #f9fafb;
	--text-secondary: #d1d5db;
	--accent: #3b82f6;
}

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

body {
	background: #0f172a;
	min-height: 100vh;
	overflow: hidden;
}

.aurora-container {
	position: relative;
	width: 100vw;
	height: 100vh;
	overflow: hidden;
	display: flex;
	align-items: center;
	justify-content: center;
}

.aurora-blob {
	position: absolute;
	border-radius: 50%;
	filter: blur(80px);
	opacity: 0.6;
	mix-blend-mode: screen;
}

.aurora-blob--1 {
	width: 500px;
	height: 500px;
	background: var(--aurora-1);
	top: -10%;
	right: 20%;
	animation: float1 20s ease-in-out infinite;
}

.aurora-blob--2 {
	width: 600px;
	height: 600px;
	background: var(--aurora-2);
	bottom: -15%;
	left: 10%;
	animation: float2 25s ease-in-out infinite;
}

.aurora-blob--3 {
	width: 450px;
	height: 450px;
	background: var(--aurora-3);
	top: 40%;
	left: 50%;
	animation: float3 22s ease-in-out infinite;
}

@keyframes float1 {
	0%, 100% {
		transform: translate(0, 0) scale(1);
	}

	33% {
		transform: translate(100px, 80px) scale(1.1);
	}

	66% {
		transform: translate(-50px, 120px) scale(0.9);
	}
}

@keyframes float2 {
	0%, 100% {
		transform: translate(0, 0) scale(1);
	}

	33% {
		transform: translate(-120px, -60px) scale(1.15);
	}

	66% {
		transform: translate(80px, -100px) scale(0.95);
	}
}

@keyframes float3 {
	0%, 100% {
		transform: translate(0, 0) scale(1);
	}

	50% {
		transform: translate(-150px, 100px) scale(1.2);
	}
}

.content {
	position: relative;
	z-index: 10;
}

.card {
	background: var(--card-bg);
	backdrop-filter: blur(20px);
	border: 1px solid rgba(255, 255, 255, 0.1);
	border-radius: 32px;
	padding: 48px;
	box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.5),
		0 0 0 1px rgba(255, 255, 255, 0.05) inset,
		0 0 60px rgba(59, 130, 246, 0.15);
	min-width: 420px;
	position: relative;
	overflow: hidden;
}

.card::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%;
	}
}

.card__header {
	text-align: center;
	margin-bottom: 48px;
}

.card__title {
	font-size: 48px;
	font-weight: 700;
	background: linear-gradient(135deg, #ffffff 0%, #3b82f6 100%);
	-webkit-background-clip: text;
	-webkit-text-fill-color: transparent;
	background-clip: text;
	margin-bottom: 8px;
	letter-spacing: -0.02em;
	animation: gradientShift 4s ease infinite;
}

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

	50% {
		background-position: 100% 50%;
	}
}

.card__subtitle {
	font-size: 16px;
	color: var(--text-secondary);
	font-weight: 400;
}

.timer {
	margin-bottom: 32px;
}

.timer__display {
	font-size: 96px;
	font-weight: 700;
	color: var(--text-primary);
	text-align: center;
	margin-bottom: 32px;
	letter-spacing: -0.03em;
	font-variant-numeric: tabular-nums;
	text-shadow: 0 0 40px rgba(59, 130, 246, 0.5),
		0 0 80px rgba(59, 130, 246, 0.3);
	position: relative;
}

.timer__display::after {
	content: attr(data-time);
	position: absolute;
	top: 0;
	left: 0;
	right: 0;
	background: linear-gradient(180deg, rgba(59, 130, 246, 0.8), rgba(16, 185, 129, 0.8));
	-webkit-background-clip: text;
	-webkit-text-fill-color: transparent;
	background-clip: text;
	opacity: 0.3;
	filter: blur(20px);
}

.timer__controls {
	display: flex;
	gap: 16px;
	justify-content: center;
}

.btn {
	display: flex;
	align-items: center;
	gap: 8px;
	padding: 16px 32px;
	border: none;
	border-radius: 16px;
	font-size: 16px;
	font-weight: 600;
	cursor: pointer;
	transition: all 0.2s;
	font-family: inherit;
}

.btn--primary {
	background: linear-gradient(135deg, #3b82f6 0%, #2563eb 100%);
	color: white;
	position: relative;
	overflow: hidden;
}

.btn--primary::before {
	content: '';
	position: absolute;
	top: 50%;
	left: 50%;
	width: 0;
	height: 0;
	border-radius: 50%;
	background: rgba(255, 255, 255, 0.3);
	transform: translate(-50%, -50%);
	transition: width 0.6s, height 0.6s;
}

.btn--primary:active::before {
	width: 300px;
	height: 300px;
}

.btn--primary:hover {
	background: #2563eb;
	transform: translateY(-2px);
	box-shadow: 0 12px 24px -8px rgba(59, 130, 246, 0.5);
}

.btn--secondary {
	background: rgba(255, 255, 255, 0.1);
	color: var(--text-primary);
}

.btn--secondary:hover {
	background: rgba(255, 255, 255, 0.15);
	transform: translateY(-2px);
}

.btn i {
	width: 20px;
	height: 20px;
}

.presets {
	display: flex;
	gap: 12px;
	justify-content: center;
}

.preset {
	padding: 12px 24px;
	background: rgba(255, 255, 255, 0.05);
	border: 1px solid rgba(255, 255, 255, 0.1);
	border-radius: 12px;
	color: var(--text-secondary);
	font-size: 14px;
	font-weight: 500;
	cursor: pointer;
	transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
	font-family: inherit;
	position: relative;
	overflow: hidden;
}

.preset::before {
	content: '';
	position: absolute;
	top: 0;
	left: -100%;
	width: 100%;
	height: 100%;
	background: linear-gradient(90deg, transparent, rgba(59, 130, 246, 0.2), transparent);
	transition: left 0.5s;
}

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

.preset:hover {
	background: rgba(255, 255, 255, 0.1);
	border-color: rgba(255, 255, 255, 0.2);
}

.preset--active {
	background: linear-gradient(135deg, rgba(59, 130, 246, 0.3), rgba(16, 185, 129, 0.2));
	border-color: var(--accent);
	color: var(--text-primary);
	box-shadow: 0 0 20px rgba(59, 130, 246, 0.3);
	transform: scale(1.05);
}