/* Jackpot Arab v3 — site-wide identity layer (loaded after site.css + premium.css).
   Type:   Lalezar (Arabic/Latin poster face) for display, Readex Pro for text and UI.
   Colour: brand ink + lime + white; casino felt green and a card-red as supporting tones.
   Rhythm: ink → lime ticker → white card-stock → felt → ink → lime. One motion moment: the hero deal. */
@font-face { font-family: "Lalezar"; src: url(/assets/fonts/Lalezar-Regular.ttf) format("truetype"); font-weight: 400; font-display: swap; }
@font-face { font-family: "Readex Pro"; src: url(/assets/fonts/ReadexPro-Variable.ttf) format("truetype"); font-weight: 160 700; font-display: swap; }

:root {
  --ink: #161719;
  --ink-2: #1F2023;
  --lime: #D4FF37;
  --chalk: #FFFFFF;
  --felt: #0F2C22;
  --felt-2: #18402F;
  --card-red: #D3203A;
  --smoke: #9EA6A1;
  --font: "Readex Pro", "Segoe UI", Tahoma, Arial, sans-serif;
  --display: "Lalezar", "Readex Pro", Impact, sans-serif;
}
body { font-family: var(--font); background: var(--ink); font-size: 17px; line-height: 1.8; font-weight: 350; }
h1, h2, h3, strong, b, .btn { font-weight: 600; }
.x-display { font-family: var(--display); font-weight: 400; letter-spacing: 0; line-height: 1.12; }
.x-wrap { max-width: 1200px; margin: 0 auto; padding-inline: 24px; }
::selection { background: var(--lime); color: var(--ink); }
:focus-visible { outline: 3px solid var(--lime); outline-offset: 3px; }

/* ---------------- buttons ---------------- */
.btn { font-family: var(--font); font-weight: 600; border-radius: 12px; }
.btn.primary { background: var(--lime); color: var(--ink); border-color: var(--lime); box-shadow: 0 0 0 0 transparent; }
.btn.primary:hover { background: #E2FF7A; color: var(--ink); }
.btn.big { min-height: 58px; padding: 10px 30px; font-size: 1.08rem; border-radius: 14px; }
.motion .btn.primary::after { display: none; } /* no periodic sheen: keep motion for the hero only */

/* ---------------- header ---------------- */
.site-header { background: rgba(22, 23, 25, .9); border-bottom: 1px solid #FFFFFF12; }
.site-header .bar { max-width: 1200px; padding-inline: 24px; min-height: 72px; }
.brand { font-family: var(--display); font-weight: 400; font-size: 1.5rem; letter-spacing: 0; gap: 10px; }
.brand img { width: 40px; height: 40px; }
.site-nav a { font-size: .95rem; font-weight: 500; color: #C9CECB; border-radius: 10px; }
.site-nav a[aria-current] { color: var(--ink); background: var(--lime); box-shadow: none; }
.lang { border-radius: 10px; font-weight: 500; }

/* ---------------- footer ---------------- */
.site-footer { background: #0F1011; border-top: 1px solid #FFFFFF10; padding: 48px 0 32px; }
.site-footer .bar { max-width: 1200px; padding-inline: 24px; }
.foot-brand { font-family: var(--display); font-weight: 400; font-size: clamp(2.2rem, 6vw, 3.6rem); line-height: 1.1; gap: 16px; }
.foot-brand img { width: 56px; height: 56px; }
.disclosure { color: #B7BDB9; font-size: .92rem; }
.age { font-family: var(--font); }

/* ---------------- playing cards (illustration) ---------------- */
.pc { font-family: "Readex Pro", Arial, sans-serif; border-radius: calc(var(--w) * .09); box-shadow: 0 14px 30px -12px rgba(0, 0, 0, .75), inset 0 0 0 1px rgba(0, 0, 0, .1); }
.pc b { font-weight: 700; }
.pc.red { color: var(--card-red); }
.pc.lg b { font-size: calc(var(--w) * .26); letter-spacing: -.03em; }
.pc.lg::after { font-size: calc(var(--w) * .56); }

/* =========================================================== HOME */
.x-home { overflow-x: clip; }

/* hero */
.x-hero { position: relative; isolation: isolate; overflow: hidden; border-bottom: 1px solid #FFFFFF10; }
.x-hero::before { /* a single overhead lamp over the table */
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: radial-gradient(40% 60% at 22% 42%, #D4FF3714, transparent 70%), var(--ink);
}
[dir=ltr] .x-hero::before { background: radial-gradient(40% 60% at 78% 42%, #D4FF3714, transparent 70%), var(--ink); }
.x-hero-in { display: grid; grid-template-columns: 1.15fr 1fr; align-items: center; gap: 32px; min-height: min(760px, calc(100svh - 72px)); padding-block: 56px 64px; }
.x-hero-copy { min-width: 0; }
.x-hero .x-display { font-size: clamp(3.6rem, 9.2vw, 8.4rem); margin: 0 0 .1em; color: var(--chalk); }
[dir=ltr] .x-hero .x-display { font-size: clamp(3.2rem, 7.6vw, 7rem); line-height: 1.02; }
.x-hero-sub { font-family: var(--display); font-size: clamp(1.7rem, 3.4vw, 2.7rem); line-height: 1.25; margin: 0 0 22px; color: var(--lime); }
.x-lead { font-size: 1.12rem; color: #C8CDCA; max-width: 40ch; margin-bottom: 30px; }
.x-actions { display: flex; align-items: center; gap: 28px; flex-wrap: wrap; }
.x-link { color: var(--chalk); font-weight: 600; text-decoration: underline; text-decoration-color: var(--lime); text-decoration-thickness: 2px; text-underline-offset: 8px; }
.x-link:hover { color: var(--lime); }
.x-facts { list-style: none; padding: 0; margin: 36px 0 0; display: flex; flex-wrap: wrap; gap: 10px 26px; color: #A9B0AC; font-size: .92rem; }
.x-facts li { display: inline-flex; align-items: center; gap: 10px; }
.x-facts li::before { content: ""; width: 8px; height: 8px; background: var(--lime); transform: rotate(45deg); }

/* hero art: felt spot, two cards fanned behind the chip */
.x-hero-art { position: relative; height: 520px; }
.x-spot { position: absolute; inset: 6% 2% 4%; border-radius: 50%;
  background: radial-gradient(circle at 50% 45%, var(--felt-2), var(--felt) 58%, #0B2019 72%, transparent 72.5%);
  box-shadow: inset 0 0 0 1px #D4FF3722;
}
.x-spot::after { content: ""; position: absolute; inset: 9%; border-radius: 50%; border: 1px dashed #D4FF3726; }
.x-fan { position: absolute; left: 50%; top: 12%; width: 0; height: 0; }
.x-fan .pc { --w: 150px; position: absolute; left: calc(var(--w) / -2); top: 0; transform-origin: 50% 150%; }
.x-fan .pc:first-child { transform: rotate(-16deg); }
.x-fan .pc:last-child { transform: rotate(14deg); }
.x-chip { position: absolute; width: 270px; height: 270px; left: calc(50% - 115px); top: 40%; border-radius: 50%; transform: rotate(-14deg); filter: drop-shadow(0 34px 30px #000C); }
.x-hero-art .stack { transform: scale(.9); transform-origin: bottom; }
.x-hero-art .x-st1 { left: 9%; bottom: 8%; }
.x-hero-art .x-st2 { right: 12%; bottom: 4%; transform: scale(.72); }

@media (prefers-reduced-motion: no-preference) {
  /* the one orchestrated moment: chip lands, cards fan out from under it */
  .x-chip { animation: x-land .9s cubic-bezier(.2, .9, .25, 1) .1s both; }
  .x-fan .pc:first-child { animation: x-fan-l .8s cubic-bezier(.2, .8, .2, 1) .55s both; }
  .x-fan .pc:last-child { animation: x-fan-r .8s cubic-bezier(.2, .8, .2, 1) .62s both; }
  .x-hero .stack { animation: x-rise .7s ease-out .9s both; }
  @keyframes x-land { from { transform: translateY(-60px) rotate(-200deg) scale(1.15); opacity: 0; } 70% { opacity: 1; } }
  @keyframes x-fan-l { from { transform: rotate(0) translateY(90px); opacity: 0; } }
  @keyframes x-fan-r { from { transform: rotate(0) translateY(90px); opacity: 0; } }
  @keyframes x-rise { from { translate: 0 20px; opacity: 0; } }
}

/* ticker: the lime band */
.x-ticker { background: var(--lime); border: 0; padding: 12px 0; }
.x-ticker .ticker-set { font-family: var(--display); font-weight: 400; font-size: 1.35rem; color: var(--ink); gap: 30px; padding-inline-end: 30px; }
.x-ticker .ticker-set i, .x-ticker .ticker-set i.red { color: var(--ink); font-size: 1.1rem; }
.motion .x-ticker .ticker-track { animation-duration: 55s; }

/* steps as playing cards on white card-stock */
.x-steps { background: var(--chalk); color: var(--ink); padding: 88px 0 96px; }
.x-h2 { font-size: clamp(2.6rem, 6vw, 4.4rem); margin: 0 0 12px; }
.x-steps .x-h2 { color: var(--ink); }
.x-step-cards { list-style: none; padding: 0; margin: 40px 0 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.x-step { position: relative; min-height: 340px; background: var(--chalk); border-radius: 22px; padding: 118px 34px 84px;
  box-shadow: 0 0 0 1px #16171914, 0 30px 60px -30px #16171966, 0 8px 18px -10px #16171930; color: var(--ink); }
.x-step:nth-child(1) { rotate: -1.5deg; } .x-step:nth-child(3) { rotate: 1.5deg; }
.x-idx { position: absolute; top: 20px; inset-inline-start: 24px; display: grid; justify-items: center; line-height: 1; color: var(--ink); }
.x-idx b { font-family: var(--display); font-weight: 400; font-size: 3rem; line-height: 1; }
.x-idx i { font-style: normal; font-size: 1.6rem; margin-top: 2px; }
.x-idx-end { top: auto; bottom: 20px; inset-inline-start: auto; inset-inline-end: 24px; rotate: 180deg; }
.x-step.red .x-idx { color: var(--card-red); }
.x-step h3 { font-family: var(--display); font-weight: 400; font-size: 1.9rem; line-height: 1.25; margin: 0 0 10px; }
.x-step p { margin: 0; color: #3D403E; font-size: 1rem; }

/* games on felt */
.x-games { background: radial-gradient(120% 90% at 50% 0%, var(--felt-2), var(--felt) 70%); padding: 88px 0; border-top: 6px solid var(--ink); }
.x-games-in { display: grid; grid-template-columns: 1fr 1.25fr; gap: 48px; align-items: center; }
.x-games-copy p { color: #D2DDD6; max-width: 40ch; }
.x-game-list { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.x-game { display: grid; justify-items: center; gap: 6px; text-align: center; padding: 34px 20px 26px; border-radius: 22px; background: #0000002E; border: 1px solid #FFFFFF14; }
.x-hole { display: flex; justify-content: center; margin-bottom: 18px; }
.x-hole .pc { --w: 84px; }
.x-hole .pc + .pc { margin-inline-start: -26px; }
.x-hole .pc:nth-child(odd) { transform: rotate(-7deg); }
.x-hole .pc:nth-child(even) { transform: rotate(6deg) translateY(6px); }
.x-hole.four .pc { --w: 66px; }
.x-game strong { font-family: var(--display); font-weight: 400; font-size: 1.7rem; line-height: 1.2; }
.x-game > span:last-child { color: #C6D3CB; font-size: .95rem; } /* the caption only, not the last card */

/* hand rankings on ink */
.x-ranks { padding: 88px 0 96px; }
.x-sub { color: var(--smoke); margin: 0 0 28px; }
.x-ranks .rules-doc { background: transparent; border: 0; padding: 0; margin: 0; }
.x-ranks .rules-doc h3 { font-family: var(--display); font-weight: 400; font-size: 1.7rem; margin-top: 1.6em; }
.x-ranks .rules-doc h3:first-child { margin-top: 0; }
.x-ranks .rules-doc p { color: #B9C0BC; max-width: 70ch; }
.x-ranks .ranks.ladder { gap: 0; max-width: 820px; border-top: 1px solid #FFFFFF14; }
.x-ranks .ranks.ladder li { grid-template-columns: 3rem minmax(10em, 1fr) auto; padding: 14px 8px; border-radius: 0; background: none; border: 0; border-bottom: 1px solid #FFFFFF14; margin: 0; }
.x-ranks .ranks.ladder li::before { font-family: var(--display); font-weight: 400; font-size: 1.6rem; color: #6E7572; }
.x-ranks .ranks.ladder li:first-child { background: none; }
.x-ranks .ranks.ladder li:first-child::before, .x-ranks .ranks.ladder li:first-child .rk-name { color: var(--lime); }
.x-ranks .ranks.ladder li:hover { background: #FFFFFF06; }
.x-ranks .rk-name { font-size: 1.12rem; font-weight: 500; }
.x-ranks .rk-cards { gap: 6px; }
.x-ranks .rk-cards .pc { --w: 44px; }
.motion .x-ranks .ranks.ladder:not(.in) .pc { opacity: 1; }
.motion .x-ranks .ranks.ladder.in .pc { animation: none; }
.x-ranks .ranks.house { border-color: var(--lime); }

/* closing call to action on lime */
.x-cta { background: var(--lime); color: var(--ink); padding: 64px 0; }
.x-cta-in { display: grid; grid-template-columns: auto 1fr auto; gap: 32px; align-items: center; }
.x-cta img { width: 112px; height: 112px; border-radius: 50%; rotate: -14deg; box-shadow: 0 18px 30px -14px #16171999; }
.x-cta h2 { font-size: clamp(2.2rem, 5vw, 3.8rem); margin: 0 0 6px; color: var(--ink); }
.x-cta p { margin: 0; color: #2B2E1E; font-size: 1.05rem; max-width: 46ch; }
.x-ink-btn { background: var(--ink); color: var(--chalk); border-color: var(--ink); }
.x-ink-btn:hover { background: #000; color: var(--lime); border-color: #000; }
.x-home + .site-footer { margin-top: 0; }

/* =========================================================== INNER PAGES */
.page-hero { background: radial-gradient(50% 120% at 15% 30%, #D4FF3712, transparent 60%), var(--ink); }
.page-hero-in { max-width: 1200px; padding: 64px 24px 56px; }
.page-hero h1 { font-family: var(--display); font-weight: 400; font-size: clamp(2.8rem, 7vw, 5.2rem); line-height: 1.1; }
.page-hero .lead { font-size: 1.12rem; max-width: 44ch; color: #C8CDCA; }
.ph-art .about-logo { border-radius: 50%; }
.band { max-width: 1200px; padding-inline: 24px; }
.about-grid { padding-top: 64px; }
.about-item h2 { font-family: var(--display); font-weight: 400; font-size: 2rem; }
.about-item { border-top: 3px solid var(--lime); padding-top: 18px; }
.about-item.adult { border-color: var(--card-red); }
.band.narrow h1 { font-family: var(--display); font-weight: 400; }

/* sign-in */
.gate { max-width: 1040px; margin-top: 48px; border-radius: 26px; border-color: #FFFFFF14; background: var(--ink-2); box-shadow: 0 40px 100px -40px #000; }
.gate-art { background: radial-gradient(circle at 50% 45%, var(--felt-2), var(--felt) 60%, #0B2019); }
.gate-form h1 { font-family: var(--display); font-weight: 400; font-size: clamp(2rem, 4vw, 2.6rem); line-height: 1.2; }
.agent-gate .gate-art { background: radial-gradient(circle at 50% 45%, #2A2C31, var(--ink) 70%); }
.gate .notice { background: #D4FF3714; border-inline-start: 3px solid var(--lime); padding: 12px 16px; border-radius: 10px; }
.gate-links { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 14px; }
.form input { background: #121315; border-color: #3A3D41; min-height: 52px; font-size: 1.05rem; }

/* =========================================================== PHONES */
@media (max-width: 900px) {
  .x-hero-in { grid-template-columns: 1fr; min-height: 0; padding-block: 12px 48px; gap: 0; }
  .x-hero-art { order: -1; height: 330px; max-width: 420px; width: 100%; margin: 0 auto; }
  .x-fan .pc { --w: 104px; }
  .x-chip { width: 180px; height: 180px; left: calc(50% - 76px); top: 40%; }
  .x-hero-art .stack { transform: scale(.62); }
  .x-hero-art .x-st2 { transform: scale(.48); }
  .x-games-in { grid-template-columns: 1fr; gap: 28px; }
  .x-step-cards { grid-template-columns: 1fr; gap: 18px; max-width: 460px; }
  .x-step { aspect-ratio: auto; min-height: 250px; padding: 30px 26px 30px; padding-inline-start: 92px; rotate: 0deg !important; }
  .x-idx { top: 26px; }
  .x-cta-in { grid-template-columns: 1fr; text-align: start; gap: 18px; }
  .x-cta img { width: 80px; height: 80px; }
}
@media (max-width: 760px) {
  body { font-size: 16px; }
  .x-wrap, .site-header .bar, .site-footer .bar { padding-inline: 18px; }
  .site-header .bar { min-height: 64px; }
  .brand { font-size: 1.3rem; } .brand img { width: 34px; height: 34px; }
  .x-hero .x-display { font-size: clamp(3rem, 15vw, 4.4rem); }
  .x-hero-sub { font-size: 1.6rem; }
  .x-lead { font-size: 1rem; }
  .x-actions .btn { width: 100%; }
  .x-actions { gap: 18px; }
  .x-facts { margin-top: 26px; font-size: .85rem; }
  .x-steps, .x-games, .x-ranks { padding: 60px 0 64px; }
  .x-h2 { font-size: 2.6rem; }
  .x-step { min-height: 0; }
  .x-step h3 { font-size: 1.55rem; }
  .x-idx-end { display: none; }
  .x-game-list { grid-template-columns: 1fr 1fr; gap: 12px; }
  .x-game { padding: 24px 10px 18px; }
  .x-hole .pc { --w: 62px; } .x-hole.four .pc { --w: 46px; } .x-hole .pc + .pc { margin-inline-start: -20px; }
  .x-game strong { font-size: 1.3rem; }
  .x-game > span:last-child { font-size: .85rem; }
  .x-ranks .ranks.ladder li { grid-template-columns: 2.2rem 1fr; padding: 12px 4px; row-gap: 8px; }
  .x-ranks .rk-cards { grid-column: 2; }
  .x-ranks .rk-cards .pc { --w: 36px; }
  .x-ticker .ticker-set { font-size: 1.15rem; }
  .x-cta { padding: 48px 0; }
  .x-cta .btn { width: 100%; }
  .page-hero-in { padding: 40px 18px 36px; }
  .gate { margin: 16px 12px 0; }
}
@media (prefers-reduced-motion: reduce) { .x-step { rotate: 0deg; } }

/* The public table preview uses the same cards and chip as the playing room. */
.stage-wrap {min-width:0;padding:76px 6% 90px;width:100%;box-sizing:border-box}
.show-felt {position:relative;aspect-ratio:1.55;display:grid;place-items:center;border-radius:48%;border:12px solid #333838;background:radial-gradient(ellipse at 50% 18%,#376953,#194536 50%,#102d24);box-shadow:inset 0 0 0 2px #859783,inset 0 0 24px #0009,0 7px 0 #121515,0 25px 55px #0009}
.show-felt::before {content:"";position:absolute;inset:8%;border:1px solid #cae8ba54;border-radius:inherit}
.stage-board,.stage-hole {display:flex;gap:5px}
.show-felt .pc.lg {--w:clamp(36px,4vw,62px);box-shadow:0 4px 7px #0005}
.stage-hole {position:absolute;bottom:-5%;left:50%;transform:translateX(-50%) rotate(-6deg)}
.stage-hole .pc+.pc {margin-left:-16px;transform:rotate(12deg)}
.stage-seat {position:absolute;display:grid;place-items:center;width:38px;height:38px;border:2px solid #bac4bd;border-radius:50%;background:#1b211e;color:white;font-weight:700;font-size:12px}
.stage-seat.north {top:-20px}.stage-seat.south {bottom:-40px;border-color:#ccfc26}
.stage-chip {position:absolute;left:23%;bottom:18%;width:clamp(28px,3.5vw,46px);height:auto;filter:drop-shadow(0 3px 0 #aba)}
.contact-note summary,.x-ranks summary {cursor:pointer;text-decoration:underline;text-underline-offset:5px}
.contact-note p {max-width:26ch}.agent-contact {border:1px solid currentColor}
@media(prefers-reduced-motion:no-preference){
  .stage-board .pc {animation:deal-preview .85s both}
  .stage-board .pc:nth-child(2){animation-delay:.15s}.stage-board .pc:nth-child(3){animation-delay:.3s}
  .stage-chip {animation:slide-preview .85s .45s both}
  @keyframes deal-preview {from{opacity:0;translate:45px -65px;rotate:-15deg}to{opacity:1;translate:0 0;rotate:0deg}}
  @keyframes slide-preview {from{opacity:0;translate:30px 35px}to{opacity:1;translate:0 0}}
}
@media(max-width:760px){.stage-wrap{max-width:400px;margin:auto;padding:36px 8% 54px}.show-felt{border-width:8px}.x-hero-in .x-display{font-size:clamp(2.6rem,10vw,4rem)}}
