/* Page: BOH Circle & Welcome screen */
html:has(.boh-circle),
body:has(.boh-circle) {
  height: 100%;
  overflow: hidden;
}

body:has(.boh-circle) .boh-shell {
  height: 100vh;
  height: 100dvh;
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

body:has(.boh-circle) .boh-shell__main {
  flex: 1;
  overflow: hidden;
  padding-left: 0;
  padding-right: 0;
}

html:has(.boh-welcome),
body:has(.boh-welcome) {
  height: 100%;
  overflow: hidden;
}

body:has(.boh-welcome) .boh-shell {
  height: 100vh;
  height: 100dvh;
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

body:has(.boh-welcome) .boh-shell__main {
  flex: 1;
  overflow: hidden;
  padding-left: 0;
  padding-right: 0;
}

.boh-circle {
  display: flex;
  flex-direction: column;
  height: 100%;
}

.boh-circle__header {
  padding: 2.5rem var(--boh-space-screen) 0.625rem var(--boh-space-screen);
  flex-shrink: 0;
  background-color: var(--boh-color-bg);
  position: relative;
  z-index: 10;
}

.boh-circle__header-content {
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
}

.boh-circle__header-back {
  padding: 0.5rem;
  margin-left: -0.5rem;
  color: var(--boh-color-primary);
  position: absolute;
  left: 0;
  display: flex;
  align-items: center;
  text-decoration: none;
  background: none;
  border: none;
  cursor: pointer;
}

.boh-circle__header-back svg {
  width: 1.5rem;
  height: 1.5rem;
}

.boh-circle__header-title {
  font-family: var(--boh-font-sans);
  font-weight: var(--boh-font-weight-700);
  color: var(--boh-color-primary);
  font-size: var(--boh-font-size-navtitle);
  margin: 0;
}

.boh-circle__header-close {
  padding: 0.5rem;
  margin-right: -0.5rem;
  color: var(--boh-color-primary);
  position: absolute;
  right: 0;
  display: flex;
  align-items: center;
  text-decoration: none;
  background: none;
  border: none;
  cursor: pointer;
}

.boh-circle__header-close svg {
  width: 1.5rem;
  height: 1.5rem;
}

.boh-circle__main {
  flex: 1;
  overflow-y: auto;
  padding: 1rem var(--boh-space-screen);
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.boh-circle__main::-webkit-scrollbar {
  display: none;
}

.boh-circle__main {
  -ms-overflow-style: none;
  scrollbar-width: none;
}

/* Card Visual for points */
.boh-circle__card-visual {
  width: 100%;
  aspect-ratio: 2/1;
  border-radius: 20px;
  padding: 1.25rem;
  position: relative;
  overflow: hidden;
  box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  box-sizing: border-box;
  background-color: rgb(21 54 47 / 1);
}

.boh-circle__card-blob {
  position: absolute;
  right: -2.5rem;
  bottom: -2.5rem;
  width: 12rem;
  height: 12rem;
  border-radius: 9999px;
  filter: blur(24px);
  opacity: 0.5;
  background-color: #2A5A50;
  z-index: 0;
}

.boh-circle__card-star {
  position: absolute;
  right: 1.25rem;
  top: 1.25rem;
  z-index: 10;
}

.boh-circle__card-star svg {
  width: 1.5rem;
  height: 1.5rem;
  fill: #C9B79A;
}

.boh-circle__card-eyebrow {
  color: #C9B79A;
  font-size: 10px;
  font-weight: var(--boh-font-weight-700);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin: 0 0 0.125rem 0;
  position: relative;
  z-index: 10;
}

.boh-circle__card-name {
  color: var(--boh-color-surface);
  font-family: var(--boh-font-serif);
  font-size: 22px;
  font-weight: var(--boh-font-weight-600);
  margin: 0;
  position: relative;
  z-index: 10;
}

.boh-circle__card-bottom {
  position: relative;
  z-index: 10;
}

.boh-circle__card-desc-guest {
  color: rgba(255, 255, 255, 0.8);
  font-size: 13px;
  margin: 0;
}

.boh-circle__points-val {
  color: var(--boh-color-surface);
  font-weight: var(--boh-font-weight-800);
  font-size: 28px;
  line-height: 1;
  margin: 0;
}

.boh-circle__points-row {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  margin-top: 0.25rem;
}

.boh-circle__points-label {
  color: #C9B79A;
  font-size: 10px;
  font-weight: var(--boh-font-weight-700);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin: 0;
}

.boh-circle__points-progress-bg {
  width: 100%;
  height: 4px;
  background-color: rgba(255, 255, 255, 0.2);
  border-radius: 9999px;
  margin-top: 0.5rem;
  overflow: hidden;
}

.boh-circle__points-progress-bar {
  height: 100%;
  background-color: #C9B79A;
  border-radius: 9999px;
}

/* Tier Selection Grid */
.boh-circle__section-title {
  color: var(--boh-color-primary);
  font-weight: var(--boh-font-weight-700);
  font-size: 15px;
  margin: 0 0 0.75rem 0;
}

.boh-circle__tiers-row {
  display: grid;
  gap: 0.5rem;
  grid-template-columns: 1fr 1fr;
}

.boh-circle__tier-btn {
  flex: 1;
  border-radius: 12px;
  padding: 0.75rem;
  text-align: center;
  border: none;
  cursor: pointer;
  box-shadow: var(--boh-shadow-card);
  transition: transform 0.15s ease;
  box-sizing: border-box;
}

.boh-circle__tier-btn--active {
  background-color: var(--boh-color-primary);
}

.boh-circle__tier-btn--inactive {
  background-color: var(--boh-color-surface);
}

.boh-circle__tier-btn:active {
  transform: scale(0.95);
}

.boh-circle__tier-label {
  font-size: 10px;
  font-weight: var(--boh-font-weight-700);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin: 0 0 0.25rem 0;
}

.boh-circle__tier-label--active {
  color: rgba(255, 255, 255, 0.7);
}

.boh-circle__tier-label--inactive {
  color: color-mix(in srgb, var(--boh-color-muted) 50%, transparent);
}

.boh-circle__tier-value {
  font-weight: var(--boh-font-weight-700);
  font-size: 12px;
  margin: 0;
}

.boh-circle__tier-value--active {
  color: var(--boh-color-surface);
}

.boh-circle__tier-value--inactive {
  color: var(--boh-color-primary);
}

/* Perks list */
.boh-circle__perks-list {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.boh-circle__perk-item {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.boh-circle__perk-icon {
  width: 1.25rem;
  height: 1.25rem;
  color: var(--boh-color-primary);
  flex-shrink: 0;
}

.boh-circle__perk-text {
  color: var(--boh-color-primary);
  font-size: 14px;
}

/* Footer Bar */
.boh-circle__footer {
  flex-shrink: 0;
  background-color: var(--boh-color-bg);
  padding: 1rem var(--boh-space-screen);
  z-index: 10;
  box-sizing: border-box;
}

.boh-circle__footer-btn {
  width: 100%;
  box-sizing: border-box;
  background-color: var(--boh-color-gold);
  color: var(--boh-color-surface);
  font-weight: var(--boh-font-weight-700);
  font-size: var(--boh-font-size-btn);
  padding: 0.875rem 0;
  border-radius: var(--boh-radius-16);
  border: none;
  cursor: pointer;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
  transition: transform 0.15s ease;
  text-align: center;
  text-decoration: none;
  display: block;
}

.boh-circle__footer-btn--primary {
  background-color: var(--boh-color-primary);
}

.boh-circle__footer-btn:active {
  transform: scale(0.98);
}

/* Bottom Sheet Modal overlay */
.boh-circle__modal-overlay {
  position: fixed;
  inset: 0;
  background-color: rgba(0, 0, 0, 0.6);
  z-index: 100;
  display: none;
  align-items: flex-end;
  padding: 0;
}

.boh-circle__modal-overlay--open {
  display: flex;
}

.boh-circle__modal-container {
  max-width: 100%;
  width: 100%;
  border-radius: 24px 24px 0 0;
  background-color: var(--boh-color-surface);
  padding: 1.5rem;
  box-sizing: border-box;
}

.boh-circle__modal-top-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 0.25rem;
}

.boh-circle__modal-title {
  font-family: var(--boh-font-serif);
  color: var(--boh-color-primary);
  font-size: 22px;
  font-weight: var(--boh-font-weight-600);
  margin: 0;
}

.boh-circle__modal-close {
  background-color: transparent;
  color: color-mix(in srgb, var(--boh-color-muted) 50%, transparent);
  border: none;
  cursor: pointer;
  padding: 0.25rem;
  display: flex;
  align-items: center;
  justify-content: center;
}

.boh-circle__modal-close svg {
  width: 1.5rem;
  height: 1.5rem;
}

.boh-circle__modal-desc {
  color: color-mix(in srgb, var(--boh-color-muted) 70%, transparent);
  font-size: 13px;
  margin: 0 0 1.25rem 0;
}

.boh-circle__modal-btn {
  width: 100%;
  background-color: var(--boh-color-bg);
  color: var(--boh-color-primary);
  font-weight: var(--boh-font-weight-700);
  font-size: 14px;
  padding: 0.875rem 0;
  border: none;
  border-radius: 12px;
  cursor: pointer;
  transition: transform 0.15s ease;
  text-align: center;
  margin-top: 1.5rem;
}

.boh-circle__modal-btn:active {
  transform: scale(0.98);
}


/* ── Welcome To Gold Page ────────────────────────────────────────────────── */

.boh-welcome {
  height: 100%;
  background-color: #15362F;
  display: flex;
  flex-direction: column;
  position: relative;
  box-sizing: border-box;
}

.boh-welcome__bg {
  position: absolute;
  inset: 0;
  opacity: 0.4;
  z-index: 0;
}

.boh-welcome__bg-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.boh-welcome__bg-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, rgba(38, 86, 77, 0.5) 0%, var(--boh-color-primary) 50%, var(--boh-color-primary) 100%);
}

.boh-welcome__header {
  padding: 2.5rem var(--boh-space-screen) 0.625rem var(--boh-space-screen);
  flex-shrink: 0;
  position: relative;
  z-index: 10;
}

.boh-welcome__time {
  color: var(--boh-color-surface);
  font-weight: var(--boh-font-weight-700);
  font-size: 15px;
}

.boh-welcome__main {
  flex: 1;
  padding: 1rem var(--boh-space-screen);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  position: relative;
  z-index: 10;
  box-sizing: border-box;
}

.boh-welcome__icon-check-box {
  width: 4rem;
  height: 4rem;
  background-color: #C9B79A;
  border-radius: 9999px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.5rem;
  box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
}

.boh-welcome__icon-check-box svg {
  width: 2rem;
  height: 2rem;
  color: var(--boh-color-primary);
}

.boh-welcome__title {
  font-family: var(--boh-font-serif);
  color: var(--boh-color-surface);
  font-size: 32px;
  font-weight: var(--boh-font-weight-600);
  margin: 0;
  text-align: center;
}

.boh-welcome__desc {
  color: rgba(255, 255, 255, 0.8);
  font-size: 14px;
  margin: 0.5rem 0 2.5rem 0;
  text-align: center;
}

/* Welcome Card Visual details (specific aspect) */
.boh-welcome__card {
  width: 100%;
  aspect-ratio: 1.6/1;
  background-color: #C9B79A;
  border-radius: 20px;
  padding: 1.5rem;
  position: relative;
  overflow: hidden;
  box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.15);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  box-sizing: border-box;
}

.boh-welcome__card-blob {
  position: absolute;
  right: -2.5rem;
  bottom: -2.5rem;
  width: 12rem;
  height: 12rem;
  border-radius: 9999px;
  filter: blur(24px);
  opacity: 0.5;
  background-color: #A87B52;
  z-index: 0;
}

.boh-welcome__card-check {
  position: absolute;
  right: 1.5rem;
  top: 1.5rem;
  z-index: 10;
}

.boh-welcome__card-check svg {
  width: 1.25rem;
  height: 1.25rem;
  color: var(--boh-color-primary);
}

.boh-welcome__card-eyebrow {
  color: rgba(38, 86, 77, 0.5);
  font-size: 10px;
  font-weight: var(--boh-font-weight-700);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin: 0;
  position: relative;
  z-index: 10;
}

.boh-welcome__card-bottom {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  position: relative;
  z-index: 10;
}

.boh-welcome__card-name {
  color: var(--boh-color-primary);
  font-family: var(--boh-font-serif);
  font-size: 20px;
  font-weight: var(--boh-font-weight-600);
  margin: 0;
}

.boh-welcome__card-number {
  color: rgba(38, 86, 77, 0.7);
  font-size: 10px;
  font-weight: var(--boh-font-weight-700);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin: 0.125rem 0 0 0;
}

.boh-welcome__card-valid-label {
  color: rgba(38, 86, 77, 0.5);
  font-size: 8px;
  font-weight: var(--boh-font-weight-700);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin: 0 0 0.125rem 0;
}

.boh-welcome__card-valid-val {
  color: var(--boh-color-primary);
  font-weight: var(--boh-font-weight-700);
  font-size: 12px;
  margin: 0;
}

/* Welcome Actions Bar */
.boh-welcome__footer {
  flex-shrink: 0;
  padding: 1.5rem var(--boh-space-screen);
  z-index: 10;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  box-sizing: border-box;
}

.boh-welcome__wallet-btn {
  width: 100%;
  box-sizing: border-box;
  background-color: var(--boh-color-surface);
  color: var(--boh-color-primary);
  font-weight: var(--boh-font-weight-700);
  font-size: var(--boh-font-size-btn);
  padding: 0.875rem 0;
  border-radius: 8px;
  border: none;
  cursor: pointer;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  transition: transform 0.15s ease;
  text-decoration: none;
}

.boh-welcome__wallet-btn:active {
  transform: scale(0.98);
}

.boh-welcome__wallet-btn svg {
  width: 1.25rem;
  height: 1.25rem;
}

.boh-welcome__explore-btn {
  width: 100%;
  box-sizing: border-box;
  background-color: transparent;
  color: var(--boh-color-surface);
  font-weight: var(--boh-font-weight-700);
  font-size: var(--boh-font-size-btn);
  padding: 0.875rem 0;
  border-radius: 8px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  transition: transform 0.15s ease;
  text-decoration: none;
}

.boh-welcome__explore-btn:active {
  transform: scale(0.98);
}

.boh-welcome__explore-btn svg {
  width: 1.25rem;
  height: 1.25rem;
}