/* Online Casino India — site styles */
:root {
  --brand: #1f7ae0;
  --brand-dark: #165fb3;
  --brand-light: #5aa5f2;
  --accent: #f6c61c;
  --accent-warm: #ffb020;
  --accent-soft: rgba(246, 198, 28, .5);
  --go: #12d94a;

  --bg: #172630;
  --bg-card: #0d1c27;
  --bg-elevated: #2b4050;
  --bg-panel: #0f1727;
  --bg-footer: #08171f;

  --text: #b3bdd0;
  --text-muted: #d2d6dc;
  --text-dim: #7f8ea3;
  --text-on-dark: #ffffff;

  --border: #2b4050;
  --border-strong: #3d5567;
  --border-soft: rgba(255, 255, 255, .1);

  --font-body: "Figtree", "Noto Sans Devanagari", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --font-heading: var(--font-body);

  --r-sm: 8px; --r-md: 12px; --r-lg: 20px; --r-xl: 28px; --r-pill: 999px; --card-radius: 12px;
  --shadow-soft: 0 2px 10px rgba(0, 0, 0, .18);
  --shadow-card: 0 8px 24px rgba(3, 12, 20, .28);
  --shadow-card-hover: 0 14px 34px rgba(3, 12, 20, .42);
  --shadow-cta: 0 6px 18px rgba(31, 122, 224, .35);

  --container: 1480px;
  --offsets: 30px;
}

*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }
html { font-size: 17px; scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  display: flex; flex-direction: column; min-height: 100vh; overflow-x: hidden;
  font-family: var(--font-body); color: var(--text); background-color: var(--bg);
}
main { flex-grow: 1; }
img { height: auto; max-width: 100%; }
a { color: var(--text-on-dark); font-weight: 400; font-size: 16px; }
a:hover { text-decoration: none; }
p { margin-top: 1rem; font-size: 16px; font-weight: 500; line-height: 20px; }
b, strong { color: var(--text-on-dark); }
button { font-family: inherit; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }

h1, h2, h3, h4 { margin-top: 0; color: var(--text-on-dark); font-family: var(--font-heading); }
h1 { margin-bottom: 32px; font-size: 34px; font-weight: 800; line-height: 40px; }
h2 { margin-bottom: 1rem; font-size: 30px; font-weight: 800; line-height: 36px; }
h3 { margin-bottom: 1rem; font-size: 1.6rem; font-weight: 600; line-height: 2.1rem; }
h4 { font-size: 17px; font-weight: 800; line-height: 24px; }

.container { margin: 0 auto; padding: 0 var(--offsets); max-width: var(--container); width: 100%; }
.container .container { padding-right: 0; padding-left: 0; }
.get-image { display: flex; align-items: center; margin: 0; line-height: 0; }

ol.wp-block-list, ul.wp-block-list { margin-top: 1rem; padding-left: 25px; font-size: 1rem; font-weight: 400; line-height: 1.5rem; }
.wp-block-list li + li { margin-top: .25rem; }

/* ---------- header ---------- */
.page-header { background-color: var(--bg-panel); position: relative; z-index: 50; }
.page-header__container { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; margin: 0 auto; padding: 8px var(--offsets); max-width: var(--container); }
.page-header__logo, .footer__brand { display: inline-flex; align-items: center; gap: 10px; flex-shrink: 0; text-decoration: none; }
.page-header__logo img { height: 44px; width: auto; object-fit: contain; }
.page-header__wordmark { color: var(--text-on-dark); font-size: 15px; font-weight: 900; line-height: 1.02; letter-spacing: -.01em; text-transform: uppercase; max-width: 5.2rem; }
.page-header__wordmark b { display: block; color: var(--accent); font-size: 12px; font-weight: 800; letter-spacing: .28em; }
.page-header__nav { flex: 1 1; margin-left: 12px; }
.page-header__buttons { display: flex; flex-shrink: 0; margin-left: 20px; }
.page-header__button { display: flex; justify-content: center; align-items: center; border-radius: var(--r-sm); padding: 10px 24px; font-size: 16px; font-weight: 700; line-height: 20px; text-decoration: none; transition: opacity .2s ease-in-out; }
.page-header__button + .page-header__button { margin-left: 5px; }
.page-header__button--first { color: var(--text-on-dark); background-color: var(--bg-elevated); }
.page-header__button--second { color: var(--text-on-dark); background-color: var(--brand); }
.page-header__button:hover { opacity: .7; }
.page-header__burger { display: none; flex-direction: column; align-items: center; justify-content: space-between; width: 35px; height: 25px; background: none; border: 0; cursor: pointer; }
.page-header__burger span { display: block; border-radius: 20%; width: 100%; height: 3px; background-color: var(--text); transform-origin: center; transition: 250ms; }
.page-header__burger.active span:nth-of-type(1) { transform: translateY(11px) rotateZ(45deg); }
.page-header__burger.active span:nth-of-type(2) { transform: scaleX(0); }
.page-header__burger.active span:nth-of-type(3) { transform: translateY(-11px) rotateZ(-45deg); }

.main-nav__list { display: flex; flex-wrap: wrap; align-items: center; justify-content: flex-start; list-style: none; height: 100%; }
.main-nav__item { display: flex; align-items: center; justify-content: center; height: 100%; }
.main-nav__item--utility { margin-left: auto; }
.main-nav__link { position: relative; display: flex; align-items: center; justify-content: center; margin: 0 .5rem; padding: .5rem; font-size: 14px; font-weight: 500; line-height: 28px; text-decoration: none; color: var(--text); transition: color .3s ease-in-out; cursor: pointer; }
.main-nav__link.active, .main-nav__link:hover, .main-nav__item--has-children:hover > .main-nav__link { color: var(--text-on-dark); }
.main-nav__link.active::after { content: ""; position: absolute; left: .5rem; right: .5rem; bottom: 4px; height: 2px; border-radius: 2px; background: var(--brand); }
.main-nav__item--has-children { position: relative; }
.main-nav__item--has-children .main-nav__link { margin-right: 0; padding-right: 4px; }
.sub-menu__arrow { display: flex; align-items: center; background: none; border: 0; color: var(--text); cursor: pointer; }
.sub-menu__arrow svg { transition: transform 250ms; }
.sub-menu { position: absolute; top: 100%; left: 0; z-index: 100; list-style: none; margin-top: .5rem; border-radius: 5px; padding: .5rem 1rem; background-color: var(--bg-panel); box-shadow: var(--shadow-card); opacity: 0; transition: opacity 250ms; pointer-events: none; }
/* transparent bridge so the pointer keeps :hover while crossing the gap */
.sub-menu::before { content: ""; position: absolute; left: 0; top: -.6rem; width: 100%; height: .6rem; }
.sub-menu__link { display: flex; justify-content: flex-start; margin: .5rem 0; font-size: 14px; font-weight: 500; line-height: 28px; white-space: nowrap; text-decoration: none; color: var(--text); transition: color .3s ease-in-out; }
.sub-menu__link.active, .sub-menu__link:hover { color: var(--text-on-dark); }
@media (min-width: 1025px) {
  .main-nav__item--has-children:hover .sub-menu,
  .main-nav__item--has-children:focus-within .sub-menu { opacity: 1; pointer-events: auto; }
  .main-nav__item--has-children:hover .sub-menu__arrow svg { transform: rotateZ(180deg); }
  .sub-menu__arrow { pointer-events: none; }
}

/* ---------- breadcrumbs / page meta ---------- */
.breadcrumbs { padding: 4px 0; background: var(--border-soft); }
.breadcrumbs__list { display: flex; flex-wrap: wrap; align-items: center; list-style: none; }
.breadcrumbs__item { margin-right: 4px; }
.breadcrumbs__item + .breadcrumbs__item::before { content: "›"; margin-right: 4px; color: var(--text-dim); }
.breadcrumbs__link { display: inline-flex; align-items: center; padding: 4px 0; font-size: 14px; font-weight: 500; line-height: 20px; text-decoration: none; color: var(--brand-light); transition: color .3s ease-in-out; }
.breadcrumbs__link--no-active, a.breadcrumbs__link:hover { color: var(--text); }
.page-meta { margin-top: 12px; font-size: 14px; color: var(--text-dim); }
.page-meta-author { color: var(--text-muted); font-weight: 700; }

/* ---------- content flow ---------- */
.page-main { padding-top: 20px; }
.page-main > .breadcrumbs { margin-top: -20px; }
.wrapper { margin-top: 64px; }
.wrapper:not(:last-child) { margin-bottom: 2rem; }
.wrapper > :not(:first-child) { margin-top: 2rem; }
.wrapper > .wp-block-heading { margin-right: auto; margin-left: auto; padding: 0 var(--offsets); max-width: var(--container); }
.page-main > .text-image._h1-block { margin-top: 40px; }

.text-image__container { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 20px; align-items: center; }
.text-image__container > .wp-block-heading { grid-column: 1 / 3; }
.text-image__item { grid-column: 1 / 2; grid-row: 2; min-width: 0; align-self: start; }
.text-image__item > :first-child { margin-top: 0; }
.text-image__container > .get-image { grid-column: 2 / 3; grid-row: 2; justify-content: center; border-radius: var(--r-md); overflow: hidden; }
.text-image__container > .get-image img { width: 100%; border-radius: var(--r-md); }
.text-image__container.reversed > .text-image__item { grid-column: 2 / 3; }
.text-image__container.reversed > .get-image { grid-column: 1 / 2; }
.text-image._h1-block > .text-image__item, .text-image._h1-block > .get-image { grid-row: 1; }
.text-image._h1-block h1 { margin-bottom: 20px; }
/* art not generated yet: text simply fills the row */
.text-image__container:not(:has(> .get-image)) > .text-image__item { grid-column: 1 / 3; }
.plain-card > .wp-block-heading + p { margin-top: 0; }

.content-button { margin-top: 24px; }
.content-button.align-center { text-align: center; }
.content-button--pair { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; }
.content-button__control { display: inline-block; min-width: 328px; border: 1px solid var(--brand); border-radius: var(--r-sm); padding: 14px; font-size: 16px; font-weight: 700; line-height: 20px; text-align: center; text-decoration: none; color: var(--text-on-dark); background: var(--brand); transition: .2s ease-in-out; cursor: pointer; }
.content-button__control:hover { color: var(--brand-light); background: transparent; }
.content-button--pair .content-button__control { min-width: 240px; }

/* ---------- table of contents ---------- */
.toc { display: flex; flex-direction: column; align-items: center; width: 100%; border-radius: var(--r-md); border: 2px solid var(--border); background: var(--bg-card); padding: 16px; }
.toc__title { display: flex; justify-content: space-between; align-items: center; width: 100%; background: none; border: 0; color: var(--text-on-dark); font-size: 1.6rem; font-weight: 600; line-height: 2.1rem; text-align: left; cursor: pointer; }
.toc__title::after { content: ""; width: 32px; min-width: 32px; height: 32px; border-radius: 50%; background: var(--bg-elevated) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M7 14l5-5 5 5' fill='none' stroke='%23fff' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 20px no-repeat; transform: rotate(180deg); transition: transform 250ms; }
.toc.active .toc__title { margin-bottom: 12px; }
.toc.active .toc__title::after { transform: none; }
.toc__list { display: flex; flex-wrap: wrap; gap: 12px; list-style: none; overflow: hidden; width: 100%; max-height: 0; }
.toc.active .toc__list { max-height: none; }
.toc__link { display: flex; align-items: center; gap: 6px; padding: 6px 12px; border-radius: var(--r-sm); border: 1px solid var(--border); text-decoration: none; color: var(--text-on-dark); transition: color .3s ease-in-out, border-color .3s ease-in-out; }
.toc__link::before { content: ""; width: 8px; min-width: 8px; height: 8px; border-radius: 2px; background: var(--accent); transform: rotate(45deg); }
.toc__link:hover, .toc__link:focus-visible { color: var(--accent); border-color: var(--accent); }

/* ---------- tables ---------- */
.wp-block-table { overflow: auto; }
.wp-block-table::-webkit-scrollbar { height: 5px; }
.wp-block-table table { margin-top: 24px; border-collapse: collapse; width: 100%; border-radius: var(--r-md); border: 2px solid var(--border); background: var(--bg-card); }
.wp-block-table th { padding: .6rem 1rem; text-align: center; color: var(--text-on-dark); background-color: var(--bg-elevated); font-size: 15px; font-weight: 800; }
.wp-block-table td { border: 1px solid var(--border); padding: .6rem 1rem; font-size: 15px; font-weight: 500; line-height: 20px; }
.wp-block-table td > span { display: block; }
.wp-block-table td > span + span { margin-top: .35rem; }

/* ---------- fact cards (homepage "about" table) ---------- */
.about { display: flex; flex-wrap: wrap; gap: 20px; }
.about__card { display: flex; flex-direction: column; gap: 16px; flex: 1 1 calc(25% - 20px); min-width: 250px; border-radius: var(--r-md); background: var(--bg-card); padding: 16px; }
.about__title { margin: 0; color: var(--text-on-dark); font-size: 23px; font-weight: 800; line-height: 28px; }
.about__body { display: flex; flex-wrap: wrap; gap: 8px; margin: 0; color: var(--text-on-dark); font-size: 14px; font-weight: 500; line-height: 20px; }
.about__chip { padding: 6px 12px; border-radius: 4px; border: 1px solid var(--border); }
.about__chip b { color: var(--go); font-weight: 800; }
.about__body--pairs { flex-direction: column; gap: 0; }
.about__body--pairs .about__chip { padding: 12px 0; border: 0; border-radius: 0; }
.about__body--pairs .about__chip:first-child { padding-top: 0; }
.about__body--pairs .about__chip:not(:last-child) { border-bottom: 1px solid var(--border); }

/* ---------- cards (H3 grids) ---------- */
.cards__list { display: grid; gap: 20px; list-style: none; }
.floor-grid--cols-1 { grid-template-columns: minmax(0, 1fr); }
.floor-grid--cols-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.floor-grid--cols-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.floor-grid--cols-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.floor-grid--rich { grid-template-columns: minmax(0, 1fr); }
.cards__item { display: flex; gap: 16px; border-radius: var(--r-md); border: 2px solid var(--border); background-color: var(--bg-card); overflow: hidden; transition: border-color .2s ease-in-out, transform .2s ease-in-out; }
.cards__item:hover { border-color: var(--border-strong); transform: translateY(-2px); }
.cards__item .get-image { flex: 0 0 38%; align-self: stretch; }
.cards__item .get-image img { width: 100%; height: 100%; min-height: 200px; object-fit: cover; }
.cards__content { display: flex; flex-direction: column; gap: 12px; padding: 16px; min-width: 0; flex: 1 1; }
.cards__item .get-image + .cards__content { padding-left: 0; }
.cards__title { margin: 0; color: var(--accent); font-size: 23px; font-weight: 800; line-height: 28px; }
.cards__content p { margin: 0; color: var(--text-muted); }
.cards__content .wp-block-list { margin-top: 0; color: var(--text-muted); }
.cards__content .content-button { margin-top: 4px; text-align: left; }
.cards__content .content-button__control { min-width: 240px; }
.cards__content .wp-block-table table { margin-top: 0; }
.floor-grid--rich .cards__content { padding: 2.4rem; }
.floor-grid--rich h4 { margin-top: .5rem; padding-top: 1rem; border-top: 2px solid var(--brand); font-size: 13px; letter-spacing: .18em; text-transform: uppercase; }
.floor-grid--rich .wp-block-list { list-style: none; padding-left: 0; display: grid; gap: 10px; }
.floor-grid--rich .wp-block-list li { position: relative; margin: 0; padding: 1rem 1.15rem 1rem 1.45rem; border: 1px solid var(--border); border-radius: var(--r-md); background: var(--bg); overflow: hidden; }
.floor-grid--rich .wp-block-list li::before { content: ""; position: absolute; left: 0; top: 0; bottom: 0; width: 3px; background: linear-gradient(180deg, var(--brand), var(--accent)); }

/* ---------- step lists ---------- */
.how-to { display: flex; flex-direction: column; gap: 16px; list-style: none; }
.how-to__item { display: flex; flex-direction: column; border-radius: var(--r-sm); border: 2px solid var(--border); background-color: var(--bg-card); overflow: hidden; }
.how-to__title { margin: 0; padding: 12px 16px 10px; background-color: var(--bg-elevated); font-size: 17px; font-weight: 800; line-height: 24px; color: var(--text-on-dark); }
.how-to__content { padding: 16px; }
.how-to__content > :first-child { margin-top: 0; }
.how-to__content .content-button { text-align: left; }
.how-to__content .content-button__control { min-width: 240px; }

/* ---------- FAQ ---------- */
.faq__item { border-radius: var(--r-md); border: 2px solid var(--border); background: var(--bg-card); padding: 16px; transition: border-color .2s ease-in-out; }
.faq__item:not(:last-child) { margin-bottom: 16px; }
.faq__item:has(details[open]) { border-color: var(--border-strong); }
.faq__question { display: flex; align-items: center; gap: 8px; cursor: pointer; list-style: none; }
.faq__question::-webkit-details-marker { display: none; }
.faq__question::before { content: "?"; display: flex; align-items: center; justify-content: center; width: 32px; min-width: 32px; height: 32px; border-radius: 50%; background: var(--brand); color: #fff; font-weight: 900; }
.faq__question::after { content: ""; width: 32px; min-width: 32px; height: 32px; border-radius: 50%; background: var(--bg-elevated) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M7 14l5-5 5 5' fill='none' stroke='%23fff' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 20px no-repeat; transform: rotate(180deg); transition: transform 250ms; }
.faq__details[open] .faq__question { padding-bottom: 16px; border-bottom: 1px solid var(--border); }
.faq__details[open] .faq__question::after { transform: none; }
.faq__question-title { flex: 1 1; margin: 0; color: var(--text-on-dark); font-size: 17px; font-weight: 800; line-height: 24px; }
.faq__answer { padding-top: 16px; }
.faq__answer > :first-child { margin-top: 0; }

/* ---------- footer ---------- */
.page-footer { width: calc(100% - 2 * var(--offsets)); max-width: calc(var(--container) - 2 * var(--offsets)); margin: 33px auto 0; padding: 33px 40px 40px; background-color: var(--bg-footer); border-radius: var(--r-md) var(--r-md) 0 0; }
.footer-container { display: flex; flex-wrap: wrap; gap: 32px; padding: 0; max-width: none; }
.footer-col { display: flex; flex-direction: column; }
.footer__logo { align-items: flex-start; gap: 12px; }
.footer__brand img { height: 76px; width: auto; object-fit: contain; }
.footer__brand .page-header__wordmark { font-size: 19px; max-width: 7rem; }
.footer__brand .page-header__wordmark b { font-size: 14px; }
.page-footer__copyright { margin-top: 4px; font-size: 14px; line-height: 16px; color: var(--text); }
.footer-col_nav { flex: 1 1; justify-content: center; }
.footer-nav__list { display: grid; grid-template-columns: repeat(2, minmax(0, max-content)); gap: 12px 48px; list-style: none; }
.footer-nav__link { display: inline-block; font-size: 16px; font-weight: 500; line-height: 20px; text-decoration: none; color: var(--text); transition: color .3s ease-in-out; }
.footer-nav__link:hover { color: var(--text-on-dark); }
.footer-col_trust { gap: 12px; justify-content: center; }
.footer-trust { display: flex; flex-wrap: wrap; gap: 8px; list-style: none; }
.footer-trust li { padding: 6px 12px; border-radius: 4px; border: 1px solid var(--border); color: var(--text-on-dark); font-size: 13px; font-weight: 700; line-height: 20px; }
.footer-trust--pay li { color: var(--accent); }
.footer-note { max-width: none; margin-top: 28px; padding: 20px 0 0; border-top: 1px solid var(--border); }
.footer-note p { margin: 0; font-size: 13px; line-height: 19px; color: var(--text-dim); }

.mobile-button { position: fixed; left: 0; right: 0; bottom: 0; z-index: 100; display: grid; grid-template-columns: auto 1fr auto; grid-template-rows: auto auto; align-items: center; gap: 0 8px; border-radius: var(--r-md) var(--r-md) 0 0; padding: 8px; background-color: var(--bg-elevated); color: #fff; text-decoration: none; }
.mobile-button img { grid-column: 1 / 2; grid-row: 1 / 3; width: 48px; height: 48px; border-radius: 10px; }
.mobile-button__title { grid-column: 2 / 3; grid-row: 1 / 2; font-size: 14px; font-weight: 900; line-height: 20px; text-transform: uppercase; }
.mobile-button__bonus { grid-column: 2 / 3; grid-row: 2 / 3; color: var(--accent); font-size: 14px; font-weight: 900; line-height: 20px; text-transform: uppercase; }
.mobile-button__btn { grid-column: 3 / 4; grid-row: 1 / 3; padding: 10px 16px; border-radius: var(--r-sm); background-color: var(--accent); color: #173d2c; font-size: 14px; font-weight: 800; line-height: 20px; }
@media (min-width: 768px) { .mobile-button { display: none; } }

.scroll-top { position: fixed; right: 10px; bottom: 80px; z-index: 10; opacity: 0; pointer-events: none; transition: opacity .3s ease-in-out; }
.scroll-top.is-visible { opacity: 1; pointer-events: auto; }
.scroll-top__button { display: flex; align-items: center; justify-content: center; border: 0; border-radius: 5px; width: 50px; height: 50px; box-shadow: 0 0 20px 5px rgba(20, 40, 55, .35); background-color: var(--go); color: #fff; transition: transform .3s ease-in-out; cursor: pointer; }
.scroll-top__button:hover { transform: translateY(3px); }

/* ---------- 404 ---------- */
.page-404 { display: flex; flex-direction: column; align-items: center; padding-top: 3rem; padding-bottom: 3rem; text-align: center; }
.page-404__title { margin: 0; font-size: clamp(6rem, 18vw, 15rem); font-style: italic; font-weight: 900; line-height: 1; background: linear-gradient(120deg, var(--brand-light), var(--accent)); -webkit-background-clip: text; background-clip: text; color: transparent; }
.page-404__subtitle { margin: 0; font-size: 2rem; font-weight: 400; line-height: 2.5rem; }

/* ---------- reveal ---------- */
.reveal { opacity: 0; transform: translateY(14px); transition: opacity .5s ease, transform .5s ease; transition-delay: var(--reveal-delay, 0ms); }
.reveal.is-visible { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; transition: none; }
  .cards__item, .scroll-top__button { transition: none; }
}

body::-webkit-scrollbar { width: 10px; }
body::-webkit-scrollbar-track { background-color: var(--bg); }
body::-webkit-scrollbar-thumb { border: 1px solid var(--bg); border-radius: 10px; background: #556f7f; }

/* ---------- responsive ---------- */
@media (max-width: 1280px) { :root { --offsets: 20px; } }
@media (max-width: 1200px) {
  .floor-grid--cols-4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .cards__item .get-image { flex-basis: 34%; }
}
@media (max-width: 1100px) {
  .page-header__nav { flex: 1 1 100%; order: 10; margin: 8px 0 0; }
  .main-nav__list { justify-content: center; }
  .main-nav__item--utility { margin-left: 0; }
}
@media (max-width: 1024px) {
  :root { --offsets: 16px; }
  html { font-size: 16px; }
  .page-header__container { position: relative; padding: 8px var(--offsets); }
  .page-header__nav { order: 3; margin: 0; }
  .page-header__buttons { order: 2; margin-left: auto; }
  .page-header__burger { display: flex; order: 3; margin-left: 20px; }
  .main-nav { position: absolute; left: 0; right: 0; top: 100%; max-height: calc(100vh - 60px); overflow-y: auto; background-color: var(--bg-panel); opacity: 0; transition: opacity 250ms; pointer-events: none; }
  .main-nav.active { z-index: 9999; opacity: 1; pointer-events: auto; }
  .main-nav__list { flex-direction: column; align-items: flex-start; margin: 20px 16px 12px; }
  .main-nav__item { width: 100%; flex-wrap: wrap; justify-content: flex-start; }
  .main-nav__item:not(:last-child) { border-bottom: 1px solid var(--border); }
  .main-nav__link { justify-content: flex-start; margin: 0; padding: 8px 0; flex: 1 1; }
  .main-nav__link.active::after { display: none; }
  .sub-menu__arrow { padding: 12px 6px 12px 30px; }
  .sub-menu { position: static; display: none; width: 100%; margin: 0; padding: 0 0 8px 24px; box-shadow: none; opacity: 1; pointer-events: auto; }
  .sub-menu::before { display: none; }
  .main-nav__item--has-children.active .sub-menu { display: block; }
  .main-nav__item--has-children.active .sub-menu__arrow svg { transform: rotateZ(180deg); }
  .sub-menu__link { margin: 0; padding: 6px 0; line-height: 20px; }

  .text-image__container { grid-template-columns: minmax(0, 1fr); gap: 16px; }
  .text-image__container > .wp-block-heading, .text-image__item, .text-image__container.reversed > .text-image__item,
  .text-image__container > .get-image, .text-image__container.reversed > .get-image,
  .text-image._h1-block > .text-image__item, .text-image._h1-block > .get-image { grid-column: 1 / 2; grid-row: auto; }
  .text-image__container > .wp-block-heading { margin-bottom: 0; }
  .page-footer { padding: 16px; }
  .footer-container { flex-direction: column; }
  .footer-col_nav { justify-content: flex-start; }
}
@media (max-width: 900px) {
  .floor-grid--cols-3, .floor-grid--cols-4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .wrapper { margin-top: 48px; }
}
@media (max-width: 767px) {
  h1 { font-size: 28px; line-height: 32px; margin-bottom: 12px; }
  h2 { font-size: 25px; line-height: 32px; }
  .page-main > .text-image._h1-block { margin-top: 20px; }
  .content-button { margin-top: 1rem; }
  .content-button__control { min-width: 0; }
  .toc__list { flex-direction: column; }
  .toc__link { width: 100%; }
  .toc.active .toc__list { margin-top: 1rem; }
  .cards__item { flex-direction: column; gap: 0; }
  .cards__item .get-image { flex-basis: auto; }
  .cards__item .get-image img { height: 220px; min-height: 0; }
  .cards__item .get-image + .cards__content { padding: 16px; }
  .floor-grid--rich .cards__content { padding: 1.25rem; }
  .page-footer { padding-bottom: 84px; }
  .scroll-top { bottom: 90px; }
}
@media (max-width: 560px) {
  .floor-grid--cols-2, .floor-grid--cols-3, .floor-grid--cols-4 { grid-template-columns: minmax(0, 1fr); }
  .about__card { flex-basis: 100%; }
  .footer-nav__list { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 480px) {
  .page-header__container { flex-wrap: wrap; }
  .page-header__buttons { order: 5; margin: 12px 0 4px; width: 100%; }
  .page-header__button { flex: 1 1; padding: 10px 12px; }
  .content-button__control, .content-button--pair .content-button__control { width: 100%; }
  .main-nav { top: 60px; }
}

/* about page check-list: block-level items so "Title: body" wraps as one line of text */
.feature-check-list { list-style: none; padding-left: 0; }
.feature-check-list li { display: block; position: relative; padding-left: 2.3rem; margin-top: .75rem; }
.feature-check-list li::before { content: "✓"; position: absolute; left: 0; top: .1rem; display: flex; align-items: center; justify-content: center; width: 1.5rem; height: 1.5rem; border-radius: 50%; background: var(--accent); color: #173d2c; font-size: .8rem; font-weight: 900; }

/* ---------- game grid ---------- */
.slots .slots__list { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 20px; list-style: none; }
.slots .slots__item { position: relative; display: flex; flex-direction: column; border-radius: var(--r-md); border: 2px solid var(--border); background-color: var(--bg-card); overflow: hidden; transition: border-color .2s ease-in-out, transform .2s ease-in-out; }
.slots .slots__item:hover { border-color: var(--border-strong); transform: translateY(-2px); }
.slots .get-image { display: block; }
.slots .get-image img { display: block; width: 100%; height: auto; object-fit: contain; }
.slots .slots__content { position: relative; display: flex; flex-direction: column; gap: 8px; width: 100%; margin-top: auto; padding: 16px; background-color: rgba(0, 0, 0, .36); }
.slots .slots__title { margin: 0; color: var(--text-on-dark); font-size: 17px; font-weight: 800; line-height: 24px; text-align: center; }
.slots__button { display: flex; align-items: center; justify-content: center; padding: 10px 12px; border-radius: var(--r-sm); border: 0; font-size: 16px; font-weight: 700; line-height: 20px; text-decoration: none; cursor: pointer; transition: opacity .2s ease-in-out; }
.slots__button._cash { color: var(--text-on-dark); background-color: var(--brand); }
.slots__button._cash:hover { opacity: .7; }
@media (max-width: 1200px) { .slots .slots__list { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (max-width: 850px) { .slots .slots__list { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 600px) {
  .slots .slots__content { background-color: var(--bg-card); padding: 8px 12px 12px; }
  .slots .slots__title { text-align: left; }
}

/* ---------- list layouts ---------- */
.section-flow { margin-top: 1.5rem; }
.section-flow > :first-child { margin-top: 0; }
.tile-grid { display: grid; gap: 16px; margin-top: 1rem; padding-left: 0; list-style: none; }
.tile-grid--cols-1 { grid-template-columns: minmax(0, 1fr); }
.tile-grid--cols-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.tile-grid--cols-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.tile-grid--cols-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.tile-grid--w1 { grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); }
.tile-grid--w2 { grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); }
.tile-grid--w3 { grid-template-columns: repeat(auto-fill, minmax(310px, 1fr)); }
.tile-grid__item { margin: 0; border: 2px solid var(--border); border-radius: var(--r-md); background: var(--bg-card); padding: 18px 20px; font-size: 16px; font-weight: 500; line-height: 22px; transition: border-color .2s ease-in-out, transform .2s ease-in-out; }
.tile-grid__item:hover { border-color: var(--border-strong); transform: translateY(-2px); }

/* short labels: compact chips */
.tile-grid--chip .tile-grid__item { display: flex; align-items: center; gap: 10px; padding: 12px 16px; color: var(--text-on-dark); font-weight: 700; }
.tile-grid--chip .tile-grid__item::before { content: ""; flex: none; width: 9px; height: 9px; border-radius: 2px; background: var(--accent); transform: rotate(45deg); }

/* "Lead-in: body" items — the lead-in is already <strong> in the source */
.tile-grid--feature .tile-grid__item { padding-top: 16px; border-top: 2px solid var(--brand); }
.tile-grid--feature .tile-grid__item > strong:first-child { display: block; margin-bottom: 8px; color: var(--accent); font-size: 17px; font-weight: 800; line-height: 24px; }

/* full sentences: ticked cards */
.tile-grid--prose .tile-grid__item { position: relative; padding-left: 52px; }
.tile-grid--prose .tile-grid__item::before { content: "✓"; position: absolute; left: 18px; top: 17px; display: flex; align-items: center; justify-content: center; width: 22px; height: 22px; border-radius: 50%; background: var(--accent); color: #173d2c; font-size: .8rem; font-weight: 900; }

/* ordered procedures stay stacked so the sequence still reads top to bottom */
.step-list { display: grid; gap: 12px; margin-top: 1rem; padding-left: 0; list-style: decimal inside; }
.step-list__item { margin: 0; border: 2px solid var(--border); border-left: 3px solid var(--brand); border-radius: var(--r-md); background: var(--bg-card); padding: 16px 20px; font-size: 16px; font-weight: 500; line-height: 22px; }
.step-list__item::marker { color: var(--accent); font-weight: 800; }

/* lists that stay inline inside a card */
.cards__content .wp-block-list, .floor-grid--rich .wp-block-list { margin-top: .75rem; }

@media (max-width: 1100px) { .tile-grid--cols-4 { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 900px) { .tile-grid--cols-3 { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 560px) {
  .tile-grid--cols-2, .tile-grid--cols-3, .tile-grid--cols-4 { grid-template-columns: minmax(0, 1fr); }
  .tile-grid--w3 { grid-template-columns: minmax(0, 1fr); }
}

/* A list sharing the row with the art gets half the width, so it needs fewer columns. */
.text-image__item .tile-grid--cols-2,
.text-image__item .tile-grid--cols-3,
.text-image__item .tile-grid--cols-4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.text-image__item .tile-grid--w1 { grid-template-columns: repeat(auto-fill, minmax(118px, 1fr)); }
.text-image__item .tile-grid--w2 { grid-template-columns: repeat(auto-fill, minmax(160px, 1fr)); }
.text-image__item .tile-grid--w3 { grid-template-columns: repeat(auto-fill, minmax(210px, 1fr)); }
.text-image__item .tile-grid__item { padding: 14px 16px; font-size: 15px; line-height: 21px; }
.text-image__item .tile-grid--prose .tile-grid__item { padding-left: 46px; }
.text-image__item .tile-grid--prose .tile-grid__item::before { left: 14px; top: 14px; }
.text-image__item .step-list__item { padding: 13px 16px; font-size: 15px; line-height: 21px; }
@media (max-width: 1024px) {
  .text-image__item .tile-grid--cols-2,
  .text-image__item .tile-grid--cols-3,
  .text-image__item .tile-grid--cols-4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 560px) {
  .text-image__item .tile-grid--cols-2,
  .text-image__item .tile-grid--cols-3,
  .text-image__item .tile-grid--cols-4 { grid-template-columns: minmax(0, 1fr); }
}

/* The art matches the height of the text column (cropping as needed) rather than
   forcing a fixed 5:3 box that leaves the shorter column empty. The image is taken
   out of row sizing — otherwise its own intrinsic height is what sets the row. */
@media (min-width: 1025px) {
  .text-image__container > .get-image { position: relative; display: block; align-self: stretch; min-height: 180px; max-height: 520px; }
  .text-image__container > .get-image img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
  .text-image._h1-block > .get-image { min-height: 330px; }
}

/* Steps whose label ("STEP 1") comes from the source carry no added marker. */
.step-list--labelled { list-style: none; }
.step-list--labelled .step-list__item > strong:first-child,
.wp-block-list--labelled li > strong:first-child { display: block; margin-bottom: 6px; color: var(--accent); font-size: 15px; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; }

/* Short lists inside a card run in columns instead of one long stack. */
.floor-grid--rich .wp-block-list--chip { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.floor-grid--rich .wp-block-list--labelled { grid-template-columns: minmax(0, 1fr); list-style: none; }
@media (max-width: 900px) { .floor-grid--rich .wp-block-list--chip { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 560px) { .floor-grid--rich .wp-block-list--chip { grid-template-columns: minmax(0, 1fr); } }

/* A short chip list sits on one row rather than wrapping at a fixed min width. */
.tile-grid--fit { grid-template-columns: repeat(var(--cols, 4), minmax(0, 1fr)); }
@media (max-width: 1100px) { .tile-grid--fit { grid-template-columns: repeat(auto-fill, minmax(165px, 1fr)); } }
@media (max-width: 560px) { .tile-grid--fit { grid-template-columns: repeat(auto-fill, minmax(140px, 1fr)); } }

/* One item is not a sequence: no marker, no indent. */
.wp-block-list--single { list-style: none; padding-left: 0; margin-top: .75rem; }

/* A single card left over on the last row stretches across instead of leaving a hole. */
.tile-grid--cols-2 > .tile-grid__item:last-child:nth-child(odd),
.tile-grid--cols-3 > .tile-grid__item:last-child:nth-child(3n + 1),
.tile-grid--cols-4 > .tile-grid__item:last-child:nth-child(4n + 1) { grid-column: 1 / -1; }

/* beside the art every grid is two columns, so the parity rule is the only one that holds */
.text-image__item .tile-grid > .tile-grid__item:last-child:nth-child(odd) { grid-column: 1 / -1; }
.text-image__item .tile-grid > .tile-grid__item:last-child:nth-child(even) { grid-column: auto; }

@media (max-width: 1100px) {
  .tile-grid--cols-4 > .tile-grid__item:last-child:nth-child(odd) { grid-column: 1 / -1; }
  .tile-grid--cols-4 > .tile-grid__item:last-child:nth-child(even) { grid-column: auto; }
}
@media (max-width: 900px) {
  .tile-grid--cols-3 > .tile-grid__item:last-child:nth-child(odd) { grid-column: 1 / -1; }
  .tile-grid--cols-3 > .tile-grid__item:last-child:nth-child(even) { grid-column: auto; }
}
.tile-grid__item--span { grid-column: 1 / -1; }
