/* Kick Counter - Standalone Page */

.kc-card {
	max-width: 480px;
	margin: -16px auto 24px;
	background: #fff;
	border-radius: 16px;
	box-shadow: 0 4px 20px rgba(61,47,80,0.08);
	padding: 28px 24px;
	text-align: center;
	position: relative;
	z-index: 1;
}

.kc-info {
	color: #695A80;
	font-size: 15px;
	margin-bottom: 20px;
	line-height: 1.5;
}

/* Circle */
.kc-display {
	margin: 20px 0;
}

.kc-circle {
	display: inline-flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	width: 160px;
	height: 160px;
	border-radius: 50%;
	background: linear-gradient(135deg, rgba(139,123,184,0.08), rgba(242,212,215,0.12));
	cursor: pointer;
	transition: transform 0.1s, box-shadow 0.2s;
	user-select: none;
	border: 4px solid rgba(242,212,215,0.5);
}

.kc-circle:active {
	transform: scale(0.95);
}

.kc-circle.kc-active {
	border-color: #8B7BB8;
	box-shadow: 0 0 0 6px rgba(139,123,184,0.15);
}

.kc-circle.kc-flash {
	animation: kc-pulse 0.3s ease-out;
}

@keyframes kc-pulse {
	0% { transform: scale(1); box-shadow: 0 0 0 6px rgba(139,123,184,0.15); }
	50% { transform: scale(1.05); box-shadow: 0 0 0 10px rgba(139,123,184,0.25); }
	100% { transform: scale(1); box-shadow: 0 0 0 6px rgba(139,123,184,0.15); }
}

.kc-circle.kc-goal-reached {
	border-color: #7BC8B8;
	box-shadow: 0 0 0 6px rgba(123,200,184,0.2);
}

.kc-circle.kc-goal-reached .kc-number {
	color: #7BC8B8;
}

.kc-number {
	font-size: 48px;
	font-weight: 800;
	color: #8B7BB8;
	line-height: 1;
}

.kc-label {
	font-size: 14px;
	font-weight: 700;
	color: #695A80;
	text-transform: uppercase;
	letter-spacing: 0.5px;
	margin-top: 2px;
}

.kc-hint {
	font-size: 12px;
	font-weight: 700;
	color: #8B7BB8;
	text-transform: uppercase;
	letter-spacing: 0.5px;
	margin-top: 4px;
	animation: kc-hint-pulse 2s ease-in-out infinite;
}

@keyframes kc-hint-pulse {
	0%, 100% { opacity: 0.5; }
	50% { opacity: 1; }
}

/* Timer */
.kc-timer-row {
	margin: 8px 0 16px;
}

.kc-timer {
	font-size: 20px;
	font-weight: 700;
	color: #695A80;
	font-variant-numeric: tabular-nums;
}

/* Buttons */
.kc-actions {
	margin-bottom: 16px;
}

.kc-btn {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	padding: 14px 32px;
	border-radius: 24px;
	border: none;
	font-family: Arial, sans-serif;
	font-size: 16px;
	font-weight: 700;
	cursor: pointer;
	transition: transform 0.15s, box-shadow 0.15s;
}

.kc-btn-start {
	background: linear-gradient(135deg, #8B7BB8, #a48ed4);
	color: #fff;
	box-shadow: 0 4px 16px rgba(139,123,184,0.25);
}

.kc-btn-start:hover {
	transform: translateY(-2px);
	box-shadow: 0 6px 24px rgba(139,123,184,0.35);
}

.kc-btn-attention {
	animation: kc-attention 0.4s ease 2;
}

@keyframes kc-attention {
	0%, 100% { transform: scale(1); }
	50% { transform: scale(1.1); }
}

.kc-btn-stop {
	background: linear-gradient(135deg, #8B7BB8, #a48ed4);
	box-shadow: 0 4px 16px rgba(139,123,184,0.25);
}

.kc-btn-stop:hover {
	box-shadow: 0 6px 24px rgba(139,123,184,0.35);
}

/* Goal message */
.kc-goal {
	background: rgba(123,200,184,0.08);
	border-radius: 10px;
	padding: 12px 16px;
	margin-bottom: 16px;
	font-size: 15px;
	font-weight: 700;
	color: #2a8a6f;
}

.kc-goal-icon {
	margin-right: 6px;
}

/* History */
.kc-history {
	border-top: 1px solid rgba(139,123,184,0.08);
	padding-top: 16px;
	text-align: left;
}

.kc-history-header {
	display: flex;
	justify-content: space-between;
	align-items: center;
	margin-bottom: 8px;
}

.kc-history-title {
	font-size: 13px;
	font-weight: 700;
	color: #695A80;
	text-transform: uppercase;
	letter-spacing: 0.5px;
}

.kc-clear-btn {
	background: none;
	border: none;
	font-family: inherit;
	font-size: 14px;
	font-weight: 700;
	color: #695A80;
	cursor: pointer;
	padding: 0;
	opacity: 0.6;
}

.kc-clear-btn:hover {
	opacity: 1;
	color: #8B7BB8;
}

.kc-history-entry {
	display: flex;
	justify-content: space-between;
	padding: 8px 0;
	border-bottom: 1px solid rgba(139,123,184,0.06);
	font-size: 15px;
	color: #3D2F50;
}

.kc-history-entry:last-child {
	border-bottom: none;
}

.kc-h-count {
	font-weight: 700;
	color: #8B7BB8;
}

/* Note */
.kc-note {
	font-size: 14px;
	margin: 16px 0 0;
	color: #695A80;
}

/* ══════════════════════════════════════
   Mobile
   ══════════════════════════════════════ */

@media (max-width: 600px) {
	.kc-card {
		margin: -12px 8px 20px;
		padding: 20px 16px;
	}

	.kc-circle {
		width: 140px;
		height: 140px;
	}

	.kc-number {
		font-size: 40px;
	}
}
