/* BOOMERANG AUS ARENA V5.2 — standalone static landing page */
:root { color-scheme:dark; }
html,body { width:100%; min-height:100%; margin:0; padding:0; }
html { overflow-x:hidden; scroll-behavior:smooth; }
body { background:#05152e; overflow-x:hidden; }

/* GLOBAL */
#bmLandingPage,
#bmLandingPage *,
#bmLandingPage *::before,
#bmLandingPage *::after,
#bmLandingLoader,
#bmLandingLoader * {
  box-sizing:border-box;
}

#bmLandingPage {
  --navy:#05152e;
  --blue:#0869fa;
  --aqua:#20e6d3;
  --line:#28517f;

  position:relative!important;
  z-index:10;
  width:100%!important;
  max-width:none!important;
  min-height:100vh!important;
  height:auto!important;
  overflow:visible!important;
  margin:0!important;
  padding:0!important;
  background:var(--navy)!important;
  color:#fff;
  font-family:Inter,Arial,sans-serif;
  -webkit-font-smoothing:antialiased;
  touch-action:pan-y;
}

#bmLandingPage a {
  color:inherit;
  text-decoration:none;
}

#bmLandingPage button,
#bmLandingPage input {
  font:inherit;
}

#bmLandingPage button {
  cursor:pointer;
}

#bmLandingPage img {
  display:block;
}

#bmLandingPage .bm-wrap {
  width:min(1240px,calc(100% - 36px));
  margin:0 auto;
}

/* LOADER */
#bmLandingLoader {
  position:fixed!important;
  inset:0!important;
  z-index:2147483647!important;
  display:grid!important;
  place-items:center!important;
  width:100vw!important;
  height:100dvh!important;
  padding:20px;
  background:
    radial-gradient(
      circle at 75% 25%,
      #164e82,
      transparent 55%
    ),
    linear-gradient(
      140deg,
      #04142d,
      #08274b
    )!important;
  color:white;
  font-family:Inter,Arial,sans-serif;
  transition:opacity .4s ease,visibility .4s ease;
}

#bmLandingLoader.bm-loader-out {
  opacity:0!important;
  visibility:hidden!important;
  pointer-events:none!important;
}

#bmLandingLoader .bm-loader-inner {
  width:min(470px,90vw);
  text-align:center;
}

#bmLandingLoader .bm-loader-tag {
  display:inline-flex;
  padding:9px 14px;
  background:#0b365c;
  color:#4ce9e0;
  border:1px solid #246784;
  border-radius:30px;
  font-size:10px;
  font-weight:900;
  letter-spacing:.13em;
}

#bmLandingLoader .bm-loader-title {
  margin:20px 0 14px;
  font-size:clamp(44px,9vw,70px);
  font-weight:1000;
  line-height:.96;
  letter-spacing:-.05em;
  font-style:italic;
}

#bmLandingLoader .bm-loader-title span {
  background:linear-gradient(
    90deg,#087cff,#31edcf
  );
  -webkit-background-clip:text;
  background-clip:text;
  color:transparent;
}

#bmLandingLoader p {
  color:#a3bed7;
  font-size:13px;
}

#bmLandingLoader .bm-loader-track {
  height:10px;
  margin:27px auto 10px;
  padding:2px;
  border-radius:20px;
  background:#1b4267;
  overflow:hidden;
}

#bmLandingLoader #bmLoadBar {
  height:100%;
  width:0%;
  border-radius:20px;
  background:linear-gradient(
    90deg,#0869fa,#1ca8f6,#20e6d3
  );
  transition:width .15s linear;
}

#bmLandingLoader .bm-loader-bottom {
  display:flex;
  justify-content:space-between;
  color:#91adc9;
  font-size:11px;
}

#bmLandingLoader .bm-loader-bottom strong {
  color:#50eadc;
}

/* HEADER */
#bmLandingPage .bm-header {
  position:sticky;
  top:0;
  z-index:100;
  background:rgba(8,31,68,.97);
  border-bottom:1px solid #28517f;
  backdrop-filter:blur(14px);
}

#bmLandingPage .bm-header-inner {
  min-height:70px;
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:15px;
}

#bmLandingPage .bm-logo {
  font-size:26px;
  font-weight:1000;
  font-style:italic;
  letter-spacing:-.05em;
  white-space:nowrap;
}

#bmLandingPage .bm-logo span {
  color:var(--aqua);
}

#bmLandingPage .bm-header-actions {
  display:flex;
  gap:9px;
}

/* BUTTONS */
#bmLandingPage .bm-btn {
  display:inline-flex;
  align-items:center;
  justify-content:center;
  min-height:44px;
  padding:0 20px;
  color:#fff;
  background:linear-gradient(135deg,#0877ff,#0754cc);
  border:1px solid #278bff;
  border-radius:10px;
  font-size:13px;
  font-weight:900;
  transition:
    transform .18s ease,
    box-shadow .18s ease;
}

#bmLandingPage .bm-btn:hover {
  transform:translateY(-2px);
  box-shadow:0 8px 20px #075de950;
}

#bmLandingPage .bm-btn-outline {
  background:#0a2a52;
  border-color:#315e8d;
}

/* HERO */
#bmLandingPage .bm-hero {
  position:relative;
  overflow:hidden;
  background:
    radial-gradient(
      ellipse at 78% 20%,
      rgba(25,104,173,.54),
      transparent 58%
    ),
    linear-gradient(
      120deg,#04142d,#09264a 60%,#031329
    );
  border-bottom:1px solid #21476f;
}

#bmLandingPage .bm-hero::before {
  content:"";
  position:absolute;
  inset:0;
  background-image:
    radial-gradient(#20cdec 1px,transparent 1px);
  background-size:15px 15px;
  opacity:.1;
  pointer-events:none;
}

#bmLandingPage .bm-hero-inner {
  position:relative;
  z-index:1;
  display:grid;
  grid-template-columns:
    minmax(0,.93fr) minmax(0,1.07fr);
  align-items:center;
  gap:35px;
  padding:44px 0 42px;
}

#bmLandingPage .bm-eyebrow {
  color:#36e8df;
  font-size:11px;
  font-weight:900;
  letter-spacing:.13em;
}

#bmLandingPage .bm-hero h1 {
  margin:15px 0 16px;
  color:white;
  font-size:clamp(40px,5vw,65px);
  font-weight:1000;
  font-style:italic;
  letter-spacing:-.055em;
  line-height:1.03;
}

#bmLandingPage .bm-hero h1 em {
  font-style:normal;
  background:linear-gradient(
    90deg,#20cdeb,#28e6dd,#72ffec
  );
  -webkit-background-clip:text;
  background-clip:text;
  color:transparent;
}

#bmLandingPage .bm-hero-copy > p {
  max-width:490px;
  color:#b6cde3;
  font-size:15px;
  line-height:1.75;
}

#bmLandingPage .bm-hero-tags {
  display:flex;
  flex-wrap:wrap;
  gap:8px;
  margin:20px 0;
}

#bmLandingPage .bm-hero-tags span {
  padding:8px 10px;
  color:#b3eff2;
  background:#0b345b;
  border:1px solid #2f7799;
  border-radius:6px;
  font-size:10px;
  font-weight:850;
}

#bmLandingPage .bm-hero-cta {
  min-height:49px;
}

#bmLandingPage .bm-responsible {
  margin-top:17px;
  color:#8daac6;
  font-size:10px;
}

/* =============================================
   V5.1 PREMIUM HERO CTA
   Replaces emoji-style arrow with SVG
============================================= */

#bmLandingPage .bm-hero-cta-premium {
  display:inline-flex;
  align-items:center;
  justify-content:center;
  gap:12px;

  min-height:54px;
  padding:0 15px 0 24px;

  color:#ffffff;
  background:linear-gradient(
    125deg,
    #1185ff 0%,
    #0869fa 55%,
    #0754cd 100%
  );

  border:1px solid #439fff;
  border-radius:14px;

  box-shadow:
    0 10px 25px rgba(6,86,221,.26),
    inset 0 1px 0 rgba(255,255,255,.16);

  text-decoration:none;
  white-space:nowrap;
  cursor:pointer;

  transition:
    transform .2s ease,
    box-shadow .2s ease,
    border-color .2s ease;
}

#bmLandingPage .bm-hero-cta-premium:hover {
  transform:translateY(-2px);
  border-color:#68bbff;

  box-shadow:
    0 14px 28px rgba(6,97,233,.36),
    inset 0 1px 0 rgba(255,255,255,.18);
}

#bmLandingPage .bm-hero-cta-premium .bm-cta-label {
  display:inline-block;
  color:#ffffff;
  font-size:13px;
  font-weight:900;
  letter-spacing:.035em;
}

#bmLandingPage .bm-hero-cta-premium .bm-cta-icon {
  display:inline-flex;
  align-items:center;
  justify-content:center;
  flex:0 0 29px;

  width:29px;
  height:29px;

  color:#ffffff;
  background:rgba(255,255,255,.12);
  border:1px solid rgba(255,255,255,.21);
  border-radius:50%;

  transition:
    background .2s ease,
    transform .2s ease;
}

#bmLandingPage .bm-hero-cta-premium .bm-cta-icon svg {
  display:block;
  width:15px;
  height:15px;
}

#bmLandingPage .bm-hero-cta-premium:hover .bm-cta-icon {
  background:rgba(255,255,255,.2);
  transform:translateX(2px);
}

#bmLandingPage .bm-hero-cta-premium:focus-visible {
  outline:2px solid #7df6e6;
  outline-offset:3px;
}

/* HERO GAME IMAGES */
#bmLandingPage .bm-hero-art {
  display:grid;
  grid-template-columns:repeat(2,minmax(0,1fr));
  gap:14px;
  padding:15px;
  transform:rotate(-3deg);
}

#bmLandingPage .bm-hero-art img {
  width:100%;
  aspect-ratio:4/3;
  object-fit:cover;
  border:4px solid #2b82bb;
  border-radius:15px;
  background:#10375b;
  box-shadow:0 18px 35px #0006;
}

/* SEARCH + FILTERS */
#bmLandingPage .bm-quick {
  padding:25px 0 5px;
  background:#05152e;
}

#bmLandingPage .bm-search-row {
  display:grid;
  grid-template-columns:1fr auto;
  gap:12px;
}

#bmLandingPage #bmGameSearch {
  width:100%;
  min-height:49px;
  padding:0 16px;
  color:white;
  background:#0b2a50;
  border:1px solid #2d5e85;
  border-radius:11px;
  outline:none;
  font-size:13px;
}

#bmLandingPage #bmGameSearch::placeholder {
  color:#8ba9c3;
}

#bmLandingPage .bm-chips {
  display:flex;
  gap:9px;
  overflow-x:auto;
  overflow-y:hidden;
  padding:15px 0 9px;
  scrollbar-width:none;
}

#bmLandingPage .bm-chips::-webkit-scrollbar {
  display:none;
}

#bmLandingPage .bm-chips button {
  flex:0 0 auto;
  padding:10px 15px;
  background:#0b2b51;
  color:#aecce3;
  border:1px solid #2b5781;
  border-radius:30px;
  font-size:12px;
  font-weight:850;
  white-space:nowrap;
}

#bmLandingPage .bm-chips button.active {
  background:linear-gradient(
    135deg,#0869fa,#087edc
  );
  color:white;
  border-color:#25b3f5;
}

/* GAME SECTIONS */
#bmLandingPage .bm-games-area {
  width:100%;
  height:auto;
  overflow:visible;
  padding:8px 0 55px;
  background:#05152e;
  touch-action:pan-y;
}

#bmLandingPage .bm-game-section {
  position:relative;
  padding:25px 0 12px;
  scroll-margin-top:90px;
}

#bmLandingPage .bm-section-head {
  display:flex;
  align-items:flex-end;
  justify-content:space-between;
  gap:16px;
  margin-bottom:14px;
}

#bmLandingPage .bm-section-head h2 {
  margin:0 0 5px;
  font-size:21px;
  font-weight:950;
}

#bmLandingPage .bm-section-head p {
  margin:0;
  color:#88a8c8;
  font-size:12px;
}

#bmLandingPage .bm-game-count {
  display:inline-block;
  margin-top:7px;
  color:#49e1d9;
  font-size:10px;
  font-weight:900;
  letter-spacing:.08em;
}

/* CAROUSEL ARROWS */
#bmLandingPage .bm-carousel-controls {
  display:flex;
  gap:7px;
}

#bmLandingPage .bm-carousel-controls button {
  width:37px;
  height:37px;
  color:white;
  background:#0c2c54;
  border:1px solid #35628c;
  border-radius:9px;
  font-size:23px;
}

/* GAME CAROUSEL */
#bmLandingPage .bm-carousel {
  display:grid;
  grid-auto-flow:column;
  grid-auto-columns:calc((100% - 60px)/6);
  gap:12px;
  width:100%;
  overflow-x:auto;
  overflow-y:hidden;
  padding:2px 1px 14px;
  scroll-snap-type:x proximity;
  scroll-behavior:smooth;
  scrollbar-width:none;
  -webkit-overflow-scrolling:touch;
  touch-action:pan-x pan-y;
}

#bmLandingPage .bm-carousel::-webkit-scrollbar {
  display:none;
}

/* GAME CARD */
#bmLandingPage .bm-game-card {
  min-width:0;
  overflow:hidden;
  background:#0b294d;
  border:1px solid #2b5b86;
  border-radius:13px;
  scroll-snap-align:start;
  transition:
    transform .18s ease,
    border-color .18s ease;
}

#bmLandingPage .bm-game-card:hover {
  transform:translateY(-4px);
  border-color:#22bbe1;
}

#bmLandingPage .bm-game-link {
  display:block;
}

#bmLandingPage .bm-game-image {
  position:relative;
  overflow:hidden;
  aspect-ratio:4/3;
  background:#12375b;
}

#bmLandingPage .bm-game-image img {
  width:100%;
  height:100%;
  object-fit:cover;
  transition:transform .25s ease;
}

#bmLandingPage .bm-game-card:hover img {
  transform:scale(1.04);
}

#bmLandingPage .bm-image-failed {
  opacity:.2;
}

#bmLandingPage .bm-game-hover {
  position:absolute;
  inset:0;
  display:flex;
  justify-content:center;
  align-items:flex-end;
  padding:12px;
  opacity:0;
  color:white;
  background:linear-gradient(
    to top,
    rgba(2,14,34,.9),
    transparent 75%
  );
  font-size:12px;
  font-weight:900;
  transition:opacity .2s ease;
}

#bmLandingPage .bm-game-card:hover .bm-game-hover {
  opacity:1;
}

#bmLandingPage .bm-game-name {
  padding:11px 11px 4px;
  font-size:12px;
  font-weight:900;
  white-space:nowrap;
  overflow:hidden;
  text-overflow:ellipsis;
}

#bmLandingPage .bm-game-meta {
  padding:0 11px 12px;
  color:#4de1d8;
  font-size:10px;
  font-weight:700;
}

/* FOOTER */
#bmLandingPage .bm-footer {
  position:relative;
  padding:25px 0;
  text-align:center;
  background:#06182e;
  border-top:1px solid #234b74;
  color:#8caac7;
  font-size:11px;
  line-height:1.6;
}

#bmLandingPage .bm-footer p {
  margin:4px 0;
}

#bmLandingPage .bm-mobile-cta {
  display:none;
}

/* TABLET */
@media(max-width:1080px) {
  #bmLandingPage .bm-hero-inner {
    grid-template-columns:1fr;
    gap:12px;
  }

  #bmLandingPage .bm-hero-copy {
    text-align:center;
  }

  #bmLandingPage .bm-hero-copy > p {
    margin-left:auto;
    margin-right:auto;
  }

  #bmLandingPage .bm-hero-tags {
    justify-content:center;
  }

  #bmLandingPage .bm-hero-art {
    width:min(610px,100%);
    margin:0 auto;
  }

  #bmLandingPage .bm-carousel {
    grid-auto-columns:calc((100% - 36px)/4);
  }
}

/* MOBILE */
@media(max-width:760px) {
  #bmLandingPage .bm-wrap {
    width:calc(100% - 24px);
  }

  #bmLandingPage .bm-header-inner {
    min-height:60px;
  }

  #bmLandingPage .bm-logo {
    font-size:19px;
  }

  #bmLandingPage .bm-header-actions {
    gap:6px;
  }

  #bmLandingPage .bm-header-actions .bm-btn {
    min-height:36px;
    padding:0 10px;
    font-size:10px;
  }

  #bmLandingPage .bm-hero-inner {
    padding:29px 0 20px;
  }

  #bmLandingPage .bm-hero h1 {
    font-size:clamp(37px,10vw,52px);
  }

  #bmLandingPage .bm-hero-copy > p {
    font-size:13px;
  }

  #bmLandingPage .bm-hero-art {
    width:min(450px,100%);
    gap:9px;
    padding:9px;
  }

  #bmLandingPage .bm-search-row {
    grid-template-columns:1fr;
  }

  #bmLandingPage .bm-full-lobby {
    display:none;
  }

  #bmLandingPage .bm-carousel {
    grid-auto-columns:46%;
    gap:10px;
    touch-action:pan-x pan-y;
  }

  #bmLandingPage .bm-carousel-controls {
    display:none;
  }

  #bmLandingPage .bm-game-hover {
    display:none;
  }

  #bmLandingPage .bm-mobile-cta {
    display:block;
    position:sticky;
    bottom:0;
    z-index:120;
    padding:9px 12px;
    background:rgba(5,20,43,.97);
    border-top:1px solid #2785cd;
  }

  #bmLandingPage .bm-mobile-cta .bm-btn {
    width:100%;
  }

  /* V5.1 MOBILE HERO CTA */
  #bmLandingPage .bm-hero-cta-premium {
    min-height:52px;
    padding:0 13px 0 21px;
    gap:10px;
    border-radius:13px;
  }

  #bmLandingPage .bm-hero-cta-premium .bm-cta-label {
    font-size:13px;
  }

  #bmLandingPage .bm-hero-cta-premium .bm-cta-icon {
    width:27px;
    height:27px;
    flex-basis:27px;
  }

  #bmLandingPage .bm-hero-cta-premium .bm-cta-icon svg {
    width:14px;
    height:14px;
  }
}

/* SMALL MOBILE */
@media(max-width:430px) {
  #bmLandingPage .bm-carousel {
    grid-auto-columns:63%;
  }

  #bmLandingPage .bm-hero-tags {
    gap:6px;
  }

  #bmLandingPage .bm-hero-tags span {
    font-size:9px;
    padding:7px;
  }

  #bmLandingPage .bm-section-head h2 {
    font-size:18px;
  }

  #bmLandingPage .bm-hero-art {
    transform:rotate(-2deg);
  }
}

/* REDUCED MOTION */
@media(prefers-reduced-motion:reduce) {
  #bmLandingPage *,
  #bmLandingLoader * {
    scroll-behavior:auto!important;
    animation-duration:.01ms!important;
    transition-duration:.01ms!important;
  }
}
/* Infinite carousel: clones extend both ends without layout changes. */
#bmLandingPage .bm-carousel > [data-loop-clone] { flex-shrink:0; }
#bmLandingPage .bm-carousel:focus-visible { outline:2px solid #20e6d3; outline-offset:3px; }
