:root {
  color-scheme: dark;
  --bg: #080b0f;
  --panel: rgba(18, 23, 30, .88);
  --panel-hover: rgba(24, 30, 39, .96);
  --border: rgba(255,255,255,.08);
  --text: #f3f5f7;
  --muted: #8d98a5;
  --accent: #65e6a8;
  --accent-2: #6ea8ff;
  --danger: #ff6f7d;
  --shadow: 0 24px 70px rgba(0,0,0,.28);
}

* { box-sizing: border-box; }
html { min-height: 100%; }

body {
  margin: 0;
  min-height: 100vh;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--text);
  background:
    radial-gradient(circle at 15% 0%, rgba(101,230,168,.09), transparent 30rem),
    radial-gradient(circle at 90% 20%, rgba(110,168,255,.08), transparent 28rem),
    var(--bg);
}

a { color: inherit; }
.shell { width: min(1120px, calc(100% - 32px)); margin: 0 auto; padding: 24px 0 36px; }
.topbar { display: flex; align-items: center; justify-content: space-between; padding: 8px 0 28px; }
.brand { display: inline-flex; align-items: center; gap: 11px; text-decoration: none; font-size: 1rem; font-weight: 850; letter-spacing: .12em; }
.brand > span:last-child span { color: var(--accent); }
.brand-mark { width: 34px; height: 34px; display: grid; place-items: center; border-radius: 10px; background: var(--accent); color: #07110b; font-weight: 950; letter-spacing: 0; box-shadow: 0 8px 30px rgba(101,230,168,.18); }
.clock { font-variant-numeric: tabular-nums; color: var(--muted); font-size: .95rem; letter-spacing: .04em; }
.hero { display: flex; align-items: end; justify-content: space-between; gap: 24px; padding: 38px 0 30px; }
.eyebrow, .label { margin: 0 0 8px; color: var(--accent); font-size: .72rem; font-weight: 800; letter-spacing: .14em; }
h1, h2, p { margin-top: 0; }
h1 { margin-bottom: 10px; font-size: clamp(2.2rem, 6vw, 4.4rem); line-height: .98; letter-spacing: -.055em; }
h2 { margin-bottom: 0; font-size: 1.15rem; letter-spacing: -.02em; }
.muted { color: var(--muted); }
.hero .muted { margin-bottom: 0; font-size: 1rem; }
.hero-date { color: var(--muted); white-space: nowrap; font-size: .9rem; padding-bottom: 4px; }

.service-bar {
    display: flex;
    flex-direction: row;
    flex-wrap: nowrap;
    justify-content: center;
    align-items: center;
    gap: 24px;
    width: 100%;
    margin: 0 auto 24px;
    overflow-x: auto;
}

.service-link {
    display: inline-flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    flex: 0 0 auto;
    gap: 8px;
    text-decoration: none;
    white-space: nowrap;
}

.service-icon {
    display: block;
    width: 48px;
    height: 48px;
    min-width: 48px;
    min-height: 48px;
    object-fit: contain;
}
.service-link:hover { transform: translateY(-1px); background: rgba(255,255,255,.055); border-color: var(--border); }
/*.service-icon { display: block; width: 30px; height: 30px; object-fit: contain; }*/

.grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.card { min-height: 260px; padding: 24px; border: 1px solid var(--border); border-radius: 22px; background: var(--panel); box-shadow: var(--shadow); backdrop-filter: blur(16px); transition: transform .2s ease, background .2s ease, border-color .2s ease; }
.card:hover { transform: translateY(-2px); background: var(--panel-hover); border-color: rgba(255,255,255,.13); }
.card-head { display: flex; align-items: flex-start; justify-content: space-between; gap: 18px; }
.weather-icon { font-size: 2.2rem; line-height: 1; }
.card-icon { color: var(--muted); font-size: 1.3rem; }
.weather-main { display: flex; align-items: baseline; gap: 14px; margin: 30px 0 25px; }
.temperature { font-size: 4rem; line-height: .9; font-weight: 750; letter-spacing: -.07em; }
.weather-description { color: var(--muted); text-transform: capitalize; }
.stats, .server-details { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.stats > div, .server-details > div { padding: 12px; border-radius: 13px; background: rgba(255,255,255,.035); }
.stats span, .server-details span { display: block; color: var(--muted); font-size: .72rem; margin-bottom: 5px; }
.stats strong, .server-details strong { font-size: .85rem; font-weight: 650; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.source { margin: 17px 0 0; color: #697582; font-size: .72rem; }
.source a { color: #8491a0; }
.server-status { display: flex; align-items: center; justify-content: space-between; margin: 35px 0 13px; }
.server-status > span:first-child { font-size: 1.8rem; font-weight: 750; letter-spacing: -.04em; }
.server-status .players { color: var(--muted); font-size: .8rem; }
.server-dot { width: 11px; height: 11px; border-radius: 50%; background: var(--muted); box-shadow: 0 0 0 5px rgba(141,152,165,.08); }
.server-dot.online { background: var(--accent); box-shadow: 0 0 0 5px rgba(101,230,168,.10), 0 0 18px rgba(101,230,168,.45); }
.server-dot.offline { background: var(--danger); box-shadow: 0 0 0 5px rgba(255,111,125,.08); }
.server-address { display: inline-block; margin-bottom: 18px; padding: 8px 11px; border-radius: 9px; background: rgba(0,0,0,.22); color: #aeb8c2; font: .82rem ui-monospace, SFMono-Regular, Menlo, monospace; }
.links-card, .info-card { min-height: 0; }
.link-row { display: grid; grid-template-columns: 38px 1fr auto; align-items: center; gap: 12px; margin-top: 15px; padding: 13px; border: 1px solid transparent; border-radius: 14px; text-decoration: none; background: rgba(255,255,255,.035); }
.link-row:hover { border-color: var(--border); background: rgba(255,255,255,.055); }
.link-icon { display: grid; place-items: center; width: 38px; height: 38px; border-radius: 11px; background: rgba(255,255,255,.055); }
.link-row strong, .link-row small { display: block; }
.link-row strong { font-size: .9rem; }
.link-row small { margin-top: 3px; color: var(--muted); font-size: .72rem; }
.arrow { color: var(--muted); }
.info-card .muted { max-width: 420px; margin: 30px 0 22px; line-height: 1.6; }
.button { display: inline-flex; align-items: center; justify-content: center; min-height: 42px; padding: 0 16px; border-radius: 12px; background: var(--text); color: #0b0f14; font-size: .82rem; font-weight: 800; text-decoration: none; }
.button:hover { opacity: .9; }
footer { display: flex; justify-content: space-between; gap: 20px; padding: 25px 3px 0; color: #58636e; font-size: .72rem; }

@media (max-width: 760px) {
  .shell { width: min(100% - 22px, 620px); padding-top: 12px; }
  .hero { display: block; padding-top: 28px; }
  .hero-date { margin-top: 15px; }
  .grid { grid-template-columns: 1fr; }
  .card { min-height: 0; }
  .temperature { font-size: 3.4rem; }
  footer { display: block; }
  footer span { display: block; margin-top: 6px; }
}
@media (max-width: 520px) {
  .service-bar { gap: 5px; padding: 8px; }
  .service-link { flex: 1; flex-direction: column; gap: 6px; padding: 10px 5px; font-size: .75rem; }
  .service-icon { width: 28px; height: 28px; }
}
