/* Cryptobet landing page: stable header and visible CTAs.
   Scoped to .guest-body so sportsbook/admin pages are not affected. */

/* Desktop header: keep Log in on ONE line with consistent control heights. */
.guest-body .guest-header .guest-header-actions {
  display: flex;
  flex-wrap: nowrap;
  align-items: center;
  justify-content: flex-end;
  gap: 10px;
  min-width: 0;
}
.guest-body .guest-header .guest-header-actions > .btn {
  box-sizing: border-box;
  display: inline-flex !important;
  align-items: center;
  justify-content: center;
  flex: 0 0 auto !important;
  width: auto !important;
  min-width: 108px !important;
  height: 48px;
  min-height: 48px;
  padding: 0 17px;
  border-radius: 11px;
  line-height: 1.15;
  text-align: center;
  white-space: nowrap !important;
  overflow-wrap: normal !important;
  word-break: normal !important;
}
.guest-body .guest-header .guest-header-actions > .btn.primary {
  min-width: 142px !important;
}
.guest-body .guest-header .guest-header-actions > .site-language-select {
  box-sizing: border-box;
  flex: 0 0 112px;
  width: 112px;
  min-width: 0;
  height: 48px;
  min-height: 48px;
}

/* Main hero buttons: never wrap labels inside the button. */
.guest-body .guest-cta-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
}
.guest-body .guest-cta-row > .btn {
  box-sizing: border-box;
  display: inline-flex;
  justify-content: center;
  align-items: center;
  min-height: 44px;
  padding: 10px 16px;
  white-space: nowrap;
  line-height: 1.2;
  text-align: center;
}

/* Side cards: make Get started and Open account unmistakably clickable. */
.guest-body .portal-side-stack .portal-link {
  box-sizing: border-box;
  appearance: none;
  display: inline-flex !important;
  align-items: center;
  justify-content: center;
  gap: 12px;
  width: fit-content;
  max-width: 100%;
  min-height: 39px;
  margin-top: 10px;
  padding: 10px 14px;
  border: 1px solid rgba(255,255,255,.48);
  border-radius: 10px;
  background: rgba(255,255,255,.10);
  color: #fff;
  font: inherit;
  font-size: 12px;
  font-weight: 750;
  line-height: 1.2;
  letter-spacing: 0;
  text-decoration: none;
  white-space: nowrap;
  cursor: pointer;
  opacity: 1;
  position: relative;
  z-index: 2;
  transition: background-color .15s ease, border-color .15s ease, transform .15s ease;
}
.guest-body .portal-side-stack .portal-link::after {
  content: '→';
  display: inline-block;
  font-size: 16px;
  line-height: 1;
  transition: transform .15s ease;
}
.guest-body .portal-rewards .portal-link {
  background: #c4f843;
  border-color: #c4f843;
  color: #10151e;
}
.guest-body .portal-deposit .portal-link {
  background: rgba(255,255,255,.13);
  border-color: rgba(255,255,255,.46);
  color: #fff;
}
.guest-body .portal-side-stack .portal-link:hover {
  transform: translateY(-1px);
}
.guest-body .portal-rewards .portal-link:hover {
  background: #d3ff66;
  border-color: #d3ff66;
}
.guest-body .portal-deposit .portal-link:hover {
  background: rgba(255,255,255,.22);
  border-color: rgba(255,255,255,.72);
}
.guest-body .portal-side-stack .portal-link:hover::after {
  transform: translateX(3px);
}
.guest-body .portal-side-stack .portal-link:focus-visible,
.guest-body .guest-header .guest-header-actions > .btn:focus-visible,
.guest-body .guest-cta-row > .btn:focus-visible {
  outline: 2px solid #c4f843;
  outline-offset: 3px;
}
.guest-body.lang-rtl .portal-side-stack .portal-link::after,
.guest-body[dir='rtl'] .portal-side-stack .portal-link::after {
  content: '←';
}

/* Tablet: don't let the language selector squeeze authentication buttons. */
@media (max-width: 740px) {
  .guest-body .guest-header .guest-header-actions { gap: 7px; }
  .guest-body .guest-header .guest-header-actions > .site-language-select {
    flex: 0 0 79px;
    width: 79px;
    height: 43px;
    min-height: 43px;
  }
  .guest-body .guest-header .guest-header-actions > .btn {
    min-width: 83px !important;
    min-height: 43px;
    height: 43px;
    padding: 0 11px;
    font-size: 12px;
  }
  .guest-body .guest-header .guest-header-actions > .btn.primary {
    min-width: 118px !important;
  }
}

/* Small phones: actions wrap as a whole row instead of breaking words. */
@media (max-width: 480px) {
  .guest-body .guest-header {
    flex-wrap: wrap;
    gap: 12px;
  }
  .guest-body .guest-header .guest-header-actions {
    width: 100%;
    justify-content: space-between;
    gap: 7px;
  }
  .guest-body .guest-header .guest-header-actions > .site-language-select {
    flex: 0 0 67px;
    width: 67px;
    min-width: 0;
    height: 42px;
    min-height: 42px;
  }
  .guest-body .guest-header .guest-header-actions > .btn,
  .guest-body .guest-header .guest-header-actions > .btn.primary {
    min-width: 0 !important;
    flex: 1 1 auto !important;
    padding: 0 9px;
    min-height: 42px;
    height: 42px;
  }
  .guest-body .guest-cta-row > .btn {
    flex: 1 1 auto;
  }
}

@media (prefers-reduced-motion: reduce) {
  .guest-body .portal-side-stack .portal-link,
  .guest-body .portal-side-stack .portal-link::after {
    transition: none;
  }
}
