/* ============================================================
   karkiya.homes — mobile-first base stylesheet
   Prefix contract: every class = shell0fd44-*, vars = --shell0fd44-*
   Palette: #262626 base / #00B8D4 cyan / #AD1457 rose /
            #F0F8FF ink / #E0F2F1 mint
   Design cues: tech headings + open body, low-radius zoned
   sections, grouped cover cards, icon micro-lift, text CTA groups
   ============================================================ */

:root {
  --shell0fd44-bg: #262626;
  --shell0fd44-bg-deep: #1e1e1e;
  --shell0fd44-panel: #2e2e2e;
  --shell0fd44-panel-soft: #333333;
  --shell0fd44-ink: #F0F8FF;
  --shell0fd44-ink-dim: #b9c4cc;
  --shell0fd44-cyan: #00B8D4;
  --shell0fd44-cyan-deep: #008ba1;
  --shell0fd44-rose: #AD1457;
  --shell0fd44-rose-deep: #8e0f46;
  --shell0fd44-mint: #E0F2F1;
  --shell0fd44-line: rgba(240, 248, 255, 0.16);
  --shell0fd44-line-strong: rgba(0, 184, 212, 0.45);
  --shell0fd44-head-font: "Cascadia Mono", "Consolas", "Nirmala UI", "Segoe UI", sans-serif;
  --shell0fd44-body-font: "Noto Sans Bengali", "Nirmala UI", "Segoe UI", system-ui, sans-serif;
  --shell0fd44-radius: 6px;
  --shell0fd44-radius-lg: 10px;
  --shell0fd44-topbar-h: 56px;
  --shell0fd44-bottomnav-h: 64px;
  --shell0fd44-zone-gap: 18px;
}

* { box-sizing: border-box; }

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

body {
  margin: 0;
  background: var(--shell0fd44-bg-deep);
  color: var(--shell0fd44-ink);
  font-family: var(--shell0fd44-body-font);
  font-size: 15px;
  line-height: 1.75;
  overflow-x: hidden;
}

/* Centered phone canvas kept on wide screens */
.shell0fd44-canvas {
  position: relative;
  max-width: 430px;
  margin: 0 auto;
  min-height: 100vh;
  background: var(--shell0fd44-bg);
  box-shadow: 0 0 44px rgba(0, 0, 0, 0.55);
}

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

a { color: var(--shell0fd44-cyan); text-decoration: none; }
a:focus-visible,
button:focus-visible {
  outline: 2px solid var(--shell0fd44-cyan);
  outline-offset: 2px;
  border-radius: 4px;
}

.shell0fd44-canvas h1, .shell0fd44-canvas h2, .shell0fd44-canvas h3 {
  font-family: var(--shell0fd44-head-font);
  font-weight: 700;
  letter-spacing: 0.02em;
  line-height: 1.35;
  margin: 0;
  color: var(--shell0fd44-ink);
}

p { margin: 0 0 10px; }

/* ============ Fixed compact brand bar ============ */
.shell0fd44-topbar {
  position: fixed;
  top: 0; left: 50%;
  transform: translateX(-50%);
  width: 100%;
  max-width: 430px;
  height: var(--shell0fd44-topbar-h);
  z-index: 60;
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 0 10px;
  background: linear-gradient(180deg, #2b2b2b 0%, #262626 100%);
  border-bottom: 2px solid var(--shell0fd44-cyan);
}

.shell0fd44-brand {
  display: flex;
  align-items: center;
  gap: 8px;
  min-height: 44px;
  margin-right: auto;
}

.shell0fd44-logo {
  width: 34px;
  height: 34px;
  border-radius: var(--shell0fd44-radius);
  border: 1px solid var(--shell0fd44-line-strong);
  object-fit: cover;
  background: #111;
}

.shell0fd44-sitename {
  font-family: var(--shell0fd44-head-font);
  font-size: 19px;
  font-weight: 700;
  letter-spacing: 0.06em;
  color: var(--shell0fd44-ink);
}
.shell0fd44-sitename span { color: var(--shell0fd44-cyan); }

/* Top action area: register / login / menu toggle */
.shell0fd44-topacts {
  display: flex;
  align-items: center;
  gap: 6px;
}

.shell0fd44-btn {
  font-family: var(--shell0fd44-head-font);
  font-size: 12.5px;
  font-weight: 700;
  letter-spacing: 0.03em;
  min-height: 36px;
  padding: 6px 12px;
  border-radius: 8px;
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform 0.15s ease, background 0.15s ease, color 0.15s ease;
}

.shell0fd44-btn:active { transform: translateY(-2px); }

.shell0fd44-btn-register {
  background: linear-gradient(135deg, var(--shell0fd44-cyan) 0%, var(--shell0fd44-cyan-deep) 100%);
  color: #06232a;
}

.shell0fd44-btn-login {
  background: transparent;
  color: var(--shell0fd44-cyan);
  border-color: var(--shell0fd44-line-strong);
}

.shell0fd44-menutoggle {
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  border-radius: 8px;
  border: 1px solid var(--shell0fd44-line);
  background: var(--shell0fd44-panel);
  color: var(--shell0fd44-ink);
  cursor: pointer;
}
.shell0fd44-menutoggle svg { transition: transform 0.18s ease; }
.shell0fd44-menutoggle[aria-expanded="true"] svg { transform: rotate(90deg); }
.shell0fd44-menutoggle:active svg { transform: translateY(-2px); }

/* ============ Compact route panel (expandable menu) ============ */
.shell0fd44-routes {
  position: fixed;
  top: calc(var(--shell0fd44-topbar-h));
  left: 50%;
  transform: translateX(-50%);
  width: 100%;
  max-width: 430px;
  z-index: 55;
  background: #242424;
  border-bottom: 2px solid var(--shell0fd44-rose);
  box-shadow: 0 14px 22px rgba(0, 0, 0, 0.45);
  display: none;
  padding: 10px 12px 14px;
}
.shell0fd44-routes[data-open="1"] { display: block; }

.shell0fd44-routes-head {
  font-family: var(--shell0fd44-head-font);
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--shell0fd44-ink-dim);
  margin: 6px 2px 6px;
}

.shell0fd44-routegrid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 6px;
}

.shell0fd44-route {
  display: flex;
  align-items: center;
  gap: 8px;
  min-height: 44px;
  padding: 8px 10px;
  border-radius: var(--shell0fd44-radius);
  border: 1px solid var(--shell0fd44-line);
  background: var(--shell0fd44-panel);
  color: var(--shell0fd44-ink);
  font-size: 13px;
  line-height: 1.3;
}
.shell0fd44-route:active {
  background: var(--shell0fd44-panel-soft);
  transform: translateY(-2px);
}
.shell0fd44-route .shell0fd44-routemark {
  width: 8px; height: 8px;
  border-radius: 2px;
  background: var(--shell0fd44-cyan);
  flex: none;
}
.shell0fd44-route[data-zone="game"] .shell0fd44-routemark { background: var(--shell0fd44-rose); }
.shell0fd44-route[data-zone="help"] .shell0fd44-routemark { background: var(--shell0fd44-mint); }
.shell0fd44-route[data-here="1"] {
  border-color: var(--shell0fd44-line-strong);
  background: rgba(0, 184, 212, 0.14);
}

/* ============ Main canvas flow ============ */
.shell0fd44-main {
  padding: calc(var(--shell0fd44-topbar-h) + 12px) 12px calc(var(--shell0fd44-bottomnav-h) + 34px);
}

/* Hero zone */
.shell0fd44-hero {
  border: 1px solid var(--shell0fd44-line);
  border-left: 3px solid var(--shell0fd44-cyan);
  border-radius: var(--shell0fd44-radius);
  background: linear-gradient(160deg, #2c2c2c 0%, #262626 70%);
  padding: 14px 12px 12px;
  margin-bottom: var(--shell0fd44-zone-gap);
}

.shell0fd44-hero h1 {
  font-size: 21px;
  margin-bottom: 8px;
}

.shell0fd44-lead { color: var(--shell0fd44-ink-dim); font-size: 14px; }

.shell0fd44-chiprow {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin: 10px 0 12px;
}

.shell0fd44-chip {
  font-family: var(--shell0fd44-head-font);
  font-size: 11px;
  letter-spacing: 0.04em;
  color: var(--shell0fd44-mint);
  border: 1px solid var(--shell0fd44-line);
  background: var(--shell0fd44-panel);
  border-radius: 4px;
  padding: 3px 8px;
}

/* CTA group: light-rounded text buttons */
.shell0fd44-ctagroup {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.shell0fd44-ctagroup .shell0fd44-btn { min-height: 44px; flex: 1 1 auto; }

/* ============ Promo carousel ============ */
.shell0fd44-carousel {
  position: relative;
  margin-bottom: var(--shell0fd44-zone-gap);
  border: 1px solid var(--shell0fd44-line);
  border-radius: var(--shell0fd44-radius-lg);
  overflow: hidden;
  background: #202020;
}

.shell0fd44-track {
  display: flex;
  transition: transform 0.4s ease;
}

.shell0fd44-slide {
  position: relative;
  flex: 0 0 100%;
  width: 100%;
  padding: 0;
  border: 0;
  background: #202020;
  cursor: pointer;
  display: block;
}

.shell0fd44-slide img {
  width: 100%;
  aspect-ratio: 16 / 7;
  object-fit: cover;
}

.shell0fd44-slidecap {
  position: absolute;
  left: 0; right: 0; bottom: 0;
  padding: 22px 12px 8px;
  background: linear-gradient(180deg, rgba(30,30,30,0) 0%, rgba(24,24,24,0.92) 78%);
  font-family: var(--shell0fd44-head-font);
  font-size: 13px;
  font-weight: 700;
  color: var(--shell0fd44-ink);
  text-align: left;
}
.shell0fd44-slidecap b { color: var(--shell0fd44-cyan); }

.shell0fd44-dots {
  position: absolute;
  right: 10px; bottom: 8px;
  display: flex;
  gap: 6px;
}

.shell0fd44-dot {
  width: 22px; height: 8px;
  border-radius: 4px;
  border: 1px solid var(--shell0fd44-line-strong);
  background: rgba(240, 248, 255, 0.25);
  cursor: pointer;
  padding: 0;
}
.shell0fd44-dot[data-on="1"] { background: var(--shell0fd44-cyan); }

/* ============ Zoned section shell ============ */
.shell0fd44-zone {
  border: 1px solid var(--shell0fd44-line);
  border-radius: var(--shell0fd44-radius);
  background: var(--shell0fd44-panel);
  padding: 12px 11px 13px;
  margin-bottom: var(--shell0fd44-zone-gap);
}

.shell0fd44-zonehead {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 8px;
}

.shell0fd44-zonehead h2 { font-size: 15.5px; flex: 1 1 auto; }

.shell0fd44-zonebar {
  width: 5px;
  align-self: stretch;
  border-radius: 3px;
  background: linear-gradient(180deg, var(--shell0fd44-cyan) 0%, var(--shell0fd44-rose) 100%);
}

.shell0fd44-count {
  font-family: var(--shell0fd44-head-font);
  font-size: 11px;
  color: #06232a;
  background: var(--shell0fd44-cyan);
  border-radius: 4px;
  padding: 2px 7px;
  white-space: nowrap;
}
.shell0fd44-zone[data-tone="rose"] .shell0fd44-count { background: var(--shell0fd44-rose); color: var(--shell0fd44-ink); }

.shell0fd44-zoneintro {
  color: var(--shell0fd44-ink-dim);
  font-size: 13.5px;
  margin-bottom: 10px;
}
.shell0fd44-zoneintro b, .shell0fd44-conclusion { color: var(--shell0fd44-ink); }

/* ============ Grouped cover-card game grid ============ */
.shell0fd44-gamegrid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 8px;
}

@media (min-width: 400px) {
  .shell0fd44-gamegrid { grid-template-columns: repeat(5, minmax(0, 1fr)); }
}

.shell0fd44-gamecard {
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding: 5px 4px 7px;
  border: 1px solid var(--shell0fd44-line);
  border-radius: var(--shell0fd44-radius);
  background: #292929;
  cursor: pointer;
  text-align: center;
  transition: transform 0.15s ease, border-color 0.15s ease;
}
.shell0fd44-gamecard:active {
  transform: translateY(-3px);
  border-color: var(--shell0fd44-line-strong);
}

.shell0fd44-gamecover {
  display: block;
  border-radius: 4px;
  overflow: hidden;
  background: #1f1f1f;
}
.shell0fd44-gamecover img {
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
}

.shell0fd44-gamename {
  font-size: 11px;
  line-height: 1.35;
  color: var(--shell0fd44-ink);
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  min-height: 30px;
}

/* ============ Info module internals ============ */
.shell0fd44-factlist {
  margin: 0;
  display: grid;
  gap: 8px;
}

.shell0fd44-fact {
  display: grid;
  grid-template-columns: 96px 1fr;
  gap: 8px;
  padding: 8px 10px;
  border: 1px solid var(--shell0fd44-line);
  border-left: 3px solid var(--shell0fd44-cyan);
  border-radius: var(--shell0fd44-radius);
  background: #2a2a2a;
  font-size: 13px;
}
.shell0fd44-fact:nth-child(even) { border-left-color: var(--shell0fd44-rose); }

.shell0fd44-fact dt {
  font-family: var(--shell0fd44-head-font);
  font-size: 11.5px;
  color: var(--shell0fd44-cyan);
  letter-spacing: 0.03em;
}
.shell0fd44-fact dd { margin: 0; color: var(--shell0fd44-ink-dim); }

.shell0fd44-pairlist { display: grid; gap: 8px; margin: 4px 0 0; padding: 0; list-style: none; }

.shell0fd44-pairlist > li { list-style-position: inside; }

.shell0fd44-pair {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2px;
  padding: 8px 10px;
  border: 1px solid var(--shell0fd44-line);
  border-radius: var(--shell0fd44-radius);
  background: #2a2a2a;
  font-size: 13px;
}
.shell0fd44-pair b { color: var(--shell0fd44-mint); font-weight: 700; }
.shell0fd44-pair span { color: var(--shell0fd44-ink-dim); }

.shell0fd44-notegrid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
  margin-top: 4px;
}
@media (max-width: 359px) {
  .shell0fd44-notegrid { grid-template-columns: 1fr; }
}

.shell0fd44-note {
  border: 1px dashed var(--shell0fd44-line-strong);
  border-radius: var(--shell0fd44-radius);
  padding: 8px 9px;
  font-size: 12.5px;
  color: var(--shell0fd44-ink-dim);
  background: rgba(0, 184, 212, 0.06);
}
.shell0fd44-note b { color: var(--shell0fd44-ink); display: block; margin-bottom: 2px; }

.shell0fd44-highlights { display: grid; gap: 10px; margin-top: 4px; }

.shell0fd44-hlblock {
  border: 1px solid var(--shell0fd44-line);
  border-radius: var(--shell0fd44-radius);
  padding: 9px 10px;
  background: #2a2a2a;
  font-size: 13px;
  color: var(--shell0fd44-ink-dim);
}
.shell0fd44-hlblock h3 {
  font-size: 13px;
  color: var(--shell0fd44-mint);
  margin-bottom: 4px;
}
.shell0fd44-hlblock b { color: var(--shell0fd44-ink); }

/* ============ Extended homepage footer ============ */
.shell0fd44-xfoot { margin-top: 4px; }

.shell0fd44-xfoot-zone {
  border: 1px solid var(--shell0fd44-line);
  border-radius: var(--shell0fd44-radius);
  background: #2b2b2b;
  padding: 11px 11px 12px;
  margin-bottom: 12px;
}
.shell0fd44-xfoot-zone h2 { font-size: 14px; margin-bottom: 6px; }

.shell0fd44-directory {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 6px;
}
@media (max-width: 359px) {
  .shell0fd44-directory { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

.shell0fd44-dirlink {
  display: grid;
  place-items: center;
  text-align: center;
  min-height: 44px;
  padding: 6px 4px;
  border: 1px solid var(--shell0fd44-line);
  border-radius: var(--shell0fd44-radius);
  background: var(--shell0fd44-panel);
  color: var(--shell0fd44-ink);
  font-size: 11.5px;
  line-height: 1.3;
}
.shell0fd44-dirlink:active {
  transform: translateY(-2px);
  border-color: var(--shell0fd44-line-strong);
}
.shell0fd44-dirlink i {
  font-style: normal;
  font-family: var(--shell0fd44-head-font);
  font-size: 10px;
  color: var(--shell0fd44-cyan);
  display: block;
}

/* Horizontal promo shortcuts strip */
.shell0fd44-shortcutlane {
  display: flex;
  gap: 8px;
  overflow-x: auto;
  padding-bottom: 4px;
  scrollbar-width: thin;
}

.shell0fd44-shortcut {
  flex: 0 0 auto;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 3px;
  min-height: 56px;
  min-width: 132px;
  padding: 8px 12px;
  border-radius: 8px;
  border: 1px solid var(--shell0fd44-line-strong);
  background: linear-gradient(150deg, rgba(0, 184, 212, 0.16) 0%, rgba(173, 20, 87, 0.16) 100%);
  color: var(--shell0fd44-ink);
  font-family: var(--shell0fd44-head-font);
  font-size: 12px;
  font-weight: 700;
  text-align: left;
  cursor: pointer;
}
.shell0fd44-shortcut small {
  font-family: var(--shell0fd44-body-font);
  font-weight: 400;
  font-size: 10.5px;
  color: var(--shell0fd44-ink-dim);
}
.shell0fd44-shortcut:active { transform: translateY(-2px); }

.shell0fd44-disclaimer {
  border: 1px dashed rgba(240, 248, 255, 0.28);
  border-radius: var(--shell0fd44-radius);
  padding: 9px 10px;
  font-size: 11.5px;
  line-height: 1.65;
  color: var(--shell0fd44-ink-dim);
  background: rgba(173, 20, 87, 0.08);
}

/* ============ Common footer + fixed bottom band ============ */
.shell0fd44-footer {
  text-align: center;
  padding: 4px 12px 10px;
  font-family: var(--shell0fd44-head-font);
  font-size: 11px;
  color: var(--shell0fd44-ink-dim);
  letter-spacing: 0.04em;
}

.shell0fd44-bottomnav {
  position: fixed;
  bottom: 0; left: 50%;
  transform: translateX(-50%);
  width: 100%;
  max-width: 430px;
  z-index: 60;
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  height: calc(var(--shell0fd44-bottomnav-h) + env(safe-area-inset-bottom, 0px));
  padding-bottom: env(safe-area-inset-bottom, 0px);
  background: linear-gradient(180deg, #2b2b2b 0%, #222222 100%);
  border-top: 2px solid var(--shell0fd44-rose);
}

.shell0fd44-navitem {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 3px;
  min-height: 44px;
  padding: 6px 2px 4px;
  border: 0;
  background: transparent;
  color: var(--shell0fd44-ink-dim);
  font-family: var(--shell0fd44-body-font);
  font-size: 10.5px;
  line-height: 1.2;
  cursor: pointer;
  position: relative;
}
.shell0fd44-navitem svg { transition: transform 0.16s ease; }
.shell0fd44-navitem:active svg { transform: translateY(-3px); }

.shell0fd44-navitem[data-here="1"] {
  color: var(--shell0fd44-ink);
  background: linear-gradient(180deg, rgba(0, 184, 212, 0.20) 0%, rgba(0, 184, 212, 0.02) 100%);
  border-radius: 8px 8px 0 0;
}
.shell0fd44-navitem[data-here="1"]::before {
  content: "";
  position: absolute;
  top: 0; left: 22%; right: 22%;
  height: 3px;
  border-radius: 0 0 3px 3px;
  background: var(--shell0fd44-cyan);
}
.shell0fd44-navitem[data-promo="1"] { color: var(--shell0fd44-mint); }

.shell0fd44-visualbreak {
  height: 1px;
  background: var(--shell0fd44-line);
  margin: 14px 0;
}

@media (min-width: 431px) {
  body::before {
    content: "";
    position: fixed;
    inset: 0;
    background:
      radial-gradient(600px 300px at 20% 0%, rgba(0, 184, 212, 0.08), transparent 70%),
      radial-gradient(600px 300px at 80% 100%, rgba(173, 20, 87, 0.08), transparent 70%);
    pointer-events: none;
  }
}
