@import url('https://fonts.googleapis.com/css2?family=Inter:wght@100..900&display=swap');
:root {
  --bg-color: #000000;
  --primary-color: #35CDFE;
  --text-color: #fff;
  --button-bg: #0078d7;
  --button-bg-hover: #005bb5;
  --header-border: rgba(172, 179, 194, 0.2);
}

* { box-sizing: border-box; }
*::before,*::after { box-sizing: inherit; }

html, body {
  height: 100%;
  margin: 0;
  padding: 0;
}
html { overflow-x: hidden; }

body {
  min-height: 100vh;
  min-height: 100dvh;
  display: flex;
  flex-direction: column;
  overflow-x: hidden;
  background-color: var(--bg-color);
  color: #fff;
  font-family: 'Inter', -apple-system, system-ui, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", sans-serif;
  font-size: 16px;
}

img, svg, video {
  max-width: 100%;
  height: auto;
}

.content-wrapper {
  width: 100%;
  max-width: 100%;
  margin: 0 auto;
  padding: 40px 20px 0;
  flex: 1 0 auto;
}

@media (min-width: 980px) {
  .content-wrapper {
    width: 960px;
    max-width: 960px;
  }
}

/* Sticky (non-fixed) footer: footer only appears at page bottom */
#footer-placeholder {
  margin-top: auto;
}

.header-bg {
  width: 100%;
  background-color: var(--bg-color);
  border-bottom: 1px solid rgba(172,179,194,.2);
}

.site-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  max-width: 960px;
  margin: 0 auto;
  padding: 20px 0px 20px 10px;
}

.logo {
  display: flex;
  align-items: center;
} 

.logo img {
  height: 39px;
  margin-right: 10px;
}

.navigation > ul {
  list-style: none;
  margin: 0;
  padding: 7px 30px 7px 20px;
  display: flex;
  gap: 40px;
}

.navigation a {
  text-decoration: none;
  color: var(--text-color);
  font-weight: 700;
  font-size: 0.8rem;
  transition: color 0.3s;
}

.navigation a:hover {
  color: var(--primary-color);
}

.hamburger {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 6px;
  width: 38px;
  height: 38px;
  background: none;
  border: none;
  cursor: pointer;
  margin-left: 10px;
  z-index: 1001;
}
.hamburger span {
  display: block;
  height: 4px;
  width: 28px;
  background: #35CDFE;
  border-radius: 2px;
  transition: 0.3s;
}

@media (max-width: 900px) {
  .hamburger {
    display: flex;
  }
  .navigation {
    position: fixed;
    top: 0;
  right: 0;
    width: 70vw;
    height: 100vh;
    background: #111;
    flex-direction: column;
    justify-content: flex-start;
    align-items: flex-start;
    padding: 80px 24px 24px 24px;
    box-shadow: -2px 0 12px rgba(0,0,0,0.15);
  transform: translateX(100%);
  transition: transform 0.3s;
  will-change: transform;
    z-index: 1000;
  }
  .navigation.open {
  transform: translateX(0);
  }
  .navigation > ul {
    flex-direction: column;
    gap: 24px;
    padding: 0;
  }
  .dropdown-content {
    position: static;
    background: none;
    box-shadow: none;
    margin-top: 0;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s;
  }
  .dropdown:hover .dropdown-content,
  .dropdown.open .dropdown-content {
    max-height: 300px;
    background: #222;
    padding: 0;
  }
}


.dropdown-content {
  position: absolute;
  background-color: #121212;
  margin-top: 10px;
  padding: 0; /* no inner padding so items can go edge-to-edge */
  list-style: none;
  min-width: 200px;
  z-index: 999;
  display: flex;
  flex-direction: column;
  max-height: 0;
  overflow: hidden;
  box-shadow: 0 8px 24px rgba(0,0,0,0.18);
  border-radius: 8px;
  transition: max-height 0.3s;
}
.dropdown:hover .dropdown-content,
.dropdown.open .dropdown-content {
  max-height: 300px;
  background: #121212;
  padding: 0;
}
.dropdown-content li a {
  display:flex;
  align-items:center;
  gap:2px;
  padding: 12px 20px 11px 20px;
  color:#d9dde2;
  text-decoration:none;
  font-weight:500;
  font-size:0.94rem;
  line-height:1.25;
  border-radius: 0; 
  margin: 0;
  transition: background .18s ease, color .18s ease;
}
.dropdown-content li a:hover {
  background:#1b1f23;
  color:#35CDFE;
}


.navigation .dropdown-content a {
  display: flex;
  align-items: center;
  gap: 14px;
  line-height: 1.3;
  padding: 10px 18px 6px 18px;
}

.navigation .dropdown-content a i {
  width: 20px; 
  text-align: center;
  margin-left: -6px;
  color: #35CDFE;
  flex: 0 0 20px;
}

.navigation .dropdown-content a:hover i {
  filter: brightness(1.2);
}


.status-hover { position: relative; }
.status-preview-panel {
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translate(-50%, 3px) scale(.97);
  background:#121212;
  border:1px solid #1b1b1b;
  border-radius:14px;
  padding:10px 12px 10px;
  width:225px;
  max-width:60vw;
  box-shadow:0 8px 26px -8px rgba(0,0,0,.55),0 3px 10px -2px rgba(0,0,0,.45);
  opacity:0;
  pointer-events:none;
  transition:opacity .16s ease, transform .18s ease;
  z-index:1002;
  backdrop-filter: blur(3px);
  font-size:12px;
}
.status-hover:hover .status-preview-panel, .status-hover:focus-within .status-preview-panel, .status-hover.open .status-preview-panel {
  opacity:1;
  pointer-events:auto;
  transform:translate(-50%,10px) scale(1);
}
.status-preview-title { font-size:12px; font-weight:600; margin:0 0 6px; letter-spacing:.35px; opacity:.9; }
.status-preview-list { list-style:none; margin:0; padding:0; display:flex; flex-direction:column; gap:3px; }
.status-preview-item { display:flex; align-items:center; gap:8px; background:#161616; border:1px solid #1c1c1c; padding:6px 8px 6px; border-radius:7px; font-size:11px; line-height:1.15; }
.status-preview-name { flex:1; white-space:nowrap; overflow:hidden; text-overflow:ellipsis; font-weight:600; color:#f5f5f5; }
.status-preview-state { display:inline-flex; align-items:center; gap:5px; font-size:10px; font-weight:500; padding:3px 7px 3px 5px; border-radius:16px; background:#1d1d1d; color:#a7b0b8; }
.status-preview-panel .dot { width:7px; height:7px; border-radius:50%; background:#666; box-shadow:0 0 0 2px rgba(255,255,255,.04); }
.status-preview-panel .dot.ok { background:#1fa463; }
.status-preview-panel .dot.down { background:#b73737; }
.status-preview-panel .dot.partial { background:#ffb347; }
.status-preview-panel .dot.unknown { background:#666; }
.status-preview-panel .status-preview-state.ok { color:#6ef7b0; }
.status-preview-panel .status-preview-state.down { color:#ff7d7d; }
.status-preview-panel .status-preview-state.partial { color:#ffcc80; }
.status-preview-footer { display:flex; justify-content:space-between; align-items:center; margin-top:8px; font-size:9px; color:#7b8289; gap:8px; }
.status-preview-age { font-variant-numeric: tabular-nums; }
.status-preview-refresh { cursor:pointer; user-select:none; }
.status-preview-loading, .status-preview-error { font-size:12px; color:#9aa2ad; padding:6px 2px; }
@media (min-width: 901px){
  .status-hover .status-preview-panel { left:0; transform: translateY(3px) scale(.97); }
  .status-hover:hover .status-preview-panel,
  .status-hover.open .status-preview-panel,
  .status-hover:focus-within .status-preview-panel { transform: translateY(8px) scale(1); }
}
/* All OK condensed state */
.status-preview-all-ok { display:flex; align-items:center; gap:8px; background:#161d17; border:1px solid #1f2a22; padding:8px 10px 8px; border-radius:10px; margin-top:2px; }
.status-allok-icon { width:24px; height:24px; border-radius:50%; background:#1fa463; display:flex; align-items:center; justify-content:center; box-shadow:0 0 0 3px rgba(31,164,99,.18), 0 3px 10px -2px rgba(0,0,0,.5); }
.status-allok-icon .check { font-size:13px; font-weight:600; line-height:1; color:#fff; }
.status-preview-all-ok .msg { font-size:11.5px; color:#d9f7e8; letter-spacing:.25px; }
@media (max-width: 900px){
  .status-preview-panel { left:auto; right:0; transform:translateY(4px) scale(.98); max-height:70vh; overflow:auto; }
  .status-hover:hover .status-preview-panel, .status-hover:focus-within .status-preview-panel, .status-hover.open .status-preview-panel { transform:translateY(10px) scale(1); }
}

.status-preview-link {
  font-size: 10px;
  color: #35CDFE;
  text-decoration: none;
}

.arrow {
  display: inline-block;
  width: 0;
  height: 0;
  margin-left: 2px;
  border-left: 5px solid transparent;
  border-right: 5px solid transparent;
  border-top: 7px solid #fff;
}

.site-footer {
  border-top: 1px solid rgba(172,179,194,.2);
  background-color: #000;
  color: #fff;
  text-align: center;
  padding: 8px;
  font-size: 12px;
  width: 100%;
}

.text-danger,
.heart-icon {
  color: #ff3b3b;
}

/* -------- Mobile scaling (simplified + less zoom) -------- */
@media (max-width: 780px) {
  html { font-size: 15px; }
  body { font-size: 0.94rem; line-height: 1.5; }
  .site-header { padding: 14px 18px; }
  .content-wrapper { padding: 34px 18px 0; }
  h1 { font-size: clamp(42px, 8vw, 58px); line-height: 1.07; }
  .subtitle { font-size: clamp(21px, 5.8vw, 28px); line-height: 1.16; }
}
@media (max-width: 560px) {
  html { font-size: 14.5px; }
  h1 { font-size: clamp(38px, 8.8vw, 54px); }
  .subtitle { font-size: clamp(20px, 6.3vw, 25px); }
  .content-wrapper { padding: 30px 16px 0; }
  .site-header { padding: 12px 16px; }
}
@media (max-width: 420px) {
  html { font-size: 13.75px; }
  h1 { font-size: clamp(30px, 9.2vw, 46px); }
  .subtitle { font-size: clamp(18px, 6.6vw, 22px); }
  .content-wrapper { padding: 24px 14px 0; }
  .site-header { padding: 10px 14px; }
}
@media (max-width: 360px) {
  h1 { font-size: clamp(26px, 10.2vw, 40px); }
  .subtitle { font-size: clamp(17px, 7.2vw, 21px); }
  body { font-size: 0.88rem; }
  .site-header { padding: 8px 12px; }
}