/* Persian Azure palette. Loaded after the responsive layout. */
:root {
  color-scheme: dark;
  --cream: #0b1423;
  --ink: #e7eff7;
  --teal: #20c7c1;
  --gold: #176c80;
  --sand: #48687f;
  --muted: #a5b7c8;
  --line: #2b4055;
}
body { background: radial-gradient(ellipse at 15% 15%, #12202e1f, transparent 45%), var(--cream); }
::selection { background: #127d83; color: #fff; }
.announcement { background: #123b47; color: #fff; }
.announcement span { color: #73e5df; }
.brand, h1, h2 { color: #e7eff7; }
.brand-light { color: #20c7c1; }
.button, .filters button.selected { background: #20c7c1; color: #071c28; }
.button:hover { background: #42d8d1; }
.button:focus-visible, a:focus-visible, summary:focus-visible { outline-color: #73e5df; }
.hero-copy > p, .hero-notes, .experience > div > p { color: #a5b7c8; }
.play-icon { border-color: #405263; }
.arch { background: linear-gradient(125deg, #1a7b76, #132231 58%, #0a121a); border-color: #1b3044; box-shadow: 0 0 0 2px #337a76, 0 0 0 11px #0b141c, 0 20px 65px #2ac7bf20; }
.arch-inner { border-color: #82e5e04d; }
.arch-pattern { background-image: repeating-conic-gradient(from 45deg, transparent 0% 25%, #96e9e509 0% 50%); }
.arch-caption { color: #a3e4e1; }
.sunburst { color: #20c7c1; }
.card { background: #f0f7f7; border-color: #f9fefe; outline-color: #a2b4c7; color: #101d29; box-shadow: 4px 17px 20px #0007; }
.card-front { background: linear-gradient(125deg, #fafefe, #d1d8df); }
.card-back { color: #127d83; background: repeating-linear-gradient(45deg, #edf7f6 0px 8px, #dfe6ec 8px 9px); }
.card-spade { text-shadow: 1px 3px 0 #8e9fb0; }
.card-king { border-color: #6cbdb9; }
.chip { background: repeating-conic-gradient(#2cd0c8 0deg 22deg, #e5faf9 22deg 32deg); box-shadow: 4px 10px 0 #176d69, 7px 17px 15px #0008; }
.chip span { border-color: #cdf4f3; outline-color: #257c78; background: linear-gradient(120deg, #66dfd9, #1f938d); color: #f3fcfc; }
.art-floor { background: linear-gradient(#090f1500, #090f15); }
.orbit { border-color: #20c7c126; }
.floating-label { background: #17293d; border-color: #304051; box-shadow: 0 10px 35px #0005; }
.art-index { color: #a0a5aa; }
.filters button { color: #b0b6bc; }
.search { background: #17293d; }
.search input::placeholder { color: #a2a8ae; }
.tag { background: #163e4c; color: #73e5df; }
.art-title { color: #f3fcfc; }
.treasure { background: radial-gradient(ellipse at 50% 30%, #339c97, #111e2a); }
.treasure:before { border-color: #78e2dd66; }
.jewel { color: #93e8e4; text-shadow: 0 7px 0 #2c9994, 0 12px 30px #4ad8d170; }
.blackjack { background: radial-gradient(at top, #404851, #0d1721); }
.mini-card { background: #eaf5f4; border-color: #f7fdfd; color: #13212f; }
.mini-card.second { color: #25b0a9; }
.roulette { background: radial-gradient(at top, #28847f, #0e1822); }
.roulette-wheel { border-color: #7abcb9; background: repeating-conic-gradient(#111e2b 0 12deg, #2ac4bc 12deg 24deg, #caedeb 24deg 25deg); box-shadow: 0 0 0 4px #254d4b, 0 8px 0 5px #306d6a; }
.roulette-wheel span { border-color: #a1d9d6; background: radial-gradient(#5bc5c0, #246865); color: #eafafa; }
.flight { background: radial-gradient(at top, #215855, #0d161f); }
.flight:before { color: #a4e3e070; }
.bird { color: #9febe7; text-shadow: -7px 8px 0 #32a49e; }
.flight-trail { border-color: #7ee4df; box-shadow: 0 5px 13px -7px #bff1ef; }
.game-launch { background: #111e2a88; }
.experience { background: #17293d; border-color: #1a2e42; }
.experience-symbol { color: #28bdb5; }
.experience-symbol span { color: #f3fdfc; }
.experience-decoration { color: #20c7c114; }
.closing { background: linear-gradient(115deg, #14605c, #111e2a); border: 1px solid #247571; }
.closing h2 { color: #f6fdfd; }
.closing p { color: #a9d1cf; }
.button.gold { background: #20c7c1; color: #071c28; }
.button.gold:hover { background: #42d8d1; }
.age { color: #a0e0dd; }
dialog { background: #17293d; border-color: #337875; box-shadow: 0 30px 100px #0009; }
dialog::backdrop { background: #090509dd; }
.demo-reels span { background: #13202e; border-color: #307572; }

/* Persian-inspired interlaced stars and woven border details. */
.announcement {
  background-image: linear-gradient(#123b47e8, #123b47e8), url("/assets/persian-tile.svg");
  background-size: auto, 60px;
}
.hero { position: relative; isolation: isolate; }
.hero::before {
  content: '';
  position: absolute;
  inset: 20px 48% 25px -4%;
  background: url("/assets/persian-tile.svg") center / 110px;
  opacity: .13;
  mask-image: radial-gradient(ellipse, #000 15%, transparent 72%);
  z-index: -1;
  pointer-events: none;
}
.arch-pattern {
  background: url("/assets/persian-tile.svg") center top / 88px;
  opacity: .38;
  mask-image: linear-gradient(#000 25%, #0005 90%);
}
.arch-inner::after {
  content: '';
  position: absolute;
  inset: 10px;
  border: 1px solid #20c7c12e;
  border-radius: inherit;
}
.arch-caption { top: 52px; letter-spacing: 3px; }
.feature-strip { position: relative; margin-top: 14px; }
.feature-strip::before {
  content: '';
  position: absolute;
  top: -21px;
  inset-inline: 0;
  height: 14px;
  background: url("/assets/persian-border.svg") center / 80px 14px repeat-x;
  opacity: .45;
  pointer-events: none;
}
.experience { isolation: isolate; }
.experience::before {
  content: '';
  position: absolute;
  inset: 0 0 0 52%;
  background: url("/assets/persian-tile.svg") center / 96px;
  opacity: .16;
  mask-image: linear-gradient(to left, #000, #000 55%, transparent);
  z-index: -1;
  pointer-events: none;
}
.experience-symbol {
  font-size: 0;
  height: 230px;
  display: grid;
  place-items: center;
}
.experience-symbol::before {
  content: '';
  width: 220px;
  height: 220px;
  background: url("/assets/persian-tile.svg") center / contain no-repeat;
  filter: drop-shadow(0 0 18px #42d8d126);
}
.experience-symbol span {
  inset: 50% auto auto 50%;
  transform: translate(-50%, -50%);
  width: 108px;
  height: 108px;
  border-radius: 50%;
  background: radial-gradient(circle, #132230, #17293d 72%);
  font-size: 12px;
}
.experience-decoration { display: none; }
.closing { isolation: isolate; }
.closing::after {
  content: '';
  inset: 0;
  background: url("/assets/persian-tile.svg") center / 100px;
  opacity: .18;
  mask-image: linear-gradient(to left, transparent 25%, #000 60%, transparent);
  z-index: -1;
}
.footer-bottom {
  border-top: 0;
  background: url("/assets/persian-border.svg") center top / 80px 14px repeat-x;
  padding-top: 32px;
}
@media (max-width: 760px) {
  .hero::before { inset: 40% -4% 0; opacity: .12; }
  .experience::before {
    inset: 0 0 45%;
    mask-image: linear-gradient(#000, transparent);
  }
  .experience-symbol { height: 180px; }
  .experience-symbol::before { width: 176px; height: 176px; }
  .experience-symbol span { width: 86px; height: 86px; font-size: 10px; }
  .closing::after { mask-image: linear-gradient(transparent, #000); }
}

/* Keep the language switch available on every screen size. */
.header-actions .language { display: inline-flex; white-space: nowrap; }
@media (max-width: 760px) { .header-actions { gap: 10px; } .header-actions .button { display: none; } }

/* Shared language control, including mobile layouts. */
.language.language-switch { display: inline-flex; align-items: center; flex-shrink: 0; white-space: nowrap; padding: 8px 10px; border: 1px solid var(--line); border-radius: 6px; font-size: 12px; }
.language-switch:hover { color: var(--gold); border-color: var(--sand); }
.page-header > .brand { margin-inline-end: auto; }
@media (max-width: 760px) {
  .page-header { height: auto; min-height: 85px; padding-block: 16px; flex-wrap: wrap; gap: 12px; }
  .page-header > .brand { flex-grow: 1; }
  .page-header > .text-link { font-size: 11px; }
}

/* Shared navigation for both language versions. */
.site-header { display: grid; grid-template-columns: minmax(140px, 1fr) auto minmax(140px, 1fr); align-items: center; height: auto; min-height: 84px; padding-block: 16px; gap: 16px; }
.site-header .brand { margin: 0; justify-self: start; }
.site-header .brand-logo { width: 140px; }
.site-header > .language-switch { justify-self: end; }
.site-header .site-navigation { display: flex; position: static; flex-wrap: nowrap; justify-content: center; gap: 20px; padding: 0; border: 0; box-shadow: none; background: transparent; }
.site-header .site-navigation a { white-space: nowrap; }
.site-header .menu-toggle { display: none; }
.information-page { min-height: 60vh; padding-block: 60px; }
.information-page h1 { font-size: clamp(34px, 5vw, 60px); line-height: 1.5; letter-spacing: -1px; }
.information-intro { color: var(--muted); font-size: 16px; line-height: 2; }
.information-card { margin-top: 35px; padding: 30px; border: 1px solid var(--line); border-radius: 14px; background: #17293d; }
.information-card h2 { font-size: 24px; }
.information-card p { max-width: 780px; color: var(--muted); line-height: 2; }
@media (max-width: 900px) {
  .site-header { grid-template-columns: auto minmax(0, 1fr) auto; gap: 12px; }
  .site-header .brand-logo { width: 120px; }
  .site-header .site-navigation { gap: 14px; }
  .site-header .site-navigation a { font-size: 12px; }
}
@media (max-width: 700px) {
  .site-header { grid-template-columns: 1fr 1fr; gap: 12px; }
  .site-header > .language-switch { grid-column: 2; grid-row: 1; }
  .site-header .site-navigation { grid-column: 1 / -1; grid-row: 2; flex-wrap: wrap; gap: 8px 20px; }
}
@media (max-width: 760px) {
  .site-header { min-height: 76px; padding-block: 12px; }
  .site-header .brand-logo { width: 120px; }
  .site-header .site-navigation a { font-size: 12px; }
  .information-page { padding-block: 30px; }
  .information-card { padding: 22px; }
}

/* Shared XpariBet logo. */
.site-footer { position: relative; isolation: isolate; margin-top: 64px; padding: 48px 0 0; border-top: 1px solid #236865; background: #0b1423; overflow: hidden; }
.site-footer::before { content: ''; position: absolute; inset: 0; z-index: -1; pointer-events: none; background: url('/assets/persian-tile.svg') center / 110px; opacity: .06; }
.site-footer-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.6fr); gap: 56px; padding-bottom: 40px; }
.site-footer-grid-explore .site-footer-links { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); align-items: start; gap: 12px 32px; }
.site-footer-brand p { max-width: 320px; margin: 20px 0 0; font-size: 13px; line-height: 1.9; color: var(--muted); }
.site-footer-column h2 { margin: 0 0 18px; font-size: 15px; line-height: 1.5; letter-spacing: 0; color: #e7eff7; }
.site-footer-links { display: flex; flex-direction: column; align-items: flex-start; gap: 12px; }
.site-footer-links a { font-size: 13px; line-height: 1.6; color: #a5b7c8; transition: color .2s; }
.site-footer-links a:hover { color: #20c7c1; }
.site-footer-bottom { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 20px; padding-block: 24px; border-top: 1px solid #192c40; color: var(--muted); font-size: 11px; }
.site-footer-responsible { display: flex; align-items: center; gap: 12px; }
.site-footer-responsible p { margin: 0; line-height: 1.8; }
.site-footer-age { display: grid; place-items: center; flex-shrink: 0; width: 38px; height: 38px; border: 1px solid #306865; border-radius: 50%; color: #aceeea; font-weight: 700; }
.site-footer-legal { display: flex; flex-wrap: wrap; gap: 12px 24px; padding-bottom: 20px; color: #a5b7c8; font-size: 12px; }
.site-footer-legal a:hover { color: #20c7c1; }
.information-card p a { text-decoration: underline; text-underline-offset: 3px; }
@media (max-width: 760px) {
  .site-footer { margin-top: 40px; padding-top: 32px; }
  .site-footer-grid { grid-template-columns: 1fr; gap: 30px; padding-bottom: 30px; }
  .site-footer-grid-explore .site-footer-links { gap: 10px 20px; }
  .site-footer-bottom { flex-direction: column; align-items: flex-start; }
}
.brand { flex-shrink: 0; }
.brand-logo { display: block; width: 200px; max-width: 100%; height: auto; }
.phone-logo { display: block; width: 200px; max-width: 100%; height: auto; margin-block: 22px 35px; }
@media (max-width: 760px) {
  .brand-logo { width: 150px; }
}

/* Persian Azure: blue graphite canvas with raised slate surfaces. */
:root {
  color-scheme: dark;
  --cream: #18232f;
  --ink: #e7eef4;
  --teal: #69c4d3;
  --gold: #69c4d3;
  --sand: #567386;
  --muted: #afbfcc;
  --line: #354859;
  --azure: #253b70;
  --surface: #232e39;
}
body { background: var(--cream); }
::selection { background: var(--azure); color: #fff; }
.brand, h1, h2 { color: var(--ink); }
h1 > span, .brand-light, .gold-text { color: var(--teal); }
.announcement { background-color: var(--azure); background-image: linear-gradient(#253b70ed, #253b70ed), url("/assets/persian-tile.svg"); }
.announcement span { color: #fff; }
.button, .button.gold, .filters button.selected { background: #176c80; color: #fff; }
.button:hover, .button.gold:hover { background: var(--azure); }
.button:focus-visible, a:focus-visible, summary:focus-visible { outline-color: var(--teal); }
main .button.action-button { background: #c62828; border-color: #c62828; color: #fff; }
main .button.action-button:hover { background: #a51f1f; border-color: #a51f1f; }
main .button.action-button:focus-visible { outline-color: #ff8a80; }
main .action-button.is-downloading { box-shadow: 0 0 0 4px #c6282824, 0 8px 24px #c6282838; }
.hero-copy > p, .hero-notes, .experience > div > p, .art-index { color: var(--muted); }
.play-icon { border-color: var(--sand); }
.filters button { color: var(--muted); }
.search, .floating-label, .information-card, .experience, dialog { background: var(--surface); border-color: var(--line); }
.search input::placeholder { color: var(--muted); }
.tag { background: #203e4d; color: var(--teal); }
.experience-symbol span { background: radial-gradient(circle, #2b4051, #232e39 72%); color: var(--teal); }
.experience-symbol, .sunburst { color: var(--teal); }
.closing { background: var(--azure); border-color: var(--azure); }
.closing h2, .closing p { color: #fff; }
.age { color: var(--teal); }
.demo-reels span { background: #203e4d; border-color: var(--line); }
dialog::backdrop { background: #232e39bb; }
.site-header {
  width: 100%;
  padding-inline: clamp(16px, 3vw, 48px);
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgb(24 35 47 / 80%);
  border-color: var(--line);
  -webkit-backdrop-filter: blur(12px);
  backdrop-filter: blur(12px);
}
html { scroll-padding-top: 104px; }
@media (max-width: 700px) {
  html { scroll-padding-top: 180px; }
}
.site-header .site-navigation a { color: var(--muted); }
.site-header .site-navigation a:hover, .site-header .site-navigation a:active, .site-header .site-navigation .active { color: var(--teal); }
.language-switch:hover, .text-link:hover { color: #a3e1eb; }
/* The wordmark sits directly on the dark header. */
.site-header .brand { background: transparent; padding: 0; }
.site-footer { background: #131d27; border-color: var(--line); color: #fff; }
.site-footer-column h2 { color: #fff; }
.site-footer-brand p, .site-footer-links a, .site-footer-bottom, .site-footer-legal { color: #d6dfe2; }
.site-footer-links a:hover, .site-footer-legal a:hover { color: #fff; }
.site-footer-bottom { border-color: #536673; }
.site-footer-age { border-color: #8da8b2; color: #fff; }
/* Page-specific styles load later; scoped selectors keep their surfaces consistent. */
main .availability, main .intro-tags span { background: #203e4d; color: var(--teal); border-color: #3d6273; }
main .availability > span { background: var(--teal); }
main .download-card, main .app-notice, main .catalog-image, main .game-families article { background: var(--surface); border-color: var(--line); }
main .platform-icon { background: #203e4d; color: var(--teal); }
main .download-card button { background: #2d3c4a; color: var(--muted); border-color: var(--line); }
.arch { background: linear-gradient(125deg, #176c80, #253b70 65%, #232e39); border-color: #253b70; }
.treasure, .roulette { background: radial-gradient(ellipse at top, #176c80, #253b70); }
.blackjack, .flight { background: radial-gradient(ellipse at top, #253b70, #232e39); }
.chip { background: repeating-conic-gradient(#176c80 0deg 22deg, #fff 22deg 32deg); }
.chip span { background: linear-gradient(120deg, #176c80, #253b70); color: #fff; }

/* Five-section platform information architecture. */
.privacy-page { max-width: 960px; }
.privacy-page .information-card p { max-width: none; font-size: 14px; }
.privacy-status { padding: 18px 22px; border-inline-start: 3px solid var(--teal); background: var(--surface); color: var(--muted); line-height: 1.9; border-radius: 8px; }
.payments-article { max-width: 960px; }
.payments-article > h1 { margin-bottom: 24px; }
.article-introduction, .article-body { max-width: 780px; }
.article-introduction p, .article-body p, .article-body li { color: var(--muted); font-size: 15px; line-height: 1.95; }
.article-introduction p:first-child { color: var(--ink); font-size: 18px; }
.article-contents { margin-block: 36px 48px; padding: 28px; background: var(--surface); border: 1px solid var(--line); border-radius: 14px; }
.article-contents h2 { margin-top: 0; font-size: 22px; }
.article-contents ol { columns: 2; column-gap: 40px; margin-bottom: 0; padding-inline-start: 22px; }
.article-contents li { padding-block: 6px; break-inside: avoid; line-height: 1.6; color: var(--muted); }
.article-contents a:hover, .article-body a:hover { color: var(--ink); }
.article-body > section + section { margin-top: 44px; padding-top: 28px; border-top: 1px solid var(--line); }
.article-body h2 { font-size: clamp(24px, 3vw, 30px); line-height: 1.4; letter-spacing: -.5px; }
.article-body h3 { margin-top: 28px; color: var(--ink); font-size: 19px; }
.article-body ul { padding-inline-start: 24px; }
.article-body li + li { margin-top: 8px; }
.article-body strong { color: var(--ink); }
.article-body a { color: var(--teal); text-decoration: underline; text-underline-offset: 4px; }
.article-body .article-note, .article-body .currency-equation { padding: 18px 22px; background: var(--surface); border-inline-start: 3px solid var(--teal); border-radius: 0 8px 8px 0; }
.article-body .currency-equation { color: var(--ink); font-weight: 600; }
.article-body summary { font-size: 16px; gap: 20px; line-height: 1.6; }
.article-body summary::after { content: '+'; color: var(--teal); font-size: 22px; }
.article-body details[open] summary::after { content: '\2212'; }
.article-related { display: flex; flex-wrap: wrap; gap: 16px 24px; margin-top: 24px; }
@media (max-width: 700px) {
  .article-contents { padding: 22px; }
  .article-contents ol { columns: 1; }
  .article-introduction p:first-child { font-size: 16px; }
}
.information-page > h1 { max-width: 900px; }
.bonuses-hero h1 { max-width: 900px; }
.bonuses-hero-media { margin: 32px 0 0; overflow: hidden; border: 1px solid var(--line); border-radius: 16px; background: var(--surface); }
.bonuses-hero-media img { display: block; width: 100%; height: auto; }
.information-intro { max-width: 820px; }
.topic-grid, .guide-links { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; margin-top: 32px; }
.topic-grid .information-card, .guide-links .information-card { margin: 0; }
.information-card h2 { margin-top: 0; line-height: 1.5; }
.information-card p { margin-bottom: 0; }
.platform-guides, .platform-faq { margin-top: 56px; }
.guide-link { display: block; position: relative; transition: border-color .2s, background .2s; }
.guide-link:hover { border-color: var(--teal); background: #2b3b49; }
.guide-link h3 { margin: 0; color: var(--ink); font-size: 20px; }
.guide-link > span { position: absolute; inset-inline-end: 24px; top: 24px; color: var(--teal); }
.guide-link p { padding-inline-end: 24px; }
@media (max-width: 700px) {
  .topic-grid, .guide-links { grid-template-columns: 1fr; gap: 14px; }
  .platform-guides, .platform-faq { margin-top: 36px; }
}
