:root {
      --bg: #27345c;
      --bg-dark: #202c51;
      --bg-darker: #1d2849;
      --surface: #32406d;
      --surface-2: #3a4a7d;
      --surface-3: #45558b;
      --line: rgba(255,255,255,.08);
      --text: #ffffff;
      --muted: rgba(255,255,255,.76);
      --muted-2: rgba(255,255,255,.58);
      --blue: #4c8edb;
      --blue-dark: #2d6dc5;
      --green: #96bb38;
      --green-dark: #7fa227;
      --active: #65a9ff;
      --safe-top: env(safe-area-inset-top, 0px);
      --safe-bottom: env(safe-area-inset-bottom, 0px);
      --screen-w: 430px;
    }

    * { box-sizing: border-box; }

    html, body {
      margin: 0;
      min-height: 100%;
      font-family: Inter, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Arial, sans-serif;
      background: #2f2f33;
      color: var(--text);
    }

    body {
      display: grid;
      place-items: center;
      padding: 10px;
    }

    button {
      font: inherit;
      border: 0;
      cursor: pointer;
      -webkit-tap-highlight-color: transparent;
    }

    .pill-btn,
    .hero-play {
      display: inline-flex;
      align-items: center;
      justify-content: center;
      text-align: center;
      text-decoration: none;
      font: inherit;
      cursor: pointer;
      -webkit-tap-highlight-color: transparent;
    }

    .screen {
      width: min(100vw, var(--screen-w));
      height: min(calc(100dvh - 20px), 1186px);
      min-height: 820px;
      overflow-y: auto;
      overflow-x: hidden;
      background: linear-gradient(180deg, #2a3761 0%, #27345c 100%);
      box-shadow: 0 24px 70px rgba(0,0,0,.35);
      border: 1px solid rgba(255,255,255,.05);
      scrollbar-width: none;
      position: relative;
      padding-bottom: calc(102px + var(--safe-bottom));
    }
    .screen::-webkit-scrollbar { display: none; }

    .top-stack {
      position: sticky;
      top: 0;
      z-index: 40;
      background: linear-gradient(180deg, rgba(39,52,92,.98), rgba(39,52,92,.96));
      backdrop-filter: blur(10px);
      border-bottom: 1px solid rgba(255,255,255,.04);
    }

    .install-banner {
      display: flex;
      align-items: center;
      gap: 12px;
      padding: calc(10px + var(--safe-top)) 14px 12px;
      background: #d8dde5;
      color: #355f9e;
      min-height: 88px;
    }

    .install-banner.hidden { display: none; }

    .close-banner {
      width: 30px;
      height: 30px;
      border-radius: 50%;
      background: transparent;
      color: #7288ac;
      font-size: 20px;
      font-weight: 700;
      flex: 0 0 auto;
      padding: 0;
    }

    .install-icon {
      width: 48px;
      height: 48px;
      border-radius: 14px;
      background: linear-gradient(145deg, #2f60a8, #4577c0);
      display: grid;
      place-items: center;
      box-shadow: inset 0 1px 0 rgba(255,255,255,.24);
      flex: 0 0 auto;
      position: relative;
    }

    .install-icon::before {
      content: "▶";
      color: #fff;
      font-size: 20px;
      transform: translateX(1px);
    }

    .install-copy {
      min-width: 0;
      flex: 1 1 auto;
    }

    .install-copy .headline {
      font-size: 17px;
      font-weight: 700;
      color: #355f9e;
      line-height: 1.18;
      margin-bottom: 6px;
    }

    .stars {
      display: flex;
      gap: 4px;
      color: #5b9af5;
      font-size: 18px;
      line-height: 1;
    }

    .download-btn {
      width: 50px;
      height: 50px;
      border-radius: 12px;
      background: var(--green);
      color: #fff;
      display: grid;
      place-items: center;
      flex: 0 0 auto;
      box-shadow: inset 0 1px 0 rgba(255,255,255,.2);
    }

    .download-btn::before {
      content: "⬇";
      font-size: 24px;
      line-height: 1;
    }

    .main-bar {
      display: flex;
      align-items: center;
      justify-content: space-between;
      gap: 10px;
      padding: 18px 16px;
      background: #2b355d;
      border-bottom: 1px solid rgba(255,255,255,.03);
    }

    .brand {
      font-size: 28px;
      font-style: italic;
      font-weight: 1000;
      letter-spacing: -1.2px;
      display: flex;
      align-items: center;
      line-height: 1;
      user-select: none;
    }

    .brand .one { color: #ffffff; }
    .brand .xbet { color: #3f8eef; }

    [dir="rtl"] .brand { direction: ltr; }

    .main-actions {
      display: flex;
      align-items: center;
      gap: 12px;
      flex: 0 0 auto;
    }

    .lang-switch {
      position: relative;
      flex: 0 0 auto;
    }

    .lang-btn {
      display: inline-flex;
      align-items: center;
      gap: 4px;
      height: 48px;
      padding: 0 10px;
      border-radius: 14px;
      background: rgba(255,255,255,.08);
      color: #fff;
      font-size: 15px;
      font-weight: 700;
      box-shadow: inset 0 1px 0 rgba(255,255,255,.12);
      cursor: pointer;
      -webkit-tap-highlight-color: transparent;
    }

    .lang-btn .flag {
      font-size: 18px;
      line-height: 1;
    }

    .lang-btn .caret {
      font-size: 10px;
      opacity: .75;
      transition: transform .15s ease;
    }

    .lang-switch.open .lang-btn .caret {
      transform: rotate(180deg);
    }

    .lang-menu {
      position: absolute;
      top: calc(100% + 8px);
      right: 0;
      min-width: 160px;
      background: #2b355d;
      border-radius: 12px;
      padding: 6px;
      box-shadow: 0 12px 30px rgba(0,0,0,.35), inset 0 0 0 1px rgba(255,255,255,.06);
      display: none;
      flex-direction: column;
      gap: 2px;
      z-index: 60;
    }

    .lang-switch.open .lang-menu {
      display: flex;
    }

    .lang-option {
      display: flex;
      align-items: center;
      gap: 10px;
      padding: 10px 10px;
      border-radius: 8px;
      color: rgba(255,255,255,.92);
      text-decoration: none;
      font-size: 14px;
      white-space: nowrap;
    }

    .lang-option:hover {
      background: rgba(255,255,255,.08);
    }

    .lang-option.active {
      color: #fff;
      font-weight: 700;
      background: rgba(255,255,255,.06);
    }

    .lang-option .flag {
      font-size: 18px;
      line-height: 1;
    }

    .pill-btn {
      min-width: 80px;
      height: 48px;
      border-radius: 14px;
      padding: 0 16px;
      color: #fff;
      font-size: 16px;
      background: var(--blue);
      box-shadow: inset 0 1px 0 rgba(255,255,255,.2);
    }

    .pill-btn.reg {
      background: var(--green);
    }

    .content {
      padding: 12px 12px 28px;
    }

    .section-top {
      display: flex;
      align-items: center;
      gap: 12px;
      background: #364472;
      border-radius: 14px 14px 0 0;
      padding: 14px 14px;
      margin-bottom: 12px;
    }

    .icon-btn {
      width: 50px;
      height: 50px;
      border-radius: 12px;
      background: rgba(255,255,255,.08);
      color: #fff;
      display: grid;
      place-items: center;
      font-size: 28px;
      flex: 0 0 auto;
    }

    .section-title {
      flex: 1 1 auto;
      font-size: 22px;
      font-weight: 800;
      letter-spacing: .3px;
    }

    .hero-card {
      background: linear-gradient(180deg, #21335f, #253a6a);
      border-radius: 0 0 16px 16px;
      overflow: hidden;
      position: relative;
      min-height: 248px;
      box-shadow: inset 0 0 0 1px rgba(255,255,255,.03);
    }

    .hero-stage {
      margin: 0;
      border-radius: 16px;
      overflow: hidden;
      min-height: 300px;
      position: relative;
      background:
        radial-gradient(circle at 50% 20%, rgba(116,171,255,.28), transparent 30%),
        radial-gradient(circle at 50% 100%, rgba(23,105,205,.34), transparent 42%),
        linear-gradient(180deg, #3e68ad 0%, #1f3769 100%);
      display: flex;
      align-items: center;
      justify-content: center;
      text-align: center;
      padding: 26px 18px;
    }

    .hero-text {
      width: 100%;
      max-width: 320px;
      padding: 0;
      position: relative;
      z-index: 2;
      display: flex;
      flex-direction: column;
      align-items: center;
      justify-content: center;
    }

    .hero-decor {
      position: absolute;
      z-index: 1;
      pointer-events: none;
      opacity: .9;
    }

    .hero-decor.left {
      left: -18px;
      bottom: -10px;
      width: 130px;
      height: 130px;
      transform: scaleX(-1);
    }

    .hero-decor.right {
      right: -22px;
      top: -14px;
      width: 130px;
      height: 130px;
    }

    .hero-date {
      font-size: 18px;
      color: rgba(255,255,255,.92);
      margin-bottom: 18px;
      text-align: center;
    }

    .hero-title {
      font-size: 28px;
      font-weight: 900;
      line-height: 1.12;
      white-space: pre-line;
      text-align: center;
      text-shadow: 0 4px 12px rgba(0,0,0,.24);
    }

    .hero-sub {
      margin-top: 10px;
      max-width: 280px;
      font-size: 13px;
      line-height: 1.4;
      color: rgba(255,255,255,.82);
      text-align: center;
    }

    .hero-play {
      margin-top: 22px;
      min-width: 148px;
      height: 48px;
      border-radius: 12px;
      background: linear-gradient(180deg, var(--green), var(--green-dark));
      color: #fff;
      font-size: 17px;
      font-weight: 800;
      box-shadow: inset 0 1px 0 rgba(255,255,255,.22), 0 8px 18px rgba(0,0,0,.18);
    }

    .promo-copy {
      margin-top: 14px;
      width: min(260px, 100%);
      display: flex;
      align-items: center;
      justify-content: space-between;
      gap: 8px;
      padding: 8px;
      border-radius: 12px;
      background: rgba(13, 31, 68, .72);
      border: 1px dashed rgba(255,255,255,.42);
      box-shadow: inset 0 1px 0 rgba(255,255,255,.08);
    }

    .promo-label {
      display: block;
      margin-bottom: 2px;
      font-size: 10px;
      color: rgba(255,255,255,.66);
      text-transform: uppercase;
      letter-spacing: .6px;
    }

    .promo-copy strong {
      display: block;
      font-size: 15px;
      line-height: 1;
      color: #ffffff;
      letter-spacing: .8px;
    }

    .copy-btn {
      height: 30px;
      padding: 0 9px;
      border-radius: 9px;
      background: var(--blue);
      color: #fff;
      font-size: 11px;
      font-weight: 800;
      white-space: nowrap;
      box-shadow: inset 0 1px 0 rgba(255,255,255,.18);
    }

    .copy-btn.copied {
      background: var(--green);
    }


    .dots {
      display: flex;
      justify-content: center;
      gap: 7px;
      padding: 4px 0 10px;
    }

    .dot {
      width: 10px;
      height: 10px;
      border-radius: 50%;
      background: rgba(255,255,255,.24);
    }

    .dot.active { background: #ffffff; }

    .app-perks {
      display: flex;
      flex-direction: column;
      gap: 10px;
      margin-top: 12px;
      padding: 14px;
      background: #2b355d;
      border-radius: 14px;
      box-shadow: inset 0 0 0 1px rgba(255,255,255,.04);
    }

    .perk {
      display: flex;
      align-items: flex-start;
      gap: 12px;
    }

    .perk-ico {
      flex: 0 0 auto;
      width: 36px;
      height: 36px;
      border-radius: 10px;
      background: rgba(255,255,255,.08);
      display: grid;
      place-items: center;
      font-size: 18px;
      line-height: 1;
    }

    .perk strong {
      display: block;
      font-size: 15px;
      font-weight: 800;
      margin-bottom: 2px;
    }

    .perk p {
      margin: 0;
      font-size: 13px;
      line-height: 1.4;
      color: var(--muted);
    }

    .list-section {
      margin-top: 12px;
      background: transparent;
    }

    .section-head {
      display: flex;
      align-items: center;
      justify-content: space-between;
      gap: 10px;
      padding: 8px 2px 14px;
    }

    .section-head h2 {
      margin: 0;
      font-size: 22px;
      font-weight: 800;
    }

    .section-link {
      color: #ffffff;
      text-decoration: none;
      font-size: 16px;
      letter-spacing: .6px;
      text-transform: uppercase;
      white-space: nowrap;
    }

    .section-link span { opacity: .75; margin-left: 4px; }

    .game-grid {
      display: grid;
      grid-template-columns: repeat(2, minmax(0, 1fr));
      gap: 8px;
    }

    .game-card {
      background: #3c4b7f;
      border-radius: 4px;
      overflow: hidden;
      box-shadow: inset 0 0 0 1px rgba(255,255,255,.04);
    }

    .thumb {
      aspect-ratio: 1.5 / 1;
      position: relative;
      overflow: hidden;
      background: linear-gradient(135deg, #5f8ffc 0%, #27427f 55%, #435ca2 100%);
    }

    .thumb.red {
      background: linear-gradient(135deg, #cc2326 0%, #842031 52%, #33488d 100%);
    }

    .thumb.alt {
      background: linear-gradient(135deg, #4d76df 0%, #8db7ff 42%, #5079c9 100%);
    }

    .thumb.plain {
      background: #1d2849;
    }

    .thumb.plain::before {
      display: none;
    }

    .thumb-full {
      position: absolute;
      inset: 0;
      width: 100%;
      height: 100%;
      object-fit: cover;
    }

    .thumb::before {
      content: "";
      position: absolute;
      inset: 0;
      background:
        linear-gradient(145deg, rgba(255,255,255,.14) 0 16%, transparent 16% 32%, rgba(255,255,255,.08) 32% 48%, transparent 48%),
        linear-gradient(120deg, transparent 0 52%, rgba(255,255,255,.06) 52% 100%);
    }

    .thumb-art {
      position: absolute;
      right: -6px;
      bottom: -8px;
      width: 78%;
      height: 82%;
      z-index: 1;
      object-fit: contain;
      object-position: bottom right;
    }

    .brand-mini {
      position: absolute;
      left: 14px;
      top: 18px;
      font-size: 18px;
      font-weight: 900;
      font-style: italic;
      color: #d2e2ff;
      opacity: .95;
      z-index: 1;
    }

    .sub-mini {
      position: absolute;
      left: 16px;
      top: 42px;
      font-size: 12px;
      color: rgba(255,255,255,.88);
      z-index: 1;
      letter-spacing: .3px;
    }

    .person-mini {
      position: absolute;
      right: 8px;
      bottom: 0;
      width: 38%;
      height: 88%;
    }

    .person-mini::before {
      content: "";
      position: absolute;
      right: 6px;
      bottom: 0;
      width: 68px;
      height: 94px;
      border-radius: 28px 28px 6px 6px;
      background: linear-gradient(180deg, #ffffff 0%, #f0f0f2 100%);
      clip-path: polygon(14% 0, 86% 0, 100% 20%, 100% 100%, 0 100%, 0 20%);
    }

    .person-mini.dark::before { background: linear-gradient(180deg, #111923, #2d394d); }

    .person-mini::after {
      content: "";
      position: absolute;
      right: 18px;
      top: 10px;
      width: 36px;
      height: 36px;
      border-radius: 50%;
      background: radial-gradient(circle at 40% 35%, #ffd9c2 0 32%, #ebb396 33% 100%);
      box-shadow: 0 2px 8px rgba(0,0,0,.15);
    }

    .person-mini .cards {
      position: absolute;
      right: 50px;
      top: 14px;
      width: 30px;
      height: 32px;
      transform: rotate(-10deg);
    }

    .person-mini .cards::before,
    .person-mini .cards::after {
      content: "";
      position: absolute;
      width: 20px;
      height: 28px;
      border-radius: 3px;
      background: #ffffff;
      box-shadow: 0 2px 5px rgba(0,0,0,.15);
    }

    .person-mini .cards::before { left: 0; top: 4px; transform: rotate(-12deg); }
    .person-mini .cards::after { right: 0; top: 0; transform: rotate(8deg); }

    .card-caption {
      padding: 9px 12px 11px;
      font-size: 16px;
      color: rgba(255,255,255,.9);
      line-height: 1.2;
      min-height: 56px;
    }


    .bottom-nav {
      position: fixed;
      z-index: 50;
      left: 50%;
      transform: translateX(-50%);
      bottom: 0;
      width: min(100vw, var(--screen-w));
      padding: 10px 10px calc(12px + var(--safe-bottom));
      background: #202a4a;
      border-top: 1px solid rgba(255,255,255,.06);
      box-shadow: 0 -10px 30px rgba(0,0,0,.22);
    }

    .bottom-grid {
      display: grid;
      grid-template-columns: repeat(5, minmax(0, 1fr));
      align-items: center;
      gap: 4px;
    }

    .nav-item {
      display: grid;
      grid-template-rows: 34px 18px;
      justify-items: center;
      align-items: center;
      row-gap: 6px;
      text-decoration: none;
      color: rgba(255,255,255,.94);
      min-height: 72px;
      font-size: 13px;
      line-height: 1;
      text-align: center;
    }

    .nav-item .ico {
      width: 30px;
      height: 30px;
      position: relative;
      opacity: .95;
      display: block;
      margin: 0 auto;
    }

    .nav-item > div:last-child {
      display: flex;
      align-items: center;
      justify-content: center;
      min-height: 18px;
      white-space: nowrap;
    }

    .nav-item .ico.grid::before,
    .nav-item .ico.grid::after,
    .nav-item .ico.grid span,
    .nav-item .ico.grid i {
      content: "";
      position: absolute;
      width: 10px;
      height: 10px;
      border-radius: 2px;
      background: currentColor;
    }
    .nav-item .ico.grid::before { left: 3px; top: 3px; }
    .nav-item .ico.grid::after { right: 3px; top: 3px; }
    .nav-item .ico.grid span { left: 3px; bottom: 3px; }
    .nav-item .ico.grid i { right: 3px; bottom: 3px; }

    .nav-item .ico.stack::before,
    .nav-item .ico.stack::after,
    .nav-item .ico.stack span {
      content: "";
      position: absolute;
      left: 50%;
      width: 24px;
      height: 6px;
      border-radius: 3px;
      background: currentColor;
      transform: translateX(-50%);
    }
    .nav-item .ico.stack::before { top: 5px; }
    .nav-item .ico.stack::after { top: 12px; }
    .nav-item .ico.stack span { top: 19px; }

    .nav-item .ico.heart {
      width: 28px;
      height: 26px;
      transform: translateY(2px);
    }

    .nav-item .ico.heart::before,
    .nav-item .ico.heart::after {
      content: "";
      position: absolute;
      top: 2px;
      width: 14px;
      height: 22px;
      background: currentColor;
      border-radius: 14px 14px 0 0;
    }

    .nav-item .ico.heart::before {
      left: 14px;
      transform: rotate(-45deg);
      transform-origin: 0 100%;
    }

    .nav-item .ico.heart::after {
      left: 0;
      transform: rotate(45deg);
      transform-origin: 100% 100%;
    }

    .nav-item .ico.megaphone::before {
      content: "";
      position: absolute;
      left: 3px;
      top: 9px;
      width: 18px;
      height: 12px;
      background: currentColor;
      clip-path: polygon(0 35%, 72% 0, 72% 100%, 0 65%);
    }
    .nav-item .ico.megaphone::after {
      content: "";
      position: absolute;
      right: 3px;
      top: 12px;
      width: 4px;
      height: 6px;
      background: currentColor;
      border-radius: 0 2px 2px 0;
      box-shadow: 5px -4px 0 -1px currentColor, 5px 4px 0 -1px currentColor;
    }

    .nav-item .ico.menu::before,
    .nav-item .ico.menu::after,
    .nav-item .ico.menu span {
      content: "";
      position: absolute;
      left: 2px;
      right: 2px;
      height: 4px;
      border-radius: 2px;
      background: currentColor;
    }
    .nav-item .ico.menu::before { top: 6px; }
    .nav-item .ico.menu span { top: 13px; }
    .nav-item .ico.menu::after { top: 20px; }

    .nav-item.active {
      font-weight: 700;
      color: #ffffff;
    }

    .nav-item.active .nav-bubble {
      width: 56px;
      height: 56px;
      border-radius: 50%;
      background: #65a9ff;
      display: grid;
      place-items: center;
      box-shadow: 0 10px 20px rgba(58,129,218,.35);
      margin: -20px auto 0;
      align-self: center;
      justify-self: center;
    }

    .nav-item.active > div:last-child {
      font-weight: 800;
      transform: translateY(2px);
    }

    .footer {
      padding: 18px 0 10px;
      text-align: center;
      color: var(--muted-2);
      font-size: 13px;
    }

    .tab-panel {
      display: none;
    }

    .tab-panel.active {
      display: block;
    }

    .panel-head {
      padding: 6px 2px 16px;
    }

    .panel-head h1 {
      margin: 0 0 4px;
      font-size: 24px;
      font-weight: 800;
    }

    .panel-head p {
      margin: 0;
      font-size: 13px;
      color: var(--muted);
    }

    .cat-grid {
      display: grid;
      grid-template-columns: repeat(2, minmax(0, 1fr));
      gap: 10px;
    }

    .cat-card {
      display: flex;
      align-items: center;
      gap: 12px;
      padding: 14px;
      background: var(--surface);
      border-radius: 14px;
      box-shadow: inset 0 0 0 1px rgba(255,255,255,.05);
      text-decoration: none;
      color: #fff;
    }

    .cat-card .cat-ico {
      flex: 0 0 auto;
      width: 44px;
      height: 44px;
      border-radius: 12px;
      display: grid;
      place-items: center;
      font-size: 22px;
      background: rgba(255,255,255,.08);
    }

    .cat-card .cat-ico img {
      width: 30px;
      height: 30px;
    }

    .cat-card strong {
      display: block;
      font-size: 14px;
      font-weight: 700;
      margin-bottom: 2px;
    }

    .cat-card span {
      display: block;
      font-size: 12px;
      color: var(--muted-2);
    }

    .provider-grid {
      display: grid;
      grid-template-columns: repeat(2, minmax(0, 1fr));
      gap: 10px;
    }

    .provider-card {
      display: flex;
      align-items: center;
      justify-content: center;
      height: 64px;
      border-radius: 12px;
      background: var(--surface);
      box-shadow: inset 0 0 0 1px rgba(255,255,255,.05);
      font-size: 15px;
      font-weight: 800;
      letter-spacing: .2px;
      color: rgba(255,255,255,.92);
      text-align: center;
      padding: 6px 10px;
      text-decoration: none;
    }

    .provider-card img {
      max-width: 100%;
      max-height: 50px;
    }

    .promo-list {
      display: flex;
      flex-direction: column;
      gap: 12px;
    }

    .promo-banner {
      display: flex;
      align-items: center;
      gap: 14px;
      padding: 16px;
      border-radius: 16px;
      background: linear-gradient(135deg, var(--surface-2), var(--surface));
      box-shadow: inset 0 0 0 1px rgba(255,255,255,.05);
    }

    .promo-banner .promo-ico {
      flex: 0 0 auto;
      width: 48px;
      height: 48px;
      border-radius: 14px;
      display: grid;
      place-items: center;
      font-size: 24px;
      background: rgba(255,255,255,.08);
    }

    .promo-banner strong {
      display: block;
      font-size: 15px;
      font-weight: 800;
      margin-bottom: 3px;
    }

    .promo-banner p {
      margin: 0;
      font-size: 13px;
      line-height: 1.4;
      color: var(--muted);
    }

    .menu-list {
      display: flex;
      flex-direction: column;
      gap: 4px;
      background: var(--surface);
      border-radius: 14px;
      box-shadow: inset 0 0 0 1px rgba(255,255,255,.05);
      overflow: hidden;
      margin-bottom: 14px;
    }

    .menu-row {
      display: flex;
      align-items: center;
      gap: 12px;
      padding: 14px;
      color: #fff;
      text-decoration: none;
      border-bottom: 1px solid rgba(255,255,255,.05);
      font-size: 14px;
      font-weight: 600;
    }

    .menu-row:last-child {
      border-bottom: 0;
    }

    .menu-row .menu-ico {
      flex: 0 0 auto;
      width: 34px;
      height: 34px;
      border-radius: 10px;
      background: rgba(255,255,255,.08);
      display: grid;
      place-items: center;
      font-size: 16px;
    }

    .menu-row .menu-chevron {
      margin-inline-start: auto;
      opacity: .5;
      font-size: 14px;
    }

    .menu-section-title {
      padding: 4px 2px 8px;
      font-size: 12px;
      font-weight: 700;
      letter-spacing: .6px;
      text-transform: uppercase;
      color: var(--muted-2);
    }

    .menu-lang-list {
      display: flex;
      flex-direction: column;
      gap: 4px;
      background: var(--surface);
      border-radius: 14px;
      box-shadow: inset 0 0 0 1px rgba(255,255,255,.05);
      overflow: hidden;
      margin-bottom: 14px;
    }

    .menu-lang-option {
      display: flex;
      align-items: center;
      gap: 12px;
      padding: 14px;
      color: rgba(255,255,255,.92);
      text-decoration: none;
      border-bottom: 1px solid rgba(255,255,255,.05);
      font-size: 14px;
      font-weight: 600;
    }

    .menu-lang-option:last-child {
      border-bottom: 0;
    }

    .menu-lang-option .flag {
      font-size: 20px;
      line-height: 1;
    }

    .menu-lang-option .menu-check {
      margin-inline-start: auto;
      color: var(--active);
      font-weight: 800;
      opacity: 0;
    }

    .menu-lang-option.active {
      background: rgba(255,255,255,.06);
      font-weight: 800;
    }

    .menu-lang-option.active .menu-check {
      opacity: 1;
    }

    .back-link {
      display: inline-flex;
      align-items: center;
      gap: 6px;
      margin: 4px 2px 12px;
      color: rgba(255,255,255,.82);
      text-decoration: none;
      font-size: 14px;
      font-weight: 700;
    }

    .back-link .chevron {
      font-size: 16px;
      line-height: 1;
    }

    [dir="rtl"] .back-link .chevron {
      transform: scaleX(-1);
    }

    .provider-hero {
      display: flex;
      align-items: center;
      gap: 14px;
      padding: 18px;
      border-radius: 16px;
      background: linear-gradient(135deg, var(--surface-2), var(--surface));
      box-shadow: inset 0 0 0 1px rgba(255,255,255,.05);
      margin-bottom: 16px;
    }

    .provider-hero .provider-logo {
      flex: 0 0 auto;
      width: 64px;
      height: 64px;
      border-radius: 16px;
      background: rgba(255,255,255,.06);
      display: grid;
      place-items: center;
      padding: 10px;
    }

    .provider-hero .provider-logo img {
      width: 100%;
      height: 100%;
      object-fit: contain;
    }

    .provider-hero h1 {
      margin: 0 0 4px;
      font-size: 20px;
      font-weight: 800;
    }

    .provider-hero p {
      margin: 0;
      font-size: 13px;
      line-height: 1.4;
      color: var(--muted);
    }

    .provider-stats {
      display: flex;
      gap: 10px;
      margin-bottom: 16px;
    }

    .provider-stat {
      flex: 1 1 0;
      text-align: center;
      padding: 12px 8px;
      border-radius: 12px;
      background: var(--surface);
      box-shadow: inset 0 0 0 1px rgba(255,255,255,.05);
    }

    .provider-stat strong {
      display: block;
      font-size: 16px;
      font-weight: 800;
    }

    .provider-stat span {
      display: block;
      font-size: 11px;
      color: var(--muted-2);
      margin-top: 2px;
    }

    @media (max-width: 430px) {
      body { padding: 0; }

      .hero-stage {
        min-height: 286px;
        padding: 24px 16px;
      }

      .hero-title {
        font-size: 25px;
      }

      .promo-copy {
        width: min(250px, 100%);
      }
      .screen {
        width: 100vw;
        height: 100dvh;
        min-height: 100dvh;
        border: 0;
      }
      .bottom-nav {
        width: 100vw;
      }

      .main-bar {
        padding: 14px 10px;
      }

      .main-actions {
        gap: 8px;
      }

      .pill-btn {
        min-width: 0;
        padding: 0 12px;
        font-size: 14px;
      }

      .lang-btn {
        height: 44px;
        padding: 0 8px;
      }
    }
    .hero-stage {
  position: relative;
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 1;
}

.hero-content {
  position: relative;
  z-index: 2;
}