:root {
  --sh-red: #B71C1C;
  --sh-orange: #E26548;
  --sh-gold: #C9A66B;
  --sh-black: #0B0B0B;
  --sh-blue: #5A9DA4;
  --muted-bg: #1F1A18;
  --card-bg: #151313;

  --container-max: 1100px;
  --radius: 12px;
}

/* Make all hyperlinks use the Secret Hitler bot blue color */
a {
  color: var(--sh-blue);
  text-decoration: none;
}
a:hover,
a:focus {
  color: var(--sh-gold);
  text-decoration: underline;
}


/* Reset & base */
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}
html, body {
  min-height: 100%;
  height: auto;
  font-family: Inter, system-ui, -apple-system, 'Segoe UI', Roboto, 'Helvetica Neue', Arial;
  background-color: var(--muted-bg);
  color: var(--sh-gold);
  -webkit-font-smoothing: antialiased;
  display: block;
}

/* Container */
.container {
  width: 100%;
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 1rem 2rem;
}

/* Sticky top nav */
.top-nav {
  position: sticky;
  top: 0;
  width: 100%;
  background: var(--sh-black);
  color: var(--sh-gold);
  border-bottom: 2px solid var(--sh-red);
  z-index: 100;
}
.top-nav > .container { padding-left: 2; padding-right: 2; }
.nav-inner {
  width: 100% !important;
  max-width: none !important;
  margin: 0 !important;            
  display: flex !important;
  align-items: center;
  gap: 1rem;
  justify-content: space-between;
  flex-wrap: wrap;
  padding-top: 0.2rem;
  padding-bottom: 1rem;
}
#mobile-menu {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  gap: 1rem;
}
.nav-ctas {
  display: flex;
  gap: 0.5rem;
  align-items: center;
  flex: 0 0 auto; 
  margin-right: 0.5rem;
  justify-content: flex-start;
}
.nav-brand-small {
  color: var(--sh-gold);
  font-weight: 700;
  text-decoration: none;
  font-size: 1.2rem;
  margin-right: 0.75rem;
  flex: 0 0 auto;
}
.nav-links {
  display: flex;
  gap: 1.5rem;
  align-items: center;
  justify-content: flex-end;
}
.nav-links a {
  text-decoration: none;
  color: var(--sh-blue);
  font-weight: 600;
  transition: color 0.3s;
}
.nav-links a:hover {
  color: var(--sh-gold);
}
/* Force-hide hamburger on desktop */
#nav-toggle {
  display: none !important;
  visibility: hidden !important;
  pointer-events: none !important;
}

/* Buttons */
.btn {
  display: inline-block;
  padding: 0.6rem 1rem;
  border-radius: 8px;
  font-weight: 700;
  text-decoration: none;
  transition: all 0.3s ease;
}
.btn-primary {
  background: var(--sh-red);
  color: #fff;
}
.btn-primary:hover {
  background: #8a1111;
}
.btn-secondary {
  background: transparent;
  border: 2px solid var(--sh-gold);
  color: var(--sh-gold);
}
.btn-secondary:hover {
  background: var(--sh-gold);
  color: var(--sh-black);
}
.btn-upvote {
  background: var(--sh-gold);
  color: var(--sh-black);
  border: 2px solid var(--sh-gold);
}
.btn-upvote:hover {
  background: #e2c17a;
}
.btn-outline {
  background: transparent;
  border: 2px solid var(--sh-red);
  color: var(--sh-red);
}
.btn-outline:hover {
  background: var(--sh-red);
  color: #fff;
}
.btn-home {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--sh-black);
  border: 1px solid rgba(201,166,107,0.25);
  color: var(--sh-gold);
  font-weight: 700;
  padding: 0.6rem 1rem;
  border-radius: 8px;
  transition: all 0.3s ease;
}
.btn-home:hover {
  background: var(--sh-gold);
  color: var(--sh-black);
}

/* Brand row */
.brand-row {
  background: var(--card-bg);
  width: 100%;
  text-align: center;
  padding: 1rem 1rem 1rem;
  border-bottom: 2px solid var(--sh-gold);
}
.brand-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
}
.brand-icon {
  width: 100px;
  height: 100px;
  border-radius: 20%;
  box-shadow: 0 0 20px rgba(0, 0, 0, 0.6);
}
.site-title {
  font-family: Inter, system-ui, -apple-system, 'Segoe UI', Roboto, 'Helvetica Neue', Arial;
  font-size: 2.5rem;
  color: var(--sh-gold);
  letter-spacing: 2px;
}
.tagline {
  color: var(--sh-blue);
  font-size: 1.1rem;
}

/* Hero */
.hero {
  background: linear-gradient(180deg, var(--card-bg), var(--muted-bg));
  color: var(--sh-gold);
  text-align: center;
  border-radius: var(--radius);
  margin: 2rem 0;
  padding: 2rem 1.5rem;
  box-shadow: 0 0 20px rgba(0,0,0,0.4);
}
.hero h2 {
  color: var(--sh-gold);
  margin-bottom: 1rem;
}
.hero p {
  color: #fff;
  margin-bottom: 1.5rem;
}

/* Features */
.features {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.5rem;
}
.feature {
  background: var(--card-bg);
  padding: 1.5rem;
  border-radius: var(--radius);
  border: 1px solid var(--sh-gold);
  color: var(--sh-gold);
  text-align: center;
  box-shadow: 0 0 15px rgba(0,0,0,0.3);
}
.feature h3 {
  color: var(--sh-blue);
  margin-bottom: 0.75rem;
}
.feature p {
  color: #fff;
}

/* Footer */
.site-footer {
  width: 100%;
  background: var(--sh-black);
  color: var(--sh-gold);
  border-top: 2px solid var(--sh-red);
  text-align: center;
  padding: 1rem 0;
  margin-top: auto;
}
.footer-inner a {
  color: var(--sh-blue);
  text-decoration: none;
  margin-left: 1rem;
}
.footer-inner a:hover {
  color: var(--sh-gold);
}
.footer-icon {
  width: 24px;         
  height: 24px;     
  max-width: 24px;
  max-height: 24px;
  display: inline-block;
  object-fit: contain; 
  border-radius: 8px;
  vertical-align: middle;
}

/* Background texture */
body.bg-root {
  background-image: url('grain.png'), radial-gradient(ellipse at center, rgba(0, 0, 0, 0.12), rgba(0, 0, 0, 0.36));
  background-size: cover;
  background-repeat: repeat;
  background-attachment: fixed;
}

/* Hide scrollbars globally */
html, body {
  overflow: -moz-scrollbars-none; 
  -ms-overflow-style: none;       
  scrollbar-width: none;         
}
html::-webkit-scrollbar, 
body::-webkit-scrollbar {
  display: none;                 
}

/* ========== ToS/Privacy pages ========== */

/* ToS collapsible sections (scoped with data-sh-tos) */
[data-sh-tos] { margin-bottom: 1rem; border-radius: 10px; overflow: visible; }
[data-sh-tos] .sh-tos-header { display:flex; align-items:center; justify-content:space-between; gap:1rem; }
[data-sh-tos] .sh-tos-header h3 { margin:0; color:var(--sh-gold); font-size:1.05rem; }
[data-sh-tos] .sh-tos-toggle {
  appearance: none;
  border: 1px solid rgba(201,166,107,0.12);
  background: rgba(0,0,0,0.25);
  color: var(--sh-gold);
  width:36px;
  height:36px;
  border-radius:8px;
  font-weight:700;
  cursor:pointer;
  display:inline-flex;
  align-items:center;
  justify-content:center;
}
[data-sh-tos] .sh-tos-toggle[aria-expanded="true"] {
  background: rgba(201,166,107,0.12);
  color:var(--sh-black);
}
/* TOS toggle SVG styling */
[data-sh-tos] .sh-tos-toggle svg {
  width: 18px;
  height: 18px;
  display: block;
  pointer-events: none;
  fill: currentColor;
}

[data-sh-tos] .sh-tos-toggle .icon-plus { display: inline-block; }
[data-sh-tos] .sh-tos-toggle .icon-minus { display: none; }
[data-sh-tos] .sh-tos-toggle[aria-expanded="true"] .icon-plus { display: none; }
[data-sh-tos] .sh-tos-toggle[aria-expanded="true"] .icon-minus { display: inline-block; }

[data-sh-tos] .sh-tos-body {
  margin-top:0.75rem;
  color:#fff;
  line-height:1.6;
  transition: max-height 220ms ease;
}
/* small nested content spacing */
[data-sh-tos] .sh-tos-body ul { margin:0.5rem 0 0.5rem 1.2rem; }

/* Stage — full-width wrapper & side panels */
#privacy-stage {
  position: relative;  
  width: 100%;
  overflow: hidden;    
  background: linear-gradient(180deg, rgba(0,0,0,0.55), rgba(0,0,0,0.6)); 
  z-index: 0;
}
#privacy-stage .htp-side-decor {
  position: absolute;
  top: 0;
  bottom: 0;
  width: 10vw;
  max-width: 220px;
  pointer-events: none;
  z-index: 0;
}
#privacy-stage .htp-side-decor.left { left: 0; }
#privacy-stage .htp-side-decor.right { right: 0; }
#privacy-stage .container,
#privacy-stage .main-content,
#privacy-stage .card {
  position: relative;
  z-index: 1;
}

/* ========== Contact page ========== */

/* Contact card visual contrast improvements */
.main-content { padding: 60px 30px 60px; }
.contact-card {
  background: radial-gradient(
      circle at 50% 40%,
      rgba(25, 20, 15, 0.85) 0%,
      rgba(10, 8, 6, 0.9) 60%,
      rgba(0, 0, 0, 0.95) 100%
  );
  border-radius: 14px;
  border: 1px solid rgba(201, 166, 107, 0.15);
  box-shadow:
    0 10px 28px rgba(0, 0, 0, 0.65),
    inset 0 0 12px rgba(201, 166, 107, 0.06);
  padding: 0;
  overflow: hidden;
  position: relative;
}
.contact-card::before {
  content: "";
  display: block;
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--sh-gold), transparent);
  opacity: 0.6;
}
.contact-card::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 14px;
  pointer-events: none;
  box-shadow: 0 0 14px rgba(201, 166, 107, 0.25), inset 0 0 8px rgba(201, 166, 107, 0.15);
}

/* header inside card */
.contact-card .card-header {
  padding: 2rem 2rem 0.5rem;
  border-bottom: 1px solid rgba(201,166,107,0.04);
  text-align: left;
}
.contact-card .card-header h1 {
  font-size: 2rem;
  margin-bottom: 0.25rem;
  color: var(--sh-gold);
}
.contact-card .card-header .lead {
  color: #d9caa1;
  margin-top: 0.4rem;
}

/* Side panels — pin to main edges and keep behind content */
#contact-stage {
  position: relative;
  width: 100%;
  overflow: hidden;     
  z-index: 0;
  background: linear-gradient(180deg, rgba(0,0,0,0.55), rgba(0,0,0,0.6));
}
#contact-stage .htp-side-decor {
  position: absolute;
  top: 0;
  bottom: 0;
  width: 10vw;
  max-width: 220px;
  pointer-events: none;
  z-index: 0;
}
#contact-stage .htp-side-decor.left { left: 0; }
#contact-stage .htp-side-decor.right { right: 0; }
#contact-stage .container,
#contact-stage .main-content,
#contact-stage .contact-card {
  position: relative;
  z-index: 1;
}

/* body layout: CTA row + panel (two-column on desktop) */
.contact-card .card-body {
  padding: 0.5rem 2rem 2rem;
}
.contact-ctas {
  display: flex;
  gap: 0.75rem;
  margin-bottom: 1.25rem;
  flex-wrap: wrap;
}

/* panel: left = info, right = form (desktop) */
.contact-panel {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: 1.5rem;
  align-items: start;
}

/* contact info styles */
.contact-info h2 {
  color: var(--sh-gold);
  margin-bottom: 0.5rem;
}
.contact-info p { color: #d9caa1; margin-bottom: 1rem; }
.meta-list { display: grid; gap: 0.5rem; color: #d9caa1; }
.meta-list dt { font-weight: 700; color: var(--sh-gold); display: inline-block; width: 8.5rem; }
.meta-list dd { display: inline-block; margin-left: 0.25rem; color: #d9caa1; }

/* form layout */
.contact-form {
  background: linear-gradient(180deg, rgba(0,0,0,0.06), rgba(0,0,0,0.02));
  padding: 1rem;
  border-radius: 10px;
  border: 1px solid rgba(201,166,107,0.04);
}
.form-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0.85rem;
}
.form-field { display: flex; flex-direction: column; gap: 0.35rem; color: #d9caa1; }
.form-field.full { grid-column: 1 / -1; }
.label-text { font-size: 0.9rem; color: var(--sh-gold); font-weight: 600; }

/* inputs + textarea */
.contact-form input[type="text"],
.contact-form input[type="email"],
.contact-form textarea {
  background: rgba(255,255,255,0.03);
  border: 1px solid rgba(201,166,107,0.08);
  padding: 0.5rem 0.6rem;
  border-radius: 8px;
  color: #fff;
  font-size: 0.95rem;
  outline: none;
  transition: box-shadow 150ms ease, border-color 150ms ease;
}
.contact-form input:focus,
.contact-form textarea:focus {
  border-color: rgba(90,157,164,0.9);
  box-shadow: 0 0 0 3px rgba(90,157,164,0.07);
}

/* textarea sizing */
.contact-form textarea { min-height: 140px; resize: vertical; }

/* form actions */
.form-actions {
  display: flex;
  gap: 1rem;
  align-items: center;
  margin-top: 1rem;
}
.form-status {
  color: #d9caa1;
  font-size: 0.95rem;
}

/* Submit button spinner */
.btn-spinner {
  width: 18px;
  height: 18px;
  margin-left: 0.6rem;
  display: none;
  vertical-align: middle;
}

/* When the button has .loading, show spinner and dim text slightly */
button.btn.loading .btn-text {
  opacity: 0.85;
}

button.btn.loading .btn-spinner {
  display: inline-block;
  animation: sh-spinner 1s linear infinite;
}

/* spinner rotate animation */
@keyframes sh-spinner {
  to { transform: rotate(360deg); }
}

/* disabled state for clarity */
button.btn[disabled] {
  opacity: 0.8;
  cursor: not-allowed;
}

/* Make sure spinner color is visible on dark backgrounds — inherits currentColor */
button.btn .btn-spinner circle { stroke: currentColor; stroke-dasharray: 100; stroke-dashoffset: 25; }

/* small refinement: focus-visible outlines for accessibility */
.contact-form input:focus-visible,
.contact-form textarea:focus-visible,
.btn:focus-visible {
  outline: 3px solid rgba(90,157,164,0.12);
  outline-offset: 2px;
}

/* ========== How-to-Play page ========== */

#how-to-play-page {
  position: relative;
  padding: 0 0 4rem;
  background: linear-gradient(180deg, rgba(0,0,0,0.55), rgba(0,0,0,0.6));
  color: var(--sh-gold);
  overflow: visible;
}

/* decorative side panels */
.htp-side-decor {
  position: absolute;
  top: 0;
  bottom: 0;
  width: 10vw;
  max-width: 220px;
  background: linear-gradient(180deg, rgba(0,0,0,0.55), rgba(0,0,0,0.8)), url('hitler.png');
  background-size: cover;
  background-position: center;
  opacity: 0.45;
  z-index: 0;
  pointer-events: none;
  border-right: 1px solid rgba(255,255,255,0.02);
}

/* soft golden inner glow framing the content */
.htp-side-decor.left {
  left: 0;
  box-shadow: inset -3px 0 10px rgba(201, 166, 107, 0.3);
}
.htp-side-decor.right {
  right: 0;
  box-shadow: inset 3px 0 10px rgba(201, 166, 107, 0.3);
}

/* main container — narrow centered column with breathing room */
.htp-container {
  position: relative;
  max-width: 880px;
  margin: 0 auto;
  padding: 2rem 2.25rem;
  z-index: 2;
}

/* hero */
.htp-hero {
  text-align: center;
  margin-bottom: 1.25rem;
  padding-top: 0.75rem;
}
.htp-hero .htp-icon {
  width: 86px;
  height: 86px;
  border-radius: 12px;
  display: inline-block;
  box-shadow: 0 10px 30px rgba(0,0,0,0.6);
  margin-bottom: 0.6rem;
  object-fit: cover;
  border: 6px solid rgba(0,0,0,0.45);
}
#htp-title {
  font-size: 2.25rem;
  letter-spacing: 0.6px;
  margin: 0.25rem 0 0.2rem;
  color: var(--sh-gold);
  text-shadow: 0 2px 0 rgba(0,0,0,0.6);
}
.htp-sub {
  color: rgba(201,166,107,0.85);
  margin: 0.25rem 0 0.5rem;
  font-size: 1rem;
}

/* Quickstart callout */
.htp-quickstart {
  display: flex;
  gap: 1rem;
  align-items: flex-start;
  background: linear-gradient(180deg, rgba(0,0,0,0.55), rgba(0,0,0,0.45));
  border: 1px solid rgba(201,166,107,0.08);
  border-radius: 10px;
  padding: 0.9rem;
  margin: 0.75rem 0 1.25rem;
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.02), 0 10px 30px rgba(0,0,0,0.6);
}
.htp-quickstart .qs-icon {
  flex: 0 0 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--sh-gold);
}
.htp-quickstart .qs-body h3 {
  margin: 0 0 0.4rem 0;
  color: var(--sh-gold);
  font-size: 1.05rem;
}
.htp-quickstart .qs-body ol {
  margin: 0;
  padding-left: 1.15rem;
  color: rgba(201,166,107,0.95);
  line-height: 1.45;
}
.htp-quickstart .muted { color: rgba(201,166,107,0.75); }

/* Content article */
.htp-content {
  background: linear-gradient(180deg, rgba(0,0,0,0.45), rgba(0,0,0,0.6));
  border-radius: 10px;
  padding: 1.25rem 1.25rem 1.5rem;
  border: 1px solid rgba(201,166,107,0.06);
  box-shadow: 0 12px 26px rgba(0,0,0,0.6);
}
.htp-section + .htp-section { margin-top: 1rem; }
.htp-section h2 {
  font-size: 1.15rem;
  color: var(--sh-gold);
  margin: 0 0 0.6rem;
  display: flex;
  align-items: center;
  gap: 0.6rem;
}
.htp-section p, .htp-section li {
  color: rgba(201,166,107,0.95);
  line-height: 1.6;
  font-size: 0.98rem;
}

/* list */
.htp-list {
  margin: 0;
  padding-left: 1.1rem;
}

/* CTA row */
.htp-cta-row {
  margin-top: 1.15rem;
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
  align-items: flex-start;
}
.htp-cta-wrap {
  display: flex;
  justify-content: center; 
  gap: 0.65rem;
  align-items: center;
  align-self: center;
}

/* gold PDF button */
.htp-pdf-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  background: linear-gradient(180deg, var(--sh-gold), #c9a86b 80%);
  color: var(--sh-black);
  padding: 0.55rem 0.9rem;
  border-radius: 8px;
  font-weight: 700;
  text-decoration: none;
  box-shadow: 0 6px 18px rgba(0,0,0,0.45);
  border: 1px solid rgba(0,0,0,0.18);
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}
.htp-pdf-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 26px rgba(0, 0, 0, 0.55);
  background: linear-gradient(180deg, #f2cb7d, #c9a86b 85%);
  color: var(--sh-black) !important;
  text-shadow: none;
}

/* footer note */
.htp-note { margin-top: 1.1rem; color: rgba(201,166,107,0.85); font-size: 0.95rem; }

/* small helpers */
.muted { color: rgba(201,166,107,0.75); }
code { background: rgba(255,255,255,0.02); padding: 0.08rem 0.28rem; border-radius: 4px; color: var(--sh-gold); }

/* ========== Commands Page ========== */

/* Commands page collapsibles (scoped) */
#commands-page {
  position: relative;
  padding: 0 0 4rem;
  color: var(--sh-gold);
  background: linear-gradient(180deg, rgba(0,0,0,0.55), rgba(0,0,0,0.6));
}

/* container already uses .htp-container rules */
.commands-container {
  max-width: 880px;
  margin: 0 auto;
  padding: 1.5rem 2.25rem;
  z-index: 2;
}

/* main card/box */
.cmd-card {
  background: linear-gradient(180deg, rgba(0,0,0,0.45), rgba(0,0,0,0.6));
  border-radius: 10px;
  padding: 1.25rem;
  border: 1px solid rgba(201,166,107,0.06);
  box-shadow: 0 12px 26px rgba(0,0,0,0.6);
}

/* collapsible section */
.cmd-section {
  margin-top: 0.9rem;
  border-radius: 8px;
  overflow: visible;
  position: relative;
}

/* Toggle button (title row) */
.sh-collapse-toggle {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  background: linear-gradient(180deg, rgba(0,0,0,0.03), rgba(255,255,255,0.01));
  border: 1px solid rgba(201,166,107,0.04);
  padding: 0.62rem 0.9rem;
  font-weight: 700;
  color: var(--sh-gold);
  border-radius: 8px;
  cursor: pointer;
  transition: transform 0.16s ease, box-shadow 0.12s ease;
  text-align: left;
}
.sh-collapse-toggle:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 18px rgba(0,0,0,0.45);
}

/* title */
.sh-collapse-toggle .collapse-title {
  font-size: 1.02rem;
}

/* Gold small square that holds plus / x */
.sh-collapse-toggle .collapse-icon {
  width: 34px;
  height: 34px;
  min-width: 34px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 6px;
  background: linear-gradient(180deg, rgba(201,166,107,0.95), rgba(201,166,107,0.85));
  color: var(--sh-black);
  font-weight: 800;
  box-shadow: 0 6px 12px rgba(0,0,0,0.45);
  padding: 0;
  transition: transform 160ms ease, box-shadow 120ms ease;
  position: relative;
  overflow: hidden;
}

/* Explicitly show plus SVG and hide X by default (collapsed state) */
.sh-collapse-toggle[aria-expanded="false"] .collapse-icon .icon-plus {
  display: inline-flex !important;
  align-items: center;
  justify-content: center;
}
.sh-collapse-toggle[aria-expanded="false"] .collapse-icon .icon-x {
  display: none !important;
}

/* When expanded: rotate the gold button, hide plus SVG, show X */
.sh-collapse-toggle[aria-expanded="true"] .collapse-icon {
  transform: rotate(45deg);
}
.sh-collapse-toggle[aria-expanded="true"] .collapse-icon .icon-plus {
  display: none !important;
}
.sh-collapse-toggle[aria-expanded="true"] .collapse-icon .icon-x {
  display: inline-flex !important;
  align-items: center;
  justify-content: center;
  transform: rotate(-45deg); 
  font-weight: 900;
  font-size: 1.05rem;
  line-height: 1;
}

/* Keep hover lift and handle expanded hover too */
.sh-collapse-toggle:hover .collapse-icon {
  transform: translateY(-2px) rotate(0deg);
}
.sh-collapse-toggle[aria-expanded="true"]:hover .collapse-icon {
  transform: translateY(-2px) rotate(45deg);
}

/* Focus ring for accessibility */
.sh-collapse-toggle:focus-visible {
  outline: none;
  box-shadow: 0 0 0 3px rgba(201,166,107,0.16), 0 8px 20px rgba(0,0,0,0.45);
}

/* Make sure the plus svg inside .icon-plus scales and is centered */
.sh-collapse-toggle .collapse-icon .icon-plus svg {
  display: block;
  width: 100%;
  height: 100%;
}

/* thicker stroke for visual parity with the X glyph */
.sh-collapse-toggle .collapse-icon .icon-plus svg line {
  stroke-width: 2.2;
}

/* collapse content */
.sh-collapse-content {
  margin-top: 0.7rem;
  padding: 0.75rem 0.9rem;
  border-radius: 6px;
  background: linear-gradient(180deg, rgba(0,0,0,0.04), rgba(0,0,0,0.02));
  border: 1px dashed rgba(201,166,107,0.04);
  color: rgba(201,166,107,0.95);
}

/* definition list styling inside collapsed area */
.sh-collapse-content .cmd-list dt {
  font-weight: 800;
  margin-top: 0.6rem;
  color: var(--sh-gold);
}
.sh-collapse-content .cmd-list dd {
  margin: 0.15rem 0 0.9rem 0;
  color: rgba(201,166,107,0.95);
  line-height: 1.55;
}

/* mini list style */
.mini-list {
  list-style: none;
  padding-left: 0;
  margin: 0.2rem 0 0 0;
}
.mini-list li {
  margin: 0.25rem 0;
  color: rgba(201,166,107,0.95);
}

/* Hero icon sizing & centering */
.cmd-hero {
  text-align: center;
  margin-bottom: 1.25rem;
  padding-top: 0.6rem;
}
.cmd-hero .cmd-icon,
.htp-hero .htp-icon {
  width: 72px !important;
  height: 72px !important;
  border-radius: 12px;
  display: block;
  margin: -12px auto 10px;
  object-fit: cover;
  box-shadow: 0 10px 30px rgba(0,0,0,0.6);
  border: 4px solid rgba(0,0,0,0.45);
}

/* Simplify all inline <code> for commands (no background box) */
#commands-page code {
  background: none;
  border: none;
  color: var(--sh-blue); 
  font-family: inherit; 
  font-weight: 500;
  padding: 0;
  margin: 0;
  font-size: 1em;
}

/* ========== Mobile ========== */

/* Responsive */
@media (max-width: 800px) {
  /* Hide nav links and CTA buttons */
  .nav-links,
  .nav-ctas {
    display: none;
  }

  /* Ensure clones inside #mobile-menu are visible */
  #mobile-menu .nav-ctas,
  #mobile-menu .nav-links,
  #mobile-menu .nav-ctas.mobile-clone,
  #mobile-menu .nav-links.mobile-clone {
    display: flex !important;
    flex-direction: column;
    align-items: stretch;
  }

  /* Mobile toggle wrapper sits at the left (order:-1) and provides spacing */
  .mobile-toggle-wrap {
    display: flex;
    align-items: center;
    gap: 0.4rem;
    padding-left: 0.4rem;    
    padding-bottom: 0.4rem;
    padding-top: 0.4rem;
    position: relative;         
  }

  /* Show hamburger menu only on small screens */
  #nav-toggle {
    display: block !important;
    visibility: visible !important;
    pointer-events: auto !important;
    font-size: 1.6rem;
    background: none;
    border: none;
    color: var(--sh-gold);
    cursor: pointer;
    line-height: 1;
    position: relative;
    margin-left: 0;          
  }

  /* Pseudo-label is visual only and won't capture clicks */
  .mobile-toggle-wrap::after {
    content: "Secret Hitler";
    color: var(--sh-gold);
    font-weight: 700;
    font-size: 1.05rem;
    letter-spacing: 0.5px;
    pointer-events: none;     
    user-select: none;
    display: inline-block;
    margin-left: 0.35rem;
    position: relative;
    top: -1px;
  }

  /* mobile menu collapsed by default */
  #mobile-menu {
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    width: 100%;
    background: var(--sh-black);
    padding: 0.75rem 1rem;
    border-top: 2px solid var(--sh-red);
  }

  /* when open, mobile-menu shows (class "open") */
  #mobile-menu.open {
    display: flex;
  }

  /* stack CTAs and nav links inside mobile menu */
  .nav-ctas {
    flex-direction: column;
    align-items: stretch;
    gap: 0.6rem;
    margin-bottom: 0.5rem;
  }

  .nav-ctas .btn, .nav-ctas .btn-home {
    width: 100%;
    justify-content: flex-start;
    padding-left: 0.75rem;
    background: transparent;
    border: 1px solid rgba(201,166,107,0.06);
    color: var(--sh-gold);
  }

  .nav-links {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.5rem;
    padding-top: 0.5rem;
  }

  .nav-links a {
    display: block;
    width: 100%;
    padding: 0.45rem 0.25rem;
  }

  /* ensure hamburger visually sits at left */
  .nav-inner { align-items: center; padding: 0 1rem; }

  /* Mobile contact page */
  .contact-card .card-header { padding: 1.25rem; }
  .contact-card .card-body { padding: 1rem; }
  .contact-panel { grid-template-columns: 1fr; }
  .form-grid { grid-template-columns: 1fr; }
  .contact-ctas { justify-content: flex-start; }
  .meta-list dt { width: 100%; }

  /* Mobile how-to-play page */
  .htp-container { padding: 1.25rem; max-width: 680px; }
  .htp-side-decor { display: none; }
  .htp-hero .htp-icon { width: 72px; height: 72px; }
  #htp-title { font-size: 1.6rem; }
  .htp-quickstart { flex-direction: row; gap: 0.75rem; padding: 0.6rem; }
  .htp-cta-wrap { flex-direction: column; align-items: stretch; width: 100%; }
  .htp-pdf-btn { width: 100%; justify-content: center; }

  /* Mobile commands page */
  .sh-collapse-toggle .collapse-icon { width: 30px; height: 30px; min-width: 30px; }
  .cmd-hero .cmd-icon, .htp-hero .htp-icon { width: 64px !important; height: 64px !important; margin-top: -6px; border-width: 4px; }
  .commands-container { padding: 1rem; max-width: 720px; }
  .htp-side-decor { display: none; }

}


