/* styles.css */
:root {
  --bg: #0b1228;
  --panel: rgba(255, 255, 255, 0.06);
  --panel-border: rgba(255, 255, 255, 0.18);
  --text: #eaf2ff;
  --muted: #bcd0ff;
  --accent: #2f7df6; /* cool blue */
  --accent-2: #6ec3ff;
  --success: #13d38e;
  --warning: #ffb84a;
  --danger: #ff5c7a;
  --shadow: 0 20px 60px rgba(0, 0, 0, 0.45);
}

* { box-sizing: border-box; }
html, body { height: 100%; }
body {
  margin: 0;
  font-family: 'Inter', system-ui, -apple-system, Segoe UI, Roboto, Helvetica, Arial, sans-serif;
  color: var(--text);
  background-image: url('../img/wallpaper.png');
  background-attachment: fixed;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  background-color: var(--bg);
  overflow-x: hidden;
}

/* Glassmorphism */
.glass {
  background: var(--panel);
  border: 1px solid var(--panel-border);
  backdrop-filter: blur(18px) saturate(120%);
  -webkit-backdrop-filter: blur(18px) saturate(120%);
  border-radius: 16px;
  box-shadow: var(--shadow);
}

/* Top Bar */
.topbar {
  padding: 12px 20px;
  background: linear-gradient(180deg, rgba(47, 125, 246, 0.25), rgba(47, 125, 246, 0));
}
.topbar-inner {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 16px;
  padding: 10px 14px;
}
.logo-slot { height: 44px; display: flex; align-items: center; justify-self: start; }
.logo-link {
  display: flex;
  align-items: center;
  text-decoration: none;
  transition: all 0.3s ease;
  border-radius: 50%;
}
.logo-link:hover {
  transform: scale(1.1);
  filter: drop-shadow(0 0 8px rgba(110, 195, 255, 0.6));
}
.logo-slot img { height: 40px; width: auto; opacity: 0.95; border-radius: 50%; }

.topbar-title { text-align: center; justify-self: center; }
.topbar-title .title-text { font-size: 22px; font-weight: 700; letter-spacing: 0.4px; }

/* Hero */
main { max-width: 1100px; margin: 28px auto; padding: 0 20px; }
.hero { padding: 28px; text-align: center; }
.hero h1 { margin: 0 0 8px; font-size: 40px; font-weight: 800; letter-spacing: -0.5px; }
.hero .subtitle { margin: 0; color: var(--muted); }

.now { margin-top: 24px; display: flex; flex-direction: column; align-items: center; gap: 6px; }
.now .date { font-size: 22px; font-weight: 600; }
.now .clock { font-size: 64px; font-weight: 800; letter-spacing: 1px; }
.now .tzline { font-size: 13px; color: var(--muted); }


/* Separator */
.separator { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 12px; margin: 24px 0; }
.separator .line { height: 1px; background: linear-gradient(to right, transparent, rgba(110,195,255,0.5), transparent); }
.separator .chip {
  padding: 6px 12px;
  border-radius: 999px;
  background: rgba(110,195,255,0.1);
  border: 1px solid rgba(110,195,255,0.35);
  color: var(--muted);
  font-size: 12px;
  letter-spacing: 0.6px;
}


/* Footer */
.footer { padding: 18px 20px 28px; }
.footer-inner { max-width: 1100px; margin: 0 auto; padding: 12px 20px; text-align: center; }
.footer small { color: var(--muted); }

/* Animated canvas background */
.bg-canvas { position: fixed; inset: 0; z-index: -1; filter: blur(40px) saturate(120%); opacity: 0.7; }

/* Responsive */
@media (max-width: 640px) {
  .topbar-title .title-text { font-size: 18px; }
  .now .clock { font-size: 48px; }
}

