:root {
  --dg-ink: #102033;
  --dg-muted: #526173;
  --dg-soft: #f5faf6;
  --dg-surface: #ffffff;
  --dg-line: #dfe8e2;
  --dg-green: #087d5a;
  --dg-green-dark: #04543f;
  --dg-teal: #0aa6a6;
  --dg-amber: #f1b83b;
  --dg-purple: #5146bd;
  --dg-coral: #d95f5f;
  --dg-shadow: 0 18px 48px rgba(8, 64, 52, 0.14);
  --dg-radius-lg: 28px;
  --dg-radius-md: 18px;
  --dg-radius-sm: 12px;
  --dg-container: min(100% - 40px, 1180px);
  --dg-narrow: min(100% - 40px, 900px);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--dg-ink);
  background: var(--dg-soft);
  font-family: "DM Sans", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 17px;
  line-height: 1.68;
  text-rendering: optimizeLegibility;
}

body.nav-open {
  overflow: hidden;
}

a {
  color: var(--dg-green-dark);
  text-decoration-thickness: 0.08em;
  text-underline-offset: 0.16em;
}

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

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

.container {
  width: var(--dg-container);
  margin-inline: auto;
}

.container.narrow,
.narrow {
  width: var(--dg-narrow);
  margin-inline: auto;
}

.screen-reader-text {
  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 {
  z-index: 1000;
  top: 12px;
  left: 12px;
  width: auto;
  height: auto;
  clip: auto;
  padding: 10px 14px;
  color: #fff;
  background: var(--dg-green-dark);
  border-radius: 10px;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255, 255, 255, 0.92);
  border-bottom: 1px solid rgba(16, 32, 51, 0.08);
  backdrop-filter: blur(14px);
}

.header-inner {
  width: var(--dg-container);
  min-height: 76px;
  margin-inline: auto;
  display: flex;
  align-items: center;
  gap: 22px;
}

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

.brand-link {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--dg-ink);
  font-weight: 800;
  text-decoration: none;
}

.brand-wordmark {
  font-size: 1.16rem;
  letter-spacing: 0;
}

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

.footer-brand img {
  max-width: 150px;
  max-height: 48px;
}

.primary-navigation {
  margin-left: auto;
}

.nav-menu,
.footer-menu {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px 14px;
  padding: 0;
  margin: 0;
}

.nav-menu a,
.footer-menu a {
  display: inline-flex;
  color: var(--dg-ink);
  font-size: 0.95rem;
  font-weight: 700;
  text-decoration: none;
  border-radius: 999px;
  padding: 9px 11px;
  transition: color 180ms ease, background-color 180ms ease;
}

.nav-menu a:hover,
.nav-menu a:focus {
  color: var(--dg-green-dark);
  background: rgba(8, 125, 90, 0.09);
}

.nav-menu a[href$="/register/"],
.nav-menu a[href$="/login/"] {
  padding-inline: 14px;
  color: #09251c;
  background: var(--dg-amber);
  box-shadow: 0 8px 20px rgba(2, 39, 31, 0.12);
}

.nav-menu a[href$="/login/"] {
  color: var(--dg-green-dark);
  background: rgba(8, 125, 90, 0.11);
  box-shadow: none;
}

.nav-menu a[href$="/register/"]:hover,
.nav-menu a[href$="/register/"]:focus {
  color: #09251c;
  background: #ffd567;
}

.nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  margin-left: auto;
  border: 1px solid var(--dg-line);
  border-radius: 12px;
  background: #fff;
  cursor: pointer;
}

.nav-toggle span:not(.screen-reader-text) {
  display: block;
  width: 20px;
  height: 2px;
  margin: 4px auto;
  background: var(--dg-ink);
  border-radius: 999px;
}

.dg-section {
  padding: 76px 0;
}

.dg-section h2 {
  margin: 0 0 16px;
  color: var(--dg-ink);
  font-size: clamp(2rem, 4vw, 3.4rem);
  line-height: 1.08;
  letter-spacing: 0;
}

.dg-section h3 {
  margin: 0 0 10px;
  font-size: 1.22rem;
  line-height: 1.28;
  letter-spacing: 0;
}

.dg-section p {
  margin: 0 0 16px;
}

.dg-kicker,
.dg-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin: 0 0 14px;
  color: var(--dg-green-dark);
  font-size: 0.82rem;
  font-weight: 800;
  letter-spacing: 0;
  text-transform: uppercase;
}

.dg-hero {
  position: relative;
  padding: 72px 0 58px;
  overflow: hidden;
  color: #fff;
  background:
    radial-gradient(circle at 82% 20%, rgba(244, 184, 59, 0.28), transparent 28%),
    linear-gradient(130deg, #07513e 0%, #078460 48%, #0aa6a6 100%);
}

.dg-hero::after {
  position: absolute;
  inset: auto 0 0;
  height: 80px;
  content: "";
  background: linear-gradient(180deg, transparent, rgba(245, 250, 246, 0.82));
  pointer-events: none;
}

.dg-hero-grid {
  position: relative;
  z-index: 1;
  width: var(--dg-container);
  margin-inline: auto;
  display: grid;
  grid-template-columns: minmax(0, 1.02fr) minmax(320px, 0.82fr);
  align-items: center;
  gap: 48px;
}

.dg-hero h1 {
  margin: 0 0 18px;
  max-width: 760px;
  color: #fff;
  font-size: clamp(2.7rem, 6vw, 5.6rem);
  line-height: 0.98;
  letter-spacing: 0;
}

.dg-hero p {
  max-width: 660px;
  color: rgba(255, 255, 255, 0.9);
  font-size: 1.1rem;
}

.dg-hero .dg-risk {
  margin-top: 14px;
  color: rgba(255, 255, 255, 0.78);
  font-size: 0.92rem;
}

.dg-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 28px;
}

.dg-button,
.wp-block-button__link,
.floating-entry__button,
.search-submit {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 12px 20px;
  border: 0;
  border-radius: 999px;
  color: #09251c;
  background: var(--dg-amber);
  box-shadow: 0 10px 28px rgba(2, 39, 31, 0.2);
  cursor: pointer;
  font-weight: 800;
  text-decoration: none;
  transition: transform 180ms ease, background-color 180ms ease, box-shadow 180ms ease;
}

.dg-button:hover,
.dg-button:focus,
.floating-entry__button:hover,
.floating-entry__button:focus {
  color: #09251c;
  background: #ffd567;
  box-shadow: 0 16px 34px rgba(2, 39, 31, 0.26);
}

.dg-link-button {
  display: inline-flex;
  align-items: center;
  min-height: 46px;
  padding: 12px 18px;
  border: 1px solid rgba(255, 255, 255, 0.44);
  border-radius: 999px;
  color: #fff;
  text-decoration: none;
  font-weight: 800;
  transition: background-color 180ms ease, border-color 180ms ease;
}

.dg-link-button:hover,
.dg-link-button:focus {
  color: #fff;
  background: rgba(255, 255, 255, 0.12);
  border-color: rgba(255, 255, 255, 0.78);
}

.dg-hero-media {
  position: relative;
  min-height: 420px;
}

.dg-hero-media img,
.dg-image-panel img {
  width: 100%;
  border-radius: 34px;
  box-shadow: var(--dg-shadow);
}

.dg-hero-card {
  position: absolute;
  right: 0;
  bottom: 10px;
  width: min(92%, 360px);
  padding: 20px;
  border: 1px solid rgba(255, 255, 255, 0.26);
  border-radius: 22px;
  color: #fff;
  background: rgba(7, 58, 46, 0.78);
  backdrop-filter: blur(14px);
}

.dg-quick {
  padding-top: 34px;
  background: var(--dg-soft);
}

.dg-quick-grid {
  width: var(--dg-container);
  margin-inline: auto;
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 14px;
}

.dg-quick-card,
.dg-card,
.dg-review-card,
.dg-step,
.dg-faq details,
.page-content details {
  border: 1px solid var(--dg-line);
  border-radius: var(--dg-radius-md);
  background: var(--dg-surface);
  box-shadow: 0 10px 28px rgba(16, 32, 51, 0.06);
}

.dg-quick-card {
  display: flex;
  flex-direction: column;
  gap: 8px;
  min-height: 132px;
  padding: 18px;
  color: var(--dg-ink);
  text-decoration: none;
}

.dg-quick-card:hover,
.dg-quick-card:focus {
  border-color: rgba(8, 125, 90, 0.45);
  color: var(--dg-green-dark);
  background: #fbfffc;
}

.dg-icon {
  display: inline-grid;
  place-items: center;
  width: 38px;
  height: 38px;
  border-radius: 14px;
  color: #fff;
  background: linear-gradient(135deg, var(--dg-green), var(--dg-teal));
  font-weight: 900;
}

.dg-feature-layout,
.dg-split,
.dg-payment-grid,
.dg-article-grid {
  width: var(--dg-container);
  margin-inline: auto;
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(320px, 1fr);
  gap: 36px;
  align-items: center;
}

.dg-feature-stack {
  display: grid;
  gap: 16px;
}

.dg-card {
  padding: 24px;
}

.dg-card strong,
.dg-quick-card strong {
  display: block;
  margin-bottom: 7px;
  font-size: 1.03rem;
}

.dg-card p,
.dg-quick-card span {
  color: var(--dg-muted);
  font-size: 0.96rem;
}

.dg-games {
  background: #eef8f5;
}

.dg-games-grid {
  width: var(--dg-container);
  margin-inline: auto;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
}

.dg-game-card {
  position: relative;
  min-height: 232px;
  padding: 26px;
  overflow: hidden;
  border-radius: 26px;
  color: #fff;
  background: linear-gradient(135deg, #102033, #087d5a);
}

.dg-game-card:nth-child(2n) {
  background: linear-gradient(135deg, #322963, #0aa6a6);
}

.dg-game-card:nth-child(3n) {
  background: linear-gradient(135deg, #214237, #d95f5f);
}

.dg-game-card p,
.dg-game-card a {
  color: rgba(255, 255, 255, 0.9);
}

.dg-game-card a {
  font-weight: 800;
}

.dg-app-band {
  background: #fff;
}

.dg-phone-panel {
  padding: 24px;
  border-radius: 34px;
  background: linear-gradient(160deg, #f1fbf7, #ffffff);
  box-shadow: var(--dg-shadow);
}

.dg-bonus-panel {
  width: var(--dg-container);
  margin-inline: auto;
  display: grid;
  grid-template-columns: minmax(0, 0.8fr) minmax(320px, 1fr);
  gap: 28px;
  align-items: stretch;
}

.dg-bonus-callout {
  padding: 32px;
  border-radius: 30px;
  color: #fff;
  background: linear-gradient(135deg, var(--dg-purple), #0aa6a6);
}

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

.dg-checklist li {
  padding: 14px 16px;
  border: 1px solid var(--dg-line);
  border-radius: 16px;
  background: #fff;
}

.dg-payment {
  background: #fbfcff;
}

.dg-payment-methods {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 22px;
}

.dg-payment-methods span {
  padding: 9px 13px;
  border: 1px solid #d7e4df;
  border-radius: 999px;
  background: #fff;
  font-weight: 800;
}

.dg-steps {
  width: var(--dg-container);
  margin-inline: auto;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
}

.dg-step {
  padding: 24px;
}

.dg-step span {
  display: inline-grid;
  place-items: center;
  width: 36px;
  height: 36px;
  margin-bottom: 12px;
  border-radius: 50%;
  color: #fff;
  background: var(--dg-green);
  font-weight: 900;
}

.dg-reviews {
  background: #f7f5ff;
}

.dg-review-grid {
  width: var(--dg-container);
  margin-inline: auto;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
}

.dg-review-card {
  padding: 24px;
}

.dg-stars {
  color: #a66b00;
  font-weight: 900;
}

.dg-notice {
  width: var(--dg-container);
  margin-inline: auto;
  padding: 30px;
  border-radius: 28px;
  color: #fff;
  background: linear-gradient(135deg, #102033, #087d5a);
}

.dg-article-section {
  background: #ffffff;
}

.dg-article-shell {
  width: min(100% - 40px, 940px);
  margin-inline: auto;
  padding: 46px;
  border: 1px solid var(--dg-line);
  border-radius: 34px;
  background: linear-gradient(180deg, #ffffff, #f7fbf9);
  box-shadow: var(--dg-shadow);
}

.dg-article-shell h2 {
  margin-top: 42px;
  font-size: clamp(1.8rem, 3vw, 2.6rem);
}

.dg-article-shell h2:first-child {
  margin-top: 0;
}

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

.dg-toc {
  padding: 22px;
  margin: 24px 0 34px;
  border: 1px solid #d9e8e2;
  border-radius: 24px;
  background: #f4fbf8;
}

.dg-toc ul {
  columns: 2;
  gap: 24px;
  margin: 0;
  padding-left: 20px;
}

.dg-article-image {
  margin: 34px 0;
}

.dg-article-image img {
  width: 100%;
  border-radius: 28px;
  box-shadow: 0 18px 42px rgba(16, 32, 51, 0.12);
}

.dg-faq {
  background: #f2f8f5;
}

.dg-faq .container {
  max-width: 940px;
}

.dg-faq-list {
  display: grid;
  gap: 14px;
}

.dg-faq details,
.page-content details {
  padding: 20px 22px;
}

.dg-faq summary,
.page-content summary {
  color: var(--dg-ink);
  cursor: pointer;
  font-weight: 900;
}

.dg-faq details p,
.page-content details p {
  margin: 12px 0 0;
  color: var(--dg-muted);
}

.page-hero {
  padding: 78px 0 46px;
  background: linear-gradient(135deg, #f2fbf7, #ffffff);
  border-bottom: 1px solid var(--dg-line);
}

.page-hero h1 {
  margin: 0;
  font-size: clamp(2.2rem, 5vw, 4rem);
  line-height: 1.05;
  letter-spacing: 0;
}

.page-content {
  padding: 56px 0 84px;
}

.page-content h2 {
  margin-top: 42px;
  font-size: clamp(1.7rem, 3vw, 2.4rem);
  line-height: 1.15;
  letter-spacing: 0;
}

.page-content h3 {
  margin-top: 28px;
}

.page-content .wp-block-image img {
  border-radius: 24px;
  box-shadow: var(--dg-shadow);
}

.page-content .wp-block-group {
  margin: 28px 0;
}

.page-card-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
  margin: 30px 0;
}

.page-card {
  padding: 22px;
  border: 1px solid var(--dg-line);
  border-radius: 20px;
  background: #fff;
}

.dg-hero-upgraded {
  padding-top: 78px;
}

.dg-hero-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 22px;
}

.dg-hero-badges span {
  display: inline-flex;
  align-items: center;
  min-height: 34px;
  padding: 7px 12px;
  border: 1px solid rgba(255, 255, 255, 0.35);
  border-radius: 999px;
  color: #fff;
  background: rgba(255, 255, 255, 0.12);
  font-size: 0.88rem;
  font-weight: 800;
}

.dg-hero-mockup .dg-hero-image img {
  aspect-ratio: 14 / 9;
  object-fit: cover;
}

.dg-section-intro {
  max-width: 760px;
  color: var(--dg-muted);
}

.dg-quick-rich-grid,
.dg-game-rich-grid,
.dg-bonus-grid,
.dg-safety-grid,
.dg-app-cards {
  width: var(--dg-container);
  margin-inline: auto;
  display: grid;
  gap: 18px;
}

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

.dg-rich-card,
.dg-mini-card,
.dg-game-rich-card,
.dg-bonus-card,
.dg-safe-card,
.dg-warning-box,
.dg-note-panel {
  border: 1px solid var(--dg-line);
  border-radius: 22px;
  background: #fff;
  box-shadow: 0 12px 28px rgba(16, 32, 51, 0.07);
}

.dg-rich-card {
  padding: 24px;
}

.dg-rich-card h3,
.dg-game-rich-card h3 {
  margin-top: 14px;
}

.dg-rich-card p {
  color: var(--dg-muted);
  font-size: 0.96rem;
}

.dg-mini-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 40px;
  margin-top: 8px;
  padding: 9px 14px;
  border-radius: 999px;
  color: var(--dg-green-dark);
  background: rgba(8, 125, 90, 0.1);
  font-weight: 900;
  text-decoration: none;
}

.dg-mini-button:hover,
.dg-mini-button:focus {
  color: #09251c;
  background: var(--dg-amber);
}

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

.dg-game-rich-card {
  min-height: 300px;
  padding: 26px;
  color: var(--dg-ink);
}

.dg-game-rich-card p,
.dg-game-rich-card small {
  color: var(--dg-muted);
}

.dg-game-rich-card small {
  display: block;
  min-height: 46px;
  margin: 16px 0;
  font-weight: 800;
}

.dg-game-rich-card a {
  font-weight: 900;
}

.dg-game-icon {
  display: inline-grid;
  place-items: center;
  width: 54px;
  height: 54px;
  border-radius: 18px;
  color: #fff;
  background: linear-gradient(135deg, var(--dg-green), var(--dg-teal));
  font-size: 0.92rem;
  font-weight: 950;
}

.dg-game-rich-card:nth-child(2n) .dg-game-icon {
  background: linear-gradient(135deg, var(--dg-purple), var(--dg-teal));
}

.dg-game-rich-card:nth-child(3n) .dg-game-icon {
  background: linear-gradient(135deg, var(--dg-coral), var(--dg-amber));
  color: #15110a;
}

.dg-app-guide-grid,
.dg-responsible-grid {
  width: var(--dg-container);
  margin-inline: auto;
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(300px, 0.9fr);
  gap: 34px;
  align-items: center;
}

.dg-app-cards {
  width: 100%;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  margin: 26px 0;
}

.dg-mini-card,
.dg-safe-card,
.dg-bonus-card {
  padding: 20px;
}

.dg-mini-card strong,
.dg-safe-card strong,
.dg-bonus-card strong {
  display: block;
  margin-bottom: 8px;
}

.dg-mini-card span,
.dg-bonus-card span,
.dg-safe-card p {
  color: var(--dg-muted);
  font-size: 0.94rem;
}

.dg-phone-visual,
.dg-payment-visual,
.dg-inline-visual,
.dg-responsible-grid figure,
.dg-page-visual {
  margin: 0;
}

.dg-phone-visual img,
.dg-payment-visual img,
.dg-inline-visual img,
.dg-responsible-grid img,
.dg-page-visual img {
  width: 100%;
  border-radius: 28px;
  box-shadow: var(--dg-shadow);
}

.dg-inline-visual {
  margin-top: 26px;
}

.dg-bonus-grid {
  width: 100%;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  margin-bottom: 20px;
}

.dg-terms-check {
  padding: 24px;
  border: 1px solid var(--dg-line);
  border-radius: 24px;
  background: #fffdf5;
}

.dg-terms-check strong {
  display: block;
  margin-bottom: 12px;
  font-size: 1.12rem;
}

.dg-terms-check ul {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.dg-terms-check li,
.dg-checklist-block li {
  position: relative;
  padding-left: 24px;
}

.dg-terms-check li::before,
.dg-checklist-block li::before {
  position: absolute;
  left: 0;
  color: var(--dg-green);
  content: "✓";
  font-weight: 950;
}

.dg-payment-icon-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 10px;
  margin: 20px 0 24px;
}

.dg-payment-icon-grid span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 50px;
  padding: 10px;
  border: 1px solid #d7e4df;
  border-radius: 16px;
  background: #fff;
  font-weight: 900;
  text-align: center;
}

.dg-safety-grid {
  width: 100%;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin: 24px 0;
}

.dg-safe-card p {
  margin-bottom: 0;
}

.dg-review-text {
  color: var(--dg-muted);
}

.dg-responsible-band {
  background: #eef8f5;
}

.dg-responsible-grid {
  padding: 28px;
  border-radius: 32px;
  background: #fff;
  box-shadow: var(--dg-shadow);
}

.dg-page-intro,
.dg-page-section {
  margin: 0 0 44px;
}

.dg-page-intro > p:first-of-type {
  margin-top: 26px;
  color: var(--dg-ink);
  font-size: 1.08rem;
}

.dg-page-section h2 {
  margin-top: 0;
}

.dg-page-card-grid {
  width: 100%;
}

.dg-phone-page-visual {
  max-width: 620px;
  margin-inline: auto;
}

.dg-wide-visual {
  margin-top: 26px;
}

.dg-two-col {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}

.dg-warning-box,
.dg-note-panel {
  padding: 24px;
}

.dg-warning-box h3 {
  margin-top: 0;
}

.dg-danger-box {
  border-color: rgba(217, 95, 95, 0.35);
  background: #fff7f7;
}

.dg-responsive-table {
  overflow-x: auto;
  margin: 24px 0;
}

.dg-responsive-table table {
  width: 100%;
  min-width: 620px;
  border-collapse: collapse;
  border: 1px solid var(--dg-line);
  border-radius: 18px;
  overflow: hidden;
  background: #fff;
}

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

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

.dg-checklist-block {
  margin: 22px 0;
}

.dg-terms-check-wide {
  margin-bottom: 24px;
}

.site-footer {
  padding: 58px 0 118px;
  color: rgba(255, 255, 255, 0.84);
  background: #101827;
}

.footer-inner {
  width: var(--dg-container);
  margin-inline: auto;
  display: grid;
  grid-template-columns: minmax(280px, 0.9fr) minmax(280px, 1fr);
  gap: 34px;
}

.site-footer a,
.site-footer .brand-wordmark {
  color: #fff;
}

.footer-brand p,
.footer-contact p,
.footer-bottom p {
  margin: 10px 0 0;
  color: rgba(255, 255, 255, 0.72);
  font-size: 0.95rem;
}

.footer-contact span {
  color: #fff;
  font-weight: 800;
}

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

.footer-menu {
  justify-content: flex-end;
}

.footer-menu a:hover,
.footer-menu a:focus {
  color: #ffe082;
}

.footer-bottom {
  width: var(--dg-container);
  margin: 34px auto 0;
  padding-top: 20px;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
}

.floating-entry {
  position: fixed;
  z-index: 120;
  left: 50%;
  bottom: calc(18px + env(safe-area-inset-bottom));
  transform: translateX(-50%);
  width: min(100% - 28px, 420px);
  padding: 10px;
  border: 1px solid rgba(255, 255, 255, 0.48);
  border-radius: 999px;
  background: rgba(6, 38, 32, 0.82);
  box-shadow: 0 16px 40px rgba(4, 30, 24, 0.28);
  backdrop-filter: blur(14px);
}

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

.floating-entry__button {
  width: 100%;
}

.archive-list {
  padding: 50px 0 84px;
}

.archive-card {
  padding: 26px;
  margin-bottom: 18px;
  border: 1px solid var(--dg-line);
  border-radius: 22px;
  background: #fff;
}

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

.search-field {
  min-height: 46px;
  width: min(100%, 420px);
  border: 1px solid var(--dg-line);
  border-radius: 999px;
  padding: 10px 16px;
  font: inherit;
}

@media (max-width: 1040px) {
  .primary-navigation {
    display: none;
    position: fixed;
    inset: 76px 16px auto;
    max-height: calc(100vh - 104px);
    overflow-y: auto;
    padding: 18px;
    border: 1px solid var(--dg-line);
    border-radius: 22px;
    background: #fff;
    box-shadow: var(--dg-shadow);
  }

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

  .nav-toggle {
    display: block;
  }

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

  .nav-menu a {
    padding: 12px;
    background: #f5faf6;
  }

  .dg-hero-grid,
  .dg-feature-layout,
  .dg-split,
  .dg-payment-grid,
  .dg-bonus-panel,
  .dg-article-grid,
  .dg-app-guide-grid,
  .dg-responsible-grid {
    grid-template-columns: 1fr;
  }

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

  .dg-games-grid,
  .dg-game-rich-grid,
  .dg-steps,
  .dg-review-grid,
  .dg-quick-rich-grid,
  .dg-safety-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

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

  .footer-navigation,
  .footer-menu {
    justify-self: start;
    justify-content: flex-start;
  }
}

@media (max-width: 640px) {
  body {
    font-size: 16px;
  }

  :root {
    --dg-container: min(100% - 28px, 1180px);
    --dg-narrow: min(100% - 28px, 900px);
  }

  .header-inner {
    min-height: 66px;
  }

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

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

  .dg-section {
    padding: 52px 0;
  }

  .dg-hero {
    padding: 52px 0 42px;
  }

  .dg-hero h1 {
    font-size: clamp(2.35rem, 14vw, 3.45rem);
  }

  .dg-actions,
  .search-form {
    flex-direction: column;
  }

  .dg-button,
  .dg-link-button,
  .search-submit {
    width: 100%;
  }

  .dg-hero-media {
    min-height: unset;
  }

  .dg-hero-card {
    position: static;
    width: 100%;
    margin-top: 16px;
  }

  .dg-quick-grid,
  .dg-quick-rich-grid,
  .dg-games-grid,
  .dg-game-rich-grid,
  .dg-steps,
  .dg-review-grid,
  .page-card-grid,
  .dg-app-cards,
  .dg-bonus-grid,
  .dg-safety-grid,
  .dg-two-col {
    grid-template-columns: 1fr;
  }

  .dg-hero-badges {
    gap: 8px;
  }

  .dg-hero-badges span {
    width: calc(50% - 4px);
    justify-content: center;
    text-align: center;
  }

  .dg-rich-card,
  .dg-game-rich-card,
  .dg-mini-card,
  .dg-bonus-card,
  .dg-safe-card,
  .dg-warning-box,
  .dg-note-panel,
  .dg-terms-check {
    padding: 20px;
  }

  .dg-payment-icon-grid,
  .dg-terms-check ul {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .dg-toc ul {
    columns: 1;
  }

  .dg-article-shell {
    padding: 26px 20px;
    border-radius: 24px;
  }

  .site-footer {
    padding-bottom: 110px;
  }
}
