/* ============================================================
   1111 bad — mobile shell stylesheet
   File   : css/responsive-17b523-shell.css
   Prefix : shell52385-
   Canvas : 320-430px phone frame, centered on wide screens
   Palette: #34495E base / #BBBBBB ink / #FFEF94 accent
   ============================================================ */

/* ---------- design tokens ---------- */
:root {
  --shell52385-bg: #34495e;
  --shell52385-bg-deep: #2a3b4c;
  --shell52385-bg-page: #22303d;
  --shell52385-panel: #3d5468;
  --shell52385-panel-soft: #435c73;
  --shell52385-line: rgba(187, 187, 187, 0.20);
  --shell52385-line-strong: rgba(255, 239, 148, 0.42);
  --shell52385-ink: #bbbbbb;
  --shell52385-ink-strong: #e6e6e6;
  --shell52385-ink-soft: rgba(187, 187, 187, 0.74);
  --shell52385-gold: #ffef94;
  --shell52385-gold-deep: #e9ce6b;
  --shell52385-gold-ghost: rgba(255, 239, 148, 0.10);
  --shell52385-r-card: 12px;
  --shell52385-r-btn: 8px;
  --shell52385-head-h: 108px;
  --shell52385-dock-h: 64px;
  --shell52385-font-body: "Noto Sans Bengali", "Hind Siliguri", "Segoe UI", system-ui, -apple-system, sans-serif;
  --shell52385-font-tech: "Bahnschrift", "Segoe UI Semibold", "Noto Sans Bengali", system-ui, sans-serif;
  --shell52385-font-mono: ui-monospace, "Cascadia Mono", "Consolas", "Courier New", monospace;
}

/* ---------- base ---------- */
* { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  background: var(--shell52385-bg-page);
  color: var(--shell52385-ink);
  font-family: var(--shell52385-font-body);
  font-size: 14px;
  line-height: 1.7;
}

img { max-width: 100%; display: block; }

.shell52385-shell {
  position: relative;
  max-width: 430px;
  margin: 0 auto;
  min-height: 100vh;
  background: var(--shell52385-bg);
  overflow-x: hidden;
}

.shell52385-shell :focus-visible {
  outline: 2px solid var(--shell52385-gold);
  outline-offset: 2px;
  border-radius: 4px;
}

.shell52385-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;
}

.shell52385-skip {
  position: absolute;
  left: 12px; top: -48px;
  z-index: 120;
  padding: 10px 14px;
  border-radius: var(--shell52385-r-btn);
  background: var(--shell52385-gold);
  color: #2a3b4c;
  font-weight: 800;
  text-decoration: none;
  transition: top 0.18s ease;
}

.shell52385-skip:focus { top: 8px; }

/* ---------- buttons ---------- */
.shell52385-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  min-height: 44px;
  padding: 10px 16px;
  border-radius: var(--shell52385-r-btn);
  font-family: var(--shell52385-font-tech);
  font-size: 13.5px;
  font-weight: 800;
  letter-spacing: 0.3px;
  cursor: pointer;
  text-decoration: none;
  transition: transform 0.18s ease, background 0.18s ease,
    color 0.18s ease, border-color 0.18s ease;
}

.shell52385-btn--solid {
  background: var(--shell52385-gold);
  border: 1px solid var(--shell52385-gold);
  color: #2a3b4c;
}

.shell52385-btn--solid:active {
  transform: scale(0.97);
  background: var(--shell52385-gold-deep);
}

.shell52385-btn--ghost {
  background: transparent;
  border: 1px solid var(--shell52385-gold);
  color: var(--shell52385-gold);
}

.shell52385-btn--ghost:active {
  transform: scale(0.97);
  background: var(--shell52385-gold-ghost);
}

/* inline promo text link (JS-driven, never carries the URL in href) */
.shell52385-plink {
  background: none;
  border: 0;
  margin: 0;
  padding: 2px 0;
  color: var(--shell52385-gold);
  font: inherit;
  font-weight: 700;
  text-decoration: underline;
  text-decoration-color: rgba(255, 239, 148, 0.55);
  text-underline-offset: 3px;
  cursor: pointer;
  transition: color 0.18s ease;
}

.shell52385-plink:active { color: var(--shell52385-gold-deep); }

/* real in-content internal link */
.shell52385-alink {
  color: var(--shell52385-gold);
  font-weight: 700;
  text-decoration: underline;
  text-decoration-color: rgba(255, 239, 148, 0.55);
  text-underline-offset: 3px;
}

/* ---------- fixed top bar (asymmetric brand header) ---------- */
.shell52385-topbar {
  position: fixed;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 100%;
  max-width: 430px;
  z-index: 90;
  background: linear-gradient(180deg, #3a5268 0%, #2e4257 100%);
  border-bottom: 1px solid var(--shell52385-line-strong);
  box-shadow: 0 8px 20px rgba(16, 25, 36, 0.35);
}

.shell52385-topbar__row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  padding: 8px 12px 4px;
}

.shell52385-brand {
  display: flex;
  align-items: center;
  gap: 9px;
  min-width: 0;
}

.shell52385-brand__logo {
  width: 36px;
  height: 36px;
  flex: 0 0 auto;
  border-radius: 10px;
  border: 1.5px solid var(--shell52385-gold);
  background: #243342;
  object-fit: cover;
}

.shell52385-brand__name {
  font-family: var(--shell52385-font-tech);
  font-size: 18px;
  font-weight: 800;
  letter-spacing: 0.4px;
  color: var(--shell52385-ink-strong);
  white-space: nowrap;
}

.shell52385-brand__digits {
  font-family: var(--shell52385-font-mono);
  color: var(--shell52385-gold);
}

/* burger: three bars morph into an X when open */
.shell52385-burger {
  position: relative;
  width: 44px;
  height: 44px;
  flex: 0 0 auto;
  display: grid;
  place-items: center;
  gap: 0;
  background: rgba(187, 187, 187, 0.07);
  border: 1px solid var(--shell52385-line);
  border-radius: var(--shell52385-r-btn);
  cursor: pointer;
  transition: border-color 0.18s ease, background 0.18s ease;
}

.shell52385-burger:active { background: var(--shell52385-gold-ghost); }

.shell52385-burger__bar {
  position: absolute;
  left: 12px;
  width: 18px;
  height: 2px;
  border-radius: 2px;
  background: var(--shell52385-ink-strong);
  transition: transform 0.22s ease, opacity 0.18s ease, background 0.18s ease;
}

.shell52385-burger__bar:nth-child(1) { top: 15px; }
.shell52385-burger__bar:nth-child(2) { top: 21px; }
.shell52385-burger__bar:nth-child(3) { top: 27px; }

.shell52385-burger.is-open .shell52385-burger__bar { background: var(--shell52385-gold); }
.shell52385-burger.is-open .shell52385-burger__bar:nth-child(1) { transform: translateY(6px) rotate(45deg); }
.shell52385-burger.is-open .shell52385-burger__bar:nth-child(2) { opacity: 0; }
.shell52385-burger.is-open .shell52385-burger__bar:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }

/* action strip under the brand row */
.shell52385-topbar__actions {
  display: flex;
  gap: 8px;
  padding: 0 12px 10px;
}

.shell52385-topbar__actions .shell52385-btn { flex: 1 1 50%; }

/* layered dropdown menu */
.shell52385-drop {
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  background: #2e4156;
  border-bottom: 1px solid var(--shell52385-line-strong);
  box-shadow: 0 18px 28px rgba(12, 19, 28, 0.45);
  max-height: 0;
  overflow: hidden;
  visibility: hidden;
  transition: max-height 0.26s ease, visibility 0.26s;
}

.shell52385-drop.is-open { max-height: 588px; visibility: visible; }

.shell52385-drop__group { padding: 10px 12px 12px; }

.shell52385-drop__group + .shell52385-drop__group { border-top: 1px dashed var(--shell52385-line); }

.shell52385-drop__label {
  margin: 0 0 7px;
  font-family: var(--shell52385-font-mono);
  font-size: 10px;
  letter-spacing: 1.6px;
  color: var(--shell52385-gold);
}

.shell52385-drop__links {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 6px;
}

.shell52385-drop__link {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 6px;
  min-height: 44px;
  padding: 8px 10px;
  border: 1px solid var(--shell52385-line);
  border-radius: var(--shell52385-r-btn);
  background: rgba(187, 187, 187, 0.05);
  color: var(--shell52385-ink-strong);
  font-size: 12.5px;
  text-decoration: none;
  transition: border-color 0.18s ease, background 0.18s ease;
}

.shell52385-drop__link::after {
  content: "\203A";
  color: var(--shell52385-gold);
  font-size: 16px;
  line-height: 1;
}

.shell52385-drop__link:active {
  border-color: var(--shell52385-line-strong);
  background: var(--shell52385-gold-ghost);
}

/* ---------- main column ---------- */
.shell52385-main {
  padding-top: calc(var(--shell52385-head-h) + 12px);
  /* keep clear of the fixed bottom dock */
  padding-bottom: calc(var(--shell52385-dock-h) + 44px);
}

/* ---------- hero ---------- */
.shell52385-hero { padding: 4px 12px 2px; }

.shell52385-hero__title {
  margin: 0 0 8px;
  font-family: var(--shell52385-font-tech);
  font-size: 21px;
  line-height: 1.4;
  font-weight: 800;
  color: var(--shell52385-ink-strong);
}

.shell52385-hero__accent { color: var(--shell52385-gold); }

.shell52385-hero__lead {
  margin: 0 0 12px;
  font-size: 13.5px;
  line-height: 1.78;
  color: var(--shell52385-ink);
}

/* ---------- carousel ---------- */
.shell52385-carousel {
  position: relative;
  border-radius: 14px;
  overflow: hidden;
  border: 1px solid var(--shell52385-line-strong);
  background: #243342;
}

.shell52385-carousel__track {
  display: flex;
  transition: transform 0.34s ease;
}

.shell52385-carousel__slide {
  flex: 0 0 100%;
  display: block;
  padding: 0;
  border: 0;
  background: none;
  cursor: pointer;
}

.shell52385-carousel__slide img {
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
}

.shell52385-carousel__dots {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 9px;
  display: flex;
  justify-content: center;
  gap: 6px;
}

.shell52385-carousel__dot {
  width: 8px;
  height: 8px;
  padding: 0;
  border: 0;
  border-radius: 4px;
  background: rgba(187, 187, 187, 0.55);
  cursor: pointer;
  transition: width 0.2s ease, background 0.2s ease;
}

.shell52385-carousel__dot.is-on {
  width: 18px;
  background: var(--shell52385-gold);
}

/* ---------- section scaffold (numbered, lead-first) ---------- */
.shell52385-sec { padding: 22px 12px 2px; }

.shell52385-sec__head {
  display: flex;
  align-items: baseline;
  gap: 8px;
  padding-bottom: 8px;
  margin-bottom: 10px;
  border-bottom: 1px solid var(--shell52385-line);
}

.shell52385-sec__index {
  font-family: var(--shell52385-font-mono);
  font-size: 11px;
  letter-spacing: 1px;
  color: var(--shell52385-gold);
}

.shell52385-sec__title {
  margin: 0;
  font-family: var(--shell52385-font-tech);
  font-size: 16.5px;
  line-height: 1.45;
  font-weight: 800;
  color: var(--shell52385-ink-strong);
}

.shell52385-sec__lead {
  margin: 0 0 12px;
  font-size: 13px;
  line-height: 1.75;
  color: var(--shell52385-ink-soft);
}

.shell52385-sec__text {
  margin: 0 0 12px;
  font-size: 13px;
  line-height: 1.78;
  color: var(--shell52385-ink);
}

/* ---------- game grid: mixed hero tile + small tiles ---------- */
.shell52385-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 8px;
}

.shell52385-tile {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  padding: 6px 4px 7px;
  background: var(--shell52385-panel);
  border: 1px solid var(--shell52385-line);
  border-radius: var(--shell52385-r-card);
  cursor: pointer;
  transition: transform 0.18s ease, background 0.18s ease, border-color 0.18s ease;
}

.shell52385-tile:active {
  transform: scale(0.965);
  background: var(--shell52385-panel-soft);
  border-color: var(--shell52385-line-strong);
}

.shell52385-tile img {
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  border-radius: 8px;
  background: #243342;
}

.shell52385-tile__name {
  font-size: 11px;
  line-height: 1.3;
  text-align: center;
  color: var(--shell52385-ink);
  min-height: 2.6em;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  word-break: break-word;
}

/* large variant: spans two tracks, taller art, gold caption */
.shell52385-tile--hero {
  grid-column: span 2;
  padding: 8px 8px 9px;
  border-color: var(--shell52385-line-strong);
  background: linear-gradient(160deg, #425a73 0%, #31485e 100%);
}

.shell52385-tile--hero img { aspect-ratio: 16 / 10; border-radius: 9px; }

.shell52385-tile__name--hero {
  font-size: 12.5px;
  font-weight: 700;
  color: var(--shell52385-gold);
  min-height: 1.4em;
  -webkit-line-clamp: 1;
}

/* ---------- offers ---------- */
.shell52385-offers {
  display: grid;
  gap: 10px;
}

.shell52385-offer {
  position: relative;
  padding: 12px;
  background: var(--shell52385-panel);
  border: 1px solid var(--shell52385-line);
  border-left: 3px solid var(--shell52385-gold);
  border-radius: var(--shell52385-r-card);
}

.shell52385-offer__title {
  margin: 0 0 6px;
  font-family: var(--shell52385-font-tech);
  font-size: 14px;
  font-weight: 800;
  color: var(--shell52385-ink-strong);
}

.shell52385-offer__text {
  margin: 0 0 8px;
  font-size: 12.5px;
  line-height: 1.72;
  color: var(--shell52385-ink-soft);
}

/* ---------- play style cards ---------- */
.shell52385-styles {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
}

.shell52385-style {
  padding: 10px;
  background: rgba(187, 187, 187, 0.04);
  border: 1px dashed var(--shell52385-line);
  border-radius: 10px;
}

.shell52385-style__name {
  display: block;
  margin-bottom: 4px;
  font-family: var(--shell52385-font-tech);
  font-size: 12.5px;
  font-weight: 800;
  color: var(--shell52385-gold);
}

.shell52385-style__note {
  margin: 0;
  font-size: 11.5px;
  line-height: 1.65;
  color: var(--shell52385-ink-soft);
}

/* ---------- rtp stat strip ---------- */
.shell52385-stats {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
  margin: 0 0 12px;
}

.shell52385-stat {
  padding: 9px 6px;
  text-align: center;
  background: var(--shell52385-panel);
  border: 1px solid var(--shell52385-line);
  border-radius: 10px;
}

.shell52385-stat__value {
  display: block;
  font-family: var(--shell52385-font-mono);
  font-size: 14.5px;
  font-weight: 700;
  color: var(--shell52385-gold);
}

.shell52385-stat__label {
  display: block;
  margin-top: 3px;
  font-size: 10.5px;
  line-height: 1.4;
  color: var(--shell52385-ink-soft);
}

/* ---------- faq ---------- */
.shell52385-faq {
  margin-bottom: 8px;
  background: var(--shell52385-panel);
  border: 1px solid var(--shell52385-line);
  border-radius: 10px;
  overflow: hidden;
}

.shell52385-faq__q {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  min-height: 48px;
  padding: 12px;
  cursor: pointer;
  list-style: none;
  font-size: 13px;
  font-weight: 700;
  line-height: 1.5;
  color: var(--shell52385-ink-strong);
  transition: color 0.18s ease;
}

.shell52385-faq__q::-webkit-details-marker { display: none; }

.shell52385-faq__q::after {
  content: "+";
  flex: 0 0 auto;
  font-family: var(--shell52385-font-mono);
  font-size: 17px;
  color: var(--shell52385-gold);
  transition: transform 0.2s ease;
}

.shell52385-faq[open] .shell52385-faq__q { color: var(--shell52385-gold); }

.shell52385-faq[open] .shell52385-faq__q::after { transform: rotate(45deg); }

.shell52385-faq__a {
  padding: 0 12px 12px;
  font-size: 12.5px;
  line-height: 1.75;
  color: var(--shell52385-ink-soft);
}

/* ---------- takeaways + steps ---------- */
.shell52385-take {
  display: grid;
  gap: 8px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.shell52385-take li {
  position: relative;
  padding: 9px 10px 9px 28px;
  font-size: 12.5px;
  line-height: 1.65;
  color: var(--shell52385-ink);
  background: var(--shell52385-panel);
  border: 1px solid var(--shell52385-line);
  border-radius: 10px;
}

.shell52385-take li::before {
  content: "\25C6";
  position: absolute;
  left: 10px;
  top: 11px;
  font-size: 9px;
  color: var(--shell52385-gold);
}

.shell52385-steps {
  display: grid;
  gap: 8px;
  margin: 0;
  padding: 0;
  list-style: none;
  counter-reset: shell52385step;
}

.shell52385-steps li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  padding: 10px;
  font-size: 12.5px;
  line-height: 1.65;
  color: var(--shell52385-ink);
  background: rgba(187, 187, 187, 0.04);
  border: 1px dashed var(--shell52385-line);
  border-radius: 10px;
  counter-increment: shell52385step;
}

.shell52385-steps li::before {
  content: counter(shell52385step, decimal-leading-zero);
  flex: 0 0 auto;
  margin-top: 2px;
  font-family: var(--shell52385-font-mono);
  font-size: 12px;
  font-weight: 700;
  color: var(--shell52385-gold);
}

/* ---------- extended footer ---------- */
.shell52385-xfooter {
  margin-top: 24px;
  padding: 16px 12px 12px;
  background: var(--shell52385-bg-deep);
  border-top: 1px solid var(--shell52385-line-strong);
}

.shell52385-xfooter__label {
  margin: 0 0 8px;
  font-family: var(--shell52385-font-mono);
  font-size: 10px;
  letter-spacing: 1.4px;
  color: var(--shell52385-gold);
}

.shell52385-xfooter__group { margin-bottom: 14px; }

.shell52385-xactions {
  display: grid;
  gap: 7px;
}

.shell52385-xact {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  min-height: 46px;
  padding: 10px 12px;
  background: linear-gradient(120deg, rgba(255, 239, 148, 0.12), rgba(187, 187, 187, 0.04));
  border: 1px solid var(--shell52385-line-strong);
  border-radius: 9px;
  color: var(--shell52385-ink-strong);
  font-family: var(--shell52385-font-tech);
  font-size: 13px;
  font-weight: 700;
  text-align: left;
  cursor: pointer;
  transition: transform 0.18s ease, background 0.18s ease;
}

.shell52385-xact::after {
  content: "\2192";
  flex: 0 0 auto;
  color: var(--shell52385-gold);
  font-size: 15px;
}

.shell52385-xact:active {
  transform: scale(0.98);
  background: rgba(255, 239, 148, 0.18);
}

.shell52385-xfooter__brand {
  margin: 0 0 14px;
  font-size: 12px;
  line-height: 1.7;
  color: var(--shell52385-ink-soft);
}

.shell52385-dir {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 6px;
  margin-bottom: 14px;
}

.shell52385-dir a {
  display: flex;
  align-items: center;
  min-height: 44px;
  padding: 8px 10px;
  background: rgba(187, 187, 187, 0.05);
  border: 1px solid var(--shell52385-line);
  border-radius: var(--shell52385-r-btn);
  color: var(--shell52385-ink);
  font-size: 11.5px;
  line-height: 1.4;
  text-decoration: none;
  transition: border-color 0.18s ease, color 0.18s ease;
}

.shell52385-dir a:active {
  border-color: var(--shell52385-line-strong);
  color: var(--shell52385-gold);
}

.shell52385-xfooter__note {
  margin: 0;
  padding-top: 10px;
  border-top: 1px dashed var(--shell52385-line);
  font-size: 11px;
  line-height: 1.68;
  color: rgba(187, 187, 187, 0.62);
}

/* ---------- common footer (copyright only) ---------- */
.shell52385-footer {
  padding: 4px 12px 18px;
  text-align: center;
  font-size: 11.5px;
  color: rgba(187, 187, 187, 0.62);
}

/* ---------- bottom dock: segmented action bar ---------- */
.shell52385-dock {
  position: fixed;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 100%;
  max-width: 430px;
  z-index: 95;
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  padding: 5px 4px calc(5px + env(safe-area-inset-bottom, 0px));
  background: rgba(37, 52, 67, 0.97);
  backdrop-filter: blur(6px);
  border-top: 1px solid var(--shell52385-line-strong);
}

.shell52385-dock__item {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 3px;
  min-height: 52px;
  padding: 4px 2px;
  background: none;
  border: 0;
  font-family: var(--shell52385-font-body);
  font-size: 10px;
  letter-spacing: 0.2px;
  line-height: 1.25;
  color: var(--shell52385-ink);
  text-decoration: none;
  cursor: pointer;
  transition: color 0.18s ease;
}

.shell52385-dock__item + .shell52385-dock__item {
  border-left: 1px solid rgba(187, 187, 187, 0.14);
}

.shell52385-dock__item:active { color: var(--shell52385-gold-deep); }

.shell52385-dock__item.is-active { color: var(--shell52385-gold); }

/* two-tone role icons: outline + gold accent, color-switch on active */
.shell52385-icn {
  width: 22px;
  height: 22px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.7;
  stroke-linecap: round;
  stroke-linejoin: round;
  transition: transform 0.18s ease;
}

.shell52385-icn__a {
  fill: rgba(255, 239, 148, 0.55);
  stroke: none;
  transition: fill 0.18s ease;
}

.shell52385-dock__item.is-active .shell52385-icn__a { fill: var(--shell52385-gold); }

.shell52385-dock__item.is-active .shell52385-icn {
  transform: translateY(-1px) scale(1.07);
}

.shell52385-dock__item:active .shell52385-icn { transform: scale(0.9); }

/* ---------- responsive nudges ---------- */
@media (min-width: 375px) {
  .shell52385-grid { gap: 10px; }
  .shell52385-tile__name { font-size: 11.5px; }
  .shell52385-hero__title { font-size: 22px; }
}

@media (min-width: 431px) {
  .shell52385-shell {
    box-shadow:
      0 0 0 1px rgba(187, 187, 187, 0.14),
      0 26px 64px rgba(8, 14, 22, 0.55);
  }
}

/* ---------- motion budget ---------- */
@media (prefers-reduced-motion: reduce) {
  .shell52385-shell *,
  .shell52385-topbar,
  .shell52385-dock {
    transition-duration: 0.01ms !important;
    animation: none !important;
  }
}
