:root {
  --bg: #080a0d;
  --bg-2: #10151b;
  --surface: #141a21;
  --surface-2: #1b222b;
  --line: rgba(255, 255, 255, 0.12);
  --line-strong: rgba(245, 188, 72, 0.34);
  --text: #f5f7fa;
  --muted: #b6c0cc;
  --soft: #d9e2ec;
  --accent: #f5bc48;
  --accent-2: #26c6a2;
  --accent-3: #c94f5e;
  --dark-text: #111315;
  --max: 1180px;
  --article: 900px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-width: 320px;
  background:
    radial-gradient(circle at 20% 0%, rgba(38, 198, 162, 0.16), transparent 34rem),
    radial-gradient(circle at 85% 6%, rgba(245, 188, 72, 0.14), transparent 30rem),
    var(--bg);
  color: var(--text);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 16px;
  line-height: 1.68;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
  padding-bottom: 88px;
}

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

a:hover,
a:focus {
  color: var(--accent);
}

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

.screen-reader-text,
.skip-link {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.skip-link:focus {
  top: 12px;
  left: 12px;
  width: auto;
  height: auto;
  z-index: 10000;
  padding: 10px 14px;
  clip: auto;
  color: var(--dark-text);
  background: var(--accent);
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: rgba(8, 10, 13, 0.92);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(14px);
}

.header-inner {
  width: min(var(--max), calc(100% - 32px));
  min-height: 76px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: center;
  gap: 24px;
}

.site-branding,
.brand-logo,
.custom-logo-link {
  flex: 0 0 auto;
  min-width: 0;
  max-width: min(48vw, 220px);
}

.custom-logo,
.custom-logo-link img,
.site-branding img,
.brand-logo img,
.footer-brand img {
  display: block;
  width: auto;
  height: auto;
  max-width: 168px;
  max-height: 52px;
  object-fit: contain;
}

.brand-logo {
  display: inline-flex;
  align-items: center;
}

.primary-navigation {
  justify-self: end;
}

.primary-navigation ul,
.footer-navigation ul {
  display: flex;
  align-items: center;
  gap: 8px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.primary-navigation a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  padding: 8px 10px;
  border-radius: 8px;
  color: var(--soft);
  font-size: 0.94rem;
  font-weight: 650;
  transition: color 180ms ease, background 180ms ease;
}

.primary-navigation a:hover,
.primary-navigation a:focus {
  color: var(--text);
  background: rgba(255, 255, 255, 0.08);
}

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

.header-link,
.header-button,
.wp-block-button__link,
.search-submit,
.floating-entry-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  border-radius: 8px;
  font-weight: 800;
  cursor: pointer;
  transition: color 180ms ease, background 180ms ease, border-color 180ms ease, box-shadow 180ms ease;
}

.header-link {
  padding: 9px 14px;
  color: var(--soft);
  border: 1px solid var(--line);
}

.header-button,
.wp-block-button__link,
.search-submit,
.floating-entry-button {
  padding: 10px 18px;
  color: var(--dark-text);
  background: linear-gradient(180deg, #ffd36e, var(--accent));
  border: 1px solid rgba(255, 255, 255, 0.16);
  box-shadow: 0 12px 34px rgba(245, 188, 72, 0.22);
}

.header-link:hover,
.header-link:focus {
  color: var(--text);
  border-color: var(--line-strong);
}

.header-button:hover,
.header-button:focus,
.wp-block-button__link:hover,
.wp-block-button__link:focus,
.search-submit:hover,
.search-submit:focus,
.floating-entry-button:hover,
.floating-entry-button:focus {
  color: var(--dark-text);
  background: #ffe08b;
  box-shadow: 0 14px 38px rgba(245, 188, 72, 0.3);
}

.menu-toggle {
  display: none;
  width: 46px;
  height: 46px;
  padding: 11px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.05);
  cursor: pointer;
}

.menu-toggle span:not(.screen-reader-text) {
  display: block;
  width: 100%;
  height: 2px;
  margin: 5px 0;
  background: var(--text);
}

.site-main {
  width: 100%;
}

.wp-block-group {
  width: 100%;
}

.brand-hero,
.quick-access-section,
.feature-section,
.games-section,
.app-section,
.bonus-section,
.payment-section,
.steps-section,
.reviews-section,
.responsible-section,
.brand-article-section,
.faq-section {
  padding: 76px max(20px, calc((100vw - var(--max)) / 2));
}

.brand-hero {
  min-height: calc(100vh - 76px);
  display: grid;
  align-content: center;
  gap: 26px;
  text-align: center;
  background:
    linear-gradient(180deg, rgba(8, 10, 13, 0.34), rgba(8, 10, 13, 0.94)),
    radial-gradient(circle at 50% 10%, rgba(245, 188, 72, 0.16), transparent 32rem);
}

.brand-hero .hero-copy {
  width: min(920px, 100%);
  margin: 0 auto;
}

.section-kicker,
.brand-hero .section-kicker {
  display: inline-flex;
  align-items: center;
  width: fit-content;
  margin: 0 0 14px;
  padding: 6px 10px;
  border: 1px solid var(--line-strong);
  border-radius: 8px;
  color: var(--accent);
  font-size: 0.78rem;
  font-weight: 850;
  letter-spacing: 0;
  text-transform: uppercase;
}

.brand-hero .section-kicker {
  margin-left: auto;
  margin-right: auto;
}

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

h1 {
  font-size: clamp(2.4rem, 6vw, 5.4rem);
  max-width: 980px;
  margin: 0 auto;
}

h2 {
  font-size: clamp(1.75rem, 3vw, 3rem);
}

h3 {
  font-size: clamp(1.15rem, 2vw, 1.55rem);
}

p {
  margin: 0 0 1rem;
}

.hero-intro {
  max-width: 760px;
  margin: 20px auto 0;
  color: var(--soft);
  font-size: 1.12rem;
}

.hero-note {
  max-width: 680px;
  margin: 16px auto 0;
  color: var(--muted);
  font-size: 0.94rem;
}

.brand-hero .wp-block-buttons {
  justify-content: center;
  margin-top: 28px;
}

.brand-hero .wp-block-button__link {
  min-width: min(100%, 230px);
  font-size: 1rem;
}

.hero-visual {
  position: relative;
  width: min(760px, 92%);
  margin: 2px auto 0;
  padding: 10px;
  overflow: hidden;
  border: 1px solid rgba(245, 188, 72, 0.18);
  border-radius: 8px;
  background:
    linear-gradient(135deg, rgba(245, 188, 72, 0.12), rgba(38, 198, 162, 0.07)),
    rgba(255, 255, 255, 0.035);
  box-shadow: 0 20px 56px rgba(0, 0, 0, 0.32);
}

.hero-visual img,
.image-panel img,
.article-visual img,
.page-visual img {
  display: block;
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: 0 28px 90px rgba(0, 0, 0, 0.44);
}

.inline-page-visual {
  margin: 30px 0;
}

.inline-page-visual img {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 9;
  max-height: 420px;
  object-fit: cover;
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: 0 20px 62px rgba(0, 0, 0, 0.34);
}

.hero-visual img {
  aspect-ratio: 16 / 7;
  max-height: 340px;
  object-fit: cover;
  object-position: center 42%;
  border: 0;
  box-shadow: none;
}

.quick-access-section,
.games-section,
.payment-section,
.reviews-section,
.faq-section {
  background: var(--bg-2);
}

.section-heading {
  width: min(var(--max), 100%);
  margin: 0 auto 28px;
}

.section-heading p {
  max-width: 760px;
  margin-top: 12px;
  color: var(--muted);
  font-size: 1.03rem;
}

.quick-grid,
.feature-grid,
.games-grid,
.steps-grid,
.reviews-grid,
.policy-grid,
.sitemap-grid {
  width: min(var(--max), 100%);
  margin: 0 auto;
  display: grid;
  gap: 20px;
}

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

.quick-access-layout {
  width: min(var(--max), 100%);
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(280px, 0.82fr) minmax(0, 1.18fr);
  gap: 20px;
  align-items: stretch;
}

.quick-access-primary,
.quick-access-secondary {
  display: grid;
  gap: 16px;
}

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

.quick-access-secondary .quick-access-card:last-child {
  grid-column: 1 / -1;
}

.quick-access-card {
  position: relative;
  display: flex;
  flex-direction: column;
  min-height: 100%;
  padding: 20px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.055), rgba(255, 255, 255, 0.025));
  transition: border-color 180ms ease, transform 180ms ease, background 180ms ease;
}

.quick-access-card::before {
  content: "";
  position: absolute;
  top: 0;
  right: 0;
  left: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--accent), var(--accent-2));
  opacity: 0.86;
}

.quick-access-card-featured {
  min-height: 184px;
  padding: 24px;
  background:
    linear-gradient(135deg, rgba(245, 188, 72, 0.15), rgba(38, 198, 162, 0.065)),
    rgba(255, 255, 255, 0.035);
}

.quick-access-card:hover,
.quick-access-card:focus-within {
  transform: translateY(-2px);
  border-color: var(--line-strong);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.075), rgba(255, 255, 255, 0.035));
}

.quick-access-card-head {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  margin-bottom: 12px;
}

.quick-access-mark {
  display: inline-flex;
  flex: 0 0 auto;
  align-items: center;
  justify-content: center;
  min-width: 44px;
  min-height: 44px;
  padding: 8px 10px;
  border-radius: 8px;
  color: var(--dark-text);
  background: var(--accent);
  font-size: 0.82rem;
  font-weight: 900;
}

.quick-access-card h3 {
  padding-top: 4px;
  font-size: clamp(1.08rem, 1.6vw, 1.45rem);
}

.quick-access-card p {
  margin: 0;
  color: var(--muted);
  font-size: 0.95rem;
  line-height: 1.58;
}

.quick-access-card-featured p {
  color: var(--soft);
  font-size: 1rem;
}

.quick-access-action {
  margin-top: auto;
  padding-top: 18px;
}

.quick-access-cta {
  display: inline-flex;
  width: fit-content;
  align-items: center;
  gap: 8px;
  color: var(--accent);
  font-size: 0.94rem;
  font-weight: 850;
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 4px;
}

.quick-access-cta::after {
  content: ">";
  text-decoration: none;
}

.feature-grid,
.games-grid,
.reviews-grid,
.policy-grid,
.sitemap-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

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

.info-card,
.quick-card,
.game-card,
.step-card,
.review-card,
.policy-card {
  position: relative;
  min-height: 100%;
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.05), rgba(255, 255, 255, 0.025));
}

.game-card {
  overflow: hidden;
}

.game-card-media {
  margin: -22px -22px 18px;
  border-bottom: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.04);
}

.game-card-img {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
}

.quick-card {
  min-height: 132px;
}

.info-card h3,
.quick-card h3,
.game-card h3,
.step-card h3,
.review-card h3,
.policy-card h3 {
  margin-bottom: 10px;
}

.info-card p,
.quick-card p,
.game-card p,
.step-card p,
.review-card p,
.policy-card p {
  color: var(--muted);
  font-size: 0.96rem;
}

.quick-card a,
.game-card a,
.policy-card a,
.inline-link {
  color: var(--accent);
  font-weight: 800;
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 4px;
}

.feature-section .feature-layout,
.app-section .split-layout,
.bonus-section .split-layout,
.payment-section .payment-layout,
.responsible-section .split-layout {
  width: min(var(--max), 100%);
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(320px, 0.86fr);
  gap: 34px;
  align-items: center;
}

.app-section .split-layout,
.responsible-section .split-layout {
  grid-template-columns: minmax(320px, 0.9fr) minmax(0, 1fr);
}

.split-copy p,
.feature-copy p {
  color: var(--muted);
}

.method-strip {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 20px 0;
}

.trust-row,
.payment-method-row {
  width: min(var(--max), 100%);
  margin: 22px auto 0;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
}

.trust-row span,
.payment-method-row span,
.card-mark {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 38px;
  padding: 8px 10px;
  border: 1px solid var(--line);
  border-radius: 8px;
  color: var(--soft);
  background: rgba(255, 255, 255, 0.055);
  font-size: 0.9rem;
  font-weight: 800;
}

.card-mark {
  width: fit-content;
  min-width: 38px;
  margin-bottom: 14px;
  color: var(--dark-text);
  background: var(--accent);
}

.note-panel,
.terms-table-wrap {
  margin: 24px 0;
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.045);
}

.terms-table {
  width: 100%;
  border-collapse: collapse;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
}

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

.terms-table th {
  color: var(--dark-text);
  background: var(--accent);
}

.terms-table tr:last-child td {
  border-bottom: 0;
}

.section-link {
  display: inline-flex;
  margin-top: 8px;
  color: var(--accent);
  font-weight: 850;
  text-decoration: underline;
  text-underline-offset: 4px;
}

.method-strip span,
.trust-chip,
.star-rating {
  display: inline-flex;
  align-items: center;
  min-height: 34px;
  padding: 6px 10px;
  border: 1px solid var(--line);
  border-radius: 8px;
  color: var(--soft);
  background: rgba(255, 255, 255, 0.05);
  font-weight: 750;
}

.star-rating {
  color: var(--accent);
}

.brand-article-section {
  background:
    linear-gradient(180deg, rgba(17, 25, 31, 0.94), rgba(8, 10, 13, 0.98)),
    radial-gradient(circle at 12% 18%, rgba(38, 198, 162, 0.16), transparent 26rem),
    radial-gradient(circle at 86% 8%, rgba(255, 203, 77, 0.08), transparent 22rem);
}

.article-shell {
  width: min(1120px, 100%);
  margin: 0 auto;
}

.article-head {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(260px, 0.42fr);
  gap: 28px;
  align-items: end;
  padding: 34px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.08), rgba(255, 255, 255, 0.035)),
    linear-gradient(135deg, rgba(38, 198, 162, 0.08), transparent 55%);
}

.article-head h2 {
  margin: 0;
  max-width: 760px;
}

.article-lead {
  max-width: 760px;
  margin-top: 14px;
  color: var(--soft);
  font-size: 1.06rem;
  line-height: 1.72;
}

.article-proof-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}

.article-proof-grid span {
  min-height: 42px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 9px 12px;
  border: 1px solid var(--line);
  border-radius: 8px;
  color: var(--soft);
  background: rgba(6, 8, 10, 0.42);
  font-size: 0.88rem;
  font-weight: 850;
  text-align: center;
}

.article-layout {
  display: grid;
  grid-template-columns: 250px minmax(0, 1fr);
  gap: 34px;
  margin-top: 28px;
}

.article-rail {
  align-self: start;
  position: sticky;
  top: 94px;
  padding: 20px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.04);
}

.article-rail-title {
  margin-bottom: 12px;
  color: var(--text);
  font-weight: 900;
}

.article-rail-note {
  margin-top: 18px;
  padding-top: 16px;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 0.93rem;
  line-height: 1.62;
}

.article-body {
  display: grid;
  gap: 16px;
}

.article-chapter {
  display: grid;
  grid-template-columns: 58px minmax(0, 1fr);
  gap: 20px;
  padding: 0 0 24px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
}

.article-chapter:last-child {
  padding-bottom: 0;
  border-bottom: 0;
}

.article-chapter-label span {
  width: 44px;
  height: 44px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(38, 198, 162, 0.35);
  border-radius: 50%;
  color: var(--dark-text);
  background: var(--accent);
  font-weight: 950;
  box-shadow: 0 12px 28px rgba(38, 198, 162, 0.18);
}

.article-chapter-copy {
  padding: 2px 0 0;
}

.article-shell h2 {
  margin-top: 0;
  padding-top: 0;
  border-top: 0;
}

.article-chapter h2 {
  margin-bottom: 12px;
  font-size: clamp(1.42rem, 2.5vw, 2rem);
}

.article-shell h3 {
  margin-top: 22px;
}

.article-shell p,
.article-shell li {
  color: var(--soft);
  line-height: 1.76;
}

.article-shell ul,
.article-shell ol {
  padding-left: 1.25rem;
}

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

.toc-list a {
  display: block;
  padding: 9px 11px;
  border: 1px solid var(--line);
  border-radius: 8px;
  color: var(--soft);
  background: rgba(255, 255, 255, 0.04);
  font-size: 0.94rem;
}

.faq-list {
  width: min(var(--article), 100%);
  margin: 0 auto;
  display: grid;
  gap: 12px;
}

.faq-list details {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.045);
}

.faq-list summary {
  min-height: 52px;
  padding: 16px 18px;
  cursor: pointer;
  font-weight: 850;
}

.faq-list details p {
  padding: 0 18px 18px;
  color: var(--muted);
}

.page-main {
  padding: 76px max(20px, calc((100vw - var(--max)) / 2));
}

.content-page {
  width: min(var(--article), 100%);
  margin: 0 auto;
}

.page-header {
  margin-bottom: 34px;
}

.page-header h1 {
  margin: 0;
  font-size: clamp(2.1rem, 5vw, 4.2rem);
}

.entry-content > * + * {
  margin-top: 18px;
}

.entry-content h2 {
  margin-top: 34px;
}

.entry-content p,
.entry-content li {
  color: var(--soft);
}

.entry-content a {
  color: var(--accent);
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 4px;
}

.entry-content .wp-block-image {
  margin: 30px 0;
}

.entry-content .policy-grid,
.entry-content .steps-grid {
  width: 100%;
}

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

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

.search-form {
  display: flex;
  gap: 10px;
  margin: 20px 0;
}

.search-field {
  min-height: 46px;
  width: min(100%, 420px);
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 10px 12px;
  color: var(--text);
  background: var(--surface);
}

.post-list {
  width: min(var(--article), 100%);
  margin: 0 auto;
  display: grid;
  gap: 18px;
}

.post-card {
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--surface);
}

.site-footer {
  border-top: 1px solid var(--line);
  background: #050608;
}

.footer-inner {
  width: min(var(--max), calc(100% - 32px));
  margin: 0 auto;
  padding: 50px 0;
  display: grid;
  grid-template-columns: minmax(220px, 0.9fr) minmax(0, 1.4fr) minmax(220px, 0.8fr);
  gap: 32px;
}

.footer-brand img {
  max-width: 142px;
  max-height: 46px;
}

.footer-brand p,
.footer-compliance p,
.footer-contact {
  color: var(--muted);
  font-size: 0.95rem;
}

.footer-navigation ul {
  flex-wrap: wrap;
  align-items: flex-start;
}

.footer-navigation a {
  display: inline-flex;
  padding: 7px 9px;
  color: var(--soft);
}

.footer-contact {
  margin: 14px 0 0;
  padding-left: 18px;
}

.floating-entry {
  position: fixed;
  left: 50%;
  bottom: calc(18px + env(safe-area-inset-bottom));
  z-index: 999;
  width: min(460px, calc(100% - 32px));
  transform: translate(-50%, 90px);
  opacity: 0;
  pointer-events: none;
  transition: opacity 200ms ease, transform 200ms ease;
}

.floating-entry.is-visible {
  transform: translate(-50%, 0);
  opacity: 1;
  pointer-events: auto;
}

.floating-entry-button {
  width: 100%;
  min-height: 54px;
}

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

  *,
  *::before,
  *::after {
    transition-duration: 1ms !important;
    animation-duration: 1ms !important;
  }
}

@media (max-width: 1120px) {
  .header-inner {
    grid-template-columns: auto auto auto;
  }

  .menu-toggle {
    display: block;
    justify-self: end;
    order: 3;
  }

  .primary-navigation {
    position: absolute;
    left: 16px;
    right: 16px;
    top: 76px;
    display: none;
    padding: 16px;
    border: 1px solid var(--line);
    border-radius: 8px;
    background: rgba(8, 10, 13, 0.98);
  }

  .primary-navigation.is-open {
    display: block;
  }

  .primary-navigation ul {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 6px;
  }

  .header-actions {
    justify-self: end;
  }
}

@media (max-width: 860px) {
  body {
    padding-bottom: 82px;
  }

  .header-inner {
    width: min(100% - 24px, var(--max));
    grid-template-columns: auto auto;
    gap: 12px;
  }

  .site-branding,
  .brand-logo,
  .custom-logo-link {
    max-width: min(58vw, 160px);
  }

  .custom-logo,
  .custom-logo-link img,
  .site-branding img,
  .brand-logo img {
    max-width: 138px;
    max-height: 42px;
  }

  .header-actions {
    display: none;
  }

  .brand-hero,
  .quick-access-section,
  .feature-section,
  .games-section,
  .app-section,
  .bonus-section,
  .payment-section,
  .steps-section,
  .reviews-section,
  .responsible-section,
  .brand-article-section,
  .faq-section,
  .page-main {
    padding: 52px 18px;
  }

  .brand-hero {
    min-height: auto;
    padding-top: 58px;
    gap: 22px;
  }

  .hero-visual {
    width: 100%;
    padding: 7px;
    margin-top: 0;
  }

  .hero-visual img {
    aspect-ratio: 16 / 9;
    max-height: 240px;
  }

  .quick-grid,
  .quick-access-layout,
  .entry-content .policy-grid,
  .entry-content .steps-grid,
  .feature-grid,
  .games-grid,
  .steps-grid,
  .reviews-grid,
  .policy-grid,
  .sitemap-grid,
  .trust-row,
  .payment-method-row,
  .feature-section .feature-layout,
  .app-section .split-layout,
  .bonus-section .split-layout,
  .payment-section .payment-layout,
  .responsible-section .split-layout,
  .footer-inner {
    grid-template-columns: 1fr;
  }

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

  .quick-access-primary,
  .quick-access-secondary {
    grid-template-columns: 1fr;
  }

  .quick-access-secondary .quick-access-card:last-child {
    grid-column: auto;
  }

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

  .article-shell {
    width: 100%;
  }

  .article-head,
  .article-layout,
  .article-chapter {
    grid-template-columns: 1fr;
  }

  .article-head {
    padding: 24px 18px;
    gap: 18px;
  }

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

  .article-layout {
    gap: 24px;
  }

  .article-rail {
    position: static;
    padding: 18px;
  }

  .article-chapter {
    gap: 12px;
    padding-bottom: 22px;
  }

  .article-chapter-label span {
    width: 38px;
    height: 38px;
    font-size: 0.9rem;
  }

  .footer-inner {
    width: calc(100% - 32px);
  }
}

@media (max-width: 520px) {
  .quick-grid,
  .quick-access-layout,
  .quick-access-primary,
  .quick-access-secondary,
  .primary-navigation ul {
    grid-template-columns: 1fr;
  }

  .quick-access-card,
  .quick-access-card-featured {
    min-height: auto;
    padding: 18px;
  }

  .quick-access-card-head {
    gap: 10px;
  }

  .quick-access-mark {
    min-width: 40px;
    min-height: 40px;
    font-size: 0.78rem;
  }

  .brand-hero .wp-block-button,
  .brand-hero .wp-block-button__link,
  .search-form,
  .search-field,
  .search-submit {
    width: 100%;
  }

  .search-form {
    flex-direction: column;
  }
}
