/* BetHero theme — shared styles (header, footer, buttons, type, reveal) */
@font-face { font-family: Montserrat; src: url("../fonts/Montserrat/Montserrat-Medium.ttf") format("truetype"); font-weight: 500; font-style: normal; font-display: swap; }
@font-face { font-family: Montserrat; src: url("../fonts/Montserrat/Montserrat-SemiBold.ttf") format("truetype"); font-weight: 600; font-style: normal; font-display: swap; }
@font-face { font-family: Montserrat; src: url("../fonts/Montserrat/Montserrat-Bold.ttf") format("truetype"); font-weight: 700; font-style: normal; font-display: swap; }
@font-face { font-family: Montserrat; src: url("../fonts/Montserrat/Montserrat-ExtraBold.ttf") format("truetype"); font-weight: 800; font-style: normal; font-display: swap; }
@font-face { font-family: Montserrat; src: url("../fonts/Montserrat/Montserrat-latin.woff2") format("woff2"); font-weight: 900; font-style: normal; font-display: swap; }
@font-face { font-family: Poppins; src: url("../fonts/Poppins/Poppins-Regular.ttf") format("truetype"); font-weight: 400; font-style: normal; font-display: swap; }
@font-face { font-family: Poppins; src: url("../fonts/Poppins/Poppins-Medium.ttf") format("truetype"); font-weight: 500; font-style: normal; font-display: swap; }
@font-face { font-family: Poppins; src: url("../fonts/Poppins/Poppins-SemiBold.ttf") format("truetype"); font-weight: 600; font-style: normal; font-display: swap; }
@font-face { font-family: Poppins; src: url("../fonts/Poppins/Poppins-Bold.ttf") format("truetype"); font-weight: 700; font-style: normal; font-display: swap; }

:root {
  --bh-purple: #0F071A;
  --bh-gold: #FFD028;
  --bh-gold-hover: #ffe28f;
  --bh-ink-on-gold: #1a1230;
  --bh-text-2: #bcb4cd;
  --bh-text-3: #d9d4e6;
  --bh-muted: #8a7fa0;
  --bh-surface: rgba(255,255,255,.06);
  --bh-border: rgba(255,255,255,.16);
  --bh-hairline: rgba(255,255,255,.09);
  --bh-font-display: Montserrat, "Helvetica Neue", Arial, sans-serif;
  --bh-font-body: Poppins, "Helvetica Neue", Arial, sans-serif;
  --bh-wrap: 1240px;
}

html { scroll-behavior: smooth; }
*, *::before, *::after { box-sizing: border-box; min-width: 0; }
body { margin: 0; background: var(--bh-purple); color: #fff; font-family: var(--bh-font-body); overflow-x: hidden; -webkit-font-smoothing: antialiased; }
img { max-width: 100%; }
a { color: var(--bh-gold); text-decoration: none; }
a:hover { color: var(--bh-gold-hover); }
input, textarea, select, button { font-family: var(--bh-font-body); }
input::placeholder, textarea::placeholder { color: var(--bh-muted); }
.bh-sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.bh-dot { color: var(--bh-gold); }
.bh-wrap { position: relative; max-width: var(--bh-wrap); margin: 0 auto; }

/* Buttons */
.bh-btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; font-family: var(--bh-font-display); font-weight: 800; line-height: 1; border-radius: 999px; border: 1px solid transparent; background: var(--bh-gold); color: var(--bh-ink-on-gold); cursor: pointer; text-decoration: none; white-space: nowrap; flex: 0 0 auto; transition: filter .15s ease, transform .05s ease; }
.bh-btn:hover { color: var(--bh-ink-on-gold); filter: brightness(1.07); }
.bh-btn:active { transform: scale(.97); }
.bh-btn--sm { font-size: 14px; padding: 10px 20px; }
.bh-btn--md { font-size: 17px; padding: 14px 28px; }
.bh-btn--lg { font-size: 22px; padding: 16px 34px; }

/* Type */
.bh-eyebrow { display: inline-block; font-family: var(--bh-font-body); font-weight: 600; font-size: 14px; letter-spacing: 3px; text-transform: uppercase; color: var(--bh-gold); }
.bh-h1 { font-family: var(--bh-font-display); font-weight: 900; font-size: clamp(44px, 6vw, 84px); line-height: .98; letter-spacing: -1.5px; text-transform: uppercase; color: #fff; margin: 24px 0 26px; text-wrap: balance; }

/* Header */
.bh-header { position: sticky; top: 0; z-index: 50; background: rgba(15,7,26,.88); -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px); border-bottom: 1px solid var(--bh-hairline); }
.admin-bar .bh-header { top: 32px; }
@media (max-width: 782px) { .admin-bar .bh-header { top: 46px; } }
.bh-header__inner { max-width: var(--bh-wrap); margin: 0 auto; padding: 16px clamp(20px, 3vw, 40px); display: flex; align-items: center; justify-content: space-between; gap: clamp(16px, 2vw, 32px); }
.bh-header__logo { display: flex; align-items: center; }
.bh-header__logo img { height: 30px; width: auto; max-width: 200px; object-fit: contain; object-position: left center; display: block; }
.bh-nav { display: flex; align-items: center; gap: clamp(10px, 1.4vw, 24px); flex-wrap: wrap; justify-content: flex-end; row-gap: 10px; }
.bh-nav__link { font-family: var(--bh-font-display); font-size: clamp(11px, 1.05vw, 13.5px); font-weight: 800; letter-spacing: clamp(.6px, .1vw, 1.4px); text-transform: uppercase; color: #fff; white-space: nowrap; flex: 0 0 auto; }
.bh-nav__link:hover, .bh-nav__link.is-current { color: var(--bh-gold); }

/* Mobile menu */
.bh-menu-btn { display: none; width: 44px; height: 44px; margin-right: -10px; background: transparent; border: 0; padding: 0; cursor: pointer; color: #fff; align-items: center; justify-content: center; }
.bh-menu-btn:focus-visible { outline: 2px solid var(--bh-gold); outline-offset: 2px; border-radius: 6px; }
.bh-menu-btn__bars { position: relative; width: 24px; height: 16px; display: block; }
.bh-menu-btn__bars span { position: absolute; left: 0; width: 100%; height: 2px; border-radius: 2px; background: currentColor; transition: transform .25s ease, opacity .2s ease, top .25s ease; }
.bh-menu-btn__bars span:nth-child(1) { top: 0; }
.bh-menu-btn__bars span:nth-child(2) { top: 7px; }
.bh-menu-btn__bars span:nth-child(3) { top: 14px; }
.bh-header.is-open .bh-menu-btn__bars span:nth-child(1) { top: 7px; transform: rotate(45deg); }
.bh-header.is-open .bh-menu-btn__bars span:nth-child(2) { opacity: 0; }
.bh-header.is-open .bh-menu-btn__bars span:nth-child(3) { top: 7px; transform: rotate(-45deg); }

@media (max-width: 960px) {
  .bh-header__inner { padding-top: 14px; padding-bottom: 14px; }
  .bh-header__logo img { height: 26px; }
  .bh-menu-btn { display: inline-flex; }
  .bh-nav { position: absolute; top: 100%; left: 0; right: 0; flex-direction: column; align-items: stretch; flex-wrap: nowrap; gap: 0; row-gap: 0; padding: 8px clamp(20px, 3vw, 40px) 24px; background: rgba(15,7,26,.97); -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px); border-bottom: 1px solid var(--bh-hairline); max-height: calc(100vh - 60px); overflow-y: auto; opacity: 0; visibility: hidden; transform: translateY(-8px); transition: opacity .2s ease, transform .2s ease, visibility 0s linear .2s; }
  .bh-header.is-open .bh-nav { opacity: 1; visibility: visible; transform: none; transition: opacity .2s ease, transform .2s ease; }
  .bh-nav__link { font-size: 16px; letter-spacing: 1.4px; padding: 16px 0; border-bottom: 1px solid var(--bh-hairline); }
  .bh-nav .bh-btn { margin-top: 20px; align-self: flex-start; font-size: 16px; padding: 14px 28px; }
}
body.bh-menu-open { overflow: hidden; }

/* Footer */
.bh-footer { border-top: 1px solid var(--bh-hairline); padding: 70px 40px 34px; }
.bh-footer__grid { max-width: var(--bh-wrap); margin: 0 auto; display: grid; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); gap: 50px; }
.bh-footer__logo { height: 36px; width: auto; max-width: 220px; object-fit: contain; object-position: left center; display: block; margin-bottom: 24px; }
.bh-footer__lede { font-size: 15px; line-height: 1.65; color: var(--bh-text-2); margin: 0 0 26px; max-width: 340px; }
.bh-footer__title { font-family: var(--bh-font-display); font-size: 12px; font-weight: 700; letter-spacing: 2px; text-transform: uppercase; color: var(--bh-gold); margin: 0 0 20px; }
.bh-footer__links { display: grid; gap: 12px; }
.bh-footer__links a { font-size: 15px; color: var(--bh-text-2); }
.bh-footer__links a:hover { color: var(--bh-gold); }
.bh-footer__text { font-size: 15px; line-height: 1.65; color: var(--bh-text-2); margin: 0; }
.bh-newsletter { display: flex; gap: 10px; flex-wrap: wrap; }
.bh-newsletter input { flex: 1; width: 100%; background: rgba(0,0,0,.35); border: 1px solid var(--bh-border); border-radius: 999px; padding: 12px 18px; color: #fff; font-size: 14px; outline: none; }
.bh-newsletter input:focus { border-color: rgba(255,208,40,.55); }
.bh-footer__bottom { max-width: var(--bh-wrap); margin: 56px auto 0; padding-top: 26px; border-top: 1px solid var(--bh-hairline); display: flex; justify-content: space-between; align-items: center; gap: 24px; flex-wrap: wrap; font-size: 13px; color: var(--bh-muted); }
.bh-footer__bottom a { color: var(--bh-muted); }

/* Page hero (shared) */
.bh-hero { position: relative; padding: 120px 40px 100px; overflow: hidden; isolation: isolate; background: radial-gradient(130% 110% at 50% 8%, #2b1d60 0%, #171233 46%, #0a0818 100%); }
.bh-hero::before { content: ""; position: absolute; inset: 0; z-index: -1; background: var(--bh-hero-image) center 50% / cover no-repeat; opacity: .14; filter: blur(2px); pointer-events: none; }
.bh-hero::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 200px; z-index: -1; background: linear-gradient(rgba(15,7,26,0), var(--bh-purple)); pointer-events: none; }
.bh-hero__head { max-width: 820px; margin: 0 auto; text-align: center; display: flex; flex-direction: column; align-items: center; }
.bh-hero__grid { position: relative; max-width: var(--bh-wrap); margin: 0 auto; display: grid; grid-template-columns: repeat(auto-fit, minmax(min(420px, 100%), 1fr)); gap: 60px; align-items: center; }
.bh-lede { font-size: 18px; line-height: 1.65; color: var(--bh-text-3); margin: 0 0 38px; max-width: 600px; }

/* CTA */
.bh-cta-section { padding: 60px 40px 120px; }
.bh-cta { max-width: var(--bh-wrap); margin: 0 auto; padding: 56px 60px; background: var(--bh-surface); border: 1px solid var(--bh-border); border-radius: 10px; display: grid; grid-template-columns: repeat(auto-fit, minmax(min(360px, 100%), 1fr)); gap: 60px; align-items: center; }
.bh-cta__title { font-family: var(--bh-font-display); font-weight: 800; font-size: clamp(30px, 3.4vw, 46px); line-height: 1.05; text-transform: uppercase; color: #fff; margin: 0 0 22px; }
.bh-cta__text { font-size: 18px; line-height: 1.65; color: var(--bh-text-3); margin: 0 0 18px; }
.bh-cta__art { display: flex; justify-content: center; }
.bh-cta__art img { width: 100%; max-width: 280px; height: auto; filter: drop-shadow(0 26px 50px rgba(141,7,237,.35)); }
.bh-cta--roomy { padding: 60px 64px; }
.bh-cta__text--muted { color: var(--bh-text-2); line-height: 1.7; margin-bottom: 16px; }
.bh-cta__art--key img { width: 240px; max-width: 100%; height: auto; filter: none; }

@media (max-width: 640px) {
  .bh-hero { padding: 90px 20px 70px; }
  .bh-section-pad { padding-left: 20px !important; padding-right: 20px !important; }
  .bh-cta, .bh-cta--roomy { padding: 40px 28px; }
  .bh-footer { padding: 56px 20px 30px; }
}

/* Scroll reveal (only when JS is running) */
.bh-js [data-reveal] { opacity: 0; transform: translateY(20px); transition: opacity .7s ease, transform .7s ease; }
.bh-js [data-reveal].is-visible { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .bh-nav, .bh-menu-btn__bars span { transition: none !important; }
  .bh-js [data-reveal] { opacity: 1; transform: none; transition: none; }
}
