/* XME — mockup-overlay: full-page Turkish mockup with invisible hotspots
   over the cards/buttons baked into the JPG. */

html, body { background: #050308; }
body { margin: 0; font-family: Georgia, "Times New Roman", serif; color: #FFE69A; }

* { box-sizing: border-box; }

/* ============================================================
   MOCKUP STAGE — fits image into viewport, fills sides w/ blurred bg
   ============================================================ */
body.xme.xme-mockup {
  margin: 0;
  min-height: 100vh;
  height: 100vh;
  background: #050308 url('/xme/stage-bg.jpg') center/cover no-repeat;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}
body.xme.xme-mockup::before {
  content: '';
  position: fixed; inset: 0;
  background: rgba(5,3,8,.55);
  z-index: 0;
}

/* The mockup canvas — 1536×1030 ratio (matches mockup-tr.jpg). */
.xme-mock {
  position: relative;
  width: min(100vw, calc(100vh * 1536 / 1030));
  height: min(100vh, calc(100vw * 1030 / 1536));
  overflow: hidden;
  z-index: 1;
}
.xme-mock-img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
  pointer-events: none;
  -webkit-user-drag: none;
  user-select: none;
}

/* Invisible hotspots — soft hover/active glow only. */
.xme-mock-hot {
  position: absolute;
  background: transparent;
  border: 0;
  padding: 0;
  cursor: pointer;
  border-radius: 12px;
  transition: background .12s ease, box-shadow .12s ease;
}
.xme-mock-hot:hover {
  background: rgba(255,239,166,.06);
  box-shadow: 0 0 22px rgba(246,194,74,.22);
}
.xme-mock-hot:active { background: rgba(255,239,166,.12); }

/* YÖNETICI balance — solid box covering "₺0.00" with live value. */
.xme-mock-balance {
  position: absolute;
  left: 70.5%; top: 2.4%;
  width: 8.8%;  height: 6.5%;
  background: #0a0604;
  border-radius: 5px;
  font-family: Georgia, "Times New Roman", serif;
  font-weight: 700;
  color: #FFD86B;
  display: flex; flex-direction: column;
  align-items: center; justify-content: center;
  font-size: clamp(.6em, .95vw, .92em);
  line-height: 1.05;
  white-space: nowrap;
  overflow: hidden;
  z-index: 2;
}
.xme-mock-balance small {
  font-size: .58em;
  font-weight: 600;
  letter-spacing: 1.2px;
  color: rgba(232,220,190,.7);
  margin-bottom: 1px;
}

.xme-mock-deposit { left: 80.6%; top: 2.4%; width: 13.0%; height: 6.5%; }
.xme-mock-logout  { left: 94.9%; top: 2.4%; width: 3.9%;  height: 6.5%; }

/* 10 card hotspots — 6 top row, 4 bottom row (offset left). */
.xme-mock-card[data-card="0"] { left: 4.6%;  top: 20.8%; width: 13.5%; height: 27%; }
.xme-mock-card[data-card="1"] { left: 20.0%; top: 20.8%; width: 13.5%; height: 27%; }
.xme-mock-card[data-card="2"] { left: 35.4%; top: 20.8%; width: 13.5%; height: 27%; }
.xme-mock-card[data-card="3"] { left: 50.8%; top: 20.8%; width: 13.5%; height: 27%; }
.xme-mock-card[data-card="4"] { left: 66.2%; top: 20.8%; width: 13.5%; height: 27%; }
.xme-mock-card[data-card="5"] { left: 81.6%; top: 20.8%; width: 13.5%; height: 27%; }
.xme-mock-card[data-card="6"] { left: 11.7%; top: 55.7%; width: 14.5%; height: 27%; }
.xme-mock-card[data-card="7"] { left: 28.7%; top: 55.7%; width: 14.5%; height: 27%; }
.xme-mock-card[data-card="8"] { left: 45.7%; top: 55.7%; width: 14.5%; height: 27%; }
.xme-mock-card[data-card="9"] { left: 62.7%; top: 55.7%; width: 14.5%; height: 27%; }

/* ============================================================
   AUTH GATE
   ============================================================ */
.xme-gate {
  position: fixed; inset: 0;
  background: rgba(0,0,0,.85);
  backdrop-filter: blur(6px);
  display: flex; align-items: center; justify-content: center;
  z-index: 100;
}
.xme-gate[hidden] { display: none !important; }
.xme-gate-card {
  background: linear-gradient(180deg, rgba(22,14,6,.92), rgba(8,5,2,.96));
  border: 1.5px solid rgba(246,194,74,.55);
  border-radius: 16px;
  padding: 28px 32px;
  text-align: center;
  max-width: 360px;
  box-shadow: 0 16px 48px rgba(0,0,0,.6);
}
.xme-gate-logo { width: 64px; height: 64px; margin: 0 auto 8px; display: block; }
.xme-gate-msg  { color: rgba(255,239,166,.9); font-family: Georgia, serif; margin: 12px 0 18px; }

/* ============================================================
   GOLD BUTTON
   ============================================================ */
.xme-btn {
  display: inline-block;
  padding: 10px 22px;
  border-radius: 8px;
  border: 0;
  cursor: pointer;
  font-family: Georgia, serif;
  font-weight: 800;
  letter-spacing: .04em;
  text-decoration: none;
  transition: filter .15s ease;
}
.xme-btn-gold {
  background: linear-gradient(180deg, #FFEFA6 0%, #F6C24A 50%, #8A4900 100%);
  color: #2a1500;
  border: 1.5px solid rgba(255,239,166,.7);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.45), 0 6px 18px rgba(246,194,74,.32);
  text-shadow: 0 1px 0 rgba(255,255,255,.25);
}
.xme-btn-gold:hover  { filter: brightness(1.06); }
.xme-btn-gold:active { filter: brightness(.94); }

/* ============================================================
   DEPOSIT MODAL
   ============================================================ */
.xme-modal {
  position: fixed; inset: 0;
  z-index: 110;
  display: flex; align-items: center; justify-content: center;
  padding: 16px;
}
.xme-modal[hidden] { display: none !important; }
.xme-modal-backdrop {
  position: absolute; inset: 0;
  background: rgba(0,0,0,.7);
  backdrop-filter: blur(4px);
}
.xme-modal-card {
  position: relative;
  background: linear-gradient(180deg, rgba(22,14,6,.92), rgba(8,5,2,.96));
  border: 1.5px solid rgba(246,194,74,.55);
  border-radius: 16px;
  padding: 28px;
  width: 100%;
  max-width: 420px;
  box-shadow: 0 16px 48px rgba(0,0,0,.6);
}
.xme-modal-x {
  position: absolute; top: 6px; right: 12px;
  background: transparent; border: 0;
  color: #F6C24A; font-size: 28px; line-height: 1;
  cursor: pointer;
}
.xme-modal-title {
  margin: 0 0 4px;
  font-family: Georgia, serif; font-weight: 900;
  font-size: 24px;
  background: linear-gradient(180deg, #FFEFA6 0%, #F6C24A 55%, #8A4900 100%);
  -webkit-background-clip: text; background-clip: text;
  color: transparent;
}
.xme-modal-sub { color: rgba(255,239,166,.7); font-size: 13px; margin: 0 0 18px; }

.xme-form { display: flex; flex-direction: column; gap: 20px; }
.xme-field { display: flex; flex-direction: column; gap: 8px; }
.xme-label {
  color: #F6C24A; font-size: 11px; font-weight: 700;
  letter-spacing: .14em;
}
.xme-opt { color: rgba(255,239,166,.5); font-weight: 400; letter-spacing: 0; }
.xme-field input, .xme-field select {
  background: #050308; color: #FFE69A;
  border: 1px solid rgba(246,194,74,.4);
  border-radius: 6px;
  padding: 12px 14px;
  font-family: inherit;
  outline: none;
}
/* Give the gold submit button a little extra breathing room from the last field. */
.xme-form .xme-btn { margin-top: 8px; }
.xme-field input:focus, .xme-field select:focus {
  border-color: #FFD86B;
}
.xme-err {
  color: #ff7878; font-size: 12px; margin-top: 4px;
}

/* ============================================================
   GAME FRAME (iframe)
   ============================================================ */
.xme-frame {
  position: fixed; inset: 0;
  z-index: 120;
  background: #000;
  display: flex; flex-direction: column;
}
.xme-frame[hidden] { display: none !important; }
.xme-frame-top {
  display: flex; align-items: center; gap: 12px;
  padding: 8px 12px;
  background: #0a0604;
  border-bottom: 1px solid rgba(246,194,74,.3);
}
.xme-icon-btn {
  background: transparent; border: 0; cursor: pointer;
  color: #F6C24A; padding: 8px;
}
.xme-icon-btn:hover { color: #FFE69A; }
.xme-frame-name {
  flex: 1; text-align: center;
  color: #FFD86B; font-size: 14px; font-weight: 700;
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.xme-frame iframe {
  flex: 1;
  width: 100%; border: 0; background: #000;
}
body.xme-frame-open { overflow: hidden; }

/* ============================================================
   LANDING (xme.bet/) — luxury casino lounge auth page
   ============================================================ */
body.xme.xme-landing {
  margin: 0;
  min-height: 100vh;
  font-family: Georgia, "Times New Roman", serif;
  color: #FFE69A;
  background: #050308;
  overflow-x: hidden;
  position: relative;
}

.xme-lng-bg {
  position: fixed; inset: 0;
  z-index: 0;
  background:
    url('/xme/landing-bg.jpg') 50% 50% / cover no-repeat,
    #050308;
  filter: saturate(1.05);
}
.xme-lng-bg::after {
  content: '';
  position: absolute; inset: 0;
  background:
    /* Strong dark column behind the auth card to kill the rendered mockup-UI */
    radial-gradient(32% 50% at 50% 50%, rgba(0,0,0,.92) 0%, rgba(0,0,0,.78) 40%, transparent 75%),
    /* Slight chandelier glow boost on top corners */
    radial-gradient(28% 22% at 10% 12%, rgba(255,210,100,.18), transparent 70%),
    radial-gradient(28% 22% at 90% 12%, rgba(255,210,100,.18), transparent 70%),
    /* Soft vignette */
    linear-gradient(180deg, rgba(0,0,0,.25) 0%, transparent 30%, transparent 70%, rgba(0,0,0,.45) 100%);
}

.xme-lng-vignette {
  position: fixed; inset: 0;
  z-index: 1;
  pointer-events: none;
  background: radial-gradient(120% 90% at 50% 50%, transparent 35%, rgba(0,0,0,.55) 80%, rgba(0,0,0,.92) 100%);
}

.xme-lng-floor {
  position: fixed; left: 0; right: 0; bottom: 0;
  height: 28vh;
  z-index: 1;
  pointer-events: none;
  background:
    linear-gradient(180deg, transparent 0%, rgba(246,194,74,.06) 50%, rgba(246,194,74,.14) 100%),
    repeating-linear-gradient(90deg,
      transparent 0 5%,
      rgba(246,194,74,.10) 5%, rgba(246,194,74,.10) 5.2%,
      transparent 5.2% 10%);
  mask-image: linear-gradient(180deg, transparent 0%, black 100%);
  -webkit-mask-image: linear-gradient(180deg, transparent 0%, black 100%);
  transform: perspective(800px) rotateX(60deg);
  transform-origin: top center;
}

/* Top-right chrome */
.xme-lng-top {
  position: relative;
  z-index: 5;
  display: flex; justify-content: flex-end;
  padding: 18px 28px;
}
.xme-lng-lang { position: relative; }
.xme-lng-lang-btn {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 8px 14px;
  border-radius: 8px;
  background: linear-gradient(180deg, rgba(22,14,6,.86), rgba(8,5,2,.92));
  border: 1.5px solid rgba(246,194,74,.55);
  color: #F6C24A;
  font-family: Georgia, serif;
  font-weight: 700;
  font-size: 13px;
  letter-spacing: .16em;
  cursor: pointer;
  min-width: 160px;
  box-shadow:
    inset 0 1px 0 rgba(255,239,166,.16),
    0 6px 18px rgba(0,0,0,.5);
}
.xme-lng-lang-btn .xme-lng-name { flex: 1; text-align: left; }
.xme-lng-flag { font-size: 16px; }

/* Hero */
.xme-lng-hero {
  position: relative;
  z-index: 5;
  text-align: center;
  padding: 18px 16px 8px;
}
.xme-lng-crown { display: flex; justify-content: center; margin-bottom: -4px; }
.xme-lng-crown svg { width: 78px; height: auto; filter: drop-shadow(0 0 18px rgba(246,194,74,.55)); }
.xme-lng-logo-row {
  display: inline-flex; align-items: center; justify-content: center;
  gap: 18px;
  width: 100%;
}
.xme-lng-deco {
  width: clamp(80px, 14vw, 160px);
  height: auto;
  opacity: .92;
  filter: drop-shadow(0 0 6px rgba(246,194,74,.4));
}
.xme-lng-logo {
  font-family: Georgia, serif;
  font-weight: 900;
  font-size: clamp(64px, 11vw, 132px);
  letter-spacing: .06em;
  background: linear-gradient(180deg, #FFEFA6 0%, #F6C24A 50%, #B86F0F 78%, #8A4900 100%);
  -webkit-background-clip: text; background-clip: text;
  color: transparent;
  filter: drop-shadow(0 0 22px rgba(246,194,74,.55)) drop-shadow(0 3px 0 rgba(0,0,0,.55));
  line-height: 1;
  margin-top: -6px;
}
.xme-lng-tagline-row {
  display: inline-flex; align-items: center; gap: 14px;
  margin-top: 10px;
}
.xme-lng-orn {
  display: inline-block;
  width: 50px; height: 1px;
  background: linear-gradient(90deg, transparent, #F6C24A, transparent);
}
.xme-lng-tagline {
  font-family: Georgia, serif;
  color: #FFE69A;
  letter-spacing: .26em;
  font-size: clamp(11px, 1.4vw, 14px);
  text-shadow: 0 0 12px rgba(246,194,74,.35);
}

/* Auth card */
.xme-lng-card {
  position: relative;
  z-index: 5;
  max-width: 520px;
  margin: 30px auto 0;
  padding: 36px 36px 28px;
  border-radius: 16px;
  background:
    radial-gradient(120% 60% at 50% 0%, rgba(246,194,74,.10), transparent 70%),
    linear-gradient(180deg, rgba(10,6,4,.94) 0%, rgba(4,3,7,.98) 100%);
  border: 1.5px solid rgba(246,194,74,.6);
  box-shadow:
    inset 0 1px 0 rgba(255,239,166,.20),
    inset 0 -1px 0 rgba(0,0,0,.7),
    0 24px 80px rgba(0,0,0,.7),
    0 0 60px rgba(246,194,74,.12);
  backdrop-filter: blur(12px);
}
.xme-lng-card-top {
  position: absolute; top: -16px; left: 50%; transform: translateX(-50%);
  background: linear-gradient(180deg, rgba(10,6,4,1), rgba(4,3,7,1));
  border: 1.5px solid rgba(246,194,74,.6);
  border-radius: 50%;
  width: 36px; height: 36px;
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 0 16px rgba(246,194,74,.35);
}

.xme-lng-tabs {
  display: flex; gap: 0;
  margin-bottom: 28px;
  border-bottom: 1px solid rgba(246,194,74,.20);
}
.xme-lng-tabs .xme-tab {
  flex: 1;
  background: transparent; border: 0;
  padding: 12px 0 14px;
  cursor: pointer;
  font-family: Georgia, serif;
  font-weight: 800;
  letter-spacing: .24em;
  font-size: 14px;
  color: rgba(255,239,166,.55);
  position: relative;
  transition: color .15s ease;
}
.xme-lng-tabs .xme-tab:hover { color: rgba(255,239,166,.85); }
.xme-lng-tabs .xme-tab.is-active {
  color: #F6C24A;
  text-shadow: 0 0 12px rgba(246,194,74,.55);
}
.xme-lng-tabs .xme-tab.is-active::after {
  content: '';
  position: absolute; left: 18%; right: 18%; bottom: -1px;
  height: 3px;
  background: linear-gradient(90deg, transparent, #F6C24A 30%, #FFEFA6 50%, #F6C24A 70%, transparent);
  border-radius: 2px;
  box-shadow: 0 0 12px rgba(246,194,74,.6);
}

.xme-form.xme-lng-form { display: none; }
.xme-form.xme-lng-form.is-active { display: flex; flex-direction: column; gap: 18px; }

.xme-lng-field .xme-label {
  display: block;
  margin-bottom: 8px;
  color: #FFE69A;
  font-size: 11px; font-weight: 700;
  letter-spacing: .22em;
}
.xme-lng-field .xme-opt { color: rgba(255,239,166,.5); font-weight: 400; }
.xme-lng-input {
  position: relative;
  display: flex; align-items: center;
  background: rgba(0,0,0,.55);
  border: 1px solid rgba(246,194,74,.4);
  border-radius: 8px;
  padding: 0 12px;
  transition: border-color .15s ease, box-shadow .15s ease;
}
.xme-lng-input:focus-within {
  border-color: #FFD86B;
  box-shadow: 0 0 0 3px rgba(246,194,74,.18);
}
.xme-lng-input svg { color: rgba(246,194,74,.7); flex-shrink: 0; }
.xme-lng-input input {
  flex: 1;
  background: transparent;
  border: 0; outline: 0;
  padding: 14px 12px;
  font-family: Georgia, serif;
  color: #FFE69A;
  font-size: 14px;
}
.xme-lng-input input::placeholder { color: rgba(255,239,166,.4); }
.xme-pw-eye {
  background: transparent; border: 0;
  color: rgba(246,194,74,.7);
  cursor: pointer;
  padding: 0 4px;
  flex-shrink: 0;
}
.xme-pw-eye:hover { color: #FFD86B; }

.xme-lng-tos {
  display: flex; gap: 10px;
  font-size: 12px; line-height: 1.45;
  color: rgba(255,239,166,.7);
  cursor: pointer;
}
.xme-lng-tos input[type=checkbox] {
  accent-color: #F6C24A;
  margin-top: 2px;
  flex-shrink: 0;
}
.xme-lng-tos a { color: #F6C24A; text-decoration: none; font-weight: 700; }
.xme-lng-tos a:hover { text-decoration: underline; }

.xme-lng-forgot {
  text-align: right; margin-top: -8px;
}
.xme-lng-forgot a {
  color: #F6C24A; text-decoration: none;
  font-size: 12px; letter-spacing: .1em;
}
.xme-lng-forgot a:hover { text-decoration: underline; }

.xme-lng-btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 14px;
  padding: 14px 22px;
  border-radius: 10px;
  font-family: Georgia, serif;
  font-weight: 800;
  letter-spacing: .26em;
  font-size: 15px;
}
.xme-lng-btn-orn { color: #6B3A00; font-size: 10px; opacity: .8; }

.xme-lng-divider {
  display: flex; align-items: center; gap: 14px;
  color: rgba(255,239,166,.55);
  font-size: 12px; letter-spacing: .24em;
  margin: 2px 0;
}
.xme-lng-divider::before,
.xme-lng-divider::after {
  content: ''; flex: 1; height: 1px;
  background: linear-gradient(90deg, transparent, rgba(246,194,74,.4), transparent);
}

.xme-lng-google {
  display: inline-flex; align-items: center; justify-content: center; gap: 12px;
  padding: 13px 20px;
  border-radius: 10px;
  background: transparent;
  border: 1.5px solid rgba(246,194,74,.4);
  color: #FFE69A;
  font-family: Georgia, serif;
  font-weight: 800;
  letter-spacing: .22em;
  font-size: 14px;
  text-decoration: none;
  transition: border-color .15s ease, background .15s ease;
}
.xme-lng-google:hover {
  border-color: #FFD86B;
  background: rgba(246,194,74,.08);
}

.xme-err {
  color: #ff8b8b;
  font-size: 12px;
  background: rgba(255, 80, 80, .08);
  border: 1px solid rgba(255, 80, 80, .25);
  border-radius: 6px;
  padding: 8px 10px;
}

/* Bottom feature bar */
.xme-lng-features {
  position: relative;
  z-index: 5;
  max-width: 1280px;
  margin: 40px auto 0;
  padding: 22px 32px;
  border-radius: 16px;
  background: linear-gradient(180deg, rgba(10,6,4,.90), rgba(4,3,7,.94));
  border: 1.5px solid rgba(246,194,74,.55);
  box-shadow:
    inset 0 1px 0 rgba(255,239,166,.18),
    0 18px 50px rgba(0,0,0,.6);
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 22px;
}
.xme-lng-feat {
  display: flex; align-items: center; gap: 18px;
  min-width: 0;
}
.xme-lng-feat-ico {
  flex-shrink: 0;
  width: 64px; height: 64px;
  display: inline-flex; align-items: center; justify-content: center;
  border-radius: 12px;
  background:
    radial-gradient(120% 80% at 50% 0%, rgba(255,239,166,.22), transparent 70%),
    linear-gradient(180deg, #6E4400 0%, #3E2400 100%);
  color: #FFD86B;
  border: 1.5px solid rgba(246,194,74,.55);
  box-shadow:
    inset 0 1px 0 rgba(255,239,166,.32),
    0 6px 18px rgba(0,0,0,.45);
}
.xme-lng-feat-ico svg { width: 32px; height: 32px; }
.xme-lng-feat-txt { min-width: 0; }
.xme-lng-feat strong {
  display: block;
  color: #F6C24A;
  font-weight: 800;
  font-size: 14px;
  letter-spacing: .18em;
  margin-bottom: 3px;
  text-shadow: 0 0 10px rgba(246,194,74,.35);
}
.xme-lng-feat span {
  display: block;
  color: rgba(255,239,166,.72);
  font-size: 12px;
  line-height: 1.35;
}

.xme-lng-footer {
  position: relative;
  z-index: 5;
  text-align: center;
  margin: 20px 0 24px;
  color: rgba(255,239,166,.5);
  font-size: 12px;
  letter-spacing: .12em;
}

/* Mobile */
@media (max-width: 720px) {
  .xme-lng-top { padding: 12px 14px; }
  .xme-lng-card {
    margin: 18px 14px 0;
    padding: 28px 20px 22px;
  }
  .xme-lng-features {
    grid-template-columns: repeat(2, 1fr);
    margin: 24px 14px 0;
    padding: 12px 14px;
  }
  .xme-lng-feat-ico { width: 36px; height: 36px; }
  .xme-lng-tagline { letter-spacing: .18em; }
}

/* ==========================================================
   Landing — mockup overlay (image IS the page)
   Image natural size: 1559 x 1009
   ========================================================== */
body.xme-landing-mock {
  margin: 0;
  background: #000;
  min-height: 100vh;
  display: block;
  overflow-x: hidden;
}
body.xme-landing-mock .xme-lng-bg,
body.xme-landing-mock .xme-lng-vignette,
body.xme-landing-mock .xme-lng-floor,
body.xme-landing-mock .xme-lng-top,
body.xme-landing-mock .xme-lng-hero,
body.xme-landing-mock .xme-lng-card,
body.xme-landing-mock .xme-lng-features,
body.xme-landing-mock .xme-lng-footer { display: none !important; }

.xme-lng-mock {
  position: relative;
  width: 100%;
  max-width: 1600px;
  margin: 0 auto;
  background: #000;
}
.xme-lng-mock-img {
  display: block;
  width: 100%;
  height: auto;
  user-select: none;
  pointer-events: none;
}

/* Invisible click hotspots (all positioned by % of container) */
.xme-lng-mock-hot {
  position: absolute;
  background: transparent;
  border: 0;
  padding: 0;
  margin: 0;
  cursor: pointer;
  color: transparent;
  font-size: 0;
  text-decoration: none;
  display: block;
  z-index: 2;
}
.xme-lng-mock-hot:focus-visible {
  outline: 2px solid rgba(246,194,74,.7);
  outline-offset: 2px;
}

/* Form containers absolute over the mockup */
.xme-lng-mock-form {
  position: absolute;
  inset: 0;
  pointer-events: none;
}
.xme-lng-mock-form:not(.is-active) { display: none; }
.xme-lng-mock-form > * { pointer-events: auto; }

/* Inputs — opaque dark to cover rendered placeholder, sized + positioned by class */
.xme-lng-mock-input {
  position: absolute;
  background: #0a0814;
  border: 1px solid rgba(246,194,74,.35);
  border-radius: 8px;
  outline: 0;
  color: #FFE69A;
  font-family: Georgia, serif;
  font-size: clamp(13px, 1.05vw, 17px);
  padding: 0 14px 0 46px;
  z-index: 3;
  box-sizing: border-box;
}
.xme-lng-mock-input::placeholder { color: rgba(255,239,166,.45); }
.xme-lng-mock-input:focus { border-color: #FFD86B; box-shadow: 0 0 0 3px rgba(246,194,74,.18); }

.xme-lng-mock-input-wrap {
  position: absolute;
  display: block;
  z-index: 3;
}
.xme-lng-mock-input-wrap .xme-lng-mock-input {
  position: static;
  width: 100%;
  height: 100%;
  padding-right: 48px;
}
.xme-lng-mock-eye {
  position: absolute;
  right: 10px;
  top: 50%;
  transform: translateY(-50%);
  background: transparent;
  border: 0;
  color: rgba(246,194,74,.7);
  cursor: pointer;
  padding: 4px;
}
.xme-lng-mock-eye:hover { color: #FFD86B; }

/* Real auth card overlay — sits in the painted-dark zone (x 30-70%, y 23-86%) */
.xme-lng-realcard {
  position: absolute;
  top: 22%;
  left: 30%;
  width: 40%;
  height: 65%;
  padding: 3% 3.5% 2.5%;
  background:
    radial-gradient(120% 60% at 50% 0%, rgba(246,194,74,.08), transparent 70%),
    linear-gradient(180deg, rgba(10,6,4,.97) 0%, rgba(4,3,7,.99) 100%);
  border: 1.5px solid rgba(246,194,74,.6);
  border-radius: 14px;
  box-shadow:
    inset 0 1px 0 rgba(255,239,166,.20),
    0 24px 60px rgba(0,0,0,.65),
    0 0 60px rgba(246,194,74,.12);
  display: flex; flex-direction: column;
  z-index: 2;
  box-sizing: border-box;
  backdrop-filter: blur(8px);
}

.xme-lng-rc-tabs {
  display: flex;
  border-bottom: 1px solid rgba(246,194,74,.2);
  margin-bottom: 4%;
}
.xme-lng-rc-tabs .xme-tab {
  flex: 1;
  background: transparent; border: 0;
  padding: 10px 0 12px;
  cursor: pointer;
  font-family: Georgia, serif;
  font-weight: 800;
  letter-spacing: .2em;
  font-size: clamp(11px, 1.1vw, 14px);
  color: rgba(255,239,166,.5);
  position: relative;
}
.xme-lng-rc-tabs .xme-tab.is-active {
  color: #F6C24A;
  text-shadow: 0 0 12px rgba(246,194,74,.55);
}
.xme-lng-rc-tabs .xme-tab.is-active::after {
  content: '';
  position: absolute; left: 18%; right: 18%; bottom: -1px;
  height: 2.5px;
  background: linear-gradient(90deg, transparent, #F6C24A 30%, #FFEFA6 50%, #F6C24A 70%, transparent);
  border-radius: 2px;
  box-shadow: 0 0 12px rgba(246,194,74,.6);
}

.xme-form.xme-lng-rc-form { display: none; flex: 1; flex-direction: column; gap: 2.5%; justify-content: center; }
.xme-form.xme-lng-rc-form.is-active { display: flex; }

.xme-lng-rc-field { display: block; }
.xme-lng-rc-label {
  display: block;
  margin-bottom: 4px;
  color: #FFE69A;
  font-size: clamp(9px, .9vw, 11px);
  font-weight: 700;
  letter-spacing: .2em;
}
.xme-lng-rc-label .xme-opt { color: rgba(255,239,166,.5); font-weight: 400; }
.xme-lng-rc-input {
  position: relative;
  display: flex; align-items: center;
  background: rgba(0,0,0,.5);
  border: 1px solid rgba(246,194,74,.4);
  border-radius: 7px;
  padding: 0 10px;
}
.xme-lng-rc-input:focus-within {
  border-color: #FFD86B;
  box-shadow: 0 0 0 2px rgba(246,194,74,.2);
}
.xme-lng-rc-input svg { color: rgba(246,194,74,.7); flex-shrink: 0; }
.xme-lng-rc-input input {
  flex: 1;
  background: transparent; border: 0; outline: 0;
  padding: 10px;
  font-family: Georgia, serif;
  color: #FFE69A;
  font-size: clamp(12px, 1.0vw, 14px);
}
.xme-lng-rc-input input::placeholder { color: rgba(255,239,166,.4); }
.xme-lng-rc-input .xme-pw-eye {
  background: transparent; border: 0;
  color: rgba(246,194,74,.7);
  cursor: pointer;
  padding: 0 4px;
}

.xme-lng-rc-tos {
  display: flex; gap: 8px;
  color: rgba(255,239,166,.7);
  font-size: clamp(10px, .85vw, 12px);
  line-height: 1.4;
}
.xme-lng-rc-tos input[type=checkbox] {
  accent-color: #F6C24A;
  margin-top: 2px;
  flex-shrink: 0;
}
.xme-lng-rc-tos a { color: #F6C24A; text-decoration: none; font-weight: 700; }

.xme-lng-rc-forgot { text-align: right; }
.xme-lng-rc-forgot a {
  color: #F6C24A; text-decoration: none;
  font-size: clamp(10px, .9vw, 12px);
  letter-spacing: .08em;
}

.xme-lng-rc-btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 14px;
  padding: 13px 18px;
  border-radius: 8px;
  background: linear-gradient(180deg, #FFEFA6 0%, #F6C24A 55%, #B8761E 100%);
  border: 1px solid #6B3A00;
  color: #2A1500;
  font-family: Georgia, serif;
  font-weight: 800;
  letter-spacing: .22em;
  font-size: clamp(12px, 1.1vw, 15px);
  cursor: pointer;
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,.5),
    0 6px 20px rgba(0,0,0,.5);
}
.xme-lng-rc-btn-orn { color: #6B3A00; font-size: 10px; opacity: .85; }

.xme-lng-rc-divider {
  display: flex; align-items: center; gap: 14px;
  color: rgba(255,239,166,.55);
  font-size: clamp(10px, .85vw, 12px);
  letter-spacing: .22em;
}
.xme-lng-rc-divider::before,
.xme-lng-rc-divider::after {
  content: ''; flex: 1; height: 1px;
  background: linear-gradient(90deg, transparent, rgba(246,194,74,.4), transparent);
}

.xme-lng-rc-google {
  display: inline-flex; align-items: center; justify-content: center; gap: 12px;
  padding: 11px 18px;
  border-radius: 8px;
  background: transparent;
  border: 1.5px solid rgba(246,194,74,.4);
  color: #FFE69A;
  font-family: Georgia, serif;
  font-weight: 800;
  letter-spacing: .2em;
  font-size: clamp(11px, 1.0vw, 14px);
  text-decoration: none;
}
.xme-lng-rc-google:hover {
  border-color: #FFD86B;
  background: rgba(246,194,74,.08);
}

/* ============================================================
   Landing — CLASSIC English layout (Sign Up / Login / Continue with Google)
   Casino lounge bg, simple centered card. No image overlay.
   ============================================================ */
body.xme-landing-classic {
  margin: 0;
  background: #0a0810;
  min-height: 100vh;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  color: #FFE69A;
  overflow-x: hidden;
}
body.xme-landing-classic .xme-lng-bg,
body.xme-landing-classic .xme-lng-vignette,
body.xme-landing-classic .xme-lng-floor,
body.xme-landing-classic .xme-lng-top,
body.xme-landing-classic .xme-lng-hero,
body.xme-landing-classic .xme-lng-card,
body.xme-landing-classic .xme-lng-features,
body.xme-landing-classic .xme-lng-footer,
body.xme-landing-classic .xme-lng-mock,
body.xme-landing-classic .xme-lng-realcard { display: none !important; }

.xme-cl-bg {
  position: fixed; inset: 0;
  z-index: 0;
  background:
    url('/xme/landing-bg.jpg') 50% 50% / cover no-repeat,
    #0a0810;
  filter: saturate(1.1);
}
.xme-cl-vignette {
  position: fixed; inset: 0;
  z-index: 1;
  pointer-events: none;
  background:
    radial-gradient(70% 75% at 50% 50%, transparent 0%, rgba(0,0,0,.20) 70%, rgba(0,0,0,.55) 100%);
}

.xme-cl-wrap {
  position: relative;
  z-index: 5;
  min-height: 100vh;
  display: flex; flex-direction: column;
  align-items: center;
  padding: 6vh 16px 4vh;
  box-sizing: border-box;
}

.xme-cl-brand { text-align: center; margin-bottom: 28px; }
.xme-cl-logo-img {
  display: block;
  margin: 0 auto;
  width: clamp(280px, 38vw, 480px);
  height: auto;
  filter: drop-shadow(0 8px 28px rgba(246,194,74,.45));
}

.xme-cl-card {
  width: 100%;
  max-width: 420px;
  padding: 28px 28px 24px;
  border-radius: 12px;
  background: linear-gradient(180deg, rgba(20,12,8,.88) 0%, rgba(8,6,12,.92) 100%);
  border: 1px solid rgba(246,194,74,.30);
  box-shadow:
    inset 0 1px 0 rgba(255,239,166,.10),
    0 18px 50px rgba(0,0,0,.55);
  backdrop-filter: blur(10px);
}

.xme-cl-tabs {
  display: flex;
  margin-bottom: 22px;
  border-bottom: 1px solid rgba(246,194,74,.15);
}
.xme-cl-tabs .xme-tab {
  flex: 1;
  background: transparent; border: 0;
  padding: 10px 0 12px;
  cursor: pointer;
  font: inherit;
  font-weight: 700;
  font-size: 14px;
  color: rgba(255,239,166,.55);
  position: relative;
}
.xme-cl-tabs .xme-tab:hover { color: rgba(255,239,166,.85); }
.xme-cl-tabs .xme-tab.is-active { color: #F6C24A; }
.xme-cl-tabs .xme-tab.is-active::after {
  content: '';
  position: absolute; left: 25%; right: 25%; bottom: -1px;
  height: 2px;
  background: #F6C24A;
  border-radius: 1px;
}

.xme-form.xme-cl-form { display: none; flex-direction: column; gap: 14px; }
.xme-form.xme-cl-form.is-active { display: flex; }

.xme-cl-field { display: block; }
.xme-cl-label {
  display: block;
  margin-bottom: 6px;
  color: rgba(255,239,166,.85);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .12em;
}
.xme-cl-opt { color: rgba(255,239,166,.45); font-weight: 400; }
.xme-cl-field input,
.xme-cl-pw-wrap input {
  width: 100%;
  background: rgba(0,0,0,.45);
  border: 1px solid rgba(246,194,74,.25);
  border-radius: 6px;
  padding: 11px 14px;
  font: inherit;
  font-size: 13px;
  color: #FFE69A;
  outline: 0;
  box-sizing: border-box;
}
.xme-cl-field input::placeholder,
.xme-cl-pw-wrap input::placeholder { color: rgba(255,239,166,.35); }
.xme-cl-field input:focus,
.xme-cl-pw-wrap input:focus { border-color: #FFD86B; box-shadow: 0 0 0 2px rgba(246,194,74,.15); }

.xme-cl-pw-wrap { position: relative; display: block; }
.xme-cl-pw-wrap input { padding-right: 42px; }
.xme-cl-pw-wrap .xme-pw-eye {
  position: absolute;
  top: 50%; right: 10px;
  transform: translateY(-50%);
  background: transparent; border: 0;
  color: rgba(246,194,74,.7);
  cursor: pointer;
  padding: 4px;
}
.xme-cl-pw-wrap .xme-pw-eye:hover { color: #FFD86B; }

.xme-cl-legal {
  margin: 2px 0;
  font-size: 11px;
  line-height: 1.5;
  color: rgba(255,239,166,.55);
}
.xme-cl-legal a { color: #F6C24A; text-decoration: none; }
.xme-cl-legal a:hover { text-decoration: underline; }

.xme-cl-forgot { text-align: right; }
.xme-cl-forgot a {
  color: rgba(255,239,166,.7);
  text-decoration: none;
  font-size: 12px;
}
.xme-cl-forgot a:hover { color: #F6C24A; }

.xme-cl-btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  padding: 12px 16px;
  border-radius: 8px;
  font: inherit;
  font-weight: 700;
  font-size: 14px;
  cursor: pointer;
  text-decoration: none;
  border: 0;
  box-sizing: border-box;
  width: 100%;
}
.xme-cl-btn-gold {
  background: linear-gradient(180deg, #FFEFA6 0%, #F6C24A 55%, #B8761E 100%);
  color: #2A1500;
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,.4),
    0 4px 14px rgba(0,0,0,.4);
}
.xme-cl-btn-gold:hover { filter: brightness(1.05); }

.xme-cl-btn-google {
  background: rgba(255,255,255,.04);
  border: 1px solid rgba(246,194,74,.25);
  color: #FFE69A;
}
.xme-cl-btn-google:hover { background: rgba(246,194,74,.08); border-color: #FFD86B; }

.xme-cl-divider {
  display: flex; align-items: center; gap: 14px;
  color: rgba(255,239,166,.45);
  font-size: 11px; letter-spacing: .2em;
  margin: 2px 0;
}
.xme-cl-divider::before, .xme-cl-divider::after {
  content: ''; flex: 1; height: 1px;
  background: rgba(246,194,74,.18);
}

.xme-cl-err {
  font-size: 12px;
  color: #ff8b8b;
  background: rgba(255,80,80,.08);
  border: 1px solid rgba(255,80,80,.25);
  border-radius: 6px;
  padding: 8px 10px;
}

.xme-cl-footer {
  margin-top: auto;
  padding-top: 32px;
  color: rgba(255,239,166,.4);
  font-size: 12px;
  text-align: center;
}

/* ============================================================
   PLAY — CLASSIC layout (real HTML game grid over stage bg)
   ============================================================ */
body.xme-play-classic {
  margin: 0;
  background: #0a0810;
  min-height: 100vh;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  color: #FFE69A;
  overflow-x: hidden;
}
body.xme-play-classic .xme-mock,
body.xme-play-classic .xme-mock-img,
body.xme-play-classic .xme-mock-balance,
body.xme-play-classic .xme-mock-deposit,
body.xme-play-classic .xme-mock-logout,
body.xme-play-classic .xme-mock-hot:not(.xme-pl-card) { display: none !important; }

.xme-pl-bg {
  position: fixed; inset: 0;
  z-index: 0;
  background:
    url('/xme/play-bg.jpg') 50% 50% / cover no-repeat,
    #0a0810;
  filter: saturate(1.05);
}
.xme-pl-vignette {
  position: fixed; inset: 0;
  z-index: 1;
  pointer-events: none;
  background:
    radial-gradient(70% 80% at 50% 50%, transparent 0%, rgba(0,0,0,.18) 70%, rgba(0,0,0,.55) 100%);
}
/* Ambient floating dust particles */
.xme-pl-vignette::before,
.xme-pl-vignette::after {
  content: '';
  position: absolute; inset: 0;
  background-image:
    radial-gradient(2px 2px at 20% 30%, rgba(255,215,140,.35) 50%, transparent 100%),
    radial-gradient(1.5px 1.5px at 70% 60%, rgba(255,215,140,.28) 50%, transparent 100%),
    radial-gradient(2px 2px at 40% 80%, rgba(255,215,140,.32) 50%, transparent 100%),
    radial-gradient(1px 1px at 85% 25%, rgba(255,215,140,.45) 50%, transparent 100%),
    radial-gradient(1.5px 1.5px at 15% 70%, rgba(255,215,140,.3) 50%, transparent 100%),
    radial-gradient(2px 2px at 55% 15%, rgba(255,215,140,.4) 50%, transparent 100%);
  background-size: 100% 100%;
  animation: xme-dust-drift 18s linear infinite;
  opacity: .65;
}
.xme-pl-vignette::after { animation-duration: 26s; animation-direction: reverse; opacity: .5; }
@keyframes xme-dust-drift {
  0%   { transform: translate3d(0, 0, 0); }
  50%  { transform: translate3d(20px, -30px, 0); }
  100% { transform: translate3d(-20px, 0, 0); }
}

.xme-pl-topbar {
  position: relative;
  z-index: 5;
  display: flex; align-items: center; justify-content: space-between;
  padding: 14px 24px;
  background: linear-gradient(180deg, rgba(10,8,16,.85), rgba(10,8,16,.45));
}
.xme-pl-brand {
  font-family: Georgia, serif;
  font-weight: 900;
  font-size: 22px;
  letter-spacing: .1em;
  background: linear-gradient(180deg, #FFEFA6, #F6C24A 55%, #8A4900);
  -webkit-background-clip: text; background-clip: text;
  color: transparent;
  filter: drop-shadow(0 2px 8px rgba(246,194,74,.4));
}
.xme-pl-actions { display: flex; align-items: center; gap: 10px; }
.xme-pl-balance {
  position: relative;
  font-family: Georgia, serif;
}
.xme-pl-balance .xme-bal-trigger {
  background: linear-gradient(180deg, rgba(20,12,8,.9), rgba(8,6,12,.95));
  border: 1.5px solid rgba(246,194,74,.55);
  border-radius: 8px;
  padding: 6px 14px;
  font-family: Georgia, serif;
  font-weight: 700;
  font-size: 14px;
  color: #FFD86B;
  display: flex; flex-direction: column; align-items: center;
  min-width: 120px;
  line-height: 1.1;
  cursor: pointer;
  transition: border-color .15s ease;
}
.xme-pl-balance .xme-bal-trigger:hover,
.xme-pl-balance.is-open .xme-bal-trigger { border-color: #F6C24A; }
.xme-pl-balance small {
  font-size: 9px;
  letter-spacing: .12em;
  color: rgba(232,220,190,.7);
  margin-bottom: 1px;
}
.xme-pl-balance .xme-bal-main {
  display: inline-block; line-height: 1.1;
}
.xme-pl-balance .xme-bal-cur-mini {
  font-size: 8px; letter-spacing: .14em;
  color: rgba(232,220,190,.5); margin-top: 1px;
  font-weight: 600;
}
.xme-pl-balance .xme-bal-caret {
  position: absolute; right: 8px; top: 50%; transform: translateY(-50%);
  font-style: normal; font-size: 10px; color: rgba(246,194,74,.7);
  pointer-events: none;
  transition: transform .15s ease;
}
.xme-pl-balance.is-open .xme-bal-caret { transform: translateY(-50%) rotate(180deg); }
.xme-pl-balance .xme-bal-dropdown {
  position: absolute; top: calc(100% + 6px); right: 0;
  min-width: 180px;
  background: linear-gradient(180deg, rgba(20,12,8,.97), rgba(8,6,12,.99));
  border: 1.5px solid rgba(246,194,74,.55);
  border-radius: 8px;
  overflow: hidden;
  z-index: 999;
  box-shadow: 0 12px 32px rgba(0,0,0,.6);
}
.xme-pl-balance .xme-bal-row {
  display: flex; align-items: center; justify-content: space-between;
  padding: 9px 14px;
  cursor: pointer;
  font-family: Georgia, serif;
  border-bottom: 1px solid rgba(246,194,74,.12);
  transition: background .12s ease;
}
.xme-pl-balance .xme-bal-row:last-child { border-bottom: none; }
.xme-pl-balance .xme-bal-row:hover { background: rgba(246,194,74,.1); }
.xme-pl-balance .xme-bal-row.is-active { background: rgba(246,194,74,.18); }
.xme-pl-balance .xme-bal-cur {
  font-size: 11px; letter-spacing: .1em;
  color: rgba(232,220,190,.85); font-weight: 700;
}
.xme-pl-balance .xme-bal-amt {
  font-size: 14px; font-weight: 800; color: #FFD86B;
}

/* ---- Deposit modal: tab strip ---- */
.xme-dep-tabs {
  display: flex; gap: 0;
  margin: 14px 0 18px;
  border: 1.5px solid rgba(246,194,74,.4);
  border-radius: 10px;
  overflow: hidden;
}
.xme-dep-tab {
  flex: 1;
  background: transparent;
  border: none;
  color: rgba(232,220,190,.65);
  padding: 10px 8px;
  font-family: Georgia, serif;
  font-weight: 700;
  font-size: 13px;
  letter-spacing: .06em;
  cursor: pointer;
  transition: background .15s ease, color .15s ease;
}
.xme-dep-tab + .xme-dep-tab { border-left: 1.5px solid rgba(246,194,74,.25); }
.xme-dep-tab:hover { color: #FFD86B; }
.xme-dep-tab.is-active {
  background: linear-gradient(180deg, rgba(246,194,74,.18), rgba(246,194,74,.05));
  color: #FFD86B;
  text-shadow: 0 0 8px rgba(246,194,74,.4);
}
.xme-dep-pane { display: none; }
.xme-dep-pane.is-active { display: block; }

/* ---- USDT receive pane ---- */
.xme-usdt-net {
  display: flex; justify-content: space-between; align-items: center;
  margin-bottom: 14px;
}
.xme-usdt-chip {
  background: linear-gradient(180deg, rgba(246,194,74,.2), rgba(246,194,74,.05));
  border: 1px solid rgba(246,194,74,.5);
  color: #FFD86B;
  padding: 4px 12px;
  border-radius: 999px;
  font-size: 11px; font-weight: 700; letter-spacing: .1em;
}
.xme-usdt-min { font-size: 11px; color: rgba(232,220,190,.55); font-family: Georgia, serif; }
.xme-addr-wrap { position: relative; display: flex; gap: 8px; }
.xme-addr-wrap input {
  flex: 1;
  background: rgba(0,0,0,.4);
  border: 1.5px solid rgba(246,194,74,.35);
  color: #FFD86B;
  padding: 11px 13px;
  border-radius: 8px;
  font-family: ui-monospace, Menlo, Consolas, monospace;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: .02em;
}
.xme-addr-wrap input:focus { border-color: #F6C24A; outline: none; }
.xme-addr-copy {
  background: linear-gradient(180deg, rgba(246,194,74,.25), rgba(246,194,74,.08));
  border: 1.5px solid rgba(246,194,74,.5);
  color: #FFD86B;
  padding: 0 14px;
  border-radius: 8px;
  font-family: Georgia, serif;
  font-weight: 700;
  font-size: 12px;
  letter-spacing: .08em;
  cursor: pointer;
  transition: background .15s ease;
}
.xme-addr-copy:hover { background: linear-gradient(180deg, rgba(246,194,74,.45), rgba(246,194,74,.15)); }
.xme-usdt-qr {
  display: flex; justify-content: center;
  margin: 14px 0;
}
.xme-usdt-qr img {
  width: 160px; height: 160px;
  border: 6px solid #FFD86B;
  border-radius: 10px;
  background: #fff;
  box-shadow: 0 4px 16px rgba(0,0,0,.5);
}
.xme-usdt-note {
  background: rgba(255,86,86,.08);
  border: 1px solid rgba(255,150,150,.25);
  color: rgba(255,220,220,.85);
  padding: 10px 12px;
  border-radius: 8px;
  font-size: 11.5px;
  font-family: Georgia, serif;
  line-height: 1.5;
}
.xme-usdt-note b { color: #FFD86B; }

/* ---- Convert pane ---- */
.xme-cv-rate {
  background: linear-gradient(180deg, rgba(246,194,74,.1), rgba(246,194,74,.02));
  border: 1px solid rgba(246,194,74,.3);
  border-radius: 10px;
  padding: 10px 14px;
  margin-bottom: 14px;
  font-family: Georgia, serif;
}
.xme-cv-rate-line {
  display: flex; justify-content: space-between; align-items: center;
  padding: 4px 0;
  font-size: 13px;
  color: #FFD86B;
  font-weight: 700;
}
.xme-cv-rate-line.small { font-size: 11px; opacity: .75; font-weight: 600; }
.xme-cv-rate-lbl { color: rgba(232,220,190,.6); }
.xme-cv-rate-val { color: #FFD86B; }
.xme-err.is-ok {
  background: rgba(33,211,107,.12);
  border-color: rgba(33,211,107,.4);
  color: #21d36b;
}
.xme-pl-deposit {
  background: linear-gradient(180deg, #FFEFA6 0%, #F6C24A 55%, #B8761E 100%);
  border: 1.5px solid #6B3A00;
  border-radius: 8px;
  padding: 9px 16px;
  font-family: Georgia, serif;
  font-weight: 800;
  font-size: 13px;
  color: #2A1500;
  cursor: pointer;
  letter-spacing: .06em;
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,.45),
    0 4px 14px rgba(0,0,0,.4);
}
.xme-pl-deposit:hover { filter: brightness(1.05); }
.xme-pl-plus { font-size: 16px; font-weight: 900; margin-right: 2px; }
.xme-pl-logout {
  background: rgba(255,255,255,.04);
  border: 1.5px solid rgba(246,194,74,.4);
  border-radius: 8px;
  width: 40px; height: 40px;
  display: inline-flex; align-items: center; justify-content: center;
  color: #F6C24A;
  cursor: pointer;
}
.xme-pl-logout:hover { background: rgba(246,194,74,.08); border-color: #FFD86B; }

.xme-pl-main {
  position: relative;
  z-index: 5;
  max-width: 1320px;
  margin: 0 auto;
  padding: 6px 24px 60px;
}
.xme-pl-title {
  text-align: center;
  margin-bottom: 14px;
  position: relative;
}
.xme-pl-title svg { display: block; margin: 0 auto 6px; opacity: .85; }
.xme-pl-title h1 {
  margin: 0;
  font-family: Georgia, serif;
  font-weight: 900;
  font-size: clamp(22px, 3vw, 36px);
  letter-spacing: .16em;
  background:
    linear-gradient(110deg,
      #FFEFA6 0%, #F6C24A 25%, #FFEFA6 45%,
      #F6C24A 55%, #FFEFA6 70%, #8A4900 100%);
  background-size: 250% 100%;
  -webkit-background-clip: text; background-clip: text;
  color: transparent;
  filter: drop-shadow(0 2px 12px rgba(246,194,74,.42));
  animation: xme-title-shimmer 6s ease-in-out infinite;
}
@keyframes xme-title-shimmer {
  0%, 100% { background-position: 0% 50%; }
  50%      { background-position: 100% 50%; }
}
.xme-pl-title p {
  margin: 6px 0 0;
  font-size: 13px;
  color: rgba(255,239,166,.65);
  letter-spacing: .06em;
  display: inline-flex; align-items: center; gap: 14px;
}
.xme-pl-title p::before,
.xme-pl-title p::after {
  content: '◆';
  font-size: 9px;
  color: rgba(246,194,74,.5);
  letter-spacing: 0;
}

/* Game section — fixed-width CSS grid, all 6 cards in one row */
.xme-pl-game-section {
  margin: 24px auto 0;
  width: 100%;
  max-width: 1420px;
  padding: 0 28px;
  box-sizing: border-box;
}

.xme-pl-grid-row1,
.xme-pl-grid-row2 {
  display: grid;
  justify-content: center;
  align-items: end;
}

.xme-pl-grid-row1 {
  grid-template-columns: repeat(6, 250px);
  gap: 10px;
}

.xme-pl-grid-row2 {
  grid-template-columns: repeat(4, 250px);
  gap: 10px;
  margin: 4px auto 0;
}

.xme-pl-card {
  position: relative !important;
  width: 250px !important;
  height: 381px !important;
  aspect-ratio: auto !important;
  display: flex;
  justify-content: center;
  align-items: flex-end;
  background: transparent !important;
  border: 0 !important;
  outline: 0 !important;
  overflow: visible;
  padding: 0;
  box-sizing: border-box;
}

.xme-pl-card img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center bottom;
  display: block;
  transition:
    transform .28s ease,
    filter .28s ease;
}

.xme-pl-card:hover img {
  transform: translateY(-6px) scale(1.02);
  filter:
    drop-shadow(0 0 12px rgba(255,215,0,.45))
    drop-shadow(0 0 28px rgba(255,180,0,.32));
}

@media (max-width: 1240px) {
  .xme-pl-grid-row1 { gap: 14px; }
  .xme-pl-grid-row2 { gap: 14px; }
}
@media (max-width: 980px) {
  .xme-pl-grid-row1 { grid-template-columns: repeat(4, 1fr); }
  .xme-pl-grid-row2 { grid-template-columns: repeat(4, 1fr); max-width: 100%; }
  .xme-pl-topbar { padding: 10px 12px; }
  .xme-pl-balance { min-width: 72px; padding: 4px 10px; font-size: 12px; }
  .xme-pl-deposit { padding: 7px 12px; font-size: 11px; }
}
@media (max-width: 700px) {
  .xme-pl-main { padding: 6px 10px 60px; }
  .xme-pl-game-section { padding: 0 6px; }
  .xme-pl-grid-row1 { grid-template-columns: repeat(3, 1fr); gap: 8px; }
  .xme-pl-grid-row2 { grid-template-columns: repeat(3, 1fr); gap: 8px; max-width: 100%; }
  .xme-pl-card {
    width: auto !important;
    height: auto !important;
    aspect-ratio: 420 / 640 !important;
    min-width: 0;
  }
  .xme-pl-card img { width: 100%; height: 100%; object-fit: contain; }
}
@media (max-width: 480px) {
  .xme-pl-main { padding: 6px 8px 60px; }
  .xme-pl-game-section { padding: 0 4px; }
  .xme-pl-grid-row1 { grid-template-columns: repeat(2, 1fr); gap: 8px; }
  .xme-pl-grid-row2 { grid-template-columns: repeat(2, 1fr); gap: 8px; max-width: 100%; }
}

/* Mobile background: fill the entire viewport with the landscape decor
   image. `cover` crops the sides on portrait, but the image fills the
   full screen — matching the dense, immersive feel the user requested. */
@media (max-width: 700px) {
  .xme-cl-bg {
    background:
      url('/xme/landing-bg.jpg') center center / cover no-repeat,
      #0a0810;
  }
  .xme-pl-bg {
    background:
      url('/xme/play-bg.jpg') center center / cover no-repeat,
      #0a0810;
  }
}
