:root {
  --qz-darkest: #40275e;
  --qz-ink: #241737;
  --qz-muted: #62576f;
  --qz-purple: #7635c0;
  --qz-purple-soft: #efe7f7;
  --qz-purple-line: #dac8ea;
  --qz-green: #3ac793;
  --qz-green-dark: #11b176;
  --qz-orange: #f98700;
  --qz-orange-soft: #fff1dc;
  --qz-blue: #5eaae1;
  --qz-bg: #f7f4f1;
  --qz-white: #ffffff;
  --qz-border: #e8e0ec;
  --qz-shadow: 0 18px 48px rgba(64, 39, 94, 0.12);
  --qz-shadow-soft: 0 10px 28px rgba(64, 39, 94, 0.08);
  --qz-radius: 8px;
  --qz-max: 1180px;
  --borough-mode-individual: #4caf50;
  --borough-mode-team: #9c27b0;
  --borough-mode-player: #ff9800;
  --borough-mode-computer: #2196f3;
  --borough-display-big-screen: #e91e63;
  --borough-display-on-device: #00bcd4;
  --borough-chip-neutral: #607d8b;
}

html {
  scroll-behavior: smooth;
}

body.home-page {
  background:
    linear-gradient(rgba(118, 53, 192, 0.045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(58, 199, 147, 0.045) 1px, transparent 1px),
    var(--qz-bg);
  background-size: 36px 36px, 36px 36px, auto;
  color: var(--qz-ink);
  font-family: "Figtree", "Nunito", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 16px;
  line-height: 1.55;
  letter-spacing: 0;
}

body.home-page * {
  letter-spacing: 0;
}

body.home-page img,
body.home-page iframe {
  max-width: 100%;
}

body.home-page a {
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
}

body.home-page .container,
body.home-page .section-goalzz-container,
body.home-page .section-6-container {
  max-width: var(--qz-max);
}

header {
  position: sticky;
  top: 0;
  z-index: 30;
  background: rgba(255, 255, 255, 0.92);
  border-bottom: 1px solid rgba(218, 200, 234, 0.85);
  box-shadow: 0 8px 24px rgba(64, 39, 94, 0.06);
  backdrop-filter: blur(14px);
  padding: 12px 0;
}

header .navbar .container-fluid {
  max-width: 1240px;
  margin: 0 auto;
  padding-inline: clamp(18px, 4vw, 40px);
}

header .navbar-brand img {
  width: 142px;
  height: auto;
}

header .navbar .navbar-nav {
  gap: 8px;
}

header .navbar .navbar-nav a {
  color: var(--qz-darkest) !important;
  font-family: "Figtree", sans-serif;
  font-size: 15px;
  font-weight: 700;
  line-height: 1.2;
  min-height: 40px;
  padding: 10px 12px !important;
  border-radius: 999px;
}

header .navbar .navbar-nav a:not(.button):hover,
header .navbar .navbar-nav a:not(.button).active {
  background: var(--qz-purple-soft);
  color: var(--qz-purple) !important;
}

header .navbar .navbar-nav a .fa {
  color: color-mix(in srgb, var(--qz-purple) 55%, white);
}

header .navbar .navbar-nav a.button {
  background: var(--qz-white);
  border: 1px solid var(--qz-purple-line);
  box-shadow: 0 8px 18px rgba(64, 39, 94, 0.08);
  color: var(--qz-purple) !important;
  font-size: 15px;
  padding: 10px 16px !important;
}

header .navbar .navbar-nav a.button:hover {
  background: var(--qz-purple);
  border-color: var(--qz-purple);
  color: var(--qz-white) !important;
}

body.home-page .hero-section,
body.home-page .section-1 {
  background: transparent;
  position: relative;
  overflow: hidden;
}

body.home-page .hero-section {
  padding: clamp(64px, 8vw, 118px) 0 24px;
  text-align: center;
}

body.home-page .hero-section .container {
  position: relative;
  z-index: 2;
}

.section-intro {
  font-family: "Figtree", sans-serif;
}

body.home-page .hero-section h1 {
  max-width: 940px;
  margin: 0 auto 20px;
  color: var(--qz-darkest);
  font-family: "Figtree", sans-serif;
  font-size: clamp(42px, 6.2vw, 78px);
  font-weight: 900;
  line-height: 0.98;
  text-shadow: none;
}

body.home-page .hero-section h1 .hero-title-main {
  display: block;
  margin-top: 0;
  color: var(--qz-darkest);
}

body.home-page .hero-section h1 .text-skyblue {
  display: block;
  margin-top: clamp(4px, 0.5vw, 8px);
  color: var(--qz-green-dark);
}

.hero-copy {
  max-width: 690px;
  margin: 0 auto 26px;
  color: var(--qz-muted);
  font-size: clamp(18px, 2.2vw, 22px);
  font-weight: 600;
  line-height: 1.45;
}

.hero-stats {
  display: grid;
  grid-template-columns: repeat(4, minmax(120px, 1fr));
  gap: 10px;
  max-width: 820px;
  margin: 0 auto 30px;
}

.hero-stats > span {
  display: grid;
  min-height: 70px;
  align-content: center;
  justify-items: center;
  gap: 3px;
  padding: 10px 14px 12px;
  border: 1px solid var(--qz-border);
  border-radius: var(--qz-radius);
  background: rgba(255, 255, 255, 0.86);
  box-shadow: var(--qz-shadow-soft);
  color: var(--qz-muted);
}

.hero-stats > span > span {
  display: block;
  color: var(--qz-muted);
  font-size: 13px;
  font-weight: 800;
  line-height: 1.05;
  text-align: center;
}

.hero-stats strong {
  color: var(--qz-darkest);
  font-size: 28px;
  font-weight: 900;
  line-height: 1;
}

div.headingCTA > div.button-container > a.btn,
body.home-page .section-2 .top-row .card .buttons .btn,
body.thankyou-page .hero-section .card .body .btn {
  position: relative;
  isolation: isolate;
  min-height: 46px;
  border-radius: 999px;
  font-family: "Figtree", sans-serif;
  font-size: 15px;
  font-weight: 800;
  line-height: 1.15;
  text-shadow: none;
  transition:
    transform 0.16s ease,
    box-shadow 0.16s ease,
    background-color 0.16s ease,
    border-color 0.16s ease,
    color 0.16s ease;
}

div.headingCTA > div.button-container > a.btn {
  display: inline-flex;
  width: auto;
  max-width: min(100%, 310px);
  margin: 0 auto;
  padding: 14px 24px;
  border: 0;
  background: var(--qz-green);
  box-shadow: 0 14px 30px rgba(17, 177, 118, 0.24);
  color: var(--qz-white);
}

body.home-page .hero-section .headingCTA .btn {
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 52px;
  min-width: min(205px, 100%);
  padding: 15px 30px;
  border: 0;
  background: var(--qz-green);
  box-shadow: 0 16px 34px rgba(17, 177, 118, 0.26);
  color: var(--qz-white);
  font-size: 16px;
}

body.home-page .hero-section .headingCTA .btn .btn-arrow {
  width: 20px;
  height: 20px;
  flex: 0 0 auto;
  transition: transform 0.15s ease;
}

body.home-page .hero-section .headingCTA .btn:hover .btn-arrow {
  transform: translateX(2px);
}

div.headingCTA > div.button-container > a.btn:hover {
  background: var(--qz-green-dark);
  color: var(--qz-white);
  transform: translateY(-2px);
}

body.home-page .hero-section .headingCTA .btn:hover {
  background: var(--qz-green-dark);
  box-shadow: 0 18px 34px rgba(17, 177, 118, 0.3);
}

body.home-page .hero-section .headingCTA {
  margin-bottom: clamp(52px, 5.8vw, 86px);
}

body.home-page .section-1 {
  padding: 0 0 clamp(52px, 8vw, 96px);
}

body.home-page .section-1 .container-fluid {
  max-width: 1280px;
  margin: 0 auto;
  padding-inline: clamp(16px, 4vw, 40px);
}

body.home-page .section-1 .video-container::before,
body.home-page .section-1 .video-container::after {
  display: none;
}

.video-container {
  display: grid;
  grid-template-columns: minmax(120px, 0.45fr) minmax(360px, 1.9fr) minmax(120px, 0.45fr);
  align-items: center;
  gap: clamp(14px, 2.2vw, 28px);
  height: auto;
  max-width: 1180px;
}

.video-container > .left,
.video-container > .right {
  gap: 16px;
  justify-content: center;
}

.video-container > .left .image,
.video-container > .right .image {
  display: grid;
  place-items: center;
  min-height: 124px;
  padding: 18px 16px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: var(--qz-radius);
  background: var(--qz-darkest);
  box-shadow: 0 16px 34px rgba(64, 39, 94, 0.16);
  overflow: hidden;
}

.hero-video-stat {
  display: block;
  max-width: 170px;
  color: var(--qz-white);
  font-family: "Chewy", "Figtree", "Nunito", sans-serif;
  font-size: 36px;
  font-style: italic;
  font-weight: 900;
  letter-spacing: 0;
  line-height: 0.86;
  text-align: center;
  text-shadow:
    0 5px 0 rgba(20, 10, 35, 0.5),
    0 12px 20px rgba(20, 10, 35, 0.26);
  text-wrap: balance;
  transform: skewX(-5deg);
  overflow-wrap: anywhere;
}

.hero-video-stat--wide {
  max-width: 210px;
  font-size: 31px;
}

html[dir="rtl"] .hero-video-stat {
  font-family: "Figtree", "Nunito", sans-serif;
  font-size: 26px;
  font-style: normal;
  line-height: 1.08;
  text-shadow:
    0 4px 0 rgba(20, 10, 35, 0.42),
    0 10px 18px rgba(20, 10, 35, 0.24);
  transform: skewX(4deg);
}

html[dir="rtl"] .hero-video-stat--wide {
  font-size: 24px;
}

.video-container > .video {
  position: relative;
  overflow: hidden;
  height: auto;
  aspect-ratio: 16 / 9;
  margin: 0;
  border: 1px solid rgba(64, 39, 94, 0.18);
  border-radius: var(--qz-radius);
  background: #160b25;
  box-shadow: 0 26px 70px rgba(64, 39, 94, 0.24);
}

.video-container > .video::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  border: 1px solid rgba(255, 255, 255, 0.5);
  border-radius: inherit;
}

body.home-page .section-2 {
  padding: clamp(54px, 8vw, 94px) 0;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.92), rgba(247, 244, 241, 0.96)),
    linear-gradient(90deg, rgba(118, 53, 192, 0.035) 1px, transparent 1px),
    linear-gradient(rgba(58, 199, 147, 0.035) 1px, transparent 1px),
    var(--qz-white);
  background-size: auto, 34px 34px, 34px 34px, auto;
  border-top: 1px solid var(--qz-border);
  border-bottom: 1px solid var(--qz-border);
  overflow: clip;
}

body.home-page .section-2 .container {
  max-width: 1240px;
}

.section-title {
  max-width: 780px;
  margin-inline: auto;
  margin-bottom: 14px;
  color: var(--qz-darkest);
  font-family: "Figtree", sans-serif;
  font-size: clamp(32px, 4vw, 54px);
  font-weight: 900;
  line-height: 1.04;
  text-align: center;
  text-shadow: none;
}

.section-title::after {
  content: "";
  display: block;
  width: 72px;
  height: 5px;
  margin: 18px auto 0;
  border-radius: 999px;
  background: var(--qz-green);
}

.section-intro {
  max-width: 760px;
  margin: 0 auto clamp(28px, 4vw, 46px);
  color: var(--qz-muted);
  font-size: clamp(16px, 1.7vw, 19px);
  font-weight: 600;
  line-height: 1.55;
  text-align: center;
}

body.home-page .section-2 .top-row {
  margin-bottom: clamp(48px, 7vw, 86px);
}

body.home-page .section-2 .top-row:last-of-type {
  margin-bottom: 56px;
}

body.home-page .section-2 .top-row .row {
  --bs-gutter-x: 22px;
  --bs-gutter-y: 22px;
}

body.home-page .section-2 .top-row .card {
  position: relative;
  overflow: hidden;
  height: 100%;
  padding: 0;
  border: 1px solid var(--qz-border);
  border-radius: var(--qz-radius);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(255, 252, 248, 0.96)),
    var(--qz-white);
  box-shadow: var(--qz-shadow-soft);
  transition:
    transform 0.18s ease,
    box-shadow 0.18s ease,
    border-color 0.18s ease;
}

body.home-page .section-2 .top-row .card:hover {
  border-color: color-mix(in srgb, var(--qz-purple) 35%, var(--qz-border));
  box-shadow: var(--qz-shadow);
  transform: translateY(-3px);
}

body.home-page .section-2 .top-row .card::before {
  content: "";
  display: block;
  height: 6px;
  background: var(--qz-purple);
}

body.home-page .section-2 .top-row .filter-newGame .card::before {
  background: var(--qz-green);
}

body.home-page .section-2 .top-row .filter-classicGame .card::before {
  background: var(--qz-orange);
}

body.home-page .section-2 .top-row .card .body {
  position: relative;
  display: flex;
  min-height: 100%;
  flex-direction: column;
  padding: clamp(20px, 3vw, 28px);
}

body.home-page .card .seal {
  position: absolute;
  z-index: 4;
  right: 12px;
  top: 12px;
  width: 64px;
  pointer-events: none;
  filter: drop-shadow(0 12px 18px rgba(20, 10, 35, 0.28));
}

body.home-page .section-2 .top-row .card .seal {
  right: 12px;
  top: 12px;
  width: 64px;
}

body.home-page .card .seal img {
  display: none !important;
}

body.home-page .card .seal span {
  display: grid;
  width: 64px;
  aspect-ratio: 1;
  place-items: center;
  border-radius: 50%;
  background: linear-gradient(135deg, #c35cde, #9344c9);
  color: var(--qz-white);
  padding: 7px;
  font-size: clamp(10px, 0.9vw, 13px);
  font-weight: 900;
  line-height: 1.05;
  text-align: center;
  text-transform: uppercase;
  overflow-wrap: anywhere;
  box-shadow: inset 0 0 0 2px rgba(255, 255, 255, 0.22);
}

body.home-page .section-2 .top-row .card .logo-container.game-logo-strip {
  position: relative;
  display: flex;
  min-height: 124px;
  align-items: center;
  justify-content: center;
  margin-bottom: 18px;
  padding: 22px 24px 20px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: var(--qz-radius);
  background:
    linear-gradient(135deg, #241737 0%, #40275e 68%, #176f58 140%);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.14),
    0 16px 34px rgba(64, 39, 94, 0.14);
  isolation: isolate;
  overflow: visible;
  text-align: center;
}

body.home-page .section-2 .top-row .card .logo-container.game-logo-strip::before {
  content: "";
  position: absolute;
  z-index: -1;
  inset: 0;
  border-radius: inherit;
  background:
    linear-gradient(rgba(255, 255, 255, 0.07) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.06) 1px, transparent 1px);
  background-size: 24px 24px;
  mask-image: linear-gradient(135deg, rgba(0, 0, 0, 0.7), transparent 78%);
}

body.home-page .section-2 .top-row .card .logo {
  position: relative;
  z-index: 2;
  display: flex;
  width: 100%;
  min-height: 80px;
  max-height: none;
  align-items: center;
  justify-content: center;
  padding: 0 clamp(18px, 4vw, 40px);
  border: 0;
}

body.home-page .section-2 .top-row .card .logo img {
  width: auto;
  max-width: min(330px, 100%);
  max-height: 88px;
  object-fit: contain;
  filter: drop-shadow(0 12px 18px rgba(0, 0, 0, 0.28));
}

body.home-page .section-2 .top-row .card .logo-container.game-logo-strip:has(img.hoopzz-solo-logo),
body.home-page .section-2 .top-row .card .logo-container.game-logo-strip:has(img[src$="hoopzz-logo.png"]),
body.home-page .section-2 .top-row .card .logo-container.game-logo-strip:has(img[src$="rockzz-logo.png"]) {
  border-color: rgba(255, 255, 255, 0.18);
  background:
    radial-gradient(circle at 20% 15%, rgba(58, 199, 147, 0.18), transparent 34%),
    linear-gradient(135deg, #241737 0%, #40275e 100%);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.12),
    0 14px 30px rgba(64, 39, 94, 0.12);
}

body.home-page div#blockerzz-logo-container {
  width: auto;
  min-width: min(300px, 100%);
}

body.home-page img.blockerzz-logo,
body.home-page img.battlerzzLogo,
body.home-page img.hoopzz-solo-logo,
body.home-page img.bearzzLogo,
body.home-page img.leaderboardLogo {
  width: min(300px, 100%) !important;
  height: auto !important;
  min-height: 42px;
  max-height: 82px !important;
  object-fit: contain;
}

body.home-page .section-2 .top-row .card .logo.hoopzz-logo {
  width: 100% !important;
}

body.home-page .section-2 .top-row .card .logo img[src$="hoopzz-logo.png"] {
  width: min(340px, 100%) !important;
  max-height: 92px;
  filter: drop-shadow(0 10px 18px rgba(0, 0, 0, 0.3));
}

body.home-page .section-2 .top-row .card .logo img.hoopzz-solo-logo {
  width: min(300px, 100%) !important;
  max-height: 88px !important;
  filter: drop-shadow(0 10px 18px rgba(0, 0, 0, 0.28));
}

body.home-page .section-2 .top-row .card .logo img[src$="rockzz-logo.png"] {
  width: min(350px, 100%) !important;
  max-height: 72px;
  filter:
    drop-shadow(0 0 10px rgba(255, 255, 255, 0.3))
    saturate(1.45)
    contrast(1.35);
}

body.home-page .section-2 .top-row .card .logo img[src$="first-logo.png"] {
  width: min(340px, 100%) !important;
  max-height: 70px;
}

body.home-page .section-2 .top-row .card .logo img[src$="battlerzz-logo.svg"] {
  width: min(330px, 100%) !important;
  max-height: 78px !important;
  filter:
    drop-shadow(0 11px 18px rgba(0, 0, 0, 0.3))
    contrast(1.08);
}

#goalzz-card .card.is-promo-focused {
  border-color: rgba(58, 199, 147, 0.88);
  animation: goalzzPromoGlow 2.3s ease-in-out 3;
  box-shadow:
    0 0 0 5px rgba(58, 199, 147, 0.2),
    0 26px 80px rgba(64, 39, 94, 0.26);
  transform: translateY(-4px);
}

#goalzz-card.is-promo-spotlight-holder {
  min-height: var(--promo-holder-height, auto);
}

.promo-spotlight-overlay {
  position: fixed;
  inset: 0;
  z-index: 900;
  cursor: zoom-out;
  pointer-events: auto;
  background:
    radial-gradient(circle at 50% 42%, rgba(58, 199, 147, 0.18), transparent 32%),
    rgba(36, 23, 55, 0.36);
  opacity: 0;
  backdrop-filter: blur(8px);
}

.promo-spotlight-overlay.is-visible {
  opacity: 1;
}

#goalzz-card .card.is-promo-spotlight {
  position: fixed;
  top: var(--promo-card-top);
  left: var(--promo-card-left);
  z-index: 920;
  width: var(--promo-card-width);
  max-height: min(860px, calc(100vh - 52px));
  overflow: auto;
  border-color: rgba(58, 199, 147, 0.95);
  box-shadow:
    0 0 0 1px rgba(255, 255, 255, 0.82),
    0 0 0 8px rgba(58, 199, 147, 0.18),
    0 36px 96px rgba(20, 10, 35, 0.34);
  transform-origin: center center;
  will-change: transform;
}

#goalzz-card .card.is-promo-focused .logo-container.game-logo-strip {
  background:
    radial-gradient(circle at 50% 10%, rgba(58, 199, 147, 0.24), transparent 38%),
    linear-gradient(135deg, #241737 0%, #40275e 56%, #176f58 135%);
}

@keyframes goalzzPromoGlow {
  0%,
  100% {
    box-shadow:
      0 0 0 5px rgba(58, 199, 147, 0.18),
      0 24px 70px rgba(64, 39, 94, 0.2);
  }

  45% {
    box-shadow:
      0 0 0 9px rgba(58, 199, 147, 0.28),
      0 0 34px rgba(58, 199, 147, 0.26),
      0 32px 86px rgba(64, 39, 94, 0.28);
  }
}

body.home-page .section-2 .top-row .card .details {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 14px;
  height: auto;
  min-height: auto;
  max-height: none;
  margin-bottom: 18px;
  padding-bottom: 0;
  border: 0;
  overflow: visible;
}

body.home-page .section-2 .top-row .card .details .image {
  position: relative;
  overflow: hidden;
  isolation: isolate;
  margin: 0;
  border-radius: var(--qz-radius);
  background: #160b25;
  box-shadow: inset 0 0 0 1px rgba(64, 39, 94, 0.08);
}

body.home-page .section-2 .top-row .card .details .image iframe {
  border-radius: var(--qz-radius);
}

body.home-page .section-2 .top-row .card .details .game-media-shell {
  aspect-ratio: 16 / 9;
  border: 1px solid rgba(64, 39, 94, 0.14);
  background: #160b25;
  box-shadow: 0 14px 34px rgba(64, 39, 94, 0.12);
}

body.home-page .section-2 .top-row .card .details .game-media-shell > div {
  position: absolute !important;
  inset: 0;
  width: 100%;
  height: 100%;
  padding: 0 !important;
}

body.home-page .section-2 .top-row .card .details .game-media-shell iframe {
  width: 100% !important;
  height: 100% !important;
  border-radius: var(--qz-radius);
}

body.home-page .section-2 .top-row .card .details .content {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
}

body.home-page .section-2 .top-row .card .details .content .item {
  --detail-chip-bg: var(--borough-chip-neutral);
  --detail-icon-bg: var(--borough-chip-neutral);
  --detail-icon-symbol: "\f12e";
  padding: 12px;
  border: 1px solid var(--qz-border);
  border-radius: var(--qz-radius);
  background: #fbfafc;
}

body.home-page .section-2 .top-row .card .details .content .item h3 {
  position: relative;
  display: flex;
  min-height: 24px;
  align-items: center;
  margin: 0 0 6px;
  padding-left: 32px;
  color: var(--qz-purple);
  font-family: "Figtree", sans-serif;
  font-size: 13px;
  font-weight: 900;
  line-height: 1.2;
}

body.home-page .section-2 .top-row .card .details .content .item h3::before {
  content: "";
  position: absolute;
  left: 0;
  top: 50%;
  width: 22px;
  height: 22px;
  border-radius: 6px;
  background: var(--detail-icon-bg) !important;
  background-size: auto !important;
  box-shadow: none;
  transform: translateY(-50%);
}

body.home-page .section-2 .top-row .card .details .content .item h3::after {
  content: var(--detail-icon-symbol);
  position: absolute;
  left: 0;
  top: 50%;
  display: grid;
  width: 22px;
  height: 22px;
  place-items: center;
  color: var(--qz-white);
  font-family: FontAwesome;
  font-size: 11px;
  font-weight: normal;
  line-height: 1;
  pointer-events: none;
  text-shadow: 0 1px 2px rgba(36, 23, 55, 0.18);
  transform: translateY(-50%);
  -webkit-font-smoothing: antialiased;
}

body.home-page .section-2 .top-row .card .details .content .item.game-type {
  --detail-chip-bg: var(--borough-chip-neutral);
  --detail-icon-bg: var(--borough-mode-player);
  --detail-icon-symbol: "\f11b";
}

body.home-page .section-2 .top-row .card .details .content .item.modes {
  --detail-icon-bg: var(--borough-mode-team);
  --detail-icon-symbol: "\f00c";
}

body.home-page .section-2 .top-row .card .details .content .item.players {
  --detail-chip-bg: var(--borough-chip-neutral);
  --detail-icon-bg: var(--qz-green);
  --detail-icon-symbol: "\f0c0";
}

body.home-page .section-2 .top-row .card .details .content .item ul {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin: 0;
  padding: 0;
}

body.home-page .section-2 .top-row .card .details .content .item ul li {
  display: inline-flex;
  align-items: center;
  min-height: 24px;
  padding: 4px 8px;
  border-radius: 999px;
  background: var(--detail-chip-bg);
  color: var(--qz-white);
  font-size: 12px;
  font-weight: 800;
  line-height: 1.2;
}

body.home-page .section-2 .top-row .card .details .content .item ul li.is-mode-individual {
  background: var(--borough-mode-individual);
}

body.home-page .section-2 .top-row .card .details .content .item ul li.is-mode-team {
  background: var(--borough-mode-team);
}

body.home-page .section-2 .top-row .card .details .content .item ul li.is-mode-player {
  background: var(--borough-mode-player);
}

body.home-page .section-2 .top-row .card .details .content .item ul li.is-mode-computer {
  background: var(--borough-mode-computer);
}

body.home-page .section-2 .top-row .card .description {
  flex: 1;
  margin: 0 0 22px;
  color: var(--qz-muted);
  font-size: 15px;
  font-weight: 600;
  line-height: 1.6;
}

body.home-page .section-2 .top-row .card .buttons,
body.home-page .section-2 .top-row .card .buttons.top-button-row {
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: flex-start;
  margin: 0 0 10px;
}

body.home-page .section-2 .top-row .card .buttons:last-child {
  margin-bottom: 0;
}

body.home-page .section-2 .top-row .card .buttons .btn {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  width: auto;
  max-width: 100%;
  flex: 0 1 auto;
  margin: 0;
  padding: 11px 14px;
  border: 0;
  white-space: normal;
}

body.home-page .section-2 .top-row .card .buttons .btn:hover {
  transform: none;
}

body.home-page .section-2 .top-row .card .buttons .btn img {
  display: none;
}

body.home-page .section-2 .top-row .card .buttons .btn::before {
  content: var(--action-icon-symbol);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 22px;
  height: 22px;
  flex: 0 0 22px;
  border-radius: 50%;
  background: var(--action-icon-bg, rgba(255, 255, 255, 0.92));
  color: var(--action-icon-color, currentColor);
  font-family: FontAwesome;
  font-size: 12px;
  line-height: 1;
  text-rendering: auto;
  -webkit-font-smoothing: antialiased;
}

body.home-page .section-2 .top-row .card .buttons .btn.btn-howtoplay,
body.home-page .section-2 .top-row .card .buttons .btn.btn-preview {
  border: 0;
  background: var(--secondary-action-bg);
  box-shadow: none;
  color: var(--qz-white);
}

body.home-page .section-2 .top-row .card .buttons .btn.btn-howtoplay {
  --action-icon-symbol: "\f129";
  --action-icon-bg: rgba(255, 255, 255, 0.94);
  --action-icon-color: var(--qz-purple);
  --secondary-action-bg: var(--qz-purple);
  --secondary-action-hover-bg: #652bac;
}

body.home-page .section-2 .top-row .card .buttons .btn.btn-preview {
  --action-icon-symbol: "\f06e";
  --action-icon-bg: rgba(255, 255, 255, 0.94);
  --action-icon-color: #176ea9;
  --secondary-action-bg: var(--qz-blue);
  --secondary-action-hover-bg: #176ea9;
}

body.home-page .section-2 .top-row .card .buttons .btn.btn-howtoplay:hover,
body.home-page .section-2 .top-row .card .buttons .btn.btn-preview:hover {
  background: var(--secondary-action-hover-bg);
  box-shadow: none;
  color: var(--qz-white);
  transform: none;
}

body.home-page .section-2 .top-row .card .buttons .btn.btn-assign {
  --action-icon-bg: rgba(255, 255, 255, 0.94);
  --action-icon-color: var(--qz-green);
  border: 0;
  background: var(--qz-green);
  box-shadow: none;
  color: var(--qz-white);
  padding-inline: 18px;
}

body.home-page .section-2 .top-row .card .buttons .btn.btn-assign::before {
  content: "";
  position: relative;
  font-family: inherit;
}

body.home-page .section-2 .top-row .card .buttons .btn.btn-assign::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 25px;
  width: 0;
  height: 0;
  border-top: 7px solid transparent;
  border-bottom: 7px solid transparent;
  border-left: 10px solid var(--qz-green);
  transform: translate(0.9px, -50%);
  pointer-events: none;
}

html[dir="rtl"] body.home-page .section-2 .top-row .card .buttons .btn.btn-assign::after {
  left: auto;
  right: 25px;
}

body.home-page .section-2 .top-row .card .buttons .btn.btn-assign span {
  min-width: 0;
}

body.home-page .section-2 .top-row .card .buttons .btn.btn-assign:hover {
  background: var(--qz-green-dark);
  box-shadow: none;
  transform: none;
}

body.home-page .section-3 {
  position: relative;
  overflow: hidden;
  padding: clamp(70px, 9vw, 112px) 0 clamp(78px, 9vw, 118px);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.92), rgba(247, 244, 241, 0.96)),
    var(--qz-bg);
  text-align: center;
}

body.home-page .section-3::before {
  content: "";
  position: absolute;
  inset: auto 0 0;
  height: 7px;
  background: linear-gradient(90deg, var(--qz-orange), var(--qz-purple), var(--qz-blue), var(--qz-green));
}

body.home-page .section-3 .workflow-track {
  position: relative;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: clamp(18px, 2vw, 24px);
  margin-top: clamp(52px, 6vw, 72px);
}

body.home-page .section-3 .workflow-track::before {
  content: "";
  position: absolute;
  top: 35px;
  left: 12%;
  right: 12%;
  height: 4px;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--qz-orange), var(--qz-purple), var(--qz-blue), var(--qz-green));
  opacity: 0.75;
}

body.home-page .section-3 .workflow-step {
  position: relative;
  min-height: 244px;
  padding: 64px 22px 24px;
  border: 1px solid rgba(218, 200, 234, 0.78);
  border-radius: var(--qz-radius);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.95), rgba(255, 255, 255, 0.82)),
    var(--qz-white);
  box-shadow: 0 18px 42px rgba(64, 39, 94, 0.08);
  transition:
    transform 0.2s ease,
    box-shadow 0.2s ease,
    border-color 0.2s ease;
}

body.home-page .section-3 .workflow-step:hover {
  border-color: rgba(118, 53, 192, 0.24);
  box-shadow: 0 24px 54px rgba(64, 39, 94, 0.12);
  transform: translateY(-3px);
}

body.home-page .section-3 .workflow-step .number {
  position: absolute;
  top: -35px;
  left: 50%;
  display: grid;
  width: 70px;
  height: 70px;
  place-items: center;
  border: 4px solid var(--qz-orange);
  border-radius: 999px;
  background: linear-gradient(180deg, var(--qz-white), var(--qz-orange-soft));
  color: var(--qz-orange);
  font-family: "Figtree", sans-serif;
  font-size: 34px;
  font-weight: 900;
  line-height: 1;
  box-shadow:
    0 0 0 8px rgba(255, 255, 255, 0.88),
    0 16px 30px rgba(64, 39, 94, 0.12);
  transform: translateX(-50%);
  z-index: 1;
}

body.home-page .section-3 .workflow-step:nth-child(2) .number {
  border-color: var(--qz-purple);
  background: linear-gradient(180deg, var(--qz-white), var(--qz-purple-soft));
  color: var(--qz-purple);
}

body.home-page .section-3 .workflow-step:nth-child(3) .number {
  border-color: var(--qz-blue);
  background: linear-gradient(180deg, var(--qz-white), #eaf6ff);
  color: var(--qz-blue);
}

body.home-page .section-3 .workflow-step:nth-child(4) .number {
  border-color: var(--qz-green);
  background: linear-gradient(180deg, var(--qz-white), #e9fbf4);
  color: var(--qz-green);
}

body.home-page .section-3 .workflow-step .body h3 {
  margin-bottom: 10px;
  color: var(--qz-darkest);
  font-family: "Figtree", sans-serif;
  font-size: 21px;
  font-weight: 900;
  line-height: 1.16;
}

body.home-page .section-3 .workflow-step .body p {
  color: var(--qz-muted);
  font-size: 15.5px;
  font-weight: 600;
  line-height: 1.55;
}

body.home-page .section-3 .chat {
  display: inline-flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 14px;
  margin-top: clamp(34px, 5vw, 52px);
  padding: 12px 14px 12px 20px;
  border: 1px solid var(--qz-border);
  border-radius: 999px;
  background: var(--qz-white);
  box-shadow: 0 18px 42px rgba(64, 39, 94, 0.08);
}

body.home-page .section-3 .chat div {
  color: var(--qz-darkest);
  font-size: 16px;
  font-weight: 800;
}

body.home-page .section-3 .chat a {
  display: inline-flex;
  min-height: 44px;
  align-items: center;
  padding: 10px 18px;
  border-radius: 999px;
  background: var(--qz-green);
  color: var(--qz-white);
  font-size: 15px;
  font-weight: 900;
  text-decoration: none;
  box-shadow: 0 14px 26px rgba(17, 177, 118, 0.2);
  transition:
    transform 0.2s ease,
    background 0.2s ease,
    box-shadow 0.2s ease;
}

body.home-page .section-3 .chat a:hover {
  background: var(--qz-green-dark);
  box-shadow: 0 18px 34px rgba(17, 177, 118, 0.25);
  transform: translateY(-1px);
}

.section-goalzz {
  padding: clamp(58px, 8vw, 98px) 0;
  background:
    linear-gradient(90deg, rgba(255, 255, 255, 0.08) 1px, transparent 1px),
    linear-gradient(rgba(255, 255, 255, 0.08) 1px, transparent 1px),
    #176f58;
  background-size: 42px 42px, 42px 42px, auto;
}

.section-goalzz-container {
  margin: 0 auto;
  padding-inline: clamp(16px, 4vw, 40px);
}

#blockerzzBigLogo {
  max-width: min(460px, 82vw);
  padding: 0 0 14px;
  filter: drop-shadow(0 18px 24px rgba(0, 0, 0, 0.16));
}

.section-goalzz-container > h2 {
  max-width: 760px;
  margin: 0 auto 12px;
  color: var(--qz-white);
  font-family: "Figtree", sans-serif;
  font-size: clamp(30px, 4vw, 52px);
  font-weight: 900;
  line-height: 1.05;
  text-shadow: none;
}

.section-goalzz .section-intro {
  color: rgba(255, 255, 255, 0.82);
}

.section-goalzz .video-container {
  margin-top: 22px;
}

.section-goalzz .video-container > .left .image,
.section-goalzz .video-container > .right .image {
  min-height: 0;
  padding: 0;
  border: 0;
  background: transparent;
  box-shadow: none;
}

.section-goalzz .video-container > .left .image img,
.section-goalzz .video-container > .right .image img {
  width: min(230px, 100%) !important;
  border-radius: var(--qz-radius);
  object-fit: cover;
  box-shadow: 0 18px 38px rgba(0, 0, 0, 0.2);
}

.section-goalzz .video-container > .video {
  box-shadow: 0 26px 70px rgba(0, 0, 0, 0.25);
}

#tryBlockerzzButton {
  margin-top: 28px;
  min-height: 56px;
  min-width: 220px;
  padding: 17px 34px;
  font-size: 17px;
  box-shadow: 0 18px 38px rgba(17, 177, 118, 0.28);
}

.section-6 {
  padding: clamp(30px, 5vw, 54px) 0;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  background:
    linear-gradient(180deg, rgba(58, 199, 147, 0.12), rgba(47, 29, 72, 0) 38px),
    #2f1d48;
}

.section-6-container {
  margin: 0 auto;
  padding: 0 clamp(16px, 4vw, 40px);
}

.section-6-card {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: clamp(22px, 4vw, 48px);
  align-items: center;
  justify-content: center;
  max-width: 890px;
  margin: 0 auto;
  padding: clamp(16px, 2.4vw, 26px) 0;
}

.section-6-logo {
  width: min(226px, 56vw);
  flex: 0 0 auto;
  filter: drop-shadow(0 12px 22px rgba(0, 0, 0, 0.28));
}

.section-6-card > h2 {
  max-width: 600px;
  margin: 0;
  padding-left: clamp(22px, 3vw, 38px);
  border-left: 1px solid rgba(255, 255, 255, 0.18);
  color: var(--qz-white);
  font-family: "Figtree", sans-serif;
  font-size: clamp(26px, 3.2vw, 40px);
  font-weight: 900;
  line-height: 1.08;
}

body.home-page #howToPlayModal .modal-dialog,
body.home-page #previewGameModal .modal-dialog {
  max-width: min(920px, calc(100vw - 28px));
}

body.home-page #howToPlayModal .modal-content,
body.home-page #previewGameModal .modal-content {
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: var(--qz-radius);
  background: var(--qz-white);
  color: var(--qz-ink);
  box-shadow: 0 30px 80px rgba(20, 10, 35, 0.32);
}

body.home-page #howToPlayModal .modal-body,
body.home-page #previewGameModal .modal-body {
  min-height: auto;
  padding: clamp(28px, 5vw, 46px);
}

body.home-page #howToPlayModal .btn-close,
body.home-page #previewGameModal .btn-close {
  right: 14px;
  top: 14px;
  width: 38px;
  height: 38px;
  border: 1px solid var(--qz-border);
  border-radius: 999px;
  background: var(--qz-bg);
  color: var(--qz-darkest);
  font-size: 28px;
  line-height: 28px;
}

body.home-page #howToPlayModal .modal-body h3,
body.home-page #previewGameModal .modal-body h3 {
  color: var(--qz-darkest);
  font-family: "Figtree", sans-serif;
  font-size: clamp(24px, 3vw, 34px);
  font-weight: 900;
  line-height: 1.12;
}

body.home-page #howToPlayModal .modal-body ol li,
body.home-page #previewGameModal .modal-body ol li {
  color: var(--qz-muted);
  font-size: 17px;
  font-weight: 600;
}

body.home-page #howToPlayModal .modal-body .support,
body.home-page #previewGameModal .modal-body .support {
  padding: 18px;
  border-radius: var(--qz-radius);
  background: var(--qz-bg);
}

body.home-page #howToPlayModal .modal-body .support h4,
body.home-page #previewGameModal .modal-body .support h4 {
  color: var(--qz-purple);
  font-family: "Figtree", sans-serif;
}

body.home-page #howToPlayModal .modal-body .support p,
body.home-page #previewGameModal .modal-body .support p {
  color: var(--qz-muted);
}

body.home-page #howToPlayModal .modal-body .support p a,
body.home-page #previewGameModal .modal-body .support p a {
  color: var(--qz-purple);
}

@media (min-width: 992px) {
  body.home-page .section-2 .top-row .row {
    --bs-gutter-x: 24px;
  }
}

@media (max-width: 1100px) {
  body.home-page .section-2 .top-row .card .details {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 960px) {
  .video-container {
    grid-template-columns: 1fr;
  }

  .video-container > .left,
  .video-container > .right {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    width: 100%;
  }

  .video-container > .left {
    order: 2;
  }

  .video-container > .video {
    order: 1;
  }

  .video-container > .right {
    order: 3;
  }

  body.home-page .section-1 .video-container > .left,
  body.home-page .section-1 .video-container > .right {
    display: none;
  }

  body.home-page .section-3 .workflow-track {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  body.home-page .section-3 .workflow-track::before {
    display: none;
  }
}

@media (max-width: 768px) {
  header {
    position: relative;
  }

  header .navbar .navbar-nav {
    padding-top: 14px;
  }

  header .navbar .navbar-nav a {
    justify-content: center;
    width: 100%;
  }

  .hero-stats {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  body.home-page .section-2 .top-row .card .logo-container.game-logo-strip {
    min-height: 100px;
    padding: 14px 18px;
  }

  body.home-page .section-2 .top-row .card .details .game-media-shell {
    min-height: 204px;
  }

  body.home-page .section-2 .top-row .card .details .content {
    grid-template-columns: 1fr;
  }

  body.home-page .section-2 .top-row .card .buttons,
  body.home-page .section-2 .top-row .card .buttons.top-button-row {
    flex-direction: column;
  }

  body.home-page .section-2 .top-row .card .buttons .btn {
    width: 100%;
  }

  body.home-page .section-3 .workflow-track {
    grid-template-columns: 1fr;
    max-width: 560px;
    margin-inline: auto;
    margin-top: 34px;
  }

  body.home-page .section-3 .workflow-step {
    min-height: 0;
    padding: 20px 20px 20px 84px;
    text-align: left;
  }

  body.home-page .section-3 .workflow-step .number {
    top: 20px;
    left: 22px;
    width: 48px;
    height: 48px;
    border-width: 3px;
    font-size: 24px;
    box-shadow: 0 0 0 6px rgba(255, 255, 255, 0.9);
    transform: none;
  }

  body.home-page .section-3 .chat {
    border-radius: var(--qz-radius);
  }

  .section-6-card {
    grid-template-columns: 1fr;
    gap: 20px;
    text-align: center;
  }

  .section-6-card > h2 {
    max-width: 560px;
    margin: 0 auto;
    padding-left: 0;
    border-left: 0;
  }
}

@media (prefers-reduced-motion: reduce) {
  #goalzz-card .card.is-promo-focused {
    animation: none;
  }

  .promo-spotlight-overlay {
    backdrop-filter: none;
  }
}

@media (max-width: 520px) {
  body.home-page .hero-section {
    padding-top: 46px;
  }

  body.home-page .hero-section .headingCTA {
    margin-bottom: 46px;
  }

  .hero-stats {
    grid-template-columns: 1fr;
  }

  .video-container > .left,
  .video-container > .right {
    grid-template-columns: 1fr;
  }

  body.home-page .section-2 .top-row .card .logo-container.game-logo-strip {
    min-height: 92px;
  }

  body.home-page .section-2 .top-row .card .details .game-media-shell {
    min-height: 184px;
  }

  body.home-page .section-3 .chat {
    width: 100%;
    padding: 16px;
  }

  body.home-page .section-3 .chat a {
    width: 100%;
    justify-content: center;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  body.home-page .section-2 .top-row .card,
  body.home-page .section-2 .top-row .card .buttons .btn,
  div.headingCTA > div.button-container > a.btn {
    transition: none;
  }

  body.home-page .section-2 .top-row .card:hover,
  body.home-page .section-2 .top-row .card .buttons .btn:hover,
  div.headingCTA > div.button-container > a.btn:hover {
    transform: none;
  }
}
