@font-face {
  font-family: "BellaCormorant";
  src: url("CormorantGaramond.ttf") format("truetype");
  font-weight: 300 700;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "BellaNunito";
  src: url("Nunito.ttf") format("truetype");
  font-weight: 200 1000;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "BellaNotoArabic";
  src: url("NotoSansArabic.ttf") format("truetype");
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
}

bdi {
  unicode-bidi: isolate;
}

/* ==========================================================================
   RTL Support (Arabic pages in Lirvado design system)
   ========================================================================== */

html[dir="rtl"] body {
  font-family: "BellaNotoArabic", var(--font-body), Arial, sans-serif;
  line-height: 1.85;
}

html[dir="rtl"] h1,
html[dir="rtl"] h2,
html[dir="rtl"] h3,
html[dir="rtl"] h4,
html[dir="rtl"] .page-hero__title,
html[dir="rtl"] .section-heading__title,
html[dir="rtl"] .legal-doc__contact-title,
html[dir="rtl"] .site-footer__title {
  font-family: "BellaNotoArabic", Arial, sans-serif;
  letter-spacing: 0;
  line-height: 1.38;
}

html[dir="rtl"] .eyebrow,
html[dir="rtl"] .legal-doc__toc-title,
html[dir="rtl"] .site-footer__title {
  letter-spacing: 0;
  text-transform: none;
}

html[dir="rtl"] .logo,
html[dir="rtl"] .site-footer__wordmark {
  direction: ltr;
  font-family: var(--font-display);
}

html[dir="rtl"] .site-header__logo {
  margin-right: 0;
  margin-left: auto;
}

html[dir="rtl"] .language-switcher__list {
  direction: ltr;
}

html[dir="rtl"] .prose ul,
html[dir="rtl"] .prose ol {
  padding-left: 0;
  padding-inline-start: 1.4em;
}

html[dir="rtl"] .button__icon,
html[dir="rtl"] .game-spotlight__arrow {
  transform: scaleX(-1);
}

html[dir="rtl"] .button:hover .button__icon,
html[dir="rtl"] .game-spotlight__cta:hover .game-spotlight__arrow {
  transform: translateX(-4px) scaleX(-1);
}

/* ==========================================================================
   Language Switcher refinement for 3 languages (EN | RU | العربية)
   ========================================================================== */

.language-switcher__link_lang_ar {
  letter-spacing: 0;
  font-family: "BellaNotoArabic", Arial, sans-serif;
  font-weight: 700;
  padding-inline: var(--space-3);
}

/* ==========================================================================
   Flagship First Game Spotlight (Home & /games/ catalog)
   ========================================================================== */

.game-spotlight {
  --spot-rose: #f1b6c9;
  --spot-gold: #dfc58b;
  --spot-plum: #241c2e;
  position: relative;
  display: grid;
  border: var(--border-width) solid color-mix(in srgb, var(--spot-gold) 24%, var(--color-border));
  border-radius: var(--radius-xl);
  background:
    radial-gradient(42rem 28rem at 15% 20%, color-mix(in srgb, var(--spot-rose) 14%, transparent), transparent 68%),
    radial-gradient(36rem 24rem at 92% 85%, color-mix(in srgb, var(--color-accent) 16%, transparent), transparent 70%),
    linear-gradient(160deg, #161326 0%, var(--color-surface) 52%, var(--color-bg) 100%);
  box-shadow: var(--shadow-raised);
  overflow: hidden;
  transition: border-color var(--duration-base) ease;
}

.game-spotlight:hover {
  border-color: color-mix(in srgb, var(--spot-gold) 46%, var(--color-border));
}

@media (min-width: 62em) {
  .game-spotlight {
    grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr);
    align-items: stretch;
  }
}

.game-spotlight__stage {
  position: relative;
  display: grid;
  place-items: center;
  min-height: clamp(20rem, 48vw, 31rem);
  padding: clamp(1.25rem, 2.5vw, 2.25rem);
  background:
    radial-gradient(circle at 50% 45%, color-mix(in srgb, var(--spot-gold) 18%, transparent), transparent 65%),
    linear-gradient(180deg, #1a1429 0%, #110d1d 100%);
  overflow: hidden;
  isolation: isolate;
}

.game-spotlight__stage-link {
  position: relative;
  display: block;
  width: min(100%, 27rem);
  aspect-ratio: 4 / 4.35;
  text-decoration: none;
  color: inherit;
  isolation: isolate;
}

.game-spotlight__stage-link:focus-visible {
  outline: 2px solid var(--color-focus);
  outline-offset: 8px;
  border-radius: 48% 48% 1rem 1rem;
}

.game-spotlight__portal {
  position: absolute;
  inset: 0;
  border-radius: 48% 48% 1rem 1rem;
  border: 1px solid color-mix(in srgb, var(--spot-gold) 68%, transparent);
  overflow: hidden;
  box-shadow: 0 1.75rem 4rem -1rem rgba(6, 4, 15, 0.85);
}

.game-spotlight__portal::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(180deg, rgba(16, 12, 28, 0.08) 0%, rgba(16, 12, 28, 0.14) 55%, rgba(21, 16, 33, 0.72) 100%);
  pointer-events: none;
}

.game-spotlight__portal::after {
  content: "";
  position: absolute;
  inset: 10px;
  z-index: 2;
  border: 1px solid color-mix(in srgb, var(--spot-gold) 42%, transparent);
  border-radius: inherit;
  pointer-events: none;
}

.game-spotlight__portal picture,
.game-spotlight__thumb picture,
.bella-portal picture,
.bella-gallery-card picture {
  display: block;
  width: 100%;
  height: 100%;
}

.game-spotlight__backdrop {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 68% center;
  transition: transform var(--duration-slow) var(--ease-out);
}

.game-spotlight:hover .game-spotlight__backdrop {
  transform: scale(1.045);
}

.game-spotlight__heroine-wrap {
  position: absolute;
  inset-inline-start: -3%;
  inset-block-end: -4%;
  width: 106%;
  z-index: 3;
  pointer-events: none;
}

.game-spotlight__heroine {
  display: block;
  width: 100%;
  height: auto;
  filter: drop-shadow(0 16px 24px rgba(10, 6, 20, 0.6));
  animation: bella-float 7s ease-in-out infinite;
}

.game-spotlight__spark {
  position: absolute;
  z-index: 4;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #ffecc9;
  box-shadow: 0 0 18px 5px rgba(248, 201, 223, 0.55);
  animation: bella-spark 4.2s ease-in-out infinite;
  pointer-events: none;
}

.game-spotlight__spark_one {
  top: 20%;
  left: 11%;
}

.game-spotlight__spark_two {
  top: 40%;
  right: 7%;
  animation-delay: 1.5s;
}

.game-spotlight__spark_three {
  bottom: 18%;
  left: 5%;
  animation-delay: 2.7s;
}

.game-spotlight__badges {
  position: absolute;
  top: var(--space-4);
  inset-inline-start: var(--space-4);
  z-index: 5;
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-2);
}

.game-spotlight__body {
  display: grid;
  align-content: center;
  gap: var(--space-5);
  padding: clamp(1.5rem, 1rem + 2.5vw, 3rem);
}

.game-spotlight__meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: var(--space-3);
}

.game-spotlight__genre {
  font-size: var(--text-xs);
  font-weight: var(--font-weight-extrabold);
  letter-spacing: var(--letter-spacing-caps);
  text-transform: uppercase;
  color: var(--spot-gold);
}

.game-spotlight__platform {
  display: inline-flex;
  align-items: center;
  padding: 0.2rem 0.65rem;
  border-radius: var(--radius-pill);
  border: 1px solid color-mix(in srgb, var(--color-accent-2) 34%, var(--color-border));
  background: color-mix(in srgb, var(--color-accent-2) 9%, transparent);
  color: var(--color-accent-2);
  font-size: var(--text-xs);
  font-weight: var(--font-weight-bold);
}

.game-spotlight__title {
  margin: 0;
  font-family: var(--font-display);
  font-size: clamp(1.75rem, 1.25rem + 1.8vw, 2.75rem);
  font-weight: var(--font-weight-semibold);
  letter-spacing: -0.03em;
  line-height: 1.08;
  color: var(--color-text);
}

.game-spotlight__subtitle {
  display: block;
  margin-top: 0.35rem;
  font-family: "BellaCormorant", Georgia, serif;
  font-size: 0.78em;
  font-weight: 500;
  letter-spacing: 0.01em;
  color: var(--spot-gold);
}

.game-spotlight__lead {
  margin: 0;
  font-size: var(--text-lead);
  color: var(--color-text-muted);
  max-width: 36rem;
}

.game-spotlight__stats {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: var(--space-3);
  margin: 0;
  padding: var(--space-4) 0;
  border-block: var(--border-width) solid color-mix(in srgb, var(--spot-gold) 18%, var(--color-line));
}

.game-spotlight__stat {
  display: grid;
  gap: 0.15rem;
}

.game-spotlight__stat-value {
  font-family: var(--font-display);
  font-size: clamp(1.25rem, 1rem + 0.8vw, 1.7rem);
  font-weight: var(--font-weight-semibold);
  color: var(--spot-gold);
  line-height: 1.1;
}

.game-spotlight__stat-label {
  font-size: var(--text-xs);
  color: var(--color-text-muted);
  line-height: 1.35;
}

.game-spotlight__thumbs {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: var(--space-2);
}

.game-spotlight__thumb {
  display: block;
  aspect-ratio: 16 / 9;
  border-radius: var(--radius-s);
  border: 1px solid color-mix(in srgb, var(--spot-gold) 26%, var(--color-border));
  overflow: hidden;
  background: var(--color-surface-raised);
  transition: transform var(--duration-fast) var(--ease-out), border-color var(--duration-fast) ease;
}

.game-spotlight__thumb:hover {
  transform: translateY(-2px);
  border-color: var(--spot-gold);
}

.game-spotlight__thumb img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.game-spotlight__actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: var(--space-3);
}

.game-spotlight__note {
  margin: 0;
  font-size: var(--text-xs);
  color: var(--color-text-subtle);
}

.game-spotlight__quicklinks {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-4);
  font-size: var(--text-s);
}

.game-spotlight__quicklink {
  color: var(--color-text-muted);
  text-decoration: none;
  font-weight: var(--font-weight-semibold);
  transition: color var(--duration-fast) ease;
}

.game-spotlight__quicklink:hover {
  color: var(--spot-gold);
}

/* Compact "More worlds in development" teaser on /games/ */

.games-next {
  margin-top: clamp(2rem, 1.5rem + 2vw, 3.5rem);
  display: grid;
  gap: var(--space-6);
  align-items: center;
  padding: clamp(1.5rem, 1rem + 2vw, 2.5rem);
  border: var(--border-width) solid var(--color-line);
  border-radius: var(--radius-xl);
  background: linear-gradient(180deg, var(--color-surface), var(--color-bg));
}

@media (min-width: 52em) {
  .games-next {
    grid-template-columns: minmax(0, 1fr) auto;
    gap: var(--space-10);
  }
}

.games-next__content {
  display: grid;
  gap: var(--space-3);
  justify-items: start;
}

.games-next__title {
  margin: 0;
  font-family: var(--font-display);
  font-size: var(--text-h3);
  font-weight: var(--font-weight-medium);
  letter-spacing: -0.02em;
}

.games-next__text {
  margin: 0;
  max-width: 42rem;
  color: var(--color-text-muted);
}

.games-next__orbit-wrap {
  display: none;
}

@media (min-width: 52em) {
  .games-next__orbit-wrap {
    display: grid;
    place-items: center;
    width: 11rem;
    height: 11rem;
    position: relative;
  }

  .games-next__orbit-wrap .games-empty__visual {
    transform: scale(0.56);
    transform-origin: center;
  }
}

/* ==========================================================================
   Dedicated Bella Game World (/en/games/bella/, /ru/games/bella/, /ar/games/bella/)
   Harmonized with Lirvado Header & Footer
   ========================================================================== */

.bella-world {
  --bella-bg: #171124;
  --bella-bg-alt: #1f1730;
  --bella-surface: #251c36;
  --bella-surface-hi: #2f2442;
  --bella-ink: #fff4e5;
  --bella-muted: #d6c6d4;
  --bella-rose: #f1b6c9;
  --bella-gold: #dfc58b;
  --bella-line: rgba(223, 197, 139, 0.2);
  --bella-border: rgba(223, 197, 139, 0.34);
  color: var(--bella-ink);
  background:
    radial-gradient(62rem 36rem at 78% 2%, rgba(241, 182, 201, 0.12), transparent 68%),
    radial-gradient(50rem 32rem at 14% 12%, rgba(140, 92, 255, 0.14), transparent 72%),
    linear-gradient(180deg, var(--color-bg) 0%, var(--bella-bg) 6rem, var(--bella-bg) calc(100% - 6rem), var(--color-bg-deep) 100%);
  font-family: "BellaNunito", var(--font-body), system-ui, sans-serif;
}

html[dir="rtl"] .bella-world {
  font-family: "BellaNotoArabic", Arial, sans-serif;
}

.bella-world__crumbs {
  padding-top: clamp(1.25rem, 2vw, 2rem);
}

/* Bella Hero */

.bella-hero {
  display: grid;
  gap: clamp(2rem, 4vw, 4rem);
  align-items: center;
  padding-block: clamp(2rem, 4vw, 4rem) clamp(3rem, 5vw, 5rem);
}

@media (min-width: 58em) {
  .bella-hero {
    grid-template-columns: minmax(0, 1.08fr) minmax(0, 0.92fr);
  }
}

.bella-hero__copy {
  display: grid;
  justify-items: start;
  gap: var(--space-5);
}

.bella-hero__eyebrow-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: var(--space-3);
}

.bella-kicker {
  margin: 0;
  font-size: 0.875rem;
  font-weight: 700;
  letter-spacing: 0.11em;
  text-transform: uppercase;
  color: var(--bella-gold);
}

html[dir="rtl"] .bella-kicker {
  letter-spacing: 0;
  text-transform: none;
}

.bella-hero__title {
  margin: 0;
  font-family: "BellaCormorant", Georgia, serif;
  font-size: clamp(3.6rem, 7.6vw, 7.2rem);
  font-weight: 500;
  line-height: 0.92;
  letter-spacing: -0.02em;
  color: var(--bella-ink);
  text-wrap: balance;
}

.bella-hero__title span {
  display: block;
  margin-top: 0.45rem;
  font-size: 0.44em;
  line-height: 1.24;
  color: var(--bella-gold);
  letter-spacing: 0.01em;
}

html[dir="rtl"] .bella-hero__title {
  font-family: "BellaNotoArabic", Arial, sans-serif;
  font-size: clamp(3rem, 5.8vw, 5.2rem);
  font-weight: 600;
  line-height: 1.3;
  letter-spacing: 0;
}

html[dir="rtl"] .bella-hero__title span {
  font-size: 0.5em;
  margin-top: 0.35rem;
}

.bella-hero__lead {
  margin: 0;
  max-width: 35rem;
  font-size: clamp(1.125rem, 1.02rem + 0.45vw, 1.3125rem);
  line-height: 1.68;
  color: var(--bella-muted);
}

.bella-actions {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-3);
}

.bella-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.55rem;
  min-height: 3.25rem;
  padding: 0.75rem 1.65rem;
  border-radius: var(--radius-pill);
  border: 1px solid var(--bella-gold);
  background: var(--bella-gold);
  color: #26182b;
  font-weight: 700;
  font-size: 1rem;
  text-decoration: none;
  transition: background-color 0.2s ease, border-color 0.2s ease, transform 0.16s ease, box-shadow 0.25s ease;
}

.bella-btn:hover {
  background: #f0dab0;
  color: #26182b;
  transform: translateY(-1px);
  box-shadow: 0 12px 32px -10px rgba(223, 197, 139, 0.55);
}

.bella-btn_secondary {
  background: rgba(255, 244, 229, 0.04);
  color: var(--bella-ink);
  border-color: rgba(241, 182, 201, 0.42);
}

.bella-btn_secondary:hover {
  background: rgba(241, 182, 201, 0.13);
  border-color: var(--bella-rose);
  color: var(--bella-ink);
  box-shadow: none;
}

.bella-release-note {
  margin: 0;
  max-width: 33rem;
  padding: 0.85rem 1.1rem;
  border-radius: var(--radius-m);
  border: 1px dashed rgba(223, 197, 139, 0.34);
  background: rgba(37, 28, 54, 0.55);
  font-size: 0.9375rem;
  color: var(--bella-muted);
  line-height: 1.55;
}

/* Portrait Portal */

.bella-portrait {
  position: relative;
  width: min(100%, 31rem);
  aspect-ratio: 4 / 4.75;
  margin-inline: auto;
  isolation: isolate;
}

.bella-portal {
  position: absolute;
  inset: 0;
  border: 1px solid color-mix(in srgb, var(--bella-gold) 82%, transparent);
  border-radius: 48% 48% 1rem 1rem;
  box-shadow:
    0 28px 80px rgba(8, 4, 18, 0.72),
    0 0 60px -15px rgba(241, 182, 201, 0.22);
  overflow: hidden;
  background: #241c2e;
}

.bella-portal::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(0deg, rgba(23, 17, 36, 0.7) 0%, rgba(23, 17, 36, 0.1) 48%, transparent 100%);
  pointer-events: none;
}

.bella-portal::after {
  content: "";
  position: absolute;
  inset: 12px;
  z-index: 2;
  border: 1px solid rgba(242, 214, 165, 0.45);
  border-radius: inherit;
  pointer-events: none;
}

.bella-portal__bg {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 68% center;
}

.bella-portrait__figure {
  position: absolute;
  inset-inline-start: -3%;
  inset-block-end: -3%;
  width: 106%;
  z-index: 3;
  pointer-events: none;
}

.bella-portrait__img {
  display: block;
  width: 100%;
  height: auto;
  filter: drop-shadow(0 18px 24px rgba(15, 8, 28, 0.55));
  animation: bella-float 7s ease-in-out infinite;
}

.bella-spark {
  position: absolute;
  z-index: 4;
  width: 8px;
  height: 8px;
  background: #ffecc9;
  border-radius: 50%;
  box-shadow: 0 0 22px 6px rgba(248, 201, 223, 0.58);
  animation: bella-spark 4s ease-in-out infinite;
  pointer-events: none;
}

.bella-spark_one {
  top: 22%;
  left: 12%;
}

.bella-spark_two {
  top: 42%;
  right: 6%;
  animation-delay: 1.6s;
}

.bella-spark_three {
  bottom: 20%;
  left: 3%;
  animation-delay: 2.7s;
}

/* Stats Band */

.bella-stats {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: var(--space-4);
  padding: clamp(1.35rem, 2.5vw, 2rem) clamp(1rem, 2vw, 2rem);
  border: 1px solid var(--bella-line);
  border-radius: var(--radius-xl);
  background: linear-gradient(180deg, rgba(42, 31, 61, 0.68), rgba(26, 19, 41, 0.68));
  text-align: center;
}

.bella-stats__item {
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
}

.bella-stats__item strong {
  font-family: "BellaCormorant", Georgia, serif;
  font-size: clamp(2.4rem, 4.5vw, 3.6rem);
  font-weight: 500;
  line-height: 1.05;
  color: var(--bella-gold);
}

html[dir="rtl"] .bella-stats__item strong {
  font-family: "BellaNotoArabic", Arial, sans-serif;
  font-weight: 700;
}

.bella-stats__item span {
  font-size: clamp(0.875rem, 0.8rem + 0.35vw, 1.0625rem);
  color: var(--bella-muted);
  line-height: 1.4;
}

/* Story Section */

.bella-section {
  padding-block: clamp(3.5rem, 6vw, 6rem);
}

.bella-section_band {
  background: linear-gradient(180deg, rgba(44, 34, 58, 0.55), rgba(30, 22, 46, 0.55));
  border-block: 1px solid var(--bella-line);
}

.bella-section__title {
  margin: 0;
  font-family: "BellaCormorant", Georgia, serif;
  font-size: clamp(2.2rem, 4.4vw, 3.7rem);
  font-weight: 500;
  line-height: 1.08;
  color: var(--bella-ink);
  text-wrap: balance;
}

html[dir="rtl"] .bella-section__title {
  font-family: "BellaNotoArabic", Arial, sans-serif;
  font-size: clamp(1.85rem, 3.2vw, 2.85rem);
  font-weight: 600;
  line-height: 1.42;
}

.bella-story {
  display: grid;
  gap: clamp(1.5rem, 4vw, 5rem);
  align-items: center;
}

@media (min-width: 54em) {
  .bella-story {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  }
}

.bella-story__head {
  display: grid;
  gap: var(--space-4);
}

.bella-story__text {
  margin: 0;
  font-size: clamp(1.125rem, 1.02rem + 0.4vw, 1.25rem);
  line-height: 1.78;
  color: var(--bella-muted);
}

/* 3 Pillars Feature Cards */

.bella-features {
  display: grid;
  gap: var(--space-5);
  margin-top: clamp(2rem, 3vw, 3rem);
}

@media (min-width: 54em) {
  .bella-features {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

.bella-feature {
  display: grid;
  align-content: start;
  gap: var(--space-3);
  padding: clamp(1.5rem, 2.5vw, 2rem);
  border-radius: var(--radius-l);
  border: 1px solid var(--bella-line);
  border-top: 2px solid color-mix(in srgb, var(--bella-rose) 55%, var(--bella-gold));
  background: linear-gradient(180deg, rgba(44, 33, 62, 0.78), rgba(26, 19, 41, 0.72));
}

.bella-feature__num {
  font-family: "BellaCormorant", Georgia, serif;
  font-size: 1.35rem;
  font-weight: 600;
  color: var(--bella-gold);
  line-height: 1;
}

html[dir="rtl"] .bella-feature__num {
  font-family: "BellaNotoArabic", Arial, sans-serif;
}

.bella-feature h3 {
  margin: 0;
  font-family: "BellaCormorant", Georgia, serif;
  font-size: clamp(1.65rem, 2.4vw, 2.05rem);
  font-weight: 500;
  line-height: 1.15;
  color: var(--bella-ink);
}

html[dir="rtl"] .bella-feature h3 {
  font-family: "BellaNotoArabic", Arial, sans-serif;
  font-size: 1.4rem;
  font-weight: 600;
  line-height: 1.45;
}

.bella-feature p {
  margin: 0;
  color: var(--bella-muted);
  font-size: 1.03125rem;
  line-height: 1.68;
}

/* Gallery Bento */

.bella-gallery-grid {
  display: grid;
  gap: clamp(1.25rem, 2.5vw, 2rem);
  margin-top: clamp(1.75rem, 3vw, 2.5rem);
}

@media (min-width: 48em) {
  .bella-gallery-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .bella-gallery-grid figure:first-child {
    grid-column: 1 / -1;
  }
}

.bella-gallery-grid figure {
  margin: 0;
  min-width: 0;
}

.bella-gallery-card {
  position: relative;
  display: block;
  overflow: hidden;
  border-radius: var(--radius-l);
  border: 1px solid rgba(223, 197, 139, 0.28);
  background: #241b33;
  box-shadow: var(--shadow-card);
  transition: border-color 0.24s ease, transform 0.28s var(--ease-out);
}

.bella-gallery-card:hover {
  border-color: var(--bella-gold);
  transform: translateY(-3px);
}

.bella-gallery-card img {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  transition: transform 0.65s var(--ease-out);
}

.bella-gallery-card:hover img {
  transform: scale(1.025);
}

.bella-gallery-card__zoom {
  position: absolute;
  top: var(--space-3);
  inset-inline-end: var(--space-3);
  width: 2.5rem;
  height: 2.5rem;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: rgba(16, 12, 28, 0.8);
  border: 1px solid rgba(223, 197, 139, 0.52);
  color: var(--bella-ink);
  backdrop-filter: blur(8px);
  opacity: 0;
  transform: scale(0.92);
  transition: opacity 0.2s ease, transform 0.2s ease, background-color 0.2s ease;
}

.bella-gallery-card:hover .bella-gallery-card__zoom,
.bella-gallery-card:focus-visible .bella-gallery-card__zoom {
  opacity: 1;
  transform: scale(1);
  background: rgba(34, 24, 52, 0.92);
}

.bella-gallery-grid figcaption {
  margin-top: 0.8rem;
  font-size: 1rem;
  color: var(--bella-muted);
}

.bella-gallery-note {
  margin: 1.75rem 0 0;
  font-size: 0.9rem;
  color: color-mix(in srgb, var(--bella-muted) 82%, transparent);
}

/* Comfort & Saves */

.bella-settings {
  display: grid;
  gap: var(--space-5);
  margin-top: clamp(1.75rem, 3vw, 2.5rem);
}

@media (min-width: 48em) {
  .bella-settings {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

.bella-setting-card {
  display: grid;
  align-content: start;
  gap: var(--space-3);
  padding: clamp(1.5rem, 2.5vw, 2.25rem);
  border-radius: var(--radius-l);
  border: 1px solid var(--bella-line);
  background: linear-gradient(180deg, rgba(38, 29, 56, 0.72), rgba(23, 17, 36, 0.72));
}

.bella-setting-card h3 {
  margin: 0;
  font-family: "BellaCormorant", Georgia, serif;
  font-size: clamp(1.65rem, 2.4vw, 2.05rem);
  font-weight: 500;
  line-height: 1.15;
  color: var(--bella-ink);
}

html[dir="rtl"] .bella-setting-card h3 {
  font-family: "BellaNotoArabic", Arial, sans-serif;
  font-size: 1.4rem;
  font-weight: 600;
}

.bella-setting-card p {
  margin: 0;
  color: var(--bella-muted);
  line-height: 1.72;
}

/* Help Panel inside Bella World */

.bella-help-wrap {
  padding-block: 0 clamp(4rem, 6vw, 6.5rem);
}

.bella-help {
  display: grid;
  gap: clamp(1.5rem, 4vw, 3.5rem);
  align-items: center;
  padding: clamp(1.75rem, 3.5vw, 3.25rem);
  border-radius: var(--radius-xl);
  border: 1px solid rgba(241, 182, 201, 0.34);
  background:
    radial-gradient(36rem 22rem at 90% 10%, rgba(241, 182, 201, 0.16), transparent 65%),
    radial-gradient(28rem 20rem at 10% 100%, rgba(223, 197, 139, 0.14), transparent 70%),
    linear-gradient(145deg, #2b203c 0%, #1d152c 100%);
  box-shadow: var(--shadow-raised);
}

@media (min-width: 54em) {
  .bella-help {
    grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr);
  }
}

.bella-help__copy {
  display: grid;
  gap: var(--space-3);
}

.bella-help__copy p {
  margin: 0;
  max-width: 38rem;
  color: var(--bella-muted);
  line-height: 1.7;
}

.bella-help__side {
  display: grid;
  gap: var(--space-4);
  justify-items: start;
}

.bella-help__links {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-4);
  font-size: 0.95rem;
}

.bella-help__links a {
  color: var(--bella-gold);
  text-underline-offset: 0.25em;
  font-weight: 600;
}

.bella-help__links a:hover {
  color: var(--bella-ink);
}

/* ==========================================================================
   Accessible Screenshot Lightbox (<dialog>)
   ========================================================================== */

.bella-lightbox {
  width: min(94vw, 76rem);
  max-width: none;
  max-height: 92vh;
  margin: auto;
  padding: 0;
  border: 1px solid rgba(223, 197, 139, 0.36);
  border-radius: var(--radius-l);
  background: #120e1c;
  color: #fff4e5;
  box-shadow: 0 32px 96px rgba(0, 0, 0, 0.85);
  overflow: hidden;
}

.bella-lightbox::backdrop {
  background: rgba(5, 6, 12, 0.86);
  backdrop-filter: blur(8px);
}

.bella-lightbox__bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-4);
  padding: 0.85rem 1.25rem;
  border-bottom: 1px solid rgba(223, 197, 139, 0.18);
  background: rgba(24, 18, 38, 0.95);
}

.bella-lightbox__caption {
  margin: 0;
  font-size: 0.95rem;
  color: #e6d7e4;
}

.bella-lightbox__controls {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  flex-shrink: 0;
}

.bella-lightbox__btn {
  display: inline-grid;
  place-items: center;
  width: 2.5rem;
  height: 2.5rem;
  border-radius: 50%;
  border: 1px solid rgba(223, 197, 139, 0.34);
  background: rgba(255, 244, 229, 0.05);
  color: #fff4e5;
  transition: background-color 0.16s ease, border-color 0.16s ease;
}

.bella-lightbox__btn:hover {
  background: rgba(223, 197, 139, 0.18);
  border-color: #dfc58b;
}

.bella-lightbox__stage {
  display: grid;
  place-items: center;
  background: #0a0812;
  padding: 0.75rem;
}

.bella-lightbox__img {
  display: block;
  max-width: 100%;
  max-height: calc(92vh - 5.5rem);
  width: auto;
  height: auto;
  border-radius: 0.5rem;
}

/* ==========================================================================
   Dark-Mode Tables & Enhanced Legal / Support Styling
   ========================================================================== */

.legal-doc__main,
.legal-doc__body,
.legal-doc__body section {
  min-width: 0;
}

.prose section > * + * {
  margin-top: 1.1em;
}

.prose section + section {
  margin-top: 2.6em;
}

.prose section h2 {
  margin-top: 0;
}

.table-wrap {
  overflow-x: auto;
  max-width: 100%;
  margin-block: 1.5rem;
  border: var(--border-width) solid var(--color-border);
  border-radius: var(--radius-l);
  background: var(--color-surface);
}

.prose table {
  width: 100%;
  border-collapse: collapse;
  text-align: start;
  font-size: 0.96875rem;
  line-height: 1.65;
  table-layout: fixed;
}

@media (max-width: 38em) {
  .prose table {
    font-size: 0.9rem;
  }

  .prose th,
  .prose td {
    padding: 0.75rem 0.85rem;
  }
}

.prose th,
.prose td {
  padding: 0.95rem 1.15rem;
  vertical-align: top;
  border-bottom: var(--border-width) solid var(--color-line);
  overflow-wrap: anywhere;
}

.prose tr:last-child td {
  border-bottom: none;
}

.prose th {
  font-family: var(--font-body);
  font-weight: var(--font-weight-bold);
  color: var(--color-text);
  background: var(--color-surface-raised);
  text-align: start;
}

.prose th:first-child,
.prose td:first-child {
  width: 30%;
  color: var(--color-text);
  font-weight: var(--font-weight-semibold);
}

.prose td {
  color: var(--color-text-muted);
}

.legal-doc__scope {
  margin: 0;
  font-size: var(--text-lead);
  color: var(--color-text-muted);
  max-width: 44rem;
}

.legal-doc__links {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-3);
  margin-top: var(--space-2);
}

.support-banner {
  display: grid;
  gap: var(--space-4);
  padding: clamp(1.25rem, 2.5vw, 1.75rem);
  border-radius: var(--radius-xl);
  border: var(--border-width) solid color-mix(in srgb, var(--color-accent-2) 30%, var(--color-border));
  background:
    radial-gradient(28rem 16rem at 100% 0%, color-mix(in srgb, var(--color-accent) 16%, transparent), transparent 70%),
    linear-gradient(180deg, var(--color-surface-raised), var(--color-surface));
}

.support-banner__row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-4);
}

.support-banner__title {
  margin: 0;
  font-family: var(--font-display);
  font-size: var(--text-h4);
  font-weight: var(--font-weight-semibold);
  color: var(--color-text);
}

html[dir="rtl"] .support-banner__title {
  font-family: "BellaNotoArabic", Arial, sans-serif;
}

.support-banner__sub {
  margin: 0.25rem 0 0;
  font-size: var(--text-s);
  color: var(--color-text-muted);
}

/* ==========================================================================
   Motion & Print
   ========================================================================== */

@keyframes bella-float {
  0%, 100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-9px);
  }
}

@keyframes bella-spark {
  0%, 100% {
    opacity: 0.28;
    transform: translateY(0);
  }
  50% {
    opacity: 1;
    transform: translateY(-11px);
  }
}

@media (prefers-reduced-motion: reduce) {
  .game-spotlight__heroine,
  .game-spotlight__spark,
  .bella-portrait__img,
  .bella-spark {
    animation: none;
  }

  .game-spotlight__backdrop,
  .bella-gallery-card,
  .bella-gallery-card img,
  .bella-btn {
    transition: none;
  }
}

@media print {
  .bella-world {
    background: #fff;
    color: #111;
  }

  .bella-portrait,
  .bella-actions,
  .bella-gallery-card__zoom,
  .bella-lightbox {
    display: none !important;
  }

  .bella-feature,
  .bella-setting-card,
  .bella-help,
  .table-wrap {
    background: #fff;
    color: #111;
    border-color: #ccc;
    box-shadow: none;
  }

  .bella-world p,
  .bella-world figcaption,
  .prose td,
  .prose th {
    color: #111 !important;
  }
}
