/* ============================================================
   7spin.cyou surface stylesheet
   Prefix: shell27054-
   Palette: deep dark base, teal frame, restrained neon green,
            warm cream accents. Mobile-first single canvas.
   ============================================================ */

/* ---------- Design tokens ---------- */
:root {
  --shell27054-bg: #0D1117;
  --shell27054-bg-grad-a: #0d1518;
  --shell27054-bg-grad-b: #0a1014;
  --shell27054-surface: #141c24;
  --shell27054-surface-2: #1a242e;
  --shell27054-surface-3: #20303a;
  --shell27054-header-bg: #0c2f33;
  --shell27054-header-bg-2: #0a262a;
  --shell27054-teal: #008B8B;
  --shell27054-teal-bright: #0097A7;
  --shell27054-teal-soft: rgba(0, 151, 167, 0.18);
  --shell27054-accent: #00FF00;
  --shell27054-accent-deep: #12c012;
  --shell27054-accent-soft: rgba(0, 255, 0, 0.14);
  --shell27054-warm: #FFDEAD;
  --shell27054-warm-deep: #e7c489;
  --shell27054-text: #CCCCCC;
  --shell27054-text-bright: #F2F4F3;
  --shell27054-text-dim: #8c97a3;
  --shell27054-text-faint: #5d6772;
  --shell27054-border: rgba(204, 204, 204, 0.12);
  --shell27054-border-teal: rgba(0, 151, 167, 0.35);
  --shell27054-border-accent: rgba(0, 255, 0, 0.35);
  --shell27054-radius-card: 4px;
  --shell27054-radius-card-lg: 8px;
  --shell27054-radius-btn: 999px;
  --shell27054-shadow-soft: 0 8px 24px rgba(0, 0, 0, 0.45);
  --shell27054-shadow-card: 0 4px 14px rgba(0, 0, 0, 0.35);
  --shell27054-shadow-lift: 0 10px 28px rgba(0, 255, 0, 0.18);
  --shell27054-shadow-teal: 0 10px 30px rgba(0, 139, 139, 0.32);
  --shell27054-canvas: 430px;
  --shell27054-header-h: 60px;
  --shell27054-bottomnav-h: 64px;
  --shell27054-font-display: "Trebuchet MS", "Segoe UI", "Humanist", system-ui, sans-serif;
  --shell27054-font-body: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  --shell27054-ease: cubic-bezier(0.22, 0.61, 0.36, 1);
}

/* ---------- Reset & base ---------- */
*,
*::before,
*::after { box-sizing: border-box; }

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

body {
  margin: 0;
  min-height: 100vh;
  background:
    radial-gradient(1200px 600px at 50% -10%, rgba(0, 139, 139, 0.18), transparent 60%),
    linear-gradient(180deg, var(--shell27054-bg-grad-a), var(--shell27054-bg-grad-b) 60%, #06090c);
  background-attachment: fixed;
  color: var(--shell27054-text);
  font-family: var(--shell27054-font-body);
  font-size: 15px;
  line-height: 1.62;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

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

a {
  color: var(--shell27054-teal-bright);
  text-decoration: none;
}
a:hover { color: var(--shell27054-accent); }

button {
  font-family: inherit;
  cursor: pointer;
  border: none;
  background: none;
  color: inherit;
}

h1, h2, h3, h4 {
  font-family: var(--shell27054-font-display);
  color: var(--shell27054-text-bright);
  line-height: 1.22;
  margin: 0 0 0.5em;
  letter-spacing: 0.1px;
}

p { margin: 0 0 0.9em; }

ul, ol { margin: 0 0 1em; padding-left: 1.15em; }
li { margin-bottom: 0.4em; }

:focus-visible {
  outline: 2px solid var(--shell27054-accent);
  outline-offset: 2px;
  border-radius: 3px;
}

/* ---------- Centered mobile canvas ---------- */
.shell27054-canvas {
  position: relative;
  width: 100%;
  max-width: var(--shell27054-canvas);
  margin: 0 auto;
  min-height: 100vh;
  background: linear-gradient(180deg, #0e161c, #0b1217 40%, #0a1015);
  box-shadow: 0 0 60px rgba(0, 0, 0, 0.55);
  overflow: hidden;
}

.shell27054-main {
  padding-top: calc(var(--shell27054-header-h) + 8px);
  padding-bottom: calc(var(--shell27054-bottomnav-h) + 28px);
  padding-left: 14px;
  padding-right: 14px;
}

/* ---------- Asymmetric brand header ---------- */
.shell27054-header {
  position: fixed;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 100%;
  max-width: var(--shell27054-canvas);
  height: var(--shell27054-header-h);
  z-index: 60;
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: center;
  gap: 8px;
  padding: 0 12px;
  background: linear-gradient(120deg, var(--shell27054-header-bg), var(--shell27054-header-bg-2));
  border-bottom: 1px solid var(--shell27054-border-teal);
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.4);
}

.shell27054-brand {
  display: flex;
  align-items: center;
  gap: 9px;
  min-width: 0;
}

.shell27054-brand-logo {
  width: 34px;
  height: 34px;
  border-radius: 9px;
  object-fit: cover;
  background: radial-gradient(circle at 30% 30%, var(--shell27054-warm), var(--shell27054-teal));
  box-shadow: 0 0 0 1px var(--shell27054-border-accent), 0 4px 10px rgba(0, 0, 0, 0.4);
  flex-shrink: 0;
}

.shell27054-brand-name {
  font-family: var(--shell27054-font-display);
  font-weight: 800;
  font-size: 19px;
  letter-spacing: 0.4px;
  color: var(--shell27054-text-bright);
  white-space: nowrap;
}
.shell27054-brand-name b { color: var(--shell27054-accent); font-weight: 800; }

.shell27054-actions {
  display: flex;
  align-items: center;
  gap: 6px;
}

/* ---------- Buttons & CTA groups ---------- */
.shell27054-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  min-height: 38px;
  padding: 0 16px;
  border-radius: var(--shell27054-radius-btn);
  font-family: var(--shell27054-font-display);
  font-weight: 700;
  font-size: 13.5px;
  letter-spacing: 0.2px;
  transition: transform 0.18s var(--shell27054-ease), box-shadow 0.18s var(--shell27054-ease), background 0.18s var(--shell27054-ease);
  text-align: center;
}
.shell27054-btn:active { transform: translateY(1px) scale(0.98); }

.shell27054-btn-login {
  color: var(--shell27054-text-bright);
  background: rgba(204, 204, 204, 0.08);
  border: 1px solid var(--shell27054-border);
  padding: 0 12px;
  min-height: 34px;
  font-size: 12.5px;
}
.shell27054-btn-login:hover { background: rgba(0, 151, 167, 0.18); color: var(--shell27054-text-bright); }

.shell27054-btn-register {
  color: #061a06;
  background: linear-gradient(135deg, var(--shell27054-accent), var(--shell27054-accent-deep));
  box-shadow: 0 4px 14px rgba(0, 255, 0, 0.28);
  padding: 0 14px;
  min-height: 34px;
  font-size: 12.5px;
}
.shell27054-btn-register:hover { box-shadow: 0 6px 20px rgba(0, 255, 0, 0.42); transform: translateY(-1px); }

.shell27054-btn-ghost {
  color: var(--shell27054-warm);
  background: transparent;
  border: 1px solid rgba(255, 222, 173, 0.45);
  padding: 0 14px;
  min-height: 36px;
}
.shell27054-btn-ghost:hover { background: rgba(255, 222, 173, 0.1); color: var(--shell27054-warm); }

.shell27054-btn-teal {
  color: #eafdff;
  background: linear-gradient(135deg, var(--shell27054-teal-bright), var(--shell27054-teal));
  box-shadow: var(--shell27054-shadow-teal);
}
.shell27054-btn-teal:hover { filter: brightness(1.08); transform: translateY(-1px); }

.shell27054-menu-btn {
  width: 38px;
  height: 38px;
  border-radius: 10px;
  display: grid;
  place-items: center;
  background: rgba(0, 151, 167, 0.16);
  border: 1px solid var(--shell27054-border-teal);
  color: var(--shell27054-text-bright);
  transition: background 0.18s var(--shell27054-ease), transform 0.18s var(--shell27054-ease);
}
.shell27054-menu-btn:hover { background: rgba(0, 151, 167, 0.28); }
.shell27054-menu-btn:active { transform: scale(0.94); }
.shell27054-menu-btn svg { width: 20px; height: 20px; }

/* ---------- Side drawer ---------- */
.shell27054-scrim {
  position: fixed;
  inset: 0;
  background: rgba(3, 8, 11, 0.62);
  backdrop-filter: blur(2px);
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.28s var(--shell27054-ease), visibility 0.28s;
  z-index: 70;
}
.shell27054-scrim.is-open { opacity: 1; visibility: visible; }

.shell27054-drawer {
  position: fixed;
  top: 0;
  right: 0;
  height: 100vh;
  width: min(82vw, 320px);
  max-width: var(--shell27054-canvas);
  background: linear-gradient(180deg, #0c2a2e, #0a1f23 60%, #081519);
  border-left: 1px solid var(--shell27054-border-teal);
  box-shadow: -18px 0 40px rgba(0, 0, 0, 0.55);
  transform: translateX(105%);
  transition: transform 0.32s var(--shell27054-ease);
  z-index: 80;
  display: flex;
  flex-direction: column;
  overflow-y: auto;
}
.shell27054-drawer.is-open { transform: translateX(0); }

.shell27054-drawer-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 16px 12px;
  border-bottom: 1px solid var(--shell27054-border);
}
.shell27054-drawer-title {
  font-family: var(--shell27054-font-display);
  font-size: 15px;
  font-weight: 700;
  color: var(--shell27054-text-bright);
  margin: 0;
}
.shell27054-drawer-close {
  width: 34px;
  height: 34px;
  border-radius: 9px;
  background: rgba(204, 204, 204, 0.08);
  color: var(--shell27054-text-bright);
  display: grid;
  place-items: center;
}
.shell27054-drawer-close:hover { background: rgba(0, 255, 0, 0.14); }

.shell27054-drawer-cta {
  padding: 14px 16px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
}

.shell27054-drawer-nav {
  padding: 6px 8px 18px;
  list-style: none;
  margin: 0;
}
.shell27054-drawer-nav li { margin: 0; }
.shell27054-drawer-nav a {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px 12px;
  border-radius: 10px;
  color: var(--shell27054-text);
  font-weight: 600;
  font-size: 14px;
  border: 1px solid transparent;
  transition: background 0.16s var(--shell27054-ease), color 0.16s, border-color 0.16s;
}
.shell27054-drawer-nav a:hover {
  background: rgba(0, 151, 167, 0.14);
  color: var(--shell27054-text-bright);
  border-color: var(--shell27054-border-teal);
}
.shell27054-drawer-nav a.is-current {
  background: rgba(0, 255, 0, 0.1);
  color: var(--shell27054-accent);
  border-color: var(--shell27054-border-accent);
}
.shell27054-drawer-nav svg { width: 18px; height: 18px; flex-shrink: 0; opacity: 0.85; }

.shell27054-drawer-foot {
  margin-top: auto;
  padding: 14px 16px 22px;
  border-top: 1px solid var(--shell27054-border);
  font-size: 11.5px;
  color: var(--shell27054-text-faint);
  line-height: 1.5;
}

/* ---------- Hero carousel ---------- */
.shell27054-hero {
  position: relative;
  margin: 6px 0 14px;
  border-radius: var(--shell27054-radius-card-lg);
  overflow: hidden;
  box-shadow: var(--shell27054-shadow-soft);
  border: 1px solid var(--shell27054-border-teal);
  background: #0a1418;
}

.shell27054-hero-track {
  display: flex;
  transition: transform 0.45s var(--shell27054-ease);
}
.shell27054-hero-slide {
  position: relative;
  flex: 0 0 100%;
  min-width: 100%;
}
.shell27054-hero-slide img {
  width: 100%;
  height: 178px;
  object-fit: cover;
  display: block;
}
.shell27054-hero-slide::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(13, 17, 23, 0) 35%, rgba(8, 12, 16, 0.82));
  pointer-events: none;
}
.shell27054-hero-caption {
  position: absolute;
  left: 14px;
  right: 90px;
  bottom: 14px;
  z-index: 2;
  color: var(--shell27054-text-bright);
}
.shell27054-hero-caption span {
  display: inline-block;
  font-size: 10.5px;
  letter-spacing: 1.4px;
  text-transform: uppercase;
  color: var(--shell27054-warm);
  margin-bottom: 4px;
  font-weight: 700;
}
.shell27054-hero-caption strong {
  display: block;
  font-family: var(--shell27054-font-display);
  font-size: 18px;
  line-height: 1.18;
  font-weight: 800;
  text-shadow: 0 2px 8px rgba(0, 0, 0, 0.7);
}
.shell27054-hero-cta {
  position: absolute;
  right: 12px;
  bottom: 14px;
  z-index: 3;
}

.shell27054-hero-dots {
  position: absolute;
  top: 10px;
  right: 12px;
  display: flex;
  gap: 5px;
  z-index: 4;
}
.shell27054-hero-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.35);
  transition: background 0.18s, transform 0.18s;
}
.shell27054-hero-dot.is-active {
  background: var(--shell27054-accent);
  transform: scale(1.25);
  box-shadow: 0 0 8px var(--shell27054-accent);
}

/* ---------- Section primitives ---------- */
.shell27054-section {
  margin: 18px 0;
  padding: 0;
}

.shell27054-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 11px;
  letter-spacing: 1.6px;
  text-transform: uppercase;
  color: var(--shell27054-teal-bright);
  font-weight: 700;
  margin-bottom: 6px;
}
.shell27054-eyebrow::before {
  content: "";
  width: 18px;
  height: 2px;
  background: linear-gradient(90deg, var(--shell27054-accent), transparent);
  border-radius: 2px;
}

.shell27054-section-title {
  font-size: 19px;
  font-weight: 800;
  color: var(--shell27054-text-bright);
  margin: 0 0 6px;
}
.shell27054-section-title em {
  font-style: normal;
  color: var(--shell27054-warm);
}

.shell27054-section-lead {
  color: var(--shell27054-text-dim);
  font-size: 13.5px;
  margin: 0 0 12px;
}

.shell27054-h2 {
  font-size: 18px;
  font-weight: 800;
  color: var(--shell27054-text-bright);
  margin: 22px 0 8px;
  padding-bottom: 6px;
  border-bottom: 1px dashed var(--shell27054-border-teal);
}
.shell27054-h2 .shell27054-kw { color: var(--shell27054-accent); }

.shell27054-lead-para {
  background: linear-gradient(135deg, var(--shell27054-surface), var(--shell27054-surface-2));
  border: 1px solid var(--shell27054-border);
  border-left: 3px solid var(--shell27054-teal-bright);
  border-radius: var(--shell27054-radius-card);
  padding: 14px 14px;
  font-size: 13.6px;
  color: var(--shell27054-text);
  margin: 8px 0 4px;
}

.shell27054-prose p { font-size: 13.8px; color: var(--shell27054-text); }
.shell27054-prose strong { color: var(--shell27054-text-bright); }
.shell27054-prose a { color: var(--shell27054-warm); border-bottom: 1px dashed rgba(255, 222, 173, 0.5); }
.shell27054-prose a:hover { color: var(--shell27054-accent); border-color: var(--shell27054-accent); }

/* ---------- Game category ---------- */
.shell27054-cat {
  margin: 22px 0;
}
.shell27054-cat-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin-bottom: 10px;
}
.shell27054-cat-head-left { min-width: 0; }
.shell27054-cat-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 5px 10px;
  border-radius: var(--shell27054-radius-btn);
  font-size: 10.5px;
  font-weight: 700;
  letter-spacing: 0.8px;
  text-transform: uppercase;
  color: var(--shell27054-text-bright);
  background: rgba(0, 151, 167, 0.18);
  border: 1px solid var(--shell27054-border-teal);
}
.shell27054-cat-pill .shell27054-dot {
  width: 6px; height: 6px; border-radius: 50%;
  background: var(--shell27054-accent);
  box-shadow: 0 0 6px var(--shell27054-accent);
}
.shell27054-cat-title {
  font-size: 16px;
  font-weight: 800;
  color: var(--shell27054-text-bright);
  margin: 6px 0 0;
}
.shell27054-cat-sub {
  font-size: 12px;
  color: var(--shell27054-text-dim);
  margin: 2px 0 0;
}

.shell27054-game-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(70px, 1fr));
  gap: 9px 8px;
}

.shell27054-game-card {
  background: transparent;
  border: none;
  padding: 0;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 5px;
  cursor: pointer;
  -webkit-tap-highlight-color: transparent;
}
.shell27054-game-card-thumb {
  position: relative;
  width: 100%;
  aspect-ratio: 1 / 1;
  border-radius: var(--shell27054-radius-card);
  overflow: hidden;
  background: radial-gradient(circle at 50% 30%, #1d2a33, #0e161c);
  border: 1px solid var(--shell27054-border);
  transition: transform 0.18s var(--shell27054-ease), border-color 0.18s, box-shadow 0.18s;
}
.shell27054-game-card-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.shell27054-game-card-thumb::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 60%, rgba(0, 0, 0, 0.35));
  opacity: 0;
  transition: opacity 0.18s;
}
.shell27054-game-card:hover .shell27054-game-card-thumb,
.shell27054-game-card:focus-visible .shell27054-game-card-thumb {
  transform: translateY(-2px);
  border-color: var(--shell27054-border-accent);
  box-shadow: 0 8px 18px rgba(0, 255, 0, 0.16);
}
.shell27054-game-card:hover .shell27054-game-card-thumb::after { opacity: 1; }
.shell27054-game-card-name {
  font-size: 11px;
  line-height: 1.25;
  font-weight: 600;
  color: var(--shell27054-text);
  word-break: break-word;
  max-height: 2.5em;
  overflow: hidden;
}
.shell27054-game-card:hover .shell27054-game-card-name { color: var(--shell27054-text-bright); }

/* ---------- Content modules ---------- */
.shell27054-module {
  background: linear-gradient(180deg, var(--shell27054-surface), var(--shell27054-surface-2));
  border: 1px solid var(--shell27054-border);
  border-radius: var(--shell27054-radius-card-lg);
  padding: 14px;
  margin: 14px 0;
  box-shadow: var(--shell27054-shadow-card);
}
.shell27054-module-head {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 10px;
}
.shell27054-module-ico {
  width: 32px;
  height: 32px;
  border-radius: 9px;
  display: grid;
  place-items: center;
  background: rgba(0, 151, 167, 0.18);
  color: var(--shell27054-teal-bright);
  flex-shrink: 0;
}
.shell27054-module-ico svg { width: 18px; height: 18px; }
.shell27054-module-title {
  font-size: 15px;
  font-weight: 800;
  color: var(--shell27054-text-bright);
  margin: 0;
}

/* Steps (info rhythm: step progression) */
.shell27054-steps {
  list-style: none;
  counter-reset: step;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 9px;
}
.shell27054-steps li {
  position: relative;
  counter-increment: step;
  padding: 10px 12px 10px 42px;
  background: rgba(13, 20, 26, 0.6);
  border: 1px solid var(--shell27054-border);
  border-radius: var(--shell27054-radius-card);
  font-size: 13px;
  color: var(--shell27054-text);
}
.shell27054-steps li::before {
  content: counter(step);
  position: absolute;
  left: 9px;
  top: 50%;
  transform: translateY(-50%);
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--shell27054-teal-bright), var(--shell27054-teal));
  color: #eafdff;
  font-family: var(--shell27054-font-display);
  font-weight: 800;
  font-size: 12px;
  display: grid;
  place-items: center;
}
.shell27054-steps li strong { color: var(--shell27054-text-bright); }

/* Compact chip rows */
.shell27054-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
}
.shell27054-chip {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 7px 11px;
  border-radius: var(--shell27054-radius-btn);
  font-size: 12px;
  font-weight: 600;
  color: var(--shell27054-text);
  background: rgba(0, 151, 167, 0.1);
  border: 1px solid var(--shell27054-border-teal);
}
.shell27054-chip strong { color: var(--shell27054-warm); }
.shell27054-chip-accent {
  color: #061a06;
  background: var(--shell27054-accent-soft);
  border-color: var(--shell27054-border-accent);
  color: var(--shell27054-accent);
}

/* Two-column comparison */
.shell27054-duo {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 9px;
}
.shell27054-duo-cell {
  background: rgba(13, 20, 26, 0.55);
  border: 1px solid var(--shell27054-border);
  border-radius: var(--shell27054-radius-card);
  padding: 11px;
}
.shell27054-duo-cell h4 {
  font-size: 12.5px;
  margin: 0 0 5px;
  color: var(--shell27054-warm);
  font-family: var(--shell27054-font-display);
}
.shell27054-duo-cell p { font-size: 12px; margin: 0; color: var(--shell27054-text-dim); line-height: 1.5; }

/* Achievement ladder */
.shell27054-ladder {
  display: grid;
  gap: 8px;
}
.shell27054-rung {
  display: grid;
  grid-template-columns: 44px 1fr auto;
  align-items: center;
  gap: 10px;
  padding: 9px 11px;
  background: rgba(13, 20, 26, 0.55);
  border: 1px solid var(--shell27054-border);
  border-radius: var(--shell27054-radius-card);
}
.shell27054-rung-tag {
  font-family: var(--shell27054-font-display);
  font-weight: 800;
  font-size: 12px;
  letter-spacing: 0.5px;
  color: #061a06;
  background: linear-gradient(135deg, var(--shell27054-warm), var(--shell27054-warm-deep));
  border-radius: 7px;
  text-align: center;
  padding: 5px 0;
}
.shell27054-rung-body { min-width: 0; }
.shell27054-rung-body strong { display: block; color: var(--shell27054-text-bright); font-size: 12.8px; }
.shell27054-rung-body span { font-size: 11.5px; color: var(--shell27054-text-dim); }
.shell27054-rung-meta {
  font-size: 11px;
  font-weight: 700;
  color: var(--shell27054-accent);
}

/* Definition list (term explanation) */
.shell27054-terms { display: grid; gap: 8px; margin: 0; padding: 0; }
.shell27054-term {
  background: rgba(13, 20, 26, 0.55);
  border: 1px solid var(--shell27054-border);
  border-left: 3px solid var(--shell27054-warm);
  border-radius: var(--shell27054-radius-card);
  padding: 9px 11px;
}
.shell27054-term dt {
  font-family: var(--shell27054-font-display);
  font-weight: 800;
  font-size: 13px;
  color: var(--shell27054-warm);
  margin-bottom: 2px;
}
.shell27054-term dd { margin: 0; font-size: 12.5px; color: var(--shell27054-text); line-height: 1.5; }

/* Inline CTA strip */
.shell27054-cta-strip {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 12px 0 4px;
}

/* Hot tag for game cards */
.shell27054-tag-hot {
  position: absolute;
  top: 4px;
  left: 4px;
  font-size: 9px;
  font-weight: 800;
  letter-spacing: 0.5px;
  padding: 2px 5px;
  border-radius: 4px;
  background: linear-gradient(135deg, #ff5a5a, #c01515);
  color: #fff;
  z-index: 2;
}
.shell27054-tag-new {
  position: absolute;
  top: 4px;
  left: 4px;
  font-size: 9px;
  font-weight: 800;
  letter-spacing: 0.5px;
  padding: 2px 5px;
  border-radius: 4px;
  background: linear-gradient(135deg, var(--shell27054-accent), var(--shell27054-accent-deep));
  color: #061a06;
  z-index: 2;
}

/* ---------- Extended footer directory ---------- */
.shell27054-extended {
  margin: 26px 0 14px;
  padding: 16px 14px;
  border-radius: var(--shell27054-radius-card-lg);
  background:
    radial-gradient(140% 80% at 0% 0%, rgba(0, 139, 139, 0.16), transparent 55%),
    linear-gradient(180deg, #10202a, #0b161d);
  border: 1px solid var(--shell27054-border-teal);
}
.shell27054-extended-title {
  font-size: 14px;
  font-weight: 800;
  color: var(--shell27054-text-bright);
  margin: 0 0 12px;
  display: flex;
  align-items: center;
  gap: 8px;
}
.shell27054-extended-title::before {
  content: "";
  width: 4px; height: 16px;
  background: linear-gradient(180deg, var(--shell27054-accent), var(--shell27054-teal));
  border-radius: 2px;
}

.shell27054-dir-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4px 12px;
  margin-bottom: 14px;
}
.shell27054-dir-grid a {
  display: flex;
  align-items: center;
  gap: 7px;
  padding: 7px 4px;
  font-size: 12.3px;
  color: var(--shell27054-text);
  border-bottom: 1px dashed var(--shell27054-border);
  line-height: 1.3;
}
.shell27054-dir-grid a:hover { color: var(--shell27054-accent); }
.shell27054-dir-grid svg { width: 14px; height: 14px; opacity: 0.7; flex-shrink: 0; }

.shell27054-brand-block {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  padding: 10px 0;
  border-top: 1px solid var(--shell27054-border);
  border-bottom: 1px solid var(--shell27054-border);
  margin-bottom: 12px;
}
.shell27054-brand-block img {
  width: 38px;
  height: 38px;
  border-radius: 9px;
  flex-shrink: 0;
}
.shell27054-brand-block p {
  margin: 0;
  font-size: 12px;
  color: var(--shell27054-text-dim);
  line-height: 1.5;
}
.shell27054-brand-block strong { color: var(--shell27054-text-bright); }

.shell27054-promo-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 7px;
  margin-bottom: 12px;
}
.shell27054-promo-item {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 9px 10px;
  border-radius: var(--shell27054-radius-card);
  background: rgba(0, 255, 0, 0.06);
  border: 1px solid var(--shell27054-border-accent);
  color: var(--shell27054-text-bright);
  font-size: 12px;
  font-weight: 600;
  text-align: left;
}
.shell27054-promo-item:hover { background: rgba(0, 255, 0, 0.12); }
.shell27054-promo-item svg { width: 16px; height: 16px; color: var(--shell27054-accent); flex-shrink: 0; }

.shell27054-disclaimer {
  font-size: 11px;
  color: var(--shell27054-text-faint);
  line-height: 1.55;
  padding-top: 8px;
  border-top: 1px dashed var(--shell27054-border);
}

/* ---------- Copyright footer ---------- */
.shell27054-copyright {
  padding: 14px 14px calc(var(--shell27054-bottomnav-h) + 22px);
  text-align: center;
  font-size: 11.5px;
  color: var(--shell27054-text-faint);
  border-top: 1px solid var(--shell27054-border);
  background: #080d12;
}
.shell27054-copyright a { color: var(--shell27054-text-dim); margin: 0 4px; }
.shell27054-copyright-trust {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 6px;
  margin-bottom: 8px;
}
.shell27054-copyright-trust span {
  font-size: 10px;
  letter-spacing: 0.6px;
  padding: 3px 8px;
  border-radius: var(--shell27054-radius-btn);
  border: 1px solid var(--shell27054-border);
  color: var(--shell27054-text-dim);
}

/* ---------- Layered bottom nav ---------- */
.shell27054-bottomnav {
  position: fixed;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 100%;
  max-width: var(--shell27054-canvas);
  height: var(--shell27054-bottomnav-h);
  z-index: 60;
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  align-items: center;
  padding: 0 6px;
  background:
    linear-gradient(180deg, rgba(10, 30, 33, 0.96), rgba(8, 16, 20, 0.98));
  border-top: 1px solid var(--shell27054-border-teal);
  box-shadow: 0 -8px 22px rgba(0, 0, 0, 0.45);
  backdrop-filter: blur(6px);
}
.shell27054-bottomnav::before {
  content: "";
  position: absolute;
  top: -1px;
  left: 12%;
  right: 12%;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--shell27054-accent), transparent);
  opacity: 0.4;
}

.shell27054-nav-item {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 3px;
  height: 100%;
  padding: 6px 2px 4px;
  color: var(--shell27054-text-dim);
  font-size: 10px;
  font-weight: 600;
  text-align: center;
  border-radius: 12px;
  transition: color 0.18s var(--shell27054-ease), transform 0.18s var(--shell27054-ease);
  -webkit-tap-highlight-color: transparent;
}
.shell27054-nav-item svg {
  width: 22px;
  height: 22px;
  transition: transform 0.22s var(--shell27054-ease), filter 0.18s;
}
.shell27054-nav-item:hover { color: var(--shell27054-text-bright); }
.shell27054-nav-item:hover svg { transform: translateY(-1px) scale(1.05); }

.shell27054-nav-item.is-current {
  color: var(--shell27054-accent);
  transform: translateY(-5px);
}
.shell27054-nav-item.is-current svg {
  filter: drop-shadow(0 4px 8px rgba(0, 255, 0, 0.5));
}
.shell27054-nav-item.is-current::after {
  content: "";
  position: absolute;
  bottom: 2px;
  width: 16px;
  height: 2px;
  border-radius: 2px;
  background: var(--shell27054-accent);
}

/* Promo nav variant (lifted center pill) */
.shell27054-nav-item-promo {
  color: var(--shell27054-warm);
}
.shell27054-nav-item-promo svg {
  width: 26px;
  height: 26px;
}
.shell27054-nav-item-promo:hover { color: var(--shell27054-accent); }

.shell27054-nav-item-promo-primary {
  position: relative;
}
.shell27054-nav-item-promo-primary svg {
  position: relative;
  z-index: 2;
}

/* ---------- Fade-in animation ---------- */
.shell27054-fade {
  opacity: 0;
  transform: translateY(10px);
  transition: opacity 0.55s var(--shell27054-ease), transform 0.55s var(--shell27054-ease);
}
.shell27054-fade.is-visible {
  opacity: 1;
  transform: translateY(0);
}

/* ---------- Utility ---------- */
.shell27054-visually-hidden {
  position: absolute !important;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.shell27054-backtotop {
  position: fixed;
  right: 12px;
  bottom: calc(var(--shell27054-bottomnav-h) + 14px);
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: rgba(0, 151, 167, 0.85);
  color: #eafdff;
  display: grid;
  place-items: center;
  box-shadow: var(--shell27054-shadow-soft);
  opacity: 0;
  visibility: hidden;
  transform: translateY(8px);
  transition: opacity 0.2s, visibility 0.2s, transform 0.2s;
  z-index: 55;
}
.shell27054-backtotop.is-show { opacity: 1; visibility: visible; transform: translateY(0); }
.shell27054-backtotop svg { width: 20px; height: 20px; }

/* ---------- Responsive (within mobile canvas) ---------- */
@media (min-width: 380px) {
  .shell27054-hero-slide img { height: 200px; }
  .shell27054-hero-caption strong { font-size: 20px; }
  .shell27054-section-title { font-size: 21px; }
  .shell27054-game-grid { gap: 10px 9px; }
}

@media (min-width: 480px) {
  /* Ambient side gutters for desktop viewing of the centered canvas */
  body::before {
    content: "";
    position: fixed;
    inset: 0;
    background:
      radial-gradient(600px 400px at 10% 10%, rgba(0, 139, 139, 0.08), transparent 60%),
      radial-gradient(600px 400px at 90% 90%, rgba(255, 222, 173, 0.05), transparent 60%);
    pointer-events: none;
    z-index: 0;
  }
}

/* ---------- Help page layouts ---------- */
.shell27054-help-hero {
  margin: 8px 0 18px;
  padding: 18px 16px;
  border: 1px solid var(--shell27054-border-accent);
  border-radius: 12px 4px 12px 4px;
  background: linear-gradient(135deg, rgba(0, 139, 139, 0.32), rgba(20, 28, 36, 0.96));
  box-shadow: var(--shell27054-shadow-soft);
}
.shell27054-help-hero h1 { font-size: 25px; margin-bottom: 8px; }
.shell27054-help-hero p { font-size: 13.5px; color: var(--shell27054-text); }
.shell27054-help-kicker { color: var(--shell27054-warm); font-size: 11px; text-transform: uppercase; letter-spacing: 1.2px; font-weight: 800; }
.shell27054-help-map { display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); gap: 8px; margin-top: 13px; }
.shell27054-help-map a { min-height: 44px; display: flex; align-items: center; padding: 9px 10px; border: 1px solid var(--shell27054-border-teal); border-radius: 7px; color: var(--shell27054-text-bright); background: rgba(13,20,26,.68); font-size: 12px; }
.shell27054-help-map a:hover { border-color: var(--shell27054-border-accent); color: var(--shell27054-accent); }
.shell27054-help-rail { display: flex; gap: 8px; overflow-x: auto; padding: 2px 0 8px; scrollbar-width: thin; }
.shell27054-help-rail > * { flex: 0 0 142px; }
.shell27054-help-note { border-left: 3px solid var(--shell27054-warm); padding: 11px 12px; background: rgba(255,222,173,.06); border-radius: 4px; font-size: 12.5px; }
.shell27054-help-note strong { color: var(--shell27054-warm); }
.shell27054-help-table { width: 100%; border-collapse: collapse; font-size: 12px; }
.shell27054-help-table th, .shell27054-help-table td { padding: 9px 7px; border-bottom: 1px solid var(--shell27054-border); text-align: left; vertical-align: top; }
.shell27054-help-table th { color: var(--shell27054-accent); font-family: var(--shell27054-font-display); }
.shell27054-help-table td:first-child { color: var(--shell27054-text-bright); font-weight: 700; }
.shell27054-help-qa { display: grid; gap: 8px; }
.shell27054-help-qa details { border: 1px solid var(--shell27054-border); border-radius: 6px; background: rgba(13,20,26,.6); padding: 10px 11px; }
.shell27054-help-qa summary { cursor: pointer; color: var(--shell27054-text-bright); font-weight: 700; font-size: 13px; padding-right: 4px; }
.shell27054-help-qa p { font-size: 12.5px; margin: 8px 0 0; color: var(--shell27054-text); }
.shell27054-help-check { list-style: none; padding: 0; display: grid; gap: 7px; }
.shell27054-help-check li { margin: 0; padding: 9px 10px 9px 31px; position: relative; background: rgba(0,151,167,.09); border-radius: 5px; font-size: 12.5px; }
.shell27054-help-check li::before { content: "✓"; position: absolute; left: 10px; color: var(--shell27054-accent); font-weight: 900; }
.shell27054-help-callout { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 13px; border: 1px solid var(--shell27054-border-accent); border-radius: 8px; background: linear-gradient(100deg, rgba(0,255,0,.1), rgba(0,139,139,.14)); }
.shell27054-help-callout p { margin: 0; font-size: 12.5px; }
.shell27054-help-statline { display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); gap: 7px; margin: 12px 0; }
.shell27054-help-statline span { display: block; padding: 8px 5px; text-align: center; border-top: 2px solid var(--shell27054-teal-bright); background: rgba(13,20,26,.7); font-size: 10.5px; color: var(--shell27054-text-dim); }
.shell27054-help-statline b { display: block; color: var(--shell27054-warm); font-size: 16px; }
.shell27054-help-footer { margin-top: 18px; }

/* ---------- Reduced motion ---------- */
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.001ms !important;
    transition-duration: 0.001ms !important;
    scroll-behavior: auto !important;
  }
  .shell27054-fade { opacity: 1; transform: none; }
}
