/* ==========================================================================
   Diwa X — extra.css
   The only components the reference stylesheet does not already carry:
   the deposit/withdrawal table. Written in site.css's own token language.
   ========================================================================== */
/* The reference ends the games section at the CTA; ours continues into the
   category grid, so the button needs breathing room underneath. */
.home-games .home-games-cta { margin-bottom: 2.6rem; }

/* Wide section banner — used where a section has too many items for the
   reference's two-column split to stay proportional. */
.section-banner {
  width: 100%; margin: 0 0 1.6rem; border-radius: var(--r-xl); overflow: hidden;
  border: 1px solid var(--border); box-shadow: var(--shadow-card); aspect-ratio: 24 / 7;
}
.section-banner img { width: 100%; height: 100%; object-fit: cover; display: block; }
@media (max-width: 700px) { .section-banner { aspect-ratio: 16 / 9; } }

/* Keep the split image from stretching when the copy column runs long. */
.split-layout .split-media { align-self: start; }

.pay-table-wrap { width: 100%; overflow-x: auto; }
.pay-table {
  width: 100%; border-collapse: separate; border-spacing: 0 0.6rem;
  font-size: 0.95rem; min-width: 860px;
}
.pay-table th {
  font-family: var(--font-body); font-size: 0.72rem; font-weight: 700;
  letter-spacing: 0.14em; text-transform: uppercase; color: var(--accent-warm);
  text-align: left; padding: 0 1rem 0.4rem; white-space: nowrap;
}
.pay-table td {
  background: var(--bg-card); padding: 1rem; color: var(--text-muted);
  border-top: 1px solid var(--border-soft); border-bottom: 1px solid var(--border-soft);
  vertical-align: middle;
}
.pay-table td:first-child {
  border-radius: var(--r-md) 0 0 var(--r-md); border-left: 1px solid var(--border-soft);
  color: var(--text); font-weight: 700;
}
.pay-table td:last-child {
  border-radius: 0 var(--r-md) var(--r-md) 0; border-right: 1px solid var(--border-soft);
}
.pay-table tbody tr:hover td { background: var(--bg-elevated); }
@media (max-width: 560px) { .pay-table { min-width: 720px; } }

/* ==========================================================================
   Elementor bridge — makes native widgets inherit the reference styling
   ========================================================================== */
/* Elementor 4 uses --row-gap/--column-gap; the reference supplies its own spacing */
.e-con { --gap: 0px; --row-gap: 0px; --column-gap: 0px; }
.e-con > .elementor-widget { width: 100%; }

/* Heading widgets used as spans/labels inherit everything from their wrapper
   (the wrapper is what carries .kicker / .cell-wm / .cell-tag / .num ...). */
.elementor-widget-heading.inh .elementor-heading-title {
  color: inherit; font: inherit; letter-spacing: inherit;
  text-transform: inherit; font-style: inherit; background: none;
}
/* Real headings keep the display face. */
.elementor-widget-heading h1.elementor-heading-title,
.elementor-widget-heading h2.elementor-heading-title,
.elementor-widget-heading h3.elementor-heading-title,
.elementor-widget-heading h4.elementor-heading-title {
  font-family: var(--font-heading);
}

/* Text-editor widgets behave like the reference's bare <p> flow. */
.elementor-widget-text-editor > .elementor-widget-container > :last-child { margin-bottom: 0; }

/* Image widgets standing in for <figure>. */
.elementor-widget-image .elementor-widget-container { height: 100%; }
.elementor-widget-image img { display: block; }
.elementor-widget-image.split-media > .elementor-widget-container,
.elementor-widget-image.divider-figure > .elementor-widget-container,
.elementor-widget-image.section-banner > .elementor-widget-container {
  height: 100%; border-radius: inherit; overflow: hidden;
}
.elementor-widget-image.split-media img,
.elementor-widget-image.divider-figure img,
.elementor-widget-image.section-banner img { width: 100%; height: 100%; object-fit: cover; }

/* Button widgets — the reference skins, applied to the inner anchor. */
.elementor-widget-button .elementor-button {
  display: inline-flex; align-items: center; justify-content: center; gap: 0.55rem;
  font-family: var(--font-body); font-weight: 700; font-size: 0.98rem;
  padding: 1.02rem 2rem; border-radius: var(--r-pill); line-height: 1;
  border: 1.5px solid transparent; white-space: nowrap; text-align: center;
  transition: transform .18s ease, box-shadow .18s ease, background .18s ease, color .18s ease;
}
.elementor-widget-button.b-primary .elementor-button {
  background: var(--grad-green); color: #06210a; box-shadow: var(--shadow-cta);
}
.elementor-widget-button.b-primary .elementor-button:hover {
  transform: translateY(-2px); box-shadow: 0 16px 38px -8px rgba(95,226,58,.55);
}
.elementor-widget-button.b-secondary .elementor-button {
  background: var(--grad-gold); color: #2a1c02; box-shadow: 0 10px 26px -10px rgba(224,169,58,.5);
}
.elementor-widget-button.b-secondary .elementor-button:hover {
  transform: translateY(-2px); box-shadow: 0 16px 34px -8px rgba(224,169,58,.6);
}
.elementor-widget-button.b-ghost .elementor-button {
  background: rgba(255,255,255,.04); color: var(--text); border-color: var(--border-strong);
}
.elementor-widget-button.b-ghost .elementor-button:hover {
  background: rgba(255,255,255,.08); border-color: var(--brand);
  color: var(--brand-light); transform: translateY(-2px);
}
.elementor-widget-button.b-sm .elementor-button { padding: .85rem 1.6rem; font-size: .98rem; }

/* Button rows behave like the reference flex rows. */
.hero-actions .elementor-widget, .fp-actions .elementor-widget,
.support-actions .elementor-widget, .home-games-cta .elementor-widget,
.header-actions .elementor-widget, .hero-proof .elementor-widget { width: auto; }

/* pill/label widgets hug their text instead of filling the column */
.hero-inner .elementor-widget.hero-badge { width: auto; }
.hero-proof { width: auto; margin-inline: auto; }

/* Absolutely-positioned decorative labels: Elementor's .elementor-widget
   position:relative outranks the reference's rule, so restate them here. */
.bento-cell .elementor-widget.cell-wm,
.floor-tile .elementor-widget.tile-wm,
.card .elementor-widget.card-wm {
  position: absolute; right: .4rem; bottom: -.5rem; z-index: 0; width: auto;
}
.support-card .elementor-widget.support-wm {
  position: absolute; right: -1rem; bottom: -2.5rem; z-index: 0; width: auto;
}
.footer-promo .elementor-widget.fp-wm {
  position: absolute; left: 50%; top: 50%; transform: translate(-50%,-50%);
  z-index: 0; width: auto;
}
.hero .elementor-widget.hero-bg,
.hero .elementor-widget.hero-glow,
.hero .elementor-widget.hero-decor { position: absolute; inset: 0; width: 100%; }
.arthero .elementor-widget.bgart { position: absolute; inset: 0; width: 100%; }
.e-con > .elementor-widget.kicker { width: auto; }

/* Grid parents from site.css must keep their direct children as grid items. */
.hero .elementor-widget.hero-decor-wrap { position: absolute; inset: 0; width: 100%; pointer-events: none; }
.hero .elementor-widget.hero-bg img { height: 100%; object-fit: cover; }
.hero .elementor-widget.hero-bg > .elementor-widget-container { height: 100%; }
.sec-tile .elementor-widget.sec-ico { width: 56px; margin: 0 auto 1rem; }
.reward-vip > .e-con { width: auto; }
.divider-aside { display: block; }
.hero-proof .elementor-widget.stack .elementor-heading-title { display: inline-flex; }
.split-layout > .elementor-widget.split-media { width: auto; }
.gm-row .elementor-widget { width: 100%; }

/* Game marquee — native Image Carousel dressed as the reference's .gm-tile row.
   Linear timing turns swiper's stepping into a continuous drift. */
.gm-carousel .swiper-wrapper { transition-timing-function: linear !important; }
.gm-carousel .elementor-image-carousel { align-items: stretch; }
.gm-carousel .swiper-slide-inner { margin: 0; display: block; }
.gm-carousel .swiper-slide-image,
.gm-carousel .swiper-slide img {
  width: 100%; aspect-ratio: 3 / 4; object-fit: cover; display: block;
  border-radius: var(--r-md); border: 1px solid var(--border);
  box-shadow: var(--shadow-card); background: var(--bg-card);
  transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease;
}
.gm-carousel .swiper-slide:hover img {
  transform: translateY(-6px); box-shadow: var(--shadow-card-hover); border-color: var(--brand);
}
.gm-row + .gm-row { margin-top: 12px; }
.games-marquee .gm-row { overflow: hidden; }

/* ==========================================================================
   HFE navigation-menu → the reference nav skin
   ========================================================================== */
.main-nav .hfe-nav-menu, .main-nav .hfe-nav-menu__layout-horizontal ul.hfe-nav-menu {
  display: flex; align-items: center; gap: .25rem; justify-content: center;
}
.main-nav .hfe-nav-menu li.menu-item { position: relative; }
.main-nav .hfe-nav-menu a.hfe-menu-item,
.main-nav .hfe-nav-menu a.hfe-sub-menu-item {
  position: relative; display: inline-flex; align-items: center; gap: .34rem;
  padding: .6rem .95rem; border-radius: var(--r-sm);
  color: rgba(246,241,230,.86); font-weight: 600; font-size: .97rem;
  font-family: var(--font-body); transition: color .16s ease; background: none;
}
.main-nav .hfe-nav-menu a.hfe-menu-item::after {
  content: ""; position: absolute; left: .95rem; right: .95rem; bottom: .45rem;
  height: 2px; border-radius: 2px; background: var(--grad-brand);
  transform: scaleX(0); transform-origin: left; transition: transform .24s ease;
}
.main-nav .hfe-nav-menu a.hfe-menu-item:hover { color: var(--accent-soft); }
.main-nav .hfe-nav-menu a.hfe-menu-item:hover::after { transform: scaleX(1); }
.main-nav .hfe-nav-menu ul.sub-menu {
  background: var(--bg-elevated); border: 1px solid var(--border-strong);
  border-radius: var(--r-lg); padding: .5rem; min-width: 260px;
  box-shadow: 0 28px 60px -18px rgba(0,0,0,.8), 0 0 0 1px rgba(252,222,91,.12);
}
.main-nav .hfe-nav-menu ul.sub-menu a.hfe-sub-menu-item {
  border-radius: var(--r-md); width: 100%;
}
.main-nav .hfe-nav-menu ul.sub-menu a.hfe-sub-menu-item:hover { background: rgba(95,226,58,.08); }
.main-nav .hfe-nav-menu a.hfe-menu-item .sub-arrow { margin-left: .3rem; }

/* utility strip + footer columns as plain link lists */
.header-top-links .hfe-nav-menu, .footer-col .hfe-nav-menu { display: flex; gap: 1.4rem; }
.footer-col .hfe-nav-menu { flex-direction: column; gap: .6rem; }
.header-top-links a.hfe-menu-item, .footer-col a.hfe-menu-item {
  color: var(--text-muted); font-weight: 600; font-size: .8rem; padding: 0;
  font-family: var(--font-body); transition: color .16s;
}
.footer-col a.hfe-menu-item { font-size: .92rem; font-weight: 500; }
.header-top-links a.hfe-menu-item:hover { color: var(--accent-soft); }
.footer-col a.hfe-menu-item:hover { color: var(--accent-soft); }
@media (min-width: 1025px) {
  .site-header .hfe-nav-menu__toggle, .site-header .hfe-nav-menu-icon { display: none; }
}

/* ---- header/footer geometry (Elementor containers vs the reference's divs) ---- */
.site-header .e-con { padding: 0; }
.site-header .container { flex-wrap: nowrap; height: auto; }
.header-top .container { min-height: var(--header-top-h); }
.header-main .container { min-height: var(--header-main-h); }
.header-main > .e-con > .e-con, .header-top > .e-con > .e-con { width: auto; }
.site-header .main-nav { flex: 1 1 auto; }
.site-header .header-actions, .site-header .header-top-links { flex: 0 0 auto; }
.brand-logo img { height: 58px; width: auto; object-fit: contain; }
.footer-brand .brand-logo img { height: 76px; }
.site-footer .e-con { padding: 0; }
.site-footer .footer-grid > .e-con { width: auto; flex: 1 1 180px; }
.site-footer .footer-grid > .e-con.footer-brand { flex: 1.4 1 260px; }
.footer-base .container { padding-block: 1.2rem; }
.floating-cta .elementor-widget { width: auto; }

.header-main .e-con > .elementor-widget, .header-top .e-con > .elementor-widget { width: auto; }
.header-top .container > * { flex: 0 0 auto; }
.header-top-trust { white-space: nowrap; }
.footer-grid .elementor-widget { width: 100%; }

/* hello-elementor also defines .site-header/.site-footer — reclaim them. */
body .site-header, body .site-footer {
  width: 100% !important; max-width: none !important; margin-inline: 0 !important;
  padding: 0 !important;
}
/* the Kit's 20px widget spacing fights the reference's own margins */
.elementor-widget:not(:last-child) { margin-block-end: 0; }
.header-top-trust .trust-dot {
  display: inline-block; vertical-align: middle; margin-right: .4rem;
  width: 9px; height: 9px; flex: 0 0 9px; border-radius: 50%;
}
.footer-trust span, .payment-pills span { display: inline-flex; }

/* The reference swaps in a bespoke overlay below 900px; we keep the real menu
   widget and let HFE's own dropdown toggle take over instead. */
@media (max-width: 900px) {
  .site-header .main-nav { display: flex !important; flex: 0 0 auto; }
  .site-header .main-nav ul.hfe-nav-menu { display: none; }
  .site-header .main-nav .hfe-nav-menu__toggle { display: inline-flex; }
  .site-header .main-nav .hfe-nav-menu.dx-open ul.hfe-nav-menu {
    display: flex !important; flex-direction: column; align-items: stretch;
    position: absolute; right: 0; top: calc(100% + .4rem); min-width: 240px; z-index: 120;
    background: var(--bg-elevated); border: 1px solid var(--border-strong);
    border-radius: var(--r-lg); padding: .6rem;
  }
  .header-main .container { gap: .75rem; position: relative; }
}
/* toggle chrome (HFE ships the icon SVG itself) */
.site-header .hfe-nav-menu__toggle {
  width: 46px; height: 46px; border-radius: var(--r-sm);
  border: 1px solid var(--border); align-items: center; justify-content: center;
}
.site-header .hfe-nav-menu__toggle svg { width: 20px; height: 20px; fill: var(--text-on-dark); }


@media (max-width: 900px) {
  .header-main .container, .header-top .container {
    flex-wrap: nowrap !important; align-items: center; justify-content: space-between;
  }
  .header-main .container > * { flex: 0 0 auto; width: auto !important; }
  .header-main .main-nav { margin-left: auto; }
  .brand-logo img { height: 44px; }
  .header-actions .elementor-button { padding: .7rem 1.1rem; font-size: .85rem; }
  .header-top-trust { font-size: .72rem; line-height: 1.3; }
}
.header-top-trust .trust-dot { width: 9px; height: 9px; flex: 0 0 9px; border-radius: 50%; }

/* mobile dropdown panel — anchor to the nav slot and undo HFE's light defaults */
@media (max-width: 900px) {
  /* anchor the panel to the header row, not the little toggle button */
  .site-header .main-nav, .site-header .main-nav .hfe-nav-menu,
  .site-header .main-nav .elementor-widget-navigation-menu,
  .site-header .main-nav nav.hfe-nav-menu__layout-horizontal { position: static; }
  .site-header .main-nav .hfe-nav-menu.dx-open ul.hfe-nav-menu {
    position: fixed !important; left: 12px !important; right: 12px !important;
    top: calc(var(--dx-header-bottom, 100px) + 8px) !important;
    width: auto !important; max-width: calc(100vw - 24px); box-sizing: border-box;
    max-height: 70vh; overflow-y: auto;
  }
  .site-header .main-nav ul.hfe-nav-menu li.menu-item { width: 100%; }
  .site-header .main-nav ul.hfe-nav-menu a.hfe-menu-item,
  .site-header .main-nav ul.hfe-nav-menu a.hfe-sub-menu-item {
    background: transparent !important; color: var(--text) !important;
    width: 100%; justify-content: flex-start; border: 0 !important;
  }
  .site-header .main-nav ul.hfe-nav-menu a.hfe-menu-item::after { display: none; }
  .site-header .main-nav ul.hfe-nav-menu ul.sub-menu {
    position: static !important; background: transparent; border: 0; box-shadow: none;
    padding: 0 0 0 .8rem; min-width: 0; width: 100%;
  }
  .site-header .main-nav ul.hfe-nav-menu li.menu-item + li.menu-item {
    border-top: 1px solid var(--border-soft);
  }
}

/* keep the carousel from widening the document on small screens */
.games-marquee .gm-row,
.games-marquee .elementor-image-carousel-wrapper,
.games-marquee .swiper { overflow: hidden !important; }
html, body { overflow-x: hidden; }

/* ==========================================================================
   Spacing pass — one 20px rhythm between rows, per client review
   ========================================================================== */
.section-head { margin-bottom: 20px; }
.section-intro { margin-bottom: 20px; }
.section-head h2 { margin-top: 0; }
.section-head .elementor-widget.kicker { margin-bottom: 10px; }
.section-head--center .elementor-widget.kicker {
  width: auto; margin-inline: auto; display: flex; justify-content: center;
}
.section-head--center .section-head-inner { text-align: center; }
.intro-block, .home-intro .intro-block { margin-block: 0; }

/* game marquee: 10px between tiles, 20px between rows */
.gm-row + .gm-row { margin-top: 20px !important; }
.games-marquee { margin-block: 0; }
.gm-carousel .swiper-slide-inner { padding-right: 10px; }

/* image divider: the 01 counter sits above the label, never on it */
.image-divider .divider-aside { display: block !important; }
.image-divider .divider-aside .elementor-widget.kicker {
  display: block; width: auto; margin-top: 6px;
}

/* footer promo panel keeps its own padding (my .site-footer .e-con reset ate it) */
.site-footer .footer-promo {
  padding: clamp(2.2rem, 5vw, 3.6rem) clamp(1.5rem, 4vw, 3rem) !important;
  margin-block: clamp(2.4rem, 5vw, 3.6rem) clamp(2rem, 4vw, 3rem);
}
.site-footer .footer-col .hfe-nav-menu { gap: .65rem; }
.site-footer .footer-col li.menu-item { margin: 0; }
.site-footer .footer-col a.hfe-menu-item { padding: 0 !important; }

/* floating store-badge strip: a centred pill, not a full-width bar */
.site-footer .floating-cta {
  position: fixed; left: 50%; right: auto; bottom: 20px; transform: translateX(-50%);
  width: auto !important; max-width: calc(100vw - 24px); z-index: 800;
  display: flex; align-items: center; gap: 10px; padding: 10px 14px;
  background: rgba(7, 4, 26, .82); border: 1px solid var(--border-strong);
  border-radius: 999px; backdrop-filter: blur(10px);
}
.site-footer .floating-cta .elementor-widget { width: auto; }
.site-footer .floating-cta img { height: 48px; width: auto; border-radius: 999px; }

/* Widget rhythm: 0 by default (sections space themselves), 10px inside cards. */
.elementor-widget-heading .elementor-heading-title { margin-block: 0; }
.bento-cell .elementor-widget:not(:last-child),
.floor-tile .elementor-widget:not(:last-child),
.sec-tile .elementor-widget:not(:last-child),
.reward-cell .elementor-widget:not(:last-child),
.split-body .elementor-widget:not(:last-child),
.support-card .elementor-widget:not(:last-child),
.footer-brand .elementor-widget:not(:last-child),
.footer-col .elementor-widget:not(:last-child) { margin-block-end: 10px; }
.support-card .elementor-widget.kicker { margin-block-end: 6px; }
.hero-inner .elementor-widget:not(:last-child) { margin-block-end: 0; }

/* Elementor gives every .e-con a ::before overlay; the divider's numeral is a
   real ::before from the reference, so put it back in the flow. */
.image-divider .divider-aside::before {
  position: static !important; height: auto !important; width: auto !important;
  background: none !important; inset: auto !important; display: block !important;
}

/* ==========================================================================
   FAQ — Elementor accordion dressed as a proper card stack
   ========================================================================== */
.faq-list .elementor-accordion { display: grid; gap: 12px; border: 0; }
.faq-list .elementor-accordion-item {
  background: linear-gradient(150deg, var(--bg-elevated), var(--bg-card) 65%);
  border: 0 !important; border-radius: var(--r-lg); overflow: hidden; position: relative;
  box-shadow: var(--shadow-card); transition: box-shadow .25s ease, transform .25s ease;
}
.faq-list .elementor-accordion-item::before {
  content: ""; position: absolute; left: 0; top: 0; bottom: 0; width: 3px;
  background: var(--grad-brand); opacity: .35; transition: opacity .25s ease;
}
.faq-list .elementor-accordion-item:hover { transform: translateY(-2px); }
.faq-list .elementor-accordion-item:hover::before { opacity: .8; }
.faq-list .elementor-tab-title {
  border: 0 !important; background: none; padding: 1.15rem 3.4rem 1.15rem 1.6rem;
  font-family: var(--font-heading); font-weight: 600; font-size: 1.1rem;
  color: var(--text); position: relative; cursor: pointer; transition: color .2s ease;
}
.faq-list .elementor-tab-title:hover { color: var(--accent-soft); }
.faq-list .elementor-tab-title a,
.faq-list .elementor-tab-title .elementor-accordion-title { color: inherit; }
.faq-list .elementor-tab-title.elementor-active { color: var(--brand-light); }
.faq-list .elementor-accordion-item:has(.elementor-active) {
  box-shadow: var(--shadow-card-hover), 0 0 0 1px rgba(95, 226, 58, .22);
}
.faq-list .elementor-accordion-item:has(.elementor-active)::before { opacity: 1; }

/* round +/- badge on the right */
.faq-list .elementor-accordion-icon { display: none !important; }
.faq-list .elementor-tab-title::before {
  content: ""; position: absolute; right: 1.1rem; top: 50%; width: 30px; height: 30px;
  transform: translateY(-50%); border-radius: 50%;
  background: rgba(95, 226, 58, .12); box-shadow: inset 0 0 0 1px var(--border-strong);
  transition: background .25s ease, box-shadow .25s ease;
}
.faq-list .elementor-tab-title::after {
  content: "+"; position: absolute; right: 1.1rem; top: 50%; width: 30px; height: 30px;
  transform: translateY(-50%); display: grid; place-items: center;
  font-family: var(--font-body); font-weight: 700; font-size: 1.15rem; line-height: 1;
  color: var(--brand); transition: transform .25s ease, color .25s ease;
}
.faq-list .elementor-tab-title.elementor-active::before {
  background: var(--grad-green); box-shadow: none;
}
.faq-list .elementor-tab-title.elementor-active::after {
  content: "\2212"; color: #06210a; transform: translateY(-50%) rotate(180deg);
}
.faq-list .elementor-tab-content {
  border: 0 !important; background: none; color: var(--text-muted);
  padding: 0 3.4rem 1.35rem 1.6rem;
}
.faq-list .elementor-tab-content p + p { margin-top: .7rem; }

/* closing / support card: centre the label row and the button row */
.support-card .elementor-widget.kicker {
  width: auto; margin-inline: auto; display: flex; justify-content: center;
}
.support-card .support-actions { justify-content: center; margin-top: 1.4rem; }
.support-card > .e-con { width: auto; margin-inline: auto; }

/* Text-editor widgets carry a fixed 14px block rhythm; heads keep 20px to
   whatever structural block follows them. */
.elementor-widget-text-editor { margin-block: 14px; }
.section-head { margin-bottom: 0; }
.section-intro { margin-bottom: 0; }
.section-head + .floor-grid, .section-head + .bento-floor,
.section-head + .security-grid, .section-head + .rewards-bento,
.section-head + .faq-list, .section-head + .split-layout,
.section-head + .elementor-widget-image, .section-head + .elementor-widget-text-editor.pay,
.section-intro + .floor-grid, .section-intro + .bento-floor,
.section-intro + .security-grid, .section-intro + .rewards-bento,
.section-intro + .faq-list, .section-intro + .split-layout,
.section-intro + .elementor-widget-image { margin-top: 20px; }
.section-intro .elementor-widget-text-editor { margin-block: 14px; }
