/* Meow Casino global template */
:root {
  --mw-bg: #150420;
  --mw-purple: #5A2480;
  --mw-gold: #F2C14E;
  --mw-text: #EADAF5;
  --mw-muted: #DCC6EE;
}

*, *::before, *::after { box-sizing: border-box; }

.mw-body {
  margin: 0;
  background: var(--mw-bg);
  color: var(--mw-text);
  font-family: Rubik, system-ui, sans-serif;
  -webkit-font-smoothing: antialiased;
}

a { color: var(--mw-gold); text-decoration: none; }
a:hover { color: #FFDD85; }

.mw-page {
  min-height: 100vh;
  background: radial-gradient(1100px 620px at 50% -8%, #43135f 0%, #26082f 45%, var(--mw-bg) 100%);
  overflow-x: hidden;
}

[data-href] { cursor: pointer; user-select: none; }

.mw-btn {
  width: auto;
  max-width: 100%;
  height: auto;
  white-space: nowrap;
  min-height: 48px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 26px;
  border-radius: 999px;
  border: 2px solid var(--mw-gold);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.22), 0 4px 12px rgba(0, 0, 0, 0.4);
  font-family: 'Baloo 2', sans-serif;
  font-size: 16px;
  font-weight: 700;
  text-shadow: 0 2px 0 rgba(0, 0, 0, 0.45);
  transition: transform 150ms cubic-bezier(0.16, 1, 0.3, 1);
}

.mw-btn:hover { transform: translateY(-2px); }

.mw-btn--purple {
  background: linear-gradient(180deg, #7A3AA8 0%, #4A1C6B 100%);
  color: #F6E2B2;
}

.mw-btn--green {
  background: linear-gradient(180deg, #3FA24B 0%, #1F6B2C 100%);
  color: #FFF7DF;
}

.mw-btn--gold {
  border-color: #FFF0C0;
  background: linear-gradient(180deg, #FFD980 0%, #E8A83A 55%, #C9862A 100%);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.55), 0 6px 18px rgba(0, 0, 0, 0.4);
  color: #4A2405;
  text-shadow: 0 1px 0 rgba(255, 255, 255, 0.35);
  font-weight: 800;
}

.mw-btn--hero {
  min-height: 64px;
  padding: 16px 40px;
  font-size: 22px;
}

button.mw-btn {
  cursor: pointer;
  font: inherit;
}

.mw-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px 24px;
  padding: 16px 32px;
  background: linear-gradient(180deg, rgba(48, 12, 66, 0.96) 0%, rgba(32, 8, 45, 0.9) 100%);
  border-bottom: 1px solid var(--mw-purple);
  position: sticky;
  top: 0;
  z-index: 40;
  backdrop-filter: blur(6px);
}

.mw-header-left {
  display: flex;
  align-items: center;
  gap: 12px 16px;
  min-width: 0;
}

.mw-burger {
  display: none;
  width: 48px;
  height: 48px;
  flex-shrink: 0;
  align-items: center;
  justify-content: center;
  border-radius: 12px;
  border: 1px solid var(--mw-gold);
  background: rgba(90, 36, 128, 0.45);
  cursor: pointer;
  padding: 0;
}

.mw-burger-lines {
  display: block;
  width: 20px;
  height: 2px;
  border-radius: 2px;
  background: var(--mw-gold);
  box-shadow: 0 -6px 0 var(--mw-gold), 0 6px 0 var(--mw-gold);
}

.mw-logo-link {
  width: 196px;
  max-width: 196px;
  height: 56px;
  max-height: 56px;
  flex-shrink: 0;
  display: block;
}

.mw-logo, .mw-footer-logo {
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: left center;
  display: block;
}

.mw-footer-logo {
  max-width: 180px;
  max-height: 56px;
  height: auto;
  flex: 0 0 auto;
}

.mw-header-auth {
  display: flex;
  align-items: center;
  gap: 14px;
  flex-shrink: 0;
  margin-left: auto;
}

.mw-shell {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 28px;
  max-width: 1560px;
  margin: 0 auto;
  padding: 14px 32px 0;
}

.mw-sidebar {
  display: none;
  flex-direction: column;
  gap: 10px;
  align-self: stretch;
  padding-right: 24px;
  padding-bottom: 32px;
  border-right: 2px solid var(--mw-purple);
  box-shadow: 2px 0 0 rgba(242, 193, 78, 0.28);
}

.mw-main-nav {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.mw-nav-slot--desktop .mw-main-link {
  width: 240px;
  flex-shrink: 0;
  min-height: 56px;
  display: flex;
  align-items: center;
  padding: 12px 20px;
  border-radius: 14px;
  border: 1px solid #7A3AA8;
  background: linear-gradient(180deg, rgba(122, 58, 168, 0.55) 0%, rgba(58, 18, 84, 0.7) 100%);
  font-family: 'Baloo 2', sans-serif;
  font-size: 16px;
  font-weight: 700;
  letter-spacing: 0.02em;
  color: #F3DFAE;
  text-shadow: 0 2px 0 rgba(0, 0, 0, 0.5);
  transition: transform 150ms cubic-bezier(0.16, 1, 0.3, 1), border-color 150ms ease;
}

.mw-nav-slot--desktop .mw-main-link:hover {
  transform: translateX(4px);
  border-color: var(--mw-gold);
}

.mw-sidebar-mascot {
  margin-top: 8px;
  display: flex;
  justify-content: center;
}

.mw-mascot {
  width: 100%;
  max-width: 248px;
  height: auto;
  object-fit: contain;
  filter: drop-shadow(0 18px 26px rgba(0, 0, 0, 0.55));
  animation: mw-bob 5s ease-in-out infinite;
}

@keyframes mw-bob {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-10px); }
}

@keyframes mw-spin-slow {
  0% { transform: rotate(-6deg); }
  50% { transform: rotate(6deg); }
  100% { transform: rotate(-6deg); }
}

.mw-scrim {
  position: fixed;
  inset: 0;
  z-index: 60;
  background: rgba(10, 2, 16, 0.66);
}

.mw-scrim[hidden] { display: none; }

.mw-nav-slot--mobile {
  display: none;
  width: 100%;
  order: 3;
}

.mw-nav-slot--mobile .mw-main-nav {
  flex-direction: row;
  flex-wrap: nowrap;
  gap: 8px;
  overflow-x: auto;
  padding: 4px 0 8px;
  -webkit-overflow-scrolling: touch;
}

.mw-nav-slot--mobile .mw-main-link {
  flex: none;
  min-height: 40px;
  display: inline-flex;
  align-items: center;
  padding: 8px 14px;
  border-radius: 999px;
  border: 1px solid #7A3AA8;
  background: rgba(90, 36, 128, 0.4);
  font-family: 'Baloo 2', sans-serif;
  font-size: 14px;
  font-weight: 700;
  color: #F3DFAE;
  white-space: nowrap;
}

.mw-main {
  display: flex;
  flex-direction: column;
  gap: 56px;
  min-width: 0;
}

.mw-hero {
  position: relative;
  border-radius: 18px;
  overflow: hidden;
}

.mw-hero-img {
  display: block;
  width: 100%;
  height: auto;
  object-fit: cover;
}

.mw-hero-overlay {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
  padding: 0 6% 2% 6%;
  gap: 22px;
  background: linear-gradient(90deg, rgba(24, 5, 34, 0.72) 0%, rgba(24, 5, 34, 0.35) 55%, rgba(24, 5, 34, 0) 100%);
}

.mw-hero-title {
  margin: 0;
  max-width: 52%;
  font-family: 'Baloo 2', sans-serif;
  font-size: clamp(30px, 3.4vw, 58px);
  line-height: 1.02;
  font-weight: 800;
  letter-spacing: -0.02em;
  color: #FFF6E2;
  text-shadow: 0 4px 0 rgba(52, 8, 72, 0.9), 0 14px 30px rgba(0, 0, 0, 0.55);
}

.mw-section-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 20px;
}

.mw-section-title-row {
  display: flex;
  align-items: center;
  gap: 12px;
}

.mw-section-icon { width: 38px; height: auto; }

.mw-h2 {
  margin: 0;
  font-family: 'Baloo 2', sans-serif;
  font-size: 30px;
  font-weight: 800;
  letter-spacing: -0.02em;
  color: #FFF6E2;
}

.mw-h2--spaced { margin-bottom: 20px; }

.mw-section-tag {
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #B18ACB;
}

.mw-game-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(140px, 1fr));
  gap: 14px;
}

.mw-game-wrap--hidden { display: none !important; }

.mw-game {
  position: relative;
  display: block;
  aspect-ratio: 2/3;
  border-radius: 12px;
  overflow: hidden;
  border: 1px solid var(--mw-purple);
  background: #2A0B3B;
  transition: transform 150ms cubic-bezier(0.16, 1, 0.3, 1), border-color 150ms ease;
}

.mw-game:hover {
  transform: translateY(-4px);
  border-color: var(--mw-gold);
}

.mw-game img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.mw-more-wrap {
  display: flex;
  justify-content: center;
  margin-top: 26px;
}

.mw-section--content {
  position: relative;
  padding: 44px 46px;
  border-radius: 20px;
  background: linear-gradient(180deg, rgba(63, 18, 88, 0.72) 0%, rgba(34, 9, 48, 0.72) 100%);
  border: 1px solid var(--mw-purple);
  overflow: hidden;
}

.mw-decor {
  position: absolute;
  pointer-events: none;
  z-index: 0;
}

.mw-decor--coin { top: -14px; right: -12px; width: 76px; opacity: 0.7; animation: mw-bob 6s ease-in-out infinite; }
.mw-decor--diamond { top: 180px; right: -18px; width: 92px; opacity: 0.5; transform: rotate(14deg); }
.mw-decor--chip { bottom: 120px; left: -24px; width: 88px; opacity: 0.45; animation: mw-spin-slow 9s ease-in-out infinite; }
.mw-decor--stack { bottom: 24px; right: 120px; width: 84px; opacity: 0.6; }
.mw-decor--bag { top: 120px; left: -30px; width: 76px; opacity: 0.35; transform: rotate(-10deg); }
.mw-decor--slot { bottom: -14px; left: 38%; width: 104px; opacity: 0.28; }

.mw-content-wrap { position: relative; z-index: 1; max-width: 860px; }

.mw-content {
  font-size: 16px;
  line-height: 1.7;
  color: var(--mw-muted);
}

.mw-content h2, .mw-content h3 {
  font-family: 'Baloo 2', sans-serif;
  color: #FFF6E2;
}

.mw-content h2 {
  font-size: 34px;
  font-weight: 800;
  letter-spacing: -0.02em;
  margin: 0 0 16px;
}

.mw-content h3 {
  font-size: 21px;
  font-weight: 700;
  color: var(--mw-gold);
  margin: 22px 0 12px;
}

.mw-content p { margin: 0 0 14px; }
.mw-content ul, .mw-content ol { margin: 0 0 16px; padding-left: 22px; }
.mw-content blockquote {
  margin: 16px 0;
  padding: 20px 24px;
  border-radius: 14px;
  border-left: 4px solid var(--mw-gold);
  background: rgba(21, 4, 32, 0.55);
  font-family: 'Baloo 2', sans-serif;
  font-size: 20px;
  line-height: 1.45;
  font-weight: 600;
  color: #FFF0CC;
}

.mw-content table {
  width: 100%;
  border-collapse: collapse;
  font-size: 15px;
}

.mw-content table th,
.mw-content table td {
  padding: 12px 16px;
  border: 1px solid rgba(90, 36, 128, 0.7);
  text-align: left;
}

.mw-content table th {
  background: rgba(90, 36, 128, 0.45);
  color: #F3DFAE;
  font-family: 'Baloo 2', sans-serif;
}

.mw-prov-row {
  display: flex;
  gap: 14px;
  overflow-x: auto;
  overflow-y: hidden;
  padding: 4px 2px 14px;
  scroll-snap-type: x proximity;
  -webkit-overflow-scrolling: touch;
}

.mw-prov-wrap { flex: 0 0 auto; scroll-snap-align: start; }

.mw-prov {
  width: 170px;
  height: 88px;
  display: grid;
  place-items: center;
  padding: 16px 20px;
  border-radius: 12px;
  border: 1px solid #4A1C6B;
  background: rgba(21, 4, 32, 0.55);
  transition: border-color 150ms ease;
}

.mw-prov:hover { border-color: var(--mw-gold); }

.mw-prov img {
  display: block;
  width: 100%;
  height: 100%;
  min-width: 0;
  object-fit: contain;
  opacity: 0.55;
  transition: opacity 150ms ease;
  filter: brightness(0) invert(1);
}

.mw-prov:hover img { opacity: 1; }

.mw-footer {
  margin-top: 64px;
  border-top: 1px solid var(--mw-purple);
  background: linear-gradient(180deg, rgba(38, 10, 54, 0.9) 0%, #12031B 100%);
}

.mw-footer-top {
  max-width: 1560px;
  margin: 0 auto;
  padding: 32px 32px 20px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 18px 40px;
}

.mw-nav-slot--footer {
  flex: 1 1 auto;
  min-width: 0;
  display: flex;
  justify-content: flex-end;
}

.mw-footer-nav {
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  align-items: center;
  justify-content: flex-end;
  gap: 11px 28px;
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.04em;
}

.mw-nav-slot--footer .mw-footer-nav { gap: 11px 28px; }

.mw-footer-link { color: #C9A9DE; white-space: nowrap; }
.mw-footer-link:hover { color: var(--mw-gold); }

.mw-footer-mid {
  max-width: 1560px;
  margin: 0 auto;
  padding: 0 32px 28px;
}

.mw-age-badge {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 10px 18px;
  border-radius: 12px;
  border: 1px solid var(--mw-gold);
  background: rgba(242, 193, 78, 0.08);
  max-width: 520px;
}

.mw-age-num {
  flex-shrink: 0;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 2px solid var(--mw-gold);
  color: var(--mw-gold);
  font-family: 'Baloo 2', sans-serif;
  font-size: 16px;
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: center;
}

.mw-age-copy { display: flex; flex-direction: column; gap: 2px; }
.mw-age-title { font-family: 'Baloo 2', sans-serif; font-size: 16px; color: var(--mw-gold); }
.mw-age-text { font-size: 12px; line-height: 1.5; color: #B18ACB; }

.mw-footer-bar {
  border-top: 1px solid rgba(90, 36, 128, 0.6);
}

.mw-footer-copy {
  max-width: 1560px;
  margin: 0 auto;
  padding: 16px 32px;
  font-size: 12px;
  color: #8E6FA8;
}

.noscroll { scrollbar-width: thin; scrollbar-color: #5A2480 transparent; }

@media (min-width: 1100px) {
  .mw-shell { grid-template-columns: 272px minmax(0, 1fr); }
  .mw-sidebar { display: flex; }
}

@media (max-width: 1099px) {
  .mw-burger { display: flex; }

  .mw-sidebar {
    display: flex;
    position: fixed;
    top: 0;
    left: 0;
    bottom: 0;
    width: min(300px, 84vw);
    z-index: 70;
    background: linear-gradient(180deg, #3a1052 0%, #1d0628 100%);
    border-right: 2px solid var(--mw-purple);
    box-shadow: 6px 0 28px rgba(0, 0, 0, 0.55);
    padding: 18px 20px 28px;
    overflow-y: auto;
    align-self: auto;
    transform: translateX(-104%);
    transition: transform 250ms cubic-bezier(0.16, 1, 0.3, 1);
  }

  .mw-sidebar.is-open { transform: none; }

  .mw-nav-slot--desktop .mw-main-link { width: 100%; }
  .mw-sidebar-mascot { margin-top: auto; }

  /* Menu lives in the drawer (sidebar); do not mirror as header chips. */
  .mw-nav-slot--mobile { display: none !important; }
}

@media (max-width: 760px) {
  .mw-header { padding: 10px 14px; gap: 10px; flex-wrap: nowrap; }
  .mw-logo-link { width: 126px; height: 40px; }
  .mw-btn { min-height: 44px; padding: 10px 14px; font-size: 13px; }
  .mw-burger { width: 40px; height: 40px; }
  .mw-header-auth { margin-left: auto; width: auto; justify-content: flex-end; flex: 0 0 auto; }
  .mw-shell { padding: 12px 14px 0; }
  .mw-hero-img { min-height: 230px; object-fit: cover; object-position: 78% center; }
  .mw-hero-overlay {
    padding: 22px 20px;
    gap: 16px;
    background: linear-gradient(90deg, rgba(24, 5, 34, 0.86) 0%, rgba(24, 5, 34, 0.55) 58%, rgba(24, 5, 34, 0) 100%);
  }
  .mw-hero-title { max-width: 56%; font-size: 24px; line-height: 1.12; }
  .mw-btn--hero { min-height: 54px; padding: 14px 26px; font-size: 17px; }
  .mw-game-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .mw-decor { width: 48px; opacity: 0.3; }
  .mw-decor--hide-sm { display: none; }
  .mw-section--content { padding: 26px 18px; }
  .mw-section-head { flex-direction: column; align-items: flex-start; gap: 8px; }
  .mw-footer-top {
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 28px 18px 16px;
  }
  .mw-nav-slot--footer { justify-content: center; width: 100%; }
  .mw-footer-nav { justify-content: center; }
  .mw-footer-mid { padding: 0 18px 24px; display: flex; justify-content: center; }
  .mw-age-badge { flex-direction: column; text-align: center; max-width: 100%; }
  .mw-footer-copy { text-align: center; padding: 16px 18px; }
  .mw-main { gap: 36px; }
}

@media (max-width: 768px) {
  table {
    display: block !important;
    overflow-x: auto !important;
    -webkit-overflow-scrolling: touch !important;
  }
}
