.hub {
  min-height: 100vh;
  background: radial-gradient(ellipse at 50% -10%, #25396f, transparent 49%), var(--night);
  color: #fff;
}

.hub-width { width: min(900px, calc(100% - 36px)); margin-inline: auto; }
.hub-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  min-height: 75px;
  border-bottom: 1px solid #ffffff19;
}

.hub-nav {
  display: flex;
  gap: 4px;
  padding: 4px;
  border: 1px solid #ffffff1c;
  border-radius: 100px;
  background: #0a122754;
}

.hub-nav a,
.hub-header .lang { font-size: 14px; line-height: 1.5; padding: 7px 13px; border-radius: 100px; }
.hub-nav a:hover,
.hub-nav a:focus-visible,
.hub-header .lang:hover { background: #ffffff1d; }

.hub-intro { padding: 46px 0 32px; text-align: center; }
.hub-intro .hub-icon { margin: 0 auto 16px; border: 1px solid #ffffff26; border-radius: 19px; }
.hub-intro h1 { font-size: clamp(34px, 5.8vw, 61px); }
.hub-intro p { margin-top: 8px; color: #c9d3ec; }

.hub-panel {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(155px, 35%);
  align-items: stretch;
  overflow: hidden;
  min-height: 246px;
  margin-top: 16px;
  border: 1px solid #9db6ff2d;
  border-radius: 26px;
  background: linear-gradient(140deg, #152241, #101a31);
}

.hub-copy { padding: clamp(19px, 4vw, 35px); }
.hub-copy h2 { font-size: clamp(24px, 4vw, 35px); }
.hub-copy p { margin-top: 8px; color: #c9d3ec; font-size: 16px; }
.hub-actions { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 19px; }
.hub-action {
  display: inline-flex;
  align-items: center;
  justify-content: space-between;
  gap: 9px;
  min-height: 44px;
  padding: 8px 13px;
  border: 1px solid #b5c9fc45;
  border-radius: 12px;
  font-size: 14px;
  font-weight: 700;
  line-height: 1.4;
  background: #1c2d52;
}

.hub-action:hover { background: #263b68; }
.hub-primary { border-color: var(--gold); background: var(--gold); color: var(--navy); }
.hub-primary:hover { background: #ffcf62; }
.hub-arrow { font-size: 18px; line-height: 1; }
.hub-art {
  position: relative;
  overflow: hidden;
  min-height: 215px;
  background: radial-gradient(ellipse at 50% 115%, #314b9c, transparent 72%);
}

.hub-art img {
  position: absolute;
  inset-block-start: 28px;
  inset-inline-start: 50%;
  width: min(71%, 191px);
  height: auto;
  border: 5px solid #090f21;
  border-radius: 22px;
  transform: translateX(-50%) rotate(-8deg);
  box-shadow: 0 12px 32px #050a17aa;
}

[dir="rtl"] .hub-art img { transform: translateX(50%) rotate(8deg); }
.hub-footer { display: flex; justify-content: center; flex-wrap: wrap; gap: 9px 20px; padding: 30px 0 38px; color: #c9d3ec; font-size: 14px; }
.hub-footer a:hover { color: #fff; text-decoration: underline; }

@media (max-width: 600px) {
  .hub-width { width: calc(100% - 24px); }
  .hub-header { gap: 6px; min-height: 64px; }
  .hub-header .brand { gap: 3px; }
  .hub-header .brand b { font-size: 20px; }
  .hub-header .brand img { width: 28px; height: 28px; }
  .hub-nav a, .hub-header .lang { padding-inline: 7px; font-size: 13px; }
  .hub-intro { padding: 33px 0 15px; }
  .hub-panel { grid-template-columns: minmax(0, 1fr) minmax(85px, 29%); border-radius: 20px; }
  .hub-copy p { font-size: 14px; }
  .hub-actions { flex-direction: column; align-items: flex-start; }
  .hub-action { font-size: 13px; }
  .hub-art img { top: 43px; width: 83%; border-width: 3px; border-radius: 13px; }
}
