/**
 * HotelsBookie Intelligence Desk UI
 * Bookie Board · Signals · Decision cards · Mobile sticky CTA
 */

:root {
  --hb-ink: #07111F;
  --hb-card-navy: #0F172A;
  --hb-cloud: #F8FAFC;
  --hb-steel: #64748B;
  --hb-signal-green: #17C964;
  --hb-signal-amber: #F5A524;
  --hb-signal-red: #F31260;
  --hb-font-mono: "IBM Plex Mono", ui-monospace, monospace;
}

body.home,
body.hb-intel {
  background: var(--hb-cloud);
}

/* ── Top alert bar ── */
.hb-alert-bar {
  background: var(--hb-ink);
  border-bottom: 1px solid rgba(245, 165, 36, 0.35);
  text-align: center;
  position: relative;
  z-index: 220;
}
.hb-alert-bar a {
  display: block;
  padding: 10px 20px;
  font-family: var(--hb-font-mono);
  font-size: 12px;
  letter-spacing: 0.04em;
  color: #F8FAFC;
  transition: color 0.2s;
}
.hb-alert-bar a:hover {
  color: var(--hb-signal-amber);
}
.hb-alert-bar__pulse {
  display: inline-block;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--hb-signal-red);
  margin-right: 8px;
  vertical-align: middle;
  box-shadow: 0 0 0 0 rgba(243, 18, 96, 0.55);
  animation: hb-pulse 1.8s infinite;
}
@keyframes hb-pulse {
  70% {
    box-shadow: 0 0 0 8px rgba(243, 18, 96, 0);
  }
  100% {
    box-shadow: 0 0 0 0 rgba(243, 18, 96, 0);
  }
}

/* ── Signal badges ── */
.hb-signal {
  display: inline-flex;
  align-items: center;
  font-family: var(--hb-font-mono);
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 4px 9px;
  border-radius: 3px;
  line-height: 1.2;
  white-space: nowrap;
}
.hb-signal--book-now,
.hb-signal--value-pick,
.hb-signal--seasonal-drop {
  background: rgba(23, 201, 100, 0.16);
  color: #12a150;
  border: 1px solid rgba(23, 201, 100, 0.35);
}
.hb-signal--wait,
.hb-signal--compare {
  background: rgba(245, 165, 36, 0.16);
  color: #c47d0a;
  border: 1px solid rgba(245, 165, 36, 0.4);
}
.hb-signal--avoid,
.hb-signal--overpriced {
  background: rgba(243, 18, 96, 0.14);
  color: #d90d52;
  border: 1px solid rgba(243, 18, 96, 0.35);
}
.hb-signal--platform-edge {
  background: rgba(201, 168, 76, 0.18);
  color: #c9a84c;
  border: 1px solid rgba(201, 168, 76, 0.4);
}
.hb-board .hb-signal--book-now,
.hb-board .hb-signal--value-pick,
.hb-board .hb-signal--seasonal-drop {
  color: #6dffb0;
  background: rgba(23, 201, 100, 0.12);
}
.hb-board .hb-signal--wait,
.hb-board .hb-signal--compare {
  color: #ffc857;
  background: rgba(245, 165, 36, 0.12);
}
.hb-board .hb-signal--avoid,
.hb-board .hb-signal--overpriced {
  color: #ff6b9d;
  background: rgba(243, 18, 96, 0.12);
}

/* ── Header / nav refinements ── */
.hb-utility-bar {
  display: none;
}
.hb-site-header.hb-intel-header {
  background: #fff;
  border-bottom: 1px solid #e2e8f0;
}
.hb-nav-cta {
  background: var(--hb-ink) !important;
  color: #fff !important;
}
.hb-nav-cta:hover {
  background: var(--hb-navy) !important;
  color: var(--hb-gold-light) !important;
}
.hb-mobile-alerts {
  display: none;
  font-family: var(--hb-font-mono);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--hb-ink);
  padding: 8px 12px;
  border: 1px solid #e2e8f0;
  border-radius: 4px;
  margin-left: auto;
  margin-right: 10px;
}
.hb-mobile-alerts:hover {
  border-color: var(--hb-gold);
  color: var(--hb-navy);
}

/* ── Hero: intelligence desk ── */
.hb-hero.hb-hero--intel {
  background: linear-gradient(145deg, #07111f 0%, #0b1f3a 48%, #132a45 100%);
  color: #fff;
  grid-template-columns: 1.05fr 0.95fr;
  align-items: center;
  gap: 40px;
  padding: 64px 40px 56px;
  position: relative;
  overflow: hidden;
}
.hb-hero.hb-hero--intel::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 60% 50% at 85% 20%, rgba(23, 201, 100, 0.12), transparent 55%),
    radial-gradient(ellipse 50% 40% at 10% 90%, rgba(201, 168, 76, 0.1), transparent 50%),
    repeating-linear-gradient(
      0deg,
      transparent,
      transparent 31px,
      rgba(255, 255, 255, 0.015) 31px,
      rgba(255, 255, 255, 0.015) 32px
    );
  pointer-events: none;
}
.hb-hero.hb-hero--intel .hb-hero-bg-circle,
.hb-hero.hb-hero--intel .hb-hero-bg-circle-2 {
  display: none;
}
.hb-hero--intel .hb-hero-eyebrow {
  color: var(--hb-gold);
  font-family: var(--hb-font-mono);
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  margin-bottom: 16px;
}
.hb-hero--intel h1 {
  color: #fff;
  font-size: clamp(34px, 4.6vw, 50px);
  margin-bottom: 18px;
}
.hb-hero--intel h1 em {
  color: var(--hb-gold-light);
  font-style: italic;
}
.hb-hero--intel .hb-hero-sub {
  color: rgba(248, 250, 252, 0.72);
  font-size: 16.5px;
  max-width: 520px;
  margin-bottom: 28px;
}
.hb-hero--intel .hb-btn-primary {
  background: var(--hb-signal-green);
  color: #07111f;
}
.hb-hero--intel .hb-btn-primary:hover {
  background: #3dd87c;
}
.hb-hero--intel .hb-btn-ghost {
  border-color: rgba(255, 255, 255, 0.35);
  color: #fff;
}
.hb-hero--intel .hb-btn-ghost:hover {
  border-color: var(--hb-gold);
  color: var(--hb-gold-light);
}
.hb-trust-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 22px;
  margin-top: 28px;
  padding-top: 22px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}
.hb-trust-row span {
  font-family: var(--hb-font-mono);
  font-size: 11px;
  color: rgba(248, 250, 252, 0.55);
  letter-spacing: 0.02em;
}
.hb-trust-row span strong {
  color: rgba(248, 250, 252, 0.9);
  font-weight: 600;
}

/* ── Hero Board panel ── */
.hb-board {
  background: rgba(15, 23, 42, 0.92);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 12px;
  padding: 18px 18px 12px;
  backdrop-filter: blur(8px);
  box-shadow: 0 24px 48px rgba(0, 0, 0, 0.35);
  position: relative;
  z-index: 2;
}
.hb-board__label {
  font-family: var(--hb-font-mono);
  font-size: 10px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--hb-gold);
  margin-bottom: 14px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.hb-board__live {
  color: var(--hb-signal-green);
  font-size: 10px;
}
.hb-board__live::before {
  content: "";
  display: inline-block;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--hb-signal-green);
  margin-right: 6px;
  vertical-align: middle;
}
.hb-board__head,
.hb-board__row {
  display: grid;
  grid-template-columns: 1.1fr 0.95fr 1.1fr 0.85fr;
  gap: 8px;
  align-items: center;
  padding: 10px 8px;
}
.hb-board__head {
  font-family: var(--hb-font-mono);
  font-size: 9px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(248, 250, 252, 0.4);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  padding-bottom: 8px;
  margin-bottom: 4px;
}
.hb-board__row {
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  text-decoration: none;
  color: inherit;
  transition: background 0.15s;
  border-radius: 6px;
}
.hb-board__row:hover {
  background: rgba(255, 255, 255, 0.04);
}
.hb-board__city {
  font-size: 14px;
  font-weight: 600;
  color: #fff;
}
.hb-board__move {
  font-family: var(--hb-font-mono);
  font-size: 12px;
  color: rgba(248, 250, 252, 0.75);
}
.hb-board__window {
  font-size: 12px;
  color: rgba(248, 250, 252, 0.5);
}
.hb-board__foot {
  margin-top: 12px;
  padding-top: 10px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  font-size: 12px;
  color: rgba(248, 250, 252, 0.45);
  text-align: center;
}
.hb-board__foot a {
  color: var(--hb-gold-light);
  font-weight: 600;
  text-decoration: underline;
  text-underline-offset: 3px;
}

/* ── Section chrome ── */
.hb-section--intel {
  padding: 56px 40px;
  max-width: 1200px;
  margin: 0 auto;
}
.hb-section--ink {
  background: var(--hb-ink);
  color: #fff;
  padding: 64px 40px;
}
.hb-section--ink .hb-section-title {
  color: #fff;
}
.hb-section--ink .hb-section-eyebrow {
  color: var(--hb-gold);
}
.hb-section--muted {
  background: #eef2f7;
}
.hb-intel-eyebrow {
  font-family: var(--hb-font-mono);
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--hb-gold);
  margin-bottom: 8px;
}
.hb-intel-title {
  font-family: var(--hb-font-display);
  font-size: clamp(24px, 3vw, 34px);
  color: var(--hb-navy);
  margin-bottom: 8px;
}
.hb-intel-sub {
  color: var(--hb-steel);
  font-size: 15px;
  max-width: 640px;
  margin-bottom: 28px;
}

/* ── Alert / intelligence cards ── */
.hb-alert-scroll {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}
.hb-intel-card {
  background: #fff;
  border: 1px solid #e2e8f0;
  border-radius: 12px;
  padding: 22px 22px 20px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  transition: border-color 0.2s, transform 0.2s, box-shadow 0.2s;
  text-decoration: none;
  color: inherit;
  min-height: 100%;
}
.hb-intel-card:hover {
  border-color: var(--hb-gold);
  transform: translateY(-2px);
  box-shadow: 0 12px 28px rgba(7, 17, 31, 0.08);
}
.hb-intel-card__city {
  font-family: var(--hb-font-display);
  font-size: 22px;
  color: var(--hb-navy);
  font-weight: 700;
}
.hb-intel-card__line {
  font-size: 14.5px;
  color: var(--hb-text-mid);
  line-height: 1.5;
  flex: 1;
}
.hb-intel-card__meta {
  font-family: var(--hb-font-mono);
  font-size: 11px;
  color: var(--hb-steel);
  line-height: 1.6;
}
.hb-intel-card__cta {
  font-size: 13px;
  font-weight: 700;
  color: var(--hb-navy);
  margin-top: 4px;
}

/* ── Featured verdict ── */
.hb-verdict-feature {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 24px;
  align-items: stretch;
}
.hb-verdict-feature__main {
  background: var(--hb-card-navy);
  color: #fff;
  border-radius: 14px;
  padding: 32px 32px 28px;
  position: relative;
  overflow: hidden;
}
.hb-verdict-feature__main::after {
  content: "";
  position: absolute;
  right: -40px;
  top: -40px;
  width: 180px;
  height: 180px;
  border-radius: 50%;
  background: rgba(201, 168, 76, 0.12);
}
.hb-verdict-feature__main h3 {
  color: #fff;
  font-size: clamp(22px, 2.5vw, 28px);
  margin: 14px 0 16px;
  position: relative;
  z-index: 1;
}
.hb-verdict-box {
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(201, 168, 76, 0.35);
  border-radius: 10px;
  padding: 16px 18px;
  margin: 18px 0;
  position: relative;
  z-index: 1;
}
.hb-verdict-box__label {
  font-family: var(--hb-font-mono);
  font-size: 10px;
  letter-spacing: 0.12em;
  color: var(--hb-gold);
  margin-bottom: 8px;
}
.hb-verdict-box__text {
  font-size: 16px;
  font-weight: 600;
  color: #fff;
  line-height: 1.45;
}
.hb-verdict-feature__side {
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.hb-verdict-mini {
  background: #fff;
  border: 1px solid #e2e8f0;
  border-radius: 10px;
  padding: 16px 18px;
  text-decoration: none;
  color: inherit;
  transition: border-color 0.2s;
  flex: 1;
}
.hb-verdict-mini:hover {
  border-color: var(--hb-gold);
}
.hb-verdict-mini h4 {
  font-size: 15px;
  margin: 8px 0 6px;
  font-family: var(--hb-font-body);
  font-weight: 650;
}
.hb-verdict-mini p {
  font-size: 13px;
  color: var(--hb-steel);
  margin: 0;
}

/* ── Tools grid ── */
.hb-tools-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
}
.hb-tool {
  background: #fff;
  border: 1px solid #e2e8f0;
  border-radius: 10px;
  padding: 20px 18px;
  text-decoration: none;
  color: inherit;
  transition: border-color 0.2s, background 0.2s;
}
.hb-tool:hover {
  border-color: var(--hb-navy);
  background: #fff;
}
.hb-tool__n {
  font-family: var(--hb-font-mono);
  font-size: 11px;
  color: var(--hb-gold);
  margin-bottom: 10px;
}
.hb-tool h3 {
  font-family: var(--hb-font-body);
  font-size: 16px;
  font-weight: 700;
  margin-bottom: 6px;
}
.hb-tool p {
  font-size: 13px;
  color: var(--hb-steel);
  margin: 0;
}

/* ── Hotels Near chips ── */
.hb-city-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 24px;
}
.hb-city-chip {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: #fff;
  border: 1px solid #e2e8f0;
  border-radius: 999px;
  padding: 10px 16px 10px 14px;
  text-decoration: none;
  color: var(--hb-navy);
  font-weight: 600;
  font-size: 14px;
  transition: border-color 0.2s, transform 0.15s;
}
.hb-city-chip:hover {
  border-color: var(--hb-gold);
  transform: translateY(-1px);
}

/* ── Method steps ── */
.hb-method {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}
.hb-method__step {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 10px;
  padding: 22px 18px;
}
.hb-method__n {
  font-family: var(--hb-font-mono);
  color: var(--hb-gold);
  font-size: 12px;
  margin-bottom: 10px;
}
.hb-method__step h3 {
  color: #fff;
  font-size: 16px;
  font-family: var(--hb-font-body);
  font-weight: 650;
  margin: 0;
}

/* ── Bookie Rules ── */
.hb-rules {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 12px;
}
.hb-rules li {
  display: grid;
  grid-template-columns: 42px 1fr;
  gap: 14px;
  align-items: start;
  background: #fff;
  border: 1px solid #e2e8f0;
  border-radius: 10px;
  padding: 16px 18px;
  font-size: 15px;
  color: var(--hb-text-mid);
}
.hb-rules__n {
  font-family: var(--hb-font-mono);
  font-size: 13px;
  font-weight: 600;
  color: var(--hb-navy);
  background: var(--hb-gold-pale);
  border-radius: 6px;
  text-align: center;
  padding: 6px 0;
}

/* ── Platform edge ── */
.hb-platform-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
}
.hb-platform {
  background: #fff;
  border: 1px solid #e2e8f0;
  border-radius: 10px;
  padding: 18px;
}
.hb-platform h3 {
  font-size: 16px;
  margin-bottom: 12px;
  font-family: var(--hb-font-body);
}
.hb-platform dl {
  margin: 0;
  font-size: 13px;
}
.hb-platform dt {
  font-family: var(--hb-font-mono);
  font-size: 10px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--hb-steel);
  margin-top: 10px;
}
.hb-platform dd {
  margin: 4px 0 0;
  color: var(--hb-navy);
  font-weight: 500;
}

/* ── Newsletter band ── */
.hb-newsletter-band {
  background: linear-gradient(120deg, #0b1f3a, #07111f 60%, #163255);
  padding: 56px 40px;
  text-align: center;
  color: #fff;
}
.hb-newsletter-band h2 {
  color: #fff;
  margin-bottom: 10px;
}
.hb-newsletter-band p {
  color: rgba(248, 250, 252, 0.65);
  max-width: 480px;
  margin: 0 auto 22px;
}
.hb-newsletter-band .hb-newsletter-form {
  max-width: 440px;
  margin: 0 auto;
}
.hb-newsletter-band .hb-newsletter-trust {
  margin-top: 14px;
  font-family: var(--hb-font-mono);
  font-size: 11px;
  color: rgba(248, 250, 252, 0.45);
}

/* ── Mobile sticky CTA ── */
.hb-sticky-cta {
  display: none;
  position: fixed;
  left: 12px;
  right: 12px;
  bottom: 12px;
  z-index: 300;
  background: var(--hb-ink);
  color: #fff;
  text-align: center;
  padding: 14px 16px;
  border-radius: 10px;
  font-weight: 700;
  font-size: 14px;
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.28);
  border: 1px solid rgba(201, 168, 76, 0.35);
}
.hb-sticky-cta:hover {
  color: var(--hb-gold-light);
}

/* ── Single post signal strip ── */
.hb-post-signal-strip {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  align-items: center;
  margin-bottom: 20px;
}

/* ── Responsive ── */
@media (max-width: 1100px) {
  .hb-alert-scroll,
  .hb-tools-grid,
  .hb-method,
  .hb-platform-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .hb-verdict-feature {
    grid-template-columns: 1fr;
  }
}
@media (max-width: 900px) {
  .hb-hero.hb-hero--intel {
    grid-template-columns: 1fr;
    padding: 48px 20px 40px;
  }
  .hb-board__head {
    display: none;
  }
  .hb-board__row {
    grid-template-columns: 1fr 1fr;
    gap: 6px 10px;
  }
  .hb-board__window {
    grid-column: 1 / -1;
  }
  .hb-mobile-alerts {
    display: inline-flex;
  }
  .hb-section--intel,
  .hb-section--ink,
  .hb-newsletter-band {
    padding-left: 20px;
    padding-right: 20px;
  }
  .hb-sticky-cta {
    display: block;
  }
  body {
    padding-bottom: 72px;
  }
  .hb-alert-scroll {
    display: flex;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    gap: 14px;
    padding-bottom: 8px;
    -webkit-overflow-scrolling: touch;
  }
  .hb-alert-scroll .hb-intel-card {
    min-width: 78vw;
    scroll-snap-align: start;
  }
}
@media (max-width: 640px) {
  .hb-tools-grid,
  .hb-method,
  .hb-platform-grid,
  .hb-alert-scroll {
    grid-template-columns: 1fr;
  }
  .hb-trust-row {
    gap: 8px 14px;
  }
}
