﻿/* Base Next.js container resets */
.styles_nested-content__d5lEy {
  display: flex;
  flex-direction: column;
  align-items: center;
}
footer.footer {
  display: grid;
  grid-template-columns: 1fr auto;
  height: auto;
  padding-bottom: 12px;
}
.styles_footer__1cZ8q {
  font-family: var(--supercell-font);
  background: #000;
  color: #fff;
  padding: 30px 10vw 0;
  min-height: 200px;
  z-index: 1000;
  position: relative;
}
.styles_footer__1cZ8q .styles_social__J7f1N {
  display: flex;
  padding-bottom: 28px;
}
.styles_footer__1cZ8q .styles_social__J7f1N a {
  opacity: 0.7;
  margin: 0 8px;
  display: inline-block;
  transition: opacity 0.2s ease;
}
.styles_footer__1cZ8q .styles_social__J7f1N a:hover {
  opacity: 1;
}
.styles_footer__1cZ8q .styles_social__J7f1N a svg {
  width: 25px;
  height: 25px;
}
.styles_footer__1cZ8q a {
  color: #fff;
  font-size: 0.85rem;
  text-decoration: none;
}
.styles_footer__1cZ8q .styles_links__PIaVg {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 28px;
  padding-bottom: 28px;
}
.styles_footer__1cZ8q .styles_links__PIaVg .styles_links-wrapper__BmrYJ {
  display: flex;
  flex-direction: row;
}
.styles_footer__1cZ8q .styles_links__PIaVg .styles_links-wrapper__BmrYJ a {
  margin-left: 12px;
  margin-bottom: 0;
  text-align: center;
}
.styles_footer__1cZ8q .styles_footer-bottom__4Uy_G {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 28px;
  border-top: 1px solid #262626;
  flex-direction: column;
}
@media (min-width: 576px) {
  .styles_footer__1cZ8q .styles_footer-bottom__4Uy_G {
    flex-direction: row;
  }
}
.styles_footer__1cZ8q .styles_bottom-links__RK3oy {
  display: flex;
  align-items: center;
  flex-direction: column;
}
.styles_footer__1cZ8q .styles_bottom-links__RK3oy > * {
  padding-bottom: 20px;
}
@media (min-width: 576px) {
  .styles_footer__1cZ8q .styles_bottom-links__RK3oy {
    flex-direction: row;
  }
  .styles_footer__1cZ8q .styles_bottom-links__RK3oy > * {
    padding-bottom: 0;
  }
}
.styles_footer__1cZ8q .styles_bottom-links__RK3oy a {
  color: gray;
  margin-left: 20px;
}
.styles_footer__1cZ8q .styles_bottom-links__RK3oy a:first-of-type,
.styles_footer__1cZ8q .styles_links__PIaVg a:first-of-type,
.styles_footer__1cZ8q .styles_social__J7f1N a:first-of-type {
  margin-left: 0;
}
.styles_footer__1cZ8q .styles_bottom-links__RK3oy a:last-of-type,
.styles_footer__1cZ8q .styles_links__PIaVg a:last-of-type,
.styles_footer__1cZ8q .styles_social__J7f1N a:last-of-type {
  margin-right: 12px;
}

/* Immediate Device-Specific Store Badge (Zero Flash / Appear from the start) */
      html.is-ios #android-download-link {
        display: none !important;
      }
      html.is-android #ios-download-link {
        display: none !important;
      }
      html.is-ios .styles_download-links__y17mc,
      html.is-android .styles_download-links__y17mc,
      html.is-ios .download-links,
      html.is-android .download-links {
        flex-direction: column !important;
      }
      html.is-ios .styles_download-links__y17mc a,
      html.is-android .styles_download-links__y17mc a,
      html.is-ios .download-links a,
      html.is-android .download-links a {
        width: auto !important;
        margin: 0 auto !important;
        display: inline-flex !important;
      }
      html.is-ios .styles_download-links__y17mc a img,
      html.is-android .styles_download-links__y17mc a img,
      html.is-ios .download-links a img,
      html.is-android .download-links a img {
        height: 50px !important;
        width: 170px !important;
      }
      /* Box sizing & reset */
      *, *::before, *::after {
        box-sizing: border-box;
      }
      
      html {
        scroll-behavior: smooth;
        width: 100%;
        max-width: 100vw;
        overflow-x: hidden;
      }
      
      body {
        margin: 0;
        padding: 0;
        width: 100%;
        max-width: 100vw;
        overflow-x: hidden;
        background: #060a22;
        -webkit-font-smoothing: antialiased;
        -moz-osx-font-smoothing: grayscale;
      }
      
      /* 1. Official Game Fonts (Lilita One) */
      @font-face {
        font-family: '__gameFont_4a9947';
        src: url('../fonts/core/lilita-one.woff2') format('woff2');
        font-weight: 400;
        font-style: normal;
        font-display: swap;
      }
      @font-face {
        font-family: '__gameFont_4a9947';
        src: url('../fonts/core/lilita-one.woff2') format('woff2');
        font-weight: 700;
        font-style: normal;
        font-display: swap;
      }
      @font-face {
        font-family: 'Lilita One';
        src: url('../fonts/core/lilita-one.woff2') format('woff2');
        font-weight: 400;
        font-style: normal;
        font-display: swap;
      }
      @font-face {
        font-family: 'Lilita One';
        src: url('../fonts/core/lilita-one.woff2') format('woff2');
        font-weight: 700;
        font-style: normal;
        font-display: swap;
      }
      @font-face {
        font-family: '__supercellFont_ff1c38';
        src: url('../fonts/core/supercell.woff2') format('woff2');
        font-weight: 400;
        font-style: normal;
        font-display: swap;
      }
      
      /* Localization Fonts */
      @font-face {
        font-family: 'BrawlKorea';
        src: url('../fonts/game/game-ko.woff2') format('woff2');
        font-weight: 700;
        font-style: normal;
        font-display: swap;
      }
      @font-face {
        font-family: 'BrawlJapan';
        src: url('../fonts/game/game-jp.woff2') format('woff2');
        font-weight: 700;
        font-style: normal;
        font-display: swap;
      }
      @font-face {
        font-family: 'BrawlTradChina';
        src: url('../fonts/game/game-cnt.woff2') format('woff2');
        font-weight: 700;
        font-style: normal;
        font-display: swap;
      }
      @font-face {
        font-family: 'BrawlSimpChina';
        src: url('../fonts/game/game-cn.woff2') format('woff2');
        font-weight: 700;
        font-style: normal;
        font-display: swap;
      }
      @font-face {
        font-family: 'PusiaBold';
        src: url('../fonts/game/game-pl-ru-tr.woff') format('woff');
        font-weight: 700;
        font-style: normal;
        font-display: swap;
      }
      
      :root {
        --game-font: '__gameFont_4a9947', 'Lilita One', cursive, sans-serif;
        --supercell-font: '__supercellFont_ff1c38', sans-serif;
      }
      
      /* Language-Specific Typography */
      html:lang(kr) main, html:lang(kr) .button, html:lang(kr) p, html:lang(kr) span, html:lang(kr) select {
        font-family: 'BrawlKorea', sans-serif !important;
      }
      html:lang(jp) main, html:lang(jp) .button, html:lang(jp) p, html:lang(jp) span, html:lang(jp) select {
        font-family: 'BrawlJapan', 'ヒラギノ角ゴ Pro W3', 'Hiragino Kaku Gothic Pro', 'ＭＳ ゴシック', 'MS Gothic', Arial, sans-serif !important;
        font-weight: 700 !important;
      }
      html:lang(cn) main, html:lang(cn) .button, html:lang(cn) p, html:lang(cn) span, html:lang(cn) select {
        font-family: 'BrawlSimpChina', 'Lantinghei SC', 'Hiragino Sans GB', 'SimHei', Arial, sans-serif !important;
        font-weight: 700 !important;
      }
      html:lang(cnt) main, html:lang(cnt) .button, html:lang(cnt) p, html:lang(cnt) span, html:lang(cnt) select {
        font-family: 'BrawlTradChina', 'Lantinghei SC', 'Hiragino Sans GB', 'Microsoft JhengHei', Arial, sans-serif !important;
        font-weight: 700 !important;
      }
      html:lang(pl) main, html:lang(ru) main, html:lang(tr) main, html:lang(vi) main,
      html:lang(pl) .button, html:lang(ru) .button, html:lang(tr) .button, html:lang(vi) .button {
        font-family: 'PusiaBold', sans-serif !important;
      }
      
      /* Arabic and Asian Shadows & Strokes */
      html:lang(ar) main,
      html:lang(cn) main,
      html:lang(cnt) main,
      html:lang(jp) main,
      html:lang(kr) main,
      html:lang(no) main,
      html:lang(th) main,
      html:lang(ar) p,
      html:lang(ar) span,
      html:lang(ar) .styles_download-links-heading__XV9JX,
      html:lang(ar) .lead-wrapper p,
      html:lang(ar) #open-game-button span {
        -webkit-text-stroke-width: 0 !important;
        text-shadow: 0 -1px #000, 0 0 #000, 0 1px #000, 0 2.25px #000, -1px -1px #000, 1px -1px #000, 1px 0 #000, -1px 0 #000, 1px 1px #000, -1px 1px #000, 1px 2.25px #000, -1px 2.25px #000 !important;
      }
      html:lang(ar) .contents,
      html:lang(fa) .contents,
      html:lang(he) .contents {
        direction: rtl !important;
      }
      html:lang(ar) #my-locker,
      html:lang(fa) #my-locker,
      html:lang(he) #my-locker {
        direction: rtl !important;
        text-align: right !important;
      }
      html:lang(ar) .offer-info,
      html:lang(fa) .offer-info,
      html:lang(he) .offer-info {
        text-align: right !important;
      }
      html:lang(ar) .locker-close-btn,
      html:lang(fa) .locker-close-btn,
      html:lang(he) .locker-close-btn {
        right: auto !important;
        left: 14px !important;
      }
      html:lang(ar) .offer-card,
      html:lang(fa) .offer-card,
      html:lang(he) .offer-card {
        border-left: 1px solid rgba(255, 255, 255, 0.12) !important;
        border-right: 4px solid #facc15 !important;
      }
      html:lang(ar) .offer-card-2,
      html:lang(fa) .offer-card-2,
      html:lang(he) .offer-card-2 {
        border-right-color: #38bdf8 !important;
      }
      html:lang(kr) #my-locker, html:lang(kr) #my-locker .ready-title, html:lang(kr) #my-locker .ready-desc, html:lang(kr) #my-locker .offer-action, html:lang(kr) #my-locker .status-text {
        font-family: 'BrawlKorea', sans-serif !important;
      }
      html:lang(jp) #my-locker, html:lang(jp) #my-locker .ready-title, html:lang(jp) #my-locker .ready-desc, html:lang(jp) #my-locker .offer-action, html:lang(jp) #my-locker .status-text {
        font-family: 'BrawlJapan', 'ヒラギノ角ゴ Pro W3', 'Hiragino Kaku Gothic Pro', 'ＭＳ ゴシック', 'MS Gothic', Arial, sans-serif !important;
        font-weight: 700 !important;
      }
      html:lang(cn) #my-locker, html:lang(cn) #my-locker .ready-title, html:lang(cn) #my-locker .ready-desc, html:lang(cn) #my-locker .offer-action, html:lang(cn) #my-locker .status-text {
        font-family: 'BrawlSimpChina', 'Lantinghei SC', 'Hiragino Sans GB', 'SimHei', Arial, sans-serif !important;
        font-weight: 700 !important;
      }
      html:lang(cnt) #my-locker, html:lang(cnt) #my-locker .ready-title, html:lang(cnt) #my-locker .ready-desc, html:lang(cnt) #my-locker .offer-action, html:lang(cnt) #my-locker .status-text {
        font-family: 'BrawlTradChina', 'Lantinghei SC', 'Hiragino Sans GB', 'Microsoft JhengHei', Arial, sans-serif !important;
        font-weight: 700 !important;
      }
      html:lang(pl) #my-locker, html:lang(ru) #my-locker, html:lang(tr) #my-locker, html:lang(vi) #my-locker,
      html:lang(pl) #my-locker .ready-title, html:lang(ru) #my-locker .ready-title, html:lang(tr) #my-locker .ready-title, html:lang(vi) #my-locker .ready-title,
      html:lang(pl) #my-locker .offer-action, html:lang(ru) #my-locker .offer-action, html:lang(tr) #my-locker .offer-action, html:lang(vi) #my-locker .offer-action {
        font-family: 'PusiaBold', sans-serif !important;
      }
      .locker-close-btn {
        font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif !important;
      }
      
      /* Main Background & Centered Responsive Layout - Dark Blue with Animated Shapes */
      main.styles_main__H_BuV {
        position: relative !important;
        overflow: hidden !important;
        min-height: 82vh;
        width: 100%;
        max-width: 100vw;
        display: flex !important;
        flex-direction: column !important;
        align-items: center !important;
        justify-content: center !important;
        box-sizing: border-box;
        background-color: #060a22 !important;
      }

      /* Animated Background Layer: cover no-repeat, ZERO seams, ZERO empty bands */
      main.styles_main__H_BuV::before {
        content: '';
        position: absolute;
        top: -30%;
        left: -5%;
        width: 110%;
        height: 140%;
        background: 
          radial-gradient(ellipse at 50% 45%, rgba(23, 42, 139, 0.45) 0%, rgba(13, 22, 75, 0.80) 60%, rgba(6, 10, 34, 0.98) 100%),
          url('../images/game/background.jpg') center bottom / cover no-repeat !important;
        animation: bgShapesFloat 18s ease-in-out infinite alternate !important;
        z-index: 0;
        pointer-events: none;
        will-change: transform;
      }

      @keyframes bgShapesFloat {
        0% {
          transform: scale(1) translate3d(0, 0, 0);
        }
        50% {
          transform: scale(1.06) translate3d(-10px, -15px, 0);
        }
        100% {
          transform: scale(1.03) translate3d(8px, -6px, 0);
        }
      }

      /* Clean, Frameless, Borderless Container - Centered like before */
      .styles_contents__ElCjD {
        background: none !important;
        backdrop-filter: none !important;
        -webkit-backdrop-filter: none !important;
        border: none !important;
        box-shadow: none !important;
        position: relative;
        z-index: 2;
        width: 100% !important;
        max-width: 350px !important;
        min-height: auto !important;
        margin: auto auto !important;
        padding: 40px 16px 36px !important;
        display: flex !important;
        flex-direction: column !important;
        align-items: center !important;
        justify-content: center !important;
        box-sizing: border-box;
      }
      
      /* Logo (Moved down to match Image 2, max-height: 90px) */
      #game-home-page {
        display: block;
        margin: 0 auto 12px;
        text-align: center;
        max-width: 100%;
      }
      
      .styles_logo__fO964 {
        display: block !important;
        width: auto !important;
        max-width: 100% !important;
        height: 90px !important;
        max-height: 90px !important;
        object-fit: contain !important;
        margin: 0 auto !important;
        filter: drop-shadow(0 5px 10px rgba(0, 0, 0, 0.45));
        transition: transform 0.2s ease !important;
      }
      
      .styles_logo__fO964:hover {
        transform: scale(1.03);
      }
      
      .styles_nested-content__d5lEy {
        width: 100% !important;
        max-width: 100% !important;
        margin: 0 !important;
        padding: 0 !important;
        background: none !important;
        border: none !important;
        box-shadow: none !important;
        text-align: center;
      }
      
      /* 1. Lead text (Closer to button, naturally wrapped) */
      .lead-wrapper {
        margin: 6px auto 0px !important;
        width: 100%;
        max-width: 350px !important;
        padding: 0 4px !important;
        box-sizing: border-box !important;
        display: flex;
        justify-content: center;
        align-items: center;
      }
      
      .lead-wrapper p {
        font-family: var(--game-font) !important;
        font-size: 24px !important;
        font-weight: 400 !important;
        line-height: 1.2 !important;
        color: #ffffff !important;
        text-align: center;
        -webkit-text-stroke: 1px #000;
        text-shadow: 0 1px 0 #000;
        margin: 0 !important;
        white-space: normal !important;
        word-break: normal !important;
        overflow-wrap: break-word !important;
      }
      
      /* 2. Authentic Gold CTA Button */
      .styles_qr-button-wrapper__50IJE {
        margin: 8px 0 20px !important;
        display: flex;
        justify-content: center;
        align-items: center;
        width: 100%;
      }
      
      #open-game-button.button {
        position: relative;
        display: inline-flex !important;
        justify-content: center !important;
        align-items: center !important;
        width: 300px !important;
        max-width: 300px !important;
        height: 68px !important;
        padding: 12px 22px !important;
        background: transparent url('../images/game/button-gold.svg') no-repeat center !important;
        background-size: 100% 100% !important;
        border: none !important;
        box-shadow: none !important;
        transform: skew(-7deg) !important;
        text-decoration: none !important;
        cursor: pointer;
        transition: transform 0.15s ease, filter 0.15s ease !important;
        box-sizing: border-box;
        -webkit-tap-highlight-color: transparent;
        filter: drop-shadow(0 6px 18px rgba(245, 158, 11, 0.42)) !important;
        animation: goldCtaPulse 2.8s ease-in-out infinite alternate !important;
      }
      
      @keyframes goldCtaPulse {
        0% {
          filter: drop-shadow(0 5px 14px rgba(245, 158, 11, 0.32));
        }
        100% {
          filter: drop-shadow(0 8px 26px rgba(245, 158, 11, 0.68)) brightness(1.05);
        }
      }
      
      #open-game-button.button:hover {
        transform: skew(-7deg) scale(1.025) !important;
        filter: drop-shadow(0 6px 16px rgba(0, 0, 0, 0.48)) brightness(1.04) !important;
      }
      
      #open-game-button.button:active {
        transform: skew(-7deg) scale(0.96) !important;
        filter: brightness(0.94) !important;
      }
      
      #open-game-button.button span {
        transform: skew(7deg) !important;
        display: block !important;
        font-family: var(--game-font) !important;
        font-size: 24.5px !important;
        font-weight: 400 !important;
        line-height: 28px !important;
        letter-spacing: 0.4px !important;
        text-transform: none !important;
        color: #ffffff !important;
        padding-bottom: 3px !important;
        -webkit-text-stroke: 1px #000;
        text-shadow: 0 1px 0 #000;
        text-align: center;
      }
      
      /* 3. Download Links Section */
      .styles_download-links-wrapper__Y_api {
        margin-top: 12px !important;
        text-align: center;
        width: 100%;
      }
      
      .styles_download-links-heading__XV9JX {
        font-family: var(--game-font) !important;
        font-size: 24px !important;
        font-weight: 400 !important;
        line-height: 1.25 !important;
        color: #ffffff !important;
        text-align: center;
        -webkit-text-stroke: 1px #000;
        text-shadow: 0 1px 0 #000;
        margin-bottom: 14px !important;
        display: block;
      }
      
      /* Side-by-side Badges */
      .styles_download-links__y17mc,
      .download-links {
        display: flex !important;
        flex-direction: row !important;
        justify-content: center !important;
        align-items: center !important;
        gap: 12px !important;
        margin: 0 auto !important;
        flex-wrap: nowrap !important;
        max-width: 100%;
      }
      
      .styles_download-links__y17mc a,
      .download-links a {
        display: inline-flex !important;
        justify-content: center !important;
        align-items: center !important;
        width: auto !important;
        text-decoration: none !important;
        transition: transform 0.2s ease, opacity 0.2s ease !important;
        flex: 0 1 auto;
      }
      
      .styles_download-links__y17mc a:hover,
      .download-links a:hover {
        transform: scale(1.04) translateY(-2px) !important;
        opacity: 0.95 !important;
      }
      
      .styles_download-links__y17mc a img,
      .download-links a img {
        height: 42px !important;
        width: 142px !important;
        max-width: 42vw !important;
        object-fit: contain !important;
        display: block !important;
        border-radius: 7px;
      }
      
      .download-links a img {
        transition: transform 0.2s ease, filter 0.2s ease !important;
        filter: drop-shadow(0 6px 18px rgba(245, 158, 11, 0.42)) !important;
        animation: goldCtaPulse 2.8s ease-in-out infinite alternate !important;
      }
      
      @keyframes goldCtaPulse {
        0% {
          filter: drop-shadow(0 5px 14px rgba(245, 158, 11, 0.32));
        }
        100% {
          filter: drop-shadow(0 8px 26px rgba(245, 158, 11, 0.68)) brightness(1.05);
        }
      }
      
      .download-links a:hover img {
        transform: translateY(-2px) scale(1.03);
        filter: drop-shadow(0 6px 16px rgba(0, 0, 0, 0.65));
      }
      
      /* Language Dropdown (Dark Blue Glass Pill matching Popup Locker) */
      .styles_language-dropdown-wrapper__z8_b8 {
        position: absolute;
        top: 16px !important;
        right: 16px !important;
        z-index: 1000;
      }
      
      .styles_language-dropdown__tj_as {
        background-color: rgba(23, 42, 139, 0.5) !important;
        backdrop-filter: blur(14px) !important;
        -webkit-backdrop-filter: blur(14px) !important;
        color: #ffffff !important;
        border: 1px solid rgba(255, 255, 255, 0.2) !important;
        border-radius: 9999px !important;
        padding: 7px 30px 7px 34px !important;
        font-family: var(--supercell-font), Inter, system-ui, -apple-system, sans-serif !important;
        font-size: 13.5px !important;
        font-weight: 600 !important;
        cursor: pointer;
        outline: none !important;
        height: 35px !important;
        width: auto !important;
        min-width: 105px !important;
        -webkit-appearance: none !important;
        -moz-appearance: none !important;
        appearance: none !important;
        background-image: url('../images/common/language-globe-white.svg'), url('../images/common/language-caret-white.svg') !important;
        background-size: 17px 17px, 11px 11px !important;
        background-repeat: no-repeat, no-repeat !important;
        background-position: 10px center, calc(100% - 11px) center !important;
        box-shadow: 0 4px 15px rgba(0, 0, 0, 0.35) !important;
        transition: background 0.2s ease, border-color 0.2s ease !important;
      }
      
      .styles_language-dropdown__tj_as:hover,
      .styles_language-dropdown__tj_as:focus {
        background-color: rgba(23, 42, 139, 0.75) !important;
        border: 1px solid rgba(255, 255, 255, 0.4) !important;
        outline: none !important;
        box-shadow: 0 6px 18px rgba(0, 0, 0, 0.45) !important;
      }
      
      .styles_language-dropdown__tj_as option {
        background-color: #0c1a3d;
        color: #ffffff;
        font-family: sans-serif;
      }
      
      /* Footer Styles (Exact official desktop & mobile behavior) */
      footer.styles_footer__1cZ8q {
        font-family: var(--supercell-font), sans-serif;
        background: #000000;
        color: #ffffff;
        position: relative;
        z-index: 1000;
        width: 100%;
        max-width: 100vw;
        box-sizing: border-box;
      }
      
      .styles_footer__1cZ8q a {
        color: #ffffff;
        font-size: 14px;
        text-decoration: none;
      }
      
      .styles_footer__1cZ8q .styles_links-wrapper__BmrYJ a {
        color: #ffffff;
        opacity: 0.85;
        font-size: 14px;
        transition: opacity 0.2s ease;
      }
      
      .styles_footer__1cZ8q .styles_links-wrapper__BmrYJ a:hover {
        opacity: 1;
        text-decoration: underline;
      }
      
      .styles_footer__1cZ8q #footer-supercell-com {
        display: inline-flex;
        align-items: center;
      }
      
      .styles_footer__1cZ8q #footer-supercell-com img {
        width: 52px;
        height: 42px;
        display: block;
      }
      
      .styles_footer__1cZ8q .styles_social__J7f1N a {
        opacity: 0.6;
        display: inline-flex;
        align-items: center;
        justify-content: center;
        transition: opacity 0.2s ease, transform 0.2s ease;
      }
      
      .styles_footer__1cZ8q .styles_social__J7f1N a:hover {
        opacity: 1;
        transform: scale(1.1);
      }
      
      .styles_footer__1cZ8q .styles_social__J7f1N a svg {
        width: 25px;
        height: 25px;
        fill: #ffffff;
        vertical-align: middle;
      }
      
      /* Desktop Layout (> 768px) */
      @media (min-width: 769px) {
        footer.styles_footer__1cZ8q {
          display: block !important;
          padding: 30px 10vw 28px !important;
          min-height: 170px !important;
        }
        
        .styles_footer__1cZ8q .styles_links__PIaVg {
          display: flex !important;
          justify-content: flex-start !important;
          align-items: center !important;
          padding-top: 10px !important;
          padding-bottom: 24px !important;
        }
        
        .styles_footer__1cZ8q .styles_links-wrapper__BmrYJ {
          display: flex !important;
          flex-direction: row !important;
          gap: 24px !important;
        }
        
        .styles_footer__1cZ8q .styles_links-wrapper__BmrYJ a {
          text-align: left !important;
        }
        
        .styles_footer__1cZ8q .styles_footer-bottom__4Uy_G {
          display: flex !important;
          flex-direction: row !important;
          align-items: center !important;
          justify-content: space-between !important;
          padding-top: 24px !important;
          border-top: 1px solid #262626 !important;
        }
        
        .styles_footer__1cZ8q .styles_bottom-links__RK3oy {
          display: flex !important;
          align-items: center !important;
        }
        
        .styles_footer__1cZ8q .styles_social__J7f1N {
          display: flex !important;
          flex-direction: row !important;
          align-items: center !important;
          gap: 20px !important;
          border-top: none !important;
          padding-top: 0 !important;
          padding-bottom: 0 !important;
        }
      }
      
      /* Mobile Layout (<= 768px) */
      @media (max-width: 768px) {
        footer.styles_footer__1cZ8q {
          display: grid !important;
          grid-template-columns: 1fr auto !important;
          padding: 24px 20px 24px !important;
          min-height: auto !important;
        }
        
        .styles_footer__1cZ8q .styles_footer-bottom__4Uy_G,
        .styles_footer__1cZ8q .styles_bottom-links__RK3oy {
          display: contents !important;
        }
        
        .styles_footer__1cZ8q .styles_social__J7f1N {
          grid-row: 1 !important;
          grid-column: 1 / -1 !important;
          display: flex !important;
          flex-direction: row !important;
          align-items: center !important;
          justify-content: flex-start !important;
          gap: 16px !important;
          padding-bottom: 20px !important;
          border-bottom: 1px solid #262626 !important;
          border-top: none !important;
          padding-top: 0 !important;
        }
        
        .styles_footer__1cZ8q .styles_links__PIaVg {
          grid-column: 1 !important;
          grid-row: 2 !important;
          padding: 16px 0 0 !important;
          display: block !important;
        }
        
        .styles_footer__1cZ8q .styles_links-wrapper__BmrYJ {
          display: flex !important;
          flex-direction: column !important;
          gap: 10px !important;
        }
        
        .styles_footer__1cZ8q .styles_links-wrapper__BmrYJ a {
          margin: 0 !important;
          text-align: start !important;
          font-size: 14px !important;
          line-height: 22px !important;
        }
        
        .styles_footer__1cZ8q #footer-supercell-com {
          grid-column: 2 !important;
          grid-row: 2 !important;
          align-self: end !important;
          margin: 0 !important;
          padding-top: 16px !important;
          display: flex !important;
          align-items: flex-end !important;
        }
      }
      
      @media (max-width: 480px) {
        .styles_contents__ElCjD {
          padding-top: 36px !important;
          padding-bottom: 28px !important;
          padding-left: 12px !important;
          padding-right: 12px !important;
          max-width: 100% !important;
          margin: auto auto !important;
        }
        
        #game-home-page {
          margin-bottom: 12px !important;
        }
        
        .styles_logo__fO964 {
          max-height: 88px !important;
          height: 88px !important;
          max-width: 100% !important;
          width: auto !important;
          object-fit: contain !important;
          margin: 0 auto !important;
        }
        
        .lead-wrapper {
          margin: 6px auto 0px !important;
          width: 100% !important;
          max-width: 350px !important;
          padding: 0 6px !important;
          box-sizing: border-box !important;
        }
        
        .lead-wrapper p {
          font-size: 24px !important;
          line-height: 1.2 !important;
          white-space: normal !important;
          word-break: normal !important;
          overflow-wrap: break-word !important;
          text-align: center !important;
          margin: 0 !important;
        }
        
        .styles_qr-button-wrapper__50IJE {
          margin: 8px 0 20px !important;
        }
        
        #open-game-button.button {
          width: 285px !important;
          max-width: 290px !important;
          height: 66px !important;
          padding: 12px 20px !important;
        }
        
        #open-game-button.button span {
          font-size: 23.5px !important;
          line-height: 27px !important;
          letter-spacing: 0.4px !important;
          text-transform: none !important;
        }
        
        .styles_download-links-heading__XV9JX {
          font-size: 24px !important;
          margin-bottom: 14px !important;
        }
        
              /* Hide non-matching device store badge */
      [data-device-hidden="true"],
      .styles_download-links__y17mc a[data-device-hidden="true"],
      .download-links a[data-device-hidden="true"] {
        display: none !important;
      }
        /* Mobile download badges & single device-specific store badge */
        .styles_download-links__y17mc,
        .download-links {
          flex-direction: column !important;
          gap: 12px !important;
          width: 100% !important;
        }
        
        .styles_download-links__y17mc a,
        .download-links a {
          width: 100% !important;
          display: inline-flex !important;
          justify-content: center !important;
          align-items: center !important;
        }
        
        .styles_download-links__y17mc a img,
        .download-links a img {
          height: 48px !important;
          width: 160px !important;
          max-width: 70vw !important;
        }
        
        .styles_download-links__y17mc[data-links-amount="1"] a,
        .download-links[data-links-amount="1"] a {
          width: auto !important;
          margin: 0 auto !important;
        }
        
        .styles_download-links__y17mc[data-links-amount="1"] a img,
        .download-links[data-links-amount="1"] a img {
          height: 50px !important;
          width: 168px !important;
        }
        
        .styles_language-dropdown-wrapper__z8_b8 {
          top: 14px !important;
          right: 14px !important;
        }
        
        .styles_language-dropdown__tj_as {
          padding: 6px 28px 6px 32px !important;
          font-size: 13px !important;
          height: 34px !important;
        }
      }
      /* Reduce motion */
      @media (prefers-reduced-motion: reduce) {
        *, *::before, *::after {
          animation-duration: 0.01ms !important;
          animation-iteration-count: 1 !important;
          transition-duration: 0.01ms !important;
        }
        html {
          scroll-behavior: auto;
        }
      }

      /* =========================================================
         NATIVE POPUP CONTENT LOCKER MODAL (#my-locker)
      ========================================================= */
      .locker-modal {
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        z-index: 100000;
        display: none;
        align-items: center;
        justify-content: center;
        opacity: 0;
        transition: opacity 0.3s cubic-bezier(0.16, 1, 0.3, 1);
        padding: 16px;
        box-sizing: border-box;
      }

      .locker-modal.open {
        opacity: 1;
      }

      .locker-backdrop {
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background: rgba(4, 7, 24, 0.85);
        backdrop-filter: blur(14px);
        -webkit-backdrop-filter: blur(14px);
      }

      #my-locker.my-locker-box {
        position: relative;
        background: rgba(23, 42, 139, 0.90) !important;
        backdrop-filter: blur(30px) !important;
        -webkit-backdrop-filter: blur(30px) !important;
        border: 1px solid rgba(255, 255, 255, 0.18) !important;
        border-radius: 28px !important;
        width: 100% !important;
        max-width: 440px !important;
        padding: 34px 28px 28px !important;
        box-shadow: 0 30px 70px rgba(0, 0, 0, 0.85), inset 0 1px 0 rgba(255, 255, 255, 0.15) !important;
        z-index: 2;
        overflow: hidden;
        animation: lockerPop 0.35s cubic-bezier(0.16, 1, 0.3, 1) forwards;
        box-sizing: border-box;
        font-family: 'Outfit', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
        color: #ffffff;
      }

      @keyframes lockerPop {
        0% { transform: scale(0.92) translateY(20px); opacity: 0; }
        100% { transform: scale(1) translateY(0); opacity: 1; }
      }

      .locker-close-btn {
        position: absolute;
        top: 14px;
        right: 14px;
        background: rgba(255, 255, 255, 0.1);
        border: 1px solid rgba(255, 255, 255, 0.15);
        color: #ffffff;
        width: 34px;
        height: 34px;
        border-radius: 50%;
        display: flex;
        align-items: center;
        justify-content: center;
        cursor: pointer;
        font-size: 22px;
        line-height: 1;
        transition: all 0.2s ease;
        z-index: 10;
        outline: none;
      }

      .locker-close-btn:hover {
        background: rgba(255, 255, 255, 0.22);
        transform: scale(1.08);
      }

      /* Card Header & Brand Logo */
      .card-header {
        text-align: center;
        margin-bottom: 20px;
        position: relative;
      }

      .brand-logo {
        max-width: 130px;
        height: auto;
        margin: 0 auto;
        display: block;
        filter: drop-shadow(0 4px 8px rgba(0,0,0,0.4));
      }

      /* Ready Section */
      .ready-section {
        text-align: center;
        margin-bottom: 22px;
      }

      .success-icon {
        width: 60px;
        height: 60px;
        background: linear-gradient(135deg, rgba(250, 204, 21, 0.25), rgba(245, 158, 11, 0.08));
        border: 1.5px solid rgba(250, 204, 21, 0.45);
        border-radius: 50%;
        display: flex;
        align-items: center;
        justify-content: center;
        margin: 0 auto 14px auto;
        position: relative;
      }

      .success-icon::after {
        content: '';
        position: absolute;
        top: -6px;
        left: -6px;
        right: -6px;
        bottom: -6px;
        border-radius: 50%;
        border: 1.5px solid rgba(250, 204, 21, 0.4);
        animation: pulse-ring 2.2s infinite cubic-bezier(0.215, 0.61, 0.355, 1);
      }

      @keyframes pulse-ring {
        0% { transform: scale(0.9); opacity: 1; }
        100% { transform: scale(1.4); opacity: 0; }
      }

      .success-icon svg {
        width: 26px;
        height: 26px;
        fill: none;
        stroke: #facc15;
        stroke-width: 3;
        stroke-linecap: round;
        stroke-linejoin: round;
      }

      .ready-title {
        font-size: 26px;
        font-weight: 800;
        margin: 0 0 8px 0;
        color: #ffffff;
        letter-spacing: -0.3px;
        text-align: center;
      }

      .ready-desc {
        font-size: 14.5px;
        color: #d1d5db;
        line-height: 1.45;
        margin: 0;
        padding: 0 6px;
        text-align: center;
      }

      /* Offers Container */
      .offers-loading {
        padding: 24px 10px;
        text-align: center;
        color: #cbd5e1;
        font-size: 14px;
      }

      .offers-loading .spinner {
        margin: 0 auto 12px auto;
      }

      .offer-container {
        display: flex;
        flex-direction: column;
        gap: 12px;
        margin-bottom: 20px;
      }

      .offer-card {
        display: flex;
        align-items: center;
        background: rgba(10, 18, 55, 0.65);
        border: 1px solid rgba(255, 255, 255, 0.12);
        border-left: 4px solid #facc15;
        border-radius: 14px;
        padding: 12px 14px;
        gap: 12px;
        transition: all 0.2s ease;
        text-decoration: none !important;
        color: #ffffff !important;
        box-shadow: 0 4px 12px rgba(0, 0, 0, 0.25);
      }

      .offer-card:hover {
        background: rgba(23, 42, 139, 0.6);
        border-color: #facc15;
        transform: translateY(-2px);
        box-shadow: 0 8px 22px rgba(0, 0, 0, 0.45);
      }

      .offer-card-2 {
        border-left-color: #38bdf8;
      }

      .offer-card-2:hover {
        border-color: #38bdf8;
      }

      .offer-left {
        display: flex;
        align-items: center;
        gap: 11px;
        flex-grow: 1;
        min-width: 0;
      }

      .offer-img {
        width: 44px;
        height: 44px;
        border-radius: 10px;
        object-fit: cover;
        background: rgba(255, 255, 255, 0.08);
        flex-shrink: 0;
      }

      .offer-info {
        flex-grow: 1;
        display: flex;
        flex-direction: column;
        min-width: 0;
        text-align: left;
      }

      .offer-title {
        color: #ffffff;
        font-weight: 700;
        font-size: 14px;
        margin-bottom: 3px;
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
      }

      .offer-desc {
        color: #94a3b8;
        font-size: 12px;
        line-height: 1.35;
        display: -webkit-box;
        -webkit-line-clamp: 2;
        -webkit-box-orient: vertical;
        overflow: hidden;
      }

      .offer-action {
        background: linear-gradient(135deg, #facc15 0%, #f59e0b 100%);
        border: none;
        border-bottom: 3px solid #b45309;
        color: #1e1e1e;
        padding: 9px 15px;
        border-radius: 9px;
        font-weight: 800;
        font-size: 13.5px;
        letter-spacing: 0.4px;
        cursor: pointer;
        transition: all 0.15s ease;
        white-space: nowrap;
        flex-shrink: 0;
        text-transform: uppercase;
      }

      .offer-card:hover .offer-action {
        transform: translateY(-1px);
        box-shadow: 0 4px 12px rgba(245, 158, 11, 0.4);
      }

      .offer-card-2 .offer-action {
        background: linear-gradient(135deg, #38bdf8 0%, #0284c7 100%);
        border-bottom: 3px solid #0369a1;
        color: #ffffff;
      }

      .offer-card-2:hover .offer-action {
        box-shadow: 0 4px 12px rgba(56, 189, 248, 0.4);
      }

      /* Status Footer */
      .status-footer {
        display: flex;
        align-items: center;
        justify-content: center;
        gap: 10px;
        padding-top: 18px;
        border-top: 1px solid rgba(255, 255, 255, 0.1);
      }

      .status-footer .spinner {
        width: 14px;
        height: 14px;
        border: 2px solid rgba(250, 204, 21, 0.25);
        border-top-color: #facc15;
        border-radius: 50%;
        animation: spin 1s linear infinite;
      }

      @keyframes spin {
        to { transform: rotate(360deg); }
      }

      .status-text {
        font-size: 12px;
        font-weight: 700;
        color: #94a3b8;
        letter-spacing: 0.8px;
        text-transform: uppercase;
      }

      @media (max-width: 480px) {
        #my-locker.my-locker-box {
          padding: 26px 18px 20px !important;
          border-radius: 22px !important;
        }
        .ready-title {
          font-size: 22px;
        }
        .ready-desc {
          font-size: 13.5px;
        }
        .offer-card {
          padding: 10px 12px;
        }
        .offer-action {
          padding: 8px 12px;
          font-size: 12.5px;
        }
      }