:root {
	--coil-color: #5c4637;
	--coil-burned: #c0b8b0;
	--flame-color: #ff6600;
	--gray-dark: #485460;
	--gray: #808e9b;
	--gray-light: #d2dae2;
	--dark: #1e272e;
	--shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
	--shadow-lg: 0 5px 15px rgba(0, 0, 0, 0.1);
	--radius: 16px;
}
* {
	margin: 0;
	padding: 0;
	box-sizing: border-box;
}
body {
	font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
	background-color: #f7f7f7;
	color: var(--dark);
	padding: 20px;
	line-height: 1.6;
}
.container {
	max-width: 500px;
	margin: 0 auto;
}
.header {
	text-align: center;
	margin-bottom: 30px;
}
.header h1 {
	font-size: 28px;
	margin-bottom: 6px;
	font-weight: 600;
}
.header p {
	font-size: 16px;
	color: var(--gray);
}
.card {
	background-color: white;
	border-radius: var(--radius);
	box-shadow: var(--shadow-lg);
	margin-bottom: 24px;
	padding: 24px;
	transition: all 0.3s ease;
}
.mosquito-coil-container {
	position: relative;
	width: 280px;
	height: 280px;
	margin: 0 auto;
	margin-bottom: 24px;
	border-radius: 50%;
	display: flex;
	align-items: center;
	justify-content: center;
}
#mosquito-coil {
	display: block;
	margin: 0 auto;
}
.smoke-container {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	pointer-events: none;
	overflow: hidden;
}
.smoke-particle {
	position: absolute;
	width: 10px;
	height: 10px;
	background-color: rgba(160, 160, 160, 0.25);
	border-radius: 50%;
	filter: blur(4px);
	opacity: 0;
	animation: smokeRise 3s ease-out forwards;
}
.time-display {
	text-align: center;
	margin-bottom: 20px;
}
.time-left {
	font-size: 48px;
	font-weight: 700;
	color: var(--coil-color);
	margin-bottom: 8px;
}
.time-status {
	font-size: 16px;
	color: var(--gray);
}
.stats-container {
	display: flex;
	justify-content: space-between;
	margin-bottom: 15px;
	padding: 10px 15px;
	background-color: #f5f5f5;
	border-radius: 8px;
}
.stat-box {
	text-align: center;
}
.stat-value {
	font-size: 24px;
	font-weight: bold;
	color: var(--coil-color);
}
.stat-label {
	font-size: 12px;
	color: var(--gray);
}
.controls {
	display: flex;
	gap: 16px;
	margin-bottom: 16px;
}
.btn {
	flex: 1;
	padding: 12px;
	border-radius: 8px;
	border: none;
	font-size: 16px;
	font-weight: 500;
	cursor: pointer;
	transition: all 0.2s ease;
}
.btn-primary {
	background-color: var(--flame-color);
	color: white;
}
.btn-primary:hover {
	background-color: #e65c00;
	transform: translateY(-2px);
	box-shadow: 0 4px 12px rgba(255, 102, 0, 0.3);
}
.btn-secondary {
	background-color: white;
	color: var(--gray-dark);
	border: 1px solid var(--gray-light);
}
.btn-secondary:hover {
	background-color: var(--gray-light);
	transform: translateY(-2px);
}
.btn:disabled {
	opacity: 0.5;
	cursor: not-allowed;
	transform: none;
	box-shadow: none;
}
.settings-row {
	display: flex;
	justify-content: space-between;
	align-items: center;
	margin-bottom: 12px;
}
.setting-label {
	font-weight: 500;
	color: var(--gray-dark);
}
.time-selector {
	padding: 8px 12px;
	border: 1px solid var(--gray-light);
	border-radius: 6px;
	font-size: 14px;
	background-color: white;
}
.hint {
	text-align: center;
	font-size: 14px;
	color: var(--gray);
	margin-top: 16px;
}
@keyframes smokeRise {
	0% {
		transform: translateY(0) translateX(0);
		opacity: 0;
	}
	10% {
		opacity: 0.6;
	}
	100% {
		transform: translateY(-150px) translateX(40px);
		opacity: 0;
	}
}
@media (max-width: 480px) {
	body {
		padding: 15px;
	}
	.card {
		padding: 20px;
	}
	.time-left {
		font-size: 36px;
	}
	.mosquito-coil-container {
		width: 240px;
		height: 240px;
	}
	#mosquito-coil {
		width: 220px;
		height: 220px;
	}
}
