@font-face {
  font-family: "Titillium Web";
  src: url("../font/TitilliumText22L003-webfont.woff") format("woff");
  font-style: normal;
  font-weight: 400;
  font-display: swap;
}

@font-face {
  font-family: "Titillium Web";
  src: url("../font/TitilliumText22L006-webfont.woff") format("woff");
  font-style: normal;
  font-weight: 700;
  font-display: swap;
}

:root {
  --ink: #14213d;
  --ink-soft: #536078;
  --paper: #f5f8fc;
  --surface: #ffffff;
  --line: #dfe7f2;
  --brand: #00a9c6;
  --brand-dark: #007e9a;
  --accent: #ffb84d;
  --navy: #101a35;
  --shadow-sm: 0 10px 30px rgba(20, 33, 61, 0.08);
  --shadow-lg: 0 24px 70px rgba(11, 27, 59, 0.18);
  --radius-sm: 14px;
  --radius-md: 22px;
  --radius-lg: 32px;
  --shell: 1180px;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-width: 320px;
  background: var(--paper);
  color: var(--ink);
  font-family: "Titillium Web", "Trebuchet MS", Arial, sans-serif;
  font-size: 18px;
  line-height: 1.65;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}

body.nav-open {
  overflow: hidden;
}

img,
iframe {
  display: block;
  max-width: 100%;
}

button,
a {
  -webkit-tap-highlight-color: transparent;
}

a {
  color: var(--brand-dark);
  text-decoration-thickness: 1px;
  text-underline-offset: 0.2em;
}

button,
input,
textarea,
select {
  font: inherit;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1,
h2,
h3 {
  line-height: 1.08;
  letter-spacing: -0.025em;
}

h1 {
  font-size: clamp(2.6rem, 6vw, 5.7rem);
}

h2 {
  font-size: clamp(2rem, 4vw, 3.5rem);
}

h3 {
  font-size: clamp(1.25rem, 2vw, 1.6rem);
}

.shell {
  width: min(calc(100% - 40px), var(--shell));
  margin-inline: auto;
}

.skip-link {
  position: fixed;
  z-index: 1000;
  top: 10px;
  left: 10px;
  padding: 10px 16px;
  border-radius: 10px;
  background: var(--surface);
  color: var(--ink);
  transform: translateY(-150%);
}

.skip-link:focus {
  transform: translateY(0);
}

.site-header {
  position: sticky;
  z-index: 50;
  top: 0;
  border-bottom: 1px solid rgba(20, 33, 61, 0.08);
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(18px);
}

.nav-shell {
  display: flex;
  min-height: 82px;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  color: var(--ink);
  font-size: 1.45rem;
  font-weight: 700;
  letter-spacing: -0.03em;
  text-decoration: none;
}

.brand-mark {
  display: grid;
  width: 42px;
  height: 42px;
  place-items: center;
  overflow: hidden;
  border-radius: 13px;
  background:
    radial-gradient(circle at 72% 28%, var(--accent) 0 13%, transparent 14%),
    linear-gradient(145deg, #14c6db, var(--brand-dark));
  box-shadow: 0 8px 20px rgba(0, 169, 198, 0.24);
  color: #fff;
  font-size: 1.3rem;
  line-height: 1;
}

.primary-nav ul {
  display: flex;
  align-items: center;
  gap: 6px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.primary-nav a {
  display: block;
  padding: 10px 16px;
  border-radius: 999px;
  color: var(--ink-soft);
  font-size: 0.92rem;
  font-weight: 700;
  text-decoration: none;
  transition: background 180ms ease, color 180ms ease, transform 180ms ease;
}

.primary-nav a:hover,
.primary-nav a:focus-visible {
  background: #e9f8fb;
  color: var(--brand-dark);
}

.primary-nav a[aria-current="page"] {
  background: var(--ink);
  color: #fff;
}

.nav-toggle {
  display: none;
  width: 46px;
  height: 46px;
  align-items: center;
  justify-content: center;
  border: 0;
  border-radius: 14px;
  background: #edf4f8;
  color: var(--ink);
  cursor: pointer;
}

.nav-toggle-lines,
.nav-toggle-lines::before,
.nav-toggle-lines::after {
  display: block;
  width: 20px;
  height: 2px;
  border-radius: 2px;
  background: currentColor;
  transition: transform 180ms ease, opacity 180ms ease;
}

.nav-toggle-lines {
  position: relative;
}

.nav-toggle-lines::before,
.nav-toggle-lines::after {
  position: absolute;
  left: 0;
  content: "";
}

.nav-toggle-lines::before { transform: translateY(-6px); }
.nav-toggle-lines::after { transform: translateY(6px); }

.nav-toggle[aria-expanded="true"] .nav-toggle-lines { background: transparent; }
.nav-toggle[aria-expanded="true"] .nav-toggle-lines::before { transform: rotate(45deg); }
.nav-toggle[aria-expanded="true"] .nav-toggle-lines::after { transform: rotate(-45deg); }

.button {
  display: inline-flex;
  min-height: 50px;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 22px;
  border: 1px solid transparent;
  border-radius: 999px;
  background: var(--brand);
  box-shadow: 0 12px 28px rgba(0, 169, 198, 0.25);
  color: #fff;
  font-weight: 700;
  text-decoration: none;
  transition: transform 180ms ease, box-shadow 180ms ease, background 180ms ease;
}

.button:hover,
.button:focus-visible {
  background: var(--brand-dark);
  box-shadow: 0 16px 36px rgba(0, 126, 154, 0.3);
  color: #fff;
  transform: translateY(-2px);
}

.button-secondary {
  border-color: rgba(255, 255, 255, 0.45);
  background: rgba(255, 255, 255, 0.12);
  box-shadow: none;
  backdrop-filter: blur(10px);
}

.button-secondary:hover,
.button-secondary:focus-visible {
  background: rgba(255, 255, 255, 0.22);
  box-shadow: none;
}

.eyebrow {
  margin-bottom: 16px;
  color: var(--brand-dark);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.hero {
  position: relative;
  overflow: hidden;
  background: var(--navy);
  color: #fff;
}

.hero-viewport {
  position: relative;
  min-height: clamp(500px, 64vw, 720px);
}

.hero-slide {
  position: absolute;
  inset: 0;
  display: grid;
  align-items: end;
  opacity: 0;
  pointer-events: none;
  transition: opacity 650ms ease;
}

.hero-slide.is-active {
  z-index: 1;
  opacity: 1;
  pointer-events: auto;
}

.hero-slide > img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.hero-slide::after {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(8, 18, 42, 0.93) 0%, rgba(8, 18, 42, 0.7) 42%, rgba(8, 18, 42, 0.08) 75%),
    linear-gradient(0deg, rgba(8, 18, 42, 0.75), transparent 45%);
  content: "";
}

.hero-content {
  position: relative;
  z-index: 2;
  width: min(calc(100% - 40px), var(--shell));
  padding-block: clamp(70px, 9vw, 118px);
}

.hero-copy {
  max-width: 660px;
}

.hero .eyebrow {
  color: #7ee9f5;
}

.hero h1 {
  max-width: 760px;
  margin-bottom: 22px;
  color: #fff;
  text-wrap: balance;
}

.hero p {
  max-width: 580px;
  margin-bottom: 30px;
  color: rgba(255, 255, 255, 0.84);
  font-size: clamp(1rem, 2vw, 1.22rem);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.carousel-controls {
  position: absolute;
  z-index: 3;
  right: max(20px, calc((100vw - var(--shell)) / 2));
  bottom: 28px;
  display: flex;
  align-items: center;
  gap: 10px;
}

.carousel-button {
  display: grid;
  width: 48px;
  height: 48px;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, 0.35);
  border-radius: 50%;
  background: rgba(10, 20, 45, 0.5);
  color: #fff;
  cursor: pointer;
  backdrop-filter: blur(8px);
  transition: background 180ms ease, transform 180ms ease;
}

.carousel-button:hover,
.carousel-button:focus-visible {
  background: var(--brand);
  transform: translateY(-2px);
}

.carousel-dots {
  display: flex;
  gap: 7px;
  margin-right: 6px;
}

.carousel-dot {
  width: 10px;
  height: 10px;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.42);
  cursor: pointer;
}

.carousel-dot[aria-current="true"] {
  width: 28px;
  border-radius: 999px;
  background: #fff;
}

.section {
  padding-block: clamp(70px, 9vw, 120px);
}

.section-tight {
  padding-block: clamp(48px, 6vw, 76px);
}

.section-heading {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 28px;
  margin-bottom: 42px;
}

.section-heading > div {
  max-width: 710px;
}

.section-heading h2 {
  margin-bottom: 14px;
}

.section-heading p {
  margin-bottom: 0;
  color: var(--ink-soft);
}

.intro-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(320px, 0.9fr);
  align-items: center;
  gap: clamp(42px, 7vw, 90px);
}

.intro-grid h2 {
  margin-bottom: 22px;
}

.intro-grid p {
  color: var(--ink-soft);
}

.value-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
}

.value-card {
  min-height: 150px;
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  background: var(--surface);
  box-shadow: var(--shadow-sm);
}

.value-card strong {
  display: block;
  margin-bottom: 8px;
  color: var(--brand-dark);
  font-size: 1.45rem;
  line-height: 1.1;
}

.value-card span {
  display: block;
  color: var(--ink-soft);
  font-size: 0.9rem;
  line-height: 1.35;
}

.games-section {
  background: #fff;
}

.game-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 28px;
}

.game-card {
  position: relative;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  background: var(--surface);
  box-shadow: var(--shadow-sm);
  transition: transform 220ms ease, box-shadow 220ms ease;
}

.game-card:hover {
  box-shadow: var(--shadow-lg);
  transform: translateY(-6px);
}

.game-art {
  overflow: hidden;
  aspect-ratio: 1 / 1;
  background: #e8eef6;
}

.game-art img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 500ms cubic-bezier(0.2, 0.7, 0.2, 1);
}

.game-card:hover .game-art img {
  transform: scale(1.045);
}

.game-info {
  padding: 24px;
}

.game-info h3 {
  margin-bottom: 8px;
}

.game-info p {
  margin-bottom: 0;
  color: var(--ink-soft);
  font-size: 0.95rem;
}

.page-hero {
  position: relative;
  overflow: hidden;
  padding-block: clamp(78px, 11vw, 150px);
  background:
    radial-gradient(circle at 86% 18%, rgba(255, 184, 77, 0.28), transparent 24%),
    radial-gradient(circle at 72% 100%, rgba(0, 169, 198, 0.36), transparent 38%),
    var(--navy);
  color: #fff;
}

.page-hero::after {
  position: absolute;
  right: -90px;
  bottom: -130px;
  width: min(38vw, 480px);
  aspect-ratio: 1;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 38% 62% 63% 37% / 40% 44% 56% 60%;
  content: "";
  transform: rotate(18deg);
}

.page-hero .shell {
  position: relative;
  z-index: 1;
}

.page-hero .eyebrow {
  color: #7ee9f5;
}

.page-hero h1 {
  max-width: 820px;
  margin-bottom: 20px;
}

.page-hero p {
  max-width: 760px;
  margin-bottom: 0;
  color: rgba(255, 255, 255, 0.78);
  font-size: clamp(1.05rem, 2vw, 1.28rem);
}

.content-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(300px, 0.75fr);
  gap: clamp(34px, 7vw, 90px);
}

.content-card {
  padding: clamp(28px, 5vw, 52px);
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  background: var(--surface);
  box-shadow: var(--shadow-sm);
}

.content-card h2,
.content-card h3 {
  margin-bottom: 20px;
}

.content-card p {
  color: var(--ink-soft);
}

.content-card p:last-child {
  margin-bottom: 0;
}

.team-list {
  display: grid;
  gap: 18px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.team-list li {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 8px 18px;
}

.team-list strong,
.team-list span {
  font-size: 0.9rem;
}

.team-list span {
  color: var(--brand-dark);
  font-weight: 700;
}

.team-meter {
  grid-column: 1 / -1;
  height: 8px;
  overflow: hidden;
  border-radius: 999px;
  background: #e7edf5;
}

.team-meter i {
  display: block;
  width: var(--meter);
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, var(--brand), #55d6df);
}

.principles-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 22px;
}

.principle-card {
  padding: 30px;
  border-radius: var(--radius-md);
  background: var(--surface);
  box-shadow: var(--shadow-sm);
}

.principle-number {
  display: grid;
  width: 44px;
  height: 44px;
  margin-bottom: 42px;
  place-items: center;
  border-radius: 50%;
  background: #e6f8fb;
  color: var(--brand-dark);
  font-size: 0.85rem;
  font-weight: 700;
}

.principle-card h3 {
  margin-bottom: 12px;
}

.principle-card p {
  margin-bottom: 0;
  color: var(--ink-soft);
}

.contact-grid {
  display: grid;
  grid-template-columns: minmax(300px, 0.72fr) minmax(0, 1.28fr);
  align-items: stretch;
  gap: 28px;
}

.contact-panel {
  display: flex;
  flex-direction: column;
  padding: clamp(30px, 5vw, 52px);
  border-radius: var(--radius-md);
  background: var(--navy);
  box-shadow: var(--shadow-lg);
  color: #fff;
}

.contact-panel .eyebrow {
  color: #7ee9f5;
}

.contact-panel h2 {
  margin-bottom: 18px;
}

.contact-panel > p {
  color: rgba(255, 255, 255, 0.72);
}

.contact-list {
  display: grid;
  gap: 20px;
  margin: 28px 0 0;
  padding: 0;
  list-style: none;
}

.contact-list li {
  padding-top: 20px;
  border-top: 1px solid rgba(255, 255, 255, 0.14);
}

.contact-list small {
  display: block;
  margin-bottom: 4px;
  color: rgba(255, 255, 255, 0.55);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.contact-list a,
.contact-list address {
  color: #fff;
  font-size: 1rem;
  font-style: normal;
  text-decoration: none;
}

.social-links {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: auto;
  padding-top: 34px;
}

.social-links a {
  padding: 9px 14px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 999px;
  color: #fff;
  font-size: 0.86rem;
  font-weight: 700;
  text-decoration: none;
}

.social-links a:hover,
.social-links a:focus-visible {
  border-color: var(--brand);
  background: var(--brand);
}

.map-card {
  min-height: 590px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  background: #e7edf5;
  box-shadow: var(--shadow-sm);
}

.map-card iframe {
  width: 100%;
  height: 100%;
  min-height: 590px;
  border: 0;
}

.policy-layout {
  display: grid;
  grid-template-columns: 250px minmax(0, 1fr);
  align-items: start;
  gap: clamp(30px, 6vw, 78px);
}

.policy-nav {
  position: sticky;
  top: 112px;
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  background: var(--surface);
  box-shadow: var(--shadow-sm);
}

.policy-nav strong {
  display: block;
  margin-bottom: 12px;
}

.policy-nav ol {
  display: grid;
  gap: 8px;
  margin: 0;
  padding-left: 22px;
  color: var(--ink-soft);
  font-size: 0.88rem;
}

.policy-nav a {
  color: inherit;
  text-decoration: none;
}

.policy-nav a:hover,
.policy-nav a:focus-visible {
  color: var(--brand-dark);
}

.policy-article {
  padding: clamp(28px, 6vw, 64px);
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  background: var(--surface);
  box-shadow: var(--shadow-sm);
}

.policy-article section {
  scroll-margin-top: 112px;
}

.policy-article section + section {
  margin-top: 44px;
  padding-top: 44px;
  border-top: 1px solid var(--line);
}

.policy-article h2 {
  margin-bottom: 18px;
  font-size: clamp(1.55rem, 3vw, 2.25rem);
}

.policy-article p,
.policy-article li {
  color: var(--ink-soft);
}

.provider-list {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 18px 0 0;
  padding: 0;
  list-style: none;
}

.provider-list li {
  padding: 7px 12px;
  border-radius: 999px;
  background: #edf6f8;
  color: var(--brand-dark);
  font-size: 0.82rem;
  font-weight: 700;
}

.policy-date {
  display: inline-flex;
  padding: 8px 13px;
  border-radius: 999px;
  background: #e9f8fb;
  color: var(--brand-dark);
  font-size: 0.86rem;
  font-weight: 700;
}

.site-footer {
  padding-block: 60px 28px;
  background: #0c1530;
  color: rgba(255, 255, 255, 0.68);
}

.footer-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) repeat(2, minmax(160px, 0.4fr));
  gap: 48px;
  padding-bottom: 46px;
}

.site-footer .brand {
  width: fit-content;
  margin-bottom: 18px;
  color: #fff;
}

.footer-intro {
  max-width: 520px;
  margin-bottom: 0;
}

.footer-column h2 {
  margin-bottom: 16px;
  color: #fff;
  font-size: 0.86rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.footer-column ul {
  display: grid;
  gap: 9px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.site-footer a {
  color: rgba(255, 255, 255, 0.72);
  text-decoration: none;
}

.site-footer a:hover,
.site-footer a:focus-visible {
  color: #7ee9f5;
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  gap: 24px;
  padding-top: 24px;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  font-size: 0.78rem;
}

.footer-bottom p {
  margin: 0;
}

:focus-visible {
  outline: 3px solid var(--accent);
  outline-offset: 3px;
}

@media (max-width: 980px) {
  .intro-grid,
  .content-grid,
  .contact-grid {
    grid-template-columns: 1fr;
  }

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

  .contact-panel {
    min-height: 0;
  }

  .social-links {
    margin-top: 0;
  }

  .map-card,
  .map-card iframe {
    min-height: 470px;
  }

  .policy-layout {
    grid-template-columns: 1fr;
  }

  .policy-nav {
    position: static;
  }

  .policy-nav ol {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 760px) {
  body {
    font-size: 17px;
  }

  .shell {
    width: min(calc(100% - 32px), var(--shell));
  }

  .nav-shell {
    min-height: 72px;
  }

  .nav-toggle {
    display: inline-flex;
  }

  .primary-nav {
    position: fixed;
    inset: 72px 0 auto;
    max-height: calc(100dvh - 72px);
    overflow: auto;
    border-top: 1px solid var(--line);
    background: var(--surface);
    box-shadow: 0 24px 50px rgba(20, 33, 61, 0.14);
    opacity: 0;
    pointer-events: none;
    transform: translateY(-12px);
    transition: opacity 180ms ease, transform 180ms ease;
  }

  .primary-nav.is-open {
    opacity: 1;
    pointer-events: auto;
    transform: translateY(0);
  }

  .primary-nav ul {
    display: grid;
    gap: 6px;
    width: min(calc(100% - 32px), var(--shell));
    margin-inline: auto;
    padding-block: 16px 24px;
  }

  .primary-nav a {
    padding: 14px 16px;
    border-radius: 12px;
  }

  .hero-viewport {
    min-height: 650px;
  }

  .hero-slide {
    align-items: end;
  }

  .hero-slide > img {
    object-position: 62% center;
  }

  .hero-slide::after {
    background:
      linear-gradient(0deg, rgba(8, 18, 42, 0.96) 0%, rgba(8, 18, 42, 0.78) 48%, rgba(8, 18, 42, 0.18) 100%);
  }

  .hero-content {
    width: min(calc(100% - 32px), var(--shell));
    padding-block: 54px 120px;
  }

  .hero h1 {
    font-size: clamp(2.65rem, 13vw, 4.2rem);
  }

  .carousel-controls {
    right: auto;
    bottom: 30px;
    left: 16px;
  }

  .section-heading {
    display: block;
  }

  .value-grid,
  .game-grid,
  .principles-grid {
    grid-template-columns: 1fr;
  }

  .value-grid {
    gap: 10px;
  }

  .value-card {
    min-height: 0;
  }

  .game-info {
    padding: 20px;
  }

  .policy-nav ol {
    grid-template-columns: 1fr;
  }

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

  .footer-grid > :first-child {
    grid-column: 1 / -1;
  }
}

@media (max-width: 520px) {
  .brand {
    font-size: 1.25rem;
  }

  .brand-mark {
    width: 38px;
    height: 38px;
  }

  .hero-actions .button {
    width: 100%;
  }

  .carousel-dots {
    display: none;
  }

  .game-grid {
    gap: 20px;
  }

  .map-card,
  .map-card iframe {
    min-height: 380px;
  }

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

  .footer-grid > :first-child {
    grid-column: auto;
  }

  .footer-bottom {
    display: grid;
  }
}

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