* {
  box-sizing: border-box;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

html,
body {
  overflow-x: hidden;
}

:root {
  --ops-bg: #121a27;
  --ops-panel: rgba(22, 32, 48, 0.78);
  --ops-panel-hover: rgba(32, 46, 68, 0.92);
  --ops-line: rgba(148, 163, 184, 0.16);
  --ops-text: #e5edf8;
  --ops-muted: #91a1b8;
  --ops-blue: #6aa7ff;
  --ops-mint: #42d6a4;
  --ops-amber: #f2bd5c;
}

body,
#page_wrapper,
#inner_wrapper {
  min-height: 100vh;
  background:
    radial-gradient(circle at 18% 0%, rgba(66, 214, 164, 0.12), transparent 30rem),
    radial-gradient(circle at 82% 10%, rgba(106, 167, 255, 0.14), transparent 34rem),
    linear-gradient(180deg, #182333 0%, var(--ops-bg) 60%, #101722 100%) !important;
}

.container {
  width: min(100%, 1840px) !important;
  max-width: none !important;
  padding: 2rem 3rem 2.5rem;
  overflow-x: hidden;
}

#information-widgets {
  position: relative;
  margin: 0 !important;
  padding: 1.25rem 0 1.75rem !important;
  border: 0 !important;
}

#information-widgets::before {
  content: "Sealed Market Ops";
  display: block;
  color: var(--ops-text);
  font-size: 2.35rem;
  font-weight: 680;
  letter-spacing: 0;
  line-height: 1.05;
  text-wrap: balance;
}

#information-widgets::after {
  content: "Production systems, deployment surfaces, and operating consoles.";
  display: block;
  width: fit-content;
  max-width: 100%;
  margin-top: 0.6rem;
  padding: 0.45rem 0.75rem;
  border: 1px solid var(--ops-line);
  border-radius: 999px;
  color: var(--ops-muted);
  background: rgba(15, 23, 42, 0.52);
  font-size: 0.82rem;
  line-height: 1.4;
  white-space: normal !important;
  overflow-wrap: anywhere;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.18);
}

#widgets-wrap,
#information-widgets-right {
  display: none !important;
}

#services {
  display: grid !important;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
  width: 100%;
  max-width: 100%;
  margin: 0 !important;
  padding: 0;
  overflow-x: hidden;
}

.services-group {
  position: relative;
  flex: none !important;
  width: 100%;
  max-width: 100%;
  min-width: 0;
  padding: 1rem !important;
  border: 1px solid var(--ops-line);
  border-radius: 0.9rem;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.055), rgba(255, 255, 255, 0.025)),
    rgba(15, 23, 42, 0.42);
  box-shadow:
    0 18px 55px rgba(0, 0, 0, 0.22),
    inset 0 1px 0 rgba(255, 255, 255, 0.04);
}

.services-group::before {
  content: "";
  position: absolute;
  inset: 0.85rem auto auto 1rem;
  width: 0.45rem;
  height: 1.65rem;
  border-radius: 999px;
  background: var(--ops-blue);
  box-shadow: 0 0 28px rgba(106, 167, 255, 0.48);
}

.services-group:nth-child(2)::before {
  background: var(--ops-mint);
  box-shadow: 0 0 28px rgba(66, 214, 164, 0.45);
}

.services-group:nth-child(3)::before {
  background: var(--ops-amber);
  box-shadow: 0 0 28px rgba(242, 189, 92, 0.42);
}

.services-group > button {
  min-height: 2rem;
  padding-left: 0.95rem;
}

.service-group-name {
  color: var(--ops-text) !important;
  font-size: 0.9rem !important;
  font-weight: 700 !important;
  letter-spacing: 0.08em;
  line-height: 1.2;
  text-transform: uppercase;
}

.services-list {
  gap: 0.65rem;
  margin-top: 1rem !important;
}

li.service {
  min-width: 0;
}

.service-card {
  position: relative;
  min-height: 4.7rem;
  max-width: 100%;
  margin-bottom: 0 !important;
  padding: 0 !important;
  border: 1px solid rgba(148, 163, 184, 0.12);
  border-radius: 0.7rem !important;
  background: var(--ops-panel) !important;
  box-shadow:
    0 1px 0 rgba(255, 255, 255, 0.04) inset,
    0 16px 34px rgba(0, 0, 0, 0.14) !important;
  transition-property: transform, background-color, border-color, box-shadow;
  transition-duration: 180ms;
  transition-timing-function: cubic-bezier(0.2, 0, 0, 1);
}

.service-card::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: linear-gradient(110deg, rgba(255, 255, 255, 0.07), transparent 38%);
  opacity: 0;
  pointer-events: none;
  transition-property: opacity;
  transition-duration: 180ms;
}

.service-card:hover {
  transform: translateY(-2px);
  border-color: rgba(226, 232, 240, 0.24);
  background: var(--ops-panel-hover) !important;
  box-shadow:
    0 1px 0 rgba(255, 255, 255, 0.06) inset,
    0 20px 44px rgba(0, 0, 0, 0.22) !important;
}

.service-card:hover::before {
  opacity: 1;
}

.service-title {
  min-height: inherit;
}

.service-title-text {
  align-items: center !important;
  min-height: inherit;
  padding-left: 4.65rem;
}

.service-name {
  padding: 0.85rem 1rem 0.75rem 0 !important;
  color: var(--ops-text);
  font-size: 0.95rem !important;
  font-weight: 650;
  line-height: 1.2;
  text-wrap: pretty;
}

.service-description {
  margin-top: 0.25rem;
  color: var(--ops-muted) !important;
  font-size: 0.78rem !important;
  font-weight: 450 !important;
  line-height: 1.35;
  text-wrap: pretty;
}

li.service .service-card::after {
  position: absolute;
  top: 50%;
  left: 0.9rem;
  display: grid;
  width: 2.65rem;
  height: 2.65rem;
  place-items: center;
  border-radius: 0.55rem;
  color: #dbeafe;
  background:
    linear-gradient(145deg, rgba(106, 167, 255, 0.26), rgba(66, 214, 164, 0.1)),
    rgba(15, 23, 42, 0.72);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.08),
    0 10px 22px rgba(0, 0, 0, 0.2);
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.04em;
  transform: translateY(-50%);
}

li.service[data-name="Landing"] .service-card::after {
  content: "SM";
}

li.service[data-name="Mission Control"] .service-card::after {
  content: "MC";
}

li.service[data-name="Uptime Kuma"] .service-card::after {
  content: "UP";
}

li.service[data-name="Admin API Docs"] .service-card::after {
  content: "API";
}

li.service[data-name="GraphQL API"] .service-card::after {
  content: "GQL";
}

li.service[data-name="Hetzner Cloud"] .service-card::after {
  content: "HC";
  color: #d1fae5;
  background:
    linear-gradient(145deg, rgba(66, 214, 164, 0.28), rgba(20, 184, 166, 0.08)),
    rgba(15, 23, 42, 0.72);
}

li.service[data-name="Cloudflare"] .service-card::after {
  content: "CF";
  color: #ffedd5;
  background:
    linear-gradient(145deg, rgba(242, 189, 92, 0.3), rgba(249, 115, 22, 0.1)),
    rgba(15, 23, 42, 0.72);
}

li.service[data-name="Infisical"] .service-card::after {
  content: "IF";
  color: #d1fae5;
  background:
    linear-gradient(145deg, rgba(66, 214, 164, 0.26), rgba(106, 167, 255, 0.08)),
    rgba(15, 23, 42, 0.72);
}

li.service[data-name="GitHub Repository"] .service-card::after {
  content: "GH";
}

li.service[data-name="GitHub Actions"] .service-card::after {
  content: "CI";
}

#bookmarks {
  display: none !important;
}

.fixed.bottom-2.right-2 {
  opacity: 0.48;
}

@media (max-width: 1100px) {
  .container {
    padding: 1.5rem;
  }

  #services {
    grid-template-columns: 1fr;
  }

  #information-widgets::before {
    font-size: 1.9rem;
  }
}

@media (max-width: 640px) {
  .container {
    width: 100% !important;
    max-width: 100vw !important;
    padding: 1rem;
  }

  #information-widgets {
    width: calc(100vw - 2rem);
    max-width: calc(100vw - 2rem);
    padding-top: 0.5rem !important;
  }

  #information-widgets::after {
    width: auto;
  }

  .service-title-text {
    padding-left: 4.2rem;
  }

  #services,
  .services-group,
  .service-card {
    width: calc(100vw - 2rem);
    max-width: calc(100vw - 2rem);
  }
}
