body {
  padding: 20px 0;
}

/* Responsive container with locked aspect ratio */
.container {
  position: relative;
  margin: 0 auto;
  overflow: hidden;

  border: 3px solid yellow;

  /* 🔑 This is the key */
  width: 100%;
  max-width: 1366px;
  aspect-ratio: 1366 / 768;
  color: #ffffff;

  background: linear-gradient(
    180deg,
    #3a4c73 0%,
    #324360 60%
  );
    radial-gradient(
      800px 500px at 90% 20%,
      rgba(255, 255, 255, 0.04),
      transparent 45%
    ),
    linear-gradient(135deg, #0f172a, #020617);
    /* Apply font everywhere inside the container */
.container {
  font-family: "Open Sans", system-ui, -apple-system, BlinkMacSystemFont, sans-serif;
}

/* Section headers */
.mission-reveal h3 {
  font-size: clamp(20px, 3vw, 24px);
  font-weight: 700;
  margin-bottom: 10px;
}

/* Main purpose line (make it stand out) */
.mission-reveal p:first-of-type {
  font-size: clamp(18px, 2.6vw, 22px);
  font-weight: 600;
}

/* Body copy */
.mission-reveal p {
  font-size: clamp(16px, 2.2vw, 18px);
  line-height: 1.65;
  margin-bottom: 22px;
  color: rgba(255,255,255,0.95);
}

.primary-btn {
  font-size: 16px;
  padding: 14px 30px;
}

}

/* Canvas */
.canvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: 3;
}

/* Shimmer */
.scratch-shimmer {
  position: absolute;
  inset: 0;
  z-index: 2;
  pointer-events: none;

  background: linear-gradient(
    .scratch-shimmer {position: absolute; inset: 0; z-index: 2; pointer-events: none;
      /* shimmer look */ background: linear-gradient(
        115deg,
        rgba(255, 255, 255, 0) 0%,
        rgba(255, 255, 255, 0.15) 35%,
        rgba(255, 255, 255, 0.45) 50%,
        rgba(255, 255, 255, 0.15) 65%,
        rgba(255, 255, 255, 0) 100%
      ) ; /* start off hidden */ opacity: 0; transform: translateX(-60%) ;}
      /* Only runs when JS adds this class */ .scratch-shimmer.play-once {opacity:
      1; animation: scratchShimmerOnce 900ms ease-out 1; animation-fill-mode: forwards;
      /* stays at end state */} @keyframes scratchShimmerOnce {0% {opacity: 0;
      transform: translateX(-60%) ;} 10% {opacity: 1;} 100% {opacity: 0;
      transform: translateX(60%) ;}} 115deg,
    rgba(255, 255, 255, 0) 0%,
    rgba(255, 255, 255, 0.15) 35%,
    rgba(255, 255, 255, 0.45) 50%,
    rgba(255, 255, 255, 0.15) 65%,
    rgba(255, 255, 255, 0) 100%
  );
  transform: translateX(-60%);
  animation: scratchShimmer 1.8s ease-in-out infinite;
}

@keyframes scratchShimmer {
  from {
    transform: translateX(-60%);
  }
  to {
    transform: translateX(60%);
  }
}

/* Content under scratch */


.form {
  position: relative;
  z-index: 1;
  padding: 10px;
}

.form {
  text-align: center;
  max-width: 700px;
  margin: auto;
}

.form {
  position: absolute;
  top: 50%;
  left: 50%;

  transform: translate(-50%, -50%);

  width: min(900px, 90vw); /* keeps the text readable */
  text-align: center;

  z-index: 1;
}


.code-box {
  margin: 20px auto;
  padding: 14px 18px;
  font-size: 22px;
  letter-spacing: 2px;
  font-weight: bold;
  border-radius: 8px;
  background: #111;
  color: #fff;
  width: fit-content;
}

.primary-btn {
  margin-top: 24px;
  padding: 12px 22px;
  border-radius: 6px;
  border: none;

  background: #ffffff;
  color: #324360;

  font-weight: 600;
  font-size: 15px;
  cursor: pointer;

  transition: all 200ms ease;
  .primary-btn:hover {
    background: #f5f7fa;
    transform: translateY(-1px);
  }
  
}

.form h1,
.form h2,
.form h3 {
  margin-top: 0;
}

