body {
  margin: 0;
  font-family: "Segoe UI", sans-serif;
  background: #0b0b0b;
  color: white;
}

.container {
  max-width: 1100px;
  margin: auto;
  padding: 30px;
}

header p {
  opacity: 0.7;
}

.clock-card {
  background: #1a1a1a;
  padding: 30px;
  border-radius: 14px;
  text-align: center;
  margin: 30px 0;
}

.clock-card h2 {
  font-size: 48px;
  margin: 0;
}

.grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 20px;
}

.card {
  background: #1a1a1a;
  padding: 20px;
  border-radius: 14px;
}

.card i {
  font-size: 22px;
  color: #3b82f6;
}

.card h3 {
  margin: 10px 0;
  font-size: 26px;
}

.section-title {
  margin-top: 40px;
}

.sholat {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
  gap: 15px;
}

.sholat-card {
  background: #1a1a1a;
  padding: 16px;
  border-radius: 12px;
  text-align: center;
}

.sholat-card i {
  margin-bottom: 6px;
  color: #22c55e;
}
body.dark {
  background: #0b0b0b;
  color: white;
}

body.light {
  background: #f4f7fa;
  color: #1a1a1a;
}

.theme-btn {
  position: fixed;
  bottom: 20px;
  right: 20px;
  border: none;
  padding: 14px;
  border-radius: 50%;
  font-size: 18px;
  cursor: pointer;
}
/* ===============================
   LIGHT MODE SUPPORT (ADD ONLY)
================================ */

/* Card & Box ikut terang */
body.light .card,
body.light .clock-card,
body.light .sholat-card {
  background: #ffffff;
  color: #1a1a1a;
  box-shadow: 0 10px 25px rgba(0,0,0,0.08);
}

/* Text sekunder */
body.light header p {
  color: #4b5563;
}

/* Icon cuaca */
body.light .card i {
  color: #2563eb;
}

/* Icon sholat */
body.light .sholat-card i {
  color: #16a34a;
}

/* Judul */
body.light h1,
body.light h2,
body.light h3 {
  color: #111827;
}

/* Tombol tema */
body.light .theme-btn {
  background: #111827;
  color: white;
}

body.dark .theme-btn {
  background: #ffffff;
  color: #111827;
}

/* Transisi halus */
body,
.card,
.clock-card,
.sholat-card {
  transition: background 0.3s ease, color 0.3s ease;
}
