:root {
  --plum: #46104c;
  --plum-deep: #2b092f;
  --pink: #ff315f;
  --pink-soft: #ffb6c1;
  --paper: #ffebf1;
  --paper-light: #fff8f9;
  --lavender: #d9d1ff;
  --gold: #d7a53a;
  --line: rgba(255, 117, 154, 0.25);
  --blue-line: rgba(128, 153, 224, 0.28);
  --muted: #76556f;
  --white: #fffdfd;
  --shadow: 0 18px 34px rgba(70, 16, 76, 0.14);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  overflow-x: hidden;
}

body {
  margin: 0;
  color: var(--plum);
  font-family: "Courier New", Courier, monospace;
  font-size: 16px;
  line-height: 1.55;
  overflow-x: hidden;
  background-color: var(--paper);
  background-image:
    linear-gradient(
      90deg,
      transparent 0,
      transparent 32px,
      var(--pink-soft) 32px,
      var(--pink-soft) 34px,
      transparent 34px,
      transparent calc(100% - 34px),
      var(--pink-soft) calc(100% - 34px),
      var(--pink-soft) calc(100% - 32px),
      transparent calc(100% - 32px)
    ),
    repeating-linear-gradient(
      180deg,
      transparent 0,
      transparent 31px,
      var(--blue-line) 31px,
      var(--blue-line) 32px
    ),
    linear-gradient(180deg, #ffedf3 0%, #fff0f4 48%, #ffe8ef 100%);
}

body,
button,
input {
  font: inherit;
}

button,
summary {
  cursor: pointer;
}

a {
  color: inherit;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1,
h2,
h3 {
  font-family: Georgia, "Times New Roman", serif;
  font-style: italic;
  font-weight: 500;
  line-height: 0.92;
}

button,
a,
input,
summary {
  -webkit-tap-highlight-color: transparent;
}

button:focus-visible,
a:focus-visible,
input:focus-visible,
summary:focus-visible {
  outline: 3px solid var(--pink);
  outline-offset: 4px;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  border-bottom: 1px solid var(--pink-soft);
  background: rgba(255, 235, 241, 0.9);
  backdrop-filter: blur(10px);
}

.desktop-nav {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  width: min(100% - 68px, 1440px);
  min-height: 76px;
  margin: 0 auto;
  border-inline: 2px solid var(--pink-soft);
}

.desktop-nav > div {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: clamp(22px, 4vw, 64px);
}

.desktop-nav a {
  font-family: Georgia, "Times New Roman", serif;
  font-weight: 700;
  letter-spacing: 0.03em;
  text-decoration: none;
  text-transform: uppercase;
}

.desktop-nav > div a {
  padding: 9px 0 7px;
  border-bottom: 2px solid transparent;
}

.desktop-nav > div a:hover {
  border-color: var(--pink);
}

.monogram {
  display: block;
  width: 104px;
  height: 58px;
  margin: 0 28px;
  transform: rotate(-3deg);
}

.monogram img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.mobile-nav {
  display: none;
}

.hero {
  position: relative;
  overflow: hidden;
  isolation: isolate;
}

.hero-inner {
  position: relative;
  width: 100%;
  max-width: 1360px;
  margin: 0 auto;
  display: grid;
  min-height: 1040px;
  padding: 54px 48px 30px;
}

.sticker-microphone,
.sticker-stopwatch,
.sticker-notepad,
.sticker-sayhername,
.sticker-megaphone {
  position: absolute;
  z-index: -1;
  pointer-events: none;
  filter: drop-shadow(0 12px 9px rgba(70, 16, 76, 0.13));
}

.sticker-microphone {
  left: 15px;
  top: 80px;
  width: clamp(80px, 9vw, 110px);
  transform: rotate(-12deg);
}

.sticker-stopwatch {
  left: 80px;
  top: 375px;
  width: clamp(80px, 8vw, 110px);
  transform: rotate(18deg);
}

.sticker-notepad {
  right: 10px;
  top: 50px;
  width: clamp(120px, 14vw, 170px);
  transform: rotate(14deg);
}

.sticker-sayhername {
  right: 85px;
  top: 230px;
  width: clamp(120px, 12vw, 160px);
  transform: rotate(-8deg);
}

.sticker-megaphone {
  right: 0px;
  top: 430px;
  width: clamp(130px, 15vw, 180px);
  transform: rotate(-25deg);
}

.hero-heading {
  position: relative;
  z-index: 2;
  align-self: start;
  width: min(90vw, 720px);
  margin: 68px auto 0;
  text-align: center;
}

.script-note {
  margin-bottom: 8px;
  color: var(--pink);
  font-family: "Segoe Script", "Bradley Hand", cursive;
  font-size: clamp(1.4rem, 2.8vw, 2.5rem);
  line-height: 1.2;
  transform: rotate(-2deg);
}

.hero h1 {
  margin: 0;
  color: var(--plum);
  font-size: clamp(4.8rem, 10vw, 9.1rem);
  font-weight: 700;
  letter-spacing: -0.075em;
  text-shadow:
    0 5px 0 var(--paper-light),
    0 9px 0 var(--pink);
}

.hero-subtitle {
  margin: 30px 0 0;
  color: var(--plum);
  font-family: "Segoe Script", "Bradley Hand", cursive;
  font-size: clamp(1.15rem, 2vw, 1.8rem);
}

.paper-card,
.torn-paper {
  background: var(--white);
  box-shadow: var(--shadow);
}

.paper-card {
  position: relative;
  z-index: 3;
  width: 100%;
  padding: clamp(24px, 4vw, 44px);
  border: 1px solid rgba(70, 16, 76, 0.1);
  clip-path: polygon(
    0 2%,
    3% 1%,
    6% 2%,
    10% 0.7%,
    14% 1.8%,
    18% 0.8%,
    23% 1.7%,
    28% 0.8%,
    34% 1.6%,
    40% 0.7%,
    47% 1.8%,
    54% 0.8%,
    60% 1.5%,
    67% 0.7%,
    73% 1.6%,
    80% 0.8%,
    87% 1.7%,
    93% 0.8%,
    100% 1.8%,
    99% 97.5%,
    95% 99%,
    90% 98%,
    84% 99.3%,
    77% 98%,
    70% 99%,
    63% 98.2%,
    56% 99.2%,
    49% 98%,
    42% 99.3%,
    35% 98%,
    28% 99%,
    21% 98.1%,
    14% 99.2%,
    7% 98%,
    1% 99%
  );
}

.paper-tape {
  display: none;
}

.scoreboard {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border-block: 1px solid var(--pink-soft);
}

.scoreboard > div {
  min-width: 0;
  padding: 12px 18px;
  text-align: center;
}

.scoreboard > div + div {
  border-left: 1px solid var(--pink-soft);
}

.score-label {
  display: block;
  color: var(--muted);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.scoreboard strong {
  display: inline-flex;
  align-items: baseline;
  margin-top: 3px;
  color: var(--plum);
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(2rem, 5vw, 3.2rem);
  font-style: italic;
  font-weight: 500;
  line-height: 1;
}

.scoreboard small {
  margin-left: 3px;
  color: var(--pink);
  font-size: 0.45em;
}

.meter {
  height: 9px;
  margin: 20px 0 28px;
  background: #f1dfe6;
  border-radius: 999px;
  overflow: hidden;
}

#meterFill {
  width: 0%;
  height: 100%;
  background: var(--pink);
  transition: width 180ms ease;
}

.guess-form label {
  display: block;
  margin-bottom: 8px;
  color: var(--plum);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.4rem;
  font-style: italic;
}

.guess-row {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 10px;
}

input {
  width: 100%;
  min-height: 68px;
  padding: 0 20px;
  border: 2px solid var(--plum);
  border-radius: 0;
  color: var(--plum);
  background: var(--paper-light);
  font-size: 1.05rem;
  outline: none;
}

input::placeholder {
  color: #a0819a;
}

input:focus {
  border-color: var(--pink);
  box-shadow: 0 0 0 4px rgba(255, 49, 95, 0.15);
}

.guess-row button,
.dialog-actions button {
  min-width: 132px;
  border: 0;
  border-radius: 0;
  color: var(--white);
  background: var(--plum);
  font-weight: 800;
  text-transform: uppercase;
  box-shadow: 5px 5px 0 var(--pink);
  transition: transform 150ms ease, box-shadow 150ms ease;
}

.guess-row button:hover,
.dialog-actions button:hover {
  transform: translate(-2px, -2px);
  box-shadow: 8px 8px 0 var(--pink);
}

.message {
  min-height: 26px;
  margin: 16px 0;
  color: var(--muted);
  text-align: center;
}

.message.good {
  color: #347b5b;
}

.message.bad {
  color: #c3224d;
}

.message.loading {
  color: var(--pink);
  animation: pulse 1s infinite alternate;
}

@keyframes pulse {
  from { opacity: 0.5; }
  to { opacity: 1; }
}

.guess-row input:disabled,
.guess-row button:disabled {
  opacity: 0.7;
  cursor: not-allowed;
}

.quick-actions {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--pink-soft);
  border-block: 1px solid var(--pink-soft);
}

.quick-actions button {
  min-height: 46px;
  border: 0;
  color: var(--plum);
  background: var(--white);
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.04em;
}

.quick-actions button:hover {
  color: var(--white);
  background: var(--pink);
}

.game-card.pop {
  animation: pop 190ms ease;
}

.game-card.shake {
  animation: shake 240ms ease;
}

.marquee-strip {
  position: relative;
  z-index: 5;
  width: 105%;
  margin-left: -2.5%;
  padding: 20px 0;
  overflow: hidden;
  color: var(--plum);
  background: #f6c3ef;
  border-block: 1px solid rgba(70, 16, 76, 0.13);
  box-shadow: 0 10px 20px rgba(70, 16, 76, 0.11);
  transform: rotate(-1.2deg);
}

.marquee-strip div {
  width: max-content;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(1.25rem, 2.4vw, 2.3rem);
  font-style: italic;
  white-space: nowrap;
  animation: marquee 30s linear infinite;
}

.marquee-strip.lavender {
  background: var(--lavender);
  transform: rotate(1.3deg);
}

.hero,
.score-section,
.rules-section,
.seo-section,
.faq-section {
  scroll-margin-top: 90px;
}

.score-section,
.rules-section,
.how-section,
.seo-section,
.faq-section {
  width: min(100% - 68px, 1200px);
  margin-inline: auto;
}

.score-section {
  padding: 40px 0 120px;
  text-align: center;
}

.score-section h2,
.rules-section h2,
.how-section h2,
.seo-section h2,
.faq-section h2 {
  margin: 0;
  color: var(--plum);
  font-size: clamp(3.5rem, 7.5vw, 7rem);
  letter-spacing: 0.02em;
}

.answer-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) minmax(280px, 0.6fr);
  gap: clamp(22px, 4vw, 52px);
  margin-top: 68px;
  text-align: left;
}

.torn-paper {
  clip-path: polygon(
    0 2%,
    5% 1%,
    10% 2%,
    15% 0.8%,
    20% 1.8%,
    25% 0.7%,
    31% 1.7%,
    37% 0.8%,
    44% 1.8%,
    51% 0.7%,
    58% 1.7%,
    65% 0.8%,
    72% 1.8%,
    79% 0.7%,
    86% 1.8%,
    93% 0.8%,
    100% 2%,
    99% 97%,
    94% 99%,
    88% 98%,
    81% 99%,
    74% 98%,
    67% 99.2%,
    60% 98%,
    53% 99%,
    46% 98%,
    39% 99%,
    32% 98%,
    25% 99.2%,
    18% 98%,
    11% 99%,
    4% 98%
  );
}

.answer-box {
  min-height: 420px;
  padding: clamp(28px, 4vw, 52px);
}

.section-heading {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 18px;
  padding-bottom: 16px;
  border-bottom: 2px solid var(--pink);
}

.section-heading h3 {
  margin: 0;
  font-size: clamp(2.5rem, 5vw, 4.3rem);
}

.section-heading span {
  color: var(--pink);
  font-family: "Segoe Script", "Bradley Hand", cursive;
  font-size: 1rem;
}

#correctList,
#missList {
  margin: 30px 0 0;
  padding-left: 28px;
}

#correctList {
  columns: 2;
  column-gap: 42px;
}

#correctList li,
#missList li {
  min-height: 34px;
  margin: 0 0 8px;
  padding: 3px 8px;
  border-bottom: 1px solid rgba(70, 16, 76, 0.13);
  break-inside: avoid;
}

#correctList span {
  display: block;
  color: var(--pink);
  font-size: 0.72rem;
  text-transform: uppercase;
}

#missList li {
  color: #c3224d;
}

.empty-note {
  margin: 42px auto 0;
  color: #96768e;
  font-style: italic;
  text-align: center;
}

#correctList:not(:empty) + .empty-note,
#missList:not(:empty) + .empty-note {
  display: none;
}

.hero-game-area {
  position: relative;
  z-index: 3;
  align-self: end;
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  grid-template-rows: auto auto;
  gap: 28px clamp(24px, 4vw, 48px);
  width: min(100%, 1240px);
  margin: 48px auto 0;
  align-items: start;
}

.hero-left-col,
.hero-right-col {
  display: contents;
}

.game-card {
  grid-column: 1;
  grid-row: 1;
}

#score-sheet {
  grid-column: 1;
  grid-row: 2;
}

.rules-paper-wrapper {
  grid-column: 2;
  grid-row: 1;
}

.miss-box {
  grid-column: 2;
  grid-row: 2;
}

.rules-paper-wrapper {
  position: relative;
  transform: rotate(1.4deg);
}

.rules-toggle-btn {
  display: none;
}

.rules-paper-wrapper::before {
  content: "GAME RULES";
  position: absolute;
  top: -22px;
  left: 50%;
  padding: 10px 28px;
  color: var(--plum);
  background: rgba(215, 165, 58, 0.86);
  font-weight: 700;
  letter-spacing: 0.08em;
  transform: translateX(-50%) rotate(-2deg);
  z-index: 2;
}

.rules-paper {
  position: relative;
  padding: clamp(32px, 5vw, 64px);
}



.rules-paper ol {
  display: grid;
  gap: 14px;
  margin: 0;
  padding-left: 28px;
}

.rules-paper li {
  padding: 0 0 12px 4px;
  border-bottom: 1px solid rgba(70, 16, 76, 0.12);
}

.how-section {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.05fr);
  gap: clamp(42px, 7vw, 110px);
  align-items: start;
  padding: 110px 0 140px;
}

.how-section h2 {
  font-size: clamp(3.5rem, 6.5vw, 6rem);
}

.typewriter-copy {
  padding: 42px;
  background: var(--white);
  box-shadow: var(--shadow);
  clip-path: polygon(
    0 3%,
    8% 1%,
    17% 3%,
    26% 1%,
    36% 2.5%,
    47% 0.8%,
    57% 2.6%,
    69% 1%,
    82% 2.5%,
    93% 1%,
    100% 3%,
    100% 97%,
    92% 99%,
    82% 97.5%,
    69% 99%,
    57% 97.5%,
    47% 99%,
    36% 97.5%,
    26% 99%,
    17% 97.5%,
    8% 99%,
    0 97%
  );
}

.typewriter-copy p:last-child {
  margin-bottom: 0;
}

.seo-section {
  padding: 45px 0;
  border-top: 2px dashed var(--pink-soft);
  scroll-margin-top: 90px;
}

.seo-section .typewriter-copy {
  width: calc(100% - 24px);
  max-width: 1260px;
  margin: 0 auto;
  position: relative;
  padding: 64px clamp(32px, 6vw, 80px);
}

.seo-section p {
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.12rem;
  line-height: 1.8;
  color: var(--plum);
  margin-top: 0;
  margin-bottom: 22px;
}

.seo-section h3 {
  font-family: Georgia, "Times New Roman", serif;
  font-style: italic;
  font-weight: 700;
  font-size: 1.55rem;
  color: var(--plum);
  margin-top: 0;
  margin-bottom: 16px;
}

.seo-section h2 {
  font-family: Georgia, "Times New Roman", serif;
  font-weight: 800;
  font-style: italic;
  font-size: clamp(1.8rem, 3.2vw, 2.5rem);
  color: var(--plum);
  text-align: center;
  margin-top: 0;
  margin-bottom: 42px;
  letter-spacing: -0.015em;
  display: block;
  width: 100%;
  position: relative;
}

.seo-section h2::after {
  content: "";
  position: absolute;
  bottom: -6px;
  left: 30%;
  width: 40%;
  height: 3px;
  background: var(--pink);
  transform: rotate(-1deg);
}

.seo-section .script-note {
  text-align: center;
  margin-bottom: 12px;
  display: block;
  font-family: "Segoe Script", "Bradley Hand", cursive;
  font-size: clamp(1.1rem, 2.2vw, 1.4rem);
  color: var(--pink);
  transform: rotate(-1.5deg);
}

.seo-paper-tape {
  position: absolute;
  top: -16px;
  left: 50%;
  transform: translateX(-50%) rotate(-1.5deg);
  width: 130px;
  height: 32px;
  background-color: rgba(255, 235, 241, 0.65);
  backdrop-filter: blur(1.5px);
  -webkit-backdrop-filter: blur(1.5px);
  border-left: 1px dashed rgba(70, 16, 76, 0.15);
  border-right: 1px dashed rgba(70, 16, 76, 0.15);
  box-shadow: 0 2px 4px rgba(70, 16, 76, 0.04);
  z-index: 5;
}

/* Layout for stacked content sections */
.rules-explanation,
.works-flow h3:first-of-type {
  margin-top: 0;
}

.rules-checklist {
  margin-top: 42px;
  border-top: 2px dashed var(--pink-soft);
  padding-top: 36px;
}

/* Section-specific rules lists (unified to typewriter-copy) */
.rules-details-section h3 {
  margin: 0 0 24px;
  color: var(--plum);
  font-family: Georgia, "Times New Roman", serif;
  font-style: italic;
  font-weight: 700;
  font-size: 1.55rem;
  border-bottom: 2px solid var(--pink-soft);
  padding-bottom: 8px;
}

.rules-details-section ol {
  margin: 0;
  padding-left: 20px;
  line-height: 1.75;
  color: var(--plum);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.12rem;
}

.rules-details-section li {
  margin-bottom: 16px;
}

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

/* Verification tech stack layout */
.works-flow h3 {
  margin: 36px 0 16px;
  color: var(--plum);
  font-family: Georgia, "Times New Roman", serif;
  font-style: italic;
  font-weight: 700;
  font-size: 1.45rem;
  border-bottom: 1px dashed var(--pink-soft);
  padding-bottom: 8px;
}

.works-flow h3:first-of-type {
  margin-top: 0;
}

.works-flow p {
  margin-bottom: 24px;
}

.works-flow p:last-child {
  margin-bottom: 0;
}

.faq-section {
  padding: 120px 0 150px;
  text-align: center;
}

.faq-list {
  display: grid;
  width: 100%;
  margin: 24px auto 0;
  text-align: left;
}

details {
  border-top: 1px solid var(--plum);
  background: rgba(255, 253, 253, 0.42);
}

details:last-child {
  border-bottom: 1px solid var(--plum);
}

summary {
  padding: 22px 16px;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(1.35rem, 2.5vw, 2rem);
  font-style: italic;
  list-style-position: inside;
}

details p {
  max-width: 48rem;
  margin: -6px 48px 24px;
  color: var(--muted);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.05rem;
  line-height: 1.65;
}

footer {
  position: relative;
  min-height: 380px;
  padding: 100px 34px 48px;
  overflow: hidden;
  color: var(--white);
  background: var(--pink);
  text-align: center;
}

footer .script-note {
  color: #ffc1cf;
  font-size: clamp(2.6rem, 6vw, 5.3rem);
}

footer p:last-child {
  margin-top: 60px;
  font-size: 0.85rem;
}

footer::after {
  content: "NAME 100 WOMEN";
  position: absolute;
  right: 0;
  bottom: -0.36em;
  left: 0;
  color: var(--white);
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(5rem, 14vw, 13rem);
  font-style: italic;
  font-weight: 700;
  line-height: 1;
  white-space: nowrap;
  opacity: 0.95;
}

.finish-dialog {
  width: min(92vw, 680px);
  padding: 0;
  border: 0;
  background: transparent;
}

.finish-dialog::backdrop {
  background: rgba(43, 9, 47, 0.68);
  backdrop-filter: blur(4px);
}

.finish-card {
  padding: clamp(34px, 6vw, 68px);
  color: var(--plum);
  background: var(--white);
  text-align: center;
}

.finish-card h2 {
  margin: 0;
  font-size: clamp(3rem, 7vw, 5.7rem);
}

.finish-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  margin: 34px 0;
  border-block: 1px solid var(--pink-soft);
}

.finish-stats div {
  padding: 16px 10px;
}

.finish-stats div + div {
  border-left: 1px solid var(--pink-soft);
}

.finish-stats span {
  display: block;
  color: var(--muted);
  font-size: 0.72rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.finish-stats strong {
  display: block;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.5rem;
  font-style: italic;
}

.result-text {
  color: var(--muted);
}

.dialog-actions {
  display: flex;
  justify-content: center;
  gap: 16px;
  margin-top: 28px;
}

.dialog-actions button {
  min-height: 52px;
  padding: 0 22px;
}

.dialog-actions button:last-child {
  color: var(--plum);
  background: var(--pink-soft);
}

.confetti-layer {
  pointer-events: none;
  position: fixed;
  z-index: 9999;
  inset: 0;
  overflow: hidden;
}

.confetti {
  position: absolute;
  top: -20px;
  width: 10px;
  height: 16px;
  animation: confetti-fall 1300ms ease-out forwards;
}

@keyframes marquee {
  to {
    transform: translateX(-50%);
  }
}

@keyframes pop {
  50% {
    transform: scale(1.012);
  }
}

@keyframes shake {
  20% {
    transform: translateX(-5px);
  }
  40% {
    transform: translateX(5px);
  }
  60% {
    transform: translateX(-3px);
  }
  80% {
    transform: translateX(3px);
  }
}

@keyframes confetti-fall {
  to {
    transform: translateY(105vh) rotate(480deg);
    opacity: 0;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

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

@media (max-width: 900px) {
  .desktop-nav {
    display: none;
  }

  .mobile-nav {
    display: flex;
    align-items: center;
    justify-content: space-between;
    min-height: 72px;
    padding: 10px 24px;
    border-inline: 2px solid var(--pink-soft);
  }

  .mobile-nav .monogram {
    width: 78px;
    height: 44px;
    margin: 0;
  }

  .mobile-nav > a:last-child {
    font-size: 0.78rem;
    font-weight: 700;
    text-decoration: none;
    text-transform: uppercase;
  }

  .hero-inner {
    min-height: auto;
    padding: 24px 22px 70px;
  }

  .sticker-microphone {
    left: -15px;
    top: 60px;
    width: 65px;
    display: block !important;
  }

  .sticker-notepad {
    right: -15px;
    top: 40px;
    width: 85px;
    display: block !important;
  }

  .sticker-stopwatch {
    left: -15px;
    top: 290px;
    width: 65px;
    display: block !important;
  }

  .sticker-sayhername {
    right: -15px;
    top: 190px;
    width: 80px;
    display: block !important;
  }

  .sticker-megaphone {
    right: -15px;
    top: 380px;
    width: 80px;
    display: block !important;
  }

  .hero-heading {
    margin-top: 24px;
  }

  .hero h1 {
    font-size: clamp(3.8rem, 15vw, 6.5rem);
  }

  .hero-subtitle {
    margin-top: 12px;
  }

  .hero-game-area {
    grid-template-columns: 1fr;
    width: min(100%, 820px);
    margin-top: 28px;
  }

  .hero-left-col,
  .hero-right-col {
    display: contents;
  }

  .game-card,
  .rules-paper-wrapper,
  #score-sheet,
  .miss-box {
    grid-column: 1 !important;
    grid-row: auto !important;
  }

  .game-card {
    order: 1;
  }

  .rules-paper-wrapper {
    order: 2;
    transform: none;
  }

  #score-sheet {
    order: 3;
  }

  .miss-box {
    order: 4;
  }

  .rules-toggle-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    max-width: 320px;
    margin: 0 auto 12px;
    padding: 10px 24px;
    color: var(--plum);
    background: rgba(215, 165, 58, 0.92);
    border: 2px solid var(--plum);
    font-weight: 700;
    font-family: inherit;
    font-size: 0.9rem;
    letter-spacing: 0.05em;
    cursor: pointer;
    text-transform: uppercase;
    box-shadow: 3px 3px 0 var(--plum);
    transform: rotate(-1deg);
    transition: transform 0.15s ease, box-shadow 0.15s ease;
  }

  .rules-toggle-btn:active {
    transform: translate(2px, 2px) rotate(-1deg);
    box-shadow: 1px 1px 0 var(--plum);
  }

  .rules-paper-wrapper::before {
    display: none !important;
  }

  .rules-paper {
    display: none;
    margin-top: 8px;
  }

  .rules-paper-wrapper.expanded .rules-paper {
    display: block;
  }

  .how-section,
  .seo-section {
    padding-block: 40px;
  }

  .rules-grid,
  .science-grid,
  .works-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .notepad-body {
    flex-direction: column;
    max-height: 480px;
    gap: 24px;
    margin-left: 10px;
    padding: 24px;
  }
}

@media (max-width: 620px) {
  body {
    background-image:
      linear-gradient(
        90deg,
        transparent 0,
        transparent 10px,
        var(--pink-soft) 10px,
        var(--pink-soft) 12px,
        transparent 12px,
        transparent calc(100% - 12px),
        var(--pink-soft) calc(100% - 12px),
        var(--pink-soft) calc(100% - 10px),
        transparent calc(100% - 10px)
      ),
      repeating-linear-gradient(
        180deg,
        transparent 0,
        transparent 31px,
        var(--blue-line) 31px,
        var(--blue-line) 32px
      ),
      linear-gradient(180deg, #ffedf3 0%, #fff0f4 48%, #ffe8ef 100%);
  }

  .mobile-nav {
    margin-inline: 10px;
    padding-inline: 12px;
  }

  .hero-inner {
    padding-inline: 16px;
  }

  .sticker-microphone {
    left: -10px;
    top: 60px;
    width: 55px;
  }

  .sticker-notepad {
    right: -10px;
    top: 40px;
    width: 75px;
  }

  .hero-heading {
    width: 100%;
    margin-top: 24px;
  }

  .hero-heading .script-note {
    font-size: 1.2rem;
  }

  .hero h1 {
    font-size: clamp(3.9rem, 21vw, 5.7rem);
    text-shadow:
      0 3px 0 var(--paper-light),
      0 6px 0 var(--pink);
  }

  .hero-subtitle {
    font-size: 1.05rem;
  }

  .hero-game-area {
    margin-top: 28px;
  }

  .paper-card {
    padding: 28px 20px 34px;
  }

  .scoreboard > div {
    padding: 10px 6px;
  }

  .scoreboard strong {
    font-size: 1.85rem;
  }

  .guess-row {
    grid-template-columns: 1fr;
  }

  .guess-row button {
    min-height: 54px;
  }

  .quick-actions {
    grid-template-columns: 1fr;
  }

  .quick-actions button {
    min-height: 44px;
  }

  .how-section,
  .seo-section,
  .faq-section {
    width: calc(100% - 32px);
  }

  .how-section h2,
  .seo-section h2,
  .faq-section h2 {
    font-size: clamp(1.6rem, 7vw, 2.2rem);
  }



  .answer-grid {
    margin-top: 46px;
  }

  .answer-box {
    min-height: 340px;
    padding: 38px 26px 44px;
  }

  #correctList {
    columns: 1;
  }

  .section-heading {
    align-items: flex-start;
    flex-direction: column;
    gap: 4px;
  }

  .section-heading h3 {
    font-size: 3rem;
  }



  .rules-paper {
    padding: 52px 28px 42px;
  }

  .rules-paper-wrapper::before {
    width: 76%;
    text-align: center;
  }

  .how-section {
    gap: 42px;
  }

  .typewriter-copy {
    padding: 34px 26px;
  }

  .seo-section .typewriter-copy {
    width: 100%;
  }

  details p {
    margin-inline: 26px;
  }

  .finish-stats {
    grid-template-columns: 1fr;
  }

  .finish-stats div + div {
    border-top: 1px solid var(--pink-soft);
    border-left: 0;
  }

  .dialog-actions {
    flex-direction: column;
  }

  footer {
    min-height: 330px;
    padding-inline: 18px;
  }

  footer::after {
    font-size: 4.4rem;
  }
}
