@charset "UTF-8";

/* Compact tool sections; all overrides stay within these three homepage IDs. */
#shake-machine {
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(280px, .92fr);
  align-items: center;
  gap: clamp(36px, 6vw, 80px);
  min-height: 0;
  padding: 40px 0;
  margin: 0 auto;
}
#shake-machine .match-demo-copy { min-width: 0; }
#shake-machine h2 {
  margin: 0 0 25px;
  font-size: clamp(32px, 3.45vw, 46px);
  font-weight: 700;
  line-height: 1.32;
  letter-spacing: -.035em;
}
#shake-machine .match-feature-list { margin: 0 0 22px; padding: 0; }
#shake-machine .match-feature-list li { align-items: center; gap: 16px; padding: 14px 0; }
#shake-machine .match-feature-list li > span { font-size: 12px; line-height: 1.5; }
#shake-machine .match-feature-list h3 { margin: 0; font-size: 20px; line-height: 1.5; font-weight: 550; }
#shake-machine .match-link { display: inline-flex; align-items: center; gap: 15px; min-height: 44px; font-size: 15px; }
#shake-machine .match-product-pair.is-output-only {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  place-items: center;
  gap: 0;
  width: 100%;
  max-width: none;
  min-width: 0;
  padding: 0;
  margin: 0;
}
#shake-machine .match-product-pair::before { inset: 12% 4%; }
#shake-machine .match-product-pair.is-output-only .match-output { width: min(100%, 245px); margin: 0; }
#shake-machine .match-output picture { display: block; border-radius: 17px; }
#shake-machine .match-output img { display: block; width: 100%; height: auto; max-height: 560px; object-fit: contain; }

#dynamic-skins {
  margin: 8px 0 20px;
  padding: 40px 0;
}
#dynamic-skins .bsg-shell { width: min(1180px, calc(100% - 48px)); margin: 0 auto; }
#dynamic-skins .bsg-heading { padding: 0 0 22px; }
#dynamic-skins .bsg-title { margin: 0; font-size: clamp(28px, 2.9vw, 38px); line-height: 1.35; letter-spacing: -.025em; }
#dynamic-skins .bsg-cards { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }
#dynamic-skins .bsg-card { border-radius: 20px; }
#dynamic-skins .bsg-stage { aspect-ratio: 1; max-height: none; padding: 6% 6% 1%; }
#dynamic-skins .bsg-card-copy { padding: 8px 20px 20px; }
#dynamic-skins .bsg-card-title { font-size: 20px; line-height: 1.4; letter-spacing: .01em; }
#dynamic-skins .bsg-cta-row { padding-top: 24px; }
#dynamic-skins .bsg-download { min-height: 46px; padding: 10px 21px; font-size: 15px; border-radius: 10px; }

#lottery-machine {
  display: grid;
  grid-template-columns: minmax(0, .95fr) minmax(0, 1.05fr);
  align-items: center;
  gap: clamp(36px, 5.5vw, 68px);
  margin: 0 auto;
  padding: 38px 0 44px !important;
}
#lottery-machine .lottery-copy { min-width: 0; }
#lottery-machine h2 { margin: 0 0 26px; font-size: clamp(31px, 3.15vw, 43px); line-height: 1.35; letter-spacing: -.035em; }
#lottery-machine .lottery-steps { gap: 16px; }
#lottery-machine .lottery-steps li { gap: 14px; font-size: 19px; line-height: 1.5; }
#lottery-machine .lottery-steps li b { width: 32px; height: 32px; font-size: 12px; border-radius: 8px; }
#lottery-machine .lottery-showcase { width: 100%; max-width: 492px; justify-self: center; padding: 18px; border-radius: 20px; }
#lottery-machine .lottery-showcase-top { margin-bottom: 10px; }
#lottery-machine .lottery-showcase-top > span { font-size: 13px; padding: 4px 9px; }
#lottery-machine .lottery-screen { border-radius: 13px; }
#lottery-machine .lottery-screen > img { display: block; width: 100%; height: auto; object-fit: contain; }
#lottery-machine .lottery-demo-controls { gap: 10px; margin-top: 14px; }
#lottery-machine .lottery-demo-controls button { min-height: 48px; padding: 10px 16px; font-size: 17px; }

@media (max-width: 1000px) {
  #shake-machine { grid-template-columns: minmax(0, 1.15fr) minmax(240px, .85fr); gap: 32px; padding: 36px 0; }
  #shake-machine h2 { font-size: 34px; }
  #shake-machine .match-product-pair.is-output-only .match-output { width: min(100%, 228px); }
  #shake-machine .match-feature-list h3 { font-size: 18px; }
  #dynamic-skins .bsg-shell { width: calc(100% - 56px); }
  #dynamic-skins .bsg-cards { gap: 12px; }
  #dynamic-skins .bsg-card-copy { padding: 8px 15px 17px; }
  #dynamic-skins .bsg-card-title { font-size: 18px; }
  #lottery-machine { gap: 32px; }
  #lottery-machine h2 { font-size: 33px; }
  #lottery-machine .lottery-steps li { font-size: 17px; }
}

@media (max-width: 760px) {
  #shake-machine { display: flex; flex-direction: column; align-items: stretch; gap: 27px; padding: 32px 0 36px; }
  #shake-machine h2 { margin-bottom: 18px; font-size: clamp(29px, 7.7vw, 38px); line-height: 1.35; }
  #shake-machine .match-feature-list { margin-bottom: 12px; }
  #shake-machine .match-feature-list li { padding: 11px 0; gap: 14px; }
  #shake-machine .match-feature-list h3 { font-size: 18px; }
  #shake-machine .match-link { font-size: 14px; }
  #shake-machine .match-product-pair.is-output-only .match-output { width: min(100%, 220px); }
  #dynamic-skins { margin: 0 0 16px; padding: 32px 0; }
  #dynamic-skins .bsg-shell { width: calc(100% - 40px); }
  #dynamic-skins .bsg-heading { padding: 0 0 20px; }
  #dynamic-skins .bsg-title { font-size: 28px; }
  #dynamic-skins .bsg-cards { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 13px; }
  #dynamic-skins .bsg-card { border-radius: 16px; }
  #dynamic-skins .bsg-card-copy { padding: 8px 15px 17px; }
  #dynamic-skins .bsg-card-title { font-size: 18px; }
  #dynamic-skins .bsg-cta-row { padding-top: 21px; justify-content: center; }
  #lottery-machine { grid-template-columns: 1fr; gap: 25px; padding: 32px 0 36px !important; }
  #lottery-machine h2 { font-size: clamp(29px, 7.5vw, 36px); margin-bottom: 23px; }
  #lottery-machine .lottery-steps { gap: 13px; }
  #lottery-machine .lottery-steps li { font-size: 17px; }
  #lottery-machine .lottery-showcase { max-width: 460px; padding: 16px; border-radius: 17px; }
  #lottery-machine .lottery-demo-controls button { min-height: 48px; font-size: 16px; }
}

@media (max-width: 400px) {
  #shake-machine .match-product-pair.is-output-only .match-output { width: min(100%, 210px); }
  #dynamic-skins .bsg-title { font-size: 25px; }
  #dynamic-skins .bsg-cards { gap: 10px; }
  #dynamic-skins .bsg-card-copy { padding: 6px 12px 15px; }
  #dynamic-skins .bsg-card-title { font-size: 16px; }
}
