:root {
  --surface: #f7f7f7;
  --bg: #ffffff;
  --accent: #ffb26b;
  --text: #333333;
  --shadow-light: rgba(255,255,255,0.8);
  --shadow-dark: rgba(0,0,0,0.1);
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Zen Kaku Gothic New', sans-serif;
  background: var(--surface);
  color: var(--text);
  min-height: 100vh;
  line-height: 1.6;
}

.container {
  max-width: 500px;
  width: 100%;
  margin: auto;
  padding: 2rem 1rem;
  display: flex;
  flex-direction: column;
  align-items: stretch;
}

/* Index Page Hero */
.hero {
  text-align: center;
  margin-top: 3rem;
}

.title {
  font-size: 2rem;
  margin-bottom: 0.5rem;
}

.description {
  font-size: 1rem;
  margin-bottom: 2rem;
  line-height: 1.4;
}

/* Button */
.btn {
  background: var(--accent);
  color: #fff;
  font-weight: bold;
  padding: 1rem;
  border: none;
  border-radius: 12px;
  font-size: 1rem;
  text-align: center;
  box-shadow: 4px 4px 12px var(--shadow-dark), -4px -4px 12px var(--shadow-light);
  cursor: pointer;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  width: 100%;
}

.btn:hover {
  transform: translateY(-2px);
  box-shadow: 2px 2px 8px var(--shadow-dark), -2px -2px 8px var(--shadow-light);
}

.btn:active {
  transform: none;
  box-shadow: inset 4px 4px 8px var(--shadow-dark), inset -4px -4px 8px var(--shadow-light);
}

/* Progress Bar */
.progress {
  height: 8px;
  background: var(--surface);
  border-radius: 4px;
  overflow: hidden;
  margin-bottom: 1.5rem;
  box-shadow: inset 4px 4px 8px var(--shadow-dark), inset -4px -4px 8px var(--shadow-light);
}

.progress-bar {
  height: 100%;
  background: var(--accent);
  width: 0;
  transition: width 0.3s ease;
}

/* Question */
.question {
  margin-bottom: 2rem;
}

.question h2 {
  font-size: 1.2rem;
  margin-bottom: 1rem;
}

/* Options */
.options {
  display: flex;
  flex-direction: column;
  gap: 0.8rem;
}

.options label {
  display: flex;
  align-items: center;
  background: var(--bg);
  padding: 0.8rem;
  border-radius: 12px;
  box-shadow: inset 4px 4px 8px var(--shadow-dark), inset -4px -4px 8px var(--shadow-light);
  cursor: pointer;
}

.options input[type="radio"] {
  margin-right: 0.5rem;
}

/* Next Button */
.next-btn {
  margin-bottom: 1rem;
}

/* Loading */
.loading {
  text-align: center;
  font-size: 1.1rem;
  margin-top: 1rem;
  display: none;
}

/* Card (Result) */
.card {
  background: var(--bg);
  border-radius: 12px;
  padding: 2rem;
  box-shadow: 8px 8px 15px var(--shadow-dark), -8px -8px 15px var(--shadow-light);
  text-align: center;
  margin-bottom: 2rem;
}

.mosaic {
  filter: blur(6px);
  width: 100%;
  aspect-ratio: 1 / 1;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: inset 6px 6px 10px var(--shadow-dark), inset -6px -6px 10px var(--shadow-light);
  margin-bottom: 1.5rem;
}

.mosaic img {
  width: 100%;
  height: auto;
}

.note {
  font-size: 0.85rem;
  color: #777;
  text-align: center;
  margin-top: 0.5rem;
}

/* Responsive */
@media (max-width: 480px) {
  .container {
    padding: 1.5rem 1rem;
  }
  .title {
    font-size: 1.6rem;
  }
  .description {
    font-size: 0.95rem;
  }
  .btn {
    font-size: 0.95rem;
    padding: 0.9rem;
  }
  .question h2 {
    font-size: 1rem;
  }
}