/* hub: the fiz first screen with its payout plate split into two doors */

.hdr__logo { grid-column: 2; }

.hub__text { container-type: inline-size; }
.hub__text h1 { font-size: clamp(34px, 3.2vw, 46px); font-size: min(64px, 7.2cqi); }
.hub__text .hub__slogan { margin-bottom: 12px; font-weight: 600; font-size: 22px; line-height: 1.25; color: #fff; }

.doors {
  position: absolute;
  right: 24px;
  bottom: 24px;
  z-index: 2;
  width: 424px;
  display: grid;
  gap: 12px;
}

.door {
  position: relative;
  padding: 26px 28px 24px 32px;
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: center;
  column-gap: 16px;
  border-radius: var(--radius);
  background: var(--crimson-field);
  box-shadow: 0 28px 56px -24px rgba(0, 0, 0, 0.6);
  text-decoration: none;
  transition: box-shadow 0.3s linear, transform 0.15s ease-out;
}
.door:hover { box-shadow: 0 28px 56px -24px rgba(0, 0, 0, 0.6), inset 0 0 0 1px rgba(255, 255, 255, 0.28); }
.door:active { transform: translateY(1px); }
.door:focus-visible { border-radius: var(--radius); }

.door__name {
  font-weight: 600;
  font-size: 30px;
  line-height: 1;
  letter-spacing: -0.02em;
}

.door__go {
  width: 44px;
  height: 44px;
  padding: 11px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.16);
  fill: none; stroke: #fff; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round;
  transition: background-color 0.3s linear, transform 0.3s var(--ease);
}
.door:hover .door__go { background: rgba(255, 255, 255, 0.24); transform: translateX(3px); }

.door__note {
  grid-column: 1 / -1;
  margin-top: 18px;
  padding-top: 16px;
  border-top: 1px solid rgba(255, 255, 255, 0.26);
  font-size: 15px;
  line-height: 1.35;
  color: rgba(255, 255, 255, 0.86);
  text-wrap: pretty;
}
.door__note strong { font-weight: 600; color: #fff; white-space: nowrap; }

@media (max-width: 1100px) {
  .doors { width: 400px; }
  .door { padding: 22px 24px 22px 28px; }
}

@media (max-width: 900px) {
  .hdr__logo { grid-column: auto; }
  .doors { position: relative; right: auto; bottom: auto; width: auto; margin: 0 8px; gap: 10px; }
  .hub__text h1 { font-size: clamp(32px, 7vw, 48px); }
  .hub__br { display: none; }
}

@media (max-width: 767px) {
  .doors { margin: 0; }
  .door { padding: 20px 20px 20px 22px; }
  .door__name { font-size: clamp(20px, 6.6vw, 26px); white-space: nowrap; }
  .door__go { width: 40px; height: 40px; padding: 10px; }
  .door__note { margin-top: 14px; padding-top: 14px; }
}

@media (max-width: 380px) {
  .door { padding: 20px 16px 20px 18px; column-gap: 12px; }
}

@media (prefers-reduced-motion: reduce) {
  .door, .door__go { transition: none; }
}
