/* 기분전환도우미 — 시크릿 법칙: 그림자 없음, 테두리만, 여백으로 고급감 */
* {
  box-sizing: border-box;
}

html {
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  min-height: 100vh;
  background: #f6f7f9;
  font-family: "Apple SD Gothic Neo", "Noto Sans KR", -apple-system, BlinkMacSystemFont, sans-serif;
  color: #222;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
}

.card {
  background: #fff;
  border: 1px solid #e5e7eb;
  width: 100%;
  max-width: 360px;
  padding: 32px;
}

h1 {
  font-size: 1.25rem;
  font-weight: 600;
  margin: 0 0 24px;
  text-align: center;
  letter-spacing: -0.02em;
  line-height: 1.4;
}

.choices {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.choices button {
  width: 100%;
  padding: 14px 16px;
  border: 1px solid #e0e0e0;
  background: #fff;
  color: #222;
  font-size: 0.9375rem;
  cursor: pointer;
  text-align: left;
  transition: background 0.15s ease, border-color 0.15s ease;
  font-family: inherit;
}

.choices button:hover {
  background: #f8f9fa;
  border-color: #d0d0d0;
}

.choices button:active {
  background: #f0f1f3;
}

.index-footer {
  margin: 20px 0 0;
  text-align: center;
}

.index-footer a {
  font-size: 0.75rem;
  color: #aaa;
  text-decoration: none;
}

.index-footer a:hover {
  color: #666;
}

.index-sep {
  margin: 0 0.35em;
  color: #ccc;
  font-size: 0.75rem;
}

/* ——— play ——— */
.result {
  font-size: 1rem;
  line-height: 1.65;
  text-align: center;
  margin-bottom: 24px;
  opacity: 0;
  animation: fadeIn 0.2s ease forwards;
}

.result-inner {
  min-height: 2.5em;
}

.action-wrap {
  margin-bottom: 20px;
}

.action {
  width: 100%;
  padding: 14px 16px;
  border: none;
  background: #222;
  color: #fff;
  font-size: 0.9375rem;
  cursor: pointer;
  font-family: inherit;
  transition: opacity 0.15s ease;
}

.action:hover {
  opacity: 0.88;
}

.action:active {
  opacity: 0.8;
}

.footer {
  text-align: center;
  margin-top: 8px;
}

.footer a {
  font-size: 0.75rem;
  color: #888;
  text-decoration: none;
}

.footer a:hover {
  color: #555;
}

.banner {
  font-size: 0.6875rem;
  color: #aaa;
  text-align: center;
  margin-top: 16px;
}

@keyframes fadeIn {
  to {
    opacity: 1;
  }
}

/* ——— quiet ——— */
.quiet-card {
  background: transparent;
  border: none;
  max-width: 420px;
  padding: 32px 24px;
}

.quiet-bg {
  position: fixed;
  inset: 0;
  z-index: -1;
  transition: background 0.8s ease;
}

.quiet-text {
  font-size: 1.125rem;
  line-height: 1.6;
  text-align: center;
  color: rgba(34, 34, 34, 0.85);
  margin-bottom: 32px;
  opacity: 0;
  animation: fadeIn 0.5s ease 0.2s forwards;
}

.quiet-out {
  display: block;
  width: 100%;
  padding: 12px;
  border: 1px solid rgba(0, 0, 0, 0.12);
  background: rgba(255, 255, 255, 0.6);
  color: #222;
  font-size: 0.875rem;
  cursor: pointer;
  font-family: inherit;
  text-align: center;
  text-decoration: none;
  transition: background 0.2s ease;
}

.quiet-out:hover {
  background: rgba(255, 255, 255, 0.85);
}

/* ——— about ——— */
.about-card {
  max-width: 400px;
}

.about-card h1 {
  margin-bottom: 20px;
}

.about-body {
  font-size: 0.9375rem;
  line-height: 1.75;
  color: #444;
}

.about-body p {
  margin: 0 0 14px;
}

.about-body p:last-child {
  margin-bottom: 0;
}

.about-footer {
  margin-top: 24px;
  text-align: center;
}

.about-footer a {
  font-size: 0.8125rem;
  color: #888;
  text-decoration: none;
}

.about-footer a:hover {
  color: #555;
}
