* {
	box-sizing: border-box;
}

body {
	margin: 0;
	font-family: 'Segoe UI', sans-serif;
	background: linear-gradient(135deg, #eef2ff, #f5f7fb);
	display: flex;
	justify-content: center;
	align-items: center;
	height: 100vh;
}

.card {
	background: white;
	padding: 35px 30px;
	border-radius: 18px;
	text-align: center;
	box-shadow: 0 10px 30px rgba(0,0,0,0.08);
	max-width: 380px;
	width: 95%;
	animation: fadeIn 0.6s ease;
}

.card-closed {
	background: white;
	padding: 30px 25px;
	border-radius: 18px;
	text-align: center;
	box-shadow: 0 10px 30px rgba(0,0,0,0.08);
	width: 100%;
	max-width: 600px;   /* 🔥 ini batas utama */
}

/* ICON (support emoji & image) */
.icon {
	font-size: 64px;
	margin-bottom: 10px;
}

.icon img {
	width: 110px;
	max-width: 100%;
	height: auto;
}

/* TEXT */
.card h2 {
	font-size: 20px;
	font-weight: 800;
	color: #1d4ed8;
	margin: 10px 0 5px;
	letter-spacing: 0.3px;
	text-transform: none; /* penting: jangan full caps */
}

.card h3 {
	font-size: 14px;
	font-weight: 600;
	color: #64748b;
	margin: 0 0 15px;
	letter-spacing: 1px;
	text-transform: uppercase; /* ini cukup untuk identitas */
}

.desc {
	color: #555;
	font-size: 14px;
	margin-bottom: 10px;
}

.status {
	font-size: 12px;
	color: #888;
	margin: 10px 0 15px;
}

/* INPUT */
.input {
	width: 100%;
	padding: 12px;
	border-radius: 10px;
	border: 1px solid #ddd;
	outline: none;
	font-size: 14px;
	margin-bottom: 15px;
	transition: 0.2s;
}

.input:focus {
	border-color: #3b82f6;
	box-shadow: 0 0 0 2px rgba(59,130,246,0.2);
}

/* BUTTON */
.btn {
	width: 100%;
	padding: 12px;
	border: none;
	border-radius: 10px;
	background: #3b82f6;
	color: white;
	font-weight: bold;
	cursor: pointer;
	transition: 0.2s;
}

.btn:hover {
	background: #2563eb;
}

/* LOADING DOT */
.loading span {
	display: inline-block;
	width: 8px;
	height: 8px;
	background: #3b82f6;
	border-radius: 50%;
	margin: 0 3px;
	animation: bounce 1.4s infinite ease-in-out both;
}


.loading span:nth-child(1) { animation-delay: -0.32s; }
.loading span:nth-child(2) { animation-delay: -0.16s; }

/* ANIMATION */
@keyframes bounce {
	0%, 80%, 100% { transform: scale(0); }
	40% { transform: scale(1); }
}

@keyframes fadeIn {
	from { opacity: 0; transform: translateY(10px); }
	to { opacity: 1; transform: translateY(0); }
}

/* RESPONSIVE */
@media (max-width: 600px) {
	.icon img {
		width: 90px;
	}

	.card {
		padding: 25px 20px;
	}
	
	.card-closed {
		max-width: 95%;
		padding: 25px 15px;
	}

}

.timer {
	font-size: 40px;
	font-weight: bold;
	margin-top: 15px;
	color: #333;
	letter-spacing: 2px;
	font-family: monospace;
	animation: timerPulse 1.2s infinite;
}

/* ICON ANIMATION */
.pulse img {
	width: 110px;
	animation: iconPulse 2s infinite ease-in-out;
}

/* TIMER PULSE (KHUSUS) */
@keyframes timerPulse {
	0% { transform: scale(1); opacity: 1; }
	50% { transform: scale(1.05); opacity: 0.8; }
	100% { transform: scale(1); opacity: 1; }
}

.card-closed h2 {
	font-size: 20px;
	font-weight: 800;
	color: #1d4ed8;
	margin: 10px 0 5px;
	letter-spacing: 0.3px;
	text-transform: none; /* penting: jangan full caps */
}

.card-closed h3 {
	font-size: 14px;
	font-weight: 600;
	color: #64748b;
	margin: 0 0 15px;
	letter-spacing: 1px;
	text-transform: uppercase; /* ini cukup untuk identitas */
}

/* DESC */
.card-closed .desc {
	font-size: 13px;
	color: #555;
	margin-top: 10px;
}

/* STATUS */
.card-closed .status {
	font-size: 12px;
	color: #888;
	margin-top: 6px;
}

/* loading dots */
.loading span {
	display: inline-block;
	width: 7px;
	height: 7px;
	margin: 0 3px;
	background: #1d4ed8;
	border-radius: 50%;
	animation: bounce 1.2s infinite ease-in-out;
}

.loading span:nth-child(2) { animation-delay: 0.2s; }
.loading span:nth-child(3) { animation-delay: 0.4s; }

@keyframes bounce {
	0%, 80%, 100% { transform: scale(0); opacity: 0.4; }
	40% { transform: scale(1); opacity: 1; }
}