/* ============================================================
   55577.cyou - mobile-first base stylesheet
   Prefix contract: every class and variable uses shell2c2df-
   Palette: #F4A460 / #F08080 / #34495E (base) / #AD1457
   ============================================================ */

:root {
  --shell2c2df-ink: #34495E;
  --shell2c2df-ink-deep: #263544;
  --shell2c2df-ink-soft: #3D5266;
  --shell2c2df-sand: #F4A460;
  --shell2c2df-coral: #F08080;
  --shell2c2df-magenta: #AD1457;
  --shell2c2df-magenta-hot: #C2185B;
  --shell2c2df-paper: #F6EFE6;
  --shell2c2df-paper-dim: #D9CFBF;
  --shell2c2df-line: rgba(244, 164, 96, 0.22);
  --shell2c2df-canvas: 430px;
  --shell2c2df-radius-card: 14px;
  --shell2c2df-radius-btn: 9px;
  --shell2c2df-gap: 12px;
  --shell2c2df-font: "Hind Siliguri", "Noto Sans Bengali", "SolaimanLipi", "Segoe UI", system-ui, -apple-system, sans-serif;
}

/* ---------- reset + base ---------- */
*,
*::before,
*::after {
  box-sizing: border-box;
}

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

body {
  margin: 0;
  padding: 0;
  font-family: var(--shell2c2df-font);
  font-size: 15px;
  line-height: 1.75;
  color: var(--shell2c2df-paper);
  background: #1E2B38;
  background-image: radial-gradient(circle at 50% 0%, #2C3E50 0%, #1B2733 62%);
}

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

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

a {
  color: var(--shell2c2df-sand);
  text-decoration: none;
}

a:hover {
  text-decoration: underline;
}

:focus-visible {
  outline: 2px solid var(--shell2c2df-coral);
  outline-offset: 2px;
}

.shell2c2df-canvas {
  position: relative;
  max-width: var(--shell2c2df-canvas);
  margin: 0 auto;
  min-height: 100vh;
  background: var(--shell2c2df-ink);
  box-shadow: 0 0 44px rgba(0, 0, 0, 0.45);
  overflow-x: hidden;
}

.shell2c2df-main {
  padding: 116px 14px calc(86px + env(safe-area-inset-bottom, 0px));
}

/* ---------- top identity bar (centered) ---------- */
.shell2c2df-header {
  position: fixed;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 100%;
  max-width: var(--shell2c2df-canvas);
  z-index: 60;
  background: linear-gradient(180deg, #2E4053 0%, var(--shell2c2df-ink-deep) 100%);
  border-bottom: 1px solid var(--shell2c2df-line);
  box-shadow: 0 3px 14px rgba(0, 0, 0, 0.35);
}

.shell2c2df-brandrow {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 56px;
  padding: 7px 14px 5px;
}

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

.shell2c2df-brand:hover {
  text-decoration: none;
}

.shell2c2df-logo {
  width: 38px;
  height: 38px;
  border-radius: 11px;
  border: 2px solid rgba(244, 164, 96, 0.65);
  object-fit: cover;
  background: #101B24;
}

.shell2c2df-brandname {
  font-size: 21px;
  font-weight: 700;
  letter-spacing: 1.5px;
  color: var(--shell2c2df-sand);
  line-height: 1.2;
}

/* ---------- action strip under the identity bar ---------- */
.shell2c2df-actionrow {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 0 12px 10px;
}

.shell2c2df-menubtn {
  flex: 0 0 44px;
  height: 44px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: var(--shell2c2df-radius-btn);
  border: 1px solid var(--shell2c2df-line);
  background: rgba(244, 164, 96, 0.08);
  color: var(--shell2c2df-sand);
  transition: transform 0.14s ease;
}

.shell2c2df-menubtn:active {
  transform: scale(0.92);
}

.shell2c2df-menubtn-bars {
  display: inline-flex;
  flex-direction: column;
  gap: 4px;
}

.shell2c2df-menubtn-bars span {
  width: 19px;
  height: 2px;
  border-radius: 2px;
  background: currentColor;
  transition: transform 0.2s ease, opacity 0.2s ease;
}

.shell2c2df-menubtn[aria-expanded="true"] .shell2c2df-menubtn-bars span:nth-child(1) {
  transform: translateY(6px) rotate(45deg);
}

.shell2c2df-menubtn[aria-expanded="true"] .shell2c2df-menubtn-bars span:nth-child(2) {
  opacity: 0;
}

.shell2c2df-menubtn[aria-expanded="true"] .shell2c2df-menubtn-bars span:nth-child(3) {
  transform: translateY(-6px) rotate(-45deg);
}

.shell2c2df-duo {
  display: flex;
  gap: 8px;
  flex: 1;
}

.shell2c2df-duo .shell2c2df-btn {
  flex: 1;
  min-height: 44px;
  padding: 9px 10px;
  font-size: 14.5px;
  font-weight: 700;
  text-align: center;
  border-radius: var(--shell2c2df-radius-btn);
  border: 0;
  transition: transform 0.14s ease, filter 0.14s ease;
}

.shell2c2df-duo .shell2c2df-btn:active {
  transform: scale(0.95);
}

.shell2c2df-btn-register {
  background: linear-gradient(135deg, var(--shell2c2df-magenta-hot), var(--shell2c2df-magenta));
  color: #FFE9F1;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.14);
}

.shell2c2df-btn-login {
  background: transparent;
  color: var(--shell2c2df-sand);
  border: 1.5px solid var(--shell2c2df-sand);
}

/* ---------- expandable route menu ---------- */
.shell2c2df-routes {
  display: none;
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.28s ease;
  background: #22323F;
  border-top: 1px solid rgba(244, 164, 96, 0.16);
}

.shell2c2df-header.shell2c2df-isopen .shell2c2df-routes {
  display: block;
  max-height: 560px;
  overflow-y: auto;
}

.shell2c2df-routes ul {
  list-style: none;
  margin: 0;
  padding: 8px 12px 14px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 6px;
}

.shell2c2df-routes a {
  display: block;
  min-height: 44px;
  padding: 10px 11px;
  font-size: 13.5px;
  font-weight: 600;
  color: var(--shell2c2df-paper);
  background: rgba(61, 82, 102, 0.55);
  border: 1px solid transparent;
  border-radius: var(--shell2c2df-radius-btn);
  line-height: 1.35;
}

.shell2c2df-routes a:hover {
  text-decoration: none;
  border-color: var(--shell2c2df-line);
  background: rgba(244, 164, 96, 0.12);
}

.shell2c2df-routes a[aria-current="page"] {
  background: var(--shell2c2df-sand);
  color: var(--shell2c2df-ink-deep);
  font-weight: 700;
}

/* ---------- hero ---------- */
.shell2c2df-hero {
  padding: 6px 2px 4px;
}

.shell2c2df-hero h1 {
  margin: 0 0 8px;
  font-size: 24px;
  line-height: 1.38;
  font-weight: 700;
  color: var(--shell2c2df-paper);
}

.shell2c2df-hero h1 em {
  font-style: normal;
  color: var(--shell2c2df-sand);
}

.shell2c2df-hero p {
  margin: 0 0 14px;
  font-size: 14.5px;
  color: var(--shell2c2df-paper-dim);
}

.shell2c2df-metricstrip {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 0 0 16px;
}

.shell2c2df-metric {
  flex: 1 1 30%;
  min-width: 96px;
  padding: 8px 10px;
  background: rgba(38, 53, 68, 0.75);
  border: 1px solid var(--shell2c2df-line);
  border-radius: var(--shell2c2df-radius-btn);
  text-align: center;
}

.shell2c2df-metric b {
  display: block;
  font-size: 17px;
  color: var(--shell2c2df-coral);
  line-height: 1.3;
}

.shell2c2df-metric small {
  font-size: 11.5px;
  color: var(--shell2c2df-paper-dim);
}

/* ---------- promo carousel ---------- */
.shell2c2df-carousel {
  position: relative;
  margin: 4px 0 22px;
  border-radius: var(--shell2c2df-radius-card);
  overflow: hidden;
  border: 1px solid var(--shell2c2df-line);
  background: var(--shell2c2df-ink-deep);
}

.shell2c2df-track {
  display: flex;
  transition: transform 0.42s ease;
}

.shell2c2df-slide {
  flex: 0 0 100%;
  padding: 0;
  margin: 0;
  border: 0;
  background: none;
  display: block;
  width: 100%;
}

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

.shell2c2df-dots {
  position: absolute;
  bottom: 9px;
  left: 0;
  right: 0;
  display: flex;
  justify-content: center;
  gap: 7px;
}

.shell2c2df-dots button {
  width: 22px;
  height: 22px;
  padding: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: none;
  border: 0;
}

.shell2c2df-dots button::after {
  content: "";
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: rgba(246, 239, 230, 0.5);
  transition: transform 0.18s ease, background 0.18s ease;
}

.shell2c2df-dots button[aria-current="true"]::after {
  background: var(--shell2c2df-coral);
  transform: scale(1.35);
}

.shell2c2df-dots button:active {
  transform: scale(0.9);
}

/* ---------- section headings ---------- */
.shell2c2df-block {
  margin: 0 0 26px;
}

.shell2c2df-blockhead {
  display: flex;
  align-items: baseline;
  gap: 9px;
  margin: 0 0 6px;
}

.shell2c2df-blockhead h2 {
  margin: 0;
  font-size: 19px;
  line-height: 1.45;
  font-weight: 700;
  color: var(--shell2c2df-sand);
}

.shell2c2df-countchip {
  flex: 0 0 auto;
  font-size: 11px;
  font-weight: 700;
  color: var(--shell2c2df-ink-deep);
  background: var(--shell2c2df-coral);
  border-radius: 20px;
  padding: 2px 9px;
  white-space: nowrap;
}

.shell2c2df-blockintro {
  margin: 0 0 12px;
  font-size: 13.5px;
  color: var(--shell2c2df-paper-dim);
  line-height: 1.7;
}

/* ---------- game grid (pure image card + short name) ---------- */
.shell2c2df-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 10px 8px;
}

.shell2c2df-game {
  padding: 0;
  margin: 0;
  border: 0;
  background: none;
  text-align: center;
  transition: transform 0.16s ease;
}

.shell2c2df-game:active {
  transform: scale(0.93);
}

.shell2c2df-gamethumb {
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  border-radius: 12px;
  border: 1.5px solid rgba(244, 164, 96, 0.3);
  background: var(--shell2c2df-ink-deep);
}

.shell2c2df-gamename {
  display: block;
  margin-top: 5px;
  font-size: 11.5px;
  line-height: 1.4;
  font-weight: 600;
  color: var(--shell2c2df-paper);
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

/* ---------- prose blocks ---------- */
.shell2c2df-lead {
  margin: 0 0 12px;
}

.shell2c2df-lead:first-letter {
  color: var(--shell2c2df-coral);
  font-weight: 700;
}

.shell2c2df-prose h3 {
  margin: 18px 0 6px;
  font-size: 15.5px;
  color: var(--shell2c2df-coral);
  line-height: 1.5;
}

.shell2c2df-prose p {
  margin: 0 0 10px;
}

.shell2c2df-prose ul,
.shell2c2df-prose ol {
  margin: 0 0 12px;
  padding-left: 20px;
}

.shell2c2df-prose li {
  margin-bottom: 6px;
}

.shell2c2df-note {
  border-left: 3px solid var(--shell2c2df-magenta);
  background: rgba(173, 20, 87, 0.14);
  padding: 10px 12px;
  border-radius: 0 10px 10px 0;
  font-size: 13.5px;
  margin: 12px 0;
}

/* ---------- compact comparison table ---------- */
.shell2c2df-tablewrap {
  overflow-x: auto;
  margin: 12px 0 6px;
  border: 1px solid var(--shell2c2df-line);
  border-radius: var(--shell2c2df-radius-card);
}

.shell2c2df-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 12.5px;
  min-width: 300px;
}

.shell2c2df-table caption {
  caption-side: top;
  text-align: left;
  padding: 10px 12px 6px;
  font-size: 12.5px;
  color: var(--shell2c2df-paper-dim);
}

.shell2c2df-table th,
.shell2c2df-table td {
  padding: 9px 10px;
  text-align: left;
  vertical-align: top;
  border-top: 1px solid rgba(244, 164, 96, 0.14);
}

.shell2c2df-table thead th {
  background: rgba(244, 164, 96, 0.12);
  color: var(--shell2c2df-sand);
  font-size: 12px;
  white-space: nowrap;
}

.shell2c2df-table td:first-child {
  color: var(--shell2c2df-sand);
  font-weight: 600;
  white-space: nowrap;
}

/* ---------- FAQ ---------- */
.shell2c2df-faq {
  border: 1px solid var(--shell2c2df-line);
  border-radius: var(--shell2c2df-radius-card);
  background: rgba(38, 53, 68, 0.6);
  padding: 4px 12px;
}

.shell2c2df-faq details {
  border-bottom: 1px solid rgba(244, 164, 96, 0.14);
}

.shell2c2df-faq details:last-child {
  border-bottom: 0;
}

.shell2c2df-faq summary {
  padding: 12px 2px;
  font-size: 14px;
  font-weight: 700;
  color: var(--shell2c2df-paper);
  cursor: pointer;
  list-style: none;
  position: relative;
  padding-right: 26px;
}

.shell2c2df-faq summary::-webkit-details-marker {
  display: none;
}

.shell2c2df-faq summary::after {
  content: "+";
  position: absolute;
  right: 4px;
  top: 50%;
  transform: translateY(-50%);
  font-size: 17px;
  color: var(--shell2c2df-coral);
  font-weight: 700;
}

.shell2c2df-faq details[open] summary::after {
  content: "−";
}

.shell2c2df-faq p {
  margin: 0 0 12px;
  font-size: 13.5px;
  color: var(--shell2c2df-paper-dim);
}

/* ---------- CTA band ---------- */
.shell2c2df-ctaband {
  margin: 26px 0;
  padding: 16px 14px;
  border-radius: var(--shell2c2df-radius-card);
  background: linear-gradient(140deg, rgba(173, 20, 87, 0.32), rgba(244, 164, 96, 0.16));
  border: 1px solid rgba(240, 128, 128, 0.35);
  text-align: center;
}

.shell2c2df-ctaband h2 {
  margin: 0 0 6px;
  font-size: 18.5px;
  color: var(--shell2c2df-paper);
  line-height: 1.45;
}

.shell2c2df-ctaband p {
  margin: 0 0 13px;
  font-size: 13.5px;
  color: var(--shell2c2df-paper-dim);
}

.shell2c2df-ctaband .shell2c2df-duo .shell2c2df-btn {
  min-height: 46px;
}

/* ---------- extended footer ---------- */
.shell2c2df-extended {
  margin-top: 30px;
  border-top: 2px solid var(--shell2c2df-magenta);
  background: #22323F;
  padding: 18px 0 8px;
}

.shell2c2df-extended .shell2c2df-inner {
  padding: 0 16px;
}

.shell2c2df-exttitle {
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.6px;
  text-transform: uppercase;
  color: var(--shell2c2df-coral);
  margin: 0 0 10px;
}

.shell2c2df-promogrid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
  margin-bottom: 20px;
}

.shell2c2df-promoact {
  display: flex;
  align-items: center;
  gap: 9px;
  min-height: 48px;
  padding: 9px 11px;
  border: 1px solid rgba(244, 164, 96, 0.28);
  background: rgba(244, 164, 96, 0.07);
  border-radius: var(--shell2c2df-radius-btn);
  color: var(--shell2c2df-paper);
  font-size: 13px;
  font-weight: 600;
  text-align: left;
  transition: transform 0.14s ease, background 0.14s ease;
}

.shell2c2df-promoact:active {
  transform: scale(0.95);
  background: rgba(244, 164, 96, 0.16);
}

.shell2c2df-promoact svg {
  flex: 0 0 20px;
  width: 20px;
  height: 20px;
  color: var(--shell2c2df-coral);
}

.shell2c2df-brandblurb {
  font-size: 13px;
  color: var(--shell2c2df-paper-dim);
  margin: 0 0 18px;
  line-height: 1.7;
}

.shell2c2df-directory {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 6px 10px;
  margin-bottom: 18px;
}

.shell2c2df-directory a {
  font-size: 12.5px;
  color: var(--shell2c2df-paper-dim);
  padding: 6px 0 6px 14px;
  position: relative;
  line-height: 1.5;
}

.shell2c2df-directory a::before {
  content: "";
  position: absolute;
  left: 0;
  top: 12px;
  width: 6px;
  height: 6px;
  border-radius: 2px;
  background: var(--shell2c2df-sand);
}

.shell2c2df-directory a:hover {
  color: var(--shell2c2df-sand);
}

.shell2c2df-disclaimer {
  font-size: 11.5px;
  color: #9AA8B4;
  border-top: 1px solid rgba(244, 164, 96, 0.14);
  padding-top: 12px;
  margin-bottom: 10px;
  line-height: 1.65;
}

/* ---------- common footer ---------- */
.shell2c2df-foot {
  padding: 14px 16px 18px;
  text-align: center;
  font-size: 12px;
  color: #9AA8B4;
  background: #1D2A36;
}

.shell2c2df-foot p {
  margin: 0;
}

/* ---------- floating dock (mobile bottom nav) ---------- */
.shell2c2df-dock {
  position: fixed;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 100%;
  max-width: var(--shell2c2df-canvas);
  z-index: 70;
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  background: linear-gradient(180deg, #2E4053 0%, #1D2A36 100%);
  border-top: 1px solid var(--shell2c2df-line);
  border-radius: 18px 18px 0 0;
  box-shadow: 0 -6px 20px rgba(0, 0, 0, 0.4);
  padding: 6px 4px calc(6px + env(safe-area-inset-bottom, 0px));
}

.shell2c2df-dockitem {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 3px;
  min-height: 52px;
  padding: 4px 2px;
  border-radius: 12px;
  color: var(--shell2c2df-paper-dim);
  font-size: 10.5px;
  font-weight: 600;
  line-height: 1.25;
  text-align: center;
  transition: transform 0.14s ease;
}

.shell2c2df-dockitem svg {
  width: 21px;
  height: 21px;
  position: relative;
}

.shell2c2df-dockitem:active {
  transform: scale(0.9);
}

.shell2c2df-dockitem:hover {
  text-decoration: none;
}

.shell2c2df-dockitem[aria-current="page"] {
  background: var(--shell2c2df-sand);
  color: var(--shell2c2df-ink-deep);
}

.shell2c2df-dockhot {
  display: block;
}

.shell2c2df-dockhot .shell2c2df-dockitem svg {
  color: var(--shell2c2df-coral);
}

.shell2c2df-dockhot[aria-current="page"] svg {
  color: var(--shell2c2df-ink-deep);
}

/* ---------- restrained reveal ---------- */
.shell2c2df-reveal {
  opacity: 0;
  transform: translateY(10px);
  transition: opacity 0.5s ease, transform 0.5s ease;
}

.shell2c2df-reveal.shell2c2df-shown {
  opacity: 1;
  transform: none;
}

/* ---------- wider phones keep the phone canvas ---------- */
@media (min-width: 375px) {
  .shell2c2df-main {
    padding-left: 16px;
    padding-right: 16px;
  }

  .shell2c2df-hero h1 {
    font-size: 26px;
  }

  .shell2c2df-blockhead h2 {
    font-size: 20px;
  }
}

@media (min-width: 430px) {
  .shell2c2df-grid {
    grid-template-columns: repeat(5, 1fr);
    gap: 12px 10px;
  }

  .shell2c2df-gamename {
    font-size: 12px;
  }

  .shell2c2df-hero h1 {
    font-size: 28px;
  }

  .shell2c2df-promogrid {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (max-width: 359px) {
  .shell2c2df-grid {
    grid-template-columns: repeat(4, 1fr);
    gap: 8px 6px;
  }

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

/* ---------- accessibility: motion off ---------- */
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  .shell2c2df-reveal {
    opacity: 1;
    transform: none;
    transition: none;
  }

  .shell2c2df-track {
    transition: none;
  }

  * {
    animation-duration: 0.001s !important;
    transition-duration: 0.001s !important;
  }
}
