@import url('https://fonts.googleapis.com/css2?family=Oswald:wght@500;600;700&family=Inter:wght@400;500;600&family=JetBrains+Mono:wght@400;500;600&display=swap');

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

.hub-root {
  --void: #0a0908;
  --panel: #171313;
  --panel-2: #1e1919;
  --line: #322a29;
  --red: #c81e1e;
  --red-bright: #ff3b30;
  --red-dim: #5c1414;
  --text: #ece6e2;
  --text-muted: #9a8f8b;
  --text-faint: #665c59;
  font-family: 'Inter', sans-serif;
  background: linear-gradient(rgba(10, 9, 8, 0.78), rgba(10, 9, 8, 0.78)), url("img/backgroung.png") center center / cover no-repeat fixed;
  background-color: var(--void);
  color: var(--text);
  min-height: 100vh;
  position: relative;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

::selection { background: var(--red-dim); color: #fff; }

.hub-noise {
  position: fixed;
  inset: 0;
  pointer-events: none;
  opacity: 0.05;
  mix-blend-mode: overlay;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='120' height='120'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  z-index: 1;
}

.hub-glow {
  position: fixed;
  top: -20%;
  left: 50%;
  transform: translateX(-50%);
  width: 900px;
  height: 500px;
  background: radial-gradient(ellipse at center, rgba(200,30,30,0.16) 0%, rgba(200,30,30,0) 70%);
  pointer-events: none;
  z-index: 0;
}

.hub-content {
  position: relative;
  z-index: 2;
  max-width: 780px;
  margin: 0 auto;
  padding: 80px 20px 120px;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.hub-topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  flex-wrap: wrap;
  margin-bottom: 56px;
}

.hub-brand {
  display: flex;
  align-items: center;
  gap: 14px;
}

.hub-brand-icon {
  width: 46px; height: 46px;
  display: flex; align-items: center; justify-content: center;
  font-size: 22px;
  background: linear-gradient(155deg, var(--panel-2), var(--panel));
  border: 1px solid var(--red-dim);
  box-shadow: 0 2px 10px rgba(200, 30, 30, 0.25), inset 0 1px 0 rgba(255, 255, 255, 0.04);
  clip-path: polygon(7px 0, 100% 0, 100% calc(100% - 7px), calc(100% - 7px) 100%, 0 100%, 0 7px);
}
.hub-brand-text h1 {
  font-family: 'Oswald', sans-serif;
  font-weight: 700;
  font-size: 24px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin: 0;
  line-height: 1;
}
.hub-brand-text span {
  font-size: 12px;
  color: var(--text-faint);
  letter-spacing: 0.04em;
}

.hub-eyebrow {
  font-family: 'JetBrains Mono', monospace;
  font-size: 11px;
  color: var(--red-bright);
  letter-spacing: 0.12em;
  text-transform: uppercase;
  margin-bottom: 6px;
  display: block;
}

.hub-title {
  font-family: 'Oswald', sans-serif;
  font-weight: 700;
  font-size: 32px;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  margin: 0 0 32px 0;
}

.hub-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 18px;
}

.hub-card {
  position: relative;
  display: block;
  background: linear-gradient(160deg, var(--panel-2) 0%, var(--panel) 100%);
  border: 1px solid var(--line);
  clip-path: polygon(16px 0, 100% 0, 100% calc(100% - 16px), calc(100% - 16px) 100%, 0 100%, 0 16px);
  padding: 28px 22px 24px;
  text-decoration: none;
  color: inherit;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.3);
  transition: border-color 0.18s ease, transform 0.18s ease, box-shadow 0.18s ease;
}
.hub-card:hover {
  border-color: var(--red);
  transform: translateY(-3px);
  box-shadow: 0 14px 28px rgba(0, 0, 0, 0.45), 0 0 0 1px rgba(200, 30, 30, 0.15);
}
.hub-card:active { transform: translateY(-1px); }

.hub-card-icon {
  width: 52px; height: 52px;
  display: flex; align-items: center; justify-content: center;
  font-size: 26px;
  background: linear-gradient(155deg, rgba(200, 30, 30, 0.14), rgba(200, 30, 30, 0.03));
  border: 1px solid var(--red-dim);
  margin-bottom: 18px;
  clip-path: polygon(8px 0, 100% 0, 100% calc(100% - 8px), calc(100% - 8px) 100%, 0 100%, 0 8px);
}
.hub-card-name {
  font-family: 'Oswald', sans-serif;
  font-weight: 600;
  font-size: 18px;
  text-transform: uppercase;
  letter-spacing: 0.03em;
  margin: 0 0 6px 0;
  color: #ece6e2;
}
.hub-card-sub {
  font-family: 'JetBrains Mono', monospace;
  font-size: 11px;
  color: var(--text-faint);
}

@media (max-width: 560px) {
  .hub-title { font-size: 24px; }
  .hub-brand-text h1 { font-size: 18px; }
  .hub-content { padding: 60px 16px 100px; }
}
