/* ============================================
   OPTION A — GeoCities / Cameron's World chaos
   ============================================ */

html, body { height: 100%; margin: 0; }

body{
  /* Tiled diamond/checker pattern like old GeoCities */
  background-color: #000080;
  background-image:
    repeating-linear-gradient(45deg,
      rgba(255,255,0,0.08) 0px, rgba(255,255,0,0.08) 2px,
      transparent 2px, transparent 10px),
    repeating-linear-gradient(-45deg,
      rgba(255,0,255,0.06) 0px, rgba(255,0,255,0.06) 2px,
      transparent 2px, transparent 10px);
  background-attachment: fixed;
}

:root{
  --font-white: "cofo-sans-mono-vf", "Courier New", monospace;
  --font-label: "hobeaux", Verdana, sans-serif;
  --font-btn: "Arial Rounded MT Bold", Arial, sans-serif;
}

.wrap{
  max-width: 640px;
  margin: 0 auto;
  padding: 10px 8px 120px;
  text-align: center;
  border-left: 4px solid rgba(255,255,0,0.4);
  border-right: 4px solid rgba(255,255,0,0.4);
  background: rgba(0,0,80,0.60);
  position: relative;
  z-index: 1;
}

/* Title — Arial Rounded like MySpace */
.title{
  font-family: "Arial Rounded MT Bold", Arial, sans-serif;
  font-weight: 900;
  font-size: clamp(28px, 6vw, 58px);
  letter-spacing: 0.06em;
  margin: 0 0 10px;
  padding: 10px 0;
  color: #ffff00;
  text-shadow:
    3px 3px 0 #ff00ff,
    -1px -1px 0 #00ffff,
    0 0 20px rgba(255,255,0,0.80);
  text-transform: uppercase;
  animation: titlePulse 2s ease-in-out infinite;
}

/* Hand images — fixed to sides of viewport */
.handImg{
  position: fixed;
  width: 140px;
  image-rendering: pixelated;
  opacity: 0.90;
  z-index: 9998;
  pointer-events: none;
  mix-blend-mode: screen;
}
.hand-tl{ top: 80px;    left: 0;   transform: scaleX(-1) rotate(-8deg); }
.hand-bl{ bottom: 100px; left: 0;   transform: scaleX(-1) rotate(8deg); }
.hand-tr{ top: 80px;    right: 0;  transform: rotate(-8deg); }
.hand-br{ bottom: 100px; right: 0;  transform: rotate(8deg); }

@keyframes titlePulse {
  0%, 100% { color: #ffff00; text-shadow: 3px 3px 0 #ff00ff, 0 0 20px rgba(255,255,0,0.8); }
  50%       { color: #ff88ff; text-shadow: 3px 3px 0 #00ffff, 0 0 30px rgba(255,100,255,0.9); }
}

.form{
  display: grid;
  gap: 14px;
  justify-items: center;
}

/* Dithered halftone divider — net.art / JODI inspired */
.pixelDivider{
  width: 100%;
  margin: 4px 0;
  font-family: "Courier New", monospace;
  font-size: 11px;
  line-height: 1;
  color: rgba(255,255,255,0.55);
  letter-spacing: 0.05em;
  text-align: left;
  overflow: hidden;
  white-space: nowrap;
  user-select: none;
}
.pixelDivider::before{
  content: "░▒▓█▓▒░▒▓█░▒▓▒░█▓▒░▒▓░▒█▓▒░▓█▒░▒▓█▓░▒▓▒█░▓▒░▒▓█▓▒░▒▓█░▒▓▒░█▓▒░▒▓░▒█▓▒░▓█▒░▒▓█▓░▒▓▒█░▓▒░▒▓█▓▒░▒▓█░▒▓▒░█▓▒░▒▓░▒█▓▒░▓█▒░▒▓█▓░▒▓▒█░▓▒░░▒▓█▓▒░▒▓█░▒▓▒░█▓▒░▒▓░▒█";
}

/* Body text — bright, clashing colours */
.whiteText{
  font-family: Times New Roman, serif;
  font-size: 15px;
  font-style: italic;
  line-height: 1.7;
  margin: 4px 0;
  color: #00ffcc;
  text-shadow: 1px 1px 0 rgba(0,0,0,0.90);
  border: 1px dashed rgba(0,255,200,0.30);
  padding: 8px 14px;
  background: rgba(0,0,0,0.30);
  width: 100%;
  box-sizing: border-box;
}

.row{
  width: 100%;
  display: grid;
  grid-template-columns: 180px 1fr;
  gap: 8px;
  align-items: center;
}

.label{
  font-family: Impact, Arial, sans-serif;
  font-weight: 900;
  font-size: 20px;
  text-align: right;
  color: #ffff00;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  text-shadow: 2px 2px 0 #ff0000;
}

.reqWrap{ position: relative; width: 100%; }
.star{
  position: absolute;
  right: -18px;
  top: 50%;
  transform: translateY(-50%);
  font-size: 32px;
  color: #ff0000;
}

/* Inputs — old HTML table look */
.pillInput, .pillText, .pillSelect{
  width: 100%;
  box-sizing: border-box;
  outline: none;
  border-radius: 0;
  border: 2px inset #888;
  background: #ffffff;
  color: #000080;
  font-family: "Courier New", monospace;
  font-size: 14px;
}

.pillInput, .pillSelect{
  height: 28px;
  padding: 2px 6px;
}

.pillText{
  min-height: 70px;
  padding: 6px 8px;
  resize: vertical;
}

/* Questions */
.qBlock{
  width: 100%;
  display: grid;
  gap: 6px;
  margin-top: 8px;
  background: rgba(0,0,0,0.35);
  border: 2px solid #ff00ff;
  padding: 10px;
  box-sizing: border-box;
}

.qTitle{
  font-family: "hobeaux", Verdana, sans-serif;
  font-weight: 400;
  font-size: 26px;
  color: #ff88ff;
  text-transform: lowercase;
  text-align: left;
  text-shadow: 2px 2px 0 #000080;
  letter-spacing: 0.02em;
}

.qNote{
  font-family: Times New Roman, serif;
  font-size: 13px;
  font-style: italic;
  line-height: 1.5;
  color: #aaffff;
  text-align: left;
  margin-top: -2px;
}

/* Thanks */
.thanksText{
  margin-top: 14px;
  font-family: Impact, sans-serif;
  font-size: 32px;
  letter-spacing: 0.10em;
  color: #ffff00;
  text-shadow: 3px 3px 0 #ff0000;
  text-transform: uppercase;
  animation: titlePulse 3s ease-in-out infinite;
}

@keyframes buddhaFloat {
  0%   { transform: translateY(0px) rotate(-2deg); }
  50%  { transform: translateY(-12px) rotate(2deg); }
  100% { transform: translateY(0px) rotate(-2deg); }
}

.buddha{
  width: 100px;
  height: auto;
  image-rendering: pixelated;
  animation: buddhaFloat 2.5s ease-in-out infinite;
  filter:
    drop-shadow(0 0 12px rgba(255,255,0,0.90))
    drop-shadow(0 0 24px rgba(255,0,255,0.60));
}

/* Closing letter */
.closingText{
  width: 100%;
  font-family: "Courier New", monospace;
  font-size: 12px;
  letter-spacing: 0.03em;
  line-height: 1.8;
  color: #aaffaa;
  text-align: left;
  border: 1px dashed #00ff00;
  background: rgba(0,0,0,0.40);
  padding: 10px 14px;
  box-sizing: border-box;
}
.closingText .signature{
  display: block;
  margin-top: 12px;
  font-size: 14px;
  color: #ffff00;
  letter-spacing: 0.10em;
}

/* Consent */
.consent{
  width: 100%;
  display: flex;
  gap: 10px;
  justify-content: center;
  align-items: center;
  font-family: "Courier New", monospace;
  font-size: 12px;
  color: #00ff88;
  background: rgba(0,0,0,0.40);
  border: 1px solid #00ff88;
  padding: 8px 12px;
  box-sizing: border-box;
}
.consent input[type="checkbox"]{
  appearance: none;
  -webkit-appearance: none;
  width: 16px; height: 16px; min-width: 16px;
  border: 2px inset #888;
  background: #fff;
  cursor: pointer;
}
.consent input[type="checkbox"]:checked{
  background: #00ff00;
}

/* Button */
.sendBtn{
  margin-top: 10px;
  padding: 10px 50px;
  border-radius: 0;
  cursor: pointer;
  font-family: Impact, Arial, sans-serif;
  font-size: 36px;
  font-weight: 900;
  letter-spacing: 0.12em;
  color: #000080;
  background: #ffff00;
  border-top: 3px solid #ffffff;
  border-left: 3px solid #ffffff;
  border-bottom: 3px solid #888800;
  border-right: 3px solid #888800;
  text-transform: uppercase;
  text-shadow: 1px 1px 0 rgba(0,0,0,0.30);
  box-shadow: 4px 4px 0 rgba(0,0,0,0.60);
  transition: none;
}
.sendBtn:hover{
  background: #ff00ff;
  color: #ffff00;
}
.sendBtn:active{
  transform: translate(3px, 3px);
  box-shadow: 1px 1px 0 rgba(0,0,0,0.60);
  border-top: 3px solid #888800;
  border-left: 3px solid #888800;
  border-bottom: 3px solid #ffffff;
  border-right: 3px solid #ffffff;
}

@media (max-width: 600px){
  .row{ grid-template-columns: 1fr; }
  .label{ text-align: left; }
  .qTitle{ font-size: 18px; }
}
