/* ==========================================================================
   5666bet apk · surface-native-4d0c98.css
   Mobile-first stylesheet for 5666betapk.homes (bn-BD)
   Contract: every class and custom property uses the framed0c98- prefix.
   Palette: #FF9500 / #A9A9A9 / #FFB74D / #0F0F23 / #2C3E50
   Design direction: poster-style headings with narrow body text,
   low-radius zoned sections, outlined tile game cards, question-led
   rhythm, slide-in menu with light card lift, compact dual-button CTAs.
   Canvas: 320-430px phone layout, centered phone canvas on wide screens.
   ========================================================================== */

:root {
  --framed0c98-ink: #0F0F23;
  --framed0c98-panel: #2C3E50;
  --framed0c98-ember: #FF9500;
  --framed0c98-glow: #FFB74D;
  --framed0c98-mist: #A9A9A9;
  --framed0c98-paper: #F4F1E9;
  --framed0c98-hair: rgba(169, 169, 169, 0.18);
  --framed0c98-veil: rgba(15, 15, 35, 0.55);
  --framed0c98-font-display: 'Anek Bangla', 'Hind Siliguri', sans-serif;
  --framed0c98-font-body: 'Hind Siliguri', 'Anek Bangla', sans-serif;
}

/* ---------- Reset & base ---------- */

*,
*::before,
*::after {
  box-sizing: border-box;
}

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

body {
  margin: 0;
  background: #07070f;
  color: var(--framed0c98-paper);
  font-family: var(--framed0c98-font-body);
  font-size: 15px;
  line-height: 1.7;
}

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

button {
  font: inherit;
  color: inherit;
  background: none;
  border: 0;
  padding: 0;
  cursor: pointer;
}

a {
  color: var(--framed0c98-glow);
  text-decoration: none;
  transition: color 0.25s ease;
}

a:hover {
  color: var(--framed0c98-ember);
}

a:focus-visible,
button:focus-visible,
summary:focus-visible {
  outline: 2px solid var(--framed0c98-glow);
  outline-offset: 2px;
  border-radius: 4px;
}

/* Phone canvas: everything lives inside this column. */
.framed0c98-canvas {
  position: relative;
  max-width: 480px;
  margin: 0 auto;
  min-height: 100vh;
  background: var(--framed0c98-ink);
  box-shadow: 0 0 44px rgba(0, 0, 0, 0.65);
  overflow-x: hidden;
}

/* ---------- Top bar: brand layer + action layer ---------- */

.framed0c98-topbar {
  position: fixed;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 100%;
  max-width: 480px;
  z-index: 70;
  background: rgba(15, 15, 35, 0.97);
  border-bottom: 1px solid var(--framed0c98-hair);
  padding-top: env(safe-area-inset-top);
}

.framed0c98-brandrow {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 6px 14px 4px;
  border-bottom: 1px solid rgba(169, 169, 169, 0.1);
}

.framed0c98-brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--framed0c98-paper);
}

.framed0c98-logo {
  width: 34px;
  height: 34px;
  object-fit: contain;
  border-radius: 6px;
  background: rgba(44, 62, 80, 0.6);
}

.framed0c98-brandname {
  font-family: var(--framed0c98-font-display);
  font-weight: 800;
  font-size: 19px;
  letter-spacing: 0.01em;
  color: var(--framed0c98-paper);
}

.framed0c98-actionrow {
  display: grid;
  grid-template-columns: 1fr 1fr 52px;
  gap: 8px;
  align-items: center;
  padding: 7px 14px 9px;
}

.framed0c98-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  min-height: 44px;
  padding: 9px 14px;
  border-radius: 5px;
  font-weight: 700;
  font-size: 14.5px;
  text-align: center;
  transition: background-color 0.25s ease, color 0.25s ease,
    border-color 0.25s ease, transform 0.25s ease;
}

.framed0c98-btn--fill {
  background: var(--framed0c98-ember);
  color: var(--framed0c98-ink);
}

.framed0c98-btn--fill:hover {
  background: var(--framed0c98-glow);
  color: var(--framed0c98-ink);
}

.framed0c98-btn--fill:active {
  transform: translateY(1px);
}

.framed0c98-btn--line {
  border: 1px solid var(--framed0c98-glow);
  color: var(--framed0c98-glow);
}

.framed0c98-btn--line:hover {
  border-color: var(--framed0c98-ember);
  color: var(--framed0c98-ember);
}

.framed0c98-burger {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  border-radius: 5px;
  color: var(--framed0c98-mist);
  transition: color 0.25s ease, background-color 0.25s ease;
}

.framed0c98-burger:hover {
  color: var(--framed0c98-glow);
  background: rgba(44, 62, 80, 0.45);
}

.framed0c98-burger svg {
  width: 23px;
  height: 23px;
}

/* ---------- Stacked overlay menu ---------- */

.framed0c98-menu {
  position: fixed;
  inset: 0;
  z-index: 90;
  display: flex;
  justify-content: center;
  background: rgba(7, 7, 15, 0);
  visibility: hidden;
  transition: background-color 0.3s ease, visibility 0.3s step-end;
}

.framed0c98-menu.is-open {
  background: rgba(7, 7, 15, 0.72);
  visibility: visible;
  transition: background-color 0.3s ease;
}

.framed0c98-menu-panel {
  width: 100%;
  max-width: 480px;
  height: 100%;
  background: var(--framed0c98-ink);
  border-right: 1px solid var(--framed0c98-hair);
  display: flex;
  flex-direction: column;
  transform: translateX(-100%);
  transition: transform 0.32s cubic-bezier(0.22, 0.75, 0.3, 1);
}

.framed0c98-menu.is-open .framed0c98-menu-panel {
  transform: translateX(0);
}

.framed0c98-menu-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px;
  border-bottom: 1px solid var(--framed0c98-hair);
}

.framed0c98-menu-brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--framed0c98-paper);
}

.framed0c98-menu-brand img {
  width: 30px;
  height: 30px;
  border-radius: 5px;
  object-fit: contain;
}

.framed0c98-menu-brand span {
  font-family: var(--framed0c98-font-display);
  font-weight: 800;
  font-size: 17px;
}

.framed0c98-menu-close {
  min-width: 44px;
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 5px;
  color: var(--framed0c98-mist);
  transition: color 0.25s ease, background-color 0.25s ease;
}

.framed0c98-menu-close:hover {
  color: var(--framed0c98-glow);
  background: rgba(44, 62, 80, 0.45);
}

.framed0c98-menu-close svg {
  width: 21px;
  height: 21px;
}

.framed0c98-menu-list {
  list-style: none;
  margin: 0;
  padding: 8px 0;
  overflow-y: auto;
  flex: 1;
}

.framed0c98-menu-list li {
  border-bottom: 1px solid rgba(169, 169, 169, 0.09);
}

.framed0c98-menu-link {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 50px;
  padding: 12px 18px;
  color: var(--framed0c98-paper);
  font-weight: 600;
  font-size: 15.5px;
  transition: color 0.25s ease, background-color 0.25s ease;
}

.framed0c98-menu-link::after {
  content: '';
  width: 7px;
  height: 7px;
  border-top: 2px solid currentColor;
  border-right: 2px solid currentColor;
  transform: rotate(45deg);
  opacity: 0.55;
}

.framed0c98-menu-link:hover {
  color: var(--framed0c98-glow);
  background: rgba(44, 62, 80, 0.35);
}

/* Active route: underline marker. */
.framed0c98-menu-link.is-active {
  color: var(--framed0c98-ember);
}

.framed0c98-menu-link.is-active::before {
  content: '';
  position: absolute;
  left: 0;
  top: 14px;
  bottom: 14px;
  width: 3px;
  border-radius: 2px;
  background: var(--framed0c98-ember);
}

.framed0c98-menu-note {
  padding: 12px 18px 18px;
  font-size: 12px;
  color: var(--framed0c98-mist);
  border-top: 1px solid var(--framed0c98-hair);
}

/* ---------- Main column ---------- */

.framed0c98-main {
  padding: 110px 14px 128px;
}

/* ---------- Hero ---------- */

.framed0c98-hero {
  padding: 18px 0 6px;
}

.framed0c98-h1 {
  margin: 0 0 10px;
  overflow-wrap: anywhere;
  font-family: var(--framed0c98-font-display);
  font-weight: 800;
  font-size: 27px;
  line-height: 1.28;
  letter-spacing: -0.015em;
  color: var(--framed0c98-paper);
}

.framed0c98-lede {
  margin: 0 0 14px;
  color: var(--framed0c98-mist);
  font-size: 14.5px;
}

.framed0c98-ctaduo {
  display: flex;
  gap: 8px;
  margin: 0 0 18px;
}

.framed0c98-ctaduo .framed0c98-btn {
  flex: 1;
}

/* ---------- Carousel ---------- */

.framed0c98-carousel {
  position: relative;
  margin: 4px 0 8px;
  border-radius: 6px;
  overflow: hidden;
  border: 1px solid var(--framed0c98-hair);
  background: rgba(44, 62, 80, 0.35);
}

.framed0c98-slide {
  position: relative;
  display: block;
  width: 100%;
  aspect-ratio: 16 / 7;
  opacity: 0;
  transform: scale(1.015);
  transition: opacity 0.5s ease, transform 0.6s ease;
  pointer-events: none;
  position: absolute;
  inset: 0;
}

.framed0c98-slide:first-of-type {
  position: relative;
}

.framed0c98-slide.is-on {
  opacity: 1;
  transform: scale(1);
  pointer-events: auto;
}

.framed0c98-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.framed0c98-slide-cap {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  display: flex;
  flex-direction: column;
  gap: 2px;
  padding: 26px 14px 10px;
  background: linear-gradient(180deg, rgba(15, 15, 35, 0) 0%, rgba(15, 15, 35, 0.88) 78%);
  text-align: left;
}

.framed0c98-slide-cap strong {
  font-family: var(--framed0c98-font-display);
  font-weight: 800;
  font-size: 16.5px;
  color: #fff;
}

.framed0c98-slide-cap em {
  font-style: normal;
  font-size: 12px;
  color: var(--framed0c98-glow);
}

.framed0c98-dots {
  position: absolute;
  right: 10px;
  bottom: 8px;
  display: flex;
  gap: 6px;
  z-index: 5;
}

.framed0c98-dot {
  width: 8px;
  height: 8px;
  border-radius: 4px;
  background: rgba(169, 169, 169, 0.65);
  transition: width 0.25s ease, background-color 0.25s ease;
}

.framed0c98-dot.is-on {
  width: 20px;
  background: var(--framed0c98-ember);
}

/* ---------- Sections ---------- */

.framed0c98-section {
  padding: 22px 0 8px;
  border-top: 1px solid var(--framed0c98-hair);
}

.framed0c98-sechead {
  margin-bottom: 10px;
}

.framed0c98-kicker {
  display: block;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.16em;
  color: var(--framed0c98-glow);
  margin-bottom: 4px;
}

.framed0c98-h2 {
  margin: 0;
  overflow-wrap: anywhere;
  font-family: var(--framed0c98-font-display);
  font-weight: 800;
  font-size: 21px;
  line-height: 1.32;
  letter-spacing: -0.01em;
  color: var(--framed0c98-paper);
}

.framed0c98-secline {
  display: block;
  width: 36px;
  height: 3px;
  margin-top: 8px;
  border-radius: 2px;
  background: var(--framed0c98-ember);
}

.framed0c98-note {
  margin: 10px 0 14px;
  color: var(--framed0c98-mist);
  font-size: 14px;
}

.framed0c98-h3 {
  margin: 0 0 6px;
  font-family: var(--framed0c98-font-display);
  font-weight: 700;
  font-size: 16px;
  color: var(--framed0c98-paper);
}

/* ---------- Game grid: outlined tile cards ---------- */

.framed0c98-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 8px;
}

.framed0c98-gtile {
  display: flex;
  flex-direction: column;
  gap: 5px;
  padding: 6px 5px 7px;
  border: 1px solid rgba(169, 169, 169, 0.26);
  border-radius: 4px;
  background: rgba(44, 62, 80, 0.42);
  text-align: center;
  transition: border-color 0.25s ease, background-color 0.25s ease,
    transform 0.25s ease;
}

.framed0c98-gtile:hover,
.framed0c98-gtile:focus-visible {
  border-color: var(--framed0c98-glow);
  background: rgba(44, 62, 80, 0.72);
  transform: translateY(-2px);
}

.framed0c98-gtile:active {
  transform: translateY(0);
}

.framed0c98-gtile img {
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  border-radius: 3px;
  background: rgba(15, 15, 35, 0.5);
}

.framed0c98-gtile-name {
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  font-size: 10.5px;
  line-height: 1.3;
  font-weight: 600;
  color: #d9d6cd;
  min-height: 27px;
}

/* ---------- FAQ: question-led accordions ---------- */

.framed0c98-faq {
  border: 1px solid var(--framed0c98-hair);
  border-radius: 5px;
  background: rgba(44, 62, 80, 0.28);
  margin-bottom: 8px;
  overflow: hidden;
  transition: border-color 0.25s ease;
}

.framed0c98-faq[open] {
  border-color: rgba(255, 149, 0, 0.55);
}

.framed0c98-faq-q {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  min-height: 48px;
  padding: 12px 14px;
  font-weight: 700;
  font-size: 14.5px;
  color: var(--framed0c98-paper);
  list-style: none;
  cursor: pointer;
}

.framed0c98-faq-q::-webkit-details-marker {
  display: none;
}

.framed0c98-faq-q::after {
  content: '+';
  flex: none;
  width: 22px;
  height: 22px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 3px;
  font-size: 17px;
  font-weight: 700;
  color: var(--framed0c98-ember);
  background: rgba(255, 149, 0, 0.12);
  transition: transform 0.25s ease;
}

.framed0c98-faq[open] .framed0c98-faq-q::after {
  content: '\2212';
  transform: rotate(180deg);
}

.framed0c98-faq-a {
  padding: 0 14px 13px;
  color: var(--framed0c98-mist);
  font-size: 13.8px;
  border-top: 1px dashed rgba(169, 169, 169, 0.18);
}

.framed0c98-faq-a p {
  margin: 10px 0 0;
}

/* ---------- Steps ---------- */

.framed0c98-steps {
  list-style: none;
  margin: 0;
  padding: 0;
  counter-reset: framed0c98-step;
}

.framed0c98-step {
  position: relative;
  counter-increment: framed0c98-step;
  padding: 0 0 16px 46px;
}

.framed0c98-step::before {
  content: counter(framed0c98-step, decimal);
  position: absolute;
  left: 0;
  top: 1px;
  width: 32px;
  height: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 4px;
  background: rgba(255, 149, 0, 0.14);
  border: 1px solid rgba(255, 149, 0, 0.5);
  color: var(--framed0c98-ember);
  font-family: var(--framed0c98-font-display);
  font-weight: 800;
  font-size: 15px;
}

.framed0c98-step:not(:last-child)::after {
  content: '';
  position: absolute;
  left: 16px;
  top: 36px;
  bottom: 2px;
  width: 1px;
  background: rgba(169, 169, 169, 0.22);
}

.framed0c98-step b {
  display: block;
  font-family: var(--framed0c98-font-display);
  font-weight: 700;
  font-size: 15px;
  color: var(--framed0c98-paper);
  margin-bottom: 2px;
}

.framed0c98-step p {
  margin: 0;
  color: var(--framed0c98-mist);
  font-size: 13.8px;
}

/* ---------- Definition rows (RTP terms) ---------- */

.framed0c98-defs {
  margin: 12px 0 0;
  padding: 0;
  border-top: 1px solid var(--framed0c98-hair);
}

.framed0c98-defs div {
  padding: 11px 0;
  border-bottom: 1px solid var(--framed0c98-hair);
}

.framed0c98-defs dt {
  font-family: var(--framed0c98-font-display);
  font-weight: 700;
  font-size: 14.5px;
  color: var(--framed0c98-glow);
}

.framed0c98-defs dd {
  margin: 3px 0 0;
  color: var(--framed0c98-mist);
  font-size: 13.5px;
}

/* ---------- Use-case cards ---------- */

.framed0c98-cases {
  display: grid;
  grid-template-columns: 1fr;
  gap: 10px;
  margin-top: 12px;
}

.framed0c98-case {
  border: 1px solid var(--framed0c98-hair);
  border-left: 3px solid var(--framed0c98-ember);
  border-radius: 5px;
  background: rgba(44, 62, 80, 0.28);
  padding: 12px 14px;
  transition: transform 0.25s ease, border-color 0.25s ease;
}

.framed0c98-case:hover {
  transform: translateY(-2px);
  border-color: rgba(255, 183, 77, 0.5);
  border-left-color: var(--framed0c98-glow);
}

.framed0c98-case p {
  margin: 0;
  color: var(--framed0c98-mist);
  font-size: 13.8px;
}

.framed0c98-checklist {
  margin: 12px 0;
  padding: 0;
  list-style: none;
}

.framed0c98-checklist li {
  position: relative;
  margin: 0;
  padding: 11px 8px 11px 32px;
  border-bottom: 1px solid var(--framed0c98-hair);
  color: var(--framed0c98-mist);
  font-size: 13.8px;
}

.framed0c98-checklist li::before {
  content: '✓';
  position: absolute;
  left: 7px;
  color: var(--framed0c98-glow);
  font-weight: 800;
}

.framed0c98-scrolltable {
  max-width: 100%;
  overflow-x: auto;
  border: 1px solid var(--framed0c98-hair);
  border-radius: 4px;
  margin: 12px 0;
  -webkit-overflow-scrolling: touch;
}

.framed0c98-scrolltable table {
  width: 100%;
  border-collapse: collapse;
  font-size: 12.5px;
  line-height: 1.5;
}

.framed0c98-scrolltable th,
.framed0c98-scrolltable td {
  min-width: 105px;
  padding: 9px 8px;
  text-align: left;
  vertical-align: top;
  border-right: 1px solid var(--framed0c98-hair);
  border-bottom: 1px solid var(--framed0c98-hair);
  color: var(--framed0c98-mist);
}

.framed0c98-scrolltable th {
  color: var(--framed0c98-glow);
  background: rgba(44, 62, 80, 0.56);
}

.framed0c98-scrolltable th:first-child {
  min-width: 90px;
}

@media (max-width: 359px) {
  .framed0c98-h1 { font-size: 25px; }
  .framed0c98-actionrow { grid-template-columns: 1fr 1fr 44px; gap: 5px; padding-left: 9px; padding-right: 9px; }
  .framed0c98-btn { padding-left: 7px; padding-right: 7px; font-size: 13px; }
  .framed0c98-main { padding-left: 11px; padding-right: 11px; }
  .framed0c98-dock-txt { font-size: 9.5px; }
}

/* ---------- Closing CTA band ---------- */

.framed0c98-band {
  margin-top: 24px;
  padding: 18px 16px;
  border: 1px solid rgba(255, 149, 0, 0.45);
  border-radius: 6px;
  background: linear-gradient(140deg, rgba(255, 149, 0, 0.14), rgba(44, 62, 80, 0.4));
}

.framed0c98-band-txt {
  margin: 0 0 14px;
  color: var(--framed0c98-paper);
  font-size: 14.5px;
}

/* ---------- Extended footer (home only) ---------- */

.framed0c98-xfooter {
  margin-top: 26px;
  padding-top: 20px;
  border-top: 1px solid rgba(255, 149, 0, 0.35);
}

.framed0c98-xf-block {
  margin-bottom: 20px;
}

.framed0c98-xf-title {
  margin: 0 0 8px;
  font-family: var(--framed0c98-font-display);
  font-weight: 800;
  font-size: 15px;
  letter-spacing: 0.04em;
  color: var(--framed0c98-glow);
}

.framed0c98-xf-brand-txt {
  margin: 0;
  color: var(--framed0c98-mist);
  font-size: 13.5px;
}

.framed0c98-xf-dir {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 6px 10px;
}

.framed0c98-xf-link {
  position: relative;
  display: inline-block;
  padding: 3px 0 5px;
  min-height: 32px;
  font-size: 13px;
  font-weight: 600;
  color: #d9d6cd;
}

.framed0c98-xf-link:hover {
  color: var(--framed0c98-glow);
}

.framed0c98-xf-link.is-active {
  color: var(--framed0c98-ember);
}

.framed0c98-xf-promos {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
}

.framed0c98-xf-promos .framed0c98-btn {
  padding: 9px 8px;
  font-size: 13.5px;
}

.framed0c98-xf-disc {
  margin: 0;
  padding: 12px 12px 0;
  border-top: 1px solid var(--framed0c98-hair);
  color: var(--framed0c98-mist);
  font-size: 12px;
  line-height: 1.65;
}

/* ---------- Copyright footer ---------- */

.framed0c98-footer {
  padding: 16px 14px 10px;
  border-top: 1px solid var(--framed0c98-hair);
  text-align: center;
  color: var(--framed0c98-mist);
  font-size: 12px;
}

/* ---------- Mobile bottom dock: center-raised ---------- */

.framed0c98-dock {
  position: fixed;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 100%;
  max-width: 480px;
  z-index: 80;
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  align-items: end;
  background: rgba(15, 15, 35, 0.97);
  border-top: 1px solid rgba(255, 149, 0, 0.3);
  padding: 6px 4px calc(6px + env(safe-area-inset-bottom));
  backdrop-filter: blur(8px);
}

.framed0c98-dock-item {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 3px;
  min-height: 52px;
  padding: 4px 2px;
  border-radius: 6px;
  color: var(--framed0c98-mist);
  transition: color 0.25s ease, background-color 0.25s ease;
}

.framed0c98-dock-item:hover {
  color: var(--framed0c98-glow);
  background: rgba(44, 62, 80, 0.4);
}

/* Active role marker: underline bar. */
.framed0c98-dock-item.is-active {
  color: var(--framed0c98-glow);
}

.framed0c98-dock-item.is-active::after {
  content: '';
  position: absolute;
  bottom: 2px;
  left: 50%;
  transform: translateX(-50%);
  width: 22px;
  height: 3px;
  border-radius: 2px;
  background: var(--framed0c98-ember);
}

.framed0c98-dock-ico {
  width: 23px;
  height: 23px;
}

.framed0c98-dock-txt {
  font-size: 10.5px;
  font-weight: 700;
  letter-spacing: 0.01em;
}

/* Raised center promo role. */
.framed0c98-dock-item--raise {
  margin-top: -24px;
}

.framed0c98-dock-item--raise .framed0c98-dock-ico {
  width: 52px;
  height: 52px;
  padding: 13px;
  border-radius: 50%;
  background: linear-gradient(150deg, var(--framed0c98-glow), var(--framed0c98-ember));
  color: var(--framed0c98-ink);
  box-shadow: 0 6px 16px rgba(255, 149, 0, 0.4);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.framed0c98-dock-item--raise:hover .framed0c98-dock-ico {
  transform: translateY(-3px);
  box-shadow: 0 9px 20px rgba(255, 149, 0, 0.5);
}

/* ---------- Breakpoints inside the phone canvas ---------- */

/* 320px stays a strict 4-column grid; slightly roomier tiles from 375px. */
@media (min-width: 375px) {
  .framed0c98-gtile-name {
    font-size: 11px;
  }

  .framed0c98-h1 {
    font-size: 29px;
  }
}

/* Wider phones and small tablets: 5-column game grid. */
@media (min-width: 400px) {
  .framed0c98-grid {
    grid-template-columns: repeat(5, 1fr);
    gap: 9px;
  }
}

/* 430px and up: calmer type scale, roomier sections. */
@media (min-width: 430px) {
  .framed0c98-main {
    padding-left: 18px;
    padding-right: 18px;
  }

  .framed0c98-h1 {
    font-size: 31px;
  }

  .framed0c98-h2 {
    font-size: 22.5px;
  }

  .framed0c98-note,
  .framed0c98-lede {
    font-size: 15px;
  }
}

/* Desktop: keep the centered phone canvas, soften outer page. */
@media (min-width: 720px) {
  body {
    background: #05050c;
  }

  .framed0c98-canvas {
    box-shadow: 0 0 0 1px rgba(169, 169, 169, 0.14), 0 0 70px rgba(0, 0, 0, 0.8);
  }
}

/* Respect users who prefer less motion. */
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}
