* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  background: #1C1B22;
  color: #FFFFFF;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
}

#app {
  max-width: 420px;
  width: 100%;
  text-align: center;
}

.nascosto {
  display: none !important;
}

.eyebrow {
  font-size: 14px;
  opacity: 0.6;
  margin-bottom: 4px;
}

h1 {
  font-size: 32px;
  font-weight: 800;
  margin-bottom: 12px;
}

.istruzioni {
  font-size: 14px;
  opacity: 0.7;
  margin-bottom: 24px;
}

#contenitore-canvas {
  position: relative;
  width: 100%;
  aspect-ratio: 1;
  border-radius: 24px;
  overflow: hidden;
  touch-action: none;
}

#contenuto-sotto {
  z-index: 1;
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #2FBFAE;
  font-size: 64px;
}

#contenuto-sotto img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

#canvas-scratch {
  z-index: 2;
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  cursor: pointer;
}

#cta-download {
  margin-top: 28px;
  opacity: 0;
  transition: opacity 0.4s ease;
}

#cta-download p {
  margin-bottom: 12px;
  font-size: 15px;
  opacity: 0.8;
}

.bottone-cta {
  display: inline-block;
  background: #FFFFFF;
  color: #1A1A1A;
  padding: 14px 32px;
  border-radius: 26px;
  font-weight: 700;
  text-decoration: none;
  font-size: 16px;
}

.bottone-secondario {
  display: block;
  width: 100%;
  background: rgba(255,255,255,0.1);
  color: #FFFFFF;
  border: none;
  padding: 14px 32px;
  border-radius: 26px;
  font-weight: 700;
  font-size: 15px;
  margin-bottom: 20px;
  cursor: pointer;
}

/* Segnalazione contenuto */
.link-segnala {
  display: block;
  margin: 16px auto 0;
  background: none;
  border: none;
  color: #888;
  font-size: 13px;
  text-decoration: underline;
  cursor: pointer;
  padding: 8px;
}

#form-segnala {
  max-width: 320px;
  margin: 12px auto 0;
  padding: 16px;
  background: #fff;
  border: 2px solid #1A1A1A;
  border-radius: 16px;
}

#form-segnala textarea {
  width: 100%;
  box-sizing: border-box;
  border: 2px solid #ccc;
  border-radius: 10px;
  padding: 8px;
  font-family: inherit;
  margin: 8px 0;
  resize: vertical;
}

.segnala-azioni {
  display: flex;
  gap: 10px;
  justify-content: center;
}

#segnala-confermato {
  max-width: 320px;
  margin: 12px auto 0;
  padding: 16px;
  text-align: center;
  color: #178A7C;
  font-weight: 700;
}
