body {
  margin: 0;
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, system-ui, sans-serif;
  background: radial-gradient(circle at 30% 20%, #1e293b, transparent 40%),
              radial-gradient(circle at 70% 80%, #0f172a, transparent 40%),
              #0b1120;
  background-attachment: fixed;
  color: white;
  min-height: 100vh;
}

/* HEADER */

header {
  text-align: center;
  padding: 60px 20px 20px;
}

h1 {
  font-weight: 500;
  letter-spacing: 1px;
  font-size: 28px;
  opacity: 0.9;
}

/* TOP WIDGETS */

.top-widgets {
  display: flex;
  justify-content: center;
  gap: 30px;
  flex-wrap: wrap;
  margin-bottom: 50px;
}

/* WEATHER */

.weather {
  min-width: 240px;
  padding: 30px 40px;
  border-radius: 26px;
  background: rgba(255,255,255,0.06);
  backdrop-filter: blur(25px);
  box-shadow:
    inset 0 1px 1px rgba(255,255,255,0.1),
    0 20px 50px rgba(0,0,0,0.4);
  display: flex;
  align-items: center;
  gap: 25px;
}

.weather-icon {
  font-size: 42px;
}

.weather-temp {
  font-size: 32px;
  font-weight: 600;
}

.weather-desc {
  font-size: 14px;
  opacity: 0.6;
}

/* CLOCK */

.clock {
  min-width: 220px;
  padding: 30px 40px;
  border-radius: 26px;
  background: rgba(255,255,255,0.06);
  backdrop-filter: blur(25px);
  box-shadow:
    inset 0 1px 1px rgba(255,255,255,0.1),
    0 20px 50px rgba(0,0,0,0.4);
  text-align: center;
}

.clock-time {
  font-size: 34px;
  font-weight: 600;
}

.clock-date {
  font-size: 14px;
  opacity: 0.6;
  margin-top: 5px;
}

/* CATEGORY */

.category {
  margin: 45px 20px 15px;
  font-size: 12px;
  font-weight: 600;
  opacity: 0.4;
  letter-spacing: 2px;
  text-transform: uppercase;
}

/* GRID */

.grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(170px, 1fr));
  gap: 25px;
  padding: 0 20px 50px;
}

/* CARD */

.card {
  background: rgba(255, 255, 255, 0.06);
  backdrop-filter: blur(25px);
  border-radius: 26px;
  padding: 30px 20px;
  text-align: center;
  cursor: pointer;
  transition: all 0.35s cubic-bezier(.4,0,.2,1);
  box-shadow:
    inset 0 1px 1px rgba(255,255,255,0.1),
    0 15px 50px rgba(0,0,0,0.4);
}

.card:hover {
  transform: translateY(-10px);
  background: rgba(255,255,255,0.09);
  box-shadow:
    0 25px 70px rgba(59,130,246,0.25);
}

/* ICON */

.icon-wrap {
  width: 60px;
  height: 60px;
  margin: 0 auto 15px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 20px;
  background: rgba(255,255,255,0.08);
  backdrop-filter: blur(10px);
}

.card img {
  width: 34px;
  height: 34px;
  filter: brightness(0) invert(1);
  transition: transform 0.3s ease;
}

.card:hover img {
  transform: scale(1.1);
}

/* STATUS DOT */

.status-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  display: inline-block;
  margin-left: 6px;
}

.online { background: #22c55e; }
.offline { background: #ef4444; }

/* MOBILE */

@media (max-width: 600px) {
  .top-widgets {
    flex-direction: column;
    align-items: center;
  }

  .grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

/* REMOVE UGLY CLICK HIGHLIGHT */

* {
  -webkit-tap-highlight-color: transparent;
}

.card {
  user-select: none;
  -webkit-user-select: none;
}

.card:focus,
.card:active {
  outline: none;
}

.card span {
  user-select: none;
}
body {
  -webkit-touch-callout: none;
}

