:root {
  --bg: #02508c;
  --bg-dark: #01315c;
  --surface: #054c82;
  --text: #e9f6ff;
  --accent: #12d3ff;
  --yellow: #ffbf23;
}

* {
  box-sizing: border-box;
}

html {
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  font-family: Arial, Helvetica, sans-serif;
  background: linear-gradient(180deg, #02508c 0%, #014272 100%);
  color: var(--text);
}

/* Full-width homepage inside WordPress wrappers */
body #page,
body .site,
body .site-content,
body .content-area,
body .inside-article,
body .entry-content {
  max-width: none !important;
  width: 100% !important;
  margin: 0 !important;
  padding: 0 !important;
}

body .site-main {
  margin: 0 !important;
}

img,
svg,
video {
  max-width: 100%;
  height: auto;
}

.pk966-home {
  background: radial-gradient(circle at 20% 0%, #0a5f9f 0%, #024f87 35%, #014a7f 100%);
  min-height: 100vh;
}

.pk966-download-page {
  min-height: 100vh;
  background: #024f87;
  padding-bottom: 16px;
}

.pk966-home,
.pk966-inner-page,
.pk966-auth-page,
.pk966-download-page {
  overflow-x: hidden;
}

.shot-container {
  width: 100%;
  padding: 0;
  background: #024f87;
}

.home-shot {
  display: block;
  width: 100%;
  height: auto;
}

.download-hero {
  padding: 14px 0 8px;
  background: linear-gradient(180deg, #044d84 0%, #035489 100%);
}

.download-hero h1 {
  margin: 0 0 6px;
  font-size: 28px;
  color: #ffd44f;
}

.download-hero p {
  margin: 0;
  color: #d4efff;
  font-size: 14px;
  line-height: 1.45;
  max-width: 520px;
}

.download-cta-wrap {
  margin-top: 12px;
  display: grid;
  gap: 8px;
}

.download-main-btn {
  width: 100%;
}

.ghost-btn {
  width: 100%;
  border: 1px solid #2d87b8;
  background: #074874;
  color: #d4efff;
}

.download-features {
  padding: 10px 0 14px;
}

a {
  color: inherit;
  text-decoration: none;
}

.container {
  width: 100%;
  margin: 0 auto;
  padding: 0 18px;
}

.top-download-bar {
  background: linear-gradient(90deg, #0e56b6, #1c5fbc);
  padding: 3px 0;
}

.top-download-content {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
  font-size: 13px;
}

.left-brand {
  background: #0f65bf;
  color: #fff;
  border-radius: 4px;
  padding: 3px 6px;
  font-weight: 700;
}

.bar-text strong {
  color: #ffbf23;
}

.btn-download {
  margin-left: auto;
  background: #ffbf23;
  color: #1f3f73;
  border-radius: 9px;
  padding: 6px 10px;
  font-weight: 700;
  font-size: 13px;
}

.main-header {
  background: linear-gradient(180deg, #012d55, #01345f);
  border-bottom: 1px solid #176197;
}

.header-row {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px;
  min-height: 58px;
}

.menu-toggle {
  border: 0;
  background: transparent;
  padding: 0;
  width: 24px;
}

.menu-toggle span {
  display: block;
  height: 3px;
  margin: 4px 0;
  border-radius: 3px;
  background: #88d8ff;
}

.site-logo {
  font-size: clamp(24px, 3.2vw, 44px);
  font-weight: 700;
  font-style: italic;
  color: #f8c54f;
  letter-spacing: -1px;
}

.site-logo::before {
  content: "";
  display: inline-block;
  width: 18px;
  height: 18px;
  margin-right: 8px;
  border-radius: 50%;
  background: radial-gradient(circle, #ffe68d 25%, #f3b72e 70%);
  box-shadow: 0 0 8px rgba(255, 211, 82, 0.6);
  vertical-align: middle;
}

.header-actions {
  margin-left: auto;
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px;
}

.text-link {
  font-size: clamp(14px, 1.7vw, 22px);
}

.pill-link {
  background: #00d6ff;
  color: #073c62;
  border-radius: 999px;
  padding: 7px 14px;
  font-weight: 700;
  font-size: clamp(14px, 1.6vw, 20px);
}

.search-icon {
  width: 20px;
  height: 20px;
  border: 2px solid #8adbff;
  border-radius: 50%;
  position: relative;
}

.search-icon::after {
  content: "";
  position: absolute;
  right: -5px;
  bottom: -5px;
  width: 7px;
  height: 2px;
  background: #8adbff;
  transform: rotate(45deg);
}

.quick-tags {
  background: #024f83;
  padding: 7px 0;
}

.tag-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 8px;
}

.tag-grid span {
  font-size: 10px;
  text-align: center;
  border-radius: 12px;
  padding: 4px 4px;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 4px;
}

.tag-grid span i {
  font-style: normal;
}

.tag-grid span:nth-child(1) { background: #ffac2f; }
.tag-grid span:nth-child(2) { background: #d364ea; }
.tag-grid span:nth-child(3) { background: #4690f8; }
.tag-grid span:nth-child(4) { background: #d72b2b; }
.tag-grid span:nth-child(5) { background: #f84f4f; }
.tag-grid span:nth-child(6) { background: #43be5f; }

.hero-slider {
  background: #035189;
  padding: 8px 0 2px;
}

.hero-card {
  min-height: 180px;
  border-radius: 14px;
  padding: 18px;
  background: radial-gradient(circle at right center, #1d77d0 15%, #053c75 55%);
  box-shadow: inset 0 0 0 1px rgba(142, 203, 255, 0.2), 0 12px 30px rgba(0, 18, 48, 0.3);
  display: flex;
  align-items: center;
}

.hero-copy h1 {
  font-size: clamp(24px, 3.4vw, 52px);
  margin: 0;
  line-height: 1.18;
  max-width: 600px;
}

.hero-copy strong {
  color: #ffe952;
}

.hero-wheel {
  margin-left: auto;
  width: 210px;
  height: 210px;
  border-radius: 50%;
  border: 14px solid #f7b225;
  background: conic-gradient(#1e6fe0 0 20%, #f6c33c 20% 40%, #1e6fe0 40% 60%, #f6c33c 60% 80%, #1e6fe0 80% 100%);
  display: grid;
  place-items: center;
}

.wheel-center {
  width: 70px;
  height: 70px;
  border-radius: 50%;
  background: #0a2f60;
  display: grid;
  place-items: center;
  font-weight: 700;
}

.slider-dots {
  text-align: center;
  margin: 6px 0;
}

.slider-dots span {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  display: inline-block;
  margin: 0 3px;
  background: #88b4d4;
}

.slider-dots span.active {
  background: #fff;
}

.category-tabs {
  background: #034d81;
  border-top: 1px solid #1f699e;
}

.tab-row {
  display: flex;
  gap: 12px;
  overflow: auto;
  white-space: nowrap;
  padding: 8px 0;
  -webkit-overflow-scrolling: touch;
}

.tab-row a,
.tab-row button {
  padding: 5px 8px;
  border-radius: 10px;
  color: #c1e8ff;
  font-size: 14px;
  background: transparent;
  border: 0;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.tab-row button i {
  font-style: normal;
}

.tab-row a.active,
.tab-row button.active {
  color: #fff;
  background: #0a699b;
}

.games-list {
  background: #035289;
  padding: 6px 0 86px;
}

.home-kpi-strip {
  background: #034f83;
  border-top: 1px solid #1f699e;
  border-bottom: 1px solid #1f699e;
  padding: 10px 0;
}

.kpi-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 10px;
}

.kpi-card {
  background: linear-gradient(180deg, rgba(9, 78, 126, 0.95), rgba(5, 63, 104, 0.95));
  border: 1px solid #2d87b8;
  border-radius: 12px;
  padding: 10px;
  text-align: center;
}

.kpi-card strong {
  display: block;
  font-size: 20px;
  color: #ffe06f;
}

.kpi-card span {
  font-size: 12px;
  color: #d8f0ff;
}

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

.section-head h2 {
  margin: 0;
  font-size: clamp(28px, 3.2vw, 42px);
}

.section-head a {
  font-size: 16px;
  opacity: 0.9;
}

.games-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
  align-items: start;
}

.game-card {
  margin: 0;
  overflow: hidden;
}

.game-card a {
  display: block;
  overflow: hidden;
}

.game-thumb {
  aspect-ratio: 0.66;
  border-radius: 10px;
  background: linear-gradient(145deg, #1f2737, #4b2018 45%, #8e4022 100%);
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  border: 1px solid rgba(255, 255, 255, 0.2);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.game-card h3 {
  margin: 5px 2px 0;
  font-size: clamp(10px, 0.9vw, 12px);
  min-height: 16px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.game-card:hover .game-thumb {
  transform: translateY(-2px);
  box-shadow: 0 10px 16px rgba(0, 15, 50, 0.35);
}

.bottom-nav {
  position: fixed;
  left: 50%;
  transform: translateX(-50%);
  bottom: 0;
  width: min(100%, 1200px);
  background: #013761;
  border-top: 2px solid #0a6aa0;
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 2px;
  padding: 7px 6px calc(10px + env(safe-area-inset-bottom));
  z-index: 9;
}

.bottom-nav a {
  text-align: center;
  font-size: clamp(11px, 1.1vw, 14px);
  color: #75c0e8;
}

.bottom-nav a.active {
  color: #25cfff;
}

.bottom-nav .has-badge {
  position: relative;
}

.bottom-nav .has-badge span {
  position: absolute;
  top: -17px;
  left: 50%;
  transform: translateX(-50%);
  background: #2bd94b;
  color: #fff;
  border-radius: 12px;
  font-size: 10px;
  padding: 2px 6px;
}

.pk966-page,
.pk966-default {
  min-height: 50vh;
  padding: 24px 0;
}

.pk966-inner-page,
.pk966-auth-page {
  min-height: 100vh;
  background: linear-gradient(180deg, #02508c 0%, #014272 100%);
  padding-bottom: 20px;
}

.inner-hero {
  background: #012d55;
  border-bottom: 1px solid #176197;
  padding: 20px 0;
}

.inner-hero h1 {
  margin: 0 0 8px;
  font-size: 28px;
  color: #f6c850;
}

.inner-hero p {
  margin: 0;
  color: #d8f0ff;
  font-size: 14px;
  line-height: 1.45;
}

.inner-content {
  padding: 14px 0;
}

.inner-page-banner {
  padding: 10px 0 4px;
  background: #024c80;
}

.inner-banner-image {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 12px;
  border: 1px solid #2d80b1;
}

.header-row,
.top-download-content,
.section-head,
.panel,
.game-card,
.kpi-card {
  min-width: 0;
}

.header-row,
.top-download-content,
.section-head,
.panel,
.game-card,
.kpi-card {
  min-width: 0;
}

.card-grid {
  display: grid;
  gap: 12px;
}

.card-grid.two-col {
  grid-template-columns: 1fr 1fr;
}

.card-grid.one-col {
  grid-template-columns: 1fr;
}

.panel {
  background: rgba(1, 37, 73, 0.62);
  border: 1px solid #1d6fa2;
  border-radius: 14px;
  padding: 14px;
}

.panel h2,
.panel h1 {
  margin: 0 0 10px;
  font-size: 20px;
  color: #ffcf4c;
}

.panel p {
  margin: 0 0 10px;
  font-size: 14px;
  line-height: 1.45;
}

.pk966-notice {
  margin: 0 0 14px;
  border-radius: 10px;
  padding: 10px 12px;
  font-size: 14px;
  font-weight: 700;
}

.pk966-notice.success {
  background: rgba(39, 185, 101, 0.2);
  border: 1px solid #44d185;
  color: #d8ffea;
}

.pk966-notice.error {
  background: rgba(207, 75, 75, 0.2);
  border: 1px solid #f26767;
  color: #ffe0e0;
}

.long-content-panel p {
  font-size: 15px;
  line-height: 1.7;
}

.steps-list {
  margin: 0;
  padding-left: 18px;
}

.steps-list li {
  margin-bottom: 8px;
  font-size: 14px;
}

.chip-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.chip-row span {
  background: #0a699b;
  border: 1px solid #3aa6d8;
  border-radius: 999px;
  padding: 6px 10px;
  font-size: 12px;
  font-weight: 700;
}

.pk966-form {
  display: grid;
  gap: 8px;
}

.pk966-form label {
  font-size: 12px;
  color: #c4e7fb;
}

.pk966-form input,
.pk966-form select,
.pk966-form textarea {
  width: 100%;
  border: 1px solid #2e79aa;
  background: #043961;
  color: #fff;
  border-radius: 10px;
  padding: 10px 12px;
  font-size: 16px;
}

.pk966-form textarea {
  min-height: 110px;
  resize: vertical;
}

.action-btn {
  display: inline-block;
  text-align: center;
  background: linear-gradient(180deg, #ffd34a, #ffb81f);
  border: 0;
  color: #073c62;
  border-radius: 10px;
  padding: 11px 12px;
  font-size: 14px;
  font-weight: 700;
  cursor: pointer;
}

.auth-panel {
  margin: 30px auto 0;
  max-width: 420px;
}

.meta-line {
  margin: 10px 0 0;
  font-size: 13px;
}

.meta-line a {
  color: var(--accent);
}

.pk966-download-modal {
  position: fixed;
  inset: 0;
  z-index: 9999;
  display: none;
}

.pk966-download-modal.is-open {
  display: block;
}

.pk966-download-modal__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(2, 18, 40, 0.74);
}

.pk966-download-modal__card {
  position: relative;
  width: min(94vw, 520px);
  margin: 70px auto 0;
  background: radial-gradient(circle at top, #0d5a94 0, #083f69 34%, #042b4a 100%);
  border: 1px solid #49c4ff;
  border-radius: 16px;
  padding: 14px;
  box-shadow: 0 22px 44px rgba(0, 10, 34, 0.55);
  overflow: hidden;
}

.pk966-download-modal__card::before {
  content: "";
  position: absolute;
  inset: -40% auto auto -40%;
  width: 180px;
  height: 180px;
  border-radius: 50%;
  background: rgba(255, 215, 82, 0.22);
  filter: blur(8px);
  pointer-events: none;
}

.pk966-download-modal__ribbon {
  position: absolute;
  top: 8px;
  right: -36px;
  background: linear-gradient(180deg, #35e65e, #13b53b);
  color: #fff;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.3px;
  padding: 5px 40px;
  transform: rotate(33deg);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.25);
}

.pk966-download-modal__head {
  display: grid;
  grid-template-columns: 82px 1fr;
  gap: 12px;
  align-items: center;
  margin-bottom: 10px;
}

.pk966-download-modal__logo {
  height: 82px;
  border-radius: 8px;
  display: grid;
  place-items: center;
  background: #0c4f8a;
  color: #f3e28b;
  font-weight: 700;
  font-size: 24px;
}

.pk966-download-modal__head h3 {
  margin: 0;
  color: #ffd863;
  text-shadow: 0 2px 0 rgba(0, 0, 0, 0.2);
  font-size: clamp(20px, 4.7vw, 33px);
  line-height: 1.15;
}

.pk966-download-modal__urgency {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 8px;
  margin: 8px 0 12px;
  background: rgba(0, 19, 43, 0.54);
  border: 1px solid #2f95cd;
  border-radius: 10px;
  padding: 8px 10px;
  color: #d6efff;
  font-size: 12px;
}

.pk966-download-modal__urgency strong {
  color: #ffd95a;
}

.pk966-download-modal__offers {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}

.pk966-download-option {
  position: relative;
  background: linear-gradient(180deg, #31e0ff, #11bce1);
  color: #05355a;
  border: 1px solid #7deaff;
  border-radius: 12px;
  padding: 10px 12px;
  display: grid;
  gap: 4px;
  text-align: center;
  transition: transform 0.18s ease, box-shadow 0.18s ease;
}

.pk966-download-option::before,
.pk966-download-option::after {
  content: "";
  position: absolute;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255, 255, 255, 0.95) 0, rgba(255, 255, 255, 0) 70%);
  opacity: 0;
  pointer-events: none;
  animation: pk966Sparkle 2.2s ease-in-out infinite;
  animation-play-state: paused;
}

.pk966-download-option::before {
  top: 10px;
  left: 12px;
}

.pk966-download-option::after {
  right: 12px;
  bottom: 10px;
  animation-delay: 1.1s;
}

.pk966-download-option:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 20px rgba(4, 22, 44, 0.24);
}

.pk966-download-modal.is-open .pk966-download-option::before,
.pk966-download-modal.is-open .pk966-download-option::after {
  animation-play-state: running;
}

.pk966-download-option strong {
  font-size: clamp(15px, 3.8vw, 24px);
}

.pk966-download-option small {
  font-size: 13px;
}

.pk966-download-option--full {
  grid-column: 1 / -1;
}

.pk966-download-badge {
  position: absolute;
  top: -11px;
  right: -6px;
  background: linear-gradient(180deg, #37e95f, #11b53a);
  color: #fff;
  border-radius: 12px;
  font-size: clamp(11px, 2.7vw, 16px);
  line-height: 1;
  padding: 4px 8px;
  font-weight: 700;
}

.pk966-download-modal__close {
  width: 54px;
  height: 54px;
  border-radius: 50%;
  border: 3px solid #d9eefb;
  background: transparent;
  color: #fff;
  font-size: 44px;
  line-height: 44px;
  margin: 16px auto 0;
  display: block;
  cursor: pointer;
  transition: transform 0.2s ease;
}

.pk966-download-modal__close:hover {
  transform: scale(1.08);
}

.pk966-download-float-wrap {
  position: fixed;
  right: 12px;
  bottom: calc(92px + env(safe-area-inset-bottom));
  z-index: 10001;
  display: grid;
  gap: 6px;
  justify-items: end;
}

.pk966-download-float-meta {
  background: rgba(3, 48, 82, 0.92);
  border: 1px solid #39b9ff;
  border-radius: 12px;
  padding: 6px 10px;
  display: grid;
  gap: 2px;
  box-shadow: 0 8px 16px rgba(0, 16, 44, 0.38);
}

.pk966-download-float-tag {
  display: inline-block;
  width: fit-content;
  background: linear-gradient(180deg, #2ce45a, #12b73c);
  color: #fff;
  border-radius: 999px;
  padding: 2px 8px;
  font-size: 11px;
  font-weight: 700;
}

.pk966-download-float-timer {
  color: #d7f2ff;
  font-size: 11px;
}

.pk966-download-float-timer strong {
  color: #ffd95a;
}

.pk966-float-download {
  position: fixed;
  right: auto;
  bottom: auto;
  z-index: auto;
  border: 0;
  border-radius: 999px;
  background: linear-gradient(180deg, #ffd34a, #ff9c05);
  color: #1d2f58;
  padding: 11px 16px;
  font-size: 15px;
  font-weight: 700;
  display: none;
  cursor: pointer;
  box-shadow: 0 8px 20px rgba(0, 17, 44, 0.42);
  letter-spacing: 0.5px;
  animation: pk966Pulse 1.8s ease-in-out infinite;
}

.pk966-float-download.is-visible {
  display: inline-block;
}

@keyframes pk966Pulse {
  0%,
  100% {
    transform: scale(1);
    box-shadow: 0 8px 20px rgba(0, 17, 44, 0.42);
  }
  50% {
    transform: scale(1.04);
    box-shadow: 0 10px 26px rgba(255, 176, 31, 0.48);
  }
}

@keyframes pk966Sparkle {
  0%,
  100% {
    transform: scale(0.2);
    opacity: 0;
  }
  25% {
    transform: scale(1);
    opacity: 0.9;
  }
  45% {
    transform: scale(0.5);
    opacity: 0;
  }
}

.game-detail-page .inner-hero h1 {
  font-size: 24px;
}

.game-article {
  overflow: hidden;
}

.game-logo {
  width: 100%;
  max-width: 100%;
  border-radius: 14px;
  display: block;
  margin: 0 auto 14px;
  border: 1px solid #2c86b7;
}

.game-media-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  margin-bottom: 8px;
}

.game-article h2 {
  margin-top: 16px;
}

.game-article h3 {
  margin: 12px 0 8px;
  color: #ffd874;
  font-size: 17px;
}

.game-article p,
.game-article li {
  font-size: 15px;
  line-height: 1.65;
}

.related-games {
  margin-top: 16px;
  padding-top: 12px;
  border-top: 1px solid #226fa0;
}

.related-games a {
  display: inline-block;
  margin: 4px 8px 4px 0;
  padding: 7px 10px;
  border-radius: 999px;
  border: 1px solid #2f86b7;
  background: #054877;
  color: #d4efff;
  font-size: 13px;
}

@media (min-width: 900px) {
  .pk966-home .container {
    max-width: none;
    width: 100%;
    padding-left: 14px;
    padding-right: 14px;
  }

  .pk966-home .top-download-content {
    font-size: 14px;
  }

  .pk966-home .header-row {
    min-height: 68px;
  }

  .pk966-home .tag-grid span {
    font-size: 14px;
    padding: 4px 8px;
  }

  .pk966-home .hero-card {
    min-height: 210px;
    border-radius: 14px;
  }

  .pk966-home .hero-copy h1 {
    font-size: 50px;
    max-width: 500px;
    line-height: 1.2;
  }

  .pk966-home .hero-wheel {
    width: 185px;
    height: 185px;
    border-width: 12px;
  }

  .pk966-home .wheel-center {
    width: 60px;
    height: 60px;
  }

  .pk966-home .tab-row button {
    font-size: 16px;
    padding: 6px 10px;
  }

  .pk966-home .section-head h2 {
    font-size: 40px;
  }

  .pk966-home .games-grid {
    grid-template-columns: repeat(3, minmax(0, 230px));
    justify-content: space-between;
    gap: 24px;
    max-width: 760px;
    margin: 0 auto;
  }

  .pk966-home .game-thumb {
    border-radius: 12px;
    aspect-ratio: 0.78;
  }

  .pk966-home .game-card h3 {
    font-size: 12px;
    min-height: 18px;
  }

  .pk966-home .bottom-nav {
    max-width: none;
    width: 100%;
    left: 0;
    transform: none;
  }
}

@media (min-width: 1280px) {
  .pk966-home .games-grid {
    max-width: 800px;
    gap: 26px;
  }

  .pk966-home .game-thumb {
    aspect-ratio: 0.8;
  }
}

.pk966-home .games-list {
  padding-bottom: 120px;
}

.seo-long-content {
  background: #024b80;
  border-top: 1px solid #1f6ea0;
  padding: 24px 0 120px;
}

.seo-article {
  background: rgba(1, 37, 73, 0.56);
  border: 1px solid #216ea0;
  border-radius: 14px;
  padding: 22px;
  box-shadow: 0 12px 28px rgba(0, 16, 42, 0.35);
}

.seo-article h2 {
  margin: 0 0 10px;
  font-size: clamp(24px, 3vw, 34px);
  color: #ffd45f;
}

.seo-article h3 {
  margin: 20px 0 10px;
  font-size: clamp(18px, 2.2vw, 25px);
  color: #ffd45f;
}

.seo-article p,
.seo-article li {
  color: #dcf2ff;
  font-size: clamp(14px, 1.4vw, 18px);
  line-height: 1.7;
}

.seo-article ul,
.seo-article ol {
  margin: 8px 0 0;
  padding-left: 20px;
}

.seo-article .meta-lines {
  background: #043c65;
  border: 1px solid #2c80b2;
  border-radius: 10px;
  padding: 12px;
}

.seo-toc {
  margin-top: 14px;
  background: #064474;
  border: 1px solid #2c80b2;
  border-radius: 10px;
  padding: 12px;
}

.seo-toc summary {
  cursor: pointer;
  font-weight: 700;
  color: #ffd45f;
  list-style: none;
}

.seo-toc summary::-webkit-details-marker {
  display: none;
}

.seo-toc summary::after {
  content: " +";
  float: right;
}

.seo-toc[open] summary::after {
  content: " -";
}

.seo-toc ul {
  margin-top: 10px;
}

.seo-article table {
  width: 100%;
  border-collapse: collapse;
  margin-top: 8px;
  background: #053e69;
  border-radius: 10px;
  overflow: hidden;
}

.seo-article {
  overflow-wrap: anywhere;
}

.seo-article table {
  display: block;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
}

.seo-article th,
.seo-article td {
  border: 1px solid #2e83b5;
  padding: 10px 8px;
  font-size: 14px;
  text-align: left;
  color: #def4ff;
}

.seo-article th {
  background: #06538b;
  color: #fff;
}

@media (max-width: 1024px) {
  .games-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .hero-card {
    min-height: 160px;
  }

  .hero-wheel {
    width: 150px;
    height: 150px;
    border-width: 10px;
  }

  .wheel-center {
    width: 52px;
    height: 52px;
  }
}

@media (max-width: 768px) {
  .container {
    padding: 0 12px;
  }

  .header-row {
    gap: 8px;
  }

  .header-actions {
    gap: 6px;
    margin-left: 0;
  }

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

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

  .game-thumb {
    aspect-ratio: 0.68;
  }

  .card-grid.two-col {
    grid-template-columns: 1fr;
  }

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

  .bottom-nav {
    width: 100%;
    left: 0;
    transform: none;
  }
}

@media (max-width: 700px) {
  .kpi-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .seo-article h2 {
    font-size: 24px;
  }

  .seo-article h3 {
    font-size: 18px;
  }

  .seo-article p,
  .seo-article li {
    font-size: 14px;
  }
}

@media (max-width: 480px) {
  .container {
    padding: 0 10px;
  }

  .site-logo {
    font-size: 23px;
  }

  .text-link,
  .pill-link {
    font-size: 15px;
  }

  .pill-link {
    padding: 6px 10px;
  }

  .top-download-content {
    font-size: 12px;
  }

  .btn-download {
    margin-left: 0;
  }

  .section-head h2 {
    font-size: 28px;
  }

  .hero-card {
    min-height: 135px;
    padding: 12px;
  }

  .hero-copy h1 {
    font-size: 19px;
    max-width: 230px;
    line-height: 1.3;
  }

  .hero-wheel {
    width: 130px;
    height: 130px;
    border-width: 10px;
  }

  .wheel-center {
    width: 44px;
    height: 44px;
  }

  .game-card h3 {
    font-size: 10px;
  }

  .games-grid {
    gap: 6px;
  }

  .game-thumb {
    aspect-ratio: 0.7;
  }

  .tab-row button {
    font-size: 14px;
    padding: 5px 8px;
  }

  .top-download-content,
  .header-row,
  .header-actions {
    justify-content: center;
  }

  .site-logo {
    width: 100%;
    text-align: center;
  }

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

  .card-grid.two-col {
    grid-template-columns: 1fr;
  }

  .game-media-grid {
    grid-template-columns: 1fr;
    gap: 8px;
  }

  .pk966-download-modal__card {
    width: min(94vw, 420px);
    margin-top: 50px;
    padding: 12px;
  }

  .pk966-download-modal__head {
    grid-template-columns: 64px 1fr;
    gap: 10px;
  }

  .pk966-download-modal__logo {
    height: 64px;
    font-size: 18px;
  }

  .pk966-download-modal__head h3 {
    font-size: 22px;
  }

  .pk966-download-option strong {
    font-size: 16px;
  }

  .pk966-download-option small {
    font-size: 11px;
  }

  .pk966-download-badge {
    font-size: 11px;
    top: -8px;
    right: -3px;
    padding: 3px 6px;
  }

  .pk966-download-modal__close {
    width: 46px;
    height: 46px;
    font-size: 34px;
    line-height: 34px;
    margin-top: 12px;
  }

  .pk966-float-download {
    font-size: 12px;
    padding: 9px 12px;
  }

  .pk966-download-float-wrap {
    right: 10px;
    bottom: calc(82px + env(safe-area-inset-bottom));
  }

  .pk966-download-float-meta {
    padding: 5px 8px;
  }

  .pk966-download-float-tag,
  .pk966-download-float-timer {
    font-size: 10px;
  }
}
