/* Shared shell for all /info/* — theme + layout + site-pages (same header/nav as index) */

body.page-info {
  color: var(--text-primary);
}

body.page-info > main,
body.page-info .si-hub-main {
  position: relative;
  z-index: 1;
}

body.page-info .si-hub-main {
  padding-top: var(--nav-h);
}

body.page-info .page-title {
  color: var(--text-primary);
}

body.page-info .page-subtitle {
  color: color-mix(in srgb, var(--text-primary) 78%, transparent);
}

body.page-info .hero-brand-mark.theme-brand-logo,
body.page-info .si-hub-hero__bg-mark.hero-brand-mark {
  background-image: var(--theme-brand-logo-image);
  background-repeat: no-repeat;
  background-position: center;
  background-size: contain;
}

/* info/server-info.html — hub: theme + index.css (.card, .btn-primary), same vibe as home */

.si-hub-main {
  position: relative;
  z-index: 1;
  flex: 1;
  min-width: 0;
  padding-bottom: clamp(48px, 9vw, 88px);
}

/* Hero — logo ca watermark + titlu ca section-title din index */
.si-hub-hero {
  position: relative;
  text-align: center;
  padding: clamp(48px, 8vw, 80px) 16px clamp(20px, 3.5vw, 36px);
  overflow: hidden;
}

.si-hub-hero__bg-mark {
  position: absolute;
  left: 50%;
  top: 42%;
  transform: translate(-50%, -50%);
  width: min(520px, 96vw);
  height: clamp(120px, 28vw, 200px);
  opacity: 0.2;
  pointer-events: none;
  z-index: 0;
  filter: drop-shadow(0 0 40px color-mix(in srgb, var(--accent) 40%, transparent));
}

.si-hub-hero .si-hub-section-title,
.si-hub-hero .si-hub-section-lead {
  position: relative;
  z-index: 1;
}

.si-hub-section-title {
  font-family: var(--font-display);
  font-size: clamp(1.85rem, 4.2vw, 2.75rem);
  font-weight: 900;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--text-primary);
  margin: 0 0 12px;
  line-height: 1.1;
  text-shadow:
    0 0 48px color-mix(in srgb, var(--accent-glow) 65%, transparent),
    0 2px 24px rgba(0, 0, 0, 0.45);
}

.si-hub-section-lead {
  margin: 0 auto;
  max-width: 520px;
  color: color-mix(in srgb, var(--text-primary) 78%, transparent);
  font-size: 0.98rem;
  line-height: 1.75;
}

/* Grid — carduri theme (.card din theme.css) */
.si-hub-grid-wrap {
  position: relative;
  z-index: 1;
}

.si-hub-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(16px, 2.5vw, 24px);
}

@media (max-width: 720px) {
  .si-hub-grid {
    grid-template-columns: 1fr;
  }
}

.si-hub-card.card {
  display: flex;
  flex-direction: column;
  gap: clamp(14px, 2vw, 20px);
  padding: clamp(20px, 3vw, 28px);
  margin: 0;
  min-height: 100%;
}

.si-hub-card.card:hover {
  border-color: var(--accent-border);
  box-shadow: var(--shadow-glow);
}

.si-hub-card__top {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  min-width: 0;
}

.si-hub-card__icon {
  flex: 0 0 auto;
  width: 46px;
  height: 46px;
  display: grid;
  place-items: center;
  border-radius: var(--radius-sm);
  font-size: 1.1rem;
  color: var(--accent);
  border: 1px solid var(--accent-border);
  background: var(--accent-dim);
  box-shadow: 0 0 20px color-mix(in srgb, var(--accent-glow) 35%, transparent);
}

.si-hub-card__name {
  margin: 0 0 8px;
  font-family: var(--font-display);
  font-size: clamp(0.88rem, 1.8vw, 1.05rem);
  font-weight: 900;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent);
  text-shadow: 0 0 24px var(--accent-glow);
  line-height: 1.2;
}

.si-hub-card__desc {
  margin: 0;
  font-size: 0.9rem;
  line-height: 1.55;
  color: color-mix(in srgb, var(--text-primary) 72%, transparent);
}

/* Hub card CTA — theme .btn-primary sizing only */
.si-hub-card__btn.btn.btn-primary {
  width: 100%;
  margin-top: auto;
  justify-content: center;
  text-decoration: none;
}

/* Quick rules — rânduri .card */
.si-hub-rules {
  margin-top: clamp(28px, 5vw, 48px);
}

.si-hub-rules__title {
  margin: 0 0 18px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 12px;
  font-family: var(--font-display);
  font-size: clamp(1rem, 2.2vw, 1.2rem);
  font-weight: 900;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text-primary);
}

.si-hub-rules__title i {
  color: var(--accent);
  text-shadow: 0 0 20px var(--accent-glow);
}

.si-hub-rules__list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 12px;
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
}

.si-hub-rule.card {
  margin: 0;
  padding: 14px 20px;
  text-align: center;
  font-size: 0.9rem;
  font-weight: 600;
  line-height: 1.45;
  color: var(--text-primary) !important;
  background:
    radial-gradient(900px 420px at 50% 0%, rgba(255, 122, 24, 0.08), transparent 55%),
    linear-gradient(180deg, rgba(24, 21, 29, 0.96), rgba(16, 14, 20, 0.88)) !important;
  border-color: rgba(255, 255, 255, 0.10) !important;
}

.si-hub-rule.card:hover {
  border-color: var(--accent-border);
}
