* {
  box-sizing: border-box;
  font-family: Arial, Helvetica, sans-serif;
}

body {
  height: 100vh;
  margin: 0;
  background: #ffe6ee;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  overflow: hidden;
}

h1 {
  margin-bottom: 20px;
  z-index: 1;
}

#valentineGif {
  width: 220px;
  margin-bottom: 20px;
  z-index: 1;
}

#buttonArea {
  position: relative;
  width: 100%;
  height: 140px;
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 1;
}

#buttonRow {
  display: flex;
  align-items: center;
  gap: 16px;
  transition: gap 0.3s ease;
}

button {
  padding: 12px 26px;
  font-size: 18px;
  border: none;
  border-radius: 8px;
  cursor: pointer;
  transition: transform 0.2s ease;
  z-index: 1;
}

#yesButton {
  background: #ff4d6d;
  color: white;
  position: relative;
}

#noButton {
  background: #cccccc;
  position: relative;
}

#noButton.moving {
  position: fixed;
  left: 0;
  top: 0;
}

#captchaOverlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.45);
  display: none;
  justify-content: center;
  align-items: center;
  z-index: 999;
}

#captchaBox {
  background: white;
  border-radius: 8px;
  padding: 20px;
  width: 320px;
  border: 1px solid #dcdcdc;
  text-align: center;
  z-index: 1000;
}

#captchaGrid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
  margin: 15px 0;
}

.captchaCell {
  height: 70px;
  background: #f0f0f0;
  font-size: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  border: 2px solid transparent;
}

.captchaCell.selected {
  border-color: #ff4d6d;
}

#captchaVerify {
  width: 100%;
  background: #ff4d6d;
  color: white;
}

#captchaStatus {
  font-size: 14px;
  height: 18px;
  margin-top: 8px;
}
