.gd-homepage-gate {
  position: fixed;
  inset: 0;
  z-index: 999999;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.25rem;
  box-sizing: border-box;
}

.gd-homepage-gate[hidden] {
  display: none !important;
}

.gd-homepage-gate__backdrop {
  position: absolute;
  inset: 0;
  background-color: #0b1c2c;
  background-size: cover;
  background-position: center;
  filter: brightness(0.45);
}

.gd-homepage-gate__panel {
  position: relative;
  z-index: 1;
  width: min(420px, 100%);
  max-height: calc(100vh - 2.5rem);
  overflow: auto;
  background: #fff;
  border-radius: 10px;
  box-shadow: 0 16px 48px rgba(0, 0, 0, 0.35);
  padding: 1.25rem 1.25rem 1.5rem;
  box-sizing: border-box;
}

.gd-homepage-gate__hero {
  margin: -1.25rem -1.25rem 1rem;
  border-radius: 10px 10px 0 0;
  overflow: hidden;
  background: #0b1c2c;
  aspect-ratio: 16 / 10;
}

.gd-homepage-gate__hero img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.gd-homepage-gate__title {
  margin: 0 0 0.65rem;
  font-size: 1.25rem;
  line-height: 1.3;
  color: #0b1c2c;
  text-align: center;
}

.gd-homepage-gate__hint {
  margin: 0 0 1.15rem;
  font-size: 0.95rem;
  line-height: 1.45;
  color: rgba(11, 28, 44, 0.75);
  text-align: center;
}

.gd-homepage-gate__actions {
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
}

.gd-homepage-gate__btn {
  display: block;
  width: 100%;
  margin: 0;
  padding: 0.85rem 1rem;
  border-radius: 6px;
  border: 2px solid transparent;
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
  text-align: center;
}

.gd-homepage-gate__btn--primary {
  background: #1e6bb8;
  border-color: #1e6bb8;
  color: #fff;
}

.gd-homepage-gate__btn--primary:hover,
.gd-homepage-gate__btn--primary:focus {
  background: #185a9a;
  border-color: #185a9a;
}

.gd-homepage-gate__btn--secondary {
  background: #fff;
  border-color: #0b1c2c;
  color: #0b1c2c;
}

.gd-homepage-gate__btn--secondary:hover,
.gd-homepage-gate__btn--secondary:focus {
  background: #f3f6f9;
}

body.gd-homepage-gate-open {
  overflow: hidden;
}
