body {
	background: linear-gradient(135deg, #cccccc 0%, #dddddd 100%);
	min-height: 100vh;
	font-family: 'Noto Sans KR', sans-serif;
	margin: 0;
}

.main-container {
	background: white;
	border-radius: 20px;
	box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
	padding: 30px;
	margin: 0 auto;
	width: 80%;
	max-width: 1200px;
}

@media (max-width: 768px) {
	.main-container {
		width: 95%;
	}
}

h1 {
	text-align: center;
	color: #333;
	margin-bottom: 30px;
	font-weight: 700;
}

.preset-buttons {
	display: grid;
	grid-template-columns: repeat(4, 1fr);
	gap: 10px;
	margin-bottom: 30px;
}

@media (max-width: 576px) {
	.preset-buttons {
		grid-template-columns: repeat(3, 1fr);
	}
}

.preset-btn {
	padding: 10px 8px;
	border: 2px solid #e0e0e0;
	background: white;
	border-radius: 12px;
	cursor: pointer;
	transition: all 0.3s ease;
	text-align: center;
	font-weight: 500;
	color: #666;
}

.preset-btn:hover {
	border-color: #667eea;
	background: #f8f9ff;
	color: #667eea;
	transform: translateY(-2px);
	box-shadow: 0 5px 15px rgba(102, 126, 234, 0.2);
}

.timer-section {
	text-align: center;
	margin: 30px 0;
}

.circular-timer {
	position: relative;
	width: 250px;
	height: 250px;
	margin: 0 auto 20px;
}

@media (max-width: 576px) {
	.circular-timer {
		width: 200px;
		height: 200px;
	}
}

.timer-circle {
	width: 100%;
	height: 100%;
	border-radius: 50%;
	position: relative;
	background: conic-gradient(from 0deg, #667eea 0%, #667eea var(--progress, 0%), #e0e0e0 var(--progress, 0%), #e0e0e0 100%);
	display: flex;
	align-items: center;
	justify-content: center;
}

.timer-circle::before {
	content: '';
	position: absolute;
	width: 85%;
	height: 85%;
	background: white;
	border-radius: 50%;
	top: 50%;
	left: 50%;
	transform: translate(-50%, -50%);
}

.timer-display {
	position: relative;
	z-index: 10;
	font-size: 24px !important;
	font-weight: 700;
	color: #333;
	font-family: 'Courier New', monospace;
}

.custom-time {
	display: flex;
	justify-content: center;
	gap: 10px;
	margin: 20px 0;
	flex-wrap: wrap;
}

.time-input {
	width: 60px;
	padding: 8px;
	border: 2px solid #e0e0e0;
	border-radius: 8px;
	text-align: center;
	font-weight: 500;
}

.time-input:focus {
	border-color: #667eea;
	outline: none;
	box-shadow: 0 0 0 3px rgba(102, 126, 234, 0.1);
}

.time-label {
	display: flex;
	align-items: center;
	color: #666;
	font-weight: 500;
}

.control-buttons {
	display: flex;
	justify-content: center;
	gap: 15px;
	margin-top: 30px;
	flex-wrap: wrap;
}

.control-btn {
	padding: 12px 24px;
	border: none;
	border-radius: 25px;
	font-weight: 600;
	cursor: pointer;
	transition: all 0.3s ease;
	min-width: 80px;
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 8px;
}

.btn-start {
	background: linear-gradient(45deg, #28a745, #20c997);
	color: white;
}

.btn-start:hover {
	background: linear-gradient(45deg, #218838, #1ba085);
	transform: translateY(-2px);
	box-shadow: 0 5px 15px rgba(40, 167, 69, 0.3);
}

.btn-stop {
	background: linear-gradient(45deg, #dc3545, #fd7e14);
	color: white;
}

.btn-stop:hover {
	background: linear-gradient(45deg, #c82333, #e66100);
	transform: translateY(-2px);
	box-shadow: 0 5px 15px rgba(220, 53, 69, 0.3);
}

.btn-reset {
	background: linear-gradient(45deg, #6c757d, #495057);
	color: white;
}

.btn-reset:hover {
	background: linear-gradient(45deg, #5a6268, #343a40);
	transform: translateY(-2px);
	box-shadow: 0 5px 15px rgba(108, 117, 125, 0.3);
}

.goal-text {
	text-align: center;
	color: #888;
	margin: 20px 0;
	font-style: italic;
}

.current-goal {
	background: linear-gradient(45deg, #667eea, #764ba2);
	color: white;
	padding: 8px 16px;
	border-radius: 20px;
	display: inline-block;
	margin-top: 10px;
	font-weight: 600;
}

@media (max-width: 576px) {
	.control-buttons {
		flex-direction: column;
		align-items: center;
	}

	.control-btn {
		width: 100%;
		max-width: 200px;
	}
}