body {
  font-family: system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto,
               Oxygen, Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  /* 원래 코드의 버그 수정: gradient는 background로 지정해야 적용됨 */
  background: linear-gradient(135deg, #f7f7fb, #eef3ff);
  text-align: center;
  padding-top: 10px;
  margin: 0;
}

#title {
  font-size: 40px;
  margin: 24px 0 40px;
  color: #222;
  letter-spacing: 0.5px;
}

#box {
  display: inline-block;
  border: 4px double #333;
  border-radius: 16px;
  box-shadow: 0 12px 24px rgba(0,0,0,0.08);
  padding: 28px 32px;
  background: #fff;
  transition: transform .15s ease;
}
#box:hover { transform: translateY(-2px); }

#text {
  transition: opacity .25s ease, transform .25s ease;
  opacity: 1;
  transform: translateY(0);
  font-size: 22px;
  margin-bottom: 20px;
  color: #2f3b45;
  min-width: 260px;
}
.fade {
  opacity: 0;
  transform: translateY(-6px);
}

#btn {
  padding: 12px 22px;
  font-size: 16px;
  background-color: #ff6b57;
  color: white;
  border: none;
  border-radius: 10px;
  cursor: pointer;
  box-shadow: 0 6px 14px rgba(255, 107, 87, 0.35);
  transition: transform .08s ease, box-shadow .2s ease, background-color .2s ease;
}
#btn:hover {
  background-color: #e45441;
  box-shadow: 0 10px 18px rgba(229, 84, 65, 0.35);
}
#btn:active { transform: translateY(1px) scale(0.995); }
#btn:focus-visible { outline: 2px solid #222; outline-offset: 3px; }

