:root {
  --bg: #1d1218;
  --bg-2: #24171d;
  --card: #2e1d24;
  --card-2: #38242c;
  --border: #5c3f4a;
  --text: #fff6ee;
  --muted: #ecd9cf;
  --muted-2: #ccb3a8;
  --blue: #ffd27a;
  --blue-2: #ffdf9c;
  --blue-soft: rgba(255, 210, 122, 0.15);
  --green: #00b67a;
  --win: #ffd27a;
  --radius: 12px;
  --container: 1110px;
  --header-h: 64px;
  --font: "Inter", "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; vertical-align: top; border: 0; }
a { color: var(--blue); text-decoration: none; }
a:hover { color: #fff0cc; }
h1, h2, h3 { margin: 0; line-height: 1.2; font-weight: 800; letter-spacing: -0.01em; }
p { margin: 0 0 16px; }
ul, ol { margin: 0 0 16px; padding-left: 22px; }
button { font: inherit; color: inherit; cursor: pointer; }
:focus-visible { outline: 2px solid var(--blue); outline-offset: 2px; }
[role="button"] { cursor: pointer; }
[id] { scroll-margin-top: calc(var(--header-h) + 16px); }
.agrabah-wrap { min-height: 100vh; display: flex; flex-direction: column; }
main { flex: 1 0 auto; }

.agrabah-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 46px;
  padding: 0 22px;
  border-radius: 10px;
  border: 1px solid transparent;
  font-weight: 700;
  font-size: 15px;
  line-height: 1;
  white-space: nowrap;
  text-decoration: none;
  cursor: pointer;
  transition: background 0.2s, border-color 0.2s, color 0.2s, transform 0.2s, box-shadow 0.2s;
}
.agrabah-btn--amethyst { position: relative; overflow: hidden; background: var(--blue); color: #1d1218; box-shadow: 0 6px 18px rgba(255, 210, 122, 0.25); }
.agrabah-btn--amethyst:hover { background: var(--blue-2); color: #1d1218; transform: translateY(-2px); box-shadow: 0 10px 26px rgba(255, 210, 122, 0.45); }
.agrabah-btn--amethyst:active { transform: translateY(0) scale(0.98); box-shadow: 0 4px 12px rgba(255, 210, 122, 0.3); }
.agrabah-btn--amethyst::after {
  content: "";
  position: absolute;
  top: -60%;
  left: 0;
  width: 38%;
  height: 220%;
  background: linear-gradient(110deg, rgba(255, 255, 255, 0) 0%, rgba(255, 255, 255, 0.38) 50%, rgba(255, 255, 255, 0) 100%);
  transform: translateX(-220%) skewX(-20deg);
  animation: btnShine 3.4s ease-in-out infinite;
  pointer-events: none;
}
@keyframes btnShine {
  0% { transform: translateX(-220%) skewX(-20deg); }
  45%, 100% { transform: translateX(420%) skewX(-20deg); }
}
.agrabah-btn--magic-glow { animation: btnPulse 2.2s ease-out infinite; }
@keyframes btnPulse {
  0% { box-shadow: 0 6px 18px rgba(255, 210, 122, 0.25), 0 0 0 0 rgba(255, 210, 122, 0.55); }
  70% { box-shadow: 0 6px 18px rgba(255, 210, 122, 0.25), 0 0 0 14px rgba(255, 210, 122, 0); }
  100% { box-shadow: 0 6px 18px rgba(255, 210, 122, 0.25), 0 0 0 0 rgba(255, 210, 122, 0); }
}
.agrabah-btn--silk-line { background: transparent; border-color: #ffd27a; color: #ffe6b0; }
.agrabah-btn--silk-line:hover { background: #ffd27a; border-color: #ffd27a; color: #1d1218; }
.agrabah-btn--tiny-lamp { min-height: 38px; padding: 0 14px; font-size: 14px; border-radius: 8px; }
.agrabah-btn--grand-carpet { min-height: 52px; padding: 0 28px; font-size: 16px; }

.agrabah-header {
  position: sticky;
  top: 0;
  z-index: 50;
  height: var(--header-h);
  background: var(--bg-2);
  border-bottom: 1px solid var(--border);
}
.agrabah-header__inner {
  max-width: var(--container);
  margin: 0 auto;
  height: 100%;
  padding: 0 16px;
  display: flex;
  align-items: center;
  gap: 24px;
}
.agrabah-logo { display: flex; align-items: center; }
.agrabah-logo img { height: 36px; width: auto; max-width: 180px; object-fit: contain; display: block; }
.agrabah-nav { flex: 1 1 auto; display: flex; align-items: center; justify-content: space-between; }
.agrabah-nav__list { display: flex; gap: 4px; list-style: none; margin: 0; padding: 0; }
.agrabah-nav__list a,
.agrabah-nav__list [role="button"] {
  display: block;
  padding: 8px 12px;
  border-radius: 8px;
  color: var(--text);
  font-weight: 600;
  font-size: 15px;
  transition: background 0.2s, color 0.2s;
}
.agrabah-nav__list a:hover,
.agrabah-nav__list [role="button"]:hover { background: var(--card-2); color: #fff; }
.agrabah-nav__actions { display: none; gap: 10px; }
.agrabah-header__actions { display: flex; gap: 10px; margin-left: auto; }
.agrabah-menu-toggle { position: absolute; opacity: 0; pointer-events: none; }
.agrabah-burger { display: none; width: 42px; height: 42px; border-radius: 10px; background: var(--card-2); border: 1px solid var(--border); flex-direction: column; align-items: center; justify-content: center; gap: 5px; cursor: pointer; }
.agrabah-burger span { display: block; width: 18px; height: 2px; background: #fff; border-radius: 2px; transition: transform 0.25s, opacity 0.25s; }

@media (max-width: 1023px) {
  .agrabah-header__inner { gap: 12px; }
  .agrabah-burger { display: flex; order: 3; }
  .agrabah-header__actions { margin-left: auto; order: 2; }
  .agrabah-nav {
    position: fixed;
    top: var(--header-h);
    left: 0;
    right: 0;
    bottom: 0;
    flex-direction: column;
    justify-content: flex-start;
    gap: 24px;
    padding: 24px 16px;
    background: var(--bg-2);
    border-top: 1px solid var(--border);
    opacity: 0;
    visibility: hidden;
    transform: translateY(-12px);
    transition: opacity 0.22s ease, transform 0.22s ease, visibility 0s linear 0.22s;
    overflow-y: auto;
    z-index: 40;
  }
  .agrabah-nav__list { flex-direction: column; width: 100%; gap: 2px; }
  .agrabah-nav__list a,
  .agrabah-nav__list [role="button"] { padding: 14px 12px; font-size: 18px; border-bottom: 1px solid var(--border); border-radius: 0; }
  .agrabah-nav__actions { display: flex; width: 100%; }
  .agrabah-nav__actions .agrabah-btn { flex: 1 1 0; }
  .agrabah-menu-toggle:checked ~ .agrabah-nav { opacity: 1; visibility: visible; transform: none; transition: opacity 0.22s ease, transform 0.22s ease; }
  .agrabah-menu-toggle:checked ~ .agrabah-burger span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
  .agrabah-menu-toggle:checked ~ .agrabah-burger span:nth-child(2) { opacity: 0; }
  .agrabah-menu-toggle:checked ~ .agrabah-burger span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
  body.agrabah-menu-open { overflow: hidden; }
}
@media (max-width: 479px) {
  .agrabah-header__inner { gap: 8px; padding: 0 12px; }
  .agrabah-header__actions { gap: 6px; }
  .agrabah-header__actions .agrabah-btn--tiny-lamp { min-height: 36px; padding: 0 10px; font-size: 13px; }
  .agrabah-logo img { height: 30px; max-width: 150px; }
  .agrabah-burger { width: 38px; height: 38px; }
}

.agrabah-hero {
  position: relative;
  min-height: calc(100vh - var(--header-h));
  min-height: calc(100dvh - var(--header-h));
  display: flex;
  align-items: flex-end;
  justify-content: center;
  overflow: hidden;
}
.agrabah-hero__bg {
  position: absolute;
  inset: 0;
  display: block;
  cursor: pointer;
  background: url(../images/brand/alawin-hero-desktop.webp) center top / cover no-repeat;
}
.agrabah-hero__bg:focus-visible { outline-offset: -4px; }
.agrabah-hero__bg::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(29, 18, 24, 0.2) 0%, rgba(29, 18, 24, 0.5) 60%, rgba(29, 18, 24, 0.93) 100%);
}
.agrabah-hero__inner {
  position: relative;
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: 120px 16px 28px;
  display: flex;
  justify-content: center;
  pointer-events: none;}
.agrabah-hero__box { pointer-events: auto; }
.agrabah-hero__box {
  width: 100%;
  max-width: 640px;
  padding: 36px 32px;
  border-radius: 16px;
  background: var(--bg-2);
  border: 1px solid var(--border);
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.5);
  text-align: center;
}
.agrabah-hero h1 { font-size: 52px; margin-bottom: 12px; }
.agrabah-hero__text { font-size: 17px; color: #d4d7df; margin: 0 auto 22px; max-width: 520px; }
.agrabah-hero__actions { display: flex; justify-content: center; gap: 12px; flex-wrap: wrap; }
.agrabah-hero__actions .agrabah-btn { min-width: 180px; }
.agrabah-hero__facts { display: flex; justify-content: center; flex-wrap: wrap; gap: 8px 20px; margin: 22px 0 0; padding: 0; list-style: none; color: var(--muted); font-size: 14px; font-weight: 600; }
.agrabah-hero__facts li { display: flex; align-items: center; gap: 8px; }
.agrabah-hero__facts li::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--blue); }
@media (max-width: 767px) {
  .agrabah-hero__bg { background-image: url(../images/brand/alawin-hero-mobile.webp); background-position: center top; }
  .agrabah-hero__inner { padding: 120px 12px 16px; }
  .agrabah-hero__box { padding: 26px 18px; }
  .agrabah-hero h1 { font-size: 36px; }
  .agrabah-hero__text { font-size: 15px; }
  .agrabah-hero__actions { flex-direction: column; }
  .agrabah-hero__actions .agrabah-btn { width: 100%; }
}

.bazaar { max-width: var(--container); margin: 0 auto; padding: 48px 16px 0; }
.bazaar-title { font-size: 32px; margin-bottom: 14px; }
.bazaar-intro { color: var(--muted); margin-bottom: 24px; }
.bazaar-subtitle { font-size: 22px; margin: 28px 0 14px; }
@media (max-width: 767px) {
  .bazaar { padding-top: 36px; }
  .bazaar-title { font-size: 26px; }
}

.wish-cards__list { display: flex; flex-direction: column; gap: 12px; }
.wish-card {
  display: grid;
  grid-template-columns: 230px minmax(0, 1fr) 190px;
  align-items: center;
  gap: 24px;
  padding: 18px 24px;
  border-radius: var(--radius);
  background: var(--card);
  border: 1px solid var(--border);
  transition: border-color 0.2s, transform 0.2s;
}
.wish-card:hover { border-color: #3c3f4a; transform: translateY(-2px); }
.wish-card--wish-pick { background: linear-gradient(90deg, rgba(255, 210, 122, 0.16) 0%, var(--card) 55%); border-color: rgba(255, 210, 122, 0.55); }
.wish-card__lead { display: flex; flex-direction: column; gap: 6px; padding-right: 24px; border-right: 1px solid var(--border); min-height: 72px; justify-content: center; }
.wish-card__tag { align-self: flex-start; padding: 4px 10px; border-radius: 6px; background: var(--blue-soft); color: #fff0cc; font-size: 11px; font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase; }
.wish-card--wish-pick .wish-card__tag { background: var(--blue); color: #1d1218; }
.wish-card__amount { font-size: 24px; line-height: 1.15; font-weight: 800; color: var(--win); }
.wish-card--wish-pick .wish-card__amount { font-size: 28px; }
.wish-card__title { font-size: 19px; margin-bottom: 6px; }
.wish-card--wish-pick .wish-card__title { font-size: 22px; }
.wish-card__text { color: var(--muted); font-size: 14px; margin-bottom: 10px; }
.wish-card__terms { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: 6px; }
.wish-card__terms li { padding: 3px 9px; border-radius: 6px; background: var(--card-2); color: var(--muted); font-size: 12px; font-weight: 600; }
.wish-card__cta { display: flex; flex-direction: column; align-items: stretch; }
.wish-cards__terms { margin: 18px 0 0; color: var(--muted-2); font-size: 12px; text-align: center; }
@media (max-width: 1023px) {
  .wish-card { grid-template-columns: 190px minmax(0, 1fr); row-gap: 16px; }
  .wish-card__cta { grid-column: 1 / -1; }
}
@media (max-width: 639px) {
  .wish-card { grid-template-columns: 1fr; gap: 12px; padding: 16px; }
  .wish-card__lead { flex-direction: row; align-items: center; justify-content: space-between; gap: 12px; padding: 0 0 12px; border-right: 0; border-bottom: 1px solid var(--border); min-height: 0; }
  .wish-card__amount { font-size: 20px; text-align: right; }
  .wish-card--wish-pick .wish-card__amount { font-size: 22px; }
  .wish-card__title { font-size: 17px; }
}

.agrabah-wins { padding-top: 28px; }
.agrabah-wins__box { border-radius: var(--radius); border: 1px solid var(--border); background: var(--card); overflow: hidden; }
.agrabah-wins__head { display: flex; align-items: center; gap: 12px; padding: 14px 20px; border-bottom: 1px solid var(--border); background: var(--card-2); }
.agrabah-wins__live { display: inline-flex; align-items: center; gap: 6px; padding: 3px 10px 3px 8px; border-radius: 20px; background: rgba(0, 182, 122, 0.15); border: 1px solid rgba(0, 182, 122, 0.4); font-size: 11px; font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase; color: var(--green); }
.agrabah-wins__dot { width: 8px; height: 8px; border-radius: 50%; background: var(--green); animation: winsPulse 1.6s ease-out infinite; }
@keyframes winsPulse { 0% { box-shadow: 0 0 0 0 rgba(0, 182, 122, 0.6); } 100% { box-shadow: 0 0 0 7px rgba(0, 182, 122, 0); } }
.agrabah-wins__title { font-size: 16px; font-weight: 700; }
.agrabah-wins__list { list-style: none; margin: 0; padding: 0; }
.agrabah-wins__item { display: flex; align-items: center; gap: 14px; padding: 10px 20px; border-bottom: 1px solid var(--border); }
.agrabah-wins__item:last-child { border-bottom: 0; }
.agrabah-wins__item.is-agrabah-new { animation: winIn 0.5s ease-out; }
@keyframes winIn { 0% { opacity: 0; transform: translateY(-10px); background: var(--blue-soft); } 60% { background: var(--blue-soft); } 100% { opacity: 1; transform: none; background: transparent; } }
.agrabah-wins__slot { flex: 0 0 44px; width: 44px; height: 58px; border-radius: 6px; object-fit: cover; border: 1px solid var(--border); }
.agrabah-wins__body { flex: 1 1 auto; min-width: 0; display: flex; flex-wrap: wrap; align-items: center; gap: 4px 16px; font-size: 14px; color: var(--muted); }
.agrabah-wins__nick { color: #fff; }
.agrabah-wins__amount { color: var(--win); font-size: 15px; }
.agrabah-wins__meta { font-size: 13px; }
.agrabah-wins__game { color: #fff; font-weight: 600; border-bottom: 1px solid transparent; transition: color 0.2s, border-color 0.2s; }
.agrabah-wins__game:hover { color: #fff0cc; border-bottom-color: rgba(255, 240, 204, 0.5); }
.agrabah-wins__provider { color: var(--muted-2); }
.agrabah-wins__time { flex: 0 0 auto; font-size: 12px; color: var(--muted-2); white-space: nowrap; }
@media (max-width: 767px) {
  .agrabah-wins__head { padding: 12px 14px; }
  .agrabah-wins__item { padding: 10px 14px; gap: 10px; }
  .agrabah-wins__body { flex-direction: column; align-items: flex-start; gap: 2px; }
  .agrabah-wins__time { align-self: flex-start; }
}

.agrabah-map { padding-top: 28px; }
.agrabah-map__box { border-radius: var(--radius); border: 1px solid var(--border); background: var(--card); overflow: hidden; }
.agrabah-map__head { display: flex; align-items: center; justify-content: space-between; width: 100%; padding: 14px 20px; background: var(--card-2); border: 0; text-align: left; }
.agrabah-map__title { display: flex; align-items: center; gap: 10px; font-size: 16px; font-weight: 700; }
.agrabah-map__title svg { width: 20px; height: 20px; color: var(--blue); }
.agrabah-map__toggle { display: flex; align-items: center; gap: 6px; color: var(--muted); font-size: 13px; font-weight: 600; }
.agrabah-map__toggle svg { width: 14px; height: 14px; transition: transform 0.25s; }
.agrabah-map.is-agrabah-shut .agrabah-map__toggle svg { transform: rotate(-90deg); }
.agrabah-map__body { display: grid; grid-template-rows: 1fr; transition: grid-template-rows 0.3s ease; }
.agrabah-map.is-agrabah-shut .agrabah-map__body { grid-template-rows: 0fr; }
.agrabah-map__body > * { overflow: hidden; min-height: 0; }
.agrabah-map__list { margin: 0; padding: 16px 20px 20px 40px; columns: 2; column-gap: 32px; }
.agrabah-map__list li { break-inside: avoid; padding: 4px 0; }
.agrabah-map__list a { color: var(--text); font-weight: 500; }
.agrabah-map__list a:hover { color: #fff0cc; }
@media (max-width: 767px) { .agrabah-map__list { columns: 1; padding-left: 36px; } }

.sand-scroll { overflow-x: auto; -webkit-overflow-scrolling: touch; border-radius: var(--radius); border: 1px solid var(--border); }
table { width: 100%; border-collapse: collapse; background: var(--card); font-size: 15px; }
th, td { padding: 12px 16px; text-align: left; border-bottom: 1px solid var(--border); vertical-align: top; }
th { background: var(--card-2); font-weight: 700; font-size: 13px; letter-spacing: 0.04em; text-transform: uppercase; color: var(--muted); }
tbody tr:last-child td { border-bottom: 0; }
tbody tr:nth-child(even) td { background: rgba(255, 255, 255, 0.015); }
td:first-child { font-weight: 600; color: #fff; white-space: nowrap; }
.sand-note { margin: 12px 0 0; color: var(--muted-2); font-size: 13px; }
@media (max-width: 767px) {
  th, td { padding: 10px 12px; font-size: 14px; }
  .sand-wide { min-width: 640px; }
  td:first-child { white-space: normal; }
}

.agrabah-text p { color: #d4d7df; }
.carpet-facts { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; margin: 24px 0 8px; }
.carpet-fact { padding: 18px; border-radius: var(--radius); background: var(--card); border: 1px solid var(--border); }
.carpet-fact__value { display: block; font-size: 28px; font-weight: 800; color: #fff; }
.carpet-fact__label { display: block; margin-top: 4px; color: var(--muted); font-size: 13px; }
.dune-steps { display: grid; grid-template-columns: repeat(2, 1fr); gap: 14px; margin: 8px 0 22px; }
.dune-step { display: flex; gap: 14px; padding: 18px; border-radius: var(--radius); background: var(--card); border: 1px solid var(--border); }
.dune-step p { margin: 4px 0 0; color: var(--muted); font-size: 14px; }
.dune-step__num { flex: 0 0 34px; width: 34px; height: 34px; display: flex; align-items: center; justify-content: center; border-radius: 50%; background: var(--blue); color: #1d1218; font-weight: 800; }
.agrabah-checks { list-style: none; padding: 0; margin: 0 0 20px; }
.agrabah-checks li { position: relative; padding-left: 28px; margin-bottom: 8px; color: #d4d7df; }
.agrabah-checks li::before { content: ""; position: absolute; left: 0; top: 6px; width: 16px; height: 16px; border-radius: 50%; background: var(--blue-soft) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M4 8.5l2.5 2.5L12 5.5' fill='none' stroke='%23ffd27a' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 12px no-repeat; }
.agrabah-cta { display: flex; gap: 12px; flex-wrap: wrap; margin: 8px 0 0; }
@media (max-width: 1023px) { .carpet-facts { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 639px) { .dune-steps { grid-template-columns: 1fr; } .agrabah-cta .agrabah-btn { flex: 1 1 0; } }

.agrabah-tiles { display: grid; gap: 14px; grid-template-columns: repeat(6, 1fr); }
.agrabah-tiles > [hidden] { display: none; }
@media (max-width: 1023px) { .agrabah-tiles { grid-template-columns: repeat(4, 1fr); } }
@media (max-width: 639px) { .agrabah-tiles { grid-template-columns: repeat(3, 1fr); gap: 10px; } }

.lamp-hall__tabs { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 18px; }
.lamp-hall__tab { padding: 9px 18px; border-radius: 10px; border: 1px solid var(--border); background: var(--card); color: var(--muted); font-weight: 700; font-size: 14px; transition: background 0.2s, color 0.2s, border-color 0.2s; }
.lamp-hall__tab:hover { color: #fff; border-color: #3c3f4a; }
.lamp-hall__tab.is-agrabah-on { background: var(--blue); border-color: var(--blue); color: #1d1218; }
.lamp-hall__grid { transition: opacity 0.15s; }
.lamp-hall__grid.is-agrabah-switch { opacity: 0; }
.lamp-slot { position: relative; display: flex; flex-direction: column; border-radius: 10px; overflow: hidden; background: var(--card); border: 1px solid var(--border); color: var(--text); transition: transform 0.2s, border-color 0.2s; }
.lamp-slot:hover { transform: translateY(-4px); border-color: var(--blue); color: var(--text); }
.lamp-slot__media { display: block; aspect-ratio: 360 / 472; overflow: hidden; }
.lamp-slot__media img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.3s; }
.lamp-slot:hover .lamp-slot__media img { transform: scale(1.05); }
.lamp-slot__play { position: absolute; left: 50%; top: 42%; transform: translate(-50%, -50%) scale(0.9); padding: 10px 22px; border-radius: 10px; background: var(--blue); color: #1d1218; font-weight: 700; font-size: 14px; opacity: 0; transition: opacity 0.2s, transform 0.2s; box-shadow: 0 8px 22px rgba(0, 0, 0, 0.4); }
.lamp-slot:hover .lamp-slot__play { opacity: 1; transform: translate(-50%, -50%) scale(1); }
.lamp-slot__body { display: flex; flex-direction: column; padding: 10px 12px 12px; }
.lamp-slot__name { font-weight: 700; font-size: 14px; line-height: 1.3; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.lamp-slot__provider { color: var(--muted-2); font-size: 12px; margin-top: 2px; }
@media (max-width: 639px) { .lamp-slot__body { padding: 8px 8px 10px; } .lamp-slot__name { font-size: 12px; } .lamp-slot__provider { font-size: 11px; } .lamp-slot__play { display: none; } }

.studio-lantern { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 6px; min-height: 96px; padding: 16px 12px; border-radius: 10px; background: var(--card); border: 1px solid var(--border); text-align: center; transition: border-color 0.2s, transform 0.2s; }
.studio-lantern:hover { border-color: #3c3f4a; transform: translateY(-2px); }
.studio-lantern__name { font-weight: 800; font-size: 16px; letter-spacing: -0.01em; }
.studio-lantern__logo { max-height: 40px; width: auto; }
.studio-lantern__meta { color: var(--muted-2); font-size: 12px; }
@media (max-width: 639px) { .studio-lantern { min-height: 84px; padding: 12px 8px; } .studio-lantern__name { font-size: 13px; } .studio-lantern__meta { font-size: 10px; } }

.caravan-pay { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 6px; min-height: 110px; padding: 16px 10px; border-radius: 10px; background: var(--card); border: 1px solid var(--border); text-align: center; transition: border-color 0.2s, transform 0.2s; }
.caravan-pay:hover { border-color: #3c3f4a; transform: translateY(-2px); }
.caravan-pay__icon { display: flex; align-items: center; justify-content: center; width: 48px; height: 36px; }
.caravan-pay__icon img { max-width: 44px; max-height: 32px; width: auto; height: auto; }
.caravan-pay__initial { display: flex; align-items: center; justify-content: center; width: 34px; height: 34px; border-radius: 8px; background: var(--card-2); font-weight: 800; font-size: 16px; }
.caravan-pay__name { font-weight: 700; font-size: 14px; }
.caravan-pay__type { color: var(--muted-2); font-size: 11px; }
.caravan-pays__table { margin-top: 8px; }
@media (max-width: 639px) { .caravan-pay { min-height: 96px; padding: 12px 6px; } .caravan-pay__name { font-size: 12px; } .caravan-pay__type { display: none; } }

.agrabah-app__grid { display: grid; grid-template-columns: 1.15fr 1fr; gap: 28px; align-items: start; }
.agrabah-app__text p { color: #d4d7df; }
.agrabah-app__badges { display: flex; gap: 10px; flex-wrap: wrap; }
.agrabah-app__badges a, .agrabah-footer__apps a,
.agrabah-app__badges [role="button"], .agrabah-footer__apps [role="button"] { display: flex; cursor: pointer; border-radius: 7px; transition: transform 0.2s, opacity 0.2s; }
.agrabah-app__badges a:hover, .agrabah-footer__apps a:hover,
.agrabah-app__badges [role="button"]:hover, .agrabah-footer__apps [role="button"]:hover { transform: translateY(-2px); opacity: 0.9; }
.agrabah-app__badges img, .agrabah-footer__apps img { height: 40px; width: auto; border-radius: 7px; border: 1px solid #3a3d46; }
.agrabah-stars { color: #f5b301; letter-spacing: 1px; }
@media (max-width: 767px) { .agrabah-app__grid { grid-template-columns: 1fr; gap: 20px; } }

.agrabah-help__grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.agrabah-help__card { display: flex; flex-direction: column; gap: 6px; padding: 20px; border-radius: var(--radius); background: var(--card); border: 1px solid var(--border); }
.agrabah-help__card strong { font-size: 17px; }
.agrabah-help__card p { color: var(--muted); font-size: 14px; margin: 4px 0 14px; flex: 1 1 auto; }
.agrabah-help__icon { display: flex; align-items: center; justify-content: center; width: 44px; height: 44px; border-radius: 10px; background: var(--blue-soft); color: #fff0cc; margin-bottom: 6px; }
.agrabah-help__icon svg { width: 24px; height: 24px; }
.agrabah-help__meta { color: var(--muted-2); font-size: 12px; font-weight: 600; }
.agrabah-help__card .agrabah-btn { align-self: flex-start; }
@media (max-width: 1023px) { .agrabah-help__grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 479px) { .agrabah-help__grid { grid-template-columns: 1fr; } }

.desert-reviews__summary { display: flex; align-items: center; flex-wrap: wrap; gap: 12px 16px; margin-bottom: 20px; padding: 16px 20px; border-radius: var(--radius); background: var(--card); border: 1px solid var(--border); }
.desert-reviews__word { font-size: 22px; font-weight: 800; }
.desert-reviews__text { color: var(--muted); font-size: 14px; }
.desert-reviews__text strong { color: #fff; }
.crescent-stars { display: inline-flex; gap: 3px; }
.crescent-star { display: flex; align-items: center; justify-content: center; width: 26px; height: 26px; background: var(--green); border-radius: 3px; }
.crescent-star svg { width: 18px; height: 18px; fill: #fff; }
.crescent-star.is-agrabah-half { background: linear-gradient(90deg, var(--green) 50%, #4b4f5b 50%); }
.desert-reviews__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.desert-review { display: flex; flex-direction: column; gap: 10px; padding: 20px; border-radius: var(--radius); background: var(--card); border: 1px solid var(--border); transition: border-color 0.3s; }
.desert-review:hover { border-color: #3c3f4a; }
.desert-review__head { display: flex; align-items: center; gap: 12px; }
.desert-review__rating { display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.desert-review__date { font-size: 12px; color: var(--muted-2); }
.crescent-stars--agrabah-sm { gap: 2px; }
.crescent-stars--agrabah-sm .crescent-star { width: 20px; height: 20px; }
.crescent-stars--agrabah-sm .crescent-star svg { width: 13px; height: 13px; }
.crescent-star.is-agrabah-empty { background: #3a3d46; }
.desert-review__verified { display: flex; align-items: center; gap: 6px; font-size: 12px; font-weight: 600; color: var(--green); }
.desert-review__verified svg { width: 14px; height: 14px; }
.desert-review__avatar { flex: 0 0 40px; width: 40px; height: 40px; display: flex; align-items: center; justify-content: center; border-radius: 50%; font-size: 13px; font-weight: 800; color: #fff; background: linear-gradient(135deg, #d4a24a, #8a5a12); }
.desert-review__avatar--2 { background: linear-gradient(135deg, #1f8a70, #00b67a); }
.desert-review__avatar--3 { background: linear-gradient(135deg, #b86a2a, #e09a52); }
.desert-review__avatar--4 { background: linear-gradient(135deg, #7b3fe4, #4b2bb0); }
.desert-review__meta { display: flex; flex-direction: column; }
.desert-review__name { font-weight: 700; }
.desert-review__sub { color: var(--muted-2); font-size: 12px; }
.desert-review__title { font-weight: 700; margin: 0; }
.desert-review__text { flex: 1 1 auto; color: var(--muted); font-size: 14px; margin: 0; }
@media (max-width: 1023px) { .desert-reviews__grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 639px) { .desert-reviews__grid { grid-template-columns: 1fr; } }

.agrabah-faq__list { display: flex; flex-direction: column; gap: 10px; }
.agrabah-faq__item { border-radius: var(--radius); background: var(--card); border: 1px solid var(--border); overflow: hidden; }
.agrabah-faq__question { display: flex; align-items: center; justify-content: space-between; gap: 16px; width: 100%; padding: 16px 20px; background: transparent; border: 0; text-align: left; font-weight: 700; font-size: 16px; }
.agrabah-faq__icon { display: flex; align-items: center; justify-content: center; flex: 0 0 28px; width: 28px; height: 28px; border-radius: 50%; background: var(--card-2); color: var(--muted); transition: transform 0.25s, background 0.25s, color 0.25s; }
.agrabah-faq__icon svg { width: 14px; height: 14px; }
.agrabah-faq__item.is-agrabah-open .agrabah-faq__icon { transform: rotate(180deg); background: var(--blue); color: #1d1218; }
.agrabah-faq__answer { display: grid; grid-template-rows: 0fr; transition: grid-template-rows 0.3s ease; }
.agrabah-faq__item.is-agrabah-open .agrabah-faq__answer { grid-template-rows: 1fr; }
.agrabah-faq__answer-inner { overflow: hidden; min-height: 0; }
.agrabah-faq__answer p { padding: 0 20px 18px; margin: 0; color: var(--muted); }
.agrabah-update { display: flex; align-items: center; gap: 16px; margin: 24px 0 0; padding: 16px 20px; border-radius: var(--radius); background: var(--card); border: 1px solid var(--border); border-left: 3px solid var(--blue); }
.agrabah-update__icon { flex: 0 0 44px; width: 44px; height: 44px; display: flex; align-items: center; justify-content: center; border-radius: 10px; background: var(--blue-soft); color: #fff0cc; }
.agrabah-update__icon svg { width: 24px; height: 24px; }
.agrabah-update__body { flex: 1 1 auto; min-width: 0; display: flex; flex-wrap: wrap; align-items: baseline; gap: 2px 10px; }
.agrabah-update__label { color: var(--muted-2); font-size: 11px; font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase; }
.agrabah-update__date { font-size: 17px; font-weight: 800; color: #fff; }
.agrabah-update__note { flex-basis: 100%; color: var(--muted); font-size: 13px; }
.agrabah-update__badge { flex: 0 0 auto; display: inline-flex; align-items: center; gap: 6px; padding: 6px 12px; border-radius: 20px; background: rgba(0, 182, 122, 0.12); border: 1px solid rgba(0, 182, 122, 0.35); color: var(--green); font-size: 12px; font-weight: 700; }
.agrabah-update__badge svg { width: 16px; height: 16px; }
@media (max-width: 639px) {
  .agrabah-update { display: grid; grid-template-columns: 44px 1fr; gap: 10px 12px; padding: 14px 16px; }
  .agrabah-update__badge { grid-column: 2; justify-self: start; }
}

.agrabah-footer { margin-top: 64px; padding: 48px 16px 0; background: var(--bg-2); border-top: 1px solid var(--border); }
.agrabah-footer__inner { max-width: var(--container); margin: 0 auto; display: flex; justify-content: space-between; gap: 32px; }
.agrabah-footer__logo img { height: 46px; width: auto; max-width: 200px; object-fit: contain; display: block; }
.agrabah-footer__social-row { max-width: var(--container); margin: 28px auto 0; display: flex; align-items: center; flex-wrap: wrap; gap: 16px 28px; }
.agrabah-socials { display: flex; flex-wrap: wrap; gap: 10px; list-style: none; margin: 0; padding: 0; }
.agrabah-socials a { display: flex; transition: transform 0.25s; }
.agrabah-socials a:hover { transform: scale(1.1); }
.agrabah-socials img { width: 36px; height: 36px; }
.agrabah-footer__apps { display: flex; gap: 10px; }
.agrabah-footer__links { display: flex; gap: 48px; }
.agrabah-links ul { list-style: none; margin: 0; padding: 0; }
.agrabah-links li { margin-bottom: 10px; }
.agrabah-links a,
.agrabah-links [role="button"] { display: inline-block; color: var(--text); font-size: 15px; cursor: pointer; }
.agrabah-links a:hover,
.agrabah-links [role="button"]:hover { color: #fff0cc; }
.agrabah-footer__badges { max-width: var(--container); margin: 36px auto 0; padding-top: 24px; border-top: 1px solid var(--border); }
.agrabah-footer__images { display: flex; align-items: center; flex-wrap: wrap; gap: 18px 32px; }
.agrabah-footer__images a { display: flex; opacity: 0.85; transition: opacity 0.2s; }
.agrabah-footer__images a:hover { opacity: 1; }
.agrabah-footer__images img { height: auto; max-height: 56px; }
.agrabah-footer__bottom { max-width: var(--container); margin: 0 auto; padding: 24px 0 32px; color: var(--muted-2); font-size: 13px; }
@media (max-width: 767px) {
  .agrabah-footer { padding-top: 36px; }
  .agrabah-footer__inner { flex-direction: column; gap: 28px; }
  .agrabah-footer__links { gap: 32px; }
  .agrabah-footer__images img { max-height: 44px; }
  .agrabah-footer__images img[width="96"] { width: 80px; }
  .agrabah-footer__bottom { padding-bottom: 28px; }
}

.agrabah-offer { position: fixed; left: 0; right: 0; bottom: 0; z-index: 60; padding: 0 12px 12px; transform: translateY(120%); transition: transform 0.35s ease; pointer-events: none; }
.agrabah-offer.is-agrabah-visible { transform: none; pointer-events: auto; }
.agrabah-offer__inner { position: relative; max-width: var(--container); margin: 0 auto; display: flex; align-items: center; gap: 16px; padding: 12px 16px; border-radius: 14px; background: var(--bg-2); border: 1px solid rgba(255, 210, 122, 0.5); box-shadow: 0 18px 50px rgba(0, 0, 0, 0.55); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); }
.agrabah-offer__logo { height: 30px; width: auto; max-width: 96px; object-fit: contain; }
.agrabah-offer__info { flex: 1 1 auto; min-width: 0; display: flex; flex-direction: column; }
.agrabah-offer__label { color: #fff0cc; font-size: 11px; font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase; }
.agrabah-offer__title { font-weight: 700; font-size: 15px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.agrabah-offer__close { flex: 0 0 36px; width: 36px; height: 36px; border-radius: 8px; border: 1px solid var(--border); background: var(--card-2); color: var(--muted); font-size: 22px; line-height: 1; }
.agrabah-offer__close:hover { color: #fff; }
body.has-agrabah-offer .agrabah-footer { padding-bottom: 84px; }
@media (max-width: 639px) {
  .agrabah-offer { padding: 0 8px 8px; }
  .agrabah-offer__inner { gap: 10px; padding: 10px 12px; }
  .agrabah-offer__logo { flex: 0 0 auto; width: auto; max-width: 84px; height: 40px; padding: 6px 8px; border-radius: 6px; background: var(--card-2); border: 1px solid var(--border); object-fit: contain; }
  .agrabah-offer__label { display: none; }
  .agrabah-offer__title { white-space: normal; font-size: 13px; line-height: 1.35; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
  .agrabah-offer__btn { min-height: 40px; padding: 0 14px; font-size: 14px; }
  .agrabah-offer__close { position: absolute; top: -12px; right: -2px; width: 26px; height: 26px; font-size: 16px; }
}

.agrabah-top {
  position: fixed;
  right: 20px;
  bottom: 24px;
  z-index: 70;
  width: 46px;
  height: 46px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  border: 0;
  background: linear-gradient(180deg, #b23fd6 0%, #8d01a7 50%, #6c0182 100%);
  color: #ffffff;
  box-shadow: 0 10px 26px rgba(0, 0, 0, 0.45);
  opacity: 0;
  visibility: hidden;
  transform: translateY(12px);
  transition: opacity 0.25s ease, transform 0.25s ease, visibility 0s linear 0.25s, background 0.2s ease, bottom 0.3s ease;
}
.agrabah-top.is-agrabah-visible { opacity: 1; visibility: visible; transform: none; transition: opacity 0.25s ease, transform 0.25s ease, background 0.2s ease, bottom 0.3s ease; }
.agrabah-top:hover { background: linear-gradient(180deg, #c055e0 0%, #9a0fb5 50%, #78038f 100%); }
.agrabah-top svg { width: 22px; height: 22px; }
@media (max-width: 1199px) {
  body.has-agrabah-offer .agrabah-top { bottom: 100px; }
}
@media (max-width: 639px) {
  .agrabah-top { right: 12px; bottom: 16px; width: 42px; height: 42px; }
  body.has-agrabah-offer .agrabah-top { bottom: 104px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  html { scroll-behavior: auto; }
}

.agrabah-hero__bg picture, .agrabah-hero__bg img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center top; display: block; }
.desert-review__avatar img { width: 100%; height: 100%; border-radius: 50%; object-fit: cover; display: block; }

.agrabah-btn--amethyst { background: linear-gradient(180deg, #b23fd6 0%, #8d01a7 50%, #6c0182 100%); color: #ffffff; border: 0; box-shadow: 0 6px 18px rgba(141, 1, 167, 0.3); }
.agrabah-btn--amethyst:hover { background: linear-gradient(180deg, #c055e0 0%, #9a0fb5 50%, #78038f 100%); color: #ffffff; box-shadow: 0 8px 22px rgba(141, 1, 167, 0.45); }
.lamp-slot__play { background: linear-gradient(180deg, #ffe58a 0%, #f5c040 50%, #d99a1c 100%); color: #1d1218; }
.dune-step__num, .lamp-hall__tab.is-agrabah-on, .agrabah-faq__item.is-agrabah-open .agrabah-faq__icon, .wish-card--wish-pick .wish-card__tag { background: #ffd27a; border-color: #ffd27a; color: #1d1218; }
.desert-review__avatar { background: linear-gradient(135deg, #8d01a7, #f5c040); }

/* 02.10 customer: the lobby bonus banner and its button must be visible on phones — the whole mobile picture (cut to the banner) sits above the hero card */
@media (max-width: 767px) {
  .agrabah-hero { min-height: 0; }
  .agrabah-hero__bg { background: var(--bg); }
  .agrabah-hero__bg picture, .agrabah-hero__bg img { bottom: auto; height: auto; }
  .agrabah-hero__bg::after { background: linear-gradient(180deg, rgba(29, 18, 24, 0) 0%, rgba(29, 18, 24, 0) calc(100vw * 0.9057 - 24px), rgba(29, 18, 24, 1) calc(100vw * 0.9057 + 2px)); }
  .agrabah-hero__inner { padding-top: calc(100vw * 0.9057 + 14px); }
}
