/* ============================================================================
   Hub Page Styles
   ============================================================================ */
.hub-body {
  min-height: 100%;
  background-image:
    radial-gradient(1200px 520px at 8% -15%, rgba(42, 197, 140, 0.38), transparent 58%),
    radial-gradient(900px 420px at 92% -10%, rgba(46, 110, 255, 0.42), transparent 58%),
    radial-gradient(760px 360px at 50% 10%, rgba(186, 112, 255, 0.32), transparent 62%),
    linear-gradient(180deg, #d7e8ff 0%, #eef2ff 52%, #dde6ff 100%);
  background-size: cover;
  background-attachment: fixed;
}

.hub-body #app {
  min-height: 100%;
}

.hub-wrap {
  min-height: 100vh;
  padding: clamp(28px, 4vw, 64px);
  display: flex;
  flex-direction: column;
  align-items: center;
  position: relative;
}

.hub-wrap-with-header {
  padding-top: clamp(24px, 4vw, 56px);
}

.hub-background-image {
  background-image:
    radial-gradient(1200px 520px at 8% -15%, rgba(42, 197, 140, 0.38), transparent 58%),
    radial-gradient(900px 420px at 92% -10%, rgba(46, 110, 255, 0.42), transparent 58%),
    radial-gradient(760px 360px at 50% 10%, rgba(186, 112, 255, 0.32), transparent 62%),
    linear-gradient(180deg, #d7e8ff 0%, #eef2ff 52%, #dde6ff 100%);
  background-size: cover;
  background-position: center;
}

.hub-background-image::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(120deg, rgba(255, 255, 255, 0.7), rgba(255, 255, 255, 0.1)),
    repeating-linear-gradient(
      45deg,
      rgba(31, 36, 48, 0.04) 0 1px,
      transparent 1px 8px
    );
  mix-blend-mode: soft-light;
  pointer-events: none;
}

.hub-wrap::before,
.hub-wrap::after {
  content: "";
  position: absolute;
  z-index: 0;
  pointer-events: none;
  opacity: 0.55;
}

.hub-wrap::before {
  width: 420px;
  height: 420px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(58, 111, 247, 0.18), transparent 70%);
  top: -140px;
  left: -140px;
}

.hub-wrap::after {
  width: 520px;
  height: 520px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(127, 174, 255, 0.18), transparent 70%);
  bottom: -220px;
  right: -160px;
}

/* Logo */
.main-logo {
  position: static;
  width: clamp(130px, 12vw, 190px);
  height: auto;
  margin-bottom: 22px;
  filter: drop-shadow(0 18px 30px rgba(35, 44, 62, 0.12));
  z-index: 1;
}

/* Title */
.hub-title {
  margin: 0 0 10px;
  font-size: clamp(30px, 3.8vw, 44px);
  line-height: 1.05;
  font-weight: 600;
  letter-spacing: -0.03em;
  text-align: center;
  z-index: 1;
  animation: fade-up 0.8s ease both;
}

.hub-description {
  margin: 0 0 44px;
  font-size: clamp(14px, 2.2vw, 18px);
  font-weight: 400;
  line-height: 1.5;
  color: var(--muted);
  text-align: center;
  max-width: 780px;
  z-index: 1;
  animation: fade-up 0.9s ease both;
  animation-delay: 0.05s;
}

/* Grid */
.hub-grid {
  width: min(1180px, 100%);
  display: grid;
  grid-template-columns: repeat(2, minmax(280px, 1fr));
  gap: 26px;
  align-items: stretch;
  z-index: 1;
}

.hub-empty {
  margin-top: 28px;
  padding: 16px 22px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.9);
  border: 1px solid rgba(35, 44, 62, 0.12);
  color: rgba(31, 36, 48, 0.7);
  font-weight: 600;
}
