/* =====================================================
   HALLOWEEN TEAM BUILDING GAMES
   Familio Games
   ===================================================== */

.htbg-page {
  --htbg-orange: #ff8a1f;
  --htbg-orange-bright: #ffac46;
  --htbg-yellow: #ffc107;
  --htbg-purple: #7c4dff;
  --htbg-bg: #080810;
  --htbg-card: #11111b;
  --htbg-text: #ffffff;
  --htbg-muted: rgba(255,255,255,.68);
  --htbg-border: rgba(255,255,255,.09);

  position: relative;
  overflow: hidden;
  background:
    radial-gradient(circle at 74% 9%, rgba(124,77,255,.10), transparent 25%),
    #080810;
  color: #fff;
}

.htbg-wrap {
  width: min(1280px, calc(100% - 40px));
  margin: 0 auto;
  position: relative;
}

.htbg-page p {
  color: rgba(255,255,255,.72);
}

.htbg-kicker {
  margin: 0 0 14px;
  color: var(--htbg-orange-bright) !important;
  font-size: .72rem;
  font-weight: 800;
  letter-spacing: .15em;
}

.htbg-page h1,
.htbg-page h2,
.htbg-page h3 {
  font-family: Sora, system-ui, sans-serif;
  color: #fff;
}

.htbg-page h2 {
  margin: 0;
  font-size: clamp(2.1rem, 4vw, 4.05rem);
  line-height: 1.03;
  letter-spacing: -.045em;
}

.htbg-section-heading {
  max-width: 790px;
  margin-bottom: 38px;
}

.htbg-section-heading p:last-child {
  margin: 17px 0 0;
  max-width: 700px;
  font-size: 1rem;
  line-height: 1.7;
}

.htbg-section-heading-center {
  margin-left: auto;
  margin-right: auto;
  text-align: center;
}

.htbg-section-heading-center p:last-child {
  margin-left: auto;
  margin-right: auto;
}


/* BUTTONS */

.htbg-btn-primary,
.htbg-btn-secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 49px;
  padding: 11px 21px;
  border-radius: 999px;
  font-size: .9rem;
  font-weight: 800;
  text-decoration: none;
}

.htbg-btn-primary {
  border: 0;
  background: linear-gradient(90deg, #ffbf16, #ff861e);
  color: #080810 !important;
  box-shadow: 0 14px 34px rgba(255,138,31,.16);
}

.htbg-btn-primary:hover {
  color: #080810 !important;
  transform: translateY(-1px);
}

.htbg-btn-secondary {
  border: 1px solid rgba(255,255,255,.23);
  background: rgba(255,255,255,.025);
  color: #fff !important;
}

.htbg-btn-secondary:hover {
  border-color: rgba(255,255,255,.44);
  color: #fff !important;
}

.htbg-text-link {
  color: var(--htbg-orange-bright) !important;
  text-decoration: none;
  font-size: .84rem;
  font-weight: 750;
}


/* HERO */

.homepage .htbg-hero {
  position: relative;
  padding: 82px 0 92px !important;
  border-bottom: 1px solid rgba(255,255,255,.05);
  background:
    radial-gradient(circle at 76% 40%, rgba(124,77,255,.15), transparent 30%),
    radial-gradient(circle at 16% 20%, rgba(255,138,31,.06), transparent 27%);
}

.htbg-hero-grid {
  display: grid;
  grid-template-columns: .95fr 1.05fr;
  gap: 72px;
  align-items: center;
}

.htbg-breadcrumbs {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 25px;
  color: rgba(255,255,255,.45);
  font-size: .78rem;
}

.htbg-breadcrumbs a {
  color: rgba(255,255,255,.65);
  text-decoration: none;
}

.htbg-hero-copy h1 {
  margin: 0;
  max-width: 720px;
  font-size: clamp(3.05rem, 5.1vw, 5.4rem);
  line-height: .98;
  letter-spacing: -.058em;
}

.htbg-hero-copy h1 span {
  display: block;
  color: var(--htbg-orange-bright);
}

.htbg-hero-lead {
  max-width: 690px;
  margin: 25px 0 0;
  font-size: 1.08rem;
  line-height: 1.76;
}

.htbg-hero-text {
  max-width: 670px;
  margin: 15px 0 0;
  font-size: .94rem;
  line-height: 1.7;
}

.htbg-hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 29px;
}

.htbg-proof-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 22px;
  margin-top: 24px;
  color: rgba(255,255,255,.66);
  font-size: .79rem;
}

.htbg-proof-row span::before {
  content: "✓";
  margin-right: 7px;
  color: var(--htbg-yellow);
  font-weight: 900;
}

.htbg-hero-visual {
  position: relative;
}

.htbg-board-shell {
  overflow: hidden;
  border: 1px solid rgba(255,255,255,.13);
  border-radius: 24px;
  background: #0d0d17;
  box-shadow: 0 30px 75px rgba(0,0,0,.42);
}

.htbg-board-top {
  display: flex;
  align-items: center;
  gap: 9px;
  padding: 13px 16px;
  border-bottom: 1px solid rgba(255,255,255,.08);
}

.htbg-board-top small {
  color: rgba(255,255,255,.57);
  font-size: .64rem;
  font-weight: 800;
  letter-spacing: .12em;
}

.htbg-live-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #41e88f;
  box-shadow: 0 0 12px rgba(65,232,143,.8);
}

.htbg-board-shell img {
  display: block;
  width: 100%;
  aspect-ratio: 16/9;
  object-fit: cover;
}

.htbg-floating-card {
  position: absolute;
  padding: 13px 16px;
  border: 1px solid rgba(255,255,255,.12);
  border-radius: 15px;
  background: rgba(13,13,23,.94);
  box-shadow: 0 15px 35px rgba(0,0,0,.32);
}

.htbg-floating-card b {
  display: block;
  color: var(--htbg-orange-bright);
  font-family: Sora, sans-serif;
  font-size: 1.35rem;
}

.htbg-floating-card span {
  color: rgba(255,255,255,.6);
  font-size: .7rem;
}

.htbg-floating-card-one {
  left: -22px;
  bottom: -25px;
}

.htbg-floating-card-two {
  right: -20px;
  top: -25px;
}

.htbg-web {
  position: absolute;
  opacity: .18;
  pointer-events: none;
}

.htbg-web-left {
  width: 230px;
  left: -70px;
  top: 0;
}

.htbg-bats {
  position: absolute;
  width: 145px;
  right: 6%;
  top: 50px;
  opacity: .22;
}


/* QUICK ANSWER */

.homepage .htbg-quick-section {
  padding: 56px 0 60px !important;
}

.htbg-quick-grid {
  display: grid;
  grid-template-columns: .76fr 1.24fr;
  gap: 70px;
  align-items: start;
}

.htbg-quick-grid h2 {
  font-size: clamp(2rem, 3.3vw, 3.25rem);
}

.htbg-quick-copy p {
  margin: 0 0 15px;
  font-size: .98rem;
  line-height: 1.72;
}

.htbg-quick-copy p:last-child {
  margin-bottom: 0;
}

.htbg-quick-copy strong {
  color: #fff;
}


/* PICKER */

.homepage .htbg-picker-section {
  padding: 64px 0 72px !important;
  border-top: 1px solid rgba(255,255,255,.05);
}

.htbg-picker-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}

.htbg-picker-card {
  padding: 24px;
  border: 1px solid var(--htbg-border);
  border-radius: 20px;
  background: linear-gradient(180deg, rgba(255,255,255,.035), rgba(255,255,255,.015));
  color: #fff;
  text-decoration: none;
  transition: .2s ease;
}

.htbg-picker-card:hover {
  color: #fff;
  transform: translateY(-3px);
  border-color: rgba(255,138,31,.34);
}

.htbg-picker-card > span {
  display: block;
  margin-bottom: 16px;
  font-size: 1.55rem;
}

.htbg-picker-card small {
  display: block;
  margin-bottom: 8px;
  color: var(--htbg-orange-bright);
  font-size: .64rem;
  font-weight: 800;
  letter-spacing: .12em;
}

.htbg-picker-card strong {
  display: block;
  margin-bottom: 9px;
  color: #fff;
  font-family: Sora, sans-serif;
  font-size: 1.05rem;
}

.htbg-picker-card p {
  margin: 0;
  font-size: .87rem;
  line-height: 1.55;
}


/* FEATURE */

.homepage .htbg-feature-section {
  padding: 72px 0 76px !important;
  border-top: 1px solid rgba(255,255,255,.05);
}

.htbg-featured-game {
  display: grid;
  grid-template-columns: 1.05fr .95fr;
  gap: 42px;
  padding: 38px;
  border: 1px solid rgba(255,138,31,.22);
  border-radius: 28px;
  background:
    radial-gradient(circle at 90% 20%, rgba(124,77,255,.13), transparent 38%),
    linear-gradient(145deg, rgba(255,138,31,.055), rgba(255,255,255,.018));
}

.htbg-game-number {
  color: rgba(255,255,255,.18);
  font-family: Sora, sans-serif;
  font-size: 3.1rem;
  font-weight: 800;
  line-height: 1;
}

.htbg-game-tag {
  margin: 10px 0;
  color: var(--htbg-orange-bright) !important;
  font-size: .69rem;
  font-weight: 800;
  letter-spacing: .11em;
}

.htbg-featured-game h2 {
  font-size: clamp(2.25rem, 4vw, 4rem);
}

.htbg-featured-copy > p:not(.htbg-game-tag) {
  max-width: 690px;
  margin: 15px 0 0;
  line-height: 1.72;
}

.htbg-feature-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0,1fr));
  gap: 10px 18px;
  margin-top: 23px;
  color: rgba(255,255,255,.82);
  font-size: .87rem;
}

.htbg-feature-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 18px;
  margin-top: 25px;
}

.htbg-featured-visual {
  position: relative;
  display: flex;
  align-items: center;
}

.htbg-featured-visual img {
  width: 100%;
  border: 1px solid rgba(255,255,255,.11);
  border-radius: 19px;
  box-shadow: 0 22px 55px rgba(0,0,0,.35);
}

.htbg-feature-price {
  position: absolute;
  right: 18px;
  bottom: 18px;
  padding: 11px 15px;
  border: 1px solid rgba(255,255,255,.12);
  border-radius: 14px;
  background: rgba(8,8,16,.94);
}

.htbg-feature-price small {
  display: block;
  color: rgba(255,255,255,.55);
  font-size: .58rem;
  letter-spacing: .1em;
}

.htbg-feature-price strong {
  display: block;
  color: var(--htbg-yellow);
  font-size: 1.35rem;
}

.htbg-feature-price span {
  color: rgba(255,255,255,.57);
  font-size: .66rem;
}


/* GAMES */

.homepage .htbg-games-section {
  padding: 72px 0 78px !important;
  border-top: 1px solid rgba(255,255,255,.05);
}

.htbg-game-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0,1fr));
  gap: 16px;
}

.htbg-game-card {
  padding: 25px 26px;
  border: 1px solid var(--htbg-border);
  border-radius: 20px;
  background: rgba(255,255,255,.023);
}

.htbg-game-card-top {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  align-items: center;
  margin-bottom: 15px;
}

.htbg-game-card-top span {
  color: var(--htbg-orange-bright);
  font-weight: 850;
  font-size: .76rem;
  letter-spacing: .1em;
}

.htbg-game-card-top em {
  color: rgba(255,255,255,.46);
  font-size: .72rem;
  font-style: normal;
}

.htbg-game-card h3 {
  margin: 0 0 10px;
  color: #fff;
  font-size: 1.2rem;
}

.htbg-game-card p {
  margin: 0 0 15px;
  font-size: .91rem;
  line-height: 1.62;
}

.htbg-mini-meta {
  padding-top: 13px;
  border-top: 1px solid rgba(255,255,255,.07);
  color: rgba(255,255,255,.54);
  font-size: .74rem;
}

.htbg-mini-meta b {
  color: rgba(255,255,255,.8);
}


/* FIT */

.homepage .htbg-fit-section {
  padding: 72px 0 !important;
  border-top: 1px solid rgba(255,255,255,.05);
}

.htbg-fit-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}

.htbg-fit-grid article {
  padding: 27px;
  border: 1px solid var(--htbg-border);
  border-radius: 21px;
  background: rgba(255,255,255,.023);
}

.htbg-fit-grid article > span {
  font-size: 1.65rem;
}

.htbg-fit-grid small {
  display: block;
  margin-top: 18px;
  color: var(--htbg-orange-bright);
  font-size: .64rem;
  font-weight: 800;
  letter-spacing: .12em;
}

.htbg-fit-grid h3 {
  margin: 8px 0 10px;
  font-size: 1.13rem;
}

.htbg-fit-grid p {
  margin: 0;
  font-size: .89rem;
  line-height: 1.62;
}


/* PLAN */

.homepage .htbg-plan-section {
  padding: 72px 0 !important;
  border-top: 1px solid rgba(255,255,255,.05);
}

.htbg-timeline {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
}

.htbg-timeline article {
  padding: 23px;
  border: 1px solid var(--htbg-border);
  border-radius: 18px;
  background: rgba(255,255,255,.022);
}

.htbg-timeline b {
  display: block;
  color: var(--htbg-orange-bright);
  font-size: .77rem;
}

.htbg-timeline span {
  display: block;
  margin: 8px 0 9px;
  color: #fff;
  font-family: Sora, sans-serif;
  font-weight: 700;
}

.htbg-timeline p {
  margin: 0;
  font-size: .84rem;
  line-height: 1.55;
}

.htbg-time-featured {
  border-color: rgba(255,138,31,.32) !important;
  background: rgba(255,138,31,.05) !important;
}


/* CHECKLIST */

.homepage .htbg-checklist-section {
  padding: 76px 0 !important;
  border-top: 1px solid rgba(255,255,255,.05);
}

.htbg-checklist-grid {
  display: grid;
  grid-template-columns: .82fr 1.18fr;
  gap: 70px;
  align-items: start;
}

.htbg-checklist-grid > div:first-child > p:last-child {
  margin-top: 18px;
  line-height: 1.72;
}

.htbg-checklist {
  display: grid;
  gap: 11px;
}

.htbg-checklist article {
  display: grid;
  grid-template-columns: 46px 1fr;
  gap: 17px;
  padding: 17px 18px;
  border: 1px solid var(--htbg-border);
  border-radius: 17px;
  background: rgba(255,255,255,.022);
}

.htbg-checklist article > b {
  color: var(--htbg-orange-bright);
  font-family: Sora, sans-serif;
}

.htbg-checklist strong {
  display: block;
  color: #fff;
  font-size: .9rem;
}

.htbg-checklist small {
  display: block;
  margin-top: 4px;
  color: rgba(255,255,255,.57);
  font-size: .77rem;
  line-height: 1.5;
}


/* CONVERSION */

.homepage .htbg-conversion-section {
  padding: 80px 0 !important;
  border-top: 1px solid rgba(255,255,255,.05);
  background: radial-gradient(circle at 76% 50%, rgba(124,77,255,.12), transparent 35%);
}

.htbg-conversion-grid {
  display: grid;
  grid-template-columns: 1.18fr .82fr;
  gap: 70px;
  align-items: center;
}

.htbg-conversion-grid > div:first-child > p:last-of-type {
  max-width: 690px;
  margin-top: 17px;
  line-height: 1.7;
}

.htbg-conversion-points {
  display: grid;
  grid-template-columns: repeat(2, minmax(0,1fr));
  gap: 12px;
  margin-top: 25px;
  color: rgba(255,255,255,.81);
  font-size: .87rem;
}

.htbg-price-card {
  padding: 30px;
  border: 1px solid rgba(255,138,31,.24);
  border-radius: 24px;
  background: #11111c;
  text-align: center;
}

.htbg-price-card > small {
  display: block;
  color: var(--htbg-orange-bright);
  font-size: .68rem;
  font-weight: 800;
  letter-spacing: .13em;
}

.htbg-price-card > strong {
  display: block;
  margin-top: 7px;
  color: var(--htbg-yellow);
  font-family: Sora, sans-serif;
  font-size: 3.35rem;
  letter-spacing: -.05em;
}

.htbg-price-card > span {
  color: rgba(255,255,255,.62);
}

.htbg-price-card p {
  max-width: 310px;
  margin: 13px auto 20px;
  font-size: .88rem;
}

.htbg-price-card .htbg-btn-primary {
  width: 100%;
}

.htbg-price-card .htbg-text-link {
  display: inline-block;
  margin-top: 16px;
}


/* FAQ */

.homepage .htbg-faq-section {
  padding: 76px 0 !important;
  border-top: 1px solid rgba(255,255,255,.05);
}

.htbg-faq-grid {
  display: grid;
  grid-template-columns: .78fr 1.22fr;
  gap: 70px;
  align-items: start;
}

.htbg-faq-grid > div:first-child p:last-child {
  margin-top: 16px;
}

.htbg-faq-list {
  display: grid;
  gap: 10px;
}

.htbg-faq-list details {
  border: 1px solid var(--htbg-border);
  border-radius: 16px;
  background: rgba(255,255,255,.022);
}

.htbg-faq-list summary {
  cursor: pointer;
  padding: 18px 20px;
  color: #fff;
  font-family: Sora, sans-serif;
  font-weight: 650;
  list-style: none;
}

.htbg-faq-list summary::-webkit-details-marker {
  display: none;
}

.htbg-faq-list summary::after {
  content: "+";
  float: right;
  color: var(--htbg-orange-bright);
}

.htbg-faq-list details[open] summary {
  color: var(--htbg-orange-bright);
}

.htbg-faq-list details[open] summary::after {
  content: "−";
}

.htbg-faq-list details p {
  margin: 0;
  padding: 0 20px 19px;
  font-size: .9rem;
}


/* RESOURCES */

.homepage .htbg-resources-section {
  padding: 74px 0 !important;
  border-top: 1px solid rgba(255,255,255,.05);
}

.htbg-resource-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}

.htbg-resource-grid a {
  padding: 25px;
  border: 1px solid var(--htbg-border);
  border-radius: 20px;
  background: rgba(255,255,255,.022);
  color: #fff;
  text-decoration: none;
  transition: .2s ease;
}

.htbg-resource-grid a:hover {
  color: #fff;
  transform: translateY(-3px);
  border-color: rgba(255,138,31,.3);
}

.htbg-resource-grid small {
  color: var(--htbg-orange-bright);
  font-size: .65rem;
  font-weight: 800;
  letter-spacing: .12em;
}

.htbg-resource-grid strong {
  display: block;
  margin: 10px 0;
  color: #fff;
  font-family: Sora, sans-serif;
  font-size: 1.05rem;
}

.htbg-resource-grid p {
  margin: 0 0 15px;
  font-size: .86rem;
}

.htbg-resource-grid b {
  color: var(--htbg-orange-bright);
  font-size: .82rem;
}


/* FINAL */

.homepage .htbg-final-section {
  padding: 50px 0 94px !important;
  border-top: 1px solid rgba(255,255,255,.05);
}

.htbg-final-card {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 35px;
  padding: 38px 42px;
  border: 1px solid rgba(255,138,31,.22);
  border-radius: 26px;
  background: linear-gradient(135deg, rgba(255,138,31,.065), rgba(124,77,255,.07));
}

.htbg-final-card h2 {
  font-size: clamp(2rem,3.3vw,3.15rem);
}

.htbg-final-card p:last-child {
  max-width: 650px;
  margin: 13px 0 0;
}

.htbg-final-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  flex: 0 0 auto;
}


/* RESPONSIVE */

@media (max-width: 1050px) {
  .htbg-hero-grid,
  .htbg-featured-game,
  .htbg-checklist-grid,
  .htbg-conversion-grid,
  .htbg-faq-grid {
    grid-template-columns: 1fr;
  }

  .htbg-hero-visual,
  .htbg-featured-visual {
    max-width: 760px;
  }

  .htbg-picker-grid,
  .htbg-timeline,
  .htbg-resource-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .htbg-faq-grid {
    gap: 35px;
  }
}

@media (max-width: 700px) {
  .htbg-wrap {
    width: min(100% - 30px, 1280px);
  }

  .homepage .htbg-hero {
    padding: 56px 0 62px !important;
  }

  .htbg-hero-copy h1 {
    font-size: clamp(2.55rem, 12.5vw, 4rem);
  }

  .htbg-hero-actions {
    display: grid;
    grid-template-columns: 1fr;
  }

  .htbg-hero-actions .btn {
    width: 100%;
  }

  .htbg-floating-card,
  .htbg-bats {
    display: none;
  }

  .htbg-quick-grid {
    grid-template-columns: 1fr;
    gap: 25px;
  }

  .htbg-picker-grid,
  .htbg-game-grid,
  .htbg-fit-grid,
  .htbg-timeline,
  .htbg-resource-grid,
  .htbg-conversion-points {
    grid-template-columns: 1fr;
  }

  .htbg-featured-game {
    padding: 24px;
  }

  .htbg-feature-list {
    grid-template-columns: 1fr;
  }

  .htbg-feature-actions {
    align-items: flex-start;
    flex-direction: column;
  }

  .htbg-final-card {
    padding: 29px 24px;
    align-items: flex-start;
    flex-direction: column;
  }

  .htbg-final-actions {
    width: 100%;
    display: grid;
    grid-template-columns: 1fr;
  }

  .htbg-final-actions .btn {
    width: 100%;
  }

  .homepage .htbg-quick-section {
    padding: 42px 0 48px !important;
  }

  .homepage .htbg-picker-section {
    padding: 52px 0 58px !important;
  }

  .homepage .htbg-feature-section,
  .homepage .htbg-games-section,
  .homepage .htbg-fit-section,
  .homepage .htbg-plan-section,
  .homepage .htbg-checklist-section,
  .homepage .htbg-conversion-section,
  .homepage .htbg-faq-section,
  .homepage .htbg-resources-section {
    padding: 58px 0 !important;
  }

  .homepage .htbg-final-section {
    padding: 42px 0 72px !important;
  }
}
