/* Shared layout for the WinSpirit Australia theme. */
.ws2-theme {
  --ws2-shell: 1200px;
  --ws2-reading: 880px;
  --ws2-gutter: clamp(16px, 3.2vw, 28px);
  --ws2-ink: #f6f0ff;
  --ws2-muted: #d2c8e6;
  --ws2-line: #3f2a61;
  --ws2-panel: #1c1233;
  --ws2-accent: #ce9bff;
  --ws2-primary: #8235c9;
  --ws2-primary-hover: #9739db;
  --ws2-space: clamp(44px, 6vw, 84px);
  color: var(--ws2-ink);
}
.ws2-theme .container {
  max-width: var(--ws2-shell);
  margin-inline: auto;
  padding-inline: var(--ws2-gutter);
}
.ws2-theme .page-section { margin-bottom: var(--ws2-space); }
.ws2-theme :is(a, button, [role="button"], .ws2-table-scroll):focus-visible {
  outline: 3px solid var(--ws2-accent);
  outline-offset: 3px;
}

.ws2-theme .header {
  position: sticky !important;
  top: 0 !important;
  z-index: 200 !important;
  padding-block: 12px !important;
  margin-bottom: clamp(20px, 3vw, 36px);
  background: #160e29 !important;
  border-bottom: 1px solid var(--ws2-line) !important;
  backdrop-filter: none !important;
}
.ws2-theme .header-content {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: center;
  gap: clamp(8px, 1.6vw, 22px);
  min-height: 48px;
}
.ws2-theme .header-content .custom-logo-link { display: block; width: fit-content; }
.ws2-theme .header-content .custom-logo {
  display: block;
  width: auto !important;
  height: 48px !important;
  border-radius: 8px;
}
.ws2-theme .header-content > .nav { min-width: 0; justify-self: center; }
.ws2-theme .header-content .menu { align-items: center; gap: clamp(6px, 1.6vw, 20px); }
.ws2-theme .header-content .menu li { margin: 0; }
.ws2-theme .header-content .menu a { display: block; padding: 10px 3px; font-size: 13px !important; }
.ws2-theme .header-content .menu a[aria-current] { color: var(--ws2-accent) !important; }
.ws2-theme .header-buttons {
  position: static;
  display: flex;
  width: auto;
  gap: 8px;
  justify-content: flex-end;
  justify-self: end;
  transform: none;
}
.ws2-theme .header-buttons .btn {
  width: auto;
  min-width: 0;
  min-height: 44px;
  height: auto;
  padding: 9px 13px !important;
  margin: 0;
  white-space: nowrap;
  box-shadow: none !important;
}
.ws2-theme .header-buttons a.btn-danger { background: var(--ws2-primary) !important; }
.ws2-theme .header-buttons a.btn-danger:hover { background: var(--ws2-primary-hover) !important; filter: none !important; }
.ws2-theme .mobile-btn, .ws2-theme .mobile-wrap .close {
  width: 44px;
  height: 44px;
  border: 1px solid var(--ws2-line);
  border-radius: 8px;
  background: var(--ws2-panel);
  color: var(--ws2-ink);
}
.ws2-theme .mobile-btn { padding: 0; }
.ws2-theme .mobile-btn::before, .ws2-theme .mobile-btn::after, .ws2-theme .mobile-btn .inner {
  left: 11px;
  width: 20px;
  height: 2px;
  border-radius: 2px;
}
.ws2-theme .mobile-btn::before { top: 14px; }
.ws2-theme .mobile-btn::after { bottom: 14px; }
.ws2-theme .mobile-wrap {
  position: fixed;
  inset: 0 0 0 auto;
  z-index: 220;
  width: min(100%, 400px);
  height: 100dvh;
  max-width: 100%;
  background: #180e2d;
  border-left: 1px solid var(--ws2-line);
  visibility: hidden;
  pointer-events: none;
  transform: translateX(100%);
  transition: transform 220ms ease, visibility 220ms;
}
.ws2-theme .mobile-wrap.active { visibility: visible; pointer-events: auto; transform: none; }
.ws2-theme .mobile-body { overflow-y: auto; padding: 76px 22px 28px; }
.ws2-theme .mobile-body .close { top: 16px; right: 18px; padding: 11px; }
.ws2-theme .mobile-body .close .inner { display: block; }
.ws2-theme .mobile-nav li { margin: 0; border-bottom: 1px solid var(--ws2-line); }
.ws2-theme .mobile-nav .menu a { min-height: 48px; display: flex; align-items: center; padding: 10px 4px; }
.ws2-theme .ws2-menu-shade { display: none; position: fixed; inset: 0; z-index: 210; background: rgb(5 3 14 / 72%); }
.ws2-theme.ws2-menu-open { overflow: hidden; }
.ws2-theme.ws2-menu-open .ws2-menu-shade { display: block; }

.ws2-theme > :is(.ws2-hero, .ws2-bn2-hero, .ws2-lg2-hero, .ws2-wo2-hero, .ws2-dl2-hero, .ws2-winners) {
  width: calc(min(100%, var(--ws2-shell)) - var(--ws2-gutter) - var(--ws2-gutter));
  max-width: none;
  margin-inline: auto;
}
.ws2-theme .ws2-hero {
  grid-template-columns: minmax(0, 1.2fr) minmax(0, .8fr);
  gap: clamp(20px, 4vw, 48px);
  padding: clamp(24px, 3.4vw, 46px);
  border-radius: 20px;
  background: linear-gradient(135deg, #29164e, #150c2a) !important;
  border-color: #533487;
  box-shadow: 0 18px 48px rgb(7 4 18 / 40%) !important;
}
.ws2-theme .ws2-hero-text { min-width: 0; }
.ws2-theme .ws2-h1 {
  font-size: clamp(28px, 3.15vw, 44px);
  line-height: 1.14;
  letter-spacing: -.025em;
  margin-block: 13px 16px;
  text-shadow: none;
  text-wrap: balance;
}
.ws2-theme .ws2-hero-text > p { max-width: 58ch; color: var(--ws2-muted); }
.ws2-theme .ws2-hero :is(.ws2-cta-1, .ws2-cta-2) {
  min-height: 48px;
  justify-content: center;
  gap: 8px;
  padding: 11px 16px;
  border-radius: 9px;
  box-shadow: none;
  line-height: 1.35;
  text-align: center;
}
.ws2-theme .ws2-hero .ws2-cta-1 { background: var(--ws2-primary); border: 1px solid var(--ws2-primary); }
.ws2-theme .ws2-hero .ws2-cta-1:hover { background: var(--ws2-primary-hover); }
.ws2-theme .ws2-hero .ws2-cta-2 { background: #21123b; color: var(--ws2-ink); border: 1px solid #75549c; }
.ws2-theme .ws2-hero .ws2-cta-2:hover { background: #321c52; }
.ws2-theme .ws2-aura-mock { min-width: 0; min-height: 340px; box-shadow: none !important; }
.ws2-theme .ws2-aura-orb { width: min(210px, 64%) !important; height: auto !important; aspect-ratio: 1; }
.ws2-theme .ws2-winners { padding: clamp(16px, 2vw, 24px); margin-bottom: var(--ws2-space); }
.ws2-theme .ws2-winners-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.ws2-theme .ws2-winner { min-width: 0; overflow-wrap: anywhere; }
.ws2-theme .ws2-winner-amount { flex-shrink: 0; }

.ws2-theme .section-title,
.ws2-theme :is(.page-text, .page-content) h2 {
  background: none !important;
  -webkit-text-fill-color: var(--ws2-ink) !important;
  color: var(--ws2-ink) !important;
  animation: none !important;
  text-shadow: none !important;
  font-weight: 700 !important;
  line-height: 1.25 !important;
  letter-spacing: -.016em !important;
  text-wrap: balance;
}
.ws2-theme .section-title { font-size: clamp(24px, 2.2vw, 32px) !important; }
.ws2-theme .section-title:empty { display: none !important; }
.ws2-theme .page-text-content,
.ws2-theme .page-content .page-content-content,
.ws2-theme .page-text .section-title {
  max-width: var(--ws2-reading);
  margin-inline: auto !important;
  min-width: 0;
  overflow-wrap: anywhere;
  text-align: start;
}
.ws2-theme :is(.page-text-content, .page-content) h2 { font-size: clamp(22px, 2vw, 28px) !important; }
.ws2-theme :is(.page-text-content, .page-content) p { line-height: 1.72 !important; }
.ws2-theme :is(.page-text-content, .page-content) h2::after { box-shadow: none; }
.ws2-theme .slots-list { gap: clamp(9px, 1.25vw, 16px) !important; }
.ws2-theme .slot-element { min-width: 0; }
.ws2-theme .bonuses-content { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; }
.ws2-theme .bonus {
  width: 100%;
  max-width: none;
  min-height: 122px;
  height: auto;
  margin: 0;
  padding: 16px;
  border-radius: 13px !important;
}
.ws2-theme .bonus-text { font-size: clamp(17px, 2.1vw, 25px); }
.ws2-theme .tab {
  padding: 0 clamp(14px, 2vw, 24px);
  margin-bottom: 11px;
  background: rgb(28 18 51 / 82%);
  border: 1px solid var(--ws2-line);
  border-radius: 12px;
}
.ws2-theme .tab-title-row { min-height: 54px; gap: 12px; border-bottom: 0 !important; }
.ws2-theme .tab-ans { margin-top: 0; padding-bottom: 16px; color: var(--ws2-muted); line-height: 1.62; }
.ws2-theme .reviews .slick-slide { height: auto; }
.ws2-theme .reviews .slick-track { display: flex; }
.ws2-theme .reviews-item .inner { min-width: 0; height: 100%; }
.ws2-theme :is(.reviews-item .inner, .author-section-content, .advant-element) {
  background: var(--ws2-panel) !important;
  color: var(--ws2-ink);
  border: 1px solid var(--ws2-line);
}
.ws2-theme :is(.reviews-item .item__text, .author-desc) { color: var(--ws2-muted); line-height: 1.55; }
.ws2-theme .reviews .slick-loading .slick-list { background: transparent; }
.ws2-theme .ws2-table-frame { margin-block: 1.4rem; }
.ws2-theme .ws2-table-hint { margin: 0 0 6px !important; font-size: 13px !important; color: var(--ws2-muted) !important; }
.ws2-theme .ws2-table-hint[hidden] { display: none !important; }
.ws2-theme .ws2-table-scroll {
  max-width: 100%;
  overflow-x: auto;
  overscroll-behavior-inline: contain;
  scrollbar-color: #aa74df #25173f;
  background: var(--ws2-panel);
  border: 1px solid var(--ws2-line);
  border-radius: 12px;
}
.ws2-theme .ws2-table-scroll > table {
  min-width: var(--ws2-table-min, 32rem) !important;
  margin: 0 !important;
  border: 0 !important;
  border-radius: 0 !important;
  box-shadow: none !important;
}
.ws2-theme .ws2-table-scroll::-webkit-scrollbar { height: 7px; }
.ws2-theme .ws2-table-scroll :is(th, td) {
  overflow-wrap: normal;
  line-height: 1.45;
  padding: 11px 12px !important;
  border: 0 !important;
  border-bottom: 1px solid var(--ws2-line) !important;
  text-align: start !important;
}
.ws2-theme .ws2-table-scroll tr:last-child td { border-bottom: 0 !important; }
.ws2-theme .ws2-table-compact { table-layout: fixed; overflow-wrap: anywhere; }
.ws2-theme .footer { border-top: 1px solid var(--ws2-line) !important; }
.ws2-theme .footer a:not(.btn) { overflow-wrap: anywhere; }
.ws2-theme .footer .pay-row {
  display: grid;
  grid-template-columns: repeat(7, minmax(0, 1fr));
  gap: 8px;
  padding: 12px !important;
}
.ws2-theme .footer .pay-item { width: auto; min-width: 0; }
.ws2-theme .footer .pay-item img { display: block; width: 100%; max-width: 120px; height: auto; aspect-ratio: 149 / 60; margin: auto; object-fit: contain; }
.ws2-theme .footer .pay-item img:is([src$="visa.svg"], [src$="pay-tm.svg"], [src$="google-pay.svg"], [src$="piastrix.svg"]) { filter: brightness(1.65); }
.ws2-theme .footer-content {
  display: grid;
  grid-template-columns: auto repeat(2, minmax(0, 1fr)) minmax(0, 1.6fr);
  gap: 20px;
  align-items: start;
  text-align: start;
}
.ws2-theme .footer-content .footer-item { margin: 0; }
.ws2-theme .footer-content .custom-logo-link { margin: 0; }
.ws2-theme .footer-content .custom-logo { border-radius: 8px; }
.ws2-theme .footer-menu a { display: inline-flex; align-items: center; min-height: 36px; }
.ws2-theme .wheel-open-btn {
  left: auto;
  right: max(16px, env(safe-area-inset-right));
  bottom: max(16px, env(safe-area-inset-bottom));
  width: 52px;
  height: 52px;
  animation: none;
}
.ws2-theme #wheel-common.wheel { z-index: 228; background-color: rgb(9 5 23 / 82%); backdrop-filter: none; }
.ws2-theme #wheel-common .wheel-container { width: min(calc(100vw - 40px), 500px, 76dvh); }
.ws2-theme #wheel-common .wheel-btn { width: clamp(70px, 22vw, 120px); height: auto; aspect-ratio: 1; }
.ws2-theme .wheel-modal-bg { z-index: 231; }
.ws2-theme .wheel-modal { z-index: 232; }
.ws2-theme.ws2-menu-open :is(.wheel-open-btn, .cookieadmin_re_consent) { visibility: hidden; }
.ws2-theme :is(.cookieadmin_law_container, .cookieadmin_cookie_modal) { max-width: calc(100vw - 32px) !important; }
.ws2-theme .cookieadmin_law_container .cookieadmin_banner { max-width: 100%; }

@media (max-width: 1100px) {
  .ws2-theme .header-content > .nav { display: none; }
  .ws2-theme .mobile-btn { display: block; justify-self: end; }
}
@media (max-width: 900px) {
  .ws2-theme .ws2-hero { grid-template-columns: minmax(0, 1fr); }
  .ws2-theme .ws2-winners-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 700px) {
  .ws2-theme .header { padding-block: 8px !important; }
  .ws2-theme .header-content { gap: 6px; }
  .ws2-theme .header-content .custom-logo { height: 39px !important; }
  .ws2-theme .header-buttons { gap: 6px; }
  .ws2-theme .header-buttons .btn { font-size: 11px !important; padding: 6px 8px !important; }
  .ws2-theme .ws2-hero { padding: clamp(17px, 5vw, 27px); border-radius: 15px; }
  .ws2-theme :is(.ws2-hero, .ws2-hero-text) :is(.ws2-cta-1, .ws2-cta-2) { display: flex; width: 100%; margin-inline: 0; }
  .ws2-theme .ws2-aura-mock { min-height: 295px; }
  .ws2-theme .ws2-winners-grid { grid-template-columns: minmax(0, 1fr); }
  .ws2-theme .ws2-tour { padding-inline: 14px; }
  .ws2-theme .bonuses-content { grid-template-columns: minmax(0, 1fr); }
  .ws2-theme .bonus { min-height: 83px; }
  .ws2-theme .ws2-table-compact :is(th, td) { padding: 8px !important; }
  .ws2-theme .footer-content { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px 16px; }
  .ws2-theme .footer-content :is(.custom-logo-link, .contacts) { grid-column: 1 / -1; }
  .ws2-theme .footer .pay-row { grid-template-columns: repeat(4, minmax(0, 1fr)); }
}
@media (max-width: 310px) {
  .ws2-theme .header-content { grid-template-columns: minmax(0, 1fr) auto; }
  .ws2-theme .header-buttons { grid-row: 2; grid-column: 1 / -1; width: 100%; }
  .ws2-theme .header-buttons .btn { flex: 1; }
}
@media (prefers-reduced-motion: reduce) {
  .ws2-theme .mobile-wrap { transition: none; }
  .ws2-theme :is(.ws2-hero, .ws2-winners) *, .ws2-theme .slot-element { animation: none !important; transition: none !important; }
}
