:root {
  --yellow: #FFC822;
  --black: #111111;
  --white: #ffffff;
  --soft: rgba(255, 255, 255, 0.72);
}

* {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  width: 100%;
  min-height: 100%;
  background: var(--yellow);
  color: var(--black);
  font-family: Arial, sans-serif;
}

body {
  overflow: hidden;
}

.screen {
  display: none;
  width: 100vw;
  height: 100vh;
  background: var(--yellow);
  padding: 44px 64px;
}

.screen.active {
  display: flex;
}

.content {
  width: 100%;
  height: 100%;
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.tag {
  margin: 0 0 16px;
  font-size: clamp(16px, 2vw, 24px);
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 2px;
  opacity: 0.65;
}

h1 {
  margin: 0;
  max-width: 1200px;
  font-size: clamp(50px, 9vw, 140px);
  line-height: 0.88;
  letter-spacing: -5px;
  font-weight: 900;
}

.section-title {
  font-size: clamp(50px, 7vw, 96px);
  letter-spacing: -3px;
  max-width: 1100px;
}

.big-text {
  max-width: 980px;
  margin: 24px 0 0;
  font-size: clamp(22px, 3vw, 40px);
  line-height: 1.1;
  font-weight: 800;
}

.section-subtitle {
  font-size: clamp(20px, 2.4vw, 32px);
  max-width: 900px;
}

.button,
.back-button {
  width: fit-content;
  border: 0;
  border-radius: 999px;
  background: var(--black);
  color: var(--yellow);
  font-weight: 900;
  cursor: pointer;
}

.button {
  margin-top: 28px;
  padding: 15px 32px;
  font-size: clamp(17px, 2vw, 23px);
}

.back-button {
  position: absolute;
  top: 0;
  left: 0;
  padding: 12px 20px;
  font-size: 16px;
}

.button:hover,
.back-button:hover,
.section-button:hover,
.info-card:hover {
  transform: translateY(-3px);
}

.section-menu {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
  margin-top: 44px;
}

.section-button {
  min-height: 160px;
  border: 3px solid var(--black);
  border-radius: 28px;
  padding: 24px;
  background: var(--soft);
  color: var(--black);
  box-shadow: 8px 8px 0 var(--black);
  text-align: left;
  font-size: clamp(24px, 3vw, 40px);
  line-height: 1;
  font-weight: 900;
  cursor: pointer;
  transition: transform 0.15s ease, opacity 0.15s ease;
}

.section-button span {
  display: block;
  font-size: 18px;
  opacity: 0.6;
  margin-bottom: 14px;
}

.section-button.locked {
  opacity: 0.35;
  cursor: not-allowed;
}

.section-button.done {
  background: var(--black);
  color: var(--yellow);
}

.small-note {
  margin-top: 20px;
  font-weight: 900;
  font-size: 18px;
  opacity: 0.75;
}

.compare-grid {
  display: grid;
  gap: 20px;
  margin-top: 32px;
}

.compare-grid.four {
  grid-template-columns: repeat(4, 1fr);
}

.info-card,
.match-row,
.difference-row {
  background: var(--soft);
  border: 3px solid var(--black);
  border-radius: 24px;
  padding: 20px;
  box-shadow: 7px 7px 0 var(--black);
}

.reveal-card {
  cursor: pointer;
}

.image-placeholder {
  height: clamp(120px, 20vh, 220px);
  border-radius: 18px;
  background: var(--black);
  color: var(--yellow);
  display: grid;
  place-items: center;
  text-align: center;
  padding: 18px;
  font-size: clamp(22px, 2.6vw, 34px);
  font-weight: 900;
}

.info-card h2,
.difference-row h2 {
  margin: 14px 0 8px;
  font-size: clamp(23px, 2.4vw, 34px);
  line-height: 1;
}

.info-card p,
.difference-row p {
  margin: 0;
  font-size: clamp(16px, 1.8vw, 21px);
  line-height: 1.25;
  font-weight: 700;
}

.hidden-info {
  opacity: 0;
  max-height: 0;
  overflow: hidden;
  transition: opacity 0.2s ease, max-height 0.2s ease;
}

.reveal-card.open .hidden-info {
  opacity: 1;
  max-height: 160px;
}

.difference-grid {
  display: grid;
  gap: 18px;
  margin-top: 32px;
  max-width: 1180px;
}

.difference-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 22px;
}

.matching-list {
  display: grid;
  gap: 16px;
  margin-top: 28px;
  max-width: 1150px;
}

.match-row {
  display: grid;
  grid-template-columns: 0.85fr 1.5fr;
  align-items: center;
  gap: 20px;
}

.match-row strong {
  font-size: clamp(22px, 2.7vw, 34px);
}

select,
input {
  width: 100%;
  border: 3px solid var(--black);
  border-radius: 18px;
  background: var(--white);
  padding: 14px 16px;
  font-size: clamp(15px, 1.7vw, 20px);
  font-weight: 800;
}

form {
  max-width: 1000px;
  margin-top: 24px;
}

label {
  display: block;
  margin-bottom: 18px;
  font-size: clamp(18px, 2vw, 24px);
  line-height: 1.25;
  font-weight: 900;
}

.result {
  min-height: 32px;
  font-size: clamp(18px, 2vw, 24px);
  font-weight: 900;
}

.button-row {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
}

.hidden {
  display: none !important;
}

.correct {
  outline: 6px solid var(--black);
}

.wrong {
  outline: 6px dashed var(--black);
}

.wiggly-text span {
  display: inline-block;
  will-change: transform;
}

@media (max-width: 1150px) {
  .screen {
    padding: 34px;
  }

  .section-menu,
  .compare-grid.four {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 800px) {
  body {
    overflow: auto;
  }

  .screen {
    height: auto;
    min-height: 100vh;
    padding: 26px;
  }

  .section-menu,
  .compare-grid.four,
  .difference-row,
  .match-row {
    grid-template-columns: 1fr;
  }

  h1,
  .section-title {
    letter-spacing: -2px;
  }

  .back-button {
    position: static;
    margin-bottom: 22px;
  }
}


/* Real artwork images */
.art-image {
  width: 100%;
  height: clamp(120px, 20vh, 220px);
  object-fit: cover;
  border-radius: 18px;
  border: 3px solid var(--black);
  display: block;
  background: var(--black);
}


/* 00 video section */
.section-menu {
  grid-template-columns: repeat(5, 1fr);
}

.video-box {
  width: min(900px, 80vw);
  aspect-ratio: 16 / 9;
  margin-top: 30px;
  background: var(--black);
  border: 3px solid var(--black);
  border-radius: 24px;
  overflow: hidden;
  box-shadow: 8px 8px 0 var(--black);
}

.video-box iframe {
  width: 100%;
  height: 100%;
  display: block;
  border: 0;
  background: var(--black);
}

@media (max-width: 1250px) {
  .section-menu {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (max-width: 800px) {
  .section-menu {
    grid-template-columns: 1fr;
  }

  .video-box {
    width: 100%;
  }
}


/* YouTube button card instead of broken embed */
.watch-card {
  width: min(900px, 82vw);
  margin-top: 30px;
  background: rgba(255, 255, 255, 0.72);
  border: 3px solid var(--black);
  border-radius: 28px;
  padding: 28px;
  box-shadow: 8px 8px 0 var(--black);
  display: grid;
  grid-template-columns: 120px 1fr;
  gap: 26px;
  align-items: center;
}

.play-circle {
  width: 110px;
  height: 110px;
  border-radius: 999px;
  background: var(--black);
  color: var(--yellow);
  display: grid;
  place-items: center;
  font-size: 44px;
  font-weight: 900;
}

.watch-card h2 {
  margin: 0 0 10px;
  font-size: clamp(28px, 3vw, 44px);
  line-height: 1;
}

.watch-card p {
  margin: 0 0 18px;
  max-width: 650px;
  font-size: clamp(17px, 2vw, 22px);
  font-weight: 800;
  line-height: 1.25;
}

.youtube-button {
  display: inline-block;
  background: var(--black);
  color: var(--yellow);
  text-decoration: none;
  border-radius: 999px;
  padding: 14px 24px;
  font-size: 18px;
  font-weight: 900;
}

.youtube-button:hover {
  transform: translateY(-2px);
}

@media (max-width: 800px) {
  .watch-card {
    width: 100%;
    grid-template-columns: 1fr;
  }

  .play-circle {
    width: 90px;
    height: 90px;
    font-size: 36px;
  }
}


/* Final score styling */
.score-text {
  margin: 18px 0 0;
  max-width: 950px;
  font-size: clamp(24px, 3vw, 44px);
  line-height: 1.1;
  font-weight: 900;
}

/* Real artwork images */
.art-image {
  width: 100%;
  height: clamp(120px, 20vh, 220px);
  object-fit: cover;
  border-radius: 18px;
  border: 3px solid var(--black);
  display: block;
  background: var(--black);
}
