:root{--qa-guard:start}

:where(main :is([class*="grid"], [style*="grid"], [class*="layout"], .row, [class*="cols"], [class*="split"], [class*="columns"],
               [data-component], ol, ul, dl) > *) { min-width: 0; }
:where(main img, main video, main iframe) { max-width: 100%; }
:where(main img) { height: auto; }
:where(main pre) { overflow-x: auto; }
:where(main table) { max-width: 100%; }
:where(h1, h2, h3, h4, h5, h6) { line-height: 1.3; }
:where(footer a:not([class*="btn"]), .breadcrumb a, nav li a) { display: inline-block; padding-block: 4px; }
img[data-role="hero"] { object-position: 75% 30% !important; } 
.navbar-brand:has(> img.site-logo) { background: none !important; padding: 0 !important; box-shadow: none !important; border: 0 !important; }
.navbar-brand > img.site-logo { height: 40px; width: auto; display: block; }

.navbar:has(> div:empty):has(> :is([class*="container"], [class*="inner"])) { flex-direction: column; align-items: stretch; }
.navbar .navbar-brand { flex-shrink: 0; }
@media (min-width: 576px) {  
  .navbar :is(a, button)[class*="btn"] { flex-shrink: 0; }
  .navbar :is(.nav-link, a[class*="btn"], button[class*="btn"]) { white-space: nowrap; }
}

:is(.navbar, .navbar > *, .navbar :has(> .navbar-collapse)):has(.navbar-collapse:is(.show, .collapsing)) { height: auto !important; max-height: none !important; }

@media (min-width: 992px) {
  main .row > [class*="col"]:has(> img[data-role="section"]:only-child) { align-self: stretch; }
  main .row > [class*="col"] > img[data-role="section"]:only-child { height: 100% !important; object-fit: cover; }
}

main > :is(section, div):not(:first-child):not(:empty, [class*="divider"], [class*="separator"], [aria-hidden="true"]) { padding-block: clamp(28px, 3.5vw, 44px) !important; margin-block: 0 !important; }
main > :first-child, main > :first-child > :is(section, div) { min-height: 0 !important; }
main > :first-child { padding-block: clamp(24px, 4vw, 56px) !important; }
main :is(h1, h2, h3) { line-height: 1.35 !important; }
main :is(p, li, td, dd) { line-height: 1.55 !important; }
main > :is(section, div) :is(h2):first-of-type { margin-bottom: 12px; }
@media (max-width: 575.98px) {
  main [style*="grid-template-columns"]:not([style*="auto-fit"]):not([style*="auto-fill"]) { grid-template-columns: 1fr !important; }
  
  :is([data-component="game-grid"], [data-component="game-grid"] *):has(> .game-card) {
    display: grid !important; grid-template-columns: repeat(2, minmax(0, 1fr)) !important; gap: 12px !important; }
  .game-card .game-tag { position: static !important; display: inline-block; margin-top: 6px; }
  
  main :is(div, p, nav):has(> :is(a, button)[class*="btn"]):not([class*="scroll"], [class*="strip"], [class*="tab"], [class*="chip"]) {
    flex-wrap: wrap !important; flex-shrink: 1 !important; max-width: 100%; }
  main div:has(> :is(div, p) > :is(a, button)[class*="btn"]):not([class*="scroll"], [class*="strip"], [class*="tab"], [class*="chip"]) {
    flex-wrap: wrap !important; }  
  
  main :is(ol, ul, [data-component="steps"], [data-component="steps"] div):not([class*="scroll"], [class*="strip"], [class*="tab"], [class*="chip"]) {
    flex-wrap: wrap !important; }
  main :is(a, button)[class*="btn"] { white-space: normal !important; }
  
  main table:not(:is([class*="responsive"], [class*="scroll"], [style*="overflow"]) table) {
    display: block; max-width: 100%; overflow-x: auto; -webkit-overflow-scrolling: touch; }
  .game-card :is(.game-card-body, div:has(> h3)) { padding: 10px 12px 12px !important; }
}
.toc-auto { margin: 0 auto 24px; max-width: 1100px; padding: 12px 16px; border: 1px solid var(--border, rgba(255,255,255,.15)); border-radius: 12px; }
.toc-auto summary { cursor: pointer; font-weight: 700; min-height: 44px; display: flex; align-items: center; }
.toc-auto ol { margin: 8px 0 0; padding-left: 1.4em; }
[data-component="toc"] a { display: inline-block; padding-block: 4px; }
html { scroll-padding-top: 88px; }

:is(header, footer, main > :not(:first-child)) :is(.container, .container-fluid, .container-sm, .container-md, .container-lg, .container-xl, .container-xxl) {
  max-width: 1320px !important; margin-inline: auto !important; }
main > :not(:has([class*="container"])) { padding-inline: max(16px, calc((100% - 1320px) / 2)) !important; }  

:where(main > :first-child > :not([class*="container"], :has([class*="container"]), img, picture, video, [style*="absolute"])) {
  padding-inline: max(16px, calc((100% - 1320px) / 2)); }
main > :first-child :is(.container, .container-fluid, .container-sm, .container-md, .container-lg, .container-xl, .container-xxl):not(:has(> img[data-role="hero"])) {
  max-width: 1320px !important; margin-inline: auto !important; }
:where(main [style*="overflow-x"][style*="flex"]:not([style*="wrap"])) > * { min-width: auto; }

:where(main > :not(:first-child), body > footer) { content-visibility: auto; contain-intrinsic-size: auto 600px; }
@media (max-width: 767.98px) { :where(main > :not(:first-child), body > footer) { contain-intrinsic-size: auto 900px; } }  
:root{--qa-guard:end}

:root {
  --bg: #e0fcf8;
  --surface: #f6fefd;
  --surface-alt: #d7f2ee;
  --primary: #db6814;
  --primary-text: #0b1220;
  --accent: #dc0f90;
  --text: #0d2a3e;
  --text-muted: #3a5a6e;
  --border: #ab974b;
  --brand-blue: #1071c1;
  --brand-dark: #0b4f87;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  background-color: var(--bg);
  color: var(--text);
  font-family: "Source Sans 3", sans-serif;
  font-size: 16px;
  line-height: 1.65;
  overflow-x: hidden;
}

.bunting-flags {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: 20px;
  background: linear-gradient(to right, 
    #db6814 0%, #db6814 20%,
    #1071c1 20%, #1071c1 40%,
    #ab974b 40%, #ab974b 60%,
    #dc0f90 60%, #dc0f90 80%,
    #0b4f87 80%, #0b4f87 100%);
  clip-path: polygon(
    0% 0%, 5% 100%, 10% 0%, 15% 100%, 20% 0%,
    20% 0%, 25% 100%, 30% 0%, 35% 100%, 40% 0%,
    40% 0%, 45% 100%, 50% 0%, 55% 100%, 60% 0%,
    60% 0%, 65% 100%, 70% 0%, 75% 100%, 80% 0%,
    80% 0%, 85% 100%, 90% 0%, 95% 100%, 100% 0%
  );
  z-index: 1000;
}

.navbar {
  background-color: #ffffff;
  height: 64px;
  box-shadow: 0 2px 10px rgba(11, 79, 135, 0.12);
  border-bottom: 1px solid rgba(171, 151, 75, 0.30);
  margin-top: 20px;
  position: relative;
  z-index: 999;
}

.navbar-brand {
  font-family: "Playfair Display", serif;
  font-size: 26px;
  font-weight: 900;
  color: var(--brand-blue) !important;
  margin-right: auto;
}

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

.nav-link {
  font-family: "Source Sans 3", sans-serif;
  font-size: 15px;
  font-weight: 600;
  color: var(--text) !important;
  transition: color 200ms ease, border-bottom 200ms ease;
  position: relative;
  padding-bottom: 8px !important;
}

.nav-link:hover {
  color: var(--brand-blue) !important;
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 2px;
  background-color: var(--brand-blue);
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 200ms ease;
}

.nav-link:hover::after {
  transform: scaleX(1);
  transform-origin: left;
}

.nav-link.active {
  color: var(--brand-blue) !important;
  border-bottom: 2px solid var(--brand-blue);
}

.btn-login {
  border: 1.5px solid var(--brand-blue);
  color: var(--brand-blue);
  background-color: transparent;
  border-radius: 6px;
  padding: 8px 20px;
  font-size: 15px;
  font-weight: 600;
  margin-right: 12px;
  transition: all 200ms ease;
}

.btn-login:hover {
  background-color: var(--brand-blue);
  color: #ffffff;
}

.btn-signup {
  background-color: var(--primary);
  color: var(--primary-text);
  border: none;
  border-radius: 6px;
  padding: 8px 22px;
  font-size: 15px;
  font-weight: 600;
  transition: all 200ms ease;
  position: relative;
}

.btn-signup::before,
.btn-signup::after {
  content: '';
  position: absolute;
  width: 10px;
  height: 10px;
  background-color: var(--bg);
  border-radius: 50%;
  top: 50%;
  transform: translateY(-50%);
}

.btn-signup::before {
  left: -5px;
}

.btn-signup::after {
  right: -5px;
}

.btn-signup:hover {
  background-color: #c05810;
  transform: translateY(-2px);
  box-shadow: 0 4px 14px rgba(219, 104, 20, 0.40);
}

.btn-signup:focus-visible {
  outline: 2px solid var(--primary);
  outline-offset: 2px;
}

.hero {
  position: relative;
  width: 100%;
  min-height: 600px;
  height: 100vh;
  display: grid;
  grid-template-columns: 1fr 1fr;
  grid-template-rows: 1fr;
  align-items: center;
  margin-top: 64px;
  overflow: hidden;
}

.hero img {
  grid-area: 1 / 1 / -1 / -1;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: right center;
}

.hero::before {
  content: '';
  grid-area: 1 / 1 / -1 / -1;
  background: linear-gradient(to right, rgba(11, 79, 135, 0.82) 0%, rgba(11, 79, 135, 0.55) 45%, transparent 70%);
  z-index: 1;
}

.hero::after {
  content: '';
  grid-area: 1 / 1 / -1 / -1;
  background: linear-gradient(to top, rgba(13, 42, 62, 0.60) 0%, transparent 40%);
  z-index: 1;
}

.hero-content {
  grid-area: 1 / 1 / -1 / -1;
  z-index: 2;
  padding: 60px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  max-width: 50%;
  padding-right: 120px;
}

.hero h1 {
  font-family: "Playfair Display", serif;
  font-size: clamp(2rem, 6vw, 3.5rem);
  font-weight: 900;
  line-height: 1.15;
  color: var(--primary-text);
  letter-spacing: -0.5px;
  margin-bottom: 20px;
}

.hero h1 .accent {
  color: var(--primary);
}

.hero .subtitle {
  font-family: "Source Sans 3", sans-serif;
  font-size: 18px;
  color: rgba(255, 255, 255, 0.88);
  line-height: 1.5;
  margin-bottom: 32px;
  max-width: 500px;
}

.hero-buttons {
  display: flex;
  gap: 16px;
  margin-bottom: 48px;
  flex-wrap: wrap;
}

.btn-primary-hero {
  background-color: var(--primary);
  color: var(--primary-text);
  border: none;
  border-radius: 6px;
  padding: 12px 28px;
  font-size: 15px;
  font-weight: 600;
  letter-spacing: 0.3px;
  cursor: pointer;
  transition: all 200ms ease;
  text-decoration: none;
  display: inline-block;
  position: relative;
}

.btn-primary-hero::before,
.btn-primary-hero::after {
  content: '';
  position: absolute;
  width: 10px;
  height: 10px;
  background-color: rgba(11, 79, 135, 0.82);
  border-radius: 50%;
  top: 50%;
  transform: translateY(-50%);
}

.btn-primary-hero::before {
  left: -5px;
}

.btn-primary-hero::after {
  right: -5px;
}

.btn-primary-hero:hover {
  background-color: #c05810;
  transform: translateY(-2px);
  box-shadow: 0 4px 14px rgba(219, 104, 20, 0.40);
}

.btn-secondary-hero {
  background-color: transparent;
  color: var(--primary-text);
  border: 1.5px solid var(--primary-text);
  border-radius: 6px;
  padding: 10px 24px;
  font-size: 15px;
  font-weight: 600;
  cursor: pointer;
  transition: all 200ms ease;
  text-decoration: none;
  display: inline-block;
}

.btn-secondary-hero:hover {
  background-color: var(--primary-text);
  color: var(--brand-dark);
}

[data-component="trust"] {
  list-style: none;
  display: flex;
  gap: 24px;
  margin-bottom: 24px;
  flex-wrap: wrap;
}

[data-component="trust"] li {
  display: flex;
  align-items: center;
  gap: 8px;
  color: rgba(255, 255, 255, 0.85);
  font-size: 13px;
  font-weight: 600;
}

[data-component="trust"] i {
  font-size: 18px;
  color: rgba(255, 255, 255, 0.90);
}

[data-component="stats"] {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
  gap: 12px;
  margin-top: 32px;
}

[data-component="stats"] > div {
  background-color: rgba(246, 254, 253, 0.15);
  backdrop-filter: blur(8px);
  border: 1px dashed rgba(171, 151, 75, 0.60);
  border-radius: 10px 10px 2px 2px;
  padding: 20px 16px;
  text-align: center;
}

[data-component="stats"] dt {
  font-family: "Playfair Display", serif;
  font-size: 24px;
  font-weight: 700;
  color: var(--primary-text);
  line-height: 1.2;
}

[data-component="stats"] dd {
  font-family: "Source Sans 3", sans-serif;
  font-size: 13px;
  color: rgba(255, 255, 255, 0.85);
  margin-top: 8px;
  font-weight: 400;
}

main {
  padding-bottom: 0;
}

main > section {
  padding: clamp(28px, 3.5vw, 44px) 0;
}

.container, .container-xl {
  max-width: 1200px !important;
  margin: 0 auto !important;
}

.section-divider {
  height: 24px;
  width: 100%;
  background-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 20"><defs><pattern id="pattern" x="0" y="0" width="20" height="20" patternUnits="userSpaceOnUse"><circle cx="5" cy="5" r="1" fill="%23ab974b"/><path d="M 15 2 L 18 8 L 15 14 L 12 8 Z" fill="none" stroke="%23ab974b" stroke-width="0.5"/><circle cx="10" cy="10" r="2" fill="none" stroke="%23ab974b" stroke-width="0.5"/></pattern></svg>');
  background-repeat: repeat-x;
  background-position: center;
  opacity: 0.10;
  margin: 0;
}

h1 {
  font-family: "Playfair Display", serif;
  font-size: 3.5rem;
  font-weight: 900;
  line-height: 1.15;
  letter-spacing: -0.5px;
  color: var(--text);
  margin-bottom: 24px;
}

h2 {
  font-family: "Playfair Display", serif;
  font-size: 2.25rem;
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: -0.2px;
  color: var(--text);
  margin-bottom: 32px;
  margin-top: 0;
}

h3 {
  font-family: "Playfair Display", serif;
  font-size: 1.5rem;
  font-weight: 700;
  line-height: 1.3;
  color: var(--text);
  margin-bottom: 12px;
}

h4 {
  font-family: "Source Sans 3", sans-serif;
  font-size: 1.125rem;
  font-weight: 600;
  line-height: 1.4;
  color: var(--text);
  margin-bottom: 12px;
}

p {
  margin-bottom: 16px;
  line-height: 1.75;
}

small {
  font-family: "Source Sans 3", sans-serif;
  font-size: 13px;
  line-height: 1.5;
  color: var(--text-muted);
}

::selection {
  background-color: var(--primary);
  color: var(--primary-text);
}

.btn {
  font-family: "Source Sans 3", sans-serif;
  font-weight: 600;
  letter-spacing: 0.3px;
  border-radius: 6px;
  transition: all 200ms ease;
  cursor: pointer;
}

.btn-primary {
  background-color: var(--primary);
  color: var(--primary-text);
  border: none;
}

.btn-primary:hover, .btn-primary:focus {
  background-color: #c05810;
  color: var(--primary-text);
  transform: translateY(-1px);
}

.btn-outline-primary {
  border: 1.5px solid var(--brand-blue);
  color: var(--brand-blue);
  background-color: transparent;
}

.btn-outline-primary:hover, .btn-outline-primary:focus {
  background-color: var(--brand-blue);
  color: var(--primary-text);
}

.card {
  background-color: var(--surface);
  border: 1px solid rgba(171, 151, 75, 0.35);
  border-radius: 10px 10px 2px 2px;
  box-shadow: 0 2px 8px rgba(16, 113, 193, 0.10), 0 1px 2px rgba(171, 151, 75, 0.08);
  transition: all 200ms ease;
  overflow: hidden;
}

.card:hover {
  transform: translateY(-4px) scale(1.02);
  box-shadow: 0 6px 24px rgba(16, 113, 193, 0.18), 0 2px 6px rgba(171, 151, 75, 0.14);
}

.game-card {
  display: block;
  text-decoration: none;
  color: inherit;
  position: relative;
  overflow: hidden;
}

.game-card img {
  width: 100%;
  height: auto;
  object-fit: cover;
  display: block;
}

.game-tag {
  position: absolute;
  top: 12px;
  right: 12px;
  background-color: var(--border);
  color: var(--primary-text);
  padding: 4px 12px;
  border-radius: 4px;
  font-size: 11px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  z-index: 2;
}

.game-card h3 {
  font-size: 1rem;
  margin-bottom: 4px;
}

.game-card p {
  font-size: 13px;
  color: var(--text-muted);
  margin-bottom: 0;
}

footer {
  background-color: var(--brand-dark);
  color: var(--primary-text);
  padding: 48px 0 24px;
  margin-top: 0;
  position: relative;
}

footer::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 24px;
  background-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 20"><defs><pattern id="pattern" x="0" y="0" width="20" height="20" patternUnits="userSpaceOnUse"><circle cx="5" cy="5" r="1" fill="%23ffffff"/><path d="M 15 2 L 18 8 L 15 14 L 12 8 Z" fill="none" stroke="%23ffffff" stroke-width="0.5"/><circle cx="10" cy="10" r="2" fill="none" stroke="%23ffffff" stroke-width="0.5"/></pattern></svg>');
  background-repeat: repeat-x;
  background-position: center;
  opacity: 0.12;
  z-index: 1;
}

.footer-content {
  position: relative;
  z-index: 2;
  margin-top: 24px;
}

.footer-col h5 {
  font-family: "Playfair Display", serif;
  font-size: 18px;
  font-weight: 700;
  color: var(--primary-text);
  margin-bottom: 20px;
}

.footer-col a {
  display: block;
  font-family: "Source Sans 3", sans-serif;
  font-size: 14px;
  color: rgba(255, 255, 255, 0.80);
  text-decoration: none;
  margin-bottom: 12px;
  transition: color 200ms ease;
}

.footer-col a:hover {
  color: var(--primary-text);
  text-decoration: underline;
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.15);
  margin-top: 32px;
  padding-top: 24px;
  text-align: center;
  font-family: "Source Sans 3", sans-serif;
  font-size: 13px;
  color: rgba(255, 255, 255, 0.60);
}

.responsible-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  border: 2px solid var(--primary-text);
  background-color: var(--brand-dark);
  color: var(--primary-text);
  font-family: "Source Sans 3", sans-serif;
  font-size: 11px;
  font-weight: 700;
  text-align: center;
  line-height: 1.2;
  margin-top: 12px;
  position: relative;
}

@media (max-width: 992px) {
  .hero {
    grid-template-columns: 1fr;
    min-height: auto;
  }

  .hero-content {
    max-width: 100%;
    padding: 60px 40px;
    padding-right: 40px;
  }

  h1 {
    font-size: 2.5rem;
  }

  h2 {
    font-size: 1.75rem;
  }

  [data-component="trust"] {
    gap: 16px;
  }

  .hero-buttons {
    flex-direction: column;
  }

  .btn-primary-hero, .btn-secondary-hero {
    width: 100%;
    text-align: center;
  }
}

@media (max-width: 768px) {
  .navbar {
    height: auto;
  }

  .hero {
    min-height: 500px;
  }

  .hero-content {
    padding: 40px 24px;
  }

  h1 {
    font-size: 2rem;
  }

  h2 {
    font-size: 1.5rem;
  }

  .hero .subtitle {
    font-size: 16px;
  }

  [data-component="stats"] {
    grid-template-columns: repeat(2, 1fr);
  }

  .footer-content {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
  }
}

@media (max-width: 480px) {
  .hero {
    min-height: 100vh;
  }

  .hero-content {
    padding: 32px 16px;
  }

  h1 {
    font-size: 1.5rem;
  }

  h2 {
    font-size: 1.25rem;
  }

  [data-component="trust"] {
    flex-direction: column;
    gap: 8px;
  }

  [data-component="stats"] {
    grid-template-columns: 1fr;
  }

  .footer-content {
    grid-template-columns: 1fr;
  }
}

@media (prefers-reduced-motion: reduce) {
  * {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}
