:root {
  --bg: #061916;
  --bg-deep: #03100f;
  --surface: #0d2924;
  --surface-2: #123d34;
  --surface-3: #f5f0df;
  --text: #f7fff9;
  --muted: #bad2c8;
  --ink: #13201d;
  --line: rgba(183, 234, 207, 0.18);
  --line-strong: rgba(244, 196, 83, 0.38);
  --gold: #f4c453;
  --gold-2: #ffd978;
  --teal: #36d2a0;
  --coral: #ff7a5c;
  --shadow: 0 24px 70px rgba(1, 16, 14, 0.42);
  --radius-sm: 12px;
  --radius-md: 18px;
  --radius-lg: 28px;
  --container: 1180px;
  --article: 900px;
  color-scheme: dark;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background:
    radial-gradient(circle at top left, rgba(54, 210, 160, 0.14), transparent 34rem),
    linear-gradient(180deg, var(--bg), var(--bg-deep) 38rem, #081512);
  color: var(--text);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 17px;
  line-height: 1.68;
  letter-spacing: 0;
  min-width: 320px;
  padding-bottom: 96px;
}

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

a:hover {
  color: var(--gold-2);
}

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

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

.skip-link:focus {
  clip: auto;
  clip-path: none;
  height: auto;
  left: 1rem;
  padding: 0.75rem 1rem;
  top: 1rem;
  width: auto;
  z-index: 1000;
}

.site-header {
  background: rgba(3, 16, 15, 0.9);
  border-bottom: 1px solid var(--line);
  position: sticky;
  top: 0;
  z-index: 100;
  backdrop-filter: blur(18px);
}

.site-header__inner {
  align-items: center;
  display: grid;
  gap: 1rem;
  grid-template-columns: auto 1fr auto;
  margin: 0 auto;
  max-width: var(--container);
  min-height: 74px;
  padding: 0.75rem 1.25rem;
}

.site-branding,
.brand-link,
.custom-logo-link {
  align-items: center;
  display: inline-flex;
  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: 180px;
  max-height: 56px;
  object-fit: contain;
}

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

.site-nav {
  justify-self: end;
}

.primary-menu,
.footer-menu {
  display: flex;
  flex-wrap: wrap;
  gap: 0.25rem;
  list-style: none;
  margin: 0;
  padding: 0;
}

.primary-menu a {
  border-radius: 999px;
  color: var(--muted);
  display: inline-flex;
  font-size: 0.91rem;
  font-weight: 700;
  padding: 0.58rem 0.78rem;
}

.primary-menu a:hover,
.primary-menu .current-menu-item > a {
  background: rgba(54, 210, 160, 0.12);
  color: var(--text);
}

.header-actions {
  align-items: center;
  display: flex;
  gap: 0.5rem;
  justify-content: flex-end;
}

.header-actions__link,
.header-actions__button,
.bet3k-button,
.wp-block-button__link,
.search-submit,
.floating-entry a {
  border-radius: 999px;
  cursor: pointer;
  display: inline-flex;
  font-weight: 800;
  justify-content: center;
  min-height: 44px;
  padding: 0.72rem 1.05rem;
  transition: background-color 180ms ease, border-color 180ms ease, color 180ms ease, transform 180ms ease;
}

.header-actions__link {
  border: 1px solid var(--line);
  color: var(--text);
}

.header-actions__button,
.bet3k-button,
.wp-block-button__link,
.search-submit,
.floating-entry a {
  background: linear-gradient(135deg, var(--gold), #f4a83d);
  border: 1px solid rgba(255, 230, 156, 0.64);
  color: #171206;
}

.header-actions__button:hover,
.bet3k-button:hover,
.wp-block-button__link:hover,
.search-submit:hover,
.floating-entry a:hover {
  color: #171206;
  transform: translateY(-1px);
}

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

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

.site-main {
  overflow: hidden;
}

.bet3k-home > .wp-block-group,
.home-section {
  padding: 76px 1.25rem;
}

.bet3k-home > .wp-block-group > .wp-block-group__inner-container,
.section-inner,
.content-page,
.listing-main {
  margin: 0 auto;
  max-width: var(--container);
}

.bet3k-hero {
  background:
    linear-gradient(135deg, rgba(6, 25, 22, 0.94), rgba(18, 61, 52, 0.88)),
    radial-gradient(circle at 70% 18%, rgba(244, 196, 83, 0.26), transparent 24rem);
  border-bottom: 1px solid var(--line);
  min-height: 680px;
  padding-top: 66px;
}

.bet3k-hero .wp-block-columns {
  align-items: center !important;
  gap: clamp(2rem, 5vw, 4.5rem);
  margin: 0 auto;
  max-width: var(--container);
}

.hero-kicker,
.section-kicker,
.content-page__eyebrow,
.listing-hero p {
  color: var(--gold-2);
  font-size: 0.78rem;
  font-weight: 900;
  letter-spacing: 0.08em;
  margin: 0 0 0.8rem;
  text-transform: uppercase;
}

h1,
h2,
h3 {
  color: var(--text);
  line-height: 1.12;
  margin: 0 0 1rem;
}

h1 {
  font-size: clamp(2.35rem, 6vw, 4.8rem);
  max-width: 12ch;
}

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

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

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

.bet3k-hero p {
  max-width: 680px;
}

.hero-actions {
  align-items: center;
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 1.5rem;
}

.hero-actions a:not(.bet3k-button) {
  border: 1px solid var(--line);
  border-radius: 999px;
  color: var(--text);
  font-weight: 800;
  min-height: 44px;
  padding: 0.72rem 1.05rem;
}

.trust-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
  margin-top: 1.5rem;
}

.trust-chips span,
.payment-strip span {
  background: rgba(255, 255, 255, 0.07);
  border: 1px solid var(--line);
  border-radius: 999px;
  color: var(--text);
  display: inline-flex;
  font-size: 0.88rem;
  font-weight: 800;
  padding: 0.48rem 0.72rem;
}

.hero-visual img,
.image-panel img,
.article-shell img,
.content-page img {
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
}

.hero-visual {
  position: relative;
}

.hero-visual::after {
  background: linear-gradient(135deg, rgba(54, 210, 160, 0.22), rgba(244, 196, 83, 0.22));
  border-radius: var(--radius-lg);
  bottom: -18px;
  content: "";
  left: 26px;
  position: absolute;
  right: -18px;
  top: 26px;
  z-index: -1;
}

.quick-access .wp-block-columns,
.feature-panels,
.game-grid,
.reviews-grid,
.step-grid,
.faq-grid {
  display: grid !important;
  gap: 1rem;
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.quick-card,
.feature-card,
.game-card,
.review-card,
.step-card,
.faq-card,
.trust-card {
  background: linear-gradient(180deg, rgba(18, 61, 52, 0.92), rgba(8, 29, 25, 0.92));
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  padding: clamp(1.15rem, 2.4vw, 1.65rem);
}

.quick-card a,
.game-card a,
.inline-link {
  color: var(--gold-2);
  font-weight: 850;
}

.feature-split,
.app-split,
.payment-split,
.bonus-band,
.responsible-band {
  align-items: center;
  display: grid;
  gap: clamp(1.5rem, 4vw, 3rem);
  grid-template-columns: 1fr 0.9fr;
}

.bonus-band,
.responsible-band {
  background: linear-gradient(135deg, rgba(244, 196, 83, 0.13), rgba(54, 210, 160, 0.08));
  border: 1px solid var(--line-strong);
  border-radius: var(--radius-lg);
  padding: clamp(1.4rem, 4vw, 2.4rem);
}

.payment-strip {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
  margin: 1rem 0;
}

.editorial-trust {
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  display: grid;
  gap: 0.8rem;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  padding: 1rem;
}

.editorial-trust p {
  margin: 0;
}

.article-band {
  background:
    linear-gradient(180deg, rgba(245, 240, 223, 0.98), rgba(228, 245, 236, 0.96));
  color: var(--ink);
}

.article-shell {
  margin: 0 auto;
  max-width: var(--article);
}

.article-shell h2,
.article-shell h3,
.article-shell p,
.article-shell li {
  color: var(--ink);
}

.article-shell h2 {
  border-top: 1px solid rgba(19, 32, 29, 0.16);
  padding-top: 2rem;
}

.toc-box {
  background: rgba(6, 25, 22, 0.92);
  border: 1px solid rgba(244, 196, 83, 0.4);
  border-radius: var(--radius-md);
  margin: 1.2rem 0 2rem;
  padding: 1.2rem;
}

.toc-box h2,
.toc-box a,
.toc-box li {
  color: var(--text);
}

.toc-box ul {
  columns: 2;
  gap: 2rem;
  margin-bottom: 0;
}

.bet3k-faq details {
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  margin-bottom: 0.75rem;
  padding: 1rem 1.1rem;
}

.bet3k-faq summary {
  color: var(--text);
  cursor: pointer;
  font-weight: 850;
}

.content-page {
  padding: 70px 1.25rem;
}

.content-page--narrow {
  max-width: 860px;
}

.content-page__header {
  background: linear-gradient(135deg, rgba(18, 61, 52, 0.92), rgba(6, 25, 22, 0.92));
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  margin-bottom: 1.4rem;
  padding: clamp(1.5rem, 4vw, 2.6rem);
}

.content-page__header h1 {
  max-width: 16ch;
}

.content-page__body {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: clamp(1.25rem, 4vw, 2.5rem);
}

.content-page__body h2 {
  border-top: 1px solid var(--line);
  margin-top: 2.2rem;
  padding-top: 1.6rem;
}

.content-page__body h2:first-child {
  border-top: 0;
  margin-top: 0;
  padding-top: 0;
}

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

.content-page__body li,
.article-shell li {
  margin-bottom: 0.45rem;
}

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

table {
  border-collapse: collapse;
  width: 100%;
}

td,
th {
  border: 1px solid var(--line);
  padding: 0.75rem;
  text-align: left;
}

th {
  background: rgba(54, 210, 160, 0.12);
  color: var(--text);
}

.article-band th,
.article-band td {
  border-color: rgba(19, 32, 29, 0.18);
}

.article-band th {
  background: rgba(6, 25, 22, 0.08);
  color: var(--ink);
}

.site-footer {
  background: #020b0a;
  border-top: 1px solid var(--line);
  padding: 44px 1.25rem;
}

.site-footer__inner {
  display: grid;
  gap: 1.5rem;
  grid-template-columns: 1.1fr 2fr 1fr;
  margin: 0 auto;
  max-width: var(--container);
}

.footer-menu {
  column-gap: 0.8rem;
  row-gap: 0.5rem;
}

.footer-menu a {
  color: var(--muted);
  font-size: 0.92rem;
}

.footer-contact p,
.footer-brand p {
  font-size: 0.92rem;
  margin: 0.4rem 0;
}

.floating-entry {
  bottom: max(18px, env(safe-area-inset-bottom));
  left: 50%;
  opacity: 0;
  pointer-events: none;
  position: fixed;
  transform: translate(-50%, 18px);
  transition: opacity 180ms ease, transform 180ms ease;
  z-index: 120;
}

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

.floating-entry a {
  box-shadow: 0 18px 44px rgba(0, 0, 0, 0.42);
  min-width: min(78vw, 260px);
}

.listing-main {
  padding: 70px 1.25rem;
}

.listing-hero,
.post-card {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  margin-bottom: 1rem;
  padding: 1.5rem;
}

.search-form {
  display: flex;
  gap: 0.75rem;
  margin-top: 1rem;
}

.search-field {
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid var(--line);
  border-radius: 999px;
  color: var(--text);
  min-height: 44px;
  padding: 0.72rem 1rem;
}

@media (max-width: 1040px) {
  .site-header__inner {
    grid-template-columns: auto auto;
  }

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

  .site-nav,
  .header-actions {
    display: none;
    grid-column: 1 / -1;
    justify-self: stretch;
  }

  .site-nav.is-open,
  .site-nav.is-open + .header-actions {
    display: flex;
  }

  .primary-menu,
  .header-actions {
    align-items: stretch;
    flex-direction: column;
  }

  .primary-menu a,
  .header-actions a {
    width: 100%;
  }

  .quick-access .wp-block-columns,
  .feature-panels,
  .game-grid,
  .reviews-grid,
  .step-grid,
  .faq-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .feature-split,
  .app-split,
  .payment-split,
  .bonus-band,
  .responsible-band,
  .site-footer__inner {
    grid-template-columns: 1fr;
  }
}

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

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

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

  .bet3k-home > .wp-block-group,
  .home-section {
    padding: 52px 1rem;
  }

  .bet3k-hero {
    min-height: auto;
    padding-top: 46px;
  }

  .quick-access .wp-block-columns,
  .feature-panels,
  .game-grid,
  .reviews-grid,
  .step-grid,
  .faq-grid,
  .editorial-trust {
    grid-template-columns: 1fr;
  }

  .toc-box ul {
    columns: 1;
  }

  .hero-actions,
  .search-form {
    align-items: stretch;
    flex-direction: column;
  }

  .hero-actions a,
  .bet3k-button,
  .wp-block-button__link,
  .search-submit {
    width: 100%;
  }

  .content-page,
  .listing-main {
    padding: 48px 1rem;
  }
}

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

