@import url('https://fonts.googleapis.com/css2?family=Creepster&display=swap');

:root {
  --ht-gold: #c8a84b;
  --ht-gold-bright: #f0d880;
  --ht-blood: #8b0000;
  --ht-bg: #000;
  --ht-card: rgba(8, 4, 2, 0.92);
  --ht-border: rgba(200, 168, 75, 0.35);
  --ht-radius: 10px;
}

.howto-body {
  margin: 0;
  min-height: 100vh;
  background: radial-gradient(ellipse at center, rgba(8, 4, 2, 0.99) 0%, #000 100%);
  color: var(--ht-gold);
  font-family: 'Courier New', Courier, monospace;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}

.howto-wrap {
  max-width: 680px;
  margin: 0 auto;
  padding: 32px 20px 64px;
  box-sizing: border-box;
}

.howto-nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 28px;
  font-size: 0.85rem;
}

.howto-nav a {
  color: var(--ht-gold-bright);
  text-decoration: none;
  opacity: 0.9;
}

.howto-nav a:hover {
  opacity: 1;
  text-decoration: underline;
}

.howto-header {
  text-align: center;
  margin-bottom: 36px;
  padding-bottom: 28px;
  border-bottom: 1px solid var(--ht-border);
}

.howto-credit {
  font-size: 0.72rem;
  letter-spacing: 0.35em;
  text-transform: uppercase;
  opacity: 0.7;
  margin: 0 0 10px;
}

.howto-header h1 {
  font-family: 'Creepster', cursive;
  font-size: clamp(2rem, 8vw, 2.75rem);
  font-weight: normal;
  color: var(--ht-blood);
  text-shadow: 0 0 20px rgba(139, 0, 0, 0.45);
  margin: 0;
  line-height: 1.1;
}

.howto-sub {
  margin: 12px 0 0;
  font-size: 0.95rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  opacity: 0.85;
}

.howto-section {
  background: var(--ht-card);
  border: 1px solid var(--ht-border);
  border-radius: var(--ht-radius);
  padding: 20px 22px;
  margin-bottom: 16px;
}

.howto-section h2 {
  font-size: 0.78rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--ht-gold-bright);
  margin: 0 0 12px;
  font-weight: normal;
}

.howto-section p {
  margin: 0 0 12px;
  font-size: 0.92rem;
}

.howto-section p:last-child {
  margin-bottom: 0;
}

.howto-section ol,
.howto-section ul {
  margin: 0;
  padding-left: 1.25rem;
  font-size: 0.92rem;
}

.howto-section li {
  margin-bottom: 8px;
}

.howto-section li:last-child {
  margin-bottom: 0;
}

.howto-section code {
  background: rgba(200, 168, 75, 0.12);
  padding: 0.1em 0.35em;
  border-radius: 3px;
  font-size: 0.88em;
}

.howto-note {
  font-size: 0.85rem;
  opacity: 0.88;
  font-style: italic;
}

.howto-play {
  display: inline-block;
  margin-top: 8px;
  padding: 12px 24px;
  background: linear-gradient(180deg, rgba(139, 0, 0, 0.85) 0%, rgba(80, 0, 0, 0.95) 100%);
  border: 1px solid rgba(200, 168, 75, 0.45);
  border-radius: var(--ht-radius);
  color: var(--ht-gold-bright);
  text-decoration: none;
  font-size: 0.9rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.howto-play:hover {
  border-color: var(--ht-gold-bright);
}

.howto-footer {
  text-align: center;
  margin-top: 32px;
}
