:root {
  --dusk-bg: #2d1c1b;
  --dusk-panel: #472826;
  --dusk-sun: #f79d45;
  --dusk-peach: #ffc48f;
  --dusk-text: #fff4e7;
}
* { box-sizing: border-box; }
body {
  margin: 0;
  font-family: 'Karla', sans-serif;
  color: var(--dusk-text);
  background:
    radial-gradient(circle at 78% 8%, rgba(247, 157, 69, 0.3), transparent 36%),
    linear-gradient(180deg, #2d1c1b 0%, #1d1110 100%);
}
body.dusk-age-lock { overflow: hidden; }
.dusk-header {
  padding: 0.85rem 1rem;
  display: grid;
  grid-template-columns: auto auto;
  align-items: center;
  gap: 0.8rem;
  border-bottom: 1px solid rgba(255, 196, 143, 0.35);
  background: rgba(45, 28, 27, 0.92);
  position: sticky;
  top: 0;
  z-index: 68;
}
.dusk-brand {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  text-decoration: none;
  color: var(--dusk-text);
}
.dusk-brand img { width: 48px; height: 38px; }
.dusk-brand span {
  font-family: 'Archivo Black', sans-serif;
  font-size: clamp(1rem, 3.9vw, 1.55rem);
}
.dusk-toggle {
  justify-self: end;
  border: 1px solid var(--dusk-peach);
  color: var(--dusk-peach);
  background: transparent;
  border-radius: 9px;
  padding: 0.4rem 0.75rem;
  font-weight: 700;
  cursor: pointer;
}
.dusk-nav {
  grid-column: 1 / -1;
  display: none;
  flex-direction: column;
  gap: 0.4rem;
}
.dusk-nav.show { display: flex; }
.dusk-nav a {
  text-decoration: none;
  color: var(--dusk-text);
  border-radius: 9px;
  padding: 0.48rem 0.74rem;
  background: rgba(255, 196, 143, 0.12);
}
.dusk-nav a:hover,
.dusk-nav a:focus-visible { background: rgba(255, 196, 143, 0.2); }
.dusk-home {
  width: min(1380px, 100% - 1.5rem);
  margin: 1rem auto 2rem;
  display: grid;
  gap: 0.95rem;
}
.dusk-hero,
.dusk-rules,
.dusk-game,
.dusk-filler article,
.dusk-doc {
  background: linear-gradient(145deg, rgba(71, 40, 38, 0.96), rgba(53, 28, 27, 0.96));
  border: 1px solid rgba(255, 196, 143, 0.2);
  border-radius: 14px;
  padding: 1rem;
}
.dusk-hero h1,
.dusk-doc h1 {
  margin-top: 0;
  font-family: 'Archivo Black', sans-serif;
  font-size: clamp(1.6rem, 5.4vw, 2.8rem);
  line-height: 1.1;
}
.dusk-rules h2,
.dusk-game h2,
.dusk-filler h2 {
  margin-top: 0;
  font-family: 'Archivo Black', sans-serif;
  font-size: 1.2rem;
}
.dusk-rules ul { margin: 0; padding-left: 1rem; line-height: 1.7; }
.dusk-game iframe,
.dusk-screen iframe {
  width: 100%;
  min-height: 470px;
  border: 0;
  border-radius: 10px;
  background: #000;
}
.dusk-filler { display: grid; gap: 0.85rem; }
.dusk-doc {
  width: min(1140px, 100% - 1.5rem);
  margin: 1rem auto 2rem;
  line-height: 1.75;
}
.dusk-screen iframe { min-height: 72vh; }
.dusk-footer {
  margin: 0 0.8rem 0.8rem;
  padding: 1rem;
  border-radius: 14px;
  border: 1px solid rgba(255, 196, 143, 0.25);
}
.dusk-footer div {
  margin-top: 0.58rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem;
}
.dusk-footer a { color: var(--dusk-peach); text-decoration: none; }
.dusk-age {
  position: fixed;
  inset: 0;
  background: rgba(18, 10, 10, 0.88);
  display: grid;
  place-items: center;
  padding: 1rem;
  z-index: 95;
}
.dusk-age[hidden] { display: none; }
.dusk-age-box {
  width: min(430px, 100%);
  background: #402523;
  border-radius: 12px;
  border: 1px solid rgba(255, 196, 143, 0.34);
  padding: 1rem;
}
.dusk-age-box h2 {
  margin-top: 0;
  font-family: 'Archivo Black', sans-serif;
}
.dusk-age-box div {
  margin-top: 0.75rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
}
.dusk-age-box button {
  border: 0;
  border-radius: 8px;
  padding: 0.6rem 0.9rem;
  font-weight: 700;
  cursor: pointer;
}
#dusk-yes { background: var(--dusk-sun); color: #2c1b12; }
#dusk-no { background: #654444; color: #fff1e1; }
@media (min-width: 930px) {
  .dusk-toggle { display: none; }
  .dusk-nav {
    grid-column: auto;
    display: flex;
    flex-direction: row;
    justify-self: end;
  }
  .dusk-header {
    grid-template-columns: auto 1fr;
    padding-inline: 1.3rem;
  }
  .dusk-home {
    grid-template-columns: 1.1fr 0.9fr;
    grid-template-areas:
      'hero rules'
      'game game'
      'fill fill';
  }
  .dusk-hero { grid-area: hero; }
  .dusk-rules { grid-area: rules; }
  .dusk-game { grid-area: game; }
  .dusk-filler {
    grid-area: fill;
    grid-template-columns: 1fr 1fr;
  }
}