/* ============================================
 H4WIN AUSTRALIA · ADS PAGE V6
 MIDNIGHT NAVY × ROYAL ORANGE
============================================ */

/* SITE TAKEOVER */

html.h6-mode,
html.h6-mode body {
  width: 100% !important;
  height: auto !important;
  min-height: 100% !important;
  max-height: none !important;
  margin: 0 !important;
  padding: 0 !important;
  overflow-x: hidden !important;
  overflow-y: auto !important;
  background: #050b1a !important;
  touch-action: pan-y !important;
}

html.h6-mode body {
  min-height: 100vh !important;
}

body.h6-body > :not(#h6Landing):not(script):not(style):not(link):not(meta):not(noscript) {
  display: none !important;
}

/* BASE */

#h6Landing {
  --h6-bg: #050b1a;
  --h6-orange: #f78e1e;
  --h6-gold: #ffc66b;
  --h6-muted: #acb8ca;

  position: relative !important;
  z-index: 10 !important;
  display: block !important;
  width: 100% !important;
  max-width: none !important;
  height: auto !important;
  min-height: 100vh !important;
  margin: 0 !important;
  padding: 0 !important;
  overflow: visible !important;
  color: #fff !important;
  background: var(--h6-bg) !important;
  font-family: Inter, Arial, sans-serif !important;
  font-size: 14px;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
}

#h6Landing,
#h6Landing * {
  box-sizing: border-box;
}

#h6Landing a {
  color: inherit;
  text-decoration: none;
  cursor: pointer;
}

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

#h6Landing button {
  cursor: pointer;
}

#h6Landing .h6-wrap {
  width: min(1180px, calc(100% - 40px));
  margin: 0 auto;
}

/* LOADING WEBSITE */

#h6Landing #h6Loader {
  position: fixed !important;
  inset: 0 !important;
  z-index: 2147483647 !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  width: 100vw !important;
  height: 100vh !important;
  height: 100dvh !important;
  padding: 20px !important;
  margin: 0 !important;
  overflow: hidden !important;
  background:
    radial-gradient(
      circle at 50% 30%,
      #312015,
      #121829 35%,
      #040916 78%
    ) !important;
  color: #fff !important;
  opacity: 1;
  visibility: visible;
  pointer-events: all;
  transition: opacity .35s ease;
}

#h6Landing #h6Loader.h6-loader-exit {
  opacity: 0 !important;
  pointer-events: none !important;
}

#h6Landing .h6-loader-inner {
  width: min(440px, 90vw);
  text-align: center;
}

#h6Landing .h6-loader-ring {
  position: relative;
  display: grid;
  place-items: center;
  width: 105px;
  height: 105px;
  margin: 0 auto 20px;
  border-radius: 50%;
  background: #111b2b;
  border: 1px solid #7b4a2a;
}

#h6Landing .h6-loader-ring::before {
  content: "";
  position: absolute;
  inset: -6px;
  border: 3px solid transparent;
  border-top-color: #ffb261;
  border-right-color: #f78e1e;
  border-radius: 50%;
  animation: h6Ring 2.3s linear infinite;
}

@keyframes h6Ring {
  to { transform: rotate(360deg); }
}

#h6Landing .h6-loader-ring img {
  width: 80px;
  height: 75px;
  object-fit: contain;
}

#h6Landing .h6-loader-label {
  color: #ffb66f;
  font-size: 10px;
  font-weight: 900;
  letter-spacing: 3px;
}

#h6Landing .h6-loader-inner h2 {
  margin: 17px 0 12px;
  color: #fff;
  font-size: clamp(39px, 8vw, 59px);
  font-weight: 950;
  line-height: 1;
  letter-spacing: -2px;
}

#h6Landing .h6-loader-inner h2 span {
  display: block;
  color: #ff9d41;
}

#h6Landing .h6-loader-inner p {
  margin: 0;
  color: #a8b5c9;
  font-size: 11px;
  letter-spacing: 1px;
}

#h6Landing .h6-progress {
  height: 9px;
  margin: 28px 0 11px;
  border-radius: 99px;
  overflow: hidden;
  background: #273248;
}

#h6Landing #h6ProgressBar {
  width: 0%;
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(
    90deg, #b34b20, #f78e1e, #ffd17a
  );
  box-shadow: 0 0 18px #f78e1e55;
  transition: width .12s ease;
}

#h6Landing .h6-progress-meta {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 15px;
  color: #bfb2a5;
  font-size: 10px;
}

/* HEADER */

#h6Landing .h6-header {
  position: relative;
  z-index: 20;
  background: #030817;
  border-bottom: 1px solid #704329;
}

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

#h6Landing .h6-logo {
  display: flex;
  align-items: center;
}

#h6Landing .h6-logo img {
  display: block;
  width: 124px;
  height: 58px;
  object-fit: contain;
}

#h6Landing .h6-header-actions {
  display: flex;
  gap: 9px;
}

/* BUTTON SYSTEM */

#h6Landing .h6-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 44px;
  padding: 11px 18px;
  color: #1a1007;
  background: linear-gradient(
    125deg,
    #ffcb76 0%,
    #f79432 49%,
    #bb4a1a 100%
  );
  border: 1px solid #ffc079;
  border-radius: 8px;
  font-size: 12px;
  font-weight: 900;
  letter-spacing: .3px;
  white-space: nowrap;
  box-shadow: 0 5px 19px #f78e1e20;
  transition: transform .2s, filter .2s;
}

#h6Landing .h6-btn:hover {
  transform: translateY(-2px);
  filter: brightness(1.1);
}

#h6Landing .h6-outline {
  color: #ffb978;
  background: #111d32;
  border-color: #865333;
  box-shadow: none;
}

#h6Landing .h6-btn svg {
  display: block;
  width: 17px;
  height: 17px;
  flex: 0 0 17px;
  transition: transform .2s ease;
}

#h6Landing .h6-btn:hover svg {
  transform: translate(2px, -2px);
}

/* HERO */

#h6Landing .h6-hero {
  background:
    radial-gradient(
      ellipse at 80% 30%,
      #3a2419 0%,
      #121d31 40%,
      #050b1a 85%
    );
  border-bottom: 1px solid #60402a;
}

#h6Landing .h6-hero-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 30px;
  align-items: center;
  min-height: 410px;
  padding-top: 45px;
  padding-bottom: 45px;
}

#h6Landing .h6-eyebrow {
  color: #ffb16d;
  font-size: 11px;
  font-weight: 900;
  letter-spacing: 2px;
}

#h6Landing .h6-hero-copy h1 {
  margin: 17px 0;
  color: #fff;
  font-size: clamp(38px, 5.3vw, 65px);
  font-weight: 950;
  line-height: 1.02;
  letter-spacing: -2.5px;
}

#h6Landing .h6-hero-copy h1 em {
  color: #ff9d43;
  font-style: normal;
}

#h6Landing .h6-hero-copy > p {
  max-width: 440px;
  margin: 0;
  color: #b9c4d6;
  font-size: 14px;
  line-height: 1.75;
}

#h6Landing .h6-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
  margin: 20px 0 23px;
}

#h6Landing .h6-tags span {
  padding: 7px 10px;
  border: 1px solid #754a2e;
  border-radius: 5px;
  color: #ffc287;
  background: #241b1b;
  font-size: 9px;
  font-weight: 800;
}

#h6Landing .h6-hero-cta {
  min-height: 55px;
  padding: 0 25px;
  gap: 12px;
  border-radius: 10px;
  font-size: 13px;
  letter-spacing: .4px;
}

#h6Landing .h6-hero-cta svg {
  width: 19px;
  height: 19px;
  flex-basis: 19px;
}

#h6Landing .h6-responsible {
  margin-top: 17px;
  color: #8c9ab1;
  font-size: 10px;
}

/* HERO ARTWORK */

#h6Landing .h6-hero-art {
  position: relative;
  min-width: 0;
  height: 310px;
}

#h6Landing .h6-art-image {
  position: absolute;
  display: block;
  width: 44%;
  aspect-ratio: 1.35;
  object-fit: cover;
  background: #142139;
  border: 4px solid #895432;
  border-radius: 13px;
  box-shadow:
    0 17px 40px #000a,
    0 0 0 1px #e58d4540;
}

#h6Landing .h6-art-1 {
  left: 2%;
  top: 8%;
  transform: rotate(-8deg);
}

#h6Landing .h6-art-2 {
  right: 5%;
  top: 0;
  transform: rotate(7deg);
}

#h6Landing .h6-art-3 {
  left: 21%;
  bottom: 0;
  transform: rotate(6deg);
}

#h6Landing .h6-art-4 {
  right: 0;
  bottom: 5%;
  transform: rotate(-7deg);
}

#h6Landing .h6-hero-stamp {
  position: absolute;
  z-index: 5;
  left: 50%;
  top: 45%;
  transform: translate(-50%, -50%);
  min-width: 175px;
  padding: 13px 18px;
  text-align: center;
  white-space: nowrap;
  background: #071123f2;
  border: 1px solid #e78d3b;
  border-radius: 10px;
  box-shadow: 0 10px 32px #000a;
}

#h6Landing .h6-hero-stamp strong {
  display: block;
  color: #ffb568;
  font-size: 18px;
  font-weight: 950;
}

#h6Landing .h6-hero-stamp small {
  display: block;
  margin-top: 3px;
  color: #cfd9e6;
  font-size: 9px;
  letter-spacing: 1px;
}

/* SEARCH */

#h6Landing .h6-toolbar {
  padding: 24px 0 4px;
  background: #091327;
}

#h6Landing .h6-search-layout {
  display: flex;
  align-items: center;
  gap: 12px;
}

#h6Landing #h6Search {
  width: 100%;
  min-width: 0;
  min-height: 47px;
  padding: 12px 15px;
  color: #fff;
  background: #111f35;
  border: 1px solid #40516e;
  border-radius: 9px;
  outline: none;
  font-size: 13px;
}

#h6Landing #h6Search:focus {
  border-color: #f78e1e;
}

#h6Landing #h6Search::placeholder {
  color: #8492aa;
}

#h6Landing .h6-categories {
  display: flex;
  gap: 8px;
  overflow-x: auto;
  overflow-y: hidden;
  padding: 15px 0;
  scrollbar-width: none;
  -webkit-overflow-scrolling: touch;
}

#h6Landing .h6-categories::-webkit-scrollbar {
  display: none;
}

#h6Landing .h6-category {
  flex: 0 0 auto;
  padding: 10px 14px;
  color: #c7d1e0;
  background: #132038;
  border: 1px solid #3a4a65;
  border-radius: 7px;
  font-size: 11px;
  font-weight: 800;
  white-space: nowrap;
}

#h6Landing .h6-category.active {
  color: #1b1006;
  background: linear-gradient(120deg,#ffbc59,#d96527);
  border-color: #ffb66b;
}

#h6Landing #h6NoResults {
  color: #a4b1c5;
  font-size: 12px;
  padding: 15px 0;
}

#h6Landing #h6NoResults[hidden] {
  display: none !important;
}

/* GAME SECTIONS */

#h6Landing .h6-games-area {
  position: relative;
  height: auto;
  overflow: visible;
  padding: 10px 0 48px;
  background: linear-gradient(#091327,#040a17);
}

#h6Landing .h6-game-section {
  padding: 21px 0 15px;
  scroll-margin-top: 20px;
}

#h6Landing .h6-game-section[hidden] {
  display: none !important;
}

#h6Landing .h6-section-heading {
  display: flex;
  justify-content: space-between;
  align-items: end;
  gap: 15px;
  margin-bottom: 14px;
}

#h6Landing .h6-section-heading h2 {
  margin: 0 0 5px;
  color: #fff;
  font-size: 21px;
  font-weight: 900;
  letter-spacing: -.5px;
}

#h6Landing .h6-section-heading p {
  margin: 0;
  color: #99a8bf;
  font-size: 12px;
}

#h6Landing .h6-arrows {
  display: flex;
  gap: 7px;
}

#h6Landing .h6-arrows button {
  display: grid;
  place-items: center;
  width: 36px;
  height: 36px;
  padding: 0;
  color: #ffb36b;
  background: #142139;
  border: 1px solid #805232;
  border-radius: 8px;
  font-size: 24px;
  line-height: 1;
}

/* CAROUSEL */

#h6Landing .h6-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: 3px 1px 13px;
  scroll-snap-type: x proximity;
  scroll-behavior: smooth;
  scrollbar-width: none;
  -webkit-overflow-scrolling: touch;
  touch-action: pan-x pan-y;
}

#h6Landing .h6-carousel::-webkit-scrollbar {
  display: none;
}

/* GAME CARDS */

#h6Landing .h6-game-card {
  min-width: 0;
  overflow: hidden;
  scroll-snap-align: start;
  background: #111d30;
  border: 1px solid #374963;
  border-radius: 12px;
  transition:
    transform .2s,
    border-color .2s,
    box-shadow .2s;
}

#h6Landing .h6-game-card[hidden] {
  display: none !important;
}

#h6Landing .h6-game-card:hover {
  transform: translateY(-3px);
  border-color: #d88a44;
  box-shadow: 0 10px 24px #0006;
}

#h6Landing .h6-game-card > a {
  display: block;
}

#h6Landing .h6-game-cover {
  position: relative;
  aspect-ratio: 1.32;
  overflow: hidden;
  background: #152138;
}

#h6Landing .h6-game-cover img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .25s;
}

#h6Landing .h6-game-card:hover img {
  transform: scale(1.045);
}

#h6Landing .h6-game-hover {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: end;
  justify-content: center;
  gap: 6px;
  padding-bottom: 16px;
  color: #ffbc78;
  font-size: 11px;
  font-weight: 900;
  opacity: 0;
  background: linear-gradient(
    transparent 25%, #030817dc
  );
  transition: opacity .2s;
}

#h6Landing .h6-game-hover svg {
  width: 14px;
  height: 14px;
}

#h6Landing .h6-game-card:hover .h6-game-hover {
  opacity: 1;
}

#h6Landing .h6-game-info {
  padding: 10px 11px 12px;
}

#h6Landing .h6-game-info strong {
  display: block;
  overflow: hidden;
  white-space: nowrap;
  text-overflow: ellipsis;
  color: #fff;
  font-size: 12px;
  font-weight: 900;
}

#h6Landing .h6-game-info small {
  display: flex;
  align-items: center;
  gap: 5px;
  margin-top: 6px;
  color: #ffad62;
  font-size: 9px;
  font-weight: 800;
}

#h6Landing .h6-game-info small svg {
  width: 12px;
  height: 12px;
  flex: 0 0 12px;
}

/* FOOTER */

#h6Landing .h6-footer {
  padding: 40px 0;
  text-align: center;
  background: #050b1a;
  border-top: 1px solid #583b29;
}

#h6Landing .h6-footer h2 {
  margin: 0 0 20px;
  color: #fff;
  font-size: 26px;
  font-weight: 950;
}

#h6Landing .h6-footer p {
  margin-top: 18px;
  color: #a4b2c6;
  font-size: 11px;
}

#h6Landing .h6-footer-cta {
  min-height: 50px;
  padding: 0 24px;
}

#h6Landing .h6-mobile-cta {
  display: none;
}

/* TABLET */

@media(max-width:1080px) {
  #h6Landing .h6-carousel {
    grid-auto-columns: calc((100% - 36px) / 4);
  }
}

/* MOBILE */

@media(max-width:720px) {

  #h6Landing .h6-wrap {
    width: calc(100% - 28px);
  }

  #h6Landing .h6-header-inner {
    min-height: 62px;
  }

  #h6Landing .h6-logo img {
    width: 102px;
    height: 48px;
  }

  #h6Landing .h6-header-actions {
    gap: 6px;
  }

  #h6Landing .h6-header-actions .h6-btn {
    padding: 9px 11px;
    min-height: 37px;
    font-size: 10px;
  }

  #h6Landing .h6-hero-layout {
    grid-template-columns: 1fr;
    gap: 0;
    padding-top: 37px;
    padding-bottom: 24px;
    text-align: center;
  }

  #h6Landing .h6-hero-copy h1 {
    font-size: clamp(39px, 11vw, 54px);
  }

  #h6Landing .h6-hero-copy > p {
    margin: 0 auto;
    font-size: 13px;
  }

  #h6Landing .h6-tags {
    justify-content: center;
  }

  #h6Landing .h6-hero-cta {
    min-height: 55px;
    padding: 0 24px;
    font-size: 13px;
    gap: 11px;
  }

  #h6Landing .h6-hero-art {
    width: min(410px, 100%);
    height: 265px;
    margin: 20px auto 0;
  }

  #h6Landing .h6-desktop-cta {
    display: none;
  }

  #h6Landing .h6-carousel {
    grid-auto-columns: 47%;
    gap: 10px;
  }

  #h6Landing .h6-arrows,
  #h6Landing .h6-game-hover {
    display: none;
  }

  #h6Landing .h6-mobile-cta {
    position: sticky;
    bottom: 0;
    z-index: 100;
    display: block;
    padding: 10px 14px;
    background: #030817f2;
    border-top: 1px solid #a45b30;
    text-align: center;
  }

  #h6Landing .h6-mobile-cta .h6-btn {
    width: 100%;
    min-height: 48px;
  }
}

/* SMALL MOBILE */

@media(max-width:430px) {

  #h6Landing .h6-carousel {
    grid-auto-columns: 62%;
  }

  #h6Landing .h6-hero-art {
    height: 230px;
  }

  #h6Landing .h6-art-image {
    width: 48%;
  }

  #h6Landing .h6-hero-stamp strong {
    font-size: 15px;
  }

  #h6Landing .h6-loader-inner h2 {
    font-size: 42px;
  }

  #h6Landing .h6-footer h2 {
    font-size: 22px;
  }
}

/* REDUCED MOTION */

@media(prefers-reduced-motion:reduce) {
  #h6Landing *,
  #h6Landing *::before,
  #h6Landing *::after {
    animation: none !important;
    scroll-behavior: auto !important;
  }
}
/* Standalone deployment reset: no platform-specific page takeover */
html,body{margin:0;min-height:100%;background:#050b1a;overflow-x:hidden}
#h6Landing .h6-game-card.auto-loop-clone[hidden]{display:none!important}
