/* Shared Rumble Rummy catalog theme */
:root {
  color-scheme: dark;
  --ink: #f3f5e9;
  --ink-2: #c5d6cb;
  --ink-3: #9ab1a3;
  --paper: #061a12;
  --card: #0a2a1e;
  --line: #1b6648;
  --line-2: rgba(112, 183, 143, 0.2);
  --brand: #0d8051;
  --brand-press: #075537;
  --brand-tint: rgba(26, 127, 81, 0.2);
  --brand-ink: #c7ead4;
  --gold: #f4ca39;
  --danger: #e17b5a;
  --danger-tint: rgba(160, 54, 35, 0.2);
  --col: 1440px;
  --bar: 90px;
  --tabbar: 66px;
  --r-sm: 10px;
  --r: 14px;
  --r-lg: 18px;
  --shadow-card: 0 8px 24px rgba(0, 0, 0, 0.24);
}

html { background: #04170f; }
body {
  background: linear-gradient(180deg, #062317 0%, #03160f 58%, #061c13 100%);
  color: var(--ink);
  font-family: "Plus Jakarta Sans", sans-serif;
}
.shell {
  width: 100%;
  max-width: none;
  min-height: 100vh;
  padding-bottom: calc(var(--tabbar) + env(safe-area-inset-bottom, 0px));
  background: transparent;
  overflow: visible;
}
.appbar {
  position: sticky;
  top: 0;
  height: var(--bar);
  padding: 0 max(18px, calc((100vw - 1320px) / 2));
  background: rgba(3, 24, 16, 0.94);
  border-bottom: 1px solid rgba(113, 176, 139, 0.22);
  color: var(--ink);
  backdrop-filter: blur(14px);
}
.appbar__logo { color: #fff; font-size: 1rem; }
.appbar__logo .mark { width: 70px; height: 70px; object-fit: contain; }
.appbar__logo .mark rect { fill: #0c7a4c; }
.appbar__nav { display: none; }
.appbar__nav a { color: var(--ink-2); }
.appbar__nav a:hover { color: #fff; }
.appbar__nav a[aria-current="true"] { color: var(--gold); border-bottom-color: var(--gold); }
.appbar__act { color: var(--ink-2); }
.appbar__act:hover { background: rgba(255,255,255,.08); }
.page {
  width: 100%;
  max-width: 1320px;
  margin: 0 auto;
  padding: 24px clamp(16px, 4vw, 54px) 64px;
}
.block { margin: 30px 0; }
.block > h2,
.listing-main .block > h2 {
  color: #f6f2df;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.55rem;
  font-weight: 700;
  line-height: 1.18;
  letter-spacing: 0;
}
.block p { color: var(--ink-2); }
.muted { color: var(--ink-3); }
.eyebrow { color: var(--gold); }

main.page > header.block:first-of-type {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  margin: 12px 0 12px;
  padding: clamp(24px, 4vw, 46px);
  border: 1px solid rgba(93, 171, 126, 0.55);
  border-radius: var(--r-lg);
  background-color: #073321;
  background-image: linear-gradient(90deg, rgba(3, 31, 20, 0.97) 0%, rgba(3, 31, 20, 0.88) 48%, rgba(3, 31, 20, 0.2) 100%), url("../images/logo.webp");
  background-size: cover, clamp(170px, 24vw, 300px) auto;
  background-position: center, right 5% center;
  background-repeat: no-repeat;
  box-shadow: var(--shadow-card);
}
main.page > header.block:first-of-type h1 {
  max-width: 700px;
  color: #fbf5df;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(2rem, 4vw, 3.2rem);
  font-weight: 700;
  line-height: 1.04;
  letter-spacing: 0;
}
main.page > header.block:first-of-type p {
  max-width: 650px;
  color: #d1dfd4;
}

.search {
  max-width: 100%;
  background: #f3f2e9;
  border-color: #dedac8;
  color: #59645d;
}
.chips { margin: 8px 0 18px; }
.chip {
  border-color: rgba(211, 185, 91, 0.52);
  background: rgba(4, 35, 23, 0.78);
  color: #e8eddf;
}
.chip[aria-current="true"], .chip:hover {
  border-color: var(--gold);
  background: var(--gold);
  color: #142116;
}

.updated-layout { padding-top: 4px; }
.updated-layout > h2 a { color: inherit; }
.updated-layout > h2 a:hover { color: var(--gold); }
.featured {
  min-height: 220px;
  grid-template-columns: minmax(110px, 180px) minmax(0, 1fr);
  gap: clamp(18px, 3vw, 32px);
  padding: clamp(20px, 3vw, 34px);
  border: 1px solid #37835b;
  border-radius: var(--r);
  background: linear-gradient(115deg, #0c7048 0%, #08452f 58%, #05271b 100%);
  box-shadow: var(--shadow-card);
}
.featured__icon { width: 100%; height: auto; aspect-ratio: 1; border-radius: 16px; object-fit: cover; }
.featured h3 { color: #fff8e3; font-family: Georgia, "Times New Roman", serif; font-size: 1.35rem; letter-spacing: 0; }
.featured p { color: #d1dfd4; font-size: 0.88rem; }
.featured .btn { background: var(--gold); color: #172116; }
.featured .btn:hover { background: #ffda5b; }

.home-featured-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.45fr) minmax(260px, 0.9fr);
  gap: 16px;
  align-items: stretch;
}
.home-featured-main { min-height: 100%; }
.home-featured-side { display: grid; gap: 12px; align-content: stretch; }
.home-featured-side .catalog-side-card { min-height: 116px; }

.blog-list { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; }
.blog-card {
  min-width: 0;
  overflow: hidden;
  border: 1px solid rgba(83, 157, 112, 0.58);
  border-radius: 14px;
  background: rgba(5, 34, 22, 0.82);
}
.blog-card__image { display: block; aspect-ratio: 16 / 9; overflow: hidden; background: #08271c; }
.blog-card__image img { width: 100%; height: 100%; object-fit: cover; }
.blog-card__body { padding: 18px; }
.blog-card__meta { margin: 0 0 8px; color: #a8c0b0; font-size: 0.76rem; }
.blog-card__meta a { color: #d1dfd4; }
.blog-card h2 { font-family: Georgia, "Times New Roman", serif; font-size: 1.25rem; line-height: 1.25; }
.blog-card h2 a:hover { color: var(--gold); }
.blog-card__excerpt { margin-top: 8px; color: #bfd2c7; font-size: 0.88rem; }
.blog-card__excerpt p { margin: 0; }
.blog-card__link { display: inline-flex; gap: 6px; margin-top: 14px; color: var(--gold); font-size: 0.82rem; font-weight: 700; }
.blog-list .navigation.pagination { grid-column: 1 / -1; }

.applist { gap: 0 22px; }
.approw {
  min-width: 0;
  padding: 12px 10px;
  border: 1px solid transparent;
  border-bottom-color: rgba(111, 168, 132, 0.22);
  border-radius: 10px;
  background: rgba(7, 40, 27, 0.56);
}
.approw:hover { border-color: rgba(89, 169, 121, 0.6); background: rgba(12, 67, 43, 0.72); }
.approw__icon { border: 1px solid rgba(239, 199, 58, 0.28); border-radius: 12px; }
.approw__name { color: #f7f3e6; }
.approw__sub { color: #a9c2b2; }
.approw__cta {
  height: 32px;
  padding: 0 14px;
  border-radius: 999px;
  background: var(--gold);
  color: #182117;
}
.approw:hover .approw__cta { background: #ffdc58; color: #182117; }

.rail { gap: 14px; padding: 4px 0 12px; }
.rail .tile { width: clamp(124px, 15vw, 174px); }
.tile__icon {
  width: 100%;
  height: auto;
  aspect-ratio: 1;
  border: 1px solid rgba(88, 179, 121, 0.6);
  border-radius: 14px;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
  background: #08271c;
}
.tile__name { color: #f4f1e5; font-size: 0.86rem; }
.tile__meta { color: #9fbaa9; font-size: 0.75rem; }

.new-games__list .new-item { padding: 0 8px; border-bottom: 1px solid rgba(111, 168, 132, 0.18); }
.new-item__added { color: #8daa98; }
.catalog-panels {
  display: grid;
  grid-template-columns: minmax(0, 1.12fr) minmax(0, 1fr);
  gap: 20px;
  align-items: start;
}
.catalog-panel {
  min-width: 0;
  padding: 18px;
  border: 1px solid rgba(83, 157, 112, 0.58);
  border-radius: 14px;
  background: rgba(5, 34, 22, 0.82);
  box-shadow: var(--shadow-card);
}
.catalog-panel__heading {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 12px;
}
.catalog-panel__heading h2 {
  color: #f6f2df;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.4rem;
  line-height: 1.2;
}
.catalog-panel__heading p {
  margin-top: 4px;
  color: #9eb8a7;
  font-size: 0.72rem;
}
.catalog-panel__heading > a {
  flex: none;
  color: var(--gold);
  font-size: 0.78rem;
  font-weight: 700;
}
.catalog-index {
  max-height: 506px;
  overflow-y: auto;
  overscroll-behavior: contain;
  scrollbar-color: #c6a538 #0a281b;
  scrollbar-width: thin;
}
.catalog-index::-webkit-scrollbar { width: 8px; }
.catalog-index::-webkit-scrollbar-track { background: #0a281b; border-radius: 999px; }
.catalog-index::-webkit-scrollbar-thumb { background: #967c2d; border: 2px solid #0a281b; border-radius: 999px; }
.catalog-index__row {
  min-width: 0;
  min-height: 68px;
  display: grid;
  grid-template-columns: 34px 50px minmax(0, 1fr) 32px;
  align-items: center;
  gap: 10px;
  padding: 7px 8px;
  border-bottom: 1px solid rgba(111, 168, 132, 0.2);
}
.catalog-index__row:last-child { border-bottom: 0; }
.catalog-index__row:hover { background: rgba(22, 98, 62, 0.28); }
.catalog-index__number {
  width: 30px;
  height: 30px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: var(--gold);
  color: #1b2518;
  font-size: 0.76rem;
  font-weight: 800;
  font-variant-numeric: tabular-nums;
}
.catalog-index__row > img {
  width: 48px;
  height: 48px;
  border: 1px solid rgba(244, 202, 57, 0.4);
  border-radius: 10px;
  object-fit: cover;
}
.catalog-index__main,
.catalog-side-card__main { min-width: 0; display: block; }
.catalog-index__main > span,
.catalog-side-card__main > strong {
  display: block;
  overflow: hidden;
  color: #f4f2e7;
  font-size: 0.82rem;
  font-weight: 700;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.catalog-index__main > small,
.catalog-side-card__main > small {
  display: block;
  margin-top: 3px;
  overflow: hidden;
  color: #a9c2b2;
  font-size: 0.68rem;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.catalog-index__arrow {
  width: 28px;
  height: 28px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(244, 202, 57, 0.82);
  border-radius: 50%;
  color: var(--gold);
  font-size: 1rem;
  line-height: 1;
}
.catalog-side-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}
.catalog-side-card {
  min-width: 0;
  min-height: 116px;
  display: grid;
  grid-template-columns: 72px minmax(0, 1fr) 28px;
  align-items: center;
  gap: 9px;
  padding: 10px;
  border: 1px solid rgba(83, 157, 112, 0.62);
  border-radius: 12px;
  background: linear-gradient(140deg, rgba(11, 76, 48, 0.92), rgba(4, 35, 23, 0.94));
  box-shadow: 0 5px 14px rgba(0, 0, 0, 0.18);
}
.catalog-side-card:hover { border-color: var(--gold); background: #0b402b; }
.catalog-side-card > img {
  width: 72px;
  height: 72px;
  border: 1px solid rgba(244, 202, 57, 0.38);
  border-radius: 10px;
  object-fit: cover;
}
.catalog-side-card__main > strong { font-size: 0.78rem; }
.catalog-side-card__main > small { white-space: normal; line-height: 1.35; }
.catalog-side-card .catalog-index__arrow { width: 26px; height: 26px; }
.rumble-article {
  margin-top: 46px;
  padding: 28px 0 34px;
  border-top: 1px solid rgba(111, 168, 132, 0.32);
}
.rumble-article__header { margin-bottom: 20px; }
.rumble-article__header h2 {
  margin: 4px 0 6px;
  color: #f6f2df;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 2rem;
  line-height: 1.15;
}
.rumble-article__header > p:last-child { max-width: 68ch; color: #b8cdbf; }
.rumble-article__layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(250px, 300px);
  gap: clamp(24px, 5vw, 64px);
  align-items: start;
}
.rumble-article__copy { max-width: 76ch; }
.rumble-article__copy h3 {
  margin: 22px 0 7px;
  color: #f1eddb;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.18rem;
  line-height: 1.25;
}
.rumble-article__copy h3:first-child { margin-top: 0; }
.rumble-article__copy p,
.rumble-article__copy li { color: #bfd2c7; font-size: 0.92rem; line-height: 1.7; }
.rumble-article__copy ul { margin: 8px 0 0 20px; }
.rumble-article__facts {
  padding: 18px;
  border: 1px solid rgba(83, 157, 112, 0.5);
  border-radius: 12px;
  background: rgba(5, 34, 22, 0.68);
}
.rumble-article__facts > img {
  width: 104px;
  height: 104px;
  margin: 0 auto 14px;
  border: 1px solid rgba(244, 202, 57, 0.34);
  border-radius: 14px;
  object-fit: cover;
}
.rumble-article__facts dl { margin-bottom: 14px; }
.rumble-article__facts dl > div {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  padding: 8px 0;
  border-bottom: 1px solid rgba(111, 168, 132, 0.18);
  font-size: 0.8rem;
}
.rumble-article__facts dt { color: #a8c0b0; }
.rumble-article__facts dd { color: #f1eddb; text-align: right; }
.rumble-article__facts .btn { background: var(--gold); color: #172319; }
.rumble-article__facts .btn:hover { background: #ffdc58; }
.guide-row,
.infocard,
.review,
.faq-item,
.all-apps,
.listing-rail__card {
  border-color: rgba(95, 158, 119, 0.4);
  background: #09281d;
  color: var(--ink);
}
.guide-row:hover { border-color: var(--gold); }
.faq-item summary::after { color: var(--gold); }
.faq-item p, .infocard p, .review p { color: var(--ink-2); }
.facts th { color: #9eb8a7; }
.facts th, .facts td { border-bottom-color: rgba(117, 163, 134, 0.22); }
.statstrip > div { border-color: rgba(117, 163, 134, 0.3); }
.statstrip span { color: #9eb8a7; }
.statstrip b { color: #fff4cf; }
.ratings__count, .hist__n { color: #9eb8a7; }
.hist__track { background: #1a3a2b; }
.callout { border-color: rgba(95, 158, 119, 0.45); background: rgba(13, 89, 55, 0.35); color: #d5e8da; }
.callout--warn { border-color: rgba(217, 140, 92, 0.5); background: rgba(115, 49, 32, 0.24); color: #f0d2c2; }
.breadcrumb { color: #9eb8a7; }
.breadcrumb a:hover { color: var(--gold); }

.site-footer {
  border-top: 1px solid rgba(105, 168, 131, 0.28);
  background: rgba(3, 22, 15, 0.72);
}
.site-footer p { color: #9eb5a5; }
.tabbar { background: rgba(3, 23, 15, 0.97); border-top-color: rgba(105, 168, 131, 0.3); }
.tab { color: #9eb5a5; }
.tab[aria-current="true"] { color: var(--gold); }
.tab[aria-current="true"] .tab__pill { background: rgba(244, 202, 57, 0.14); }
.tab__pill { padding-inline: 10px; }

#catalog-notes {
  margin: 36px calc(-1 * clamp(16px, 4vw, 54px));
  padding: 26px clamp(16px, 4vw, 54px);
  background: #e9e4d2;
  color: #16261d;
}
#catalog-notes > h2 { color: #173b29; }
#catalog-notes p { color: #394d40; }

@media (min-width: 1024px) {
  body { min-width: 320px; padding: 0; background: #04170f; }
  .shell { max-width: none; min-height: 100vh; padding-bottom: 0; background: transparent; box-shadow: none; border-radius: 0; overflow: visible; }
  .appbar { height: 90px; padding: 0 max(24px, calc((100vw - 1320px) / 2)); background: rgba(3, 24, 16, 0.95); border-bottom: 1px solid rgba(113, 176, 139, 0.22); }
  .appbar__nav { display: flex; gap: 25px; align-items: center; font-size: 0.88rem; }
  .appbar__logo { font-size: 1.05rem; }
  .appbar__logo .mark { width: 70px; height: 70px; }
  .page { max-width: 1320px; padding: 30px 36px 74px; }
  #catalog-notes { margin-inline: -36px; padding-inline: 36px; }
  .block { margin: 34px 0; }
  .block > h2, .listing-main .block > h2 { font-size: 1.7rem; }
  .featured { grid-template-columns: minmax(150px, 220px) minmax(0, 1fr); min-height: 270px; }
  .featured__icon { width: 100%; }
  .approw { padding: 14px 12px; }
  .approw__icon { width: 58px; height: 58px; }
  .rail .tile { width: 164px; }
  .rail .tile__icon { width: 164px; height: 164px; }
  .site-footer { max-width: none; margin-top: 45px; padding: 30px max(36px, calc((100vw - 1248px) / 2)) 36px; }
}

@media (max-width: 700px) {
  :root { --bar: 84px; }
  .appbar { padding-inline: 14px; }
  .page { padding: 14px 16px 30px; }
  main.page > header.block:first-of-type { min-height: 230px; padding: 24px 20px; background-size: cover, 150px auto; background-position: center, right 4% bottom 12px; }
  main.page > header.block:first-of-type h1 { max-width: 270px; font-size: 2rem; }
  main.page > header.block:first-of-type p { max-width: 260px; font-size: 0.84rem; }
  .featured { grid-template-columns: 88px minmax(0, 1fr); gap: 14px; min-height: 0; padding: 18px; }
  .featured__icon { width: 88px; }
  .featured h3 { font-size: 1.05rem; }
  .applist { display: flex; flex-direction: column; }
  .approw { grid-template-columns: 48px minmax(0, 1fr) auto; gap: 10px; padding: 10px 8px; }
  .approw__icon { width: 48px; height: 48px; }
  .approw__name { font-size: 0.84rem; }
  .approw__sub { font-size: 0.7rem; }
  .approw__cta { height: 30px; padding: 0 10px; font-size: 0.72rem; }
  .rail .tile { width: 136px; }
  .rail .tile__icon { width: 136px; height: 136px; }
  #catalog-notes { margin-inline: -16px; padding-inline: 16px; }
}
@media (max-width: 900px) {
  .catalog-panels { grid-template-columns: minmax(0, 1fr); }
  .catalog-index { max-height: 390px; }
  .home-featured-grid { grid-template-columns: minmax(0, 1fr); }
  .home-featured-side { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 520px) {
  .catalog-panel { padding: 14px; }
  .catalog-side-grid { grid-template-columns: minmax(0, 1fr); }
  .home-featured-side, .blog-list { grid-template-columns: minmax(0, 1fr); }
  .rumble-article__layout { grid-template-columns: minmax(0, 1fr); }
  .rumble-article__facts { display: grid; grid-template-columns: 78px minmax(0, 1fr); gap: 12px; }
  .rumble-article__facts > img { width: 78px; height: 78px; margin: 0; }
  .rumble-article__facts dl { margin: 0; }
  .rumble-article__facts .btn { grid-column: 1 / -1; }
}
/* ==========================================================================
   1. GLOBAL RESET & BASE RESPONSIVE HELPERS
   ========================================================================== */
*, *::before, *::after {
  box-sizing: border-box;
}

html, body {
  margin: 0;
  padding: 0;
  width: 100%;
  overflow-x: hidden;
  background-color: #06150f;
  color: #e2e8f0;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
}

.shell {
  display: flex;
  flex-direction: column;
  min-height: 100vh;
  width: 100%;
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 16px 80px 16px; /* Spacing for floating mobile tabbar */
}

@media (min-width: 768px) {
  .shell {
    padding: 0 24px 40px 24px;
  }
}

/* ==========================================================================
   2. HEADER / APPBAR RESPONSIVE STYLING
   ========================================================================== */
.appbar {
  margin: 15px auto !important;
  width: calc(100% - 30px) !important;
  max-width: 1200px;
  border-radius: 20px !important;
  background: rgba(8, 28, 19, 0.94);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border: 1px solid rgba(255, 255, 255, 0.12);
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.45);
  position: sticky;
  top: 15px;
  z-index: 999;
  padding: 10px 24px;
  box-sizing: border-box;
}

.appbar__container {
  display: flex !important;
  align-items: center !important;
  justify-content: flex-start !important;
  gap: 28px !important;
  width: 100% !important;
}

.appbar__logo {
  display: inline-flex !important;
  align-items: center !important;
  gap: 12px;
  text-decoration: none;
  flex-shrink: 0;
}

.appbar__logo .mark {
  width: 38px;
  height: 38px;
  object-fit: contain;
  border-radius: 8px;
}

.appbar__name {
  color: #fff;
  font-size: 1.15rem;
  font-weight: 700;
  white-space: nowrap;
}

/* Desktop Navigation Menu Links */
.appbar__nav-wrapper {
  display: flex;
  align-items: center;
}

.appbar__nav {
  display: flex;
  align-items: center;
  gap: 22px;
  list-style: none;
  margin: 0;
  padding: 0;
}

.appbar__nav a {
  color: #cbd5e1;
  text-decoration: none;
  font-size: 0.95rem;
  font-weight: 500;
  transition: color 0.2s ease;
  padding: 4px 0;
}

.appbar__nav a:hover {
  color: #fbbf24; /* Amber Gold Hover Accent */
}

/* Mobile Hamburger Button (Hidden on Desktop) */
.appbar__hamburger {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 6px;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 36px;
  height: 36px;
}

.appbar__hamburger .bar {
  display: block;
  width: 22px;
  height: 2.2px;
  background-color: #f8fafc;
  border-radius: 2px;
  transition: all 0.3s ease;
}

/* Mobile Drawer Overlay */
.mobile-drawer {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  z-index: 99999;
  visibility: hidden;
  transition: visibility 0.3s ease;
}

.mobile-drawer.is-active {
  visibility: visible;
}

.mobile-drawer__overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.7);
  backdrop-filter: blur(4px);
  opacity: 0;
  transition: opacity 0.3s ease;
}

.mobile-drawer.is-active .mobile-drawer__overlay {
  opacity: 1;
}

/* Drawer Panel */
.mobile-drawer__panel {
  position: absolute;
  top: 0;
  left: 0;
  width: 280px;
  max-width: 82%;
  height: 100%;
  background: #081a12;
  border-right: 1px solid rgba(255, 255, 255, 0.1);
  box-shadow: 6px 0 25px rgba(0, 0, 0, 0.6);
  display: flex;
  flex-direction: column;
  padding: 24px 20px;
  transform: translateX(-100%);
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  box-sizing: border-box;
}

.mobile-drawer.is-active .mobile-drawer__panel {
  transform: translateX(0);
}

.mobile-drawer__top {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  margin-bottom: 28px;
}

.mobile-drawer__close {
  background: none;
  border: none;
  color: #fff;
  cursor: pointer;
  padding: 4px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.mobile-drawer__close:hover {
  color: #fbbf24;
}

.mobile-drawer__links {
  display: flex;
  flex-direction: column;
}

.mobile-drawer__links a {
  color: #94a3b8;
  text-decoration: none;
  font-size: 0.95rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  padding: 16px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  transition: all 0.2s ease;
}

.mobile-drawer__links a:hover {
  color: #fbbf24;
  padding-left: 6px;
}

body.no-scroll {
  overflow: hidden !important;
}

/* Mobile Header Layout Adjustments (< 768px) */
@media (max-width: 768px) {
  .appbar {
    margin: 10px auto !important;
    width: calc(100% - 20px) !important;
    padding: 8px 16px !important;
    border-radius: 18px !important;
  }

  .appbar__container {
    justify-content: space-between !important;
    gap: 12px !important;
  }

  .appbar__logo {
    margin-right: auto !important;
  }

  .appbar__hamburger {
    display: flex !important;
    margin-left: auto !important;
  }

  .appbar__nav-wrapper {
    display: none !important;
  }
}

/* ==========================================================================
   3. SEARCH BAR AND HERO COMPONENT
   ========================================================================== */
.page,
.home-hero,
main.page > .block:first-child {
  margin-top: 18px !important;
}

.search.home-search {
  display: flex;
  align-items: center;
  width: 100%;
  max-width: 680px;
  background: #f1f5f9;
  border-radius: 9999px;
  padding: 4px 16px;
  margin: 20px 0;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.35);
  border: 1px solid rgba(255, 255, 255, 0.2);
}

.search__icon {
  display: flex;
  align-items: center;
  justify-content: center;
  color: #475569;
  margin-right: 8px;
  flex-shrink: 0;
}

.search__input,
input[type="search"].search__input,
.search input[type="search"] {
  width: 100%;
  background: transparent !important;
  border: none !important;
  outline: none !important;
  box-shadow: none !important;
  color: #0f172a !important;
  font-size: 1rem;
  padding: 10px 4px;
  line-height: 1.4;
  appearance: none;
  -webkit-appearance: none;
}

.search__input::placeholder,
.search input[type="search"]::placeholder {
  color: #64748b !important;
  opacity: 1;
}

.chips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 14px;
}

.chip {
  display: inline-block;
  padding: 6px 14px;
  border-radius: 9999px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.12);
  color: #e2e8f0;
  font-size: 0.85rem;
  text-decoration: none;
  transition: all 0.2s ease;
}

.chip:hover {
  background: #0c7a4c;
  color: #fff;
  border-color: #fbbf24;
}

/* ==========================================================================
   4. DIRECTORY ORDER & APP ROWS (Rank -> Icon -> Info -> View Button)
   ========================================================================== */
.approw {
  display: flex !important;
  flex-direction: row !important;
  flex-wrap: nowrap !important;
  align-items: center !important;
  gap: 14px !important;
  padding: 12px 14px !important;
  text-decoration: none !important;
  width: 100% !important;
  box-sizing: border-box !important;
  background: rgba(255, 255, 255, 0.03);
  border-radius: 12px;
  margin-bottom: 8px;
  transition: background 0.2s ease, transform 0.2s ease;
}

.approw:hover {
  background: rgba(255, 255, 255, 0.06);
}

.approw__rank {
  order: 1 !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  width: 26px !important;
  font-size: 1.15rem !important;
  font-weight: 800 !important;
  color: #94a3b8 !important;
  flex-shrink: 0 !important;
  text-align: center !important;
}

.approw__icon {
  order: 2 !important;
  width: 50px !important;
  height: 50px !important;
  min-width: 50px !important;
  border-radius: 12px !important;
  object-fit: contain !important;
  flex-shrink: 0 !important;
  background: rgba(0, 0, 0, 0.2);
}

.approw__main {
  order: 3 !important;
  display: flex !important;
  flex-direction: column !important;
  justify-content: center !important;
  flex: 1 1 auto !important;
  min-width: 0 !important;
  gap: 2px !important;
}

.approw__name {
  color: #ffffff !important;
  font-size: 0.98rem !important;
  font-weight: 700 !important;
  white-space: nowrap !important;
  overflow: hidden !important;
  text-overflow: ellipsis !important;
  display: block !important;
}

.approw__sub {
  color: #94a3b8 !important;
  font-size: 0.82rem !important;
  white-space: nowrap !important;
  overflow: hidden !important;
  text-overflow: ellipsis !important;
  display: block !important;
}

.approw__cta {
  order: 4 !important;
  margin-left: auto !important;
  flex-shrink: 0 !important;
  padding: 8px 18px !important;
  border-radius: 9999px !important;
  background: #f59e0b !important;
  color: #06150f !important;
  font-weight: 800 !important;
  font-size: 0.84rem !important;
  text-align: center !important;
  white-space: nowrap !important;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.3);
  transition: background 0.2s ease, transform 0.2s ease;
}

.approw:hover .approw__cta {
  background: #fbbf24 !important;
  transform: scale(1.04);
}

@media (max-width: 480px) {
  .approw {
    gap: 10px !important;
    padding: 10px 10px !important;
  }
  .approw__rank {
    width: 20px !important;
    font-size: 1rem !important;
  }
  .approw__icon {
    width: 44px !important;
    height: 44px !important;
    min-width: 44px !important;
  }
  .approw__name {
    font-size: 0.9rem !important;
  }
  .approw__sub {
    font-size: 0.78rem !important;
  }
  .approw__cta {
    padding: 6px 14px !important;
    font-size: 0.8rem !important;
  }
}

/* ==========================================================================
   5. FOOTER STYLES (MATCHING IMAGE 3 SPECIFICATION)
   ========================================================================== */
.site-footer {
  margin: 32px 15px 15px 15px !important;
  width: calc(100% - 30px) !important;
  max-width: 1200px;
  margin-left: auto !important;
  margin-right: auto !important;
  border-radius: 20px !important;
  background-color: #040e0a;
  border: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.4);
  padding: 44px 24px 28px 24px;
  overflow: hidden;
  box-sizing: border-box;
  color: #94a3b8;
  font-size: 0.9rem;
}

.site-footer__inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 8px;
}

/* 5-Column Navigation Grid */
.footer-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 32px;
  margin-bottom: 36px;
}

@media (min-width: 600px) {
  .footer-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 992px) {
  .footer-grid {
    grid-template-columns: 1.8fr 1fr 1fr 1fr 1fr;
    gap: 24px;
  }
}

.footer-brand {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 14px;
}

.footer-brand__logo {
  width: 70px !important;
  height: 70px !important;
  min-width: 70px !important;
  min-height: 70px !important;
  object-fit: contain;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.04);
  padding: 4px;
}

.footer-brand__name {
  color: #f59e0b;
  font-size: 1.35rem;
  font-weight: 800;
  letter-spacing: -0.02em;
}

.footer-tagline {
  color: #94a3b8;
  line-height: 1.6;
  font-size: 0.88rem;
  margin: 0 0 16px 0;
}

.footer-learn-more {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: #fbbf24;
  font-weight: 600;
  font-size: 0.88rem;
  text-decoration: none;
  transition: transform 0.2s ease, color 0.2s ease;
}

.footer-learn-more:hover {
  color: #34d399;
  transform: translateX(3px);
}

.footer-col__title {
  color: #f8fafc;
  font-size: 0.82rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin: 0 0 16px 0;
}

.footer-links {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.footer-links a {
  color: #94a3b8;
  text-decoration: none;
  font-size: 0.88rem;
  transition: color 0.2s ease;
}

.footer-links a:hover {
  color: #fbbf24;
}

.footer-badge {
  display: inline-block;
  padding: 2px 8px;
  font-size: 0.75rem;
  font-weight: 700;
  background: rgba(245, 158, 11, 0.15);
  color: #fbbf24;
  border-radius: 4px;
  border: 1px solid rgba(245, 158, 11, 0.3);
}

/* Disclaimer Callout Box */
.footer-notice {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  background: rgba(8, 30, 20, 0.6);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 8px;
  padding: 16px 20px;
  margin-bottom: 32px;
}

.footer-notice__icon {
  color: #f59e0b;
  flex-shrink: 0;
  margin-top: 2px;
}

.footer-notice__text {
  color: #cbd5e1;
  font-size: 0.84rem;
  line-height: 1.55;
  margin: 0;
}

.footer-notice__text strong {
  color: #fff;
}

/* Bottom Bar */
.footer-bottom {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  padding-top: 20px;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  font-size: 0.84rem;
}

@media (min-width: 768px) {
  .footer-bottom {
    flex-direction: row;
  }
}

.footer-bottom__copy {
  margin: 0;
  color: #64748b;
}

.footer-bottom__nav {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
}

.footer-bottom__nav a {
  color: #94a3b8;
  text-decoration: none;
  transition: color 0.2s ease;
}

.footer-bottom__nav a:hover {
  color: #fbbf24;
}

.footer-bottom__nav .sep {
  color: #334155;
}

.footer-back-to-top {
  background: none;
  border: none;
  color: #f59e0b;
  font-weight: 700;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-size: 0.84rem;
  padding: 0;
  transition: color 0.2s ease;
}

.footer-back-to-top:hover {
  color: #34d399;
}

@media (max-width: 600px) {
  .site-footer {
    margin: 20px 10px 10px 10px !important;
    width: calc(100% - 20px) !important;
    padding: 32px 16px 24px 16px;
    border-radius: 18px !important;
  }
}
/* ==========================================================================
   IMAGE 1 FIX: HEADER MOBILE LAYOUT (Logo sa Kaliwa, Hamburger sa Kanan)
   ========================================================================== */
.appbar__container {
  display: flex !important;
  align-items: center !important;
  justify-content: flex-start !important;
  gap: 28px !important;
  width: 100% !important;
}

@media (max-width: 768px) {
  .appbar__container {
    justify-content: space-between !important; /* Itutulak ang Logo sa kaliwa at Hamburger sa kanan */
    gap: 12px !important;
  }

  /* Logo sa Kaliwa (Yellow Circle) */
  .appbar__logo {
    display: inline-flex !important;
    align-items: center !important;
    gap: 10px !important;
    margin-right: auto !important;
    flex-shrink: 0 !important;
  }

  .appbar__name {
    display: inline-block !important; /* Nakikita ang name sa mobile katabi ng logo */
    font-size: 1.05rem !important;
  }

  /* Hamburger sa Dulong Kanan (Gray Circle) */
  .appbar__hamburger {
    display: flex !important;
    margin-left: auto !important;
    flex-shrink: 0 !important;
  }

  /* Itago ang desktop links sa mobile */
  .appbar__nav-wrapper {
    display: none !important;
  }
}

/* ==========================================================================
   IMAGE 2 FIX: DIRECTORY ORDER / APP ROWS (Rank -> Logo -> Info -> View)
   ========================================================================== */
.approw {
  display: flex !important;
  flex-direction: row !important;
  flex-wrap: nowrap !important; /* Bawal mag-wrap pababa ang button */
  align-items: center !important;
  gap: 14px !important;
  padding: 12px 14px !important;
  text-decoration: none !important;
  width: 100% !important;
  box-sizing: border-box !important;
  background: rgba(255, 255, 255, 0.03);
  border-radius: 12px;
  margin-bottom: 8px;
  transition: background 0.2s ease, transform 0.2s ease;
}

.approw:hover {
  background: rgba(255, 255, 255, 0.06);
}

/* 1. Rank Number (Kaliwa) */
.approw__rank {
  order: 1 !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  width: 26px !important;
  font-size: 1.15rem !important;
  font-weight: 800 !important;
  color: #94a3b8 !important;
  flex-shrink: 0 !important;
  text-align: center !important;
}

/* 2. Logo Icon (GRAY SPOT sa tabi ng number) */
.approw__icon {
  order: 2 !important;
  width: 50px !important;
  height: 50px !important;
  min-width: 50px !important;
  border-radius: 12px !important;
  object-fit: contain !important;
  flex-shrink: 0 !important;
  background: rgba(0, 0, 0, 0.2);
}

/* 3. Game Title & Rating (ORANGE SPOT sa gitna) */
.approw__main {
  order: 3 !important;
  display: flex !important;
  flex-direction: column !important;
  justify-content: center !important;
  flex: 1 1 auto !important; /* Kakain ng espasyo sa gitna */
  min-width: 0 !important; /* Para sa clean ellipsis text */
  gap: 2px !important;
}

.approw__name {
  color: #ffffff !important;
  font-size: 0.98rem !important;
  font-weight: 700 !important;
  white-space: nowrap !important;
  overflow: hidden !important;
  text-overflow: ellipsis !important;
  display: block !important;
}

.approw__sub {
  color: #94a3b8 !important;
  font-size: 0.82rem !important;
  white-space: nowrap !important;
  overflow: hidden !important;
  text-overflow: ellipsis !important;
  display: block !important;
}

/* 4. "View" Button (BLUE SPOT sa dulong kanan) */
.approw__cta {
  order: 4 !important;
  margin-left: auto !important; /* Itinutulak sa pinakadulong kanan */
  flex-shrink: 0 !important;
  padding: 8px 18px !important;
  border-radius: 9999px !important;
  background: #f59e0b !important; /* Gold/Amber pill button */
  color: #06150f !important;
  font-weight: 800 !important;
  font-size: 0.84rem !important;
  text-align: center !important;
  white-space: nowrap !important;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.3);
  transition: background 0.2s ease, transform 0.2s ease;
}

.approw:hover .approw__cta {
  background: #fbbf24 !important;
  transform: scale(1.04);
}

/* Mobile Adjustments para sa maliliit na screen (360px - 480px) */
@media (max-width: 480px) {
  .approw {
    gap: 10px !important;
    padding: 10px 10px !important;
  }

  .approw__rank {
    width: 20px !important;
    font-size: 1rem !important;
  }

  .approw__icon {
    width: 44px !important;
    height: 44px !important;
    min-width: 44px !important;
  }

  .approw__name {
    font-size: 0.9rem !important;
  }

  .approw__sub {
    font-size: 0.78rem !important;
  }

  .approw__cta {
    padding: 6px 14px !important;
    font-size: 0.8rem !important;
  }
}
#catalog-notes,
section#catalog-notes {
  border-radius: 20px !important;
  overflow: hidden;
  margin-bottom: 24px !important;
}
/* ==========================================================================
   ATTRACTIVE INNER PAGES STYLING (English Edition)
   ========================================================================== */
.content-page {
  max-width: 860px;
  margin: 0 auto;
  padding: 12px 0 36px 0;
  line-height: 1.75;
  color: #cbd5e1;
}

.content-hero-badge {
  display: inline-block;
  padding: 4px 12px;
  background: rgba(245, 158, 11, 0.15);
  color: #fbbf24;
  border: 1px solid rgba(245, 158, 11, 0.3);
  border-radius: 9999px;
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-bottom: 12px;
}

.content-lead {
  font-size: 1.15rem;
  color: #f8fafc;
  margin-bottom: 24px;
}

.content-page h2 {
  color: #fff;
  font-size: 1.35rem;
  margin-top: 32px;
  margin-bottom: 14px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  padding-bottom: 8px;
}

.content-page a {
  color: #fbbf24;
  text-decoration: underline;
  text-underline-offset: 3px;
  transition: color 0.2s ease;
}

.content-page a:hover {
  color: #34d399;
}

/* Callout Box */
.content-card-callout {
  background: linear-gradient(135deg, rgba(12, 122, 76, 0.28) 0%, rgba(8, 30, 20, 0.6) 100%);
  border: 1px solid rgba(52, 211, 153, 0.3);
  border-radius: 16px;
  padding: 22px 24px;
  margin: 24px 0;
}

.content-card-callout h3 {
  margin-top: 0;
  color: #fff;
}

.content-btn {
  display: inline-block;
  background: #f59e0b;
  color: #06150f !important;
  font-weight: 800;
  font-size: 0.9rem;
  padding: 10px 22px;
  border-radius: 9999px;
  text-decoration: none !important;
  margin-top: 8px;
  transition: transform 0.2s ease, background 0.2s ease;
}

.content-btn:hover {
  background: #fbbf24;
  transform: translateY(-2px);
}

/* Safety & Warning Callouts */
.safety-box {
  background: rgba(239, 68, 68, 0.12);
  border-left: 4px solid #ef4444;
  padding: 14px 18px;
  border-radius: 8px;
  color: #fecaca;
  margin: 20px 0;
  font-size: 0.9rem;
}

/* Feature Grid */
.feature-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
  margin: 20px 0;
}

@media (min-width: 700px) {
  .feature-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.feature-box {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 12px;
  padding: 18px;
}

.feature-box h4 {
  margin: 0 0 8px 0;
  color: #fbbf24;
}

/* Search Hub Component */
.search-hub-box {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.1);
  padding: 20px;
  border-radius: 16px;
  margin: 20px 0;
}

.search-hub-form {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

@media (min-width: 600px) {
  .search-hub-form {
    flex-direction: row;
  }
}

.search-hub-form input[type="search"] {
  flex: 1;
  padding: 12px 18px;
  background: #f1f5f9;
  border: none;
  border-radius: 9999px;
  color: #0f172a;
  font-size: 1rem;
}

.category-pills-hub {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 14px;
}

.hub-pill {
  padding: 8px 16px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 9999px;
  font-size: 0.9rem;
  text-decoration: none !important;
  color: #e2e8f0 !important;
  transition: all 0.2s ease;
}

.hub-pill:hover {
  background: #0c7a4c;
  border-color: #fbbf24;
  color: #fff !important;
}

/* Sitemap Layout */
.sitemap-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
  margin-top: 24px;
}

@media (min-width: 650px) {
  .sitemap-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

.sitemap-card {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 14px;
  padding: 20px;
}

.sitemap-card h3 {
  margin: 0 0 14px 0;
  color: #f59e0b;
  font-size: 1.1rem;
}

.sitemap-card ul {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 8px;
}