/* ==========================================================================
   cd4.homes — base stylesheet
   File   : css/cd4-palette-025a06.css
   Prefix : shella06e1-
   Palette: #1A1A2E (ink bg) / #CED4DA (mist) / #DCDCDC (steel)
            #C0C0C0 (silver) / #F5F5F5 (paper text) / #A0522D (clay accent)
   Direction:
     - rounded display type paired with a compact body face
     - pill buttons for utility actions, square high-contrast CTAs
     - outlined tile cards for the game grid (square corners)
     - short-paragraph / list information rhythm
     - short-distance transitions only (fast, small transforms)
     - tab-style top bar, expanding menu drawer, center-raised dock
   ========================================================================== */

:root {
  --shella06e1-ink: #1A1A2E;
  --shella06e1-inksoft: #232338;
  --shella06e1-mist: #CED4DA;
  --shella06e1-steel: #DCDCDC;
  --shella06e1-silver: #C0C0C0;
  --shella06e1-paper: #F5F5F5;
  --shella06e1-clay: #A0522D;
  --shella06e1-claylight: #B96A44;
  --shella06e1-line: rgba(206, 212, 218, 0.26);
  --shella06e1-lineclay: rgba(160, 82, 45, 0.55);
  --shella06e1-head-font: 'Baloo Da 2', 'Hind Siliguri', 'Noto Sans Bengali', sans-serif;
  --shella06e1-body-font: 'Hind Siliguri', 'Noto Sans Bengali', 'Segoe UI', Arial, sans-serif;
  --shella06e1-shell: 480px;
}

/* ---- reset & canvas ---------------------------------------------------- */

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

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

body {
  margin: 0;
  background: #14142a;
  background: radial-gradient(120% 60% at 50% 0%, #20203a 0%, #14142a 62%, #101024 100%);
  color: var(--shella06e1-paper);
  font-family: var(--shella06e1-body-font);
  font-size: 14px;
  line-height: 1.75;
  overflow-x: hidden;
  min-height: 100vh;
}

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

a {
  color: var(--shella06e1-mist);
  text-decoration: none;
}

button {
  font-family: inherit;
  cursor: pointer;
}

:focus-visible {
  outline: 2px solid var(--shella06e1-mist);
  outline-offset: 2px;
}

::selection {
  background: var(--shella06e1-clay);
  color: var(--shella06e1-paper);
}

/* phone canvas stays centered on wide screens */
.shella06e1-shell {
  max-width: var(--shella06e1-shell);
  margin: 0 auto;
  background: var(--shella06e1-ink);
  min-height: 100vh;
  box-shadow: 0 0 0 1px rgba(206, 212, 218, 0.08);
  position: relative;
}

/* ---- fixed top bar (tab style) ------------------------------------------ */

.shella06e1-topbar {
  position: fixed;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 100%;
  max-width: var(--shella06e1-shell);
  z-index: 60;
  background: rgba(26, 26, 46, 0.94);
  border-bottom: 1px solid var(--shella06e1-line);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}

.shella06e1-brandrow {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 8px 12px;
}

.shella06e1-brand {
  display: flex;
  align-items: center;
  gap: 8px;
  min-height: 44px;
}

.shella06e1-brandlogo {
  width: 34px;
  height: 34px;
  border-radius: 9px;
  border: 1px solid var(--shella06e1-line);
  object-fit: cover;
  flex: 0 0 auto;
}

.shella06e1-brandname {
  font-family: var(--shella06e1-head-font);
  font-size: 21px;
  font-weight: 700;
  letter-spacing: 0.04em;
  color: var(--shella06e1-paper);
  line-height: 1.2;
}

.shella06e1-actions {
  margin-left: auto;
  display: flex;
  align-items: center;
  gap: 7px;
}

/* square-corner, high-contrast primary CTA */
.shella06e1-btncta {
  border: 0;
  border-radius: 0;
  background: var(--shella06e1-clay);
  color: var(--shella06e1-paper);
  font-weight: 700;
  font-size: 13px;
  letter-spacing: 0.02em;
  padding: 0 14px;
  min-height: 40px;
  transition: transform 0.16s ease, background-color 0.16s ease;
}

.shella06e1-btncta:hover {
  background: var(--shella06e1-claylight);
}

.shella06e1-btncta:active {
  transform: scale(0.94);
}

/* rounded utility button */
.shella06e1-btnghost {
  border: 1px solid var(--shella06e1-mist);
  border-radius: 999px;
  background: transparent;
  color: var(--shella06e1-mist);
  font-weight: 600;
  font-size: 13px;
  padding: 0 13px;
  min-height: 40px;
  transition: transform 0.16s ease, color 0.16s ease;
}

.shella06e1-btnghost:active {
  transform: scale(0.94);
  color: var(--shella06e1-paper);
}

/* hamburger menu button */
.shella06e1-menubtn {
  width: 40px;
  height: 40px;
  border: 1px solid var(--shella06e1-line);
  border-radius: 999px;
  background: transparent;
  display: inline-flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 4px;
}

.shella06e1-menubtn span {
  display: block;
  width: 16px;
  height: 2px;
  background: var(--shella06e1-mist);
  border-radius: 2px;
  transition: transform 0.18s ease, opacity 0.18s ease;
}

.shella06e1-menubtn.shella06e1-menuopen span:nth-child(1) {
  transform: translateY(6px) rotate(45deg);
}

.shella06e1-menubtn.shella06e1-menuopen span:nth-child(2) {
  opacity: 0;
}

.shella06e1-menubtn.shella06e1-menuopen span:nth-child(3) {
  transform: translateY(-6px) rotate(-45deg);
}

/* category quick tabs under the brand row */
.shella06e1-tabstrip {
  display: flex;
  gap: 7px;
  overflow-x: auto;
  padding: 0 12px 9px;
  scrollbar-width: none;
}

.shella06e1-tabstrip::-webkit-scrollbar {
  display: none;
}

.shella06e1-tabstrip a {
  flex: 0 0 auto;
  border: 1px solid var(--shella06e1-line);
  border-radius: 999px;
  color: var(--shella06e1-steel);
  font-size: 12px;
  font-weight: 600;
  padding: 6px 13px;
  white-space: nowrap;
  transition: transform 0.15s ease, border-color 0.15s ease;
}

.shella06e1-tabstrip a:active {
  transform: scale(0.93);
  border-color: var(--shella06e1-clay);
}

/* expanding site menu (hidden links stay unfocusable while closed) */
.shella06e1-drawer {
  max-height: 0;
  overflow: hidden;
  visibility: hidden;
  background: rgba(20, 20, 40, 0.98);
  transition: max-height 0.3s ease, visibility 0s linear 0.3s;
}

.shella06e1-drawer.shella06e1-open {
  max-height: 560px;
  visibility: visible;
  transition: max-height 0.3s ease;
}

.shella06e1-drawergrid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
  padding: 12px;
  border-top: 1px solid var(--shella06e1-line);
}

.shella06e1-drawergrid a {
  display: flex;
  align-items: center;
  min-height: 44px;
  border: 1px solid var(--shella06e1-line);
  border-radius: 4px;
  padding: 6px 11px;
  font-size: 13px;
  font-weight: 600;
  color: var(--shella06e1-steel);
  background: rgba(245, 245, 245, 0.02);
  transition: transform 0.15s ease;
}

.shella06e1-drawergrid a:active {
  transform: scale(0.96);
}

.shella06e1-drawergrid a[aria-current="page"] {
  border-color: var(--shella06e1-clay);
  color: var(--shella06e1-paper);
  box-shadow: inset 3px 0 0 var(--shella06e1-clay);
}

/* ---- main canvas -------------------------------------------------------- */

.shella06e1-main {
  padding: 118px 0 0;
}

/* ---- hero --------------------------------------------------------------- */

.shella06e1-hero {
  padding: 16px 14px 4px;
}

.shella06e1-h1 {
  font-family: var(--shella06e1-head-font);
  font-size: 24px;
  line-height: 1.42;
  margin: 0 0 8px;
  color: var(--shella06e1-paper);
}

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

/* banner carousel */
.shella06e1-carousel {
  position: relative;
  border: 1px solid var(--shella06e1-line);
  border-radius: 4px;
  overflow: hidden;
  background: var(--shella06e1-inksoft);
}

.shella06e1-track {
  display: flex;
  transition: transform 0.38s ease;
}

.shella06e1-slide {
  min-width: 100%;
}

.shella06e1-slide a {
  display: block;
}

.shella06e1-slide img {
  width: 100%;
  aspect-ratio: 2 / 1;
  object-fit: cover;
}

.shella06e1-dots {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 8px;
  display: flex;
  justify-content: center;
  gap: 6px;
}

.shella06e1-dot {
  width: 22px;
  height: 22px;
  padding: 0;
  border: 0;
  background: transparent;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.shella06e1-dot::before {
  content: "";
  display: block;
  width: 8px;
  height: 8px;
  border-radius: 4px;
  background: rgba(245, 245, 245, 0.55);
  transition: width 0.18s ease, background-color 0.18s ease;
}

.shella06e1-dot.shella06e1-dot--on::before {
  width: 18px;
  background: var(--shella06e1-claylight);
}

/* ---- game sections ------------------------------------------------------ */

.shella06e1-catsec {
  padding: 20px 14px 4px;
  scroll-margin-top: 128px;
}

.shella06e1-cathead {
  font-family: var(--shella06e1-head-font);
  font-size: 19px;
  line-height: 1.45;
  margin: 0 0 6px;
  padding-left: 10px;
  border-left: 4px solid var(--shella06e1-clay);
  color: var(--shella06e1-paper);
}

.shella06e1-catnote {
  margin: 0 0 12px;
  font-size: 12.5px;
  line-height: 1.8;
  color: var(--shella06e1-silver);
}

.shella06e1-catnote a {
  color: var(--shella06e1-mist);
  border-bottom: 1px dashed var(--shella06e1-lineclay);
  font-weight: 600;
}

/* outlined tile game grid: 4 columns at 320px, 5 from 390px up */
.shella06e1-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 8px;
}

.shella06e1-tile {
  display: block;
  border: 1px solid var(--shella06e1-line);
  border-radius: 3px;
  background: rgba(245, 245, 245, 0.03);
  padding: 5px 4px 6px;
  text-align: center;
  transition: transform 0.16s ease, border-color 0.16s ease;
}

.shella06e1-tile:hover {
  border-color: var(--shella06e1-lineclay);
}

.shella06e1-tile:active {
  transform: scale(0.94);
}

.shella06e1-tileimg {
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  border-radius: 2px;
  background: var(--shella06e1-inksoft);
}

.shella06e1-tilename {
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  margin-top: 5px;
  font-size: 11px;
  line-height: 1.4;
  color: var(--shella06e1-steel);
  overflow-wrap: anywhere;
}

/* ---- content modules ---------------------------------------------------- */

.shella06e1-module {
  margin: 18px 14px 0;
  border: 1px solid var(--shella06e1-line);
  border-radius: 4px;
  background: rgba(245, 245, 245, 0.02);
  padding: 14px 13px 15px;
}

.shella06e1-module .shella06e1-h2,
.shella06e1-catsec .shella06e1-cathead {
  font-family: var(--shella06e1-head-font);
}

.shella06e1-h2 {
  font-size: 17.5px;
  line-height: 1.5;
  margin: 0 0 8px;
  color: var(--shella06e1-paper);
}

.shella06e1-h3 {
  font-family: var(--shella06e1-head-font);
  font-size: 14.5px;
  line-height: 1.5;
  margin: 14px 0 4px;
  color: var(--shella06e1-mist);
}

.shella06e1-p {
  margin: 0 0 9px;
  font-size: 13.5px;
  color: var(--shella06e1-steel);
  overflow-wrap: anywhere;
}

.shella06e1-p a,
.shella06e1-li a {
  color: var(--shella06e1-paper);
  font-weight: 600;
  border-bottom: 1px dashed var(--shella06e1-lineclay);
}

.shella06e1-list {
  margin: 0 0 10px;
  padding: 0;
  list-style: none;
}

.shella06e1-list li {
  position: relative;
  padding: 3px 0 3px 16px;
  font-size: 13px;
  color: var(--shella06e1-steel);
}

.shella06e1-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 12px;
  width: 7px;
  height: 7px;
  background: var(--shella06e1-clay);
}

/* numbered install steps */
.shella06e1-steps {
  margin: 0 0 10px;
  padding: 0;
  list-style: none;
  counter-reset: shella06e1-step;
}

.shella06e1-steps li {
  counter-increment: shella06e1-step;
  position: relative;
  padding: 0 0 8px 30px;
  font-size: 13px;
  color: var(--shella06e1-steel);
}

.shella06e1-steps li::before {
  content: counter(shella06e1-step);
  position: absolute;
  left: 0;
  top: 2px;
  width: 21px;
  height: 21px;
  border: 1px solid var(--shella06e1-lineclay);
  border-radius: 4px;
  color: var(--shella06e1-paper);
  font-size: 12px;
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

/* recent winners rows */
.shella06e1-winners {
  margin: 4px 0 10px;
  padding: 0;
  list-style: none;
  border: 1px solid var(--shella06e1-line);
  border-radius: 4px;
  overflow: hidden;
}

.shella06e1-winners li {
  display: flex;
  align-items: baseline;
  gap: 8px;
  padding: 8px 10px;
  border-bottom: 1px dashed var(--shella06e1-line);
}

.shella06e1-winners li:last-child {
  border-bottom: 0;
}

.shella06e1-wname {
  font-weight: 600;
  color: var(--shella06e1-paper);
  font-size: 12.5px;
}

.shella06e1-wgame {
  flex: 1;
  font-size: 12px;
  color: var(--shella06e1-silver);
}

.shella06e1-wamt {
  font-weight: 700;
  color: var(--shella06e1-claylight);
  font-size: 12.5px;
  white-space: nowrap;
}

/* feature + comparison rows */
.shella06e1-rows {
  margin: 0 0 8px;
  border: 1px solid var(--shella06e1-line);
  border-radius: 4px;
  overflow: hidden;
}

.shella06e1-row {
  padding: 8px 11px 9px;
  border-bottom: 1px solid var(--shella06e1-line);
}

.shella06e1-row:last-child {
  border-bottom: 0;
}

.shella06e1-row strong {
  display: block;
  font-family: var(--shella06e1-head-font);
  font-weight: 600;
  font-size: 13.5px;
  color: var(--shella06e1-paper);
  margin-bottom: 2px;
}

.shella06e1-row span {
  font-size: 12.5px;
  color: var(--shella06e1-steel);
}

/* compact Q&A pairs */
.shella06e1-qa {
  border-top: 1px dashed var(--shella06e1-line);
  margin-top: 12px;
  padding-top: 2px;
}

.shella06e1-qa p {
  margin: 0 0 10px;
  font-size: 13px;
  color: var(--shella06e1-steel);
}

/* ---- extended footer (homepage only) ------------------------------------ */

.shella06e1-extfoot {
  margin: 26px 14px 0;
  border-top: 3px solid var(--shella06e1-clay);
  padding-top: 14px;
}

.shella06e1-eftitle {
  font-family: var(--shella06e1-head-font);
  font-size: 14px;
  font-weight: 700;
  color: var(--shella06e1-mist);
  margin: 0 0 8px;
  letter-spacing: 0.02em;
}

.shella06e1-efbrand {
  margin-bottom: 18px;
}

.shella06e1-efbrand p {
  margin: 0;
  font-size: 12.5px;
  color: var(--shella06e1-silver);
  overflow-wrap: anywhere;
}

/* six promotion actions, icon + text label */
.shella06e1-efpromo {
  margin-bottom: 18px;
}

.shella06e1-promoitem {
  display: flex;
  align-items: center;
  gap: 10px;
  width: 100%;
  border: 1px dashed var(--shella06e1-lineclay);
  border-radius: 3px;
  background: rgba(160, 82, 45, 0.08);
  color: var(--shella06e1-paper);
  font-size: 13px;
  font-weight: 600;
  min-height: 46px;
  padding: 8px 12px;
  margin-bottom: 8px;
  text-align: left;
  transition: transform 0.15s ease;
}

.shella06e1-promoitem:active {
  transform: scale(0.97);
}

.shella06e1-promoitem svg {
  flex: 0 0 auto;
  width: 18px;
  height: 18px;
  color: var(--shella06e1-claylight);
}

/* page directory */
.shella06e1-efdir {
  margin-bottom: 18px;
}

.shella06e1-efdirgrid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
}

.shella06e1-efdirgrid a {
  display: flex;
  align-items: center;
  min-height: 44px;
  border: 1px solid var(--shella06e1-line);
  border-radius: 4px;
  padding: 6px 10px;
  font-size: 12.5px;
  font-weight: 600;
  color: var(--shella06e1-steel);
  background: rgba(245, 245, 245, 0.02);
  transition: transform 0.15s ease;
}

.shella06e1-efdirgrid a:active {
  transform: scale(0.96);
}

/* conditional disclaimer note */
.shella06e1-efdisc {
  border-left: 3px solid var(--shella06e1-clay);
  padding: 2px 0 2px 10px;
  font-size: 12px;
  line-height: 1.8;
  color: var(--shella06e1-silver);
  margin: 0 0 6px;
}

/* ---- slim copyright footer ---------------------------------------------- */

.shella06e1-foot {
  margin-top: 22px;
  padding: 16px 14px calc(92px + env(safe-area-inset-bottom));
  border-top: 1px solid var(--shella06e1-line);
  text-align: center;
  font-size: 12px;
  color: var(--shella06e1-silver);
}

/* ---- mobile bottom dock (center raised) ---------------------------------- */

.shella06e1-dock {
  position: fixed;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 100%;
  max-width: var(--shella06e1-shell);
  z-index: 70;
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  align-items: end;
  background: rgba(26, 26, 46, 0.96);
  border-top: 1px solid var(--shella06e1-line);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  padding: 6px 4px calc(6px + env(safe-area-inset-bottom));
}

.shella06e1-dockitem {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 3px;
  min-height: 52px;
  padding: 4px 2px;
  font-size: 10.5px;
  font-weight: 600;
  color: var(--shella06e1-silver);
  transition: transform 0.16s ease, color 0.16s ease;
}

.shella06e1-dockitem svg {
  width: 22px;
  height: 22px;
}

/* quick scale feedback on tap */
.shella06e1-dockitem:active svg {
  transform: scale(0.88);
}

/* light active marker + slight lift for the current page */
.shella06e1-dockitem--on {
  color: var(--shella06e1-paper);
  transform: translateY(-2px);
}

.shella06e1-dockitem--on::after {
  content: "";
  position: absolute;
  bottom: 1px;
  width: 16px;
  height: 3px;
  border-radius: 2px;
  background: var(--shella06e1-claylight);
}

/* raised square hub button in the center */
.shella06e1-dockitem--hub {
  margin-top: -20px;
  color: var(--shella06e1-paper);
}

.shella06e1-dockhubbadge {
  width: 50px;
  height: 50px;
  border-radius: 8px;
  background: var(--shella06e1-clay);
  border: 2px solid rgba(245, 245, 245, 0.18);
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.4);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.16s ease;
}

.shella06e1-dockhubbadge svg {
  width: 24px;
  height: 24px;
  color: var(--shella06e1-paper);
}

.shella06e1-dockitem--hub:active .shella06e1-dockhubbadge {
  transform: scale(0.9);
}

/* ---- breakpoints --------------------------------------------------------- */

/* tight phone canvas */
@media (max-width: 430px) {
  .shella06e1-h1 {
    font-size: 22px;
  }

  .shella06e1-brandname {
    font-size: 19px;
  }

  .shella06e1-btncta,
  .shella06e1-btnghost {
    font-size: 12px;
    padding: 0 10px;
  }

  .shella06e1-grid {
    gap: 7px;
  }

  .shella06e1-tilename {
    font-size: 10.5px;
  }

  .shella06e1-cathead {
    font-size: 18px;
  }

  .shella06e1-module,
  .shella06e1-hero,
  .shella06e1-catsec,
  .shella06e1-extfoot {
    margin-left: 12px;
    margin-right: 12px;
  }

  .shella06e1-hero,
  .shella06e1-catsec {
    margin-left: 0;
    margin-right: 0;
    padding-left: 12px;
    padding-right: 12px;
  }
}

/* wider phones: five game tiles per row */
@media (min-width: 390px) {
  .shella06e1-grid {
    grid-template-columns: repeat(5, minmax(0, 1fr));
  }
}

/* desktop: keep the centered phone canvas readable */
@media (min-width: 481px) {
  .shella06e1-shell {
    border-left: 1px solid var(--shella06e1-line);
    border-right: 1px solid var(--shella06e1-line);
  }
}

/* respect users who prefer less motion */
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    transition: none !important;
  }
}
