/* ==========================================================================
   six6.homes - compact-4c5ac2-layers.css
   Mobile-first phone-canvas styles (stable 320-430px canvas, centered wider).
   Class prefix: view4c5ac-
   Palette anchors: #FFC0CB / #1B263B / #F0FDFF / #B2DFDB / #0097A7
   Voice: humanist serif headings, clear sans body, pill buttons, square-ish
   cards, light floating game tiles, step-by-step information rhythm.
   ========================================================================== */

/* --------------------------------------------------------------------------
   1. Design tokens
   -------------------------------------------------------------------------- */
:root {
  --view4c5ac-night: #121a2b;          /* page backdrop behind the canvas */
  --view4c5ac-ink: #1b263b;            /* canvas background (dark navy) */
  --view4c5ac-ink-2: #22304c;          /* raised surface */
  --view4c5ac-ink-3: #2a3a5c;          /* higher surface / hover */
  --view4c5ac-paper: #f0fdff;          /* primary text (near white) */
  --view4c5ac-mist: #b2dfdb;           /* muted text / borders (light teal) */
  --view4c5ac-teal: #0097a7;           /* brand accent */
  --view4c5ac-teal-2: #00b4c8;         /* brighter teal for lines/gradients */
  --view4c5ac-teal-deep: #007c8a;      /* accessible teal fill */
  --view4c5ac-petal: #ffc0cb;          /* secondary accent (pink) */
  --view4c5ac-line: rgba(178, 223, 219, 0.18);
  --view4c5ac-line-2: rgba(178, 223, 219, 0.32);
  --view4c5ac-shadow: 0 10px 26px rgba(9, 14, 26, 0.5);
  --view4c5ac-f-head: "Noto Serif Bengali", "SolaimanLipi", Georgia, "Times New Roman", serif;
  --view4c5ac-f-body: "Noto Sans Bengali", "SolaimanLipi", "Segoe UI", system-ui, -apple-system, sans-serif;
  --view4c5ac-pad: 14px;               /* page gutter */
  --view4c5ac-topbar-h: 56px;          /* fixed header height */
  --view4c5ac-dock-h: 64px;            /* fixed bottom nav height */
  --view4c5ac-radius-card: 8px;        /* cards stay square-ish */
  --view4c5ac-radius-btn: 999px;       /* buttons are pills */
  --view4c5ac-ease: cubic-bezier(0.22, 0.61, 0.36, 1);
}

/* --------------------------------------------------------------------------
   2. Base & reset
   -------------------------------------------------------------------------- */
*,
*::before,
*::after { box-sizing: border-box; }

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

body {
  margin: 0;
  background: var(--view4c5ac-night);
  color: var(--view4c5ac-paper);
  font-family: var(--view4c5ac-f-body);
  font-size: 15px;
  line-height: 1.65;
  min-height: 100vh;
  overflow-x: hidden;
}

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

a { color: var(--view4c5ac-teal-2); text-decoration: none; }
a:hover { color: var(--view4c5ac-petal); }

button {
  font-family: inherit;
  color: inherit;
}

h1, h2, h3, h4 {
  font-family: var(--view4c5ac-f-head);
  font-weight: 700;
  line-height: 1.3;
  margin: 0 0 8px;
  color: var(--view4c5ac-paper);
}

p { margin: 0 0 10px; }
ul, ol { margin: 0 0 10px; padding-left: 20px; }

:focus-visible {
  outline: 2px solid var(--view4c5ac-petal);
  outline-offset: 2px;
  border-radius: 4px;
}

::selection { background: var(--view4c5ac-teal); color: var(--view4c5ac-paper); }

/* Phone canvas: everything lives inside a centered 430px column. */
.view4c5ac-shell {
  position: relative;
  max-width: 430px;
  margin: 0 auto;
  background: var(--view4c5ac-ink);
  min-height: 100vh;
  box-shadow: 0 0 44px rgba(0, 0, 0, 0.55);
  overflow-x: clip;
}

/* Skip link (keyboard users) */
.view4c5ac-skip {
  position: absolute;
  left: 12px;
  top: -48px;
  z-index: 200;
  background: var(--view4c5ac-teal-deep);
  color: var(--view4c5ac-paper);
  padding: 10px 16px;
  border-radius: 0 0 10px 10px;
  font-weight: 700;
  transition: top 0.18s var(--view4c5ac-ease);
}
.view4c5ac-skip:focus { top: 0; color: var(--view4c5ac-paper); }

/* Screen-reader-only helper */
.view4c5ac-sr {
  position: absolute;
  width: 1px; height: 1px;
  margin: -1px; padding: 0;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
  border: 0;
}

/* --------------------------------------------------------------------------
   3. Top action bar (minimal title + action strip, fixed to canvas top)
   -------------------------------------------------------------------------- */
.view4c5ac-topbar {
  position: fixed;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 100%;
  max-width: 430px;
  height: var(--view4c5ac-topbar-h);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  padding: 0 12px;
  background: rgba(27, 38, 59, 0.96);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--view4c5ac-line);
  z-index: 80;
}

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

.view4c5ac-logo {
  width: 36px;
  height: 36px;
  border-radius: 10px;
  border: 1px solid var(--view4c5ac-line-2);
  box-shadow: 0 3px 10px rgba(0, 151, 167, 0.35);
  flex: 0 0 auto;
}

.view4c5ac-brandname {
  font-family: var(--view4c5ac-f-head);
  font-size: 21px;
  font-weight: 800;
  letter-spacing: 0.02em;
  color: var(--view4c5ac-paper);
  white-space: nowrap;
}

.view4c5ac-actions {
  display: flex;
  align-items: center;
  gap: 7px;
  flex: 0 0 auto;
}

/* Pill buttons: register = teal fill, login = pink outline */
.view4c5ac-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  min-height: 40px;
  padding: 0 15px;
  border-radius: var(--view4c5ac-radius-btn);
  border: 1px solid transparent;
  font-size: 13.5px;
  font-weight: 700;
  line-height: 1;
  cursor: pointer;
  text-align: center;
  transition: transform 0.16s var(--view4c5ac-ease), box-shadow 0.16s var(--view4c5ac-ease),
    background 0.16s var(--view4c5ac-ease), color 0.16s var(--view4c5ac-ease);
}
.view4c5ac-btn:active { transform: scale(0.96); }

.view4c5ac-btn-reg {
  background: linear-gradient(135deg, var(--view4c5ac-teal-deep), var(--view4c5ac-teal));
  color: var(--view4c5ac-paper);
  box-shadow: 0 4px 14px rgba(0, 151, 167, 0.4);
}
.view4c5ac-btn-reg:hover { color: var(--view4c5ac-paper); box-shadow: 0 6px 18px rgba(0, 151, 167, 0.55); }

.view4c5ac-btn-log {
  background: transparent;
  color: var(--view4c5ac-petal);
  border-color: rgba(255, 192, 203, 0.65);
}
.view4c5ac-btn-log:hover { background: rgba(255, 192, 203, 0.12); color: var(--view4c5ac-petal); }

/* Burger button opens the full-height menu layer */
.view4c5ac-menubtn {
  width: 40px;
  height: 40px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--view4c5ac-line-2);
  border-radius: 12px;
  background: var(--view4c5ac-ink-2);
  cursor: pointer;
  transition: background 0.16s var(--view4c5ac-ease), transform 0.16s var(--view4c5ac-ease);
}
.view4c5ac-menubtn:active { transform: scale(0.94); }
.view4c5ac-menubtn:hover { background: var(--view4c5ac-ink-3); }
.view4c5ac-menubtn svg { width: 20px; height: 20px; display: block; }

/* --------------------------------------------------------------------------
   4. Full-height menu layer (slides from the right, with backdrop)
   -------------------------------------------------------------------------- */
.view4c5ac-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(9, 14, 26, 0.62);
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.24s var(--view4c5ac-ease), visibility 0.24s;
  z-index: 94;
}
.view4c5ac-backdrop.view4c5ac-open { opacity: 1; visibility: visible; }

.view4c5ac-menu {
  position: fixed;
  top: 0;
  right: 0;
  height: 100%;
  width: min(86%, 340px);
  background: linear-gradient(180deg, #1d2a44, #16203a);
  border-left: 1px solid var(--view4c5ac-line-2);
  box-shadow: -18px 0 40px rgba(0, 0, 0, 0.5);
  transform: translateX(102%);
  transition: transform 0.26s var(--view4c5ac-ease);
  z-index: 95;
  display: flex;
  flex-direction: column;
  padding: 14px 0 calc(16px + env(safe-area-inset-bottom));
  overflow-y: auto;
}
.view4c5ac-menu.view4c5ac-open { transform: translateX(0); }

body.view4c5ac-menu-open { overflow: hidden; }

.view4c5ac-menuhead {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 16px 12px;
  border-bottom: 1px solid var(--view4c5ac-line);
}

.view4c5ac-menuclose {
  width: 38px;
  height: 38px;
  border-radius: 11px;
  border: 1px solid var(--view4c5ac-line-2);
  background: var(--view4c5ac-ink-2);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
}
.view4c5ac-menuclose svg { width: 17px; height: 17px; display: block; }

.view4c5ac-menugroup { padding: 12px 16px 2px; }
.view4c5ac-menulabel {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.06em;
  color: var(--view4c5ac-teal-2);
  margin: 0 0 4px;
}

/* Menu rows carry a top indicator line when active/hovered */
.view4c5ac-menulink {
  position: relative;
  display: flex;
  align-items: center;
  gap: 8px;
  min-height: 46px;
  padding: 0 12px;
  border-radius: 10px;
  color: var(--view4c5ac-paper);
  font-size: 15px;
  font-weight: 600;
  transition: background 0.15s var(--view4c5ac-ease), color 0.15s var(--view4c5ac-ease);
}
.view4c5ac-menulink::before {
  content: "";
  position: absolute;
  left: 12px;
  right: auto;
  top: 4px;
  width: 0;
  height: 2px;
  border-radius: 2px;
  background: var(--view4c5ac-teal-2);
  transition: width 0.18s var(--view4c5ac-ease);
}
.view4c5ac-menulink:hover {
  background: rgba(0, 151, 167, 0.14);
  color: var(--view4c5ac-petal);
}
.view4c5ac-menulink:hover::before { width: 22px; }
.view4c5ac-menulink[aria-current="page"] { color: var(--view4c5ac-petal); }
.view4c5ac-menulink[aria-current="page"]::before { width: 26px; }

.view4c5ac-menupromo {
  margin: auto 16px 6px;
  min-height: 48px;
  width: calc(100% - 32px);
}

/* --------------------------------------------------------------------------
   5. Main column
   -------------------------------------------------------------------------- */
.view4c5ac-main {
  padding-top: calc(var(--view4c5ac-topbar-h) + 10px);
  padding-bottom: calc(var(--view4c5ac-dock-h) + 26px + env(safe-area-inset-bottom));
}

.view4c5ac-sec {
  padding: 0 var(--view4c5ac-pad) 22px;
  scroll-margin-top: calc(var(--view4c5ac-topbar-h) + 8px);
}

.view4c5ac-kicker {
  display: inline-block;
  font-size: 11px;
  font-weight: 700;
  color: var(--view4c5ac-teal-2);
  border: 1px solid rgba(0, 180, 200, 0.4);
  border-radius: 999px;
  padding: 2px 10px;
  margin-bottom: 8px;
  background: rgba(0, 151, 167, 0.1);
}

.view4c5ac-h2 {
  font-size: 19px;
  margin-bottom: 6px;
}

.view4c5ac-sechead {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 10px;
  margin-bottom: 6px;
}

.view4c5ac-count {
  flex: 0 0 auto;
  font-size: 11.5px;
  font-weight: 700;
  color: var(--view4c5ac-petal);
  background: rgba(255, 192, 203, 0.1);
  border: 1px solid rgba(255, 192, 203, 0.35);
  border-radius: 999px;
  padding: 2px 10px;
  white-space: nowrap;
}

.view4c5ac-lede {
  color: var(--view4c5ac-mist);
  font-size: 13.5px;
  margin-bottom: 12px;
}

/* --------------------------------------------------------------------------
   6. Hero carousel (three real promo banners, restrained cross-fade)
   -------------------------------------------------------------------------- */
.view4c5ac-hero {
  padding: 0 var(--view4c5ac-pad) 6px;
}

.view4c5ac-heroframe {
  position: relative;
  aspect-ratio: 2 / 1;
  border-radius: var(--view4c5ac-radius-card);
  overflow: hidden;
  border: 1px solid var(--view4c5ac-line-2);
  box-shadow: var(--view4c5ac-shadow);
  background: var(--view4c5ac-ink-2);
}

.view4c5ac-heroitem {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  margin: 0;
  padding: 0;
  border: 0;
  background: none;
  cursor: pointer;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.55s var(--view4c5ac-ease), visibility 0.55s;
  text-align: left;
  -webkit-tap-highlight-color: rgba(0, 151, 167, 0.25);
}
.view4c5ac-heroitem.view4c5ac-on {
  opacity: 1;
  visibility: visible;
}
.view4c5ac-heroitem img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.view4c5ac-herocap {
  position: absolute;
  left: 0; right: 0; bottom: 0;
  display: block;
  padding: 26px 12px 10px;
  background: linear-gradient(180deg, rgba(18, 26, 43, 0), rgba(18, 26, 43, 0.94));
}

.view4c5ac-herokick {
  display: block;
  font-size: 10.5px;
  font-weight: 700;
  letter-spacing: 0.05em;
  color: var(--view4c5ac-petal);
  margin-bottom: 2px;
}

.view4c5ac-herotitle {
  display: block;
  font-family: var(--view4c5ac-f-head);
  font-size: 15.5px;
  font-weight: 700;
  line-height: 1.35;
  color: var(--view4c5ac-paper);
}

.view4c5ac-herocta {
  display: inline-block;
  margin-top: 6px;
  font-size: 11.5px;
  font-weight: 700;
  color: var(--view4c5ac-teal-2);
  border-bottom: 1px dashed rgba(0, 180, 200, 0.6);
}

.view4c5ac-herodots {
  display: flex;
  justify-content: center;
  gap: 8px;
  padding: 9px 0 0;
}

.view4c5ac-herodot {
  width: 9px;
  height: 9px;
  padding: 0;
  border-radius: 999px;
  border: 1px solid var(--view4c5ac-teal-2);
  background: transparent;
  cursor: pointer;
  transition: width 0.2s var(--view4c5ac-ease), background 0.2s var(--view4c5ac-ease);
}
.view4c5ac-herodot.view4c5ac-on {
  width: 26px;
  background: var(--view4c5ac-teal-2);
}

/* --------------------------------------------------------------------------
   7. Intro block (H1 + lead + fact chips + staggered CTA pair)
   -------------------------------------------------------------------------- */
.view4c5ac-intro h1 {
  font-size: 23px;
  line-height: 1.32;
  margin-bottom: 10px;
}

.view4c5ac-lead {
  color: var(--view4c5ac-mist);
  font-size: 14px;
}

.view4c5ac-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
  margin: 12px 0 14px;
}

.view4c5ac-chip {
  font-size: 11.5px;
  font-weight: 700;
  color: var(--view4c5ac-paper);
  background: rgba(0, 151, 167, 0.16);
  border: 1px solid rgba(0, 180, 200, 0.4);
  border-radius: 8px;
  padding: 4px 10px;
}

.view4c5ac-ctapair {
  display: flex;
  flex-wrap: wrap;
  align-items: stretch;
  gap: 10px;
}

/* Staggered CTA: primary is larger, secondary is a compact pill */
.view4c5ac-ctamain {
  min-height: 50px;
  padding: 0 22px;
  font-size: 15px;
}
.view4c5ac-ctasub {
  min-height: 42px;
  padding: 0 16px;
  font-size: 13px;
  align-self: center;
  background: transparent;
  color: var(--view4c5ac-mist);
  border-color: var(--view4c5ac-line-2);
}
.view4c5ac-ctasub:hover { color: var(--view4c5ac-paper); border-color: var(--view4c5ac-petal); }

/* --------------------------------------------------------------------------
   8. Category shortcut strip (horizontal scroll, anchors to sections)
   -------------------------------------------------------------------------- */
.view4c5ac-catbar {
  display: flex;
  gap: 8px;
  overflow-x: auto;
  padding: 2px var(--view4c5ac-pad) 14px;
  scrollbar-width: none;
}
.view4c5ac-catbar::-webkit-scrollbar { display: none; }

.view4c5ac-catchip {
  flex: 0 0 auto;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  min-height: 36px;
  padding: 0 14px;
  border-radius: 999px;
  border: 1px solid var(--view4c5ac-line-2);
  background: var(--view4c5ac-ink-2);
  color: var(--view4c5ac-mist);
  font-size: 12.5px;
  font-weight: 700;
  white-space: nowrap;
}
.view4c5ac-catchip:hover {
  color: var(--view4c5ac-petal);
  border-color: rgba(255, 192, 203, 0.55);
}
.view4c5ac-catchip b {
  color: var(--view4c5ac-teal-2);
  font-weight: 800;
}

/* --------------------------------------------------------------------------
   9. Game grid + light floating tiles
   -------------------------------------------------------------------------- */
.view4c5ac-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 9px 7px;
  margin-bottom: 10px;
}

.view4c5ac-game {
  display: flex;
  flex-direction: column;
  padding: 0;
  margin: 0;
  border: 0;
  background: none;
  cursor: pointer;
  text-align: center;
  -webkit-tap-highlight-color: rgba(0, 151, 167, 0.25);
}

.view4c5ac-gamethumb {
  position: relative;
  display: block;
  aspect-ratio: 1 / 1;
  border-radius: var(--view4c5ac-radius-card);
  overflow: hidden;
  border: 1px solid var(--view4c5ac-line);
  background: var(--view4c5ac-ink-2);
  box-shadow: 0 6px 14px rgba(9, 14, 26, 0.42);
  transition: transform 0.18s var(--view4c5ac-ease), border-color 0.18s var(--view4c5ac-ease),
    box-shadow 0.18s var(--view4c5ac-ease);
}
.view4c5ac-game:hover .view4c5ac-gamethumb,
.view4c5ac-game:active .view4c5ac-gamethumb {
  transform: translateY(-3px);
  border-color: rgba(0, 180, 200, 0.65);
  box-shadow: 0 10px 20px rgba(9, 14, 26, 0.55);
}
.view4c5ac-gamethumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Soft light film on the tile art */
.view4c5ac-gamethumb::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(240, 253, 255, 0.05), rgba(18, 26, 43, 0) 42%, rgba(18, 26, 43, 0.22));
  pointer-events: none;
}

.view4c5ac-gamename {
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  min-height: 28px;
  margin-top: 5px;
  font-size: 10.5px;
  line-height: 1.32;
  font-weight: 600;
  color: var(--view4c5ac-mist);
  overflow-wrap: anywhere;
}
.view4c5ac-game:hover .view4c5ac-gamename { color: var(--view4c5ac-paper); }

/* Related internal pages under each category */
.view4c5ac-related {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px 12px;
  padding: 10px 12px;
  border: 1px dashed var(--view4c5ac-line-2);
  border-radius: var(--view4c5ac-radius-card);
  background: rgba(34, 48, 76, 0.45);
  font-size: 12.5px;
  color: var(--view4c5ac-mist);
}
.view4c5ac-related a { font-weight: 700; }
.view4c5ac-related a:hover { text-decoration: underline; }

/* --------------------------------------------------------------------------
   10. Information panels: steps, winners, RTP, achievements, scenarios
   -------------------------------------------------------------------------- */
.view4c5ac-panel {
  background: linear-gradient(180deg, rgba(34, 48, 76, 0.7), rgba(27, 38, 59, 0.5));
  border: 1px solid var(--view4c5ac-line);
  border-left: 3px solid var(--view4c5ac-teal);
  border-radius: var(--view4c5ac-radius-card);
  padding: 14px 13px 10px;
  box-shadow: 0 8px 20px rgba(9, 14, 26, 0.35);
}

.view4c5ac-panel--petal { border-left-color: var(--view4c5ac-petal); }

.view4c5ac-panel p { font-size: 13.5px; color: var(--view4c5ac-mist); }
.view4c5ac-panel strong { color: var(--view4c5ac-paper); }
.view4c5ac-panel a { font-weight: 700; }

.view4c5ac-panel h3 {
  font-size: 15px;
  margin-bottom: 6px;
}

/* Numbered step rhythm */
.view4c5ac-steps {
  list-style: none;
  margin: 10px 0 6px;
  padding: 0;
  counter-reset: view4c5ac-step;
}
.view4c5ac-steps li {
  counter-increment: view4c5ac-step;
  position: relative;
  padding: 0 0 12px 38px;
  font-size: 13px;
  color: var(--view4c5ac-mist);
}
.view4c5ac-steps li::before {
  content: counter(view4c5ac-step);
  position: absolute;
  left: 0;
  top: 0;
  width: 26px;
  height: 26px;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--view4c5ac-f-head);
  font-size: 13px;
  font-weight: 800;
  color: var(--view4c5ac-paper);
  background: linear-gradient(135deg, var(--view4c5ac-teal-deep), var(--view4c5ac-teal-2));
  box-shadow: 0 3px 8px rgba(0, 151, 167, 0.4);
}
.view4c5ac-steps li::after {
  content: "";
  position: absolute;
  left: 12.5px;
  top: 28px;
  bottom: 2px;
  width: 1px;
  background: var(--view4c5ac-line-2);
}
.view4c5ac-steps li:last-child::after { display: none; }
.view4c5ac-steps b { color: var(--view4c5ac-paper); }

/* Recent winners sample rows */
.view4c5ac-rows {
  margin: 10px 0 4px;
  border: 1px solid var(--view4c5ac-line);
  border-radius: var(--view4c5ac-radius-card);
  overflow: hidden;
}
.view4c5ac-row {
  display: grid;
  grid-template-columns: 1.35fr 1fr auto;
  align-items: center;
  gap: 8px;
  padding: 9px 11px;
  font-size: 12px;
  background: rgba(34, 48, 76, 0.55);
}
.view4c5ac-row:nth-child(even) { background: rgba(42, 58, 92, 0.5); }
.view4c5ac-row b {
  font-size: 12.5px;
  color: var(--view4c5ac-paper);
  font-weight: 700;
}
.view4c5ac-row .view4c5ac-rowtag {
  color: var(--view4c5ac-teal-2);
  font-weight: 600;
}
.view4c5ac-row time {
  color: var(--view4c5ac-petal);
  font-weight: 700;
  white-space: nowrap;
}

.view4c5ac-note {
  font-size: 11.5px;
  color: var(--view4c5ac-mist);
  border-left: 2px solid rgba(255, 192, 203, 0.5);
  padding-left: 9px;
  margin: 8px 0 4px;
}

/* Definition-style facts (RTP reading, achievements) */
.view4c5ac-facts {
  margin: 10px 0 4px;
  padding: 0;
  list-style: none;
}
.view4c5ac-facts li {
  position: relative;
  padding: 8px 10px 8px 26px;
  margin-bottom: 7px;
  font-size: 13px;
  color: var(--view4c5ac-mist);
  background: rgba(34, 48, 76, 0.55);
  border-radius: var(--view4c5ac-radius-card);
}
.view4c5ac-facts li::before {
  content: "";
  position: absolute;
  left: 10px;
  top: 15px;
  width: 7px;
  height: 7px;
  border-radius: 2px;
  background: var(--view4c5ac-petal);
  transform: rotate(45deg);
}
.view4c5ac-facts b { color: var(--view4c5ac-paper); }

/* Scenario guidance: label + advice rows */
.view4c5ac-scenes {
  margin: 10px 0 4px;
  display: grid;
  gap: 9px;
}
.view4c5ac-scene {
  display: grid;
  grid-template-columns: 96px 1fr;
  gap: 10px;
  align-items: start;
  padding: 10px 11px;
  background: rgba(34, 48, 76, 0.55);
  border: 1px solid var(--view4c5ac-line);
  border-radius: var(--view4c5ac-radius-card);
}
.view4c5ac-scene-tag {
  font-size: 11px;
  font-weight: 800;
  color: var(--view4c5ac-ink);
  background: var(--view4c5ac-petal);
  border-radius: 6px;
  padding: 4px 8px;
  text-align: center;
  line-height: 1.35;
}
.view4c5ac-scene p {
  margin: 0;
  font-size: 12.5px;
  color: var(--view4c5ac-mist);
}
.view4c5ac-scene b { color: var(--view4c5ac-paper); }

/* --------------------------------------------------------------------------
   11. Extended footer (brand > promotions > directory > disclaimer)
   -------------------------------------------------------------------------- */
.view4c5ac-efoot {
  margin: 4px var(--view4c5ac-pad) 0;
  padding: 16px 13px 14px;
  border: 1px solid var(--view4c5ac-line-2);
  border-radius: 12px 12px var(--view4c5ac-radius-card) var(--view4c5ac-radius-card);
  background:
    radial-gradient(120% 90px at 85% 0%, rgba(255, 192, 203, 0.12), rgba(255, 192, 203, 0) 70%),
    linear-gradient(180deg, #22304c, #1b2632);
}

.view4c5ac-efoot h2 { font-size: 17.5px; }
.view4c5ac-efoot .view4c5ac-brandblurb { font-size: 13px; color: var(--view4c5ac-mist); }

/* Horizontal promotion shortcuts: 4 actions in a 2x2 flow */
.view4c5ac-promos {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 9px;
  margin: 13px 0 15px;
}
.view4c5ac-promo {
  min-height: 46px;
  width: 100%;
  padding: 0 10px;
  font-size: 13px;
}
.view4c5ac-promo-a {
  background: linear-gradient(135deg, var(--view4c5ac-teal-deep), var(--view4c5ac-teal));
  color: var(--view4c5ac-paper);
  box-shadow: 0 4px 12px rgba(0, 151, 167, 0.35);
}
.view4c5ac-promo-a:hover { color: var(--view4c5ac-paper); }
.view4c5ac-promo-b {
  background: var(--view4c5ac-petal);
  color: var(--view4c5ac-ink);
  box-shadow: 0 4px 12px rgba(255, 192, 203, 0.22);
}
.view4c5ac-promo-b:hover { color: var(--view4c5ac-ink); filter: brightness(1.05); }

.view4c5ac-dirhead {
  font-size: 11.5px;
  font-weight: 800;
  letter-spacing: 0.05em;
  color: var(--view4c5ac-teal-2);
  margin: 12px 0 5px;
}
.view4c5ac-dir {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 6px 12px;
  margin: 0;
  padding: 0;
  list-style: none;
}
.view4c5ac-dir a {
  display: block;
  padding: 7px 2px;
  font-size: 12.5px;
  font-weight: 600;
  color: var(--view4c5ac-mist);
  border-bottom: 1px solid var(--view4c5ac-line);
}
.view4c5ac-dir a:hover { color: var(--view4c5ac-petal); }

.view4c5ac-disclaimer {
  margin-top: 14px;
  padding-top: 10px;
  border-top: 1px dashed var(--view4c5ac-line-2);
  font-size: 11.5px;
  line-height: 1.6;
  color: var(--view4c5ac-mist);
}

/* --------------------------------------------------------------------------
   12. Common footer (copyright only; the fixed dock lives below)
   -------------------------------------------------------------------------- */
.view4c5ac-foot {
  padding: 18px var(--view4c5ac-pad) 8px;
  text-align: center;
  border-top: 1px solid var(--view4c5ac-line);
  margin-top: 18px;
}
.view4c5ac-foot p {
  margin: 0;
  font-size: 12px;
  color: var(--view4c5ac-mist);
}
.view4c5ac-foot b { color: var(--view4c5ac-paper); }

/* --------------------------------------------------------------------------
   13. Mobile bottom dock: segmented action bar (5 roles)
   Roles: home / promo / promo / function page / help page
   -------------------------------------------------------------------------- */
.view4c5ac-dock {
  position: fixed;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 100%;
  max-width: 430px;
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  background: rgba(18, 26, 43, 0.97);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
  border-top: 1px solid var(--view4c5ac-line-2);
  padding: 5px 4px calc(5px + env(safe-area-inset-bottom));
  z-index: 70;
}

.view4c5ac-dockitem {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 3px;
  min-height: 50px;
  padding: 2px 1px;
  background: none;
  border: 0;
  border-radius: 10px;
  color: var(--view4c5ac-mist);
  font-size: 10px;
  font-weight: 700;
  line-height: 1.25;
  cursor: pointer;
  text-decoration: none;
  transition: color 0.16s var(--view4c5ac-ease), background 0.16s var(--view4c5ac-ease);
}
.view4c5ac-dockitem:hover { color: var(--view4c5ac-paper); }

/* Active state: teal top indicator line + pink label */
.view4c5ac-dockitem::before {
  content: "";
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 0;
  height: 3px;
  border-radius: 0 0 3px 3px;
  background: linear-gradient(180deg, var(--view4c5ac-teal-2), var(--view4c5ac-teal));
  transition: width 0.2s var(--view4c5ac-ease);
}
.view4c5ac-dockitem.view4c5ac-here { color: var(--view4c5ac-petal); }
.view4c5ac-dockitem.view4c5ac-here::before { width: 58%; }

.view4c5ac-dockico { display: block; width: 23px; height: 23px; }
.view4c5ac-dockico svg {
  width: 100%;
  height: 100%;
  display: block;
}
.view4c5ac-docklabel { white-space: nowrap; }

/* --------------------------------------------------------------------------
   14. Restrained reveal animation (only when JS arms it)
   -------------------------------------------------------------------------- */
html.view4c5ac-anim .view4c5ac-rise {
  opacity: 0;
  transform: translateY(10px);
  transition: opacity 0.5s var(--view4c5ac-ease), transform 0.5s var(--view4c5ac-ease);
}
html.view4c5ac-anim .view4c5ac-rise.view4c5ac-in {
  opacity: 1;
  transform: none;
}

/* --------------------------------------------------------------------------
   15. Responsive refinements inside the 320-430px canvas
   -------------------------------------------------------------------------- */

/* Comfortable phones: 375px and up */
@media (min-width: 375px) {
  :root {
    --view4c5ac-pad: 16px;
  }
  .view4c5ac-intro h1 { font-size: 25px; }
  .view4c5ac-h2 { font-size: 20px; }
  .view4c5ac-grid { gap: 10px 8px; }
  .view4c5ac-gamename { font-size: 11px; min-height: 30px; }
  .view4c5ac-herotitle { font-size: 16.5px; }
}

/* Upper edge of the canvas: five columns fit comfortably */
@media (min-width: 430px) {
  .view4c5ac-grid { grid-template-columns: repeat(5, minmax(0, 1fr)); }
  .view4c5ac-promos { gap: 10px; }
  .view4c5ac-dockitem { font-size: 10.5px; }
}

/* Very narrow devices: keep the game grid readable at 320px */
@media (max-width: 359px) {
  .view4c5ac-grid { gap: 7px 5px; }
  .view4c5ac-gamename { font-size: 10px; }
  .view4c5ac-brandname { font-size: 19px; }
  .view4c5ac-btn { padding: 0 12px; font-size: 12.5px; }
}

/* --------------------------------------------------------------------------
   16. Accessibility: honor reduced-motion preferences
   -------------------------------------------------------------------------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *,
  *::before,
  *::after {
    animation-duration: 0.001s !important;
    transition-duration: 0.001s !important;
  }
  html.view4c5ac-anim .view4c5ac-rise {
    opacity: 1;
    transform: none;
  }
}
