:root{
  --bg:#0f1724;
  --card:#0b1220;
  --accent:#60a5fa;
  --muted:#9aa6b2;
  --glass: rgba(255,255,255,0.03);
}

*{box-sizing:border-box}
html,body{height:100%}
body{
  margin:0;
  font-family:Inter,system-ui,-apple-system,Segoe UI,Roboto,"Helvetica Neue",Arial;
  background: linear-gradient(180deg,#071029, #06111b);
  color:#e6eef6;
  -webkit-font-smoothing:antialiased;
  -moz-osx-font-smoothing:grayscale;
  display:flex;
  align-items:center;
  justify-content:center;
  padding:28px;
}

.container{
  width:100%;
  max-width:980px;
  background:linear-gradient(180deg, rgba(255,255,255,0.02), rgba(255,255,255,0.01));
  border-radius:14px;
  padding:20px;
  box-shadow: 0 10px 30px rgba(2,6,23,0.6);
  border:1px solid rgba(255,255,255,0.03);
}

header{ text-align:center; margin-bottom:12px }
h1{ margin:0; font-size:1.6rem; letter-spacing:0.2px }
.subtitle{ color:var(--muted); margin-top:6px; margin-bottom:12px }

.controls{
  display:flex;
  gap:8px;
  margin-bottom:18px;
  justify-content:center;
  flex-wrap:wrap;
}
.controls input{
  min-width:240px;
  padding:10px 12px;
  border-radius:8px;
  border:1px solid rgba(255,255,255,0.04);
  background:var(--glass);
  color:inherit;
  outline:none;
}
.controls button{
  padding:10px 14px;
  border-radius:8px;
  border:0;
  background:var(--accent);
  color:#053049;
  font-weight:600;
  cursor:pointer;
}
.controls button[title]{ background:transparent; color:var(--muted); border:1px solid rgba(255,255,255,0.03) }

.clocks{
  display:grid;
  grid-template-columns:1fr 1fr;
  gap:16px;
}
@media (max-width:720px){
  .clocks{ grid-template-columns:1fr; }
}

.card{
  background:linear-gradient(180deg, rgba(255,255,255,0.01), rgba(255,255,255,0.00));
  padding:14px;
  border-radius:12px;
  border:1px solid rgba(255,255,255,0.02);
}

.clock.large{
  font-size:2.1rem;
  font-weight:700;
  letter-spacing:1px;
  margin:8px 0;
}

.muted{ color:var(--muted); font-size:0.96rem }

.weather{
  display:flex;
  gap:12px;
  align-items:center;
  margin-top:12px;
}
.weather-left{
  display:flex;
  align-items:center;
  gap:10px;
}
.weather-left img{
  width:64px;
  height:64px;
  filter:drop-shadow(0 6px 10px rgba(0,0,0,0.5));
}
.temp{ font-size:1.6rem; font-weight:700 }
.weather-right{ flex:1 }

.foot{ text-align:center; margin-top:14px; font-size:0.9rem }

