/* 간단한 북미 할로윈 감성 스타일 */
:root {
  --bg: #1a0a2e;
  --card: #2d1b4e;
  --accent: #ff6b35;
  --text: #f8f4e3;
  --orange: #ff8c42;
}

* { box-sizing: border-box; }
body {
  margin: 0;
  font-family: 'Segoe UI', system-ui, sans-serif;
  background: var(--bg);
  color: var(--text);
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
}

.container { max-width: 480px; width: 100%; }

header { text-align: center; margin-bottom: 24px; }
h1 { font-size: 1.8rem; margin: 0 0 8px; }
.subtitle { opacity: 0.8; font-size: 0.95rem; }

.quiz-card {
  background: var(--card);
  border-radius: 16px;
  padding: 24px;
  box-shadow: 0 8px 32px rgba(0,0,0,0.4);
}

.question { font-size: 1.25rem; margin-bottom: 20px; font-weight: 600; }

.option {
  display: block;
  width: 100%;
  background: transparent;
  border: 2px solid #5a3d7a;
  color: var(--text);
  padding: 14px 16px;
  margin-bottom: 10px;
  border-radius: 10px;
  font-size: 1rem;
  cursor: pointer;
  text-align: left;
  transition: all 0.2s;
}
.option:hover { border-color: var(--accent); background: rgba(255,107,53,0.1); }
.option:active { transform: scale(0.98); }

.progress { text-align: center; margin-top: 16px; opacity: 0.7; font-size: 0.9rem; }

.hidden { display: none; }

#result-title { color: var(--orange); font-size: 1.6rem; margin-top: 0; }
#result-desc { line-height: 1.5; }
.vibe { font-style: italic; opacity: 0.85; margin: 16px 0; }

.karrot-btn {
  display: inline-block;
  background: #ff6f0f;
  color: white;
  text-decoration: none;
  padding: 12px 20px;
  border-radius: 8px;
  font-weight: 600;
  margin: 8px 8px 8px 0;
}
.karrot-btn:hover { background: #e65c00; }

.restart-btn {
  background: transparent;
  border: 2px solid #5a3d7a;
  color: var(--text);
  padding: 10px 16px;
  border-radius: 8px;
  cursor: pointer;
}
.restart-btn:hover { border-color: var(--accent); }


.share-btn {
  background: #5a3d7a;
  border: 2px solid #5a3d7a;
  color: white;
  padding: 10px 16px;
  border-radius: 8px;
  cursor: pointer;
  margin: 8px 8px 8px 0;
}
.share-btn:hover { background: #7a5da0; }


/* Mobile button improvements */
@media (max-width: 480px) {
  .karrot-btn, .share-btn, .restart-btn {
    display: block;
    width: 100%;
    text-align: center;
    padding: 14px 16px;
    margin: 8px 0;
    box-sizing: border-box;
    white-space: normal;
    word-break: break-word;
  }
  .option {
    padding: 16px 18px;
  }
}

.fb-btn {
  display: inline-block;
  background: #1877f2;
  color: white;
  text-decoration: none;
  padding: 12px 20px;
  border-radius: 8px;
  font-weight: 600;
  margin: 8px 8px 8px 0;
}
.fb-btn:hover { background: #166fe5; }

@media (max-width: 480px) {
  .fb-btn {
    display: block;
    width: 100%;
    text-align: center;
    padding: 14px 16px;
    margin: 8px 0;
    box-sizing: border-box;
    white-space: normal;
  }
}
