:root {
  --ink: #0d1526;
  --navy: #16243c;
  --navy-2: #1e3354;
  --gold: #c8972a;
  --gold-2: #e3b44a;
  --saffron: #e36b12;
  --teal: #0d7d68;
  --cream: #f4efe4;
  --paper: #fffdf8;
  --card: #ffffff;
  --line: #e4dac6;
  --text: #243044;
  --muted: #5c677a;
  --shadow: 0 16px 40px rgba(13, 21, 38, 0.08);
  --radius: 18px;
  --max: 1120px;
  --header: 76px;
}

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header) + env(safe-area-inset-top, 0px) + 12px);
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { animation: none !important; transition: none !important; }
}

body.mmy-theme {
  margin: 0;
  background: var(--cream);
  color: var(--text);
  font-family: Manrope, "Segoe UI", "Noto Sans", Roboto, "Helvetica Neue", sans-serif;
  font-size: 17px;
  line-height: 1.7;
  overflow-x: hidden;
  overscroll-behavior-x: none;
  padding-bottom: env(safe-area-inset-bottom, 0px);
  -webkit-tap-highlight-color: rgba(200, 151, 42, 0.22);
}

img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
button { font-family: inherit; }

a,
button,
.mmy-btn,
.mmy-faq__q,
.mmy-toggle {
  touch-action: manipulation;
}

.mmy-wrap {
  width: min(100% - 32px, var(--max));
  margin: 0 auto;
  padding-left: env(safe-area-inset-left, 0px);
  padding-right: env(safe-area-inset-right, 0px);
}

.sr-only,
.skip-link {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  border: 0;
}

.skip-link:focus {
  width: auto;
  height: auto;
  margin: 0;
  clip: auto;
  top: 12px;
  left: 12px;
  z-index: 80;
  padding: 8px 12px;
  background: var(--gold);
  color: var(--ink);
  border-radius: 8px;
}

h1, h2, h3 {
  font-family: Sora, Manrope, sans-serif;
  color: var(--ink);
  line-height: 1.25;
  letter-spacing: -0.03em;
}

h1 { font-size: clamp(2rem, 4vw, 3.15rem); margin: 0 0 18px; }
h2 { font-size: clamp(1.45rem, 2.6vw, 2rem); margin: 0 0 12px; }
h3 { font-size: 1.05rem; margin: 0 0 8px; }

.mmy-kicker {
  margin: 0 0 10px;
  color: var(--saffron);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.mmy-lead {
  font-size: 1.08rem;
  color: #d7deea;
  max-width: 760px;
}

.mmy-head {
  max-width: 720px;
  margin-bottom: 32px;
}

.mmy-head p:last-child { color: var(--muted); margin: 0; }

.mmy-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 22px;
  border-radius: 999px;
  font-weight: 800;
  font-size: 14px;
  letter-spacing: 0.02em;
  transition: transform .18s ease, background .18s ease, color .18s ease;
}

.mmy-btn:hover { transform: translateY(-1px); }

.mmy-btn--gold {
  background: linear-gradient(180deg, var(--gold-2), var(--gold));
  color: #1a1406;
  box-shadow: 0 8px 20px rgba(200, 151, 42, 0.28);
}

.mmy-btn--ghost {
  border: 1px solid rgba(255,255,255,.28);
  color: #fff;
  background: rgba(255,255,255,.04);
}

/* Header */

.mmy-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(13, 21, 38, 0.94);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid rgba(255,255,255,.06);
  padding-top: env(safe-area-inset-top, 0px);
}

.mmy-header.is-scrolled { box-shadow: 0 10px 30px rgba(0,0,0,.18); }

.mmy-header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: var(--header);
  gap: 20px;
}

.mmy-brand {
  display: flex;
  align-items: center;
  gap: 12px;
  color: #fff;
  flex-shrink: 0;
}

.mmy-brand img {
  width: 44px;
  height: 44px;
  border-radius: 10px;
  object-fit: cover;
  background: #000;
}

.mmy-brand strong {
  display: block;
  font-family: Sora, sans-serif;
  font-size: 18px;
  letter-spacing: -0.03em;
}

.mmy-brand small {
  display: block;
  color: #b7c0d0;
  font-size: 11px;
  letter-spacing: 0.04em;
}

.mmy-nav {
  display: flex;
  align-items: center;
  gap: 18px;
}

.mmy-nav a {
  color: #e8edf6;
  font-size: 13px;
  font-weight: 700;
}

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

.mmy-nav .mmy-btn { color: #1a1406; margin-left: 6px; }

.mmy-toggle {
  display: none;
  width: 44px;
  height: 44px;
  border: 0;
  background: transparent;
  cursor: pointer;
}

.mmy-toggle span {
  display: block;
  width: 20px;
  height: 2px;
  margin: 5px auto;
  background: #fff;
}

/* Hero */

.mmy-hero {
  position: relative;
  padding: 72px 0 80px;
  background:
    radial-gradient(ellipse at 90% 10%, rgba(227,107,18,.22), transparent 42%),
    radial-gradient(ellipse at 0% 80%, rgba(200,151,42,.16), transparent 36%),
    linear-gradient(160deg, #0d1526 0%, #16243c 58%, #123528 100%);
  color: #f3f6fb;
  overflow: hidden;
}

.mmy-hero::after {
  content: "";
  position: absolute;
  inset: auto -10% -40% 40%;
  height: 420px;
  background: radial-gradient(circle, rgba(227,180,74,.12), transparent 68%);
  pointer-events: none;
}

.mmy-hero h1 { color: #fff; max-width: 18ch; }

.mmy-hero__mark {
  width: 96px;
  height: 96px;
  margin: 0 0 22px;
  border-radius: 22px;
  overflow: hidden;
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.35);
}

.mmy-hero__mark img {
  width: 96px;
  height: 96px;
  object-fit: cover;
}

.mmy-crumb {
  display: flex;
  gap: 8px;
  align-items: center;
  color: #9aa6bb;
  font-size: 13px;
  margin-bottom: 22px;
}

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

.mmy-hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin: 28px 0 26px;
}

.mmy-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  padding: 0;
  margin: 0;
  list-style: none;
}

.mmy-chips li {
  padding: 6px 12px;
  border-radius: 999px;
  border: 1px solid rgba(255,255,255,.14);
  background: rgba(255,255,255,.05);
  color: #d5dce8;
  font-size: 12px;
  font-weight: 700;
}

/* Sections */

.mmy-section { padding: 72px 0; }

.mmy-section--tint {
  background: var(--paper);
  border-block: 1px solid var(--line);
}

.mmy-section--disclaimer {
  background: var(--navy);
  color: #d7deea;
}

.mmy-section--disclaimer h2,
.mmy-section--disclaimer .mmy-kicker { color: var(--gold-2); }

.mmy-cards {
  display: grid;
  gap: 18px;
}

.mmy-cards--3 { grid-template-columns: repeat(3, 1fr); }

.mmy-card,
.mmy-games article,
.mmy-pay article,
.mmy-highlights li,
.mmy-feature-row li {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 22px 22px 20px;
  box-shadow: var(--shadow);
}

.mmy-card p,
.mmy-games p,
.mmy-pay p,
.mmy-highlights p,
.mmy-feature-row p {
  margin: 0;
  color: var(--muted);
  font-size: 15px;
}

.mmy-icon {
  display: inline-grid;
  place-items: center;
  width: 36px;
  height: 36px;
  margin-bottom: 12px;
  border-radius: 10px;
  background: #12203a;
  color: var(--gold-2);
  font-size: 12px;
  font-weight: 800;
}

/* Table */

.mmy-table-wrap {
  overflow: auto;
  -webkit-overflow-scrolling: touch;
  overscroll-behavior-x: contain;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  border: 1px solid var(--line);
}

.mmy-table {
  width: 100%;
  min-width: 520px;
  border-collapse: collapse;
  background: var(--card);
}

.mmy-table th,
.mmy-table td {
  padding: 16px 22px;
  text-align: left;
  border-bottom: 1px solid var(--line);
}

.mmy-table tr:last-child th,
.mmy-table tr:last-child td { border-bottom: 0; }

.mmy-table th {
  width: 34%;
  background: #f8f3e8;
  color: var(--ink);
  font-size: 14px;
  font-weight: 800;
}

.mmy-table tr:hover td { background: #fffaf0; }

/* Highlights / games / pay */

.mmy-highlights,
.mmy-feature-row {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
  padding: 0;
  margin: 0;
  list-style: none;
}

.mmy-games,
.mmy-pay {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 16px;
}

.mmy-games article,
.mmy-pay article {
  grid-column: span 2;
}

.mmy-games article:nth-child(n+4) {
  grid-column: span 3;
}

.mmy-game-art {
  display: grid;
  place-items: center;
  height: 92px;
  margin: 0 0 16px;
  border-radius: 14px;
  color: #f6e7c2;
}

.mmy-game-art svg { width: 80px; height: 56px; }

.mmy-game-art--slots { background: linear-gradient(135deg, #3a2412, #8a4b16); }
.mmy-game-art--aviator { background: linear-gradient(135deg, #14213d, #3d5a80); }
.mmy-game-art--fish { background: linear-gradient(135deg, #0b3a36, #1c7c6a); }
.mmy-game-art--live { background: linear-gradient(135deg, #3b1220, #8f2d4a); }
.mmy-game-art--color { background: linear-gradient(135deg, #2b2150, #6d4aff); }

/* Steps / lists */

.mmy-steps {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
  margin: 0;
  padding: 0;
  list-style: none;
  counter-reset: step;
}

.mmy-steps li,
.mmy-tips li {
  position: relative;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 22px 22px 20px 76px;
  box-shadow: var(--shadow);
}

.mmy-steps li { counter-increment: step; }

.mmy-steps li::before,
.mmy-tips li::before {
  position: absolute;
  left: 20px;
  top: 22px;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--navy);
  color: var(--gold-2);
  display: grid;
  place-items: center;
  font-weight: 800;
  font-family: Sora, sans-serif;
}

.mmy-steps li::before { content: counter(step); }
.mmy-steps p,
.mmy-tips { color: var(--muted); }
.mmy-steps p { margin: 0; }

.mmy-split {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 40px;
  align-items: start;
}

.mmy-list {
  margin: 0;
  padding: 8px 0 0 22px;
}

.mmy-list li { margin: 0 0 12px; padding-left: 6px; }

.mmy-tips {
  display: grid;
  gap: 12px;
  margin: 0;
  padding: 0;
  list-style: none;
  counter-reset: tip;
}

.mmy-tips li { counter-increment: tip; }
.mmy-tips li::before { content: counter(tip); }

/* FAQ */

.mmy-faq {
  display: grid;
  gap: 10px;
}

.mmy-faq__item {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 14px;
  overflow: hidden;
}

.mmy-faq__q {
  width: 100%;
  text-align: left;
  border: 0;
  background: transparent;
  padding: 16px 52px 16px 18px;
  min-height: 52px;
  font-size: 16px;
  font-weight: 800;
  color: var(--ink);
  cursor: pointer;
  position: relative;
}

.mmy-faq__q::after {
  content: "+";
  position: absolute;
  right: 18px;
  top: 14px;
  color: var(--gold);
  font-size: 22px;
}

.mmy-faq__item.is-open .mmy-faq__q::after { content: "–"; }

.mmy-faq__a {
  display: none;
  padding: 0 18px 16px;
  color: var(--muted);
}

.mmy-faq__item.is-open .mmy-faq__a { display: block; }
.mmy-faq__a p { margin: 0; }

/* Prose / legal */

.mmy-prose p { margin: 0 0 16px; }
.mmy-narrow { max-width: 760px; }

.mmy-legal {
  margin: 0;
  padding-left: 20px;
}

.mmy-legal li { margin: 0 0 12px; }

.mmy-page { padding: 64px 0 80px; }

.mmy-404 {
  min-height: min(72vh, 720px);
  padding: 72px 0 80px;
  text-align: center;
}

.mmy-404 h1 { max-width: 18ch; margin-left: auto; margin-right: auto; }

.mmy-404__mark {
  width: 72px;
  height: 72px;
  margin: 8px auto 8px;
  border-radius: 18px;
  overflow: hidden;
  box-shadow: var(--shadow);
}

.mmy-404__mark img {
  width: 72px;
  height: 72px;
  object-fit: cover;
}

.mmy-404__code {
  margin: 0;
  font-family: Sora, sans-serif;
  font-size: clamp(4.5rem, 12vw, 7rem);
  line-height: 0.9;
  letter-spacing: -0.06em;
  color: var(--gold);
  font-weight: 700;
}

.mmy-404__lead {
  max-width: 560px;
  margin: 0 auto 28px;
  color: var(--muted);
}

.mmy-404__actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
  margin-bottom: 28px;
}

.mmy-btn--ink {
  border-color: var(--line);
  color: var(--ink);
  background: #fff;
}

.mmy-404__links {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px 18px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.mmy-404__links a {
  color: var(--navy);
  font-weight: 700;
  font-size: 14px;
  text-decoration: underline;
  text-underline-offset: 3px;
}

/* Footer */

.mmy-footer {
  background: var(--ink);
  color: #c5cddd;
  padding: 56px 0 24px;
}

.mmy-footer__grid {
  display: grid;
  grid-template-columns: 1.3fr 1fr 1fr 1.1fr;
  gap: 28px;
  padding-bottom: 36px;
  border-bottom: 1px solid rgba(255,255,255,.08);
}

.mmy-footer h2 {
  color: #fff;
  font-size: 14px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 14px;
}

.mmy-footer p { margin: 12px 0 0; font-size: 14px; }

.mmy-footer ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

.mmy-footer li { margin: 0 0 8px; font-size: 14px; }
.mmy-footer a:hover { color: var(--gold-2); }

.mmy-brand--foot span {
  font-family: Sora, sans-serif;
  font-weight: 700;
  color: #fff;
}

.mmy-footer__plus {
  display: inline-block;
  margin-top: 14px !important;
  padding: 4px 10px;
  border: 1px solid var(--gold);
  color: var(--gold-2);
  font-weight: 800;
  font-size: 12px;
  letter-spacing: 0.08em;
}

.mmy-footer__bar {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  padding-top: 18px;
  font-size: 13px;
  color: #8b95a8;
}

.mmy-float {
  position: fixed;
  right: max(16px, env(safe-area-inset-right, 0px));
  bottom: max(16px, calc(16px + env(safe-area-inset-bottom, 0px)));
  z-index: 40;
  background: linear-gradient(180deg, var(--gold-2), var(--gold));
  color: #1a1406;
  font-weight: 800;
  font-size: 13px;
  min-height: 48px;
  padding: 12px 18px;
  border-radius: 999px;
  box-shadow: 0 10px 24px rgba(200, 151, 42, 0.35);
}

.mmy-nav-backdrop {
  display: none;
}

@media (hover: none) {
  .mmy-btn:hover { transform: none; }
  .mmy-table tr:hover td { background: transparent; }
}

/* iPad / Android tablet: hamburger + 2-col boards */
@media (max-width: 1100px) {
  .mmy-cards--3,
  .mmy-games,
  .mmy-pay,
  .mmy-footer__grid,
  .mmy-split { grid-template-columns: 1fr 1fr; }

  .mmy-games article,
  .mmy-games article:nth-child(n+4),
  .mmy-pay article { grid-column: auto; }

  .mmy-nav { gap: 14px; }
  .mmy-nav a { font-size: 13px; }

  .mmy-toggle {
    display: grid;
    place-items: center;
    flex-shrink: 0;
    width: 48px;
    height: 48px;
    border-radius: 12px;
    background: rgba(255,255,255,.06);
  }

  .mmy-nav-backdrop {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(8, 12, 20, 0.55);
    z-index: 45;
  }

  body.mmy-nav-open .mmy-nav-backdrop {
    display: block;
  }

  .mmy-nav {
    display: none;
    position: fixed;
    top: calc(var(--header) + env(safe-area-inset-top, 0px) + 8px);
    left: max(12px, env(safe-area-inset-left, 0px));
    right: max(12px, env(safe-area-inset-right, 0px));
    background: #12203a;
    border: 1px solid rgba(255,255,255,.08);
    border-radius: 16px;
    padding: 10px 14px 16px;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    box-shadow: var(--shadow);
    max-height: min(72vh, calc(100dvh - var(--header) - env(safe-area-inset-top, 0px) - 28px));
    overflow: auto;
    -webkit-overflow-scrolling: touch;
    z-index: 55;
  }

  .mmy-nav a {
    display: flex;
    align-items: center;
    min-height: 48px;
    padding: 10px 8px;
    font-size: 16px;
    border-bottom: 1px solid rgba(255,255,255,.06);
  }

  .mmy-nav.is-open { display: flex; }
  .mmy-nav .mmy-btn {
    margin: 12px 0 0;
    border-bottom: 0;
    width: 100%;
    min-height: 48px;
  }

  .mmy-toggle.is-open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
  .mmy-toggle.is-open span:nth-child(2) { opacity: 0; }
  .mmy-toggle.is-open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
  .mmy-toggle span { transition: transform .18s ease, opacity .18s ease; }

  body.mmy-nav-open { overflow: hidden; }
  body.mmy-nav-open .mmy-float { display: none; }
}

/* iPad portrait comfort */
@media (min-width: 721px) and (max-width: 1100px) {
  .mmy-hero { padding: 56px 0 64px; }
  .mmy-section { padding: 60px 0; }
  .mmy-highlights,
  .mmy-feature-row,
  .mmy-steps { grid-template-columns: 1fr 1fr; }
  .mmy-wrap { width: min(100% - 40px, var(--max)); }
}

/* Android phones + iPhone */
@media (max-width: 720px) {
  body.mmy-theme { font-size: 16px; }
  .mmy-wrap { width: min(100% - 24px, var(--max)); }
  .mmy-hero { padding: 40px 0 72px; }
  .mmy-section { padding: 48px 0; }
  .mmy-page { padding: 40px 0 72px; }
  .mmy-cards--3,
  .mmy-games,
  .mmy-pay,
  .mmy-highlights,
  .mmy-feature-row,
  .mmy-steps,
  .mmy-footer__grid,
  .mmy-split,
  .mmy-footer__bar { grid-template-columns: 1fr; }

  .mmy-footer__bar { flex-direction: column; }
  .mmy-hero h1 { max-width: none; }
  .mmy-hero__actions { flex-direction: column; align-items: stretch; }
  .mmy-hero__actions .mmy-btn { width: 100%; }
  .mmy-table th,
  .mmy-table td { padding: 14px 14px; }
  .mmy-table th { width: 42%; }
  .mmy-steps li,
  .mmy-tips li { padding: 18px 16px 18px 68px; }
  .mmy-brand small { display: none; }
  .mmy-header__inner { min-height: 64px; gap: 12px; }
  .mmy-footer { padding: 40px 0 calc(24px + env(safe-area-inset-bottom, 0px)); }
  .mmy-main { padding-bottom: 56px; }
  .mmy-404 { padding: 48px 0 64px; min-height: 60vh; }
  .mmy-404__actions { flex-direction: column; align-items: stretch; }
  .mmy-404__actions .mmy-btn { width: 100%; }
}

@media (max-width: 380px) {
  h1 { font-size: 1.7rem; }
  .mmy-brand strong { font-size: 16px; }
  .mmy-hero__mark,
  .mmy-hero__mark img { width: 80px; height: 80px; }
}
