/* style.css */
:root{
  --bg: #0f1724;
  --card: #0b1020;
  --accent: #2dd4bf;
  --muted: #9aa7ba;
}

*{box-sizing:border-box;margin:0;padding:0;font-family:Inter, system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial;}

body{
  background: linear-gradient(180deg, #071428 0%, #08141f 100%);
  height:100vh;
  align-items:center;
  justify-content:center;
  color: #e6f0f6;
}

.clock-container{
  background: linear-gradient(180deg, rgba(255,255,255,0.03), rgba(255,255,255,0.01));
  border: 1px solid rgba(255,255,255,0.05);
  padding: 28px 34px;
  border-radius: 16px;
  box-shadow: 0 8px 30px rgba(2,6,23,0.6);
  text-align:center;
  min-width: 300px;
}

.clock{
  display:flex;
  align-items:baseline;
  justify-content:center;
  gap:12px;
  margin-bottom:10px;
}

#time{
  font-size:64px;
  font-weight:700;
  letter-spacing:2px;
  font-family: "SF Pro Display", "Segoe UI", Roboto, Arial, sans-serif;
}

#ampm{
  font-size:18px;
  padding:6px 10px;
  border-radius:8px;
  color:var(--bg);
  background:var(--accent);
  font-weight:600;
}

.date{
  color:var(--muted);
  font-size:14px;
  margin-top:6px;
}

/* Responsive */
@media (max-width:420px){
  #time{
    font-size:48px;
  }
  .clock-container{ padding:20px; min-width: 260px;}
}
.custom-link {
    margin-right: auto;
    display: inline-block;
    padding: 12px 28px;
    background: linear-gradient(45deg, #6a11cb, #2575fc);
    color: white;
    text-decoration: none;
    font-weight: 600;
    border-radius: 30px;
    box-shadow: 0 4px 15px rgba(38, 50, 56, 0.3);
    transition: background 0.3s ease, box-shadow 0.3s ease;
    font-family: Arial, sans-serif;
  }

  .custom-link:hover {
    background: linear-gradient(45deg, #2575fc, #6a11cb);
    box-shadow: 0 6px 20px rgba(38, 50, 56, 0.5);
    text-decoration: none;
  }