* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

/* ─── Gradient Background ─── */
.gradientBg {
  position: fixed;
  inset: 0;
  width: 100%;
  height: 100%;
  background: #000000;
  overflow: hidden;
  pointer-events: none;
  user-select: none;
  z-index: 0;
  opacity: 0;
  visibility: hidden;
  transition: opacity 1.2s ease, visibility 1.2s ease;
}

.gradientBg.visible {
  opacity: 0.1;
  visibility: visible;
}

.gradientBg.fadeOut {
  opacity: 0;
  visibility: visible;
  transition: opacity 0.4s ease, visibility 0.4s ease;
}

.gradientBg canvas {
  width: 100%;
  height: 100%;
  position: absolute;
  inset: 0;
}

/* ─── Page Content ─── */
.pageWrapper {
  position: relative;
  z-index: 1;
  filter: blur(20px);
  transition: filter 1s ease, opacity 0.25s ease;
}

.pageWrapper.visible {
  filter: blur(0px);
}

.pageWrapper.fadeOut {
  opacity: 0;
}

/* ─── Navbar ─── */
.navbar {
  position: fixed;
  top: 16px;
  left: 16px;
  right: 16px;
  z-index: 50;
  max-width: 1152px;
  margin: 0 auto;
  background: rgba(31, 41, 55, 0.4);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
  border: 1px solid rgba(55, 65, 81, 0.3);
  border-radius: 16px;
  box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -4px rgba(0, 0, 0, 0.1);
  filter: blur(20px);
  transition: filter 1s ease, opacity 0.25s ease;
}

.navbar.visible {
  filter: none;
}

.navbar.fadeOut {
  opacity: 0;
}

.navInner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 64px;
  padding: 0 32px;
}

.navLeft {
  display: flex;
  align-items: center;
  gap: 20px;
}

.navAvatar img {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  transition: transform 0.2s ease;
  cursor: pointer;
}

.navAvatar img:hover {
  transform: scale(1.05);
}

.navSeparator {
  width: 1px;
  height: 24px;
  background: rgba(255, 255, 255, 0.1);
  margin: 0 8px;
}

.navLinks {
  display: flex;
  align-items: center;
  gap: 8px;
}

.navLink {
  display: flex;
  align-items: center;
  gap: 8px;
  color: #ffffff;
  padding: 8px 16px;
  border-radius: 8px;
  font-size: 16px;
  font-weight: 700;
  line-height: 1.5rem;
  text-decoration: none;
  transition: color 0.2s ease;
}

.navLink svg,
.navCta svg {
  flex-shrink: 0;
}

.navLink:hover {
  color: #d1d5db;
}


.navRight {
  display: flex;
  align-items: center;
  gap: 8px;
}

.navCta {
  display: flex;
  align-items: center;
  gap: 8px;
  background: #5865f2;
  color: #ffffff;
  padding: 8px 16px;
  border-radius: 8px;
  font-size: 16px;
  font-weight: 700;
  line-height: 1.5rem;
  text-decoration: none;
  transition: background 0.2s ease;
}

.navCta:hover {
  background: #4752c4;
  color: #ffffff;
}

/* Hamburger */
.navHamburger {
  display: none;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  width: 32px;
  height: 32px;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0;
}

.hamburgerLine {
  display: block;
  width: 24px;
  height: 2px;
  background: #ffffff;
  border-radius: 1px;
  transition: all 0.3s ease;
}

.hamburgerLine.open:nth-child(1) {
  transform: rotate(45deg) translate(5px, 5px);
}

.hamburgerLine.open:nth-child(2) {
  opacity: 0;
}

.hamburgerLine.open:nth-child(3) {
  transform: rotate(-45deg) translate(5px, -5px);
}

/* Mobile Menu */
.mobileMenu {
  max-height: 0;
  opacity: 0;
  overflow: hidden;
  transition: all 0.3s ease-in-out;
}

.mobileMenu.open {
  max-height: 400px;
  opacity: 1;
}

.mobileMenuInner {
  padding: 0 16px 24px 16px;
  display: flex;
  flex-direction: column;
  gap: 4px;
  border-top: 1px solid rgba(55, 65, 81, 0.3);
}

.mobileNavLink {
  display: flex;
  align-items: center;
  gap: 8px;
  color: #ffffff;
  padding: 12px 16px;
  border-radius: 8px;
  font-size: 16px;
  font-weight: 700;
  text-decoration: none;
  transition: color 0.2s ease, background 0.2s ease;
}

.mobileNavLink:hover {
  color: #d1d5db;
}

.mobileNavCta {
  display: flex;
  align-items: center;
  gap: 8px;
  background: #5865f2;
  color: #ffffff;
  padding: 12px 16px;
  border-radius: 8px;
  font-size: 16px;
  font-weight: 700;
  text-decoration: none;
  transition: background 0.2s ease;
}

.mobileNavCta:hover {
  background: #4752c4;
  color: #ffffff;
}

html {
  height: 100%;
  background-color: #000000;
  display: flex;
  flex-direction: column;
}

body {
  background-color: #000000;
  color: #e0e0e0;
  font-size: 14px;
  font-weight: 400;
  font-family: 'Geist', -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Roboto',
    'Helvetica Neue', 'Ubuntu', sans-serif;
  justify-content: center;
  line-height: 1.6;
  text-align: center;
  transition: opacity 0.3s;
  min-height: 100vh;
}

h1,
h2,
h3,
h4,
h5,
h6,
button,
footer,
input,
textarea,
.copyright,
.button {
  font-family: 'Geist', -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Roboto',
    'Helvetica Neue', 'Ubuntu', sans-serif;
  line-height: 125%;
}

a {
  color: #8b9cf7;
  text-decoration: none;
  transition: color 0.2s ease;
}

a:hover {
  color: #a8b4f9;
}

/* ─── Page Container ─── */
.pageContainer {
  padding: 40px 50px;
  background: rgba(10, 10, 10, 0.85);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 16px;
  max-width: 900px;
  width: 100%;
  margin: 100px auto 60px auto;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.4);
}

/* ─── Headline ─── */
.headline {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  margin-bottom: 8px;
}

.avatar {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  object-fit: cover;
  box-shadow: 0 0 20px rgba(88, 101, 242, 0.3);
  border: 2px solid rgba(88, 101, 242, 0.4);
}

.headlineText {
  display: flex;
  align-items: center;
  gap: 12px;
}

.brandName {
  font-size: 32px;
  font-weight: 800;
  color: #ffffff;
  letter-spacing: -0.5px;
}

.statusBadge {
  background: rgba(88, 101, 242, 0.15);
  border: 1px solid rgba(88, 101, 242, 0.3);
  border-radius: 20px;
  padding: 4px 14px;
  font-size: 13px;
  font-weight: 600;
  text-transform: uppercase;
  color: #8b9cf7;
  letter-spacing: 0.5px;
}

/* ─── Report Container ─── */
.reportContainer {
  margin: 30px auto;
  width: 100%;
  min-height: 600px;
  background: rgba(255, 255, 255, 0.15);
  border: 1px solid rgba(255, 255, 255, 0.3);
  border-radius: 16px;
  padding: 24px;
}

/* ─── Status Container (each service) ─── */
.statusContainer {
  background: rgba(255, 255, 255, 0.08);
  /* Slightly more visible for blur */
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 12px;
  padding: 24px;
  text-align: left;
  transition: border-color 0.3s ease, background 0.3s ease;
}

.statusContainer.fade-in-final {
  opacity: 0;
  animation: cardFade 0.6s ease both;
}

@keyframes cardFade {
  from {
    opacity: 0;
  }

  to {
    opacity: 1;
  }
}



.statusContainer:hover {
  border-color: rgba(255, 255, 255, 0.12);
  background: rgba(255, 255, 255, 0.06);
}

/* ─── Skeleton Placeholders ─── */
.skeletonStream {
  height: 34px;
  border-radius: 4px;
  background: linear-gradient(90deg, rgba(255, 255, 255, 0.04) 25%, rgba(255, 255, 255, 0.08) 50%, rgba(255, 255, 255, 0.04) 75%);
  background-size: 200% 100%;
  animation: shimmer 1.5s ease infinite;
}

@keyframes shimmer {
  0% {
    background-position: 200% 0;
  }

  100% {
    background-position: -200% 0;
  }
}

.statusContainer+.statusContainer {
  margin-top: 16px;
}

/* ─── Status Stream (bars row) ─── */
.statusStreamContainer {
  display: flex;
  justify-content: space-between;
  gap: 3px;
}

/* ─── Status Squares ─── */
.statusSquare {
  border-radius: 4px;
  height: 32px;
  min-width: 8px;
  width: 100%;
  transition: transform 0.15s ease, filter 0.15s ease;
  cursor: pointer;
}

.statusSquare:hover {
  transform: scaleY(1.15);
  filter: brightness(1.2);
}

.statusSquare+.statusSquare {
  margin-left: 0;
}

/* ─── Section URL ─── */
.sectionUrl {
  display: none;
}

.sectionUrl a {
  color: #6b7280;
  transition: color 0.2s;
}

.sectionUrl a:hover {
  color: #8b9cf7;
}

/* ─── Status Header ─── */
.statusTitle {
  text-transform: uppercase;
  font-size: 15px;
  font-weight: 700;
  color: #ffffff;
  letter-spacing: 0.3px;
  margin: 0;
}

.statusHeader {
  display: flex;
  flex-direction: row;
  align-items: center;
  margin-bottom: 4px;
}

.statusSubtitle {
  display: flex;
  flex-direction: row;
  align-items: center;
  margin-bottom: 14px;
}

.statusHeadline {
  padding: 3px 10px;
  border-radius: 20px;
  font-size: 11px;
  font-weight: 700;
  margin-left: 12px;
  text-transform: uppercase;
  letter-spacing: 0.3px;
}

.statusUptime {
  flex: 1;
  text-align: right;
  color: #6b7280;
  font-size: 12px;
  font-weight: 500;
}

.uptimeContainer {
  color: #6b7280;
  display: flex;
  margin-top: 8px;
  font-size: 12px;
}

.uptimeContainer hr {
  border: none;
  border-top: 1px dashed rgba(255, 255, 255, 0.1);
  width: 100%;
  margin: 10px;
}

/* ─── Status Colors ─── */
.success {
  background: linear-gradient(135deg, #22c55e, #16a34a);
  color: #fff;
}

.failure {
  background: linear-gradient(135deg, #ef4444, #dc2626);
  color: #fff;
}

.nodata {
  background: rgba(255, 255, 255, 0.06);
  color: #4b5563;
}

.partial {
  background: linear-gradient(135deg, #f59e0b, #d97706);
  color: #fff;
}

/* ─── Tooltip ─── */
.tooltip {
  background: rgba(20, 20, 25, 0.95);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 255, 255, 0.1);
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.5);
  border-radius: 10px;
  color: #e0e0e0;
  font-size: 12px;
  line-height: 18px;
  padding: 16px;
  position: absolute;
  text-align: left;
  z-index: 100;
  width: 240px;
  transition: opacity 0.2s;
}

.tooltip .tooltipArrow {
  position: absolute;
  bottom: 100%;
  width: 4px;
  text-align: center;
  border: 6px solid transparent;
  border-bottom-color: rgba(20, 20, 25, 0.95);
  left: 50%;
  margin-left: -3px;
}

.tooltip .tooltipDateTime {
  font-size: 12px;
  color: #6b7280;
  text-transform: uppercase;
  font-weight: 600;
  letter-spacing: 0.3px;
}

.tooltip .tooltipKey {
  color: #4b5563;
  font-size: 10px;
}

.tooltip .tooltipDescription {
  margin-top: 12px;
  font-size: 13px;
  color: #d1d5db;
}

.tooltip #tooltipStatus {
  padding: 4px 10px;
  border-radius: 20px;
  font-size: 11px;
  font-weight: bold;
  margin-top: 6px;
  display: inline-block;
  text-transform: uppercase;
  letter-spacing: 0.3px;
}

.tooltip hr {
  border: none;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  margin-top: 14px;
}

/* ─── Footer ─── */
footer {
  color: #4b5563;
  margin: 40px auto;
  font-size: 13px;
  max-width: 900px;
}

footer a {
  color: #6b7280;
  font-weight: 500;
  transition: color 0.2s;
}

footer a:hover {
  color: #8b9cf7;
}

.footerContent {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  justify-content: center;
  align-items: center;
}

.footerSeparator {
  color: #374151;
}

/* ─── Responsive ─── */
@media screen and (max-width: 800px) {

  /* Navbar responsive */
  .navSeparator,
  .navLinks,
  .navRight {
    display: none;
  }

  .navHamburger {
    display: flex;
  }

  .navbar {
    top: 8px;
    left: 8px;
    right: 8px;
  }

  .pageContainer {
    padding: 24px 16px;
    margin: 90px auto 40px auto;
    border-radius: 12px;
  }

  .headline {
    flex-direction: column;
    gap: 12px;
  }

  .headlineText {
    flex-direction: column;
    gap: 8px;
  }

  .brandName {
    font-size: 28px;
  }

  .statusHeader,
  .statusSubtitle {
    display: block;
  }

  .statusHeadline,
  .sectionUrl,
  .statusUptime {
    margin-left: 0;
    margin-top: 8px;
    text-align: left;
  }

  .statusTitle,
  .statusHeadline {
    display: inline-block;
  }

  .statusSquare+.statusSquare {
    margin-left: 0;
  }

  .statusSquare {
    min-width: 4px;
    width: 100%;
  }

  .statusStreamContainer {
    gap: 1px;
  }

  .footerContent {
    flex-direction: column;
    gap: 4px;
  }

  .footerSeparator {
    display: none;
  }
}