:root {
  --ink: #111816;
  --muted: #59645f;
  --line: #dbe5df;
  --paper: #f7faf7;
  --white: #ffffff;
  --green: #0b6b43;
  --green-dark: #06472f;
  --gold: #f3ba37;
  --red: #d84535;
  --shadow: 0 18px 42px rgba(7, 31, 20, 0.14);
  --soft-shadow: 0 10px 26px rgba(7, 31, 20, 0.08);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: Inter, "Segoe UI", Arial, Helvetica, sans-serif;
  font-size: 16px;
  line-height: 1.64;
}

a {
  color: inherit;
}

p strong,
li strong,
span strong {
  display: inline;
  margin: 0;
  padding: 0;
  font-size: inherit;
  line-height: inherit;
  font-weight: 800;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  border-bottom: 1px solid rgba(255, 255, 255, 0.18);
  background: rgba(6, 71, 47, 0.98);
  color: var(--white);
  box-shadow: 0 8px 24px rgba(7, 31, 20, 0.12);
}

.site-header::after {
  display: none;
  content: "";
}

body.language-open .site-header,
body.drawer-open .site-header {
  z-index: 1400;
}

.mobile-menu-toggle,
.drawer-close,
.mobile-drawer,
.drawer-backdrop {
  display: none;
}

.topbar,
.nav,
.wrap {
  width: min(1160px, calc(100% - 32px));
  margin: 0 auto;
}

.topbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  padding: 8px 0;
  color: rgba(255, 255, 255, 0.82);
  font-size: 13px;
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 12px 0;
}

.nav-main {
  display: flex;
  align-items: center;
  gap: 20px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  font-weight: 800;
  font-size: 24px;
  letter-spacing: 0;
}

.brand-logo {
  display: block;
  width: 136px;
  height: 52px;
  object-fit: contain;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  font-weight: 700;
}

.nav-links a {
  display: inline-flex;
  align-items: center;
  min-height: 36px;
  padding: 7px 10px;
  border-radius: 999px;
  color: rgba(255, 255, 255, 0.9);
  text-decoration: none;
  transition: background-color 160ms ease, color 160ms ease, transform 160ms ease;
}

.nav-links a:hover {
  background: rgba(255, 255, 255, 0.12);
  color: var(--white);
  transform: translateY(-1px);
}

.language-picker {
  position: relative;
  flex: 0 0 auto;
}

.language-picker.open {
  z-index: 1300;
}

.language-picker::before {
  position: fixed;
  inset: 0;
  z-index: 1200;
  display: none;
  background: rgba(17, 24, 22, 0.62);
  content: "";
}

.language-toggle {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 36px;
  padding: 7px 12px;
  border: 1px solid rgba(255, 255, 255, 0.24);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.1);
  color: var(--white);
  font: inherit;
  font-size: 13px;
  font-weight: 800;
  cursor: pointer;
  transition: background-color 160ms ease, border-color 160ms ease, transform 160ms ease;
}

.language-toggle:hover,
.language-picker.open .language-toggle {
  border-color: rgba(243, 186, 55, 0.72);
  background: rgba(243, 186, 55, 0.16);
  transform: translateY(-1px);
}

.language-toggle svg {
  width: 17px !important;
  height: 17px !important;
  color: var(--gold);
}

.language-menu {
  position: fixed;
  left: 50%;
  bottom: 34px;
  z-index: 1210;
  width: min(448px, calc(100vw - 36px));
  padding: 22px 24px 26px;
  border: 1px solid rgba(17, 24, 22, 0.08);
  border-radius: 10px;
  background: var(--white);
  box-shadow: 0 24px 64px rgba(2, 13, 26, 0.26);
  opacity: 0;
  pointer-events: none;
  transform: translate(-50%, 18px);
  transition: opacity 160ms ease, transform 160ms ease;
}

.language-menu[hidden] {
  display: none;
}

.language-picker.open::before {
  display: block;
}

.language-picker.open .language-menu {
  display: block;
  opacity: 1;
  pointer-events: auto;
  transform: translate(-50%, 0);
}

body.language-open {
  overflow: hidden;
}

body.language-open .floating-ad,
body.drawer-open .floating-ad {
  opacity: 0;
  pointer-events: none;
  transform: translate(50%, calc(100% + 28px));
}

.language-menu-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 18px;
}

.language-menu-head strong {
  color: #142033;
  font-size: 20px;
  line-height: 1.2;
}

.language-close {
  display: grid;
  width: 34px;
  height: 34px;
  padding: 0;
  border: 0;
  border-radius: 999px;
  background: transparent;
  color: #6b7280;
  cursor: pointer;
  font-size: 26px;
  line-height: 1;
  place-items: center;
  transition: background-color 160ms ease, color 160ms ease, transform 160ms ease;
}

.language-close:hover {
  background: #f0f4f2;
  color: #142033;
  transform: rotate(90deg);
}

.language-option {
  display: grid;
  grid-template-columns: 48px minmax(0, 1fr);
  gap: 12px;
  align-items: center;
  min-height: 58px;
  padding: 12px;
  border: 1px solid #dfe6e2;
  border-radius: 7px;
  color: var(--ink);
  text-decoration: none;
  transition: background-color 160ms ease, transform 160ms ease;
}

.language-option:hover {
  background: #f7faf7;
  transform: translateY(-1px);
}

.language-option img {
  display: block;
  width: 48px;
  height: 32px;
  border-radius: 4px;
  object-fit: cover;
  box-shadow: 0 6px 14px rgba(0, 0, 0, 0.2);
}

.language-option strong,
.language-option small {
  display: block;
  color: var(--ink);
}

.language-option strong {
  font-size: 16px;
  line-height: 1.15;
}

.language-option small {
  margin-top: 3px;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.25;
}

.drawer-language {
  display: none;
}

.mobile-join-cta,
.mobile-category-strip {
  display: none !important;
}

@media (min-width: 861px) {
  .mobile-join-cta,
  .mobile-category-strip {
    display: none !important;
  }
}

.drawer-search {
  display: grid;
  grid-template-columns: 1fr 48px;
  margin: 18px 0 20px;
  border: 1px solid var(--line);
  background: var(--white);
}

.drawer-search input {
  min-width: 0;
  height: 46px;
  padding: 0 14px;
  border: 0;
  color: var(--ink);
  font: inherit;
  outline: 0;
}

.drawer-search button {
  display: grid;
  border: 0;
  background: #c88400;
  color: var(--white);
  cursor: pointer;
  place-items: center;
  transition: background-color 160ms ease, transform 160ms ease;
}

.drawer-search button:hover {
  background: #b17100;
}

.drawer-search button:active {
  transform: scale(0.96);
}

.drawer-search svg {
  width: 20px;
  height: 20px;
}

.drawer-links {
  display: grid;
}

.drawer-links a {
  padding: 15px 0;
  border-bottom: 1px solid rgba(17, 24, 22, 0.08);
  color: #48534e;
  font-size: 14px;
  font-weight: 800;
  text-decoration: none;
  text-transform: uppercase;
  transition: color 160ms ease, padding-left 160ms ease;
}

.drawer-links a:hover {
  padding-left: 6px;
  color: var(--green-dark);
}

.drawer-links a[hidden] {
  display: none;
}

.button {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 44px;
  padding: 11px 18px;
  overflow: hidden;
  border: 0;
  border-radius: 6px;
  background: var(--gold);
  color: #1e1705;
  font-weight: 800;
  text-decoration: none;
  transition: transform 160ms ease, box-shadow 160ms ease, background-color 160ms ease, color 160ms ease, border-color 160ms ease;
  box-shadow: 0 10px 20px rgba(114, 72, 5, 0.18);
}

.button::after {
  width: 0.75em;
  height: 0.75em;
  border-top: 2px solid currentColor;
  border-right: 2px solid currentColor;
  content: "";
  transform: rotate(45deg);
  transition: transform 160ms ease;
}

.button:hover {
  transform: translateY(-2px);
  background: #ffca4c;
  box-shadow: 0 16px 30px rgba(114, 72, 5, 0.24);
}

.button:hover::after {
  transform: translateX(3px) rotate(45deg);
}

.button:active {
  transform: translateY(0);
  box-shadow: 0 8px 16px rgba(114, 72, 5, 0.18);
}

.button:focus-visible,
.nav-links a:focus-visible,
.drawer-links a:focus-visible,
.home-game:focus-visible,
.game-card:focus-visible,
.mini-card:focus-visible {
  outline: 3px solid rgba(243, 186, 55, 0.65);
  outline-offset: 3px;
}

.button.secondary {
  background: var(--white);
  color: var(--green-dark);
}

.button.ghost {
  border: 1px solid var(--line);
  background: transparent;
  color: var(--green-dark);
  box-shadow: none;
}

.button.ghost:hover {
  border-color: rgba(11, 107, 67, 0.45);
  background: rgba(11, 107, 67, 0.06);
  box-shadow: none;
}

.breadcrumbs {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 22px;
  color: var(--muted);
  font-size: 13px;
}

.breadcrumbs a {
  color: var(--green-dark);
  font-weight: 700;
  text-decoration: none;
}

.hero {
  position: relative;
  overflow: hidden;
  min-height: 620px;
  color: var(--white);
  background: #071913;
}

.hero::before {
  position: absolute;
  inset: 0;
  content: "";
  background:
    linear-gradient(90deg, rgba(4, 29, 20, 0.94) 0%, rgba(5, 39, 26, 0.82) 42%, rgba(5, 39, 26, 0.18) 74%),
    url("../sections/ph365-hero.png") center / cover no-repeat;
}

.hero .wrap {
  position: relative;
  display: grid;
  align-items: center;
  min-height: 620px;
  padding: 54px 0 66px;
}

.hero-copy {
  width: min(650px, 100%);
}

.kicker {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin: 0 0 14px;
  color: var(--gold);
  font-size: 12px;
  font-weight: 800;
  text-transform: uppercase;
}

h1,
h2,
h3 {
  margin: 0;
  letter-spacing: 0;
  line-height: 1.12;
}

h1 {
  max-width: 780px;
  font-size: clamp(32px, 4vw, 52px);
}

h2 {
  font-size: clamp(25px, 2.8vw, 36px);
}

h3 {
  font-size: 20px;
}

p {
  margin: 10px 0 0;
}

.lead {
  max-width: 700px;
  color: rgba(255, 255, 255, 0.86);
  font-size: 19px;
}

.hero h1 {
  font-size: clamp(40px, 6vw, 72px);
}

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

.hero-stats {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  width: min(650px, 100%);
  margin-top: 30px;
}

.media-band {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(320px, 0.85fr);
  gap: 34px;
  align-items: center;
}

.media-band.reverse {
  grid-template-columns: minmax(320px, 0.85fr) minmax(0, 1fr);
}

.media-band.reverse .media-copy {
  order: 2;
}

.media-band.reverse .image-panel {
  order: 1;
}

.image-panel {
  overflow: hidden;
  border-radius: 8px;
  background: var(--white);
  box-shadow: var(--shadow);
}

.image-panel img {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
}

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

.home-game {
  position: relative;
  display: block;
  min-height: 100%;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
  text-decoration: none;
  transition: transform 160ms ease, box-shadow 160ms ease, border-color 160ms ease;
  box-shadow: var(--soft-shadow);
}

.home-game:hover,
.game-card:hover,
.mini-card:hover {
  transform: translateY(-4px);
  border-color: rgba(11, 107, 67, 0.34);
  box-shadow: 0 18px 34px rgba(7, 31, 20, 0.12);
}

.home-game:active,
.game-card:active,
.mini-card:active {
  transform: translateY(-1px);
}

.home-game::after,
.mini-card::after {
  position: absolute;
  right: 16px;
  bottom: 14px;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: rgba(11, 107, 67, 0.1);
  color: var(--green-dark);
  content: ">";
  font-size: 12px;
  font-weight: 900;
  line-height: 18px;
  text-align: center;
  transform: translateX(-3px);
  opacity: 0;
  transition: transform 160ms ease, opacity 160ms ease, background-color 160ms ease;
}

.home-game:hover::after,
.mini-card:hover::after {
  transform: translateX(0);
  opacity: 1;
}

.home-game img {
  display: block;
  width: 100%;
  height: 112px;
  object-fit: contain;
  padding: 10px;
  background:
    radial-gradient(circle at 72% 28%, rgba(243, 186, 55, 0.3), transparent 28%),
    linear-gradient(135deg, #edf7f1, #ffffff);
}

.home-game strong,
.home-game span {
  display: block;
  padding: 0 12px;
}

.home-game strong {
  margin-top: 12px;
  color: var(--green-dark);
  font-size: 16px;
  line-height: 1.18;
}

.home-game span {
  margin: 8px 0 14px;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.35;
}

.home-game span strong {
  display: inline;
  margin: 0;
  padding: 0;
  color: var(--green-dark);
  font-size: inherit;
  line-height: inherit;
  font-weight: 800;
}

.jackpot-section {
  overflow: hidden;
}

.jackpot-showcase {
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(6, 71, 47, 0.14);
  border-radius: 8px;
  background: #082f23;
  box-shadow: 0 26px 64px rgba(2, 22, 17, 0.18);
}

.jackpot-showcase img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 8 / 3;
  object-fit: cover;
}

.jackpot-counter {
  position: absolute;
  top: 51%;
  left: 50%;
  width: min(50vw, 730px);
  min-height: 150px;
  display: grid;
  place-items: center;
  padding: 18px 24px;
  color: #08120f;
  text-align: center;
  transform: translate(-50%, -50%);
  pointer-events: none;
}

.jackpot-counter::before {
  content: "";
  position: absolute;
  inset: 8px 16px;
  z-index: -1;
  border-radius: 16px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.96), rgba(255, 249, 225, 0.92));
  box-shadow: inset 0 0 22px rgba(245, 191, 55, 0.2);
}

.jackpot-label {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 5px 12px;
  border-radius: 999px;
  background: #06472f;
  color: #ffd65a;
  font-size: 12px;
  font-weight: 900;
  line-height: 1;
  letter-spacing: 0;
  text-transform: uppercase;
}

.jackpot-counter strong {
  display: block;
  margin-top: 8px;
  color: #07150f;
  font-size: clamp(42px, 6vw, 96px);
  font-weight: 950;
  font-variant-numeric: tabular-nums;
  line-height: 0.95;
  letter-spacing: 0;
  text-shadow: 0 2px 0 rgba(255, 214, 90, 0.65);
  white-space: nowrap;
}

.jackpot-counter small {
  display: block;
  margin-top: 6px;
  color: #4b5960;
  font-size: 14px;
  font-weight: 800;
  line-height: 1.35;
}

.jackpot-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: center;
  margin-top: 22px;
}

.stat {
  min-height: 96px;
  padding: 18px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.1);
}

.stat strong {
  display: block;
  color: var(--gold);
  font-size: 24px;
  line-height: 1;
}

.stat span {
  display: block;
  margin-top: 8px;
  color: rgba(255, 255, 255, 0.82);
  font-size: 13px;
}

.stat span strong {
  display: inline;
  margin: 0;
  padding: 0;
  color: var(--gold);
  font-size: inherit;
  line-height: inherit;
  font-weight: 800;
}

main {
  background: var(--paper);
}

section {
  padding: 25px 0;
}

.section-white {
  background: var(--white);
}

.section-green {
  background: var(--green-dark);
  color: var(--white);
}

.section-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 22px;
  margin-bottom: 24px;
}

.section-head h1 {
  max-width: 680px;
  font-size: clamp(30px, 3.6vw, 44px);
}

.section-head p {
  max-width: 600px;
  color: var(--muted);
}

.section-green .section-head p,
.section-green .muted {
  color: rgba(255, 255, 255, 0.76);
}

.grid {
  display: grid;
  gap: 16px;
}

.grid.cols-3 {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

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

.grid.cols-4 {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.article h2 + .grid,
.article h2 + .table {
  margin-top: 16px;
}

.article p + .grid,
.article ul + .grid,
.article ol + .grid {
  margin-top: 18px;
}

.article .grid + h2,
.article .table + h2,
.article .spec-grid + h2 {
  margin-top: 38px;
}

.game-list-section .tabs + h2 {
  margin-top: 28px;
}

.game-list-section .grid + h2 {
  margin-top: 38px;
}

.game-list-section h2 + .grid {
  margin-top: 14px;
}

.game-card {
  position: relative;
  display: flex;
  min-height: 268px;
  flex-direction: column;
  justify-content: space-between;
  padding: 0 0 18px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
  text-decoration: none;
  transition: transform 160ms ease, box-shadow 160ms ease, border-color 160ms ease;
  box-shadow: var(--soft-shadow);
}

.game-card:hover img,
.home-game:hover img {
  filter: saturate(1.08) contrast(1.03);
}

.game-card::after {
  position: absolute;
  right: -24px;
  bottom: -28px;
  width: 96px;
  height: 96px;
  border: 16px solid rgba(11, 107, 67, 0.08);
  border-radius: 50%;
  content: "";
}

.game-card img {
  position: relative;
  z-index: 1;
  display: block;
  width: 100%;
  height: 132px;
  object-fit: contain;
  padding: 12px;
  background:
    radial-gradient(circle at 68% 28%, rgba(243, 186, 55, 0.34), transparent 28%),
    linear-gradient(135deg, #e9f5ee, #ffffff);
}

.game-card strong {
  position: relative;
  z-index: 1;
  display: block;
  padding: 14px 18px 0;
  color: var(--green-dark);
  font-size: 20px;
  line-height: 1.18;
}

.game-card span {
  position: relative;
  z-index: 1;
  display: block;
  margin-top: 8px;
  padding: 0 18px;
  color: var(--muted);
  font-size: 14px;
}

.game-card span strong {
  position: static;
  display: inline;
  margin: 0;
  padding: 0;
  color: var(--green-dark);
  font-size: inherit;
  line-height: inherit;
  font-weight: 800;
}

.game-badges {
  position: relative;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 14px 18px 0;
}

.game-badges em,
.tag {
  display: inline-flex;
  padding: 5px 9px;
  border-radius: 999px;
  background: rgba(11, 107, 67, 0.1);
  color: var(--green-dark);
  font-size: 12px;
  font-style: normal;
  font-weight: 800;
}

.tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 24px 0;
}

.tabs a {
  padding: 9px 12px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--white);
  color: var(--green-dark);
  font-size: 13px;
  font-weight: 800;
  text-decoration: none;
}

.game-hero {
  display: grid;
  grid-template-columns: 1fr 360px;
  gap: 28px;
  align-items: stretch;
}

.game-poster {
  display: flex;
  flex-direction: column;
  gap: 18px;
  min-height: 320px;
  justify-content: center;
  align-items: center;
  place-items: center;
  overflow: hidden;
  padding: 24px;
  border-radius: 8px;
  background:
    radial-gradient(circle at 70% 30%, rgba(243, 186, 55, 0.55), transparent 28%),
    linear-gradient(135deg, var(--green-dark), #102822 58%, #281a08);
  color: var(--gold);
  text-align: center;
  box-shadow: var(--shadow);
}

.game-poster img {
  width: min(280px, 82%);
  max-height: 240px;
  object-fit: contain;
  filter: drop-shadow(0 18px 22px rgba(0, 0, 0, 0.25));
}

.game-poster strong {
  width: min(280px, 80%);
  font-size: 28px;
  line-height: 1.05;
}

.spec-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  margin-top: 24px;
}

.spec {
  min-height: 92px;
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
}

.spec span {
  display: block;
  color: var(--muted);
  font-size: 12px;
  font-weight: 800;
  text-transform: uppercase;
}

.spec strong {
  display: block;
  margin-top: 8px;
  color: var(--green-dark);
  font-size: 18px;
}

.card {
  min-height: 100%;
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
  box-shadow: var(--soft-shadow);
}

.card a {
  color: var(--green-dark);
  font-weight: 800;
  text-decoration-color: rgba(11, 107, 67, 0.35);
  text-underline-offset: 4px;
  transition: color 160ms ease, text-decoration-color 160ms ease;
}

.card a:hover {
  color: var(--green);
  text-decoration-color: var(--green);
}

.step-card {
  position: relative;
  min-height: 100%;
  padding: 24px 22px 22px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
  box-shadow: var(--soft-shadow);
}

.step-card .step-number {
  display: grid;
  width: 38px;
  height: 38px;
  margin-bottom: 14px;
  place-items: center;
  border-radius: 50%;
  background: rgba(243, 186, 55, 0.24);
  color: var(--green-dark);
  font-weight: 900;
}

.content-list {
  display: grid;
  gap: 14px;
  margin-top: 18px;
}

.content-list li {
  padding: 14px 16px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fbfdfb;
}

.content-list strong {
  color: var(--green-dark);
}

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

.testimonial-card {
  min-height: 100%;
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background:
    radial-gradient(circle at 86% 14%, rgba(243, 186, 55, 0.14), transparent 28%),
    var(--white);
  box-shadow: var(--soft-shadow);
}

.testimonial-card.featured-review {
  grid-column: span 2;
}

.testimonial-top {
  display: flex;
  align-items: center;
  gap: 14px;
}

.testimonial-top img {
  width: 62px;
  height: 62px;
  flex: 0 0 62px;
  border: 3px solid #e7f3ed;
  border-radius: 50%;
  object-fit: cover;
  box-shadow: 0 8px 18px rgba(7, 31, 20, 0.12);
}

.testimonial-top strong,
.testimonial-top span {
  display: block;
}

.testimonial-top strong {
  color: var(--green-dark);
  font-size: 17px;
}

.testimonial-top span {
  margin-top: 2px;
  color: var(--muted);
  font-size: 13px;
}

.rating {
  margin-top: 14px;
  color: var(--gold);
  font-size: 17px;
  letter-spacing: 0;
}

.testimonial-card p {
  margin: 10px 0 0;
  color: var(--muted);
}

.benefit-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
}

.benefit-card {
  position: relative;
  min-height: 100%;
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background:
    radial-gradient(circle at 88% 12%, rgba(243, 186, 55, 0.16), transparent 32%),
    linear-gradient(135deg, #ffffff, #f7fbf8);
  box-shadow: var(--soft-shadow);
}

.benefit-card.highlight-benefit {
  border-color: rgba(243, 186, 55, 0.62);
  background:
    radial-gradient(circle at 90% 12%, rgba(243, 186, 55, 0.26), transparent 34%),
    linear-gradient(135deg, #ffffff, #fff9e8 64%, #f4fbf7);
}

.benefit-icon {
  display: grid;
  width: 42px;
  height: 42px;
  margin-bottom: 16px;
  place-items: center;
  border-radius: 8px;
  background: rgba(243, 186, 55, 0.22);
  color: var(--green-dark);
  font-weight: 900;
}

.benefit-card h3 {
  margin-top: 0;
  color: var(--green-dark);
  font-size: 19px;
}

.benefit-card p {
  margin: 10px 0 16px;
  color: var(--muted);
  font-size: 15px;
}

.benefit-card a {
  color: var(--green-dark);
  font-weight: 900;
  text-decoration-color: rgba(11, 107, 67, 0.32);
  text-underline-offset: 4px;
}

.benefit-card a:hover {
  color: var(--green);
  text-decoration-color: var(--green);
}

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

.update-card,
.howto-card {
  min-height: 100%;
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
  box-shadow: var(--soft-shadow);
}

.update-card span,
.howto-card span {
  display: inline-grid;
  min-width: 42px;
  height: 32px;
  margin-bottom: 14px;
  padding: 0 10px;
  place-items: center;
  border-radius: 8px;
  background: #e7f3ed;
  color: var(--green-dark);
  font-size: 12px;
  font-weight: 900;
  text-transform: uppercase;
}

.update-card h3,
.howto-card h3 {
  margin-top: 0;
  color: var(--green-dark);
  font-size: 19px;
}

.update-card p,
.howto-card p {
  margin: 10px 0 16px;
  color: var(--muted);
  font-size: 15px;
}

.update-card a,
.howto-card {
  color: var(--green-dark);
  text-decoration-color: rgba(11, 107, 67, 0.32);
  text-underline-offset: 4px;
}

.howto-card {
  display: block;
  color: inherit;
  font-weight: 400;
  text-decoration: none;
  transition: transform 160ms ease, border-color 160ms ease, box-shadow 160ms ease;
}

.update-card a {
  font-weight: 900;
}

.howto-card:hover,
.update-card:hover {
  border-color: rgba(11, 107, 67, 0.28);
  box-shadow: var(--shadow);
}

.howto-card:hover {
  transform: translateY(-2px);
}

.table-card {
  overflow-x: auto;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
  box-shadow: var(--soft-shadow);
}

.table-card .table {
  margin-top: 0;
  border-radius: 0;
  box-shadow: none;
}

.bonus-table a {
  color: var(--green-dark);
  font-weight: 900;
  text-decoration-color: rgba(11, 107, 67, 0.32);
  text-underline-offset: 4px;
}

.home-faq-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.home-faq-grid details {
  min-height: 100%;
  padding: 18px 20px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background:
    radial-gradient(circle at 92% 18%, rgba(243, 186, 55, 0.12), transparent 28%),
    var(--white);
  box-shadow: var(--soft-shadow);
}

.home-faq-grid summary {
  cursor: pointer;
  color: var(--green-dark);
  font-weight: 900;
}

.home-faq-grid p {
  margin: 10px 0 0;
  color: var(--muted);
}

.faq-more {
  margin-top: 22px;
}

.faq-more a {
  color: var(--green-dark);
  font-weight: 900;
  text-decoration-color: rgba(11, 107, 67, 0.32);
  text-underline-offset: 4px;
}

.section-green .card {
  border-color: rgba(255, 255, 255, 0.16);
  background: rgba(255, 255, 255, 0.08);
}

.icon {
  display: grid;
  width: 42px;
  height: 42px;
  margin-bottom: 16px;
  place-items: center;
  border-radius: 8px;
  background: rgba(11, 107, 67, 0.1);
  color: var(--green);
  font-weight: 900;
}

.section-green .icon {
  background: rgba(243, 186, 55, 0.18);
  color: var(--gold);
}

.muted {
  color: var(--muted);
}

.feature-row {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 34px;
  align-items: center;
}

.panel {
  padding: 28px;
  border-radius: 8px;
  background: var(--white);
  box-shadow: var(--shadow);
}

.mini-card {
  position: relative;
  display: block;
  min-height: 150px;
  overflow: hidden;
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
  text-decoration: none;
  transition: transform 160ms ease, box-shadow 160ms ease, border-color 160ms ease;
  box-shadow: var(--soft-shadow);
}

.mini-card > img {
  display: block;
  width: 118px;
  height: 118px;
  margin: 0 auto 16px;
  object-fit: contain;
  padding: 0;
  border-radius: 12px;
  background:
    radial-gradient(circle at 72% 24%, rgba(243, 186, 55, 0.26), transparent 32%),
    linear-gradient(135deg, #eef7f2, #ffffff);
}

.mini-card strong {
  display: block;
  color: var(--green-dark);
  font-size: 18px;
}

.mini-card span {
  display: block;
  margin-top: 8px;
  color: var(--muted);
  font-size: 14px;
}

.mini-card span strong {
  display: inline;
  margin: 0;
  padding: 0;
  color: var(--green-dark);
  font-size: inherit;
  line-height: inherit;
  font-weight: 800;
}

.conversion-panel {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 22px;
  align-items: center;
  margin-top: 38px;
  padding: 24px;
  border: 1px solid rgba(11, 107, 67, 0.16);
  border-radius: 8px;
  background:
    radial-gradient(circle at 88% 20%, rgba(243, 186, 55, 0.22), transparent 24%),
    linear-gradient(135deg, #f7fbf8, #ffffff);
  box-shadow: var(--soft-shadow);
}

.conversion-panel h2 {
  margin-top: 8px;
  font-size: clamp(24px, 2.7vw, 32px);
}

.conversion-panel p {
  max-width: 620px;
  color: var(--muted);
}

.related-games {
  margin-top: 34px;
}

.related-games h2 {
  margin-top: 0;
}

.related-games .grid {
  margin-top: 16px;
}

.related-games .mini-card {
  padding: 0 0 18px;
}

.related-games .mini-card img {
  width: 118px;
  height: 118px;
  margin: 16px auto 0;
  object-fit: contain;
  padding: 0;
  border-radius: 12px;
  background:
    radial-gradient(circle at 70% 26%, rgba(243, 186, 55, 0.28), transparent 30%),
    linear-gradient(135deg, #eef7f2, #ffffff);
}

.related-games .mini-card strong,
.related-games .mini-card span {
  padding-right: 18px;
  padding-left: 18px;
}

.related-games .mini-card strong {
  margin-top: 16px;
}

.related-games .mini-card span strong {
  display: inline;
  margin: 0;
  padding: 0;
  color: var(--green-dark);
  font-size: inherit;
  line-height: inherit;
  font-weight: 800;
}

.note {
  padding: 18px;
  border-left: 4px solid var(--gold);
  border-radius: 6px;
  background: #fff9e8;
}

.download-page {
  background: #eef7f2;
}

.download-page section {
  padding: 48px 0;
}

.download-narrow {
  width: min(980px, calc(100% - 32px));
}

.download-showcase {
  padding: 36px 0 38px;
  border-bottom: 6px solid #f3ba37;
  background:
    radial-gradient(circle at 18% 10%, rgba(243, 186, 55, 0.25), transparent 24%),
    radial-gradient(circle at 86% 18%, rgba(216, 69, 53, 0.22), transparent 24%),
    linear-gradient(180deg, #075236 0%, #032419 100%);
  color: var(--white);
  text-align: center;
}

.download-breadcrumbs {
  justify-content: center;
  color: rgba(255, 255, 255, 0.72);
}

.download-breadcrumbs a {
  color: rgba(255, 255, 255, 0.92);
}

.download-showcase .kicker {
  color: #ffc44f;
}

.download-showcase h1,
.download-section-title h2,
.download-version-card h2,
.download-process-head h3 {
  font-family: Georgia, "Times New Roman", serif;
}

.download-showcase h1 {
  max-width: 860px;
  margin-right: auto;
  margin-left: auto;
  color: #ffe08a;
  font-size: clamp(32px, 5vw, 54px);
  text-transform: uppercase;
}

.download-lead {
  max-width: 720px;
  margin: 10px auto 26px;
  color: rgba(255, 255, 255, 0.9);
  font-size: 18px;
}

.download-slider {
  max-width: 920px;
  margin: 0 auto;
  overflow: hidden;
  border: 2px solid #f3ba37;
  border-radius: 14px;
  background: #160102;
  box-shadow: 0 22px 52px rgba(0, 0, 0, 0.32);
}

.download-slide {
  position: relative;
  display: none;
}

.download-slide.active {
  display: block;
}

.download-slide img {
  display: block;
  width: 100%;
  height: 340px;
  object-fit: cover;
}

.download-slide::after {
  position: absolute;
  inset: auto 0 0;
  height: 44%;
  background: linear-gradient(180deg, transparent, rgba(0, 0, 0, 0.68));
  content: "";
}

.download-slide span {
  position: absolute;
  bottom: 18px;
  left: 22px;
  z-index: 1;
  color: var(--white);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 20px;
  font-weight: 800;
}

.download-dots {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 8px;
  margin-top: -15px;
  margin-bottom: 28px;
}

.download-dots span,
.download-dots strong {
  display: block;
  width: 11px;
  height: 11px;
  border: 1px solid #f3ba37;
  border-radius: 999px;
  background: #4d0809;
}

.download-dots strong {
  width: 32px;
  border-color: #f3ba37;
  background: #f3ba37;
}

.download-main-button,
.download-now,
.download-apk-button {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  min-height: 54px;
  padding: 14px 34px;
  border-radius: 6px;
  background: #e84b3c;
  color: var(--white);
  font-size: 18px;
  font-weight: 900;
  text-decoration: none;
  box-shadow: 0 6px 0 #a72e22, 0 16px 30px rgba(0, 0, 0, 0.24);
  transition: transform 160ms ease, background-color 160ms ease;
}

.download-main-button {
  font-family: Georgia, "Times New Roman", serif;
  text-transform: uppercase;
}

.download-main-button:hover,
.download-now:hover,
.download-apk-button:hover {
  background: #f15f4f;
  transform: translateY(-2px);
}

.download-app-section {
  margin-top: -16px;
  padding-top: 18px;
  background: linear-gradient(180deg, #e3f3ea, #fff8e8);
}

.download-app-card,
.download-install-shell,
.download-version-card {
  background: var(--white);
  box-shadow: 0 18px 42px rgba(7, 31, 20, 0.16);
}

.download-app-card {
  padding: 34px 36px 26px;
  border-radius: 22px;
}

.download-app-top {
  display: grid;
  grid-template-columns: 96px minmax(0, 1fr);
  gap: 22px;
  align-items: center;
  padding-bottom: 24px;
}

.download-app-top img {
  width: 96px;
  height: 96px;
  border-radius: 16px;
  box-shadow: var(--soft-shadow);
}

.download-app-top h2,
.download-section-title h2,
.download-version-card h2 {
  margin: 0;
  color: var(--green-dark);
}

.download-app-top p {
  margin: 8px 0 4px;
  color: #24303d;
}

.download-app-top p strong {
  color: #f3ba37;
  letter-spacing: 0;
}

.download-app-top small,
.download-secure {
  color: #6a7480;
}

.download-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 8px;
}

.download-pills span,
.download-version-top > span {
  display: inline-flex;
  min-height: 25px;
  align-items: center;
  padding: 4px 10px;
  border-radius: 999px;
  background: #e8f7ef;
  color: var(--green-dark);
  font-size: 12px;
  font-weight: 900;
  text-transform: uppercase;
}

.download-now {
  width: 100%;
  min-height: 58px;
  font-size: 21px;
  box-shadow: 0 8px 18px rgba(216, 69, 53, 0.25);
}

.download-secure {
  margin: 18px 0 0;
  text-align: center;
  font-size: 13px;
}

.download-secure span {
  display: inline-block;
  width: 7px;
  height: 7px;
  margin-right: 7px;
  border-radius: 50%;
  background: #19b65b;
}

.download-install-section {
  background: #fdfaf0;
}

.download-install-shell {
  overflow: hidden;
  border: 4px solid var(--green-dark);
}

.download-section-title {
  padding: 30px 34px 22px;
  text-align: center;
}

.download-section-title h2 {
  font-size: clamp(30px, 4vw, 46px);
  text-transform: uppercase;
}

.download-section-title p {
  max-width: 620px;
  margin: 10px auto 0;
  color: #354055;
}

.download-tabs {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
  padding: 26px 44px;
  background:
    radial-gradient(circle, rgba(255, 255, 255, 0.24) 1px, transparent 1px) 0 0 / 13px 13px,
    var(--green-dark);
}

.download-tabs button {
  min-height: 58px;
  border: 0;
  border-radius: 6px;
  background: var(--white);
  color: var(--green-dark);
  font: inherit;
  font-size: 18px;
  font-weight: 900;
  letter-spacing: 2px;
  text-transform: uppercase;
}

.download-tabs button.active,
.download-tabs button[aria-selected="true"] {
  background: var(--white);
  color: var(--green-dark);
}

.download-tabs button:not(.active) {
  background: #0b6b43;
  color: var(--white);
}

.download-tab-panel[hidden] {
  display: none;
}

.download-process-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 18px;
  padding: 30px 44px 12px;
}

.download-process-head h3 {
  margin: 0;
  padding-left: 14px;
  border-left: 4px solid var(--gold);
  color: var(--green-dark);
  font-size: 28px;
}

.download-process-head span {
  padding: 7px 12px;
  border: 1px solid #a9e5be;
  border-radius: 6px;
  background: #e8fbef;
  color: #126636;
  font-weight: 900;
}

.download-progress {
  height: 12px;
  margin: 0 44px 30px;
  overflow: hidden;
  border: 1px solid #ccd4dd;
  border-radius: 999px;
  background: #e8ecf1;
}

.download-progress span {
  display: block;
  width: 34%;
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, #f3ba37, #0b6b43);
}

.download-steps {
  display: grid;
  gap: 24px;
  padding: 0 44px 34px;
}

.download-step-card {
  display: grid;
  grid-template-columns: 44px minmax(0, 1fr);
  gap: 18px;
  padding: 24px;
  border: 1px solid #dde3ea;
  border-radius: 10px;
  background: var(--white);
  box-shadow: var(--soft-shadow);
}

.download-step-number {
  display: grid;
  width: 38px;
  height: 38px;
  place-items: center;
  border-radius: 50%;
  background: #e84b3c;
  color: var(--white);
  font-weight: 900;
}

.download-step-number.dark {
  background: #172333;
}

.download-step-card h3 {
  margin: 0 0 6px;
  color: #172333;
  font-size: 22px;
}

.download-step-card p {
  margin: 0 0 16px;
  color: #526071;
}

.download-code,
.download-preview-box,
.download-file {
  border: 1px solid #dde3ea;
  border-radius: 6px;
  background: #f8fafc;
}

.download-code {
  padding: 14px 16px;
  color: #334155;
  font-family: Consolas, "Courier New", monospace;
  font-size: 13px;
}

.download-preview-box {
  display: grid;
  min-height: 130px;
  margin-top: 10px;
  place-items: center;
  border-style: dashed;
  color: #8a97a8;
  text-align: center;
}

.download-preview-box strong,
.download-preview-box span {
  display: block;
}

.download-apk-button {
  width: min(100%, 460px);
  min-height: 54px;
  margin-bottom: 14px;
  background: #0b6b43;
  box-shadow: none;
}

.download-file {
  display: grid;
  grid-template-columns: 60px minmax(0, 1fr);
  gap: 14px;
  align-items: center;
  max-width: 470px;
  padding: 16px;
}

.download-file > span {
  display: grid;
  width: 56px;
  height: 56px;
  place-items: center;
  border-radius: 6px;
  background: var(--green-dark);
  color: var(--white);
  font-weight: 900;
}

.download-file strong,
.download-file small,
.download-file em {
  display: block;
}

.download-file small {
  color: #596575;
}

.download-file em {
  width: 42%;
  height: 4px;
  margin-top: 6px;
  border-radius: 999px;
  background: #1fcd6d;
}

.download-game-preview {
  position: relative;
  overflow: hidden;
  max-width: 520px;
  border: 2px solid #f3ba37;
  border-radius: 8px;
}

.download-game-preview img {
  display: block;
  width: 100%;
  height: 170px;
  object-fit: cover;
}

.download-game-preview strong {
  position: absolute;
  inset: auto 0 0;
  padding: 12px;
  background: rgba(0, 0, 0, 0.62);
  color: var(--white);
  text-align: center;
}

.download-note {
  margin-top: 10px !important;
  font-size: 14px;
  font-style: italic;
}

.download-troubleshooting {
  margin: 0 44px;
  padding: 28px 0;
  border-top: 1px dashed #cfd6de;
}

.download-ios-setup {
  display: grid;
  gap: 16px;
  margin: 0 44px 30px;
  padding-top: 6px;
}

.download-ios-setup > h3 {
  margin: 0;
  padding-left: 14px;
  border-left: 4px solid #2c63d8;
  color: #203f91;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 26px;
}

.download-ios-card {
  padding: 20px;
  border: 1px solid #dde3ea;
  border-radius: 8px;
  background: var(--white);
  box-shadow: var(--soft-shadow);
}

.download-ios-card.highlight {
  border-color: #b6d2ff;
  background: #eef6ff;
}

.download-ios-card h4 {
  margin: 0 0 6px;
  color: #203f91;
  font-size: 20px;
}

.download-ios-card p {
  margin: 0 0 14px;
  color: #526071;
}

.download-ios-button {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  width: 100%;
  min-height: 48px;
  padding: 12px 18px;
  border-radius: 4px;
  background: #243f92;
  color: var(--white);
  font-size: 17px;
  font-weight: 900;
  text-decoration: none;
  transition: transform 160ms ease, background-color 160ms ease;
}

.download-ios-button:hover {
  background: #3154bc;
  transform: translateY(-1px);
}

.download-troubleshooting h2 {
  margin-top: 0;
  color: #1d2838;
  font-family: Georgia, "Times New Roman", serif;
}

.download-troubleshooting details {
  margin-top: 10px;
  padding: 14px 16px;
  border: 1px solid #dde3ea;
  border-radius: 6px;
  background: #f8fafc;
}

.download-troubleshooting summary {
  cursor: pointer;
}

.download-safe-footer {
  padding: 22px;
  background: #032419;
  color: #cbd5e1;
  text-align: center;
}

.download-safe-footer span {
  display: inline-block;
  margin: 0 12px 8px;
}

.download-safe-footer p {
  margin: 0;
}

.download-version-section {
  background: #e6f3ec;
}

.download-version-card {
  overflow: hidden;
  padding: 30px;
  border-top: 7px solid #f3ba37;
  border-radius: 18px 18px 0 0;
}

.download-version-top,
.download-version-main,
.download-info-grid,
.download-bottom-icons {
  display: grid;
  gap: 18px;
}

.download-version-top {
  grid-template-columns: 52px minmax(0, 1fr) auto;
  align-items: center;
  padding-bottom: 20px;
  border-bottom: 1px solid #eef1f3;
}

.download-shield {
  display: grid;
  width: 52px;
  height: 52px;
  place-items: center;
  border-radius: 50%;
  background: #e6f8ed;
  color: #0f8b44;
  font-weight: 900;
}

.download-version-main {
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: end;
  padding: 24px 0;
}

.download-version-main strong {
  display: inline-block;
  margin-right: 8px;
  color: #172333;
  font-size: 42px;
  line-height: 1;
}

.download-version-main span {
  display: inline-block;
  padding: 4px 8px;
  border-radius: 4px;
  background: #0b6b43;
  color: var(--white);
  font-size: 12px;
  font-weight: 900;
  text-transform: uppercase;
}

.download-version-main p {
  margin: 8px 0 0;
  color: #596575;
}

.download-version-main p strong {
  display: inline;
  margin: 0;
  color: var(--green-dark);
  font-size: inherit;
  line-height: inherit;
  font-weight: 800;
}

.download-info-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  margin-bottom: 22px;
}

.download-info-grid div {
  padding: 14px 16px;
  border: 1px solid #edf0f3;
  border-radius: 8px;
  background: #fbfcfd;
}

.download-info-grid span,
.download-info-grid strong {
  display: block;
}

.download-info-grid span {
  color: #8b95a3;
  font-size: 12px;
  font-weight: 900;
  text-transform: uppercase;
}

.download-info-grid strong {
  margin-top: 4px;
  color: #334155;
}

.download-bottom-icons {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin-top: 24px;
  padding-top: 22px;
  border-top: 1px solid #eef1f3;
  text-align: center;
}

.download-bottom-icons span {
  color: #596575;
  font-size: 12px;
  font-weight: 900;
  text-transform: uppercase;
}

.checklist {
  display: grid;
  gap: 12px;
  padding: 0;
  margin: 22px 0 0;
  list-style: none;
}

.checklist li {
  padding-left: 28px;
  background: linear-gradient(var(--green), var(--green)) 0 10px / 12px 3px no-repeat;
}

.keyword-strip {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 22px;
}

.keyword-strip span {
  padding: 8px 12px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--white);
  color: var(--green-dark);
  font-size: 13px;
  font-weight: 700;
}

.article {
  max-width: 900px;
  margin: 0 auto;
}

.article > p,
.article > ul,
.article > ol,
.article .note {
  max-width: 760px;
}

.article h1 {
  max-width: 800px;
  font-size: clamp(30px, 3.6vw, 44px);
}

.article h2 {
  margin-top: 32px;
  font-size: clamp(23px, 2.6vw, 32px);
}

.article h3 {
  margin-top: 26px;
}

.article ul,
.article ol {
  padding-left: 22px;
}

.article li + li {
  margin-top: 8px;
}

.table {
  width: 100%;
  border-collapse: collapse;
  margin-top: 22px;
  overflow: hidden;
  border-radius: 8px;
  background: var(--white);
}

.table th,
.table td {
  padding: 14px;
  border-bottom: 1px solid var(--line);
  text-align: left;
  vertical-align: top;
}

.article-media {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(240px, 340px);
  gap: 24px;
  align-items: center;
  margin: 22px 0 10px;
  padding: 20px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: linear-gradient(135deg, #ffffff, #eef7f2);
  box-shadow: var(--soft-shadow);
}

.article-media img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: contain;
  border-radius: 8px;
}

.article-media.photo-feature {
  gap: 20px;
  padding: 18px;
  overflow: hidden;
  background:
    radial-gradient(circle at 12% 18%, rgba(243, 186, 55, 0.14), transparent 30%),
    linear-gradient(135deg, #ffffff 0%, #f3faf6 62%, #fff8e4 100%);
  color: var(--ink);
}

.article-media.photo-feature > div {
  padding: 10px 6px 10px 12px;
}

.article-media.photo-feature img {
  height: 100%;
  min-height: 280px;
  aspect-ratio: 16 / 10;
  object-fit: cover;
  border-radius: 8px;
  box-shadow: 0 14px 30px rgba(7, 31, 20, 0.14);
}

.article-media.photo-feature h2 {
  color: var(--ink);
}

.article-media.photo-feature p {
  color: var(--muted);
}

.article-media.photo-feature .tag {
  background: #e7f3ed;
  color: var(--green-dark);
}

.article-media h2 {
  margin-top: 0;
  font-size: clamp(24px, 3vw, 32px);
}

.article-media .tag {
  margin-bottom: 12px;
}

.article-media p {
  margin-top: 10px;
  color: var(--muted);
}

.table th {
  background: #ecf4ef;
  color: var(--green-dark);
}

.faq details {
  padding: 16px 0;
  border-bottom: 1px solid var(--line);
}

.faq summary {
  cursor: pointer;
  color: var(--green-dark);
  font-weight: 800;
}

.site-footer {
  padding: 46px 0 28px;
  background: #071913;
  color: rgba(255, 255, 255, 0.72);
}

.footer-grid {
  display: grid;
  grid-template-columns: minmax(280px, 1.4fr) repeat(3, minmax(140px, 0.7fr));
  gap: 28px;
}

.site-footer a {
  display: block;
  margin-top: 8px;
  color: rgba(255, 255, 255, 0.82);
  text-decoration: none;
}

.site-footer p {
  max-width: 560px;
}

.footer-links {
  display: grid;
  gap: 6px;
}

.footer-links strong {
  display: block;
  margin-bottom: 4px;
  color: var(--white);
}

.fineprint {
  margin-top: 30px;
  padding-top: 18px;
  border-top: 1px solid rgba(255, 255, 255, 0.14);
  font-size: 13px;
}

.floating-ad {
  position: fixed;
  right: 50%;
  bottom: 12px;
  z-index: 70;
  width: min(1180px, calc(100vw - 28px));
  padding: 8px;
  border: 1px solid rgba(255, 255, 255, 0.6);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.9);
  box-shadow: 0 18px 44px rgba(0, 0, 0, 0.24);
  transform: translateX(50%);
  transition: opacity 160ms ease, transform 180ms ease;
}

.floating-ad[hidden] {
  display: none;
}

.floating-ad-close {
  position: absolute;
  top: -18px;
  right: -6px;
  z-index: 2;
  display: grid;
  width: 36px;
  height: 36px;
  padding: 0;
  border: 0;
  border-radius: 999px;
  background: rgba(17, 24, 22, 0.9);
  color: var(--white);
  cursor: pointer;
  font-size: 24px;
  line-height: 1;
  place-items: center;
  transition: transform 160ms ease, background-color 160ms ease;
}

.floating-ad-close:hover {
  background: #000;
  transform: scale(1.06);
}

.floating-ad-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
}

.floating-ad-link {
  position: relative;
  display: block;
  overflow: hidden;
  border: 2px dashed rgba(255, 238, 88, 0.82);
  border-radius: 5px;
  background: #160906;
  text-decoration: none;
  box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.2), 0 8px 20px rgba(0, 0, 0, 0.24);
  transition: transform 160ms ease, box-shadow 160ms ease;
}

.floating-ad-link:last-child {
  grid-column: 1 / -1;
  width: min(620px, 56%);
  justify-self: center;
}

.floating-ad-link img {
  display: block;
  width: 100%;
  height: 62px;
  aspect-ratio: 728 / 90;
  object-fit: fill;
}

.floating-ad-link:hover,
.floating-ad-link:focus-visible {
  box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.34), 0 0 20px rgba(255, 216, 76, 0.34), 0 10px 24px rgba(0, 0, 0, 0.28);
  transform: translateY(-1px);
}

@media (max-width: 860px) {
  .site-header {
    position: sticky;
  }

  .topbar {
    display: none;
  }

  .nav {
    width: 100%;
    position: relative;
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto auto;
    grid-template-areas:
      "brand language language"
      "brand join menu";
    align-items: center;
    gap: 6px 12px;
    min-height: 92px;
    padding: 10px 14px;
  }

  .nav-main {
    display: contents;
  }

  .mobile-menu-toggle {
    display: inline-flex;
    grid-area: menu;
    justify-self: end;
    width: 42px;
    height: 42px;
    padding: 0;
    border: 0;
    background: transparent url("../ui/menu-icon.png") center / 36px 36px no-repeat;
    color: var(--white);
    cursor: pointer;
    align-items: center;
    justify-content: center;
    transition: transform 160ms ease, filter 160ms ease;
  }

  .mobile-menu-toggle:hover {
    filter: brightness(1.08);
  }

  .mobile-menu-toggle:active {
    transform: scale(0.94);
  }

  .mobile-menu-toggle span,
  .mobile-menu-toggle::before,
  .mobile-menu-toggle::after {
    display: none;
    width: 0;
    height: 0;
    background: transparent;
    content: "";
  }

  .mobile-menu-toggle span {
    margin: 0;
  }

  .nav-links {
    display: none;
  }

  .mobile-join-cta {
    grid-area: join;
    display: inline-flex !important;
    align-items: center;
    justify-content: center;
    justify-self: end;
    min-height: 34px;
    max-width: 148px;
    padding: 7px 13px;
    border-radius: 5px;
    background: linear-gradient(135deg, #f52d54, #f3ba37);
    color: var(--white);
    font-size: 11px;
    font-weight: 900;
    line-height: 1;
    text-align: center;
    text-decoration: none;
    box-shadow: 0 8px 18px rgba(243, 186, 55, 0.22);
    transition: transform 160ms ease, filter 160ms ease;
    white-space: nowrap;
  }

  .mobile-join-cta:hover {
    filter: brightness(1.06);
    transform: translateY(-1px);
  }

  .mobile-category-strip {
    display: grid !important;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: 4px;
    padding: 8px 8px 10px;
    border-top: 1px solid rgba(243, 186, 55, 0.24);
    border-bottom: 1px solid rgba(243, 186, 55, 0.28);
    background:
      radial-gradient(circle at 12% 0%, rgba(243, 186, 55, 0.18), transparent 30%),
      linear-gradient(90deg, #063f2a, #0b6b43 52%, #075337);
    box-shadow: 0 8px 18px rgba(7, 31, 20, 0.18);
  }

  .mobile-category-strip a {
    display: grid;
    min-width: 0;
    min-height: 48px;
    padding: 3px 2px;
    border-radius: 7px;
    color: var(--white);
    text-align: center;
    text-decoration: none;
    transition: background-color 160ms ease, transform 160ms ease;
    place-items: center;
  }

  .mobile-category-strip a:hover {
    background: rgba(255, 255, 255, 0.08);
    transform: translateY(-1px);
  }

  .mobile-category-strip img {
    display: block;
    width: 28px;
    height: 28px;
    margin-bottom: 2px;
    object-fit: contain;
    filter: drop-shadow(0 2px 3px rgba(0, 0, 0, 0.22));
  }

  .mobile-category-strip strong {
    display: block;
    color: var(--white);
    font-size: 10.5px;
    line-height: 1.1;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.22);
  }

  .language-picker {
    display: block;
    grid-area: language;
    justify-self: end;
    z-index: 25;
  }

  .language-picker.open {
    z-index: 1300;
  }

  .language-toggle {
    min-height: 28px;
    padding: 4px 8px;
    border-color: rgba(243, 186, 55, 0.65);
    border-radius: 4px;
    background: rgba(255, 255, 255, 0.12);
    font-size: 11px;
    line-height: 1;
    text-decoration: underline;
    text-underline-offset: 2px;
  }

  .language-toggle svg {
    width: 14px !important;
    height: 14px !important;
  }

  .language-menu {
    bottom: 18px;
    width: min(448px, calc(100vw - 28px));
    padding: 20px 24px 24px;
    border-radius: 9px 9px 0 0;
    transform: translate(-50%, 26px);
  }

  .language-option {
    min-height: 66px;
  }

  .brand {
    grid-area: brand;
    justify-self: start;
    flex: 0 0 auto;
    gap: 8px;
    font-size: 20px;
  }

  .brand-logo {
    width: 116px;
    height: 46px;
  }

  .drawer-backdrop {
    position: fixed;
    inset: 0;
    z-index: 1100;
    background: rgba(0, 0, 0, 0.5);
  }

  .mobile-drawer {
    position: fixed;
    top: 0;
    bottom: 0;
    left: 0;
    z-index: 1110;
    display: block;
    width: min(82vw, 318px);
    padding: 20px 20px 28px;
    overflow-y: auto;
    background: rgba(255, 255, 255, 0.96);
    box-shadow: 18px 0 42px rgba(0, 0, 0, 0.22);
    transform: translateX(-105%);
    transition: transform 180ms ease;
  }

  .drawer-language {
    display: none;
    margin: 0 0 18px;
  }

  .drawer-language p {
    margin: 0 0 8px;
    color: #66736d;
    font-size: 12px;
    font-weight: 900;
    letter-spacing: 0.03em;
    text-transform: uppercase;
  }

  .drawer-language .language-option {
    min-height: 70px;
    border-radius: 8px;
    background: #172c45;
    box-shadow: 0 10px 24px rgba(2, 13, 26, 0.12);
  }

  .drawer-close {
    position: fixed;
    top: 18px;
    right: 18px;
    z-index: 1120;
    display: none;
    width: 40px;
    height: 40px;
    border: 0;
    background: transparent;
    color: var(--white);
    cursor: pointer;
    place-items: center;
  }

  .drawer-close::before,
  .drawer-close::after {
    position: absolute;
    width: 24px;
    height: 2px;
    background: currentColor;
    border-radius: 999px;
    content: "";
  }

  .drawer-close::before {
    transform: rotate(45deg);
  }

  .drawer-close::after {
    transform: rotate(-45deg);
  }

  body.drawer-open {
    overflow: hidden;
  }

  body.drawer-open .drawer-backdrop {
    display: block;
  }

  body.drawer-open .mobile-drawer {
    transform: translateX(0);
  }

  body.drawer-open .drawer-close {
    display: grid;
  }

  .floating-ad {
    bottom: 8px;
    width: calc(100vw - 16px);
    padding: 18px 6px 6px;
    border-radius: 8px;
    overflow: visible;
  }

  .floating-ad-grid {
    display: grid;
    grid-template-columns: none;
    gap: 4px;
    width: 100%;
  }

  .floating-ad-link {
    width: 100%;
    border-width: 1px;
  }

  .floating-ad-link:last-child {
    grid-column: auto;
    width: auto;
    justify-self: auto;
  }

  .floating-ad-link img {
    height: auto;
    min-height: 0;
    object-fit: fill;
  }

  .floating-ad-close {
    top: 2px;
    right: 2px;
    width: 24px;
    height: 24px;
    border: 1px solid rgba(255, 255, 255, 0.42);
    background: rgba(17, 24, 22, 0.88);
    font-size: 17px;
  }

  .hero,
  .hero .wrap {
    min-height: 690px;
  }

  .hero::before {
    background:
      linear-gradient(180deg, rgba(4, 29, 20, 0.96) 0%, rgba(5, 39, 26, 0.86) 55%, rgba(5, 39, 26, 0.42) 100%),
      url("../sections/ph365-hero.png") center / cover no-repeat;
  }

  .hero-stats,
  .grid.cols-3,
  .grid.cols-4,
  .grid.cols-2,
  .testimonial-grid,
  .benefit-grid,
  .update-grid,
  .howto-grid,
  .home-faq-grid,
  .game-hero,
  .media-band,
  .media-band.reverse,
  .feature-row,
  .footer-grid {
    grid-template-columns: 1fr;
  }

  .media-band.reverse .media-copy,
  .media-band.reverse .image-panel {
    order: initial;
  }

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

  .jackpot-showcase {
    width: 100vw;
    margin-right: calc(50% - 50vw);
    margin-left: calc(50% - 50vw);
    border-radius: 0;
  }

  .jackpot-showcase img {
    height: auto;
    min-height: 0;
    object-fit: contain;
    object-position: center;
  }

  .jackpot-counter {
    top: 52%;
    width: min(46vw, 300px);
    min-height: 70px;
    padding: 8px 10px;
  }

  .jackpot-counter::before {
    inset: 6px 8px;
    border-radius: 12px;
  }

  .jackpot-label {
    padding: 4px 9px;
    font-size: 10px;
  }

  .jackpot-counter strong {
    font-size: clamp(22px, 6.4vw, 38px);
  }

  .jackpot-counter small {
    max-width: 240px;
    font-size: 10px;
  }

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

  .article-media {
    grid-template-columns: 1fr;
  }

  .testimonial-card.featured-review {
    grid-column: auto;
  }

  .table {
    display: block;
    overflow-x: auto;
  }

  .section-head {
    display: block;
  }

  .conversion-panel {
    grid-template-columns: 1fr;
  }

  .conversion-panel .button {
    width: fit-content;
  }

  .footer-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 22px 18px;
  }

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

  .site-footer {
    padding: 38px 0 24px;
  }

  .download-page section {
    padding: 30px 0;
  }

  .download-showcase {
    padding-top: 28px;
    padding-bottom: 34px;
  }

  .download-showcase h1 {
    font-size: 32px;
  }

  .download-lead {
    font-size: 16px;
  }

  .download-slide img {
    height: 285px;
  }

  .download-app-card {
    padding: 26px 20px 22px;
    border-radius: 16px;
  }

  .download-app-top {
    grid-template-columns: 76px minmax(0, 1fr);
    gap: 16px;
  }

  .download-app-top img {
    width: 76px;
    height: 76px;
  }

  .download-install-shell {
    border-width: 3px;
  }

  .download-section-title {
    padding: 24px 20px 18px;
  }

  .download-tabs,
  .download-steps {
    padding-right: 20px;
    padding-left: 20px;
  }

  .download-tabs {
    gap: 12px;
  }

  .download-process-head {
    align-items: flex-start;
    flex-direction: column;
    padding: 24px 20px 12px;
  }

  .download-progress {
    margin-right: 20px;
    margin-left: 20px;
  }

  .download-step-card {
    grid-template-columns: 38px minmax(0, 1fr);
    gap: 14px;
    padding: 18px;
  }

  .download-troubleshooting {
    margin-right: 20px;
    margin-left: 20px;
  }

  .download-ios-setup {
    margin-right: 20px;
    margin-left: 20px;
  }

  .download-version-top,
  .download-version-main,
  .download-info-grid,
  .download-bottom-icons {
    grid-template-columns: 1fr;
  }

  .download-version-card {
    padding: 24px 20px;
  }

  section {
    padding: 20px 0;
  }
}

@media (max-width: 520px) {
  .topbar {
    font-size: 11px;
  }

  .brand {
    font-size: 19px;
  }

  .brand-logo {
    width: 106px;
    height: 42px;
  }

  h1 {
    font-size: 34px;
  }

  .hero h1 {
    font-size: 38px;
  }

  .section-head h1,
  .article h1 {
    font-size: 32px;
  }

  .hero,
  .hero .wrap {
    min-height: 640px;
  }

  .home-game-grid {
    grid-template-columns: 1fr;
  }

  .jackpot-showcase img {
    min-height: 0;
  }

  .jackpot-counter {
    width: min(46vw, 190px);
    min-height: 54px;
    padding: 6px 8px;
  }

  .jackpot-label {
    padding: 3px 7px;
    font-size: 8px;
  }

  .jackpot-counter strong {
    margin-top: 4px;
    font-size: clamp(18px, 5.7vw, 28px);
  }

  .jackpot-counter small {
    display: none;
  }

  .game-card {
    min-height: 250px;
  }

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

  .download-showcase h1 {
    font-size: 28px;
  }

  .download-slide img {
    height: 220px;
  }

  .download-main-button,
  .download-now,
  .download-apk-button {
    width: 100%;
    padding-right: 18px;
    padding-left: 18px;
  }

  .download-app-top {
    grid-template-columns: 64px minmax(0, 1fr);
  }

  .download-app-top img {
    width: 64px;
    height: 64px;
  }

  .download-tabs button {
    min-height: 54px;
    font-size: 15px;
    letter-spacing: 1px;
  }

  .download-step-card {
    grid-template-columns: 1fr;
  }

  .download-step-number {
    width: 34px;
    height: 34px;
  }

  .download-file {
    grid-template-columns: 52px minmax(0, 1fr);
  }

  .download-file > span {
    width: 48px;
    height: 48px;
  }

  .download-version-main strong {
    font-size: 34px;
  }
}

@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;
  }

}
