/* bitGain Travel header and footer for inner pages.
   Rules stay inside .tx-shell so the rest of each page keeps its own layout. */
.tx-shell {
  --color-primary: #0f766e;
  --color-primary-dark: #115e59;
  --color-primary-soft: #ccfbf1;
  --color-accent: #f97316;
  --color-accent-dark: #ea580c;
  --color-ink: #1c1917;
  --color-text: #0f172a;
  --color-muted: #475569;
  --color-border: #e2e8f0;
  --font-heading: "Poppins", "Segoe UI", sans-serif;
  --font-body: "Inter", "Segoe UI", sans-serif;
  --radius-sm: 12px;
  --shadow-sm: 0 1px 2px rgba(15, 23, 42, 0.05), 0 8px 24px rgba(15, 23, 42, 0.06);
  --shadow-lg: 0 18px 40px rgba(15, 23, 42, 0.14);
  --shadow-header: 0 1px 0 rgba(15, 23, 42, 0.06), 0 8px 24px rgba(15, 23, 42, 0.06);
  --ease: 250ms ease;
  box-sizing: border-box;
  font-family: var(--font-body);
  line-height: 1.6;
}

.tx-shell *,
.tx-shell *::before,
.tx-shell *::after {
  box-sizing: border-box;
}

body.tx-page {
  padding-top: 72px !important;
}

.tx-shell.site-header {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 2000;
  height: 72px;
  background: #fff;
  box-shadow: var(--shadow-header);
  color: var(--color-text);
}

.tx-shell .container {
  width: min(1120px, calc(100% - 32px));
  max-width: none;
  margin-inline: auto;
  padding: 0;
}

.tx-shell ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

.tx-shell a {
  color: inherit;
  text-decoration: none;
}

.tx-shell .header-bar {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
  gap: 12px;
}

.tx-shell .logo {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  color: var(--color-text);
  z-index: 2;
}

.tx-shell .logo-mark {
  width: 36px;
  height: 36px;
  flex: 0 0 auto;
  display: block;
}

.tx-shell .logo-img {
  display: block;
  height: 40px;
  width: auto;
}

.tx-shell .logo-word {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 1.25rem;
  letter-spacing: -0.03em;
  line-height: 1;
}

.tx-shell .logo-x {
  color: var(--color-accent);
}

.tx-shell .nav-toggle {
  position: absolute;
  top: 14px;
  right: 0;
  width: 44px;
  height: 44px;
  margin: 0;
  opacity: 0;
  z-index: 80;
  cursor: pointer;
}

.tx-shell .nav-toggle:focus-visible {
  outline: none;
}

.tx-shell .nav-toggle:focus-visible ~ .hamburger {
  outline: 3px solid var(--color-accent);
  outline-offset: 3px;
}

.tx-shell .hamburger {
  position: relative;
  z-index: 70;
  width: 44px;
  height: 44px;
  display: inline-flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 5px;
  border-radius: 10px;
  cursor: pointer;
  margin: 0;
}

.tx-shell .hamburger .bar {
  display: block;
  width: 20px;
  height: 2px;
  border-radius: 2px;
  background: var(--color-text);
  transition: transform var(--ease), opacity var(--ease);
}

.tx-shell .nav-toggle:checked ~ .hamburger .bar:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.tx-shell .nav-toggle:checked ~ .hamburger .bar:nth-child(2) {
  opacity: 0;
}

.tx-shell .nav-toggle:checked ~ .hamburger .bar:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

.tx-shell .nav-backdrop {
  position: fixed;
  inset: 0;
  z-index: 50;
  background: rgba(15, 23, 42, 0.48);
  opacity: 0;
  pointer-events: none;
  transition: opacity 280ms ease;
}

.tx-shell .nav-toggle:checked ~ .nav-backdrop {
  opacity: 1;
  pointer-events: auto;
}

.tx-shell .nav {
  position: fixed;
  top: 0;
  right: 0;
  z-index: 60;
  width: min(340px, 86vw);
  height: 100vh;
  height: 100dvh;
  padding: 72px 22px 28px;
  display: flex;
  flex-direction: column;
  gap: 20px;
  background: #fff;
  box-shadow: var(--shadow-lg);
  transform: translateX(100%);
  overflow: auto;
}

.tx-shell .nav-toggle:not(:checked) ~ .nav {
  visibility: hidden;
  transition: transform 280ms ease, visibility 0s linear 280ms;
}

.tx-shell .nav-toggle:checked ~ .nav {
  visibility: visible;
  transform: translateX(0);
  transition: transform 280ms ease, visibility 0s;
}

.tx-shell .drawer-close {
  position: absolute;
  top: 14px;
  right: 14px;
  width: 44px;
  height: 44px;
  display: grid;
  place-items: center;
  border-radius: 10px;
  cursor: pointer;
  color: var(--color-text);
}

.tx-shell .drawer-close svg {
  width: 22px;
  height: 22px;
}

.tx-shell .nav-list {
  display: flex;
  flex-direction: column;
}

.tx-shell .nav-list a,
.tx-shell .nav-list .is-soon {
  min-height: 48px;
  padding: 8px 4px;
  text-decoration: none;
  font-weight: 500;
  font-size: 1.02rem;
  color: var(--color-text);
  display: inline-flex;
  align-items: center;
}

.tx-shell .nav-list li + li {
  border-top: 1px solid var(--color-border);
}

.tx-shell .nav-list a[aria-current="page"] {
  color: var(--color-primary);
  font-weight: 600;
}

.tx-shell .nav-actions {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-top: auto;
}

.tx-shell .btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 44px;
  padding: 0 18px;
  border-radius: var(--radius-sm);
  border: 2px solid transparent;
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 0.95rem;
  line-height: 1;
  text-decoration: none;
  white-space: nowrap;
  box-shadow: none;
}

.tx-shell .nav-actions .btn {
  width: 100%;
}

.tx-shell .btn-primary {
  background: var(--color-accent);
  color: var(--color-ink);
  box-shadow: 0 8px 20px rgba(249, 115, 22, 0.28);
}

.tx-shell .btn-primary:hover,
.tx-shell .btn-primary:focus {
  background: var(--color-accent-dark);
  color: var(--color-ink);
}

.tx-shell .btn-outline {
  background: transparent;
  color: var(--color-primary);
  border-color: var(--color-primary);
}

.tx-shell .btn-outline:hover,
.tx-shell .btn-outline:focus {
  background: var(--color-primary);
  color: #fff;
}

.tx-shell .soon-badge {
  display: inline-flex;
  align-items: center;
  margin-left: 6px;
  padding: 2px 7px;
  border-radius: 999px;
  background: #ffedd5;
  color: #9a3412;
  font-family: var(--font-heading);
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.tx-shell .is-soon {
  display: inline-flex;
  align-items: center;
  color: #94a3b8;
  pointer-events: none;
  cursor: default;
}

.tx-shell.site-footer {
  background: #071615;
  color: #d7ebe8;
  padding-top: 48px;
  margin-top: 0;
}

.tx-shell .footer-grid {
  display: grid;
  gap: 28px;
}

.tx-shell .footer-brand .logo-word {
  color: #fff;
}

.tx-shell .footer-brand p {
  margin: 12px 0 0;
  max-width: 320px;
  color: #b7d4d0;
  font-size: 1rem;
}

.tx-shell .footer-heading {
  margin: 0 0 12px;
  color: #fff;
  font-family: var(--font-heading);
  font-size: 0.95rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  line-height: 1.2;
  text-transform: uppercase;
}

.tx-shell .footer-grid a {
  display: inline-flex;
  min-height: 32px;
  align-items: center;
  text-decoration: none;
  color: #d7ebe8;
}

.tx-shell .footer-grid a:hover {
  color: #fdba74;
}

.tx-shell .contact-list li {
  display: flex;
  gap: 8px;
  align-items: flex-start;
  margin-bottom: 8px;
}

.tx-shell .contact-list svg {
  width: 16px;
  height: 16px;
  margin-top: 4px;
  flex: 0 0 auto;
  color: #fdba74;
}

.tx-shell .social-list,
.tx-shell .pay-list {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.tx-shell .social-list {
  margin-top: 16px;
}

.tx-shell .social-list a {
  width: 40px;
  height: 40px;
  display: grid;
  place-items: center;
  min-height: 40px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.16);
}

.tx-shell .social-list svg {
  width: 18px;
  height: 18px;
}

.tx-shell .pay-list {
  margin-top: 28px;
}

.tx-shell .pay-list li {
  padding: 4px 8px;
  border-radius: 8px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.04em;
}

.tx-shell .legal-bar {
  margin: 28px 0 0;
  padding: 16px 0;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  color: #9fc3be;
  font-size: 0.875rem;
}

@media (max-width: 1023px) {
  body.tx-page:has(.nav-toggle:checked) {
    overflow: hidden;
  }
}

@media (min-width: 768px) {
  .tx-shell .footer-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (min-width: 1024px) {
  .tx-shell .hamburger,
  .tx-shell .nav-backdrop,
  .tx-shell .drawer-close,
  .tx-shell .nav-toggle {
    display: none;
  }

  .tx-shell .nav,
  .tx-shell .nav-toggle:checked ~ .nav,
  .tx-shell .nav-toggle:not(:checked) ~ .nav {
    position: static;
    visibility: visible;
    transform: none;
    width: auto;
    height: auto;
    padding: 0;
    overflow: visible;
    flex-direction: row;
    align-items: center;
    gap: 8px;
    margin-left: auto;
    background: transparent;
    box-shadow: none;
    transition: none;
  }

  .tx-shell .nav-list {
    flex-direction: row;
    align-items: center;
    gap: 2px;
  }

  .tx-shell .nav-list li + li {
    border-top: 0;
  }

  .tx-shell .nav-list a,
  .tx-shell .nav-list .is-soon {
    min-height: 0;
    padding: 8px 10px;
    border-radius: 8px;
    font-size: 0.95rem;
  }

  .tx-shell .nav-list a:hover {
    background: var(--color-primary-soft);
    color: var(--color-primary);
  }

  .tx-shell .nav-actions {
    flex-direction: row;
    margin-top: 0;
    margin-left: 8px;
  }

  .tx-shell .nav-actions .btn {
    width: auto;
  }

  .tx-shell .footer-grid {
    grid-template-columns: 1.4fr 0.8fr 0.8fr 1.1fr;
  }
}

@media (min-width: 1440px) {
  .tx-shell .container {
    width: min(1200px, calc(100% - 64px));
  }
}
