/* ═══════════════════════════════════════════════════════════════════════════
   X10 HOMEPAGE ("/") — layout reproduced from https://x10tn.net/ (its `home-mobile` page).
   Values below are the reference's own rules (read from its stylesheets / computed styles):
     content: column, gap .625rem, padding .625rem 0; blocks padding 0 .625rem
     promo strip 40px, items radius 10px, 10px/700 caps; slider aspect-ratio 3.275/1, radius 10px, 4px dots (#FFB401 selected, #2B4167)
     tiles: 2 columns, aspect-ratio 165/49, padding + radius + column-gap 2.778vw, text 3vw/3.333vw 700 caps,
            radial-gradient(210.59% 103.16% at 81.52% 42.86%, #53A0E5 → #7A3CCC) and (#FBE964 → #E5592E)
     rows: header 18px/800 caps (padding .625rem 0 1rem), gold count #E9A722, "see all" 12px, cards 6.25rem wide (100×120), gap .3125rem
     providers: items bg #132C46, radius 5px, padding 10px 20px
   The reference has NO desktop layout (one 960px rule that only moves the dots): it stays a stretched mobile layout; so does this.
   Everything is scoped to .x10h-* so no other page is affected. Logical properties keep it correct in RTL (Arabic).
   ═══════════════════════════════════════════════════════════════════════════ */
.x10h {
    --h-bg: #001021; --h-field: #132C46; --h-gold: #E9A722; --h-dot: #2B4167; --h-dot-on: #FFB401; --h-text: #fff; --h-muted: rgba(255, 255, 255, .66);
    display: flex; flex-direction: column; gap: .625rem; padding: .625rem 0; overflow: hidden; box-sizing: border-box;
    background: var(--h-bg); color: var(--h-text); min-height: calc(100vh - 60px);
    font-family: 'Proxima Nova', 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Tahoma, Roboto, sans-serif;
}
.x10h *, .x10h *::before, .x10h *::after { box-sizing: border-box; }
.x10h a { color: inherit; text-decoration: none; }
.x10h-block { padding: 0 .625rem; }
.x10h a:focus-visible, .x10h button:focus-visible, .x10h-slider__track:focus-visible { outline: 2px solid #fff; outline-offset: 2px; border-radius: 10px; }

/* ── promotion strip ─────────────────────────────────────────────────────── */
.x10h-promo { display: flex; gap: 9px; height: 40px; padding: 0 .625rem; }
.x10h-promo__item {
    flex: 1 1 0; min-width: 0; height: 38px; display: flex; align-items: center; justify-content: flex-start; padding: 0 8px; border-radius: 10px;
    font-size: 10px; font-weight: 700; line-height: 1.1; text-align: start; text-transform: uppercase; color: #fff;   /* reference: label sits at the start, over the artwork */
    text-shadow: 0 1px 2px rgba(0, 0, 0, .45); background-size: cover; background-position: center;
    transition: filter var(--x10-dur-fast, 120ms) ease;
}
.x10h-promo__item:hover { filter: brightness(1.12); }
/* The reference paints these with photographic backgrounds that do not exist in this project: brand gradients instead. */
.x10h-promo__item--express { background: url(/assets/images/x10tn/express-background-D35UfsDY.webp) center / 100% 100% no-repeat, linear-gradient(100deg, #1b1205 0%, #5a3b06 55%, #b87608 130%); }
.x10h-promo__item--cashback { background: url(/assets/images/x10tn/cashback-background-OxzOlB7Y.webp) center / 100% 100% no-repeat, linear-gradient(100deg, #04122b 0%, #0b2a66 60%, #1a4fb0 130%); }

/* ── hero carousel ───────────────────────────────────────────────────────── */
.x10h-slider { width: 100%; min-height: 32vw; }          /* reference: .slider-component { min-height: 32dvw } (462px at 1443px) */
.x10h-slider__track { display: flex; overflow-x: auto; overscroll-behavior-x: contain; scroll-snap-type: x mandatory; scrollbar-width: none; border-radius: 10px; -webkit-overflow-scrolling: touch; }
.x10h-slider__track::-webkit-scrollbar { display: none; }
.x10h-slide { flex: 0 0 100%; min-width: 0; scroll-snap-align: start; aspect-ratio: 3.275 / 1; border-radius: 10px; overflow: hidden; background: #0A1C30; }
.x10h-slide img { display: block; width: 100%; height: 100%; object-fit: cover; object-position: 50% 60%; border-radius: 10px; }
.x10h-slider__dots { display: flex; justify-content: center; padding: 9px 0 0; gap: 4px; }
.x10h-dot { position: relative; width: .25rem; height: .25rem; margin: 0; padding: 0; border: 0; border-radius: 50%; background: var(--h-dot); opacity: .3; cursor: pointer; }
.x10h-dot::after { content: ''; position: absolute; inset: -10px -6px; }   /* 4px dot, comfortable touch target */
.x10h-dot.is-selected { background: var(--h-dot-on); opacity: 1; }

/* ── promotion tiles ─────────────────────────────────────────────────────── */
.x10h-tiles { display: grid; grid-template-columns: 1fr 1fr; gap: 0 2.778vw; width: 100%; }
.x10h-tile {
    position: relative; min-width: 0; width: 100%; aspect-ratio: 165 / 49; display: flex; align-items: center; overflow: hidden;
    padding: 2.778vw; border-radius: 2.778vw; color: #fff;
    transition: filter var(--x10-dur-fast, 120ms) ease;
}
.x10h-tile:hover { filter: brightness(1.08); }
.x10h-tile--cashback { background-image: radial-gradient(210.59% 103.16% at 81.52% 42.86%, #53A0E5, #7A3CCC); }
.x10h-tile--promos { background: url(/assets/images/x10tn/link2-bg.webp) right center / auto 100% no-repeat, radial-gradient(210.59% 103.16% at 81.52% 42.86%, #FBE964, #E5592E); }
.x10h-tile__img--a, .x10h-tile__img--b { right: -2.778vw; height: 19.444vw; }
[dir=rtl] .x10h-tile__img--a, [dir=rtl] .x10h-tile__img--b { right: auto; left: -2.778vw; }
.x10h-tile__text { width: 100%; font-size: max(11px, 3vw); font-weight: 700; line-height: 1.1; text-transform: uppercase; text-shadow: 0 1px 3px rgba(0, 0, 0, .4); }
.x10h-tile--promos .x10h-tile__text { font-size: max(11px, 3.333vw); }

/* ── app banner (opens the install dialog) ───────────────────────────────── */
.x10h-app {
    display: flex; align-items: center; gap: 14px; width: 100%; min-height: 84px; margin: 0; padding: 12px 16px; border: 1px solid rgba(233, 167, 34, .35); border-radius: 10px;
    background: linear-gradient(110deg, #0F2032 0%, #132C46 60%, #1b3b5e 100%); color: #fff; font: inherit; text-align: start; cursor: pointer; touch-action: manipulation;
    transition: border-color var(--x10-dur-fast, 120ms) ease;
}
.x10h-app:hover { border-color: var(--h-gold); }
.x10h-app__icon { flex: 0 0 56px; width: 56px; height: 56px; border-radius: 12px; }
.x10h-app__copy { display: flex; flex: 1 1 auto; min-width: 0; flex-direction: column; gap: 3px; }
.x10h-app__copy strong { font-size: 16px; font-weight: 800; line-height: 1.2; }
.x10h-app__copy span { font-size: 12px; line-height: 1.35; color: var(--h-muted); }
.x10h-app__cta { flex: 0 0 auto; padding: 10px 14px; border-radius: 10px; background: var(--h-gold); color: #001021; font-size: 12px; font-weight: 800; text-transform: uppercase; white-space: nowrap; }
@media (max-width: 420px) { .x10h-app { flex-wrap: wrap; } .x10h-app__cta { flex: 1 1 100%; text-align: center; } }

/* ── game rows ───────────────────────────────────────────────────────────── */
.x10h-row { position: relative; z-index: 1; }
.x10h-row::before {                      /* the reference's soft coloured glow behind each row, as a cheap gradient */
    content: ''; position: absolute; inset-inline-start: -4rem; top: 0; width: 12rem; height: 12rem; z-index: -1; pointer-events: none; opacity: .28;
    background: radial-gradient(closest-side, var(--glow, #0051FF), transparent);
}
.x10h-row--blue { --glow: #0051FF; }
.x10h-row--green { --glow: #00E5FF; }
.x10h-row__head { display: flex; align-items: center; justify-content: space-between; padding: .625rem 0 1rem; font-size: 1.125rem; font-weight: 800; line-height: 1.2; text-transform: uppercase; }
.x10h-row__title { display: flex; align-items: center; gap: .5rem; margin: 0; font: inherit; }
.x10h-row__title-text { position: relative; display: flex; }
.x10h-row__title-text::after { content: ''; position: absolute; inset-inline: 0; bottom: -5px; height: 1px; background: rgba(255, 255, 255, .18); }
.x10h-row__num { color: var(--h-gold); text-transform: capitalize; font-variant-numeric: tabular-nums; }
.x10h-row__more-link { display: inline-flex; align-items: center; min-height: 44px; margin-block: -11px; font-size: .75rem; font-weight: 700; color: var(--h-text); }   /* 44px tap target without growing the 48px header */
.x10h-chev { width: 1.375rem; height: 1.375rem; }
[dir="rtl"] .x10h-chev { transform: scaleX(-1); }
.x10h-row__items, .x10h-providers__items { display: flex; gap: .3125rem; overflow-x: auto; scrollbar-width: none; overscroll-behavior-x: contain; padding-bottom: 2px; }
.x10h-row__items::-webkit-scrollbar, .x10h-providers__items::-webkit-scrollbar { display: none; }
.x10h-game { flex: 0 0 6.25rem; display: flex; flex-direction: column; gap: 4px; min-width: 0; }
.x10h-game__img { display: block; width: 100%; aspect-ratio: .833 / 1; border-radius: .625rem; overflow: hidden; background: #0A1C30; }
.x10h-game__img img { display: block; width: 100%; height: 100%; object-fit: cover; }
.x10h-game__name { font-size: .75rem; font-weight: 700; line-height: 1.2; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; overflow-wrap: anywhere; }
.x10h-game:hover .x10h-game__img { box-shadow: 0 0 0 1.5px var(--h-gold); }

/* Glossy shine (a deliberate local enhancement: the reference cards have no hover effect). One soft diagonal highlight passes over the
   artwork once per hover/keyboard focus. It is a clipped, non-interactive ::after animated with transform + opacity only; nothing runs at rest.
   Touch devices never get a sticky hover, and reduced-motion users get no sweep. */
.x10h-game__img { position: relative; isolation: isolate; }
.x10h-game__img::after {
    content: ''; position: absolute; top: -10%; bottom: -10%; left: 0; width: 45%; z-index: 1; pointer-events: none; opacity: 0;
    background: linear-gradient(90deg, rgba(255, 255, 255, 0) 0%, rgba(255, 255, 255, .28) 50%, rgba(255, 255, 255, 0) 100%);
    transform: translateX(-160%) skewX(-18deg);
}
@keyframes x10h-shine {
    0%   { transform: translateX(-160%) skewX(-18deg); opacity: 0; }
    20%  { opacity: 1; }
    80%  { opacity: 1; }
    100% { transform: translateX(260%) skewX(-18deg); opacity: 0; }
}
.x10h-game:focus-visible .x10h-game__img { box-shadow: 0 0 0 1.5px var(--h-gold); }
@media (hover: hover) and (pointer: fine) and (prefers-reduced-motion: no-preference) {
    .x10h-game:hover .x10h-game__img::after { animation: x10h-shine .8s cubic-bezier(.4, 0, .2, 1) both; }
}
@media (prefers-reduced-motion: no-preference) {
    .x10h-game:focus-visible .x10h-game__img::after { animation: x10h-shine .8s cubic-bezier(.4, 0, .2, 1) both; }
}
.x10h-more { flex: 0 0 6.875rem; height: fit-content; aspect-ratio: .917 / 1; display: flex; align-items: center; justify-content: center; padding: .625rem; border-radius: .625rem; background: var(--h-field); font-size: .75rem; font-weight: 700; text-align: center; text-transform: uppercase; }
.x10h-more:hover { background: #1b3b5e; }

/* ── providers ───────────────────────────────────────────────────────────── */
.x10h-providers .x10h-row__title { padding: .625rem 0 1rem; font-size: 1.125rem; font-weight: 800; line-height: 1.2; text-transform: uppercase; }
.x10h-provider { flex: 0 0 auto; min-width: 126px; min-height: 53px; display: flex; align-items: center; justify-content: center; padding: 10px 20px; border-radius: 5px; background: var(--h-field); font-size: .75rem; font-weight: 800; letter-spacing: .02em; text-align: center; text-transform: uppercase; white-space: nowrap; }
.x10h-provider:hover { background: #1b3b5e; }

@media (prefers-reduced-motion: reduce) { .x10h * { transition: none !important; scroll-behavior: auto !important; } }
html[data-x10-motion="reduced"] .x10h * { transition: none !important; scroll-behavior: auto !important; }

/* ═══ Guest chrome: the reference's minimal 54px header and fixed five-tab bar (guests only; see partials/home-chrome + home-bar) ═══ */
body.x10-home-guest header.header { display: none !important; }        /* shared header stays in the DOM (side menu, dialogs) but is not shown on this page */
html body.x10-home-guest { padding-bottom: calc(45px + env(safe-area-inset-bottom, 0px)) !important; transition: none !important; }
body.x10-home-guest .x10h { padding-top: 60px; }             /* 54px header + 6px, as measured on the reference */
.x10h-promo { margin-bottom: .625rem; }                      /* reference: strip, 10px gap, then content with 10px top padding */

.x10h-top {
    position: fixed; top: 0; inset-inline: 0; z-index: 1000; height: 54px; padding: 0 10px; display: flex; align-items: center; justify-content: space-between;
    background: #001021; font-family: 'Proxima Nova', 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Tahoma, Roboto, sans-serif;
}
.x10h-top__logo { display: inline-flex; align-items: center; min-height: 44px; }
.x10h-top__logo { flex: 0 1 auto; min-width: 0; }
.x10h-top__logo img { display: block; height: 32px; width: auto; max-width: 100%; object-fit: contain; }
.x10h-top__actions { flex: 0 0 auto; }
.x10h-top__actions { display: flex; align-items: center; gap: 5px; }
.x10h-btn {
    position: relative; height: 30px; margin: 0; padding: 0 7px; border: 0; border-radius: 10px; font: inherit; font-size: 12px; font-weight: 700; line-height: 1;
    text-transform: uppercase; white-space: nowrap; cursor: pointer; touch-action: manipulation; -webkit-tap-highlight-color: transparent;
    transition: background-color var(--x10-dur-fast, 120ms) ease, opacity var(--x10-dur-fast, 120ms) ease;
}
.x10h-btn::after { content: ''; position: absolute; inset: -7px -3px; }          /* 30px button, 44px touch target */
.x10h-btn--ghost { background: transparent; color: #fff; }
.x10h-btn--ghost:hover { background: rgba(255, 255, 255, .08); }
.x10h-btn--gold { background: #E9A722; color: #001021; }
.x10h-btn--gold:hover { background: #F2B94A; }
.x10h-btn:focus-visible, .x10h-top__logo:focus-visible, .x10h-bar__item:focus-visible { outline: 2px solid #fff; outline-offset: 2px; }

/* the reference's own Proxima Nova Bold (its bar labels are 11px/13px 700); scoped family name so nothing else on the page changes */
@font-face { font-family: 'X10 Proxima Nova'; src: url(/assets/fonts/x10tn/proximanova_bold-ZY2eH_dj.otf) format('opentype'); font-weight: 700; font-display: swap; }
.x10h-bar {
    position: fixed; inset-inline: 0; bottom: 0; z-index: 9990; display: flex; gap: 3px; padding: 3px 3px calc(3px + env(safe-area-inset-bottom, 0px));
    background: #001021; font-family: 'X10 Proxima Nova', 'Proxima Nova', 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Tahoma, Roboto, sans-serif;
}
/* reference .main-mobile-menu: 45px bar, 3px padding/gap, 39px items, 10px radius, 24px icon over a 13px label (11px/13px 700) */
.x10h-bar__item {
    flex: 1 1 0; min-width: 0; height: 39px; margin: 0; padding: 1px; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 0;
    border: 0; border-radius: 10px; background: transparent; color: rgba(255, 255, 255, .5); font: inherit; font-size: 11px; font-weight: 700; line-height: 13px; text-align: center; text-decoration: none;
    cursor: pointer; touch-action: manipulation; -webkit-tap-highlight-color: transparent; transition: background-color var(--x10-dur-fast, 120ms) ease, color var(--x10-dur-fast, 120ms) ease;
}
.x10h-bar__item svg { flex: 0 0 auto; width: 24px; height: 24px; }
.x10h-bar__item span { display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; max-width: 100%; }
.x10h-bar__item:hover { color: #fff; }
.x10h-bar__item.is-active { background: #E9A722; color: #fff; }   /* reference: white icon and label on the yellow */

/* Sport tab popup (reference .main-mobile-menu-item__items: absolute above the item, #001021, 1.5px rgba(255,255,255,.15) border, 10px radius; rows 38px, 16px icon over a 10px/700 label) */
.x10h-bar__group { position: relative; flex: 1 1 2px;   /* 2px = the other items' padding, so all five share the width equally */
    min-width: 0; display: flex; }
.x10h-bar__group > .x10h-bar__item { flex: 1 1 auto; }
.x10h-bar__pop { position: absolute; inset-inline: 0; bottom: 41px; box-sizing: border-box; overflow: hidden; border: 1.5px solid rgba(255, 255, 255, .15); border-radius: 10px; background: #001021; }
.x10h-bar__pop[hidden] { display: none; }
.x10h-bar__pop-item { position: relative; display: flex; flex-direction: column; align-items: center; box-sizing: border-box; height: 38px; padding: 5px 0; color: rgba(255, 255, 255, .5); font-size: 10px; font-weight: 700; text-align: center; text-decoration: none; }
.x10h-bar__pop-item:hover, .x10h-bar__pop-item:focus-visible { color: #fff; }
.x10h-bar__pop-item svg { flex: 0 0 auto; width: 16px; height: 16px; }
.x10h-bar__new { position: absolute; top: 3px; inset-inline-end: 3px; line-height: 0; color: #fff; }
.x10h-bar__new svg { width: 21px; height: 10px; }

/* provider chips with the project's real logos */
.x10h-provider--logo { padding: 0; width: 126px; min-width: 126px; height: 53px; overflow: hidden; }
.x10h-provider--logo img { display: block; height: 100%; width: auto; max-width: 100%; object-fit: contain; }

@media (min-width: 992px) { html body.x10-home-guest { padding-bottom: calc(45px + env(safe-area-inset-bottom, 0px)) !important; } }   /* beats the shared bar's "padding-bottom: 0 !important" at >=992px */

/* narrow phones: keep logo + both buttons on one line without overlap */
@media (max-width: 380px) {
    .x10h-top { padding: 0 8px; }
    .x10h-top__logo img { height: 24px; }
    .x10h-btn { padding: 0 5px; font-size: 11px; }
    .x10h-top__actions { gap: 3px; }
}

/* ── original artwork from the reference (x10tn.net) ─────────────────────── */
/* weekly-cashback tile art: 266x138 alpha webp, 19vw tall, bleeds off the top-right corner (clipped by the tile) */
.x10h-tile__img { position: absolute; top: -2.778vw; right: -10vw; height: 19vw; width: auto; pointer-events: none; }
[dir=rtl] .x10h-tile__img { right: auto; left: -10vw; }
/* app banner: 1020x210 image, full width, 12px radius */
.x10h-app-banner { display: block; width: 100%; box-sizing: border-box; margin: 0; padding: .625rem 0 0; border: 0; background: transparent; cursor: pointer; touch-action: manipulation; }
.x10h-app-banner img { display: block; width: 100%; height: auto; border-radius: .75rem; }
.x10h-app-banner:focus-visible { outline: 2px solid #e9a722; outline-offset: 2px; }

/* "First" sportsbook banner: 1020x240 artwork, full width, auto height (reference .first-banner: margin-top .5rem) */
.x10h-first { display: block; width: 100%; margin-top: .5rem; }
.x10h-first__img { display: block; width: 100%; height: auto; border-radius: 12px; }

/* ── the same bar on every page that renders partials/home-bar (body.x10-homebar; body.x10-sport-bar = sportsbook pages) ───────────────── */
html body.x10-homebar { padding-bottom: calc(45px + env(safe-area-inset-bottom, 0px)) !important; }
body.x10-sport-bar .betting-wrapper { bottom: calc(45px + env(safe-area-inset-bottom, 0px)); }   /* provider iframe ends above the bar */
body.x10-sport-bar .sport1-shell, body.x10-sport-bar .sport1-frame { min-height: calc(100vh - 60px - 45px - env(safe-area-inset-bottom, 0px)); }
@media (max-width: 768px) { body.x10-sport-bar .sport1-shell, body.x10-sport-bar .sport1-frame { min-height: calc(100vh - 50px - 45px - env(safe-area-inset-bottom, 0px)); } }
