* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
  font-family: Inter, Arial, Helvetica, sans-serif;
}

body {
  min-height: 100vh;
  overflow: hidden;
  color: #f2f2f2;
  background: #05070a;
}

.background-image {
  position: fixed;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: brightness(45%) saturate(90%);
  z-index: 0;
}

body::after {
  content: "";
  position: fixed;
  inset: 0;
  background:
    radial-gradient(
      circle at center,
      rgba(255, 255, 255, 0.06),
      transparent 35%
    ),
    linear-gradient(to bottom, rgba(0, 0, 0, 0.15), rgba(0, 0, 0, 0.75));
  z-index: 1;
}

.header-container,
.footer-container {
  position: fixed;
  left: 0;
  right: 0;
  z-index: 3;
  display: flex;
  justify-content: center;
}

.header-container {
  top: 1.5rem;
}

.footer-container {
  bottom: 1.5rem;
}

.header,
.footer {
  background: rgba(10, 12, 16, 0.45);
  border: 1px solid rgba(255, 255, 255, 0.12);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.35);
}

.header {
  padding: 0.9rem 2.5rem;
  border-radius: 999px;
  text-align: center;
}

.header-heading {
  font-size: 1.35rem;
  font-weight: 600;
  letter-spacing: -0.03em;
}

.status {
  display: flex;
  gap: 0.45rem;
  align-items: center;
  justify-content: center;
  margin-top: 0.25rem;
  font-size: 0.85rem;
}

.status-visual {
  width: 0.5rem;
  height: 0.5rem;
  background: #32d296;
  box-shadow: 0 0 14px #32d296;
  border-radius: 50%;
}

.status-text {
  color: #32d296;
}

.main-container {
  position: relative;
  z-index: 2;
  min-height: 100vh;
  display: grid;
  place-items: center;
  padding: 7rem 1.5rem 5rem;
}

.main {
  width: min(760px, 92vw);
  min-height: 390px;
  padding: 3rem;
  border-radius: 2rem;
  background: rgba(10, 12, 16, 0.48);
  border: 1px solid rgba(255, 255, 255, 0.14);
  backdrop-filter: blur(22px);
  -webkit-backdrop-filter: blur(22px);
  box-shadow: 0 30px 90px rgba(0, 0, 0, 0.45);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.main-header {
  text-align: center;
  margin-bottom: 2rem;
}

.main-heading {
  font-size: clamp(2.2rem, 5vw, 4rem);
  font-weight: 700;
  letter-spacing: -0.06em;
}

.main-subheading {
  margin-top: 0.35rem;
  font-size: 1rem;
  opacity: 0.75;
}

.apps {
  width: auto;
  display: grid;
  grid-template-columns: repeat(5, 0.25fr);
  gap: 1.25rem;
  justify-items: center;
}

.app {
  width: 96px;
  aspect-ratio: 1/1;
  height: auto;
  margin: 0;
  border-radius: 1.5rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.65rem;
  text-decoration: none;
  background: rgba(255, 255, 255, 0.035);
  border: 1px solid rgba(255, 255, 255, 0.055);
  transition:
    transform 160ms ease,
    background 160ms ease,
    border-color 160ms ease;
  border-radius: 1.4rem;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.08),
    0 12px 35px rgba(0, 0, 0, 0.18);
}

.app:hover {
  transform: translateY(-3px) scale(1.03);
  background: rgba(255, 255, 255, 0.085);
  border-color: rgba(255, 255, 255, 0.14);
}

.app-image {
  width: 48px;
  height: 48px;
  object-fit: contain;
  filter: drop-shadow(0 8px 14px rgba(0, 0, 0, 0.35));
  transition: transform 0.18s ease;
}

.app:hover .app-image {
  transform: scale(1.08);
}

.app-name {
  color: #f2f2f2;
  font-size: 0.9rem;
  opacity: 0.9;
  font-size: 0.9rem;
  font-weight: 500;
  opacity: 0.88;
  text-shadow: 0 2px 8px rgba(0, 0, 0, 0.45);
}

.footer {
  padding: 0.7rem 1.25rem;
  border-radius: 999px;
  font-size: 0.85rem;
  opacity: 0.85;
}

.copyright {
  text-align: center;
}

@media (max-width: 700px) {
  .header {
    width: auto;
    min-width: 48vw;
    padding: 1rem 1.5rem;
  }

  .header-heading {
    font-size: 1.35rem;
  }

  .main-container {
    width: 100vw;
    padding: 0;
    padding-top: 0.5rem;
  }

  .main {
    width: min(94vw, 430px);
    min-height: 38svh;
    padding: 2.8rem 1.4rem;
  }

  .main-heading {
    font-size: clamp(2.5rem, 10vw, 3.4rem);
  }

  .main-subheading {
    font-size: 1rem;
  }

  .apps {
    width: 100%;
    max-width: 340px;
    grid-template-columns: repeat(3, 1fr);
    gap: 0.9rem;
  }

  .app {
    width: 100%;
    max-width: 92px;
    aspect-ratio: 1 / 1;
  }

  .app-image {
    width: 44px;
    height: 44px;
  }

  .app-name {
    font-size: 0.78rem;
  }

  .footer {
    min-width: 48vw;
    padding: 0.8rem 1.2rem;
    font-size: 0.8rem;
  }
}

@media (max-width: 360px) {
  .apps {
    grid-template-columns: repeat(2, minmax(82px, 1fr));
  }

  .app {
    width: 82px;
  }
}
