.time-tool-container {
	max-width: 450px;
	margin: 2rem auto;
	padding: 2rem;
	background: #faf5ff; /* light purple tint */
	border-radius: 16px;
	box-shadow: 0 6px 20px rgba(0, 0, 0, 0.06);
	animation: fadeIn 0.8s ease-in-out;
}

.time-header, .date-section {
	text-align: center;
	margin-bottom: 1.5rem;
}

.clock {
	font-size: 2.5rem;
	font-weight: bold;
	letter-spacing: 2px;
	background: linear-gradient(90deg, #6a11cb, #2575fc);
	-webkit-background-clip: text;
	-webkit-text-fill-color: transparent;
	text-shadow: 0 0 8px rgba(106, 17, 203, 0.3);
	animation: pulse 2s infinite;
}

.date-section h3 {
	font-size: 1.25rem;
	color: var(--bs-secondary);
	border-bottom: 2px solid var(--bs-primary);
	padding-bottom: 0.5rem;
	margin-bottom: 1rem;
}

.date-details p {
	font-size: 1.1rem;
	margin-bottom: 0.25rem;
}

.date-details .date-long {
	font-weight: 500;
}

.date-details .date-short {
	font-family: monospace;
	font-size: 1rem;
	opacity: 0.8;
}

.nav-buttons {
	display: flex;
	justify-content: space-between;
	margin-top: 2rem;
}

.nav-buttons .btn {
	width: 48%;
}

hr.divider {
	margin: 2rem 0;
	display: none;
}

/* Top navigation for Home and Time tools */
.nav-top {
	display: flex;
	justify-content: space-between;
	gap: 0.75rem;
	margin-bottom: 1rem;
}

/* Related tools section */
.related-tools {
	margin-top: 2rem;
}
.related-tools h3 {
	font-size: 1.1rem;
	margin-bottom: 0.75rem;
	color: var(--bs-secondary);
}
.related-tools .related-list {
	display: grid;
	grid-template-columns: 1fr 1fr 1fr;
	gap: 0.75rem;
}
.related-tools .btn {
	text-align: center;
}

/* Intro section */
.tool-intro {
	margin-top: 1.5rem;
	background: #fafafa;
	border-radius: 12px;
	padding: 1rem 1.25rem;
}
.tool-intro h3 {
	font-size: 1.1rem;
	margin-bottom: 0.5rem;
}

/* Animations */
@keyframes fadeIn {
	from { opacity: 0; transform: translateY(15px); }
	to { opacity: 1; transform: translateY(0); }
}
@keyframes pulse {
	0%, 100% { opacity: 1; }
	50% { opacity: 0.7; }
}

/* Mobile responsiveness */
@media (max-width: 576px) {
	.time-tool-container { padding: 1.2rem; }
	.clock { font-size: 1.8rem; }
	.nav-top {
		flex-direction: column;
	}
	.nav-buttons {
		flex-direction: column;
		gap: 0.75rem;
	}
	.nav-buttons .btn {
		width: 100%;
	}
	.related-tools .related-list {
		grid-template-columns: 1fr;
	}
}

/* Dark mode */
@media (prefers-color-scheme: dark) {
	body { background: #121212; color: #e0e0e0; }
	.time-tool-container { background: #1f1f1f; box-shadow: none; }
	.clock { text-shadow: 0 0 6px #6a11cb; }
	a.btn-primary { background: #6a11cb; border: none; }
	.tool-intro { background: #181818; }
}