/*
 * yourrummygames — mobile-first directory theme.
 *
 * The layout is designed once for a phone (360–430px) and simply scales up on
 * larger screens: the root font-size grows and the column stays a single,
 * centered reading width. There is no separate desktop composition.
 */

:root {
  --ink: #17122b;
  --ink-soft: #3c3552;
  --muted: #716b86;
  --purple: #5b3bd6;
  --purple-deep: #40249f;
  --plum: #1c1236;
  --gold: #f7c556;
  --gold-strong: #ffd47a;
  --gold-soft: #fff3d2;
  --gold-ink: #7a4d05;
  --mint-soft: #ddf6ec;
  --mint-ink: #0f6b4f;
  --danger-soft: #ffe9e5;
  --danger-ink: #a33a2a;
  --paper: #ffffff;
  --page: #f6f4fb;
  --line: #e9e4f2;
  --line-strong: #ddd5ec;
  --shadow-sm: 0 2px 10px rgba(28, 18, 54, .05);
  --shadow: 0 14px 34px rgba(28, 18, 54, .08);
  --radius: 1.25rem;
  --col: 40rem;
  --gutter: 1.25rem;
  font-family: "Inter", ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", "Helvetica Neue", Arial, sans-serif;
  font-size: 100%;
  color-scheme: light;
}

@media (min-width: 760px) {
  :root { font-size: 112.5%; } /* one enlarged phone layout, not a desktop redesign */
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--page);
  color: var(--ink);
  font-size: 1rem;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img { max-width: 100%; height: auto; }
button, input, select, textarea { font: inherit; color: inherit; }
a { color: inherit; text-decoration: none; }
button, a { -webkit-tap-highlight-color: transparent; }
h1, h2, h3, p { margin-top: 0; }
:focus-visible { outline: 3px solid rgba(91, 59, 214, .35); outline-offset: 2px; }
.skip-link {
  position: fixed;
  top: .5rem;
  left: .5rem;
  z-index: 100;
  padding: .6rem .9rem;
  border-radius: .6rem;
  background: #fff;
  color: var(--ink);
  font-size: .82rem;
  font-weight: 800;
  transform: translateY(-160%);
  transition: transform .15s ease;
}
.skip-link:focus { transform: translateY(0); outline: none; }

.sr-only {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0;
}

.site-shell { min-height: 100vh; display: flex; flex-direction: column; }
main { flex: 1; width: 100%; }
.container { width: min(100% - (var(--gutter) * 2), var(--col)); margin-inline: auto; }

/* ---------- top bar ---------- */
.topbar {
  position: sticky;
  top: 0;
  z-index: 50;
  display: flex;
  align-items: center;
  gap: .65rem;
  padding: .55rem max(var(--gutter), calc((100vw - var(--col)) / 2));
  background: rgba(20, 14, 38, .97);
  color: #fff;
  border-bottom: 1px solid rgba(255, 255, 255, .07);
}
.brand { display: inline-flex; align-items: center; gap: .6rem; min-width: 0; }
.brand img { flex: 0 0 auto; width: 2.4rem; height: 2.4rem; border-radius: .7rem; box-shadow: 0 4px 14px rgba(247, 197, 86, .28); }
.brand-copy { display: grid; line-height: 1.15; min-width: 0; }
.brand-copy strong { display: none; }
.brand-copy small { margin-top: 0; color: #b9b0d2; font-size: .66rem; letter-spacing: .01em; white-space: nowrap; }
.category-nav { display: flex; flex: 0 1 auto; align-items: center; gap: .15rem; min-width: 0; margin-left: auto; overflow-x: auto; scrollbar-width: none; }
.category-nav::-webkit-scrollbar { display: none; }
.category-nav-link { flex: 0 0 auto; padding: .4rem .55rem; border-radius: 99px; color: #d8cff0; font-size: .72rem; font-weight: 800; text-decoration: none; white-space: nowrap; }
.category-nav-link:hover,
.category-nav-link:focus-visible { background: rgba(255, 255, 255, .08); color: #fff; outline: none; }
.category-nav-link.is-active { background: rgba(247, 197, 86, .14); color: #f7c556; }
.menu-toggle { margin-left: 0; }
.menu-toggle {
  display: inline-grid;
  place-content: center;
  gap: 4px;
  margin-left: auto;
  width: 2.5rem;
  height: 2.5rem;
  padding: 0;
  border: 1px solid rgba(255, 255, 255, .16);
  border-radius: .75rem;
  background: rgba(255, 255, 255, .05);
  color: #fff;
  cursor: pointer;
}
.menu-toggle span { display: block; width: 1.05rem; height: 2px; border-radius: 99px; background: currentColor; transition: transform .18s ease, opacity .18s ease; }
.menu-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
.menu-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.menu-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }
.site-nav {
  position: absolute;
  top: calc(100% + .4rem);
  right: max(var(--gutter), calc((100vw - var(--col)) / 2));
  left: max(var(--gutter), calc((100vw - var(--col)) / 2));
  display: none;
  padding: .45rem;
  border: 1px solid rgba(255, 255, 255, .12);
  border-radius: 1rem;
  background: #241a40;
  box-shadow: 0 22px 44px rgba(10, 6, 24, .35);
}
.site-nav.is-open { display: block; }
.site-nav ul { display: grid; gap: .1rem; margin: 0; padding: 0; list-style: none; }
.site-nav a { display: block; padding: .7rem .8rem; border-radius: .65rem; color: #ebe5f7; font-size: .88rem; font-weight: 700; }
.site-nav a:hover, .site-nav a:focus-visible { background: rgba(255, 255, 255, .1); color: #fff; outline: none; }

/* ---------- type ---------- */
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: .45rem;
  margin-bottom: .8rem;
  color: #f9d98b;
  font-size: .66rem;
  font-weight: 800;
  letter-spacing: .16em;
  text-transform: uppercase;
}
.eyebrow::before { width: .42rem; height: .42rem; border-radius: 50%; background: var(--gold); box-shadow: 0 0 0 4px rgba(247, 197, 86, .16); content: ""; }

/* ---------- buttons ---------- */
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .4rem;
  min-height: 2.7rem;
  padding: .55rem 1rem;
  border: 0;
  border-radius: .8rem;
  background: var(--purple);
  color: #fff;
  font-size: .85rem;
  font-weight: 800;
  line-height: 1.15;
  cursor: pointer;
  transition: background .16s ease, box-shadow .16s ease, transform .16s ease;
}
.button:hover, .button:focus-visible { background: var(--purple-deep); box-shadow: 0 8px 18px rgba(64, 36, 159, .22); outline: none; transform: translateY(-1px); }
.button--gold { background: var(--gold); color: #2c1a4d; }
.button--gold:hover, .button--gold:focus-visible { background: var(--gold-strong); box-shadow: 0 8px 18px rgba(247, 197, 86, .3); }
.button.button--download {
  position: relative;
  overflow: hidden;
  min-height: 3rem;
  border: 1px solid rgba(255, 246, 214, .7);
  border-radius: .9rem;
  background-color: #ff9d00;
  background-image: linear-gradient(115deg, #ff7a00 0%, #ffb300 35%, #f7c556 58%, #ff8a00 82%, #e85d04 100%);
  background-size: 240% 100%;
  color: #2d1200;
  font-size: .9rem;
  font-weight: 900;
  letter-spacing: .01em;
  text-shadow: 0 1px 0 rgba(255, 255, 255, .38);
  box-shadow: 0 10px 24px rgba(232, 93, 4, .28), inset 0 1px 0 rgba(255, 255, 255, .5);
  animation: yrg-download-shift 4.5s ease-in-out infinite, yrg-download-glow 2.8s ease-in-out infinite;
}
.button.button--download:hover,
.button.button--download:focus-visible {
  background-color: #ffb300;
  background-image: linear-gradient(115deg, #ffb300 0%, #ffd166 38%, #ffe29a 58%, #ffb300 82%, #ff7a00 100%);
  background-position: 100% 50%;
  color: #241000;
  box-shadow: 0 14px 30px rgba(232, 93, 4, .38), inset 0 1px 0 rgba(255, 255, 255, .62);
  outline: none;
  transform: translateY(-1px);
}
.button.button--download:active {
  transform: translateY(0);
  box-shadow: 0 5px 14px rgba(232, 93, 4, .28), inset 0 1px 2px rgba(120, 45, 0, .18);
}
.button.button--download:focus-visible { outline: 2px solid #fff3c4; outline-offset: 2px; }
@keyframes yrg-download-shift {
  0%, 100% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
}
@keyframes yrg-download-glow {
  0%, 100% { box-shadow: 0 10px 24px rgba(232, 93, 4, .24), inset 0 1px 0 rgba(255, 255, 255, .5); }
  50% { box-shadow: 0 14px 30px rgba(247, 197, 86, .42), inset 0 1px 0 rgba(255, 255, 255, .62); }
}
@media (prefers-reduced-motion: reduce) {
  .button.button--download { animation: none; }
}

.button--light { background: #fff; color: var(--purple-deep); }
.button--light:hover, .button--light:focus-visible { background: #f2edff; }
.button--ghost { border: 1px solid var(--line-strong); background: transparent; color: var(--ink); }
.button--ghost:hover, .button--ghost:focus-visible { border-color: var(--purple); color: var(--purple-deep); background: #f7f3ff; }

/* ---------- hero ---------- */
.hero {
  position: relative;
  overflow: hidden;
  padding: 1.5rem 0 3.4rem;
  color: #fff;
  background:
    radial-gradient(circle at 88% 6%, rgba(247, 197, 86, .26), transparent 32%),
    radial-gradient(circle at 2% 96%, rgba(118, 82, 224, .55), transparent 44%),
    linear-gradient(148deg, #1b1234 0%, #33206a 56%, #5334b8 100%);
}
.hero::after {
  position: absolute;
  top: -5rem;
  right: -3.5rem;
  width: 12rem;
  height: 12rem;
  border: 1px solid rgba(255, 255, 255, .18);
  border-radius: 50%;
  box-shadow: 0 0 0 1.2rem rgba(255, 255, 255, .035), 0 0 0 2.4rem rgba(255, 255, 255, .025);
  content: "";
  pointer-events: none;
}
.hero-inner { position: relative; z-index: 1; width: min(100% - (var(--gutter) * 2), var(--col)); margin-inline: auto; }
.hero h1 { max-width: 24ch; margin: 0; font-size: clamp(2rem, 9.4vw, 2.6rem); font-weight: 800; line-height: 1.01; letter-spacing: -.045em; text-wrap: balance; }
.hero-copy { max-width: 34ch; margin: .8rem 0 1.1rem; color: #ded6f1; font-size: .94rem; line-height: 1.55; }
.hero-meta { display: flex; flex-wrap: wrap; gap: .4rem .8rem; margin-top: .9rem; color: #c9c0de; font-size: .7rem; }
.hero-meta span { display: inline-flex; align-items: center; gap: .35rem; }
.hero-meta span::before { width: .3rem; height: .3rem; border-radius: 50%; background: #8fe3c2; content: ""; }

/* search */
.search-box {
  display: flex;
  align-items: center;
  gap: .3rem;
  width: 100%;
  padding: .28rem .28rem .28rem .75rem;
  border: 1px solid rgba(255, 255, 255, .22);
  border-radius: 1rem;
  background: rgba(13, 8, 30, .34);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .06);
}
.search-box svg { flex: 0 0 auto; width: 1.05rem; height: 1.05rem; color: #cfc6e2; }
.search-box input {
  flex: 1;
  min-width: 0;
  padding: .5rem .15rem;
  border: 0;
  outline: 0;
  background: transparent;
  color: #fff;
  font-size: .85rem;
}
.search-box input::placeholder { color: #b8adcf; }
.search-box .button { flex: 0 0 auto; min-height: 2.35rem; padding: .4rem .8rem; border-radius: .7rem; font-size: .75rem; }
.page-header .search-box { margin-top: 1rem; border-color: var(--line-strong); background: #fff; box-shadow: none; }
.page-header .search-box svg { color: var(--muted); }
.page-header .search-box input { color: var(--ink); }
.page-header .search-box input::placeholder { color: var(--muted); }

/* ---------- category rail ---------- */
.category-rail {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: .5rem;
  margin-top: -1.7rem;
}
.category-tile {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: .45rem;
  min-width: 0;
  padding: .75rem .7rem;
  border: 1px solid var(--line);
  border-radius: 1.05rem;
  background: var(--paper);
  box-shadow: var(--shadow);
  transition: border-color .16s ease, transform .16s ease;
}
.category-tile:hover { border-color: #c9baf0; transform: translateY(-1px); }
.category-icon { display: grid; place-items: center; width: 2rem; height: 2rem; border-radius: .65rem; background: var(--gold-soft); color: var(--gold-ink); }
.category-icon svg { width: 1.2rem; height: 1.2rem; }
.category-tile:nth-child(2) .category-icon { background: #ece5ff; color: var(--purple); }
.category-tile:nth-child(3) .category-icon { background: var(--mint-soft); color: var(--mint-ink); }
.category-tile strong { display: block; max-width: 100%; font-size: .8rem; font-weight: 800; letter-spacing: -.015em; line-height: 1.22; overflow-wrap: break-word; }
.category-tile small { display: block; margin-top: auto; color: var(--muted); font-size: .68rem; }

/* ---------- sections ---------- */
.section { padding-top: 1.7rem; }
.section-head { display: flex; align-items: flex-end; justify-content: space-between; gap: .9rem; margin-bottom: .75rem; }
.section-head h2 { margin: 0; font-size: 1.28rem; font-weight: 800; line-height: 1.15; letter-spacing: -.035em; text-wrap: balance; }
.section-head p { margin: .25rem 0 0; color: var(--muted); font-size: .8rem; }
.section-link { display: inline-flex; flex: 0 0 auto; align-items: center; gap: .15rem; color: var(--purple); font-size: .76rem; font-weight: 800; white-space: nowrap; }
.section-link svg { width: .9rem; height: .9rem; }
.section-link:hover { color: var(--purple-deep); }

/* ---------- the one-per-row app list ---------- */
.app-list {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--paper);
  box-shadow: var(--shadow-sm);
}
.app-row {
  position: relative;
  display: flex;
  align-items: center;
  gap: .65rem;
  min-height: 4.35rem;
  padding: .6rem .7rem .6rem .85rem;
}
.app-row + .app-row { border-top: 1px solid var(--line); }
.app-row:hover { background: #faf8ff; }
.app-row-main { display: flex; flex: 1; align-items: center; gap: .7rem; min-width: 0; }
.app-row-title { margin: 0; overflow: hidden; text-overflow: ellipsis; font-size: .92rem; font-weight: 800; letter-spacing: -.02em; line-height: 1.2; white-space: nowrap; }
.app-row-title a { color: inherit; text-decoration: none; }
.app-row-title a:hover,
.app-row-title a:focus-visible { text-decoration: underline; text-decoration-thickness: 2px; text-underline-offset: 3px; }
.app-row-copy { display: block; min-width: 0; }
.app-mark {
  display: grid;
  flex: 0 0 auto;
  place-items: center;
  width: 2.9rem;
  height: 2.9rem;
  overflow: hidden;
  border-radius: .85rem;
  background: linear-gradient(145deg, #5330b8, #8b68ee);
  color: #fff;
  font-size: 1.05rem;
  font-weight: 800;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .26);
}
.app-mark img { width: 100%; height: 100%; object-fit: contain; background: #fff; }
.app-mark--yono { background: linear-gradient(145deg, #c9502b, #f08a4b); }
.app-mark--teen-patti { background: linear-gradient(145deg, #0d7052, #33b98a); }
.app-mark--page { background: linear-gradient(145deg, #5a5270, #8a819f); }
.app-row-copy { display: block; min-width: 0; }
.app-row-meta { display: block; margin-top: .18rem; overflow: hidden; text-overflow: ellipsis; color: var(--muted); font-size: .73rem; white-space: nowrap; }
.app-open {
  position: relative;
  z-index: 1;
  display: inline-flex;
  flex: 0 0 auto;
  align-items: center;
  justify-content: center;
  min-height: 2.5rem;
  padding: .3rem .7rem;
  border-radius: .65rem;
  background: var(--gold);
  color: #2c1a4d;
  font-size: .74rem;
  font-weight: 800;
  letter-spacing: .01em;
}
.app-open:hover, .app-open:focus-visible { background: var(--gold-strong); outline: none; }
/* ---------- promo band ---------- */
.directory-band {
  padding: 1.25rem;
  border-radius: var(--radius);
  background:
    radial-gradient(circle at 100% 0%, rgba(247, 197, 86, .18), transparent 42%),
    linear-gradient(140deg, #1e1339, #3a2270);
  color: #fff;
}
.directory-band h2 { margin: 0; font-size: 1.12rem; font-weight: 800; letter-spacing: -.02em; }
.directory-band p { margin: .4rem 0 0; color: #cdc4e3; font-size: .82rem; }
.band-actions { display: flex; flex-wrap: wrap; gap: .5rem; margin-top: .9rem; }
.band-actions .button { min-height: 2.4rem; font-size: .78rem; }
.directory-band .button--ghost { border-color: rgba(255, 255, 255, .32); color: #fff; }
.directory-band .button--ghost:hover { background: rgba(255, 255, 255, .12); color: #fff; border-color: rgba(255, 255, 255, .5); }

/* ---------- FAQ ---------- */
.faq-list { display: grid; gap: .45rem; }
.faq-item { border: 1px solid var(--line); border-radius: .9rem; background: var(--paper); }
.faq-item summary { display: flex; align-items: center; justify-content: space-between; gap: .75rem; padding: .8rem .9rem; cursor: pointer; font-size: .84rem; font-weight: 800; list-style: none; }
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after { flex: 0 0 auto; display: grid; place-items: center; width: 1.35rem; height: 1.35rem; border-radius: 50%; background: #f3effc; color: var(--purple); content: "+"; font-size: 1rem; font-weight: 700; line-height: 1; }
.faq-item[open] summary::after { background: var(--purple); color: #fff; content: "−"; }
.faq-answer { padding: 0 .9rem .85rem; color: var(--muted); font-size: .82rem; }

/* ---------- page header / filters ---------- */
.page-header { padding: 1.2rem 0 1.15rem; background: linear-gradient(180deg, #ece6fb 0%, rgba(246, 244, 251, 0) 100%); }
.breadcrumbs { display: flex; flex-wrap: wrap; align-items: center; gap: .3rem; color: var(--muted); font-size: .7rem; }
.breadcrumbs a { color: var(--purple); font-weight: 700; }
.breadcrumbs span { opacity: .7; }
.page-header h1 { margin: .55rem 0 .35rem; font-size: clamp(1.75rem, 7.4vw, 2.2rem); font-weight: 800; line-height: 1.05; letter-spacing: -.05em; }
.page-header p { max-width: 38ch; margin: 0; color: var(--muted); font-size: .86rem; }
.filter-row { display: flex; gap: .4rem; overflow-x: auto; padding: .1rem 0 .15rem; scrollbar-width: none; }
.filter-row::-webkit-scrollbar { display: none; }
.filter-chip { flex: 0 0 auto; padding: .5rem .75rem; border: 1px solid var(--line); border-radius: 99px; background: var(--paper); color: var(--muted); cursor: pointer; font: inherit; font-size: .74rem; font-weight: 800; }
.filter-chip.is-active { border-color: var(--purple); background: #eee8ff; color: var(--purple-deep); }
.filter-chip:focus-visible { outline: 2px solid var(--purple); outline-offset: 2px; }
.category-app-item[hidden] { display: none !important; }
.category-app-item:not([hidden]) + .category-app-item:not([hidden]) .app-row { border-top: 1px solid var(--line); }
.category-pagination { display: flex; align-items: center; justify-content: center; gap: .8rem; margin-top: 1rem; }
.category-page-status { color: var(--muted); font-size: .78rem; font-weight: 700; }
.category-pagination .button { min-width: 6.4rem; }
.category-pagination .button[disabled] { cursor: not-allowed; opacity: .45; }
.category-page-links { display: inline-flex; flex-wrap: wrap; justify-content: center; gap: .3rem; }
.category-page-link { display: inline-grid; place-items: center; min-width: 2rem; height: 2rem; padding: 0 .45rem; border: 1px solid var(--line); border-radius: .55rem; background: var(--paper); color: var(--muted); font-size: .76rem; font-weight: 800; text-decoration: none; }
.category-page-link:hover,
.category-page-link:focus-visible { border-color: var(--purple); color: var(--purple-deep); outline: none; }
.category-page-link.is-active { border-color: var(--purple); background: #eee8ff; color: var(--purple-deep); }
.filter-chip:hover { border-color: var(--purple); color: var(--purple-deep); }
.filter-row + .section-head { margin-top: 1rem; }

/* ---------- app detail ---------- */
.detail-hero {
  padding: 1.2rem 0 1.5rem;
  color: #fff;
  background:
    radial-gradient(circle at 92% 0%, rgba(247, 197, 86, .25), transparent 30%),
    linear-gradient(150deg, #1b1234, #42258a);
}
.detail-hero .breadcrumbs { color: #c3b9db; }
.detail-hero .breadcrumbs a { color: #f3d489; }
.detail-top { display: flex; align-items: center; gap: .8rem; margin-top: .8rem; }
.detail-top > div:last-child { min-width: 0; }
.detail-mark {
  display: grid;
  flex: 0 0 46%;
  place-items: center;
  width: 46%;
  max-width: 22rem;
  aspect-ratio: 1 / 1;
  height: auto;
  overflow: hidden;
  border-radius: 1.35rem;
  background: #fff;
  color: var(--purple-deep);
  font-size: clamp(2.4rem, 12vw, 4rem);
  font-weight: 800;
  box-shadow: 0 14px 28px rgba(0, 0, 0, .22);
}
.detail-mark img { width: 100%; height: 100%; object-fit: contain; background: #fff; }
.detail-mark--logo { padding: .5rem; }
.detail-hero .eyebrow { margin-bottom: .3rem; }
.detail-hero h1 { margin: 0; overflow-wrap: anywhere; font-size: clamp(1.65rem, 7.6vw, 2.1rem); font-weight: 800; line-height: 1; letter-spacing: -.045em; }
.detail-summary { max-width: 40ch; margin: .6rem 0 0; color: #ddd3ef; font-size: .86rem; }
.detail-actions { display: grid; grid-template-columns: 1fr 1fr; gap: .5rem; margin-top: 1rem; }
.detail-actions .button { min-height: 2.75rem; padding-inline: .5rem; font-size: .8rem; }
.detail-actions .button:only-child { grid-column: 1 / -1; }
.detail-stamp { margin-top: .7rem; color: #b4a9cf; font-size: .68rem; }
.facts { display: grid; grid-template-columns: 1fr 1fr; gap: .5rem; margin-top: .9rem; }
.fact-box { padding: .8rem; border: 1px solid var(--line); border-radius: .95rem; background: var(--paper); }
.fact-box span { display: block; color: var(--muted); font-size: .67rem; }
.fact-box strong { display: block; margin-top: .15rem; font-size: .92rem; letter-spacing: -.01em; }
.detail-section { padding-top: 1.5rem; }
.detail-section h2 { margin: 0 0 .45rem; font-size: 1.18rem; font-weight: 800; letter-spacing: -.03em; }
.detail-section > p { margin: 0; color: var(--ink-soft); font-size: .88rem; }
.mode-list { display: flex; flex-wrap: wrap; gap: .4rem; margin-top: .7rem; }
.mode-list span { padding: .4rem .6rem; border: 1px solid #e2d7ff; border-radius: .6rem; background: #f5f0ff; color: var(--purple-deep); font-size: .72rem; font-weight: 800; }
.check-list { display: grid; gap: .45rem; margin: .7rem 0 0; padding: 0; list-style: none; }
.check-list li { position: relative; padding: .7rem .75rem .7rem 2.3rem; border-radius: .85rem; background: var(--paper); color: var(--ink-soft); font-size: .84rem; }
.check-list li::before { position: absolute; top: .72rem; left: .75rem; display: grid; place-items: center; width: 1.15rem; height: 1.15rem; border-radius: 50%; background: var(--gold-soft); color: var(--gold-ink); content: "✓"; font-size: .7rem; font-weight: 800; }
.notice { margin-top: .9rem; padding: .75rem .85rem; border: 1px solid #f0d9a9; border-radius: .85rem; background: #fff8e8; color: #75571e; font-size: .75rem; }

/* ---------- empty / loading / search ---------- */
.loading-state { display: grid; place-items: center; gap: .6rem; min-height: 52vh; color: var(--muted); font-size: .85rem; }
.spinner { width: 1.4rem; height: 1.4rem; border: 3px solid #dcd5ea; border-top-color: var(--purple); border-radius: 50%; animation: spin 1s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }
.empty-state { padding: 2rem 1.1rem; border: 1px dashed var(--line-strong); border-radius: var(--radius); background: rgba(255, 255, 255, .55); text-align: center; color: var(--muted); font-size: .85rem; }
.empty-state h1 { margin: 0 0 .4rem; color: var(--ink); font-size: 1.4rem; letter-spacing: -.03em; }
.empty-state p { margin: 0 0 .8rem; }
.empty-state .band-actions { justify-content: center; }
.search-results { padding-top: 1.5rem; }
.search-results h2 { margin: 0 0 .7rem; font-size: 1.2rem; letter-spacing: -.02em; }

/* ---------- pagination ---------- */
.pagination { margin-top: 1.25rem; }
.nav-links { display: flex; flex-wrap: wrap; gap: .35rem; }
.nav-links .page-numbers { display: inline-flex; align-items: center; justify-content: center; min-width: 2.25rem; min-height: 2.25rem; padding: 0 .6rem; border: 1px solid var(--line); border-radius: .65rem; background: var(--paper); font-size: .78rem; font-weight: 700; }
.nav-links .current { border-color: var(--purple); background: var(--purple); color: #fff; }
.nav-links a:hover { border-color: var(--purple); color: var(--purple-deep); }

/* ---------- footer ---------- */
.footer { margin-top: 2.6rem; padding: 1.8rem var(--gutter) calc(1.4rem + env(safe-area-inset-bottom)); background: #140f26; color: #fff; }
.footer-inner { display: grid; gap: 1rem; width: min(100% - (var(--gutter) * 2), var(--col)); margin-inline: auto; }
.footer strong { font-size: .98rem; letter-spacing: -.01em; }
.footer p { max-width: 42ch; margin: .35rem 0 0; color: #b7adcb; font-size: .78rem; }
.footer nav ul { display: grid; grid-template-columns: 1fr 1fr; gap: .35rem; margin: 0; padding: 0; list-style: none; }
.footer nav a { display: block; padding: .55rem .65rem; border-radius: .6rem; background: rgba(255, 255, 255, .06); color: #e7e1f3; font-size: .74rem; font-weight: 700; }
.footer nav a:hover { background: rgba(255, 255, 255, .12); color: var(--gold); }
.footer-nav { display: grid; gap: 1rem; }
.footer-nav strong { display: block; margin-bottom: .5rem; color: var(--gold); font-size: .72rem; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; }
.footer-note { width: min(100% - (var(--gutter) * 2), var(--col)); margin: 1.2rem auto 0 !important; padding-top: .85rem; border-top: 1px solid rgba(255, 255, 255, .12); color: #8f85a6 !important; font-size: .66rem !important; }

/* ---------- trust, policy and legal pages ---------- */
.trust-page { padding-top: 1.8rem; }
.trust-section { padding-top: 1.35rem; }
.trust-section h2 { margin: 0 0 .5rem; font-size: 1.18rem; font-weight: 800; letter-spacing: -.03em; }
.trust-section p { margin: 0 0 .75rem; color: var(--ink-soft); font-size: .88rem; }
.trust-section p:last-child { margin-bottom: 0; }
.trust-section ul { margin: 0; padding-left: 1.15rem; color: var(--ink-soft); font-size: .86rem; }
.trust-section li + li { margin-top: .35rem; }
.trust-contact { margin-top: 1.6rem; padding: 1.1rem; border: 1px solid var(--line); border-radius: 1rem; background: var(--paper); }
.trust-contact h2 { margin: 0 0 .4rem; font-size: 1.05rem; }
.trust-contact p { margin: 0 0 .45rem; color: var(--ink-soft); font-size: .86rem; }
.trust-email { font-size: 1rem; font-weight: 800; }
.trust-email a { color: var(--purple); word-break: break-word; }
.trust-small { color: var(--muted); font-size: .74rem; }
.trust-updates { list-style: none; margin: 0; padding: 0; }
.trust-updates li { display: flex; justify-content: space-between; gap: 1rem; padding: .6rem 0; border-bottom: 1px solid var(--line); font-size: .82rem; }
.trust-updates a { font-weight: 700; color: var(--purple-deep); }
.trust-updates span { color: var(--muted); font-size: .72rem; white-space: nowrap; }
.trust-meta { margin-top: 1.6rem; padding-top: .9rem; border-top: 1px solid var(--line); color: var(--muted); font-size: .74rem; }
.trust-meta a { color: var(--purple); font-weight: 700; }

/* ---------- WordPress content ---------- */
.entry-content { color: var(--ink-soft); font-size: .9rem; }
.entry-content > * + * { margin-top: .85rem; }
.entry-content h2 { margin-top: 1.5rem; color: var(--ink); font-size: 1.2rem; letter-spacing: -.02em; }
.entry-content h3 { margin-top: 1.2rem; color: var(--ink); font-size: 1rem; }
.entry-content a { color: var(--purple); font-weight: 700; text-decoration: underline; text-underline-offset: 2px; }
.entry-content ul, .entry-content ol { padding-left: 1.15rem; }
.entry-content li + li { margin-top: .3rem; }
.entry-content blockquote { margin: 1rem 0; padding: .75rem .9rem; border-left: 3px solid var(--gold); border-radius: 0 .6rem .6rem 0; background: #fff8e8; }
.entry-content table { width: 100%; border-collapse: collapse; font-size: .78rem; }
.entry-content th, .entry-content td { padding: .45rem .5rem; border: 1px solid var(--line); text-align: left; }
.entry-content th { background: #f7f4fc; }

@media (min-width: 760px) {
  .hero { padding-top: 2.2rem; padding-bottom: 3.7rem; }
  .hero-copy { font-size: .95rem; }
  .category-tile { padding: .85rem .8rem; }
  .section { padding-top: 2rem; }
  .footer { margin-top: 3rem; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    scroll-behavior: auto !important;
    animation-duration: .001ms !important;
    transition-duration: .001ms !important;
  }
}

@media (max-width: 560px) {
  .brand-copy { display: none; }
  .category-nav-link { padding: .38rem .48rem; }
}

/* ---------- fixed app download ---------- */
.yrg-app-page { padding-bottom: calc(5.2rem + env(safe-area-inset-bottom)); }
.detail-download-bar { position: fixed; right: 0; bottom: 0; left: 0; z-index: 70; padding: .6rem max(var(--gutter), calc((100vw - var(--col)) / 2)) calc(.6rem + env(safe-area-inset-bottom)); border-top: 1px solid rgba(255, 255, 255, .14); background: rgba(20, 14, 38, .98); box-shadow: 0 -10px 30px rgba(10, 6, 24, .35); }
.detail-download-inner { display: flex; width: 100%; max-width: var(--col); margin: 0 auto; }
.detail-download-inner .button { flex: 1; min-height: 3rem; font-size: .9rem; }

/* ---------- app screenshots ---------- */
.screenshot-strip { display: flex; flex-wrap: nowrap; gap: .55rem; overflow-x: auto; padding: .1rem 0 .45rem; scroll-snap-type: x proximity; overscroll-behavior-x: contain; -webkit-overflow-scrolling: touch; scrollbar-width: thin; }
.screenshot-item { flex: 0 0 auto; display: block; height: 10rem; overflow: hidden; border: 1px solid var(--line); border-radius: .8rem; background: #f4f1fb; scroll-snap-align: start; }
.screenshot-item img { display: block; width: auto; height: 100%; max-width: none; object-fit: contain; }
.screenshot-item:focus-visible { outline: 2px solid var(--purple); outline-offset: 2px; }
@media (min-width: 760px) {
  .screenshot-item { height: 11.5rem; }
}
