/* ==========================================================================
   bonus365.homes - shell stylesheet
   File  : css/responsive-d3d638-viewport.css
   Scope : mobile-first phone canvas (320-430px), centered on wide screens
   Prefix: shelld6380-  (all classes and custom properties)
   Palette reference: #6F4E37 / #212F3D / #DEB887 / #CD853F / #00BFFF
   Tone  : near-square "workbench" corners, ledger-style section heads,
           horizontal icon+name game bars, short vertical lift micro-motions
   ========================================================================== */

/* --------------------------------------------------------------------------
   1. Design tokens
   -------------------------------------------------------------------------- */
:root {
  --shelld6380-canvas: 430px;

  /* surfaces (dark navy family from #212F3D) */
  --shelld6380-bg-page: #0F161D;
  --shelld6380-bg: #1D2A38;
  --shelld6380-bg-raise: #243344;
  --shelld6380-bg-sunken: #16212C;
  --shelld6380-bg-inset: #121B24;

  /* palette */
  --shelld6380-coffee: #6F4E37;
  --shelld6380-sand: #DEB887;
  --shelld6380-peru: #CD853F;
  --shelld6380-sky: #00BFFF;

  /* derived text tones */
  --shelld6380-ink-strong: #F2E0C2;
  --shelld6380-ink: #DEB887;
  --shelld6380-ink-dim: #C2A987;
  --shelld6380-ink-mute: #8FA2B4;
  --shelld6380-ink-ghost: #6E8296;

  /* lines and effects */
  --shelld6380-line: rgba(222, 184, 135, 0.20);
  --shelld6380-line-soft: rgba(222, 184, 135, 0.12);
  --shelld6380-line-steel: rgba(143, 162, 180, 0.25);
  --shelld6380-shadow: 0 10px 26px rgba(5, 10, 15, 0.45);

  /* geometry - near-square workbench corners */
  --shelld6380-r-tight: 2px;
  --shelld6380-r: 3px;
  --shelld6380-r-cta: 6px;

  /* rhythm */
  --shelld6380-gap: 8px;
  --shelld6380-pad: 12px;
  --shelld6380-topbar-h: 56px;
  --shelld6380-rail-h: 60px;

  /* type */
  --shelld6380-font-head: "Space Grotesk", "Trebuchet MS", "Segoe UI", system-ui, sans-serif;
  --shelld6380-font-body: system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  --shelld6380-font-mono: "Space Grotesk", ui-monospace, "Cascadia Mono", Consolas, monospace;
}

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

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

body {
  margin: 0;
  background: var(--shelld6380-bg-page);
  color: var(--shelld6380-ink);
  font-family: var(--shelld6380-font-body);
  font-size: 14px;
  line-height: 1.62;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

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

h1, h2, h3, h4, p, ol, ul, figure {
  margin: 0;
}

ul, ol {
  padding: 0;
  list-style: none;
}

a {
  color: var(--shelld6380-sky);
  text-decoration: none;
}

a:hover {
  text-decoration: underline;
}

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

::selection {
  background: var(--shelld6380-peru);
  color: #141B22;
}

:focus-visible {
  outline: 2px solid var(--shelld6380-sky);
  outline-offset: 2px;
  border-radius: var(--shelld6380-r);
}

/* --------------------------------------------------------------------------
   3. Phone canvas and shared helpers
   -------------------------------------------------------------------------- */
.shelld6380-canvas {
  position: relative;
  width: 100%;
  max-width: var(--shelld6380-canvas); /* 430px phone canvas stays on wide screens */
  margin-inline: auto;
  background: var(--shelld6380-bg);
  min-height: 100dvh;
  box-shadow: 0 0 0 1px rgba(222, 184, 135, 0.06), 0 30px 80px rgba(0, 0, 0, 0.55);
  overflow-x: clip;
}

.shelld6380-vh {
  position: absolute;
  width: 1px;
  height: 1px;
  margin: -1px;
  padding: 0;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
  border: 0;
}

.shelld6380-skip {
  position: absolute;
  top: -48px;
  left: var(--shelld6380-pad);
  z-index: 90;
  padding: 10px 14px;
  background: var(--shelld6380-peru);
  color: #161D24;
  font-weight: 700;
  border-radius: var(--shelld6380-r-cta);
  transition: top 0.15s ease;
}

.shelld6380-skip:focus {
  top: 6px;
}

/* corner tick marks - the "workbench" signature of this shell */
.shelld6380-ticks {
  position: relative;
}

.shelld6380-ticks::before,
.shelld6380-ticks::after {
  content: "";
  position: absolute;
  width: 9px;
  height: 9px;
  border: 1px solid var(--shelld6380-peru);
  pointer-events: none;
}

.shelld6380-ticks::before {
  top: -1px;
  left: -1px;
  border-right: 0;
  border-bottom: 0;
}

.shelld6380-ticks::after {
  bottom: -1px;
  right: -1px;
  border-left: 0;
  border-top: 0;
}

/* --------------------------------------------------------------------------
   4. Fixed top brand bar
   -------------------------------------------------------------------------- */
.shelld6380-topbar {
  position: fixed;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 100%;
  max-width: var(--shelld6380-canvas);
  height: var(--shelld6380-topbar-h);
  z-index: 70;
  background: linear-gradient(180deg, #20303F 0%, #1B2836 100%);
  border-bottom: 1px solid var(--shelld6380-line);
}

.shelld6380-topbar-inner {
  display: flex;
  align-items: center;
  gap: 8px;
  height: 100%;
  padding: 0 10px;
}

/* compact brand strip: menu trigger + logo + site name only */
.shelld6380-brand {
  display: flex;
  align-items: center;
  gap: 8px;
  min-width: 0;
  margin-right: auto;
  color: var(--shelld6380-ink-strong);
}

.shelld6380-brand-logo {
  width: 32px;
  height: 32px;
  flex: none;
  border-radius: var(--shelld6380-r);
  border: 1px solid var(--shelld6380-line);
  background: var(--shelld6380-bg-sunken);
  object-fit: cover;
}

.shelld6380-brand-name {
  font-family: var(--shelld6380-font-head);
  font-size: 18px;
  font-weight: 700;
  letter-spacing: 0.04em;
  color: var(--shelld6380-ink-strong);
  white-space: nowrap;
}

/* menu trigger */
.shelld6380-menu-btn {
  display: inline-flex;
  flex-direction: column;
  justify-content: center;
  gap: 4px;
  width: 44px;
  height: 44px;
  padding: 10px 11px;
  border: 1px solid var(--shelld6380-line-soft);
  border-radius: var(--shelld6380-r);
  background: var(--shelld6380-bg-sunken);
}

.shelld6380-menu-btn-bar {
  display: block;
  height: 2px;
  background: var(--shelld6380-sand);
  transition: transform 0.2s ease, opacity 0.2s ease;
}

.shelld6380-menu-btn:hover .shelld6380-menu-btn-bar {
  background: var(--shelld6380-peru);
}

.shelld6380-menu-btn--open .shelld6380-menu-btn-bar:nth-child(1) {
  transform: translateY(6px) rotate(45deg);
}

.shelld6380-menu-btn--open .shelld6380-menu-btn-bar:nth-child(2) {
  opacity: 0;
}

.shelld6380-menu-btn--open .shelld6380-menu-btn-bar:nth-child(3) {
  transform: translateY(-6px) rotate(-45deg);
}

/* register / login action cluster */
.shelld6380-topbar-actions {
  display: flex;
  align-items: center;
  gap: 6px;
  flex: none;
}

.shelld6380-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 36px;
  padding: 7px 13px;
  font-family: var(--shelld6380-font-head);
  font-size: 12.5px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  border-radius: var(--shelld6380-r-cta);
  transition: transform 0.15s ease, background-color 0.15s ease, border-color 0.15s ease;
}

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

.shelld6380-btn--register {
  background: linear-gradient(180deg, #DE9350 0%, var(--shelld6380-peru) 100%);
  color: #17110A;
  border: 1px solid #E8B06C;
}

.shelld6380-btn--register:hover {
  background: linear-gradient(180deg, #E8A460 0%, #D68F49 100%);
  text-decoration: none;
}

.shelld6380-btn--login {
  background: var(--shelld6380-bg-sunken);
  color: var(--shelld6380-ink-strong);
  border: 1px solid var(--shelld6380-line);
}

.shelld6380-btn--login:hover {
  border-color: var(--shelld6380-peru);
  color: var(--shelld6380-peru);
  text-decoration: none;
}

/* --------------------------------------------------------------------------
   5. Layered dropdown menu panel
   -------------------------------------------------------------------------- */
.shelld6380-menu {
  position: fixed;
  top: var(--shelld6380-topbar-h);
  left: 50%;
  width: 100%;
  max-width: var(--shelld6380-canvas);
  z-index: 65;
  background: #1A2634;
  border-bottom: 1px solid var(--shelld6380-line);
  box-shadow: var(--shelld6380-shadow);
  max-height: calc(100dvh - var(--shelld6380-topbar-h));
  overflow-y: auto;
  padding: 8px var(--shelld6380-pad) 18px;
  visibility: hidden;
  opacity: 0;
  transform: translate(-50%, -10px);
  transition: transform 0.22s ease, opacity 0.22s ease, visibility 0.22s;
}

.shelld6380-menu.shelld6380-open {
  visibility: visible;
  opacity: 1;
  transform: translate(-50%, 0);
}

/* tier label of each menu layer */
.shelld6380-menu-label {
  display: flex;
  align-items: center;
  gap: 8px;
  margin: 14px 0 6px;
  font-family: var(--shelld6380-font-head);
  font-size: 10.5px;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--shelld6380-peru);
}

.shelld6380-menu-label::after {
  content: "";
  flex: 1;
  border-top: 1px dashed var(--shelld6380-line-soft);
}

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

.shelld6380-menu-links--single {
  grid-template-columns: minmax(0, 1fr);
}

.shelld6380-menu-link {
  display: flex;
  align-items: center;
  gap: 8px;
  min-height: 44px;
  padding: 10px 11px;
  background: var(--shelld6380-bg-raise);
  border: 1px solid var(--shelld6380-line-soft);
  border-radius: var(--shelld6380-r);
  color: var(--shelld6380-ink);
  font-size: 13px;
  font-weight: 600;
  transition: transform 0.15s ease, border-color 0.15s ease, color 0.15s ease;
}

.shelld6380-menu-link:hover {
  color: var(--shelld6380-ink-strong);
  border-color: var(--shelld6380-peru);
  text-decoration: none;
  transform: translateY(-1px);
}

.shelld6380-menu-link-idx {
  font-family: var(--shelld6380-font-mono);
  font-size: 10px;
  letter-spacing: 0.06em;
  color: var(--shelld6380-ink-ghost);
  flex: none;
}

.shelld6380-menu-link--active {
  border-color: var(--shelld6380-sky);
  color: var(--shelld6380-ink-strong);
  background: linear-gradient(90deg, rgba(0, 191, 255, 0.12), rgba(0, 191, 255, 0.02));
}

.shelld6380-menu-link--active .shelld6380-menu-link-idx {
  color: var(--shelld6380-sky);
}

.shelld6380-menu-note {
  margin-top: 14px;
  padding: 10px 12px;
  border-left: 3px solid var(--shelld6380-coffee);
  background: var(--shelld6380-bg-inset);
  color: var(--shelld6380-ink-mute);
  font-size: 12px;
  border-radius: 0 var(--shelld6380-r) var(--shelld6380-r) 0;
}

/* --------------------------------------------------------------------------
   6. Main column
   -------------------------------------------------------------------------- */
.shelld6380-main {
  padding: calc(var(--shelld6380-topbar-h) + 12px) var(--shelld6380-pad) calc(var(--shelld6380-rail-h) + 26px);
}

.shelld6380-section {
  margin-top: 26px;
}

.shelld6380-section:first-child {
  margin-top: 0;
}

/* ledger strip section head: numbered index + kicker + title */
.shelld6380-sect-head {
  margin-bottom: 10px;
}

.shelld6380-sect-kicker {
  display: flex;
  align-items: baseline;
  gap: 8px;
  margin-bottom: 4px;
}

.shelld6380-sect-idx {
  font-family: var(--shelld6380-font-mono);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.1em;
  color: var(--shelld6380-peru);
}

.shelld6380-sect-idx--c2 { color: var(--shelld6380-sky); }
.shelld6380-sect-idx--c3 { color: #C8A476; }
.shelld6380-sect-idx--c4 { color: var(--shelld6380-sand); }
.shelld6380-sect-idx--c5 { color: #A9713F; }

.shelld6380-sect-tag {
  font-family: var(--shelld6380-font-head);
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--shelld6380-ink-ghost);
}

.shelld6380-sect-kicker::after {
  content: "";
  flex: 1;
  align-self: center;
  border-top: 1px dashed var(--shelld6380-line-soft);
}

.shelld6380-sect-title {
  font-family: var(--shelld6380-font-head);
  font-size: 19px;
  line-height: 1.28;
  font-weight: 700;
  letter-spacing: 0.01em;
  color: var(--shelld6380-ink-strong);
}

.shelld6380-sect-lead {
  margin-top: 6px;
  color: var(--shelld6380-ink-dim);
  font-size: 13.5px;
}

/* body-copy internal links */
.shelld6380-ilink {
  color: var(--shelld6380-sky);
  text-decoration: underline;
  text-decoration-style: dotted;
  text-underline-offset: 3px;
  font-weight: 600;
}

.shelld6380-ilink:hover {
  text-decoration-style: solid;
}

/* --------------------------------------------------------------------------
   7. Hero
   -------------------------------------------------------------------------- */
.shelld6380-hero {
  padding-top: 4px;
}

.shelld6380-hero-kicker {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 5px 10px;
  background: var(--shelld6380-bg-sunken);
  border: 1px solid var(--shelld6380-line-soft);
  border-left: 3px solid var(--shelld6380-peru);
  border-radius: var(--shelld6380-r);
  font-family: var(--shelld6380-font-head);
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--shelld6380-ink-mute);
}

.shelld6380-hero-kicker-dot {
  width: 6px;
  height: 6px;
  background: var(--shelld6380-sky);
  flex: none;
}

.shelld6380-hero-title {
  margin-top: 10px;
  font-family: var(--shelld6380-font-head);
  font-size: 26px;
  line-height: 1.22;
  font-weight: 700;
  color: var(--shelld6380-ink-strong);
}

.shelld6380-hero-lede {
  margin-top: 8px;
  color: var(--shelld6380-ink-dim);
  font-size: 13.5px;
}

/* hero CTA group - lightly rounded text buttons */
.shelld6380-hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 12px;
}

.shelld6380-btn--hero {
  min-height: 44px;
  padding: 10px 18px;
  font-size: 13px;
}

.shelld6380-btn--ghost {
  background: transparent;
  border: 1px solid var(--shelld6380-line);
  color: var(--shelld6380-ink-strong);
}

.shelld6380-btn--ghost:hover {
  border-color: var(--shelld6380-sky);
  color: var(--shelld6380-sky);
  text-decoration: none;
}

/* fact chips row */
.shelld6380-chips {
  display: flex;
  gap: 6px;
  margin-top: 12px;
  overflow-x: auto;
  padding-bottom: 2px;
  scrollbar-width: none;
}

.shelld6380-chips::-webkit-scrollbar {
  display: none;
}

.shelld6380-chip {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  flex: none;
  min-height: 34px;
  padding: 6px 11px;
  background: var(--shelld6380-bg-sunken);
  border: 1px solid var(--shelld6380-line-soft);
  border-radius: var(--shelld6380-r);
  font-family: var(--shelld6380-font-head);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.05em;
  color: var(--shelld6380-ink-dim);
  white-space: nowrap;
}

.shelld6380-chip-key {
  color: var(--shelld6380-sand);
  font-weight: 700;
}

.shelld6380-chip-tick {
  width: 5px;
  height: 5px;
  background: var(--shelld6380-peru);
  flex: none;
}

/* --------------------------------------------------------------------------
   8. Banner carousel
   -------------------------------------------------------------------------- */
.shelld6380-carousel {
  position: relative;
  margin-top: 14px;
  border: 1px solid var(--shelld6380-line);
  border-radius: var(--shelld6380-r);
  background: var(--shelld6380-bg-sunken);
  overflow: hidden;
}

.shelld6380-slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  visibility: hidden;
  transform: translateX(4%);
  transition: opacity 0.35s ease, transform 0.35s ease, visibility 0.35s;
}

.shelld6380-slide--active {
  opacity: 1;
  visibility: visible;
  transform: translateX(0);
  position: relative;
}

.shelld6380-slide-hit {
  display: block;
  width: 100%;
  height: 100%;
  text-align: left;
}

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

.shelld6380-slide-cap {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  display: block;
  padding: 26px 12px 10px;
  background: linear-gradient(180deg, rgba(10, 16, 22, 0) 0%, rgba(10, 16, 22, 0.88) 78%);
  font-family: var(--shelld6380-font-head);
  font-size: 12.5px;
  font-weight: 600;
  line-height: 1.4;
  color: #F5E9D3;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.6);
}

.shelld6380-slide-cap-arrow {
  color: var(--shelld6380-peru);
  font-weight: 700;
}

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

.shelld6380-dot {
  width: 30px;
  height: 26px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.shelld6380-dot::before {
  content: "";
  width: 16px;
  height: 3px;
  background: rgba(222, 184, 135, 0.38);
  transition: background-color 0.2s ease, width 0.2s ease;
}

.shelld6380-dot--active::before {
  width: 24px;
  background: var(--shelld6380-peru);
}

/* --------------------------------------------------------------------------
   9. Game floors - horizontal icon + name bars
   -------------------------------------------------------------------------- */
.shelld6380-gamegrid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: var(--shelld6380-gap);
}

.shelld6380-gamebar {
  display: flex;
  align-items: center;
  gap: 8px;
  min-height: 58px;
  padding: 6px;
  background: linear-gradient(180deg, var(--shelld6380-bg-raise) 0%, #202E3E 100%);
  border: 1px solid var(--shelld6380-line-soft);
  border-left: 3px solid var(--shelld6380-coffee);
  border-radius: var(--shelld6380-r);
  text-align: left;
  transition: transform 0.16s ease, border-color 0.16s ease, box-shadow 0.16s ease;
  -webkit-tap-highlight-color: rgba(205, 133, 63, 0.25);
}

.shelld6380-gamebar:hover {
  transform: translateY(-2px);
  border-left-color: var(--shelld6380-peru);
  box-shadow: var(--shelld6380-shadow);
}

.shelld6380-gamebar:active {
  transform: translateY(0);
}

.shelld6380-gamebar-img {
  width: 46px;
  height: 46px;
  flex: none;
  object-fit: cover;
  border-radius: var(--shelld6380-r-tight);
  border: 1px solid var(--shelld6380-line-soft);
  background: var(--shelld6380-bg-inset);
}

.shelld6380-gamebar-name {
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
  line-clamp: 2;
  overflow: hidden;
  font-family: var(--shelld6380-font-head);
  font-size: 11.5px;
  font-weight: 600;
  line-height: 1.3;
  letter-spacing: 0.01em;
  color: var(--shelld6380-ink);
  overflow-wrap: anywhere;
}

/* category accent on the bar spine */
.shelld6380-gamegrid--live .shelld6380-gamebar { border-left-color: #CD853F; }
.shelld6380-gamegrid--fishing .shelld6380-gamebar { border-left-color: #00BFFF; }
.shelld6380-gamegrid--cards .shelld6380-gamebar { border-left-color: #C8A476; }
.shelld6380-gamegrid--hot .shelld6380-gamebar { border-left-color: #DEB887; }
.shelld6380-gamegrid--slot .shelld6380-gamebar { border-left-color: #A9713F; }

.shelld6380-gamegrid--live .shelld6380-gamebar:hover { border-left-color: #E8A460; }
.shelld6380-gamegrid--fishing .shelld6380-gamebar:hover { border-left-color: #4CD2FF; }
.shelld6380-gamegrid--cards .shelld6380-gamebar:hover { border-left-color: #E0BE8F; }
.shelld6380-gamegrid--hot .shelld6380-gamebar:hover { border-left-color: #F0CC9C; }
.shelld6380-gamegrid--slot .shelld6380-gamebar:hover { border-left-color: #C58A57; }

.shelld6380-floor-foot {
  margin-top: 8px;
  font-size: 11.5px;
  color: var(--shelld6380-ink-ghost);
  letter-spacing: 0.02em;
}

/* --------------------------------------------------------------------------
   10. Content modules (features, steps, styles, pros and limits)
   -------------------------------------------------------------------------- */
.shelld6380-panel {
  background: linear-gradient(180deg, #22303F 0%, #1E2B39 100%);
  border: 1px solid var(--shelld6380-line-soft);
  border-radius: var(--shelld6380-r);
  padding: 14px var(--shelld6380-pad);
}

/* feature comparison rows */
.shelld6380-feat {
  display: grid;
  grid-template-columns: 92px minmax(0, 1fr);
  gap: 10px;
  padding: 10px 0;
  border-top: 1px dashed var(--shelld6380-line-soft);
}

.shelld6380-feat:first-of-type {
  border-top: 0;
  padding-top: 2px;
}

.shelld6380-feat-term {
  font-family: var(--shelld6380-font-head);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--shelld6380-peru);
  line-height: 1.45;
}

.shelld6380-feat-desc {
  font-size: 13px;
  color: var(--shelld6380-ink-dim);
}

/* numbered mobile-access steps */
.shelld6380-steps {
  counter-reset: shelld6380step;
  display: grid;
  gap: 8px;
  margin-top: 4px;
}

.shelld6380-step {
  counter-increment: shelld6380step;
  display: flex;
  gap: 10px;
  align-items: flex-start;
  padding: 10px 11px;
  background: var(--shelld6380-bg-sunken);
  border: 1px solid var(--shelld6380-line-soft);
  border-radius: var(--shelld6380-r);
}

.shelld6380-step::before {
  content: counter(shelld6380step, decimal-leading-zero);
  font-family: var(--shelld6380-font-mono);
  font-size: 12px;
  font-weight: 600;
  color: var(--shelld6380-sky);
  border-right: 1px solid var(--shelld6380-line-soft);
  padding-right: 10px;
  align-self: stretch;
  display: flex;
  align-items: center;
}

.shelld6380-step-txt {
  font-size: 13px;
  color: var(--shelld6380-ink-dim);
}

/* play style comparison cards */
.shelld6380-styles {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: var(--shelld6380-gap);
}

.shelld6380-stylecard {
  padding: 11px 10px;
  background: var(--shelld6380-bg-sunken);
  border: 1px solid var(--shelld6380-line-soft);
  border-top: 3px solid var(--shelld6380-coffee);
  border-radius: var(--shelld6380-r);
}

.shelld6380-stylecard:nth-child(1) { border-top-color: #CD853F; }
.shelld6380-stylecard:nth-child(2) { border-top-color: #00BFFF; }
.shelld6380-stylecard:nth-child(3) { border-top-color: #C8A476; }
.shelld6380-stylecard:nth-child(4) { border-top-color: #DEB887; }

.shelld6380-stylecard h3 {
  font-family: var(--shelld6380-font-head);
  font-size: 12.5px;
  font-weight: 700;
  letter-spacing: 0.04em;
  color: var(--shelld6380-ink-strong);
  line-height: 1.35;
}

.shelld6380-stylecard p {
  margin-top: 5px;
  font-size: 12.5px;
  line-height: 1.55;
  color: var(--shelld6380-ink-dim);
}

/* pros / limitations duo */
.shelld6380-duo {
  display: grid;
  gap: var(--shelld6380-gap);
}

.shelld6380-duo-col {
  padding: 11px 11px 8px;
  border-radius: var(--shelld6380-r);
  background: var(--shelld6380-bg-sunken);
  border: 1px solid var(--shelld6380-line-soft);
}

.shelld6380-duo-col--pro {
  border-left: 3px solid var(--shelld6380-sky);
}

.shelld6380-duo-col--limit {
  border-left: 3px solid var(--shelld6380-coffee);
}

.shelld6380-duo-col h3 {
  font-family: var(--shelld6380-font-head);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--shelld6380-ink-strong);
  margin-bottom: 6px;
}

.shelld6380-duo-col--pro h3 { color: #6FD3FF; }
.shelld6380-duo-col--limit h3 { color: #D8A983; }

.shelld6380-duo-list li {
  position: relative;
  padding: 5px 0 5px 16px;
  font-size: 12.5px;
  line-height: 1.55;
  color: var(--shelld6380-ink-dim);
}

.shelld6380-duo-col--pro .shelld6380-duo-list li::before {
  content: "+";
  position: absolute;
  left: 0;
  top: 4px;
  font-family: var(--shelld6380-font-mono);
  font-weight: 700;
  color: var(--shelld6380-sky);
}

.shelld6380-duo-col--limit .shelld6380-duo-list li::before {
  content: "!";
  position: absolute;
  left: 0;
  top: 4px;
  font-family: var(--shelld6380-font-mono);
  font-weight: 700;
  color: var(--shelld6380-peru);
}

/* prose note block used for woven sub-questions */
.shelld6380-note {
  margin-top: 10px;
  padding: 11px 12px;
  background: var(--shelld6380-bg-inset);
  border: 1px solid var(--shelld6380-line-soft);
  border-radius: var(--shelld6380-r);
  font-size: 12.8px;
  color: var(--shelld6380-ink-dim);
}

.shelld6380-note q {
  font-style: italic;
  color: var(--shelld6380-ink);
  quotes: "\201C" "\201D";
}

/* straight-answer list under the search-terms section */
.shelld6380-answers {
  display: grid;
  gap: 8px;
}

.shelld6380-answer {
  padding: 10px 12px;
  background: var(--shelld6380-bg-sunken);
  border: 1px solid var(--shelld6380-line-soft);
  border-radius: var(--shelld6380-r);
  font-size: 12.8px;
  color: var(--shelld6380-ink-dim);
}

.shelld6380-answer-term {
  display: block;
  margin-bottom: 3px;
  font-family: var(--shelld6380-font-head);
  font-size: 12.5px;
  font-weight: 700;
  color: var(--shelld6380-sand);
}

/* --------------------------------------------------------------------------
   11. Extended site footer (brand > directory > promotions > disclaimer)
   -------------------------------------------------------------------------- */
.shelld6380-xfoot {
  margin-top: 30px;
  border-top: 2px solid var(--shelld6380-coffee);
  background: linear-gradient(180deg, #1A2532 0%, #15202B 100%);
  padding: 18px var(--shelld6380-pad) 16px;
}

.shelld6380-xfoot-brand {
  display: flex;
  gap: 10px;
  align-items: flex-start;
}

.shelld6380-xfoot-logo {
  width: 40px;
  height: 40px;
  flex: none;
  border-radius: var(--shelld6380-r);
  border: 1px solid var(--shelld6380-line);
  background: var(--shelld6380-bg-sunken);
  object-fit: cover;
}

.shelld6380-xfoot-brand h2 {
  font-family: var(--shelld6380-font-head);
  font-size: 15px;
  font-weight: 700;
  color: var(--shelld6380-ink-strong);
}

.shelld6380-xfoot-brand p {
  margin-top: 4px;
  font-size: 12.5px;
  line-height: 1.58;
  color: var(--shelld6380-ink-dim);
}

.shelld6380-xfoot h3 {
  margin: 16px 0 8px;
  font-family: var(--shelld6380-font-head);
  font-size: 10.5px;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--shelld6380-peru);
}

/* page directory chips */
.shelld6380-xfoot-dirlinks {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.shelld6380-xfoot-dirlink {
  display: inline-flex;
  align-items: center;
  min-height: 34px;
  padding: 6px 10px;
  background: var(--shelld6380-bg-raise);
  border: 1px solid var(--shelld6380-line-soft);
  border-radius: var(--shelld6380-r);
  font-size: 12px;
  font-weight: 600;
  color: var(--shelld6380-ink);
  transition: transform 0.15s ease, border-color 0.15s ease, color 0.15s ease;
}

.shelld6380-xfoot-dirlink:hover {
  transform: translateY(-1px);
  border-color: var(--shelld6380-sky);
  color: var(--shelld6380-sky);
  text-decoration: none;
}

/* promotion shortcuts: icon + text labels, horizontal rows */
.shelld6380-xfoot-shortcuts {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 6px;
}

.shelld6380-xfoot-shortcut {
  display: flex;
  align-items: center;
  gap: 8px;
  min-height: 44px;
  padding: 8px 10px;
  background: linear-gradient(180deg, #2A3949 0%, #243344 100%);
  border: 1px solid rgba(205, 133, 63, 0.45);
  border-radius: var(--shelld6380-r-cta);
  color: var(--shelld6380-ink-strong);
  font-family: var(--shelld6380-font-head);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.02em;
  text-align: left;
  transition: transform 0.15s ease, border-color 0.15s ease, background-color 0.15s ease;
}

.shelld6380-xfoot-shortcut:hover {
  transform: translateY(-2px);
  border-color: var(--shelld6380-peru);
  background: linear-gradient(180deg, #31424F 0%, #2A3949 100%);
}

.shelld6380-xfoot-shortcut:active {
  transform: translateY(0);
}

.shelld6380-xfoot-shortcut svg {
  width: 18px;
  height: 18px;
  flex: none;
  color: var(--shelld6380-peru);
}

.shelld6380-xfoot-note {
  margin-top: 14px;
  padding: 10px 12px;
  border-left: 3px solid var(--shelld6380-line-steel);
  background: var(--shelld6380-bg-inset);
  color: var(--shelld6380-ink-mute);
  font-size: 11.8px;
  line-height: 1.55;
  border-radius: 0 var(--shelld6380-r) var(--shelld6380-r) 0;
}

/* --------------------------------------------------------------------------
   12. Common footer (copyright only)
   -------------------------------------------------------------------------- */
.shelld6380-foot {
  padding: 14px var(--shelld6380-pad) 10px;
  border-top: 1px solid var(--shelld6380-line-soft);
  text-align: center;
}

.shelld6380-foot p {
  font-family: var(--shelld6380-font-head);
  font-size: 11.5px;
  letter-spacing: 0.08em;
  color: var(--shelld6380-ink-ghost);
}

/* --------------------------------------------------------------------------
   13. Fixed bottom navigation rail
   -------------------------------------------------------------------------- */
.shelld6380-rail {
  position: fixed;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 100%;
  max-width: var(--shelld6380-canvas);
  z-index: 70;
  background: linear-gradient(180deg, #1B2836 0%, #141E28 100%);
  border-top: 1px solid var(--shelld6380-line);
  padding-bottom: env(safe-area-inset-bottom, 0);
}

.shelld6380-rail-inner {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  height: var(--shelld6380-rail-h);
}

.shelld6380-rail-item {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 3px;
  color: var(--shelld6380-ink-ghost);
  transition: transform 0.16s ease, color 0.16s ease;
}

.shelld6380-rail-item:hover {
  color: var(--shelld6380-ink-dim);
  text-decoration: none;
}

.shelld6380-rail-item:active {
  transform: translateY(1px);
}

.shelld6380-rail-ico {
  width: 21px;
  height: 21px;
  flex: none;
}

.shelld6380-rail-txt {
  font-family: var(--shelld6380-font-head);
  font-size: 9.5px;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

/* active role: icon fill flips to sky, short vertical lift, top beacon */
.shelld6380-rail-item--active {
  color: var(--shelld6380-sky);
  transform: translateY(-2px);
}

.shelld6380-rail-item--active::before {
  content: "";
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 26px;
  height: 3px;
  background: var(--shelld6380-sky);
}

.shelld6380-rail-item--promo .shelld6380-rail-ico {
  color: var(--shelld6380-peru);
}

.shelld6380-rail-item--promo:hover .shelld6380-rail-ico {
  color: #E8A460;
}

/* --------------------------------------------------------------------------
   14. Responsive tuning inside the 320-430px band
   -------------------------------------------------------------------------- */
@media (min-width: 375px) {
  .shelld6380-main {
    padding-left: 16px;
    padding-right: 16px;
  }

  .shelld6380-hero-title {
    font-size: 29px;
  }

  .shelld6380-sect-title {
    font-size: 21px;
  }

  .shelld6380-gamebar-img {
    width: 52px;
    height: 52px;
  }

  .shelld6380-gamebar-name {
    font-size: 12px;
  }

  .shelld6380-gamebar {
    min-height: 62px;
  }

  .shelld6380-xfoot-shortcuts {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .shelld6380-feat {
    grid-template-columns: 104px minmax(0, 1fr);
  }
}

/* wide phones and the desktop-held phone canvas at 430px */
@media (min-width: 430px) {
  .shelld6380-main {
    padding-left: 20px;
    padding-right: 20px;
  }

  .shelld6380-hero-title {
    font-size: 31px;
  }

  .shelld6380-sect-title {
    font-size: 22px;
  }

  .shelld6380-gamegrid {
    gap: 10px;
  }

  .shelld6380-gamebar-name {
    font-size: 12.5px;
  }

  .shelld6380-styles {
    gap: 10px;
  }
}

/* very narrow devices: tighten type before anything can overflow */
@media (max-width: 339px) {
  .shelld6380-hero-title {
    font-size: 22px;
  }

  .shelld6380-btn {
    padding: 7px 9px;
    font-size: 11.5px;
  }

  .shelld6380-brand-name {
    font-size: 16px;
  }
}

/* --------------------------------------------------------------------------
   15. Motion preferences
   -------------------------------------------------------------------------- */
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
  }
}
