/* ==========================================================================
   Emisgame theme layer
   Loaded last on every page: dark navy surfaces, gold buttons, cyan accents.
   ========================================================================== */

body {
  font-family: var(--em-font);
  color: var(--em-muted);
  background: var(--em-night) linear-gradient(180deg, var(--em-deep) 0%, var(--em-night) 900px) no-repeat;
}
h1, h2, h3, h4 { color: #fff; letter-spacing: -0.02em; }
.em-accent { color: var(--em-cyan); }
::selection { background: var(--em-cyan); color: var(--em-night); }
:focus-visible { outline-color: var(--em-cyan); }

/* ---------- Buttons ---------- */
.em-btn {
  color: var(--em-on-yellow); border: 0; font-weight: 700;
  min-height: 52px; padding: .7em 1.6em; font-size: var(--em-fs-btn);
}
.em-btn:hover { background: var(--em-yellow-hover); box-shadow: 0 14px 30px rgba(255, 201, 40, .3); }
.em-btn--violet { --btn-bg: var(--em-yellow); box-shadow: var(--em-shadow-cta); }
.em-btn--violet:hover { background: var(--em-yellow-hover); }
.em-btn--ghost { background: transparent; color: #fff; border: 1.5px solid rgba(255, 255, 255, .45); box-shadow: none; }
.em-btn--ghost:hover { background: rgba(255, 255, 255, .07); border-color: #fff; box-shadow: none; }
.em-btn--wide { width: 100%; }
.em-skip { background: var(--em-yellow); color: var(--em-on-yellow); }

/* ---------- Surfaces that were white in the old theme ---------- */
.em-card, .em-quest, .em-numbered__item, .em-acc, .em-symbols li, .em-status-row,
.em-toc, .em-pref, .em-user-menu__panel, .em-consent, .em-empty, .em-about-game {
  background: var(--em-card); border: 1px solid var(--em-stroke); box-shadow: var(--em-shadow-card); color: var(--em-muted);
}
.em-doc section { background: rgba(10, 39, 64, .55); border-color: var(--em-stroke); }
.em-tile, .em-quartet__item, .em-panel, .em-voice, .em-showcase__card, .em-help-banner { border-color: var(--em-stroke); }
.em-showcase__card { background: var(--em-card); }
.em-showcase__body p { color: var(--em-muted); }
.em-tone--white { background: var(--em-card); }
.em-about-game::before, .em-about-game::after { opacity: .12; }
.em-game-art { background: linear-gradient(135deg, #0d3a5c, #08223a); }
.em-stat { box-shadow: var(--em-shadow-card); border: 1px solid var(--em-stroke); }
.em-stat--mint, .em-stat--lilac, .em-stat--peach, .em-stat--gold, .em-stat--pink { background: var(--em-card); }
.em-stat__label { color: var(--em-cyan); }
.em-stat .em-glyph { background: rgba(31, 215, 245, .12); color: var(--em-cyan); }

.em-pill { background: rgba(255, 255, 255, .05); border: 1px solid var(--em-stroke); color: #fff; }
.em-pill:hover { background: rgba(255, 255, 255, .1); }
.em-pill[aria-pressed="true"], .em-pill.is-active, .em-pill--static { background: var(--em-yellow); border-color: var(--em-yellow); color: var(--em-on-yellow); }
.em-chip { background: rgba(31, 215, 245, .08); border-color: var(--em-cyan); color: var(--em-cyan); }
.em-acc__sign { background: var(--em-yellow); }
.em-acc__sign::before, .em-acc__sign::after { background: var(--em-on-yellow); }
.em-rail__btn { background: transparent; border-color: rgba(255, 255, 255, .4); color: #fff; }
.em-rail__btn:hover { background: var(--em-yellow); color: var(--em-on-yellow); }
.em-rail__btn[disabled] { background: transparent; color: #fff; }
.em-meter { background: rgba(255, 255, 255, .08); }
.em-meter span { background: linear-gradient(90deg, var(--em-cyan), var(--em-yellow)); }
.em-status-pill { background: rgba(255, 255, 255, .08); color: #fff; }
.em-status-pill--ok { background: rgba(47, 191, 138, .15); color: #6ee7b7; }
.em-notice { background: rgba(10, 39, 64, .7); color: var(--em-ink); }
.em-crumbs a { color: var(--em-cyan); }
.em-eyebrow { color: var(--em-cyan); }
.em-quest__num, .em-numbered__n, .em-panel__n { color: var(--em-cyan); }
.em-voice__mark { color: var(--em-cyan); }
.em-prose a, .em-doc a, .em-consent a, .em-check a { color: var(--em-cyan); }
.em-toc a:hover { color: #fff; }

/* forms + dialogs */
.em-input, .em-select, .em-textarea { background: rgba(0, 16, 31, .6); border: 1.5px solid var(--em-stroke); color: #fff; }
.em-input::placeholder, .em-textarea::placeholder { color: #7f93a6; }
.em-input:focus, .em-select:focus, .em-textarea:focus { border-color: var(--em-cyan); box-shadow: 0 0 0 4px rgba(31, 215, 245, .15); }
.em-search input { background: rgba(0, 16, 31, .6); border-color: var(--em-stroke); color: #fff; }
.em-search__glyph { border-color: var(--em-cyan); }
.em-search__glyph::after { background: var(--em-cyan); }
.em-dialog:not(.em-player), .em-auth { background: linear-gradient(180deg, #072540 0%, #00101f 100%); color: var(--em-muted); border: 1px solid var(--em-stroke); }
.em-dialog::backdrop { background: rgba(0, 8, 16, .72); }
.em-x, .em-drawer__close { background: rgba(255, 255, 255, .08); color: #fff; box-shadow: none; }
.em-switch span { background: #29445c; }
.em-switch input:checked + span { background: var(--em-cyan); }
.em-linklike { color: var(--em-cyan); }
.em-error { color: #ff8a9b; }
.em-form-status--ok { background: rgba(47, 191, 138, .15); color: #6ee7b7; }
.em-form-status--bad { background: rgba(255, 92, 120, .14); color: #ff9aab; }
.em-toast { background: var(--em-yellow); color: var(--em-on-yellow); }
.em-cookie-table th { color: #fff; }

/* ---------- Header ---------- */
.em-masthead { background: rgba(0, 16, 31, .88); border-bottom: 1px solid rgba(255, 255, 255, .06); }
.em-home .em-masthead { background: transparent; }
.em-home .em-masthead.is-scrolled { background: rgba(0, 16, 31, .9); border-bottom-color: rgba(255, 255, 255, .06); }
.em-masthead__row { padding-block: clamp(10px, 1vw, 20px); }
.em-brand img { width: clamp(120px, 10.5vw, 200px); aspect-ratio: 343 / 132; }
.em-auth-btn {
  min-height: 44px; gap: 8px; padding: 0 clamp(18px, 1.5vw, 28px);
  font-size: clamp(.95rem, .85rem + .25vw, 1.1rem); font-weight: 700; border-radius: var(--em-pill);
}
.em-auth-btn--outline { color: #fff; border: 1.5px solid rgba(255, 255, 255, .45); }
.em-auth-btn--outline:hover { background: rgba(255, 255, 255, .08); border-color: #fff; }
.em-auth-btn--solid { background: var(--em-yellow); color: var(--em-on-yellow); border: 1.5px solid var(--em-yellow); }
.em-auth-btn--solid:hover { background: var(--em-yellow-hover); border-color: var(--em-yellow-hover); }
.em-wallet { background: rgba(255, 255, 255, .06); border: 1px solid var(--em-stroke); color: #fff; }
.em-wallet__coin { color: #6b4700; }
.em-user-menu__avatar { background: var(--em-cyan); color: var(--em-night); }
.em-user-menu__item { color: #fff; }
.em-user-menu__item:hover { background: rgba(255, 255, 255, .08); }
.em-burger { background: transparent; border: 1.5px solid rgba(255, 255, 255, .45); }
.em-burger__bars, .em-burger__bars::before, .em-burger__bars::after { background: #fff; }
.em-burger[aria-expanded="true"] .em-burger__bars { background: transparent; }
.em-drawer { background: rgba(0, 8, 16, .65); }
.em-drawer__panel { background: linear-gradient(180deg, #062440 0%, #00101f 100%); border-left: 1px solid var(--em-stroke); }
.em-drawer__link { background: rgba(255, 255, 255, .05); color: #fff; border: 1px solid transparent; }
.em-drawer__link:hover, .em-drawer__link[aria-current="page"] { background: rgba(31, 215, 245, .1); border-color: var(--em-stroke); }
@media (min-width: 1024px) {
  .em-burger { display: none; }
}

/* ---------- Footer ---------- */
.em-base { background: #00101f; border-top: 1px solid rgba(255, 255, 255, .06); padding-block: clamp(48px, 4.6vw, 88px) clamp(28px, 2.4vw, 44px); }
.em-base__inner { display: grid; gap: clamp(24px, 2.2vw, 40px); }
.em-base__top { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: flex-start; gap: 28px; grid-template-columns: none; }
.em-base__logo img { width: clamp(140px, 11vw, 210px); height: auto; aspect-ratio: 343 / 132; object-fit: contain; }
.em-base__nav ul { list-style: none; display: grid; grid-template-columns: repeat(3, auto); gap: 14px 28px; }
.em-base__nav a { color: #fff; text-decoration: none; font-size: clamp(.92rem, .85rem + .2vw, 1.05rem); font-weight: 500; }
.em-base__nav a:hover { color: var(--em-cyan); }
.em-base__about { max-width: 1040px; font-size: clamp(.95rem, .9rem + .2vw, 1.1rem); line-height: 1.6; color: #fff; }
.em-base__care { display: flex; align-items: center; justify-content: space-between; gap: 32px; padding-top: clamp(20px, 2vw, 36px); border-top: 1px solid rgba(255, 255, 255, .08); }
.em-base__note { display: flex; gap: 20px; align-items: flex-start; padding-right: clamp(20px, 3vw, 56px); border-right: 1px solid rgba(255, 255, 255, .12); max-width: 1000px; }
.em-base__note h2 { font-size: clamp(1rem, .92rem + .3vw, 1.25rem); font-weight: 700; color: #fff; letter-spacing: 0; margin-bottom: 8px; }
.em-base__note p { font-size: clamp(.9rem, .86rem + .15vw, 1rem); line-height: 1.6; color: var(--em-cyan-soft); opacity: .85; }
.em-age {
  flex: 0 0 auto; width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center;
  border: 2px solid var(--em-cyan); color: var(--em-cyan); font-weight: 800; font-size: .85rem;
}
.em-base__gamcare img { width: clamp(150px, 10vw, 200px); filter: brightness(0) invert(1); }
.em-base__copy { text-align: center; font-size: .95rem; color: #fff; }
.em-base__copy button { background: none; border: 0; padding: 0 0 0 10px; color: var(--em-muted); cursor: pointer; text-decoration: underline; font-size: inherit; }
.em-base__copy button:hover { color: var(--em-cyan); }
@media (max-width: 1023px) {
  .em-base__care { flex-direction: column; align-items: flex-start; }
  .em-base__note { border-right: 0; padding-right: 0; }
}
@media (max-width: 599px) {
  .em-base__nav ul { grid-template-columns: repeat(2, auto); }
}

/* ---------- Shared section heading ---------- */
.em-head { display: grid; gap: 14px; text-align: center; justify-items: center; max-width: 1080px; margin-inline: auto; }
.em-head h2, .em-head h1 { font-size: var(--em-fs-h2); font-weight: 700; line-height: 1.12; }
.em-head p { font-size: var(--em-fs-lead); color: var(--em-muted); max-width: 860px; line-height: 1.55; }
.em-head--left { text-align: left; justify-items: start; margin-inline: 0; }
.em-sec { padding-block: var(--em-section-y); position: relative; }
.em-sec + .em-sec { padding-top: 0; }
.em-gap { display: grid; gap: clamp(32px, 3.4vw, 64px); }
.em-golink { display: inline-flex; align-items: center; gap: 8px; color: var(--em-cyan); font-weight: 700; text-decoration: none; }
.em-golink:hover { color: #fff; }
.em-golink::after { content: "→"; transition: transform .25s var(--em-ease); }
.em-golink:hover::after { transform: translateX(4px); }
.em-box {
  background: var(--em-card); border: 1px solid var(--em-stroke); border-radius: var(--em-radius-xl);
  box-shadow: var(--em-shadow-card); overflow: hidden;
}

/* ---------- Home: hero ---------- */
.em-front {
  position: relative; isolation: isolate; overflow: hidden;
  min-height: clamp(600px, 52.6vw, 1011px);
  margin-top: calc(var(--em-header-h) * -1); padding-top: var(--em-header-h);
  display: flex; flex-direction: column; justify-content: center;
}
.em-front__bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: right center; z-index: -2; }
.em-front::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(90deg, rgba(0, 16, 31, .9) 0%, rgba(0, 16, 31, .45) 38%, rgba(0, 16, 31, 0) 62%), linear-gradient(0deg, #00101f 0%, rgba(0, 16, 31, 0) 22%); }
.em-front__copy { max-width: 720px; display: grid; gap: 24px; padding-block: 40px 120px; }
.em-front__eyebrow { color: var(--em-cyan); font-weight: 700; letter-spacing: .12em; text-transform: uppercase; font-size: var(--em-fs-eyebrow); }
.em-front h1 { font-size: clamp(2.6rem, 1.2rem + 4vw, 5.25rem); font-weight: 800; line-height: 1.04; letter-spacing: -0.03em; }
.em-front__lead { font-size: var(--em-fs-lead); color: #dbe6f0; max-width: 600px; line-height: 1.55; }
.em-front__note { position: absolute; left: 50%; bottom: clamp(18px, 3vw, 56px); transform: translateX(-50%); width: max-content; max-width: calc(100% - 32px); text-align: center; color: #fff; font-weight: 600; font-size: clamp(.85rem, .8rem + .25vw, 1.05rem); }
.em-front__note b { color: var(--em-yellow); }

/* ---------- Home: theme worlds ---------- */
.em-worlds { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: clamp(16px, 1.4vw, 24px); }
.em-world { display: flex; flex-direction: column; }
.em-world img { width: 100%; aspect-ratio: 392 / 444; object-fit: cover; }
.em-world__body { display: flex; flex-direction: column; gap: 12px; padding: clamp(18px, 1.6vw, 28px); flex: 1; }
.em-world h3 { font-size: clamp(1.2rem, 1rem + .5vw, 1.6rem); font-weight: 700; }
.em-world p { font-size: 1rem; line-height: 1.55; flex: 1; }
.em-world .em-btn { align-self: flex-start; min-height: 46px; font-size: 1rem; padding: .55em 1.4em; margin-top: 8px; }
.em-tagline { text-align: center; display: grid; gap: 20px; justify-items: center; color: #fff; font-weight: 600; font-size: var(--em-fs-lead); }

/* ---------- Home: featured games ---------- */
.em-featured { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(16px, 1.6vw, 28px); }
.em-feat img { width: 100%; aspect-ratio: 808 / 444; object-fit: cover; }
.em-feat__body { display: grid; gap: 10px; padding: clamp(18px, 1.8vw, 32px); }
.em-feat h3 { font-size: clamp(1.25rem, 1rem + .6vw, 1.75rem); font-weight: 700; }
.em-feat p { font-size: 1rem; line-height: 1.55; max-width: 640px; }

/* ---------- Home: match your style ---------- */
.em-match { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.15fr); gap: clamp(32px, 5vw, 96px); align-items: center; }
.em-match h2 { font-size: var(--em-fs-h2); font-weight: 700; line-height: 1.12; }
.em-match__copy { display: grid; gap: 20px; }
.em-match__copy p { font-size: var(--em-fs-lead); line-height: 1.55; max-width: 560px; }
.em-checks { list-style: none; display: grid; gap: clamp(14px, 1.4vw, 24px); }
.em-checks li { display: grid; grid-template-columns: 32px minmax(0, 1fr); gap: 16px; }
.em-checks li::before {
  content: "✓"; width: 32px; height: 32px; border-radius: 50%; display: grid; place-items: center;
  background: var(--em-yellow); color: var(--em-on-yellow); font-weight: 800; font-size: 1rem;
}
.em-checks h3 { font-size: clamp(1.1rem, 1rem + .35vw, 1.4rem); font-weight: 700; margin-bottom: 6px; }
.em-checks p { font-size: 1rem; line-height: 1.55; }

/* ---------- Home: spotlight ---------- */
.em-spot { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.25fr); gap: clamp(28px, 4vw, 80px); align-items: center; }
.em-spot__copy { display: grid; gap: 18px; }
.em-spot h2 { font-size: var(--em-fs-h2); font-weight: 700; }
.em-spot__copy > p { font-size: var(--em-fs-lead); line-height: 1.55; }
.em-spot__details h3 { font-size: .95rem; letter-spacing: .1em; text-transform: uppercase; color: #fff; margin-bottom: 10px; }
.em-spot__details ul { list-style: none; display: grid; gap: 6px; font-size: 1rem; }
.em-spot__details b { color: #fff; font-weight: 600; }
.em-spot__art { width: 100%; aspect-ratio: 1000 / 460; object-fit: cover; border-radius: var(--em-radius-xl); border: 1px solid var(--em-stroke); }
.em-spot-cta { margin-top: clamp(28px, 3vw, 56px); }
.em-spot-cta .em-btn { width: 100%; min-height: 60px; }

/* ---------- Home: theme collections ---------- */
.em-collections { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(16px, 1.4vw, 24px); }
.em-collection { padding: clamp(20px, 2vw, 32px); display: grid; gap: 12px; align-content: start; }
.em-collection__tag { color: var(--em-cyan); font-size: .8rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; }
.em-collection h3 { font-size: clamp(1.2rem, 1rem + .5vw, 1.6rem); font-weight: 700; }
.em-collection p { font-size: 1rem; line-height: 1.55; }
.em-collection__label { margin-top: 10px; font-size: .85rem; font-weight: 700; color: #fff; }
.em-collection ul { list-style: none; display: flex; flex-wrap: wrap; gap: 8px; }
.em-collection li a {
  display: inline-flex; padding: 6px 14px; border-radius: var(--em-pill); font-size: .9rem; font-weight: 600;
  background: rgba(31, 215, 245, .1); border: 1px solid var(--em-stroke); color: #fff; text-decoration: none;
}
.em-collection li a:hover { border-color: var(--em-cyan); }

/* ---------- Home: numbers ---------- */
.em-numbers { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(16px, 1.6vw, 28px); }
.em-number { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr); align-items: stretch; }
.em-number__body { padding: clamp(20px, 2vw, 36px); display: grid; gap: 10px; align-content: center; }
.em-number__val { display: flex; align-items: center; gap: 12px; font-size: clamp(2rem, 1.4rem + 1.8vw, 3.25rem); font-weight: 800; color: #fff; line-height: 1; }
.em-number__val img { width: 40px; height: 40px; }
.em-number h3 { font-size: clamp(1.1rem, 1rem + .4vw, 1.4rem); font-weight: 700; color: var(--em-cyan); }
.em-number p { font-size: .98rem; line-height: 1.55; }
.em-number > img { width: 100%; height: 100%; object-fit: cover; aspect-ratio: 422 / 280; }

/* ---------- Home: latest banner ---------- */
.em-latest { position: relative; isolation: isolate; overflow: hidden; min-height: clamp(420px, 41.6vw, 800px); display: flex; align-items: center; }
.em-latest__bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: right center; z-index: -2; }
.em-latest::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(90deg, #00101f 0%, rgba(0, 16, 31, .75) 30%, rgba(0, 16, 31, 0) 60%), linear-gradient(0deg, #00101f 0%, rgba(0, 16, 31, 0) 18%), linear-gradient(180deg, #00101f 0%, rgba(0, 16, 31, 0) 18%); }
.em-latest__copy { max-width: 640px; display: grid; gap: 22px; }
.em-latest h2 { font-size: var(--em-fs-h2); font-weight: 700; line-height: 1.12; }
.em-latest p { font-size: var(--em-fs-lead); line-height: 1.55; color: #dbe6f0; }

/* ---------- Home: highlights ---------- */
.em-highlights { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(16px, 1.6vw, 28px); align-items: start; }
.em-highlights__col { display: grid; gap: clamp(16px, 1.6vw, 28px); }
.em-hl { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
.em-hl--text { grid-template-columns: 1fr; }
.em-hl__body { padding: clamp(20px, 2vw, 36px); display: grid; gap: 10px; align-content: center; }
.em-hl__kicker { font-size: clamp(1.15rem, 1rem + .5vw, 1.6rem); font-weight: 800; color: #fff; text-transform: uppercase; }
.em-hl h3 { font-size: clamp(1.05rem, .95rem + .3vw, 1.3rem); font-weight: 700; color: var(--em-cyan); }
.em-hl p { font-size: .98rem; line-height: 1.55; }
.em-hl > img { width: 100%; height: 100%; object-fit: cover; aspect-ratio: 422 / 280; }
.em-hl-art { width: 100%; aspect-ratio: 637 / 422; object-fit: cover; border-radius: var(--em-radius-xl); border: 1px solid var(--em-stroke); }

/* ---------- Home: trending ---------- */
.em-trend { display: grid; gap: clamp(24px, 2.4vw, 44px); }
.em-trend__row { display: grid; gap: 14px; }
.em-trend__row h3 { font-size: clamp(1rem, .9rem + .3vw, 1.25rem); font-weight: 700; color: #fff; }
.em-trend__row img { width: 100%; height: auto; border-radius: 16px; }

/* ---------- Games lobby ---------- */
.em-lobby-head { text-align: center; }
.em-lobby-head h1 { color: #fff; font-weight: 800; letter-spacing: -0.02em; }
.em-reel-grid--quad { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: clamp(10px, 1.1vw, 20px); }
.em-reel-grid--quad .em-reel-tile, .em-reel-grid--quad .em-reel-tile img { border-radius: clamp(14px, 1.4vw, 26px); }
.em-reel-tile:hover { filter: drop-shadow(0 14px 26px rgba(31, 215, 245, .22)); }
.em-reel-tile__name { background: rgba(0, 16, 31, .85); border: 1px solid var(--em-stroke); }
@media (max-width: 1199px) { .em-reel-grid.em-reel-grid--quad { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
@media (max-width: 599px) { .em-reel-grid.em-reel-grid--quad { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; } }

/* ---------- Status & Rewards ---------- */
.em-status-intro { padding-block: clamp(32px, 3vw, 56px) clamp(40px, 4vw, 80px); border-bottom: 1px solid rgba(255, 255, 255, .06); }
.em-status-intro h1 { font-size: clamp(2.2rem, 1.2rem + 3vw, 4.4rem); font-weight: 800; line-height: 1.08; }
.em-status-intro p { margin-top: 18px; font-size: var(--em-fs-lead); line-height: 1.55; max-width: 1240px; }
.em-steps3 { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(14px, 1.2vw, 22px); }
.em-step3 img { width: 100%; aspect-ratio: 531 / 444; object-fit: cover; -webkit-mask-image: linear-gradient(180deg, #000 78%, transparent); mask-image: linear-gradient(180deg, #000 78%, transparent); }
.em-step3__body { padding: 0 clamp(18px, 1.6vw, 28px) clamp(22px, 2vw, 32px); display: grid; gap: 12px; margin-top: -6px; }
.em-step3 h3 { font-size: clamp(1.15rem, 1rem + .4vw, 1.45rem); font-weight: 700; }
.em-step3 p { font-size: 1rem; line-height: 1.55; }

.em-tiers { width: 100%; border-collapse: collapse; border-radius: var(--em-radius-lg); overflow: hidden; border: 1px solid var(--em-stroke); }
.em-tiers th { background: var(--em-yellow); color: var(--em-on-yellow); text-align: left; font-weight: 700; padding: 18px clamp(16px, 1.6vw, 30px); font-size: clamp(.9rem, .85rem + .2vw, 1.05rem); }
.em-tiers td { padding: 16px clamp(16px, 1.6vw, 30px); color: #fff; font-size: clamp(.92rem, .88rem + .15vw, 1.05rem); }
.em-tiers tbody tr:nth-child(odd) td { background: #04192c; }
.em-tiers tbody tr:nth-child(even) td { background: #0a2c44; }
.em-tiers .em-tier-name { color: #fff; gap: 14px; }
.em-tiers .em-tier-name img { width: 32px; height: 32px; }
@media (max-width: 767px) {
  .em-tiers { border: 0; }
  .em-tiers thead { display: none; }
  .em-tiers, .em-tiers tbody, .em-tiers tr, .em-tiers td { display: block; width: 100%; }
  .em-tiers tr { margin-bottom: 10px; border-radius: 16px; overflow: hidden; border: 1px solid var(--em-stroke); }
  .em-tiers td { display: flex; justify-content: space-between; gap: 12px; padding: 10px 16px; }
  .em-tiers td::before { content: attr(data-label); color: var(--em-muted); font-weight: 600; }
  .em-tiers td:first-child::before { content: none; }
}

.em-more { position: relative; isolation: isolate; overflow: hidden; min-height: clamp(420px, 36vw, 700px); display: flex; align-items: center; }
.em-more__bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: right center; z-index: -2; }
.em-more::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(90deg, #00101f 0%, rgba(0, 16, 31, .8) 34%, rgba(0, 16, 31, 0) 62%), linear-gradient(180deg, #00101f 0%, rgba(0, 16, 31, 0) 16%), linear-gradient(0deg, #00101f 0%, rgba(0, 16, 31, 0) 16%); }
.em-more__copy { max-width: 700px; display: grid; gap: 22px; }
.em-more h2 { font-size: var(--em-fs-h2); font-weight: 700; line-height: 1.1; }
.em-more p { font-size: var(--em-fs-lead); line-height: 1.6; color: #dbe6f0; }

/* ---------- Responsive for new blocks ---------- */
@media (max-width: 1199px) {
  .em-worlds { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .em-collections { grid-template-columns: 1fr; }
  .em-number, .em-hl { grid-template-columns: 1fr; }
  .em-number > img, .em-hl > img { order: -1; height: auto; }
}
@media (max-width: 1023px) {
  .em-home .em-masthead { background: rgba(0, 16, 31, .9); }
  .em-front { min-height: 0; margin-top: 0; padding-top: 0; }
  .em-front__bg { position: static; height: auto; aspect-ratio: 1920 / 1011; object-position: 75% center; }
  .em-front::after { display: none; }
  .em-front__copy { padding-block: 28px 20px; max-width: none; }
  .em-front__note { position: static; transform: none; width: auto; margin: 0 auto 24px; }
  .em-match, .em-spot, .em-highlights, .em-steps3 { grid-template-columns: 1fr; }
  .em-featured, .em-numbers { grid-template-columns: 1fr; }
  .em-latest, .em-more { flex-direction: column; align-items: stretch; min-height: 0; }
  .em-latest__bg, .em-more__bg { position: static; aspect-ratio: 1920 / 800; height: auto; }
  .em-latest::after, .em-more::after { display: none; }
  .em-latest .em-shell, .em-more .em-shell { padding-block: 28px 0; }
}
@media (max-width: 599px) {
  .em-worlds { grid-template-columns: 1fr; }
  .em-front .em-actions .em-btn { flex: 1 1 100%; }
}

/* ---------- Fine-tuning ---------- */
.em-number .em-number__val { font-size: clamp(2rem, 1.4rem + 1.8vw, 3.25rem); color: #fff; }
.em-consent { background: #062039; }
.em-golink { color: var(--em-yellow); }
.em-front h1 { font-size: clamp(2.5rem, 1.2rem + 3.6vw, 4.75rem); }

/* ---------- Long-form text pages (About, Level Up, legal, Contact) ---------- */
.em-textpage { padding-block: clamp(28px, 2.6vw, 48px) clamp(56px, 6vw, 110px); }
.em-textpage h1 { font-size: clamp(2.2rem, 1.3rem + 2.6vw, 4rem); font-weight: 800; line-height: 1.1; margin-bottom: clamp(18px, 1.6vw, 28px); }
.em-textpage--center h1 { text-align: center; }
.em-textpage__body { display: grid; gap: 4px; color: #d4e0eb; font-size: clamp(.95rem, .9rem + .15vw, 1.05rem); line-height: 1.6; }
.em-textpage__body h2 { font-size: clamp(1.05rem, .98rem + .25vw, 1.25rem); font-weight: 700; color: #fff; letter-spacing: 0; margin-top: 18px; }
.em-textpage__body h3 { font-size: 1rem; font-weight: 700; color: var(--em-cyan); letter-spacing: 0; margin-top: 8px; }
.em-textpage__body ul { list-style: none; display: grid; gap: 2px; padding-left: 0; }
.em-textpage__body li::before { content: "•"; color: var(--em-cyan); margin-right: 10px; }
.em-textpage__meta { color: var(--em-muted); font-size: .92rem; margin-bottom: 6px; }

/* ---------- Game preview pages ---------- */
.em-preview { padding-block: clamp(24px, 2.6vw, 48px) clamp(64px, 7vw, 130px); }
.em-preview__top { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.4fr); gap: clamp(28px, 4vw, 72px); align-items: center; }
.em-preview__copy { display: grid; gap: clamp(18px, 1.8vw, 28px); }
.em-preview h1 { font-size: clamp(2.3rem, 1.4rem + 2.8vw, 4.2rem); font-weight: 800; line-height: 1.05; }
.em-preview__text { display: grid; gap: 8px; font-size: clamp(1rem, .95rem + .2vw, 1.15rem); line-height: 1.7; color: #d4e0eb; }
.em-preview__details h2 { font-size: clamp(1.3rem, 1.1rem + .6vw, 1.8rem); font-weight: 700; text-transform: uppercase; letter-spacing: .01em; margin-bottom: 12px; }
.em-preview__details ul { list-style: none; padding: 0; display: grid; gap: 6px; }
.em-preview__details li { display: flex; align-items: baseline; gap: 10px; font-size: clamp(.98rem, .94rem + .15vw, 1.1rem); }
.em-preview__details li::before { content: "·"; color: var(--em-cyan); font-weight: 800; width: 10px; }
.em-preview__label { color: #d4e0eb; text-transform: uppercase; letter-spacing: .02em; }
.em-preview__value { color: #fff; font-weight: 700; }
.em-preview__note { margin-top: 10px; font-size: .85rem; color: var(--em-muted); }
.em-preview__art {
  margin: 0; padding: clamp(8px, .8vw, 14px); border-radius: clamp(20px, 1.8vw, 32px);
  background: linear-gradient(160deg, rgba(31, 215, 245, .18), rgba(10, 39, 64, .6));
  border: 1px solid var(--em-stroke); box-shadow: 0 0 40px rgba(31, 215, 245, .08), var(--em-shadow-card);
}
.em-preview__art img { width: 100%; height: auto; aspect-ratio: auto; border-radius: clamp(14px, 1.4vw, 24px); }
.em-preview__cta { margin-top: clamp(36px, 4vw, 72px); }
.em-preview__cta .em-btn { width: 100%; min-height: clamp(58px, 4.2vw, 76px); font-size: clamp(1.2rem, 1rem + .7vw, 1.8rem); font-weight: 700; }
@media (max-width: 1023px) {
  .em-preview__top { grid-template-columns: 1fr; }
  .em-preview__art { order: -1; }
}

/* ---------- Personal account page ---------- */
.em-acct { padding-block: clamp(28px, 3vw, 56px) clamp(64px, 7vw, 120px); }
.em-acct [data-account-page] { display: grid; gap: clamp(18px, 1.8vw, 28px); }
.em-acct-kicker { color: var(--em-cyan); font-size: .78rem; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; }
.em-acct-head { display: flex; align-items: center; gap: clamp(16px, 1.6vw, 24px); flex-wrap: wrap; }
.em-acct-head h1 { font-size: clamp(2rem, 1.3rem + 2.2vw, 3.6rem); font-weight: 800; line-height: 1.08; }
.em-acct-meta { color: var(--em-muted); margin-top: 4px; }
.em-acct-avatar {
  width: clamp(64px, 5.4vw, 88px); aspect-ratio: 1; border-radius: 50%; display: grid; place-items: center; flex: 0 0 auto;
  font-size: clamp(1.8rem, 1.4rem + 1vw, 2.6rem); font-weight: 800; color: var(--em-on-yellow);
  background: radial-gradient(circle at 35% 30%, #fff1a8, var(--em-yellow) 60%, #c78f00); box-shadow: 0 0 30px rgba(255, 201, 40, .3);
}
.em-acct-logout { margin-left: auto; min-height: 46px; font-size: 1rem; }
.em-acct-stats { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: clamp(12px, 1.2vw, 20px); }
.em-acct-stat { padding: clamp(18px, 1.6vw, 26px); display: grid; gap: 6px; align-content: start; }
.em-acct-stat > span { font-size: .78rem; font-weight: 700; text-transform: uppercase; letter-spacing: .1em; color: var(--em-muted); }
.em-acct-stat strong { font-size: clamp(1.7rem, 1.3rem + 1.2vw, 2.6rem); font-weight: 800; color: #fff; line-height: 1.1; font-variant-numeric: tabular-nums; }
.em-acct-stat small { font-size: .5em; color: var(--em-muted); font-weight: 600; }
.em-acct-stat em { font-style: normal; font-size: .88rem; color: var(--em-muted); }
.em-acct-bar { height: 8px; border-radius: 99px; background: rgba(255, 255, 255, .08); overflow: hidden; }
.em-acct-bar i { display: block; height: 100%; border-radius: inherit; background: linear-gradient(90deg, var(--em-cyan), var(--em-yellow)); transition: width .5s var(--em-ease); }
.em-acct-grid { display: grid; grid-template-columns: minmax(0, 1.6fr) minmax(0, 1fr); gap: clamp(12px, 1.2vw, 20px); }
.em-acct-tier { padding: clamp(20px, 2vw, 32px); display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 18px 20px; align-items: center; }
.em-acct-tier > img { width: clamp(56px, 5vw, 80px); height: auto; filter: drop-shadow(0 0 16px rgba(31, 215, 245, .35)); }
.em-acct-tier__body { display: grid; gap: 8px; }
.em-acct-tier h2 { font-size: clamp(1.6rem, 1.2rem + 1vw, 2.3rem); font-weight: 800; }
.em-acct-tier p { color: var(--em-muted); }
.em-acct-tier strong { color: #fff; }
.em-acct-ladder { grid-column: 1 / -1; list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(9, minmax(0, 1fr)); gap: 6px; }
.em-acct-ladder li { display: grid; place-items: center; padding: 8px 0; border-radius: 12px; background: rgba(255, 255, 255, .04); border: 1px solid transparent; opacity: .45; }
.em-acct-ladder li.is-done { opacity: .85; }
.em-acct-ladder li.is-now { opacity: 1; border-color: var(--em-cyan); background: rgba(31, 215, 245, .1); }
.em-acct-bonus { padding: clamp(20px, 2vw, 32px); display: grid; gap: 10px; align-content: center; }
.em-acct-bonus h2 { font-size: clamp(1.3rem, 1.1rem + .6vw, 1.8rem); font-weight: 700; }
.em-acct-bonus p { color: var(--em-muted); }
.em-acct-bonus .em-btn { justify-self: start; margin-top: 6px; }
.em-acct-links { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(12px, 1.2vw, 20px); }
.em-acct-link { padding: 20px 24px; display: grid; gap: 4px; text-decoration: none; transition: border-color .2s, transform .25s var(--em-ease); }
.em-acct-link strong { color: #fff; font-size: 1.1rem; }
.em-acct-link strong::after { content: " →"; color: var(--em-yellow); }
.em-acct-link span { color: var(--em-muted); font-size: .92rem; }
.em-acct-link:hover { border-color: var(--em-cyan); transform: translateY(-3px); }
.em-acct-note { font-size: .88rem; color: var(--em-muted); text-align: center; }
.em-acct-guest { max-width: 620px; margin: clamp(20px, 4vw, 60px) auto; padding: clamp(28px, 3vw, 48px); display: grid; gap: 14px; justify-items: center; text-align: center; }
.em-acct-guest h2 { font-size: clamp(1.5rem, 1.2rem + 1vw, 2.2rem); font-weight: 800; }
.em-acct-guest p { color: var(--em-muted); }
@media (max-width: 1023px) {
  .em-acct-stats { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .em-acct-grid, .em-acct-links { grid-template-columns: 1fr; }
}
@media (max-width: 599px) {
  .em-acct-logout { margin-left: 0; width: 100%; }
  .em-acct-ladder { grid-template-columns: repeat(5, minmax(0, 1fr)); }
}
