/* demov2: ペットクエスト × サポート商品 デモ */

.demov2-body {
  --pet-accent: #f472b6;
  --pet-accent-soft: rgba(244, 114, 182, 0.14);
  --support-accent: #a78bfa;
  --support-soft: rgba(167, 139, 250, 0.12);
  font-family: "DM Sans", "Hiragino Sans", "Hiragino Kaku Gothic ProN", "Noto Sans JP",
    system-ui, sans-serif;
}

.demov2-body::before {
  background:
    radial-gradient(ellipse 85% 50% at 50% -15%, rgba(244, 114, 182, 0.12), transparent),
    radial-gradient(ellipse 55% 40% at 100% 40%, rgba(167, 139, 250, 0.08), transparent),
    radial-gradient(ellipse 45% 35% at 0% 85%, rgba(91, 156, 250, 0.06), transparent),
    var(--bg);
}

.demov2-wrap {
  max-width: 440px;
  margin: 0 auto;
  padding: 1.75rem 1.15rem 3rem;
  min-height: 100vh;
}

.demov2-topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  margin-bottom: 1.5rem;
}

.demov2-back {
  font-size: 0.82rem;
  font-weight: 500;
  color: var(--muted);
  text-decoration: none;
  padding: 0.35rem 0.6rem;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  transition:
    color 0.15s ease,
    border-color 0.15s ease,
    background 0.15s ease;
}

.demov2-back:hover {
  color: var(--text);
  border-color: rgba(255, 255, 255, 0.14);
  background: rgba(255, 255, 255, 0.04);
}

.demov2-step-label {
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted);
}

.demov2-screen {
  display: none;
  animation: demov2-fade 0.35s ease;
}

.demov2-screen.is-active {
  display: block;
}

@keyframes demov2-fade {
  from {
    opacity: 0;
    transform: translateY(6px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* ペット */
.demov2-pet-row {
  display: flex;
  align-items: flex-end;
  gap: 0.85rem;
  margin-bottom: 1.35rem;
}

.demov2-pet-avatar {
  flex-shrink: 0;
  width: 72px;
  height: 72px;
  border-radius: 22px;
  display: grid;
  place-items: center;
  font-size: 2.1rem;
  background: linear-gradient(145deg, var(--pet-accent-soft), rgba(244, 114, 182, 0.06));
  border: 1px solid rgba(244, 114, 182, 0.28);
  box-shadow: 0 8px 28px rgba(0, 0, 0, 0.28);
}

.demov2-bubble {
  flex: 1;
  min-width: 0;
  padding: 0.95rem 1.05rem;
  border-radius: 18px 18px 18px 6px;
  background: var(--surface);
  border: 1px solid rgba(255, 255, 255, 0.08);
  font-size: 0.95rem;
  line-height: 1.55;
  color: var(--text);
}

.demov2-bubble cite {
  display: block;
  margin-top: 0.45rem;
  font-size: 0.72rem;
  font-style: normal;
  color: var(--muted);
  letter-spacing: 0.04em;
}

.demov2-section-title {
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
  margin: 0 0 0.65rem;
}

.demov2-quest-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
}

.demov2-quest-item {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.85rem 1rem;
  border-radius: var(--radius-sm);
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.07);
}

.demov2-quest-icon {
  width: 36px;
  height: 36px;
  border-radius: 10px;
  display: grid;
  place-items: center;
  font-size: 1.1rem;
  background: rgba(91, 156, 250, 0.12);
  border: 1px solid rgba(91, 156, 250, 0.2);
}

.demov2-quest-text {
  font-size: 0.95rem;
  font-weight: 500;
}

.demov2-hint {
  margin: 1.25rem 0 0;
  font-size: 0.78rem;
  color: var(--muted);
  line-height: 1.5;
}

/* ボタン */
.demov2-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  margin-top: 1.5rem;
  padding: 0.85rem 1.2rem;
  border-radius: 12px;
  border: none;
  font-family: inherit;
  font-size: 0.95rem;
  font-weight: 600;
  cursor: pointer;
  transition:
    transform 0.15s ease,
    filter 0.15s ease,
    opacity 0.15s ease;
}

.demov2-btn:disabled {
  opacity: 0.45;
  cursor: not-allowed;
  transform: none;
}

.demov2-btn-primary {
  background: linear-gradient(180deg, #7eb6fc 0%, var(--accent) 100%);
  color: #0a1628;
  box-shadow: 0 2px 12px rgba(91, 156, 250, 0.35);
}

.demov2-btn-primary:hover:not(:disabled) {
  filter: brightness(1.05);
  transform: translateY(-1px);
}

.demov2-btn-soft {
  background: rgba(255, 255, 255, 0.06);
  color: var(--text);
  border: 1px solid rgba(255, 255, 255, 0.12);
  font-weight: 500;
  box-shadow: none;
}

.demov2-btn-soft:hover:not(:disabled) {
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(255, 255, 255, 0.18);
}

.demov2-btn-buy {
  margin-top: 1.35rem;
  background: linear-gradient(180deg, #6ee7b7 0%, #34d399 100%);
  color: #052e16;
  box-shadow: 0 2px 12px rgba(52, 211, 153, 0.35);
}

.demov2-btn-buy:hover:not(:disabled) {
  filter: brightness(1.05);
  transform: translateY(-1px);
}

/* サポートカード */
.demov2-celebrate {
  text-align: center;
  padding: 0.5rem 0 1rem;
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--text);
}

.demov2-celebrate-sub {
  margin: 0.4rem 0 0;
  font-size: 0.82rem;
  font-weight: 400;
  color: var(--muted);
}

.demov2-support-head {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: 0.85rem;
}

.demov2-support-badge {
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 0.3rem 0.55rem;
  border-radius: 6px;
  background: var(--support-soft);
  color: var(--support-accent);
  border: 1px solid rgba(167, 139, 250, 0.25);
}

.demov2-support-card {
  padding: 1.15rem 1.2rem;
  border-radius: var(--radius);
  background: linear-gradient(135deg, rgba(167, 139, 250, 0.08) 0%, var(--surface) 55%);
  border: 1px solid rgba(167, 139, 250, 0.2);
  box-shadow: var(--shadow);
}

.demov2-support-lead {
  margin: 0 0 0.65rem;
  font-size: 0.95rem;
  line-height: 1.55;
  color: var(--text);
}

.demov2-support-product {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  padding: 0.75rem 0 0;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  margin-top: 0.85rem;
}

.demov2-thumb {
  width: 56px;
  height: 56px;
  border-radius: 14px;
  display: grid;
  place-items: center;
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  background: linear-gradient(145deg, #34d399 0%, #059669 100%);
  color: #052e16;
  flex-shrink: 0;
}

.demov2-support-meta h2 {
  margin: 0 0 0.2rem;
  font-size: 0.98rem;
  font-weight: 600;
  letter-spacing: -0.02em;
}

.demov2-support-meta p {
  margin: 0;
  font-size: 0.8rem;
  color: var(--muted);
  line-height: 1.45;
}

/* 商品詳細（ソフトLP） */
.demov2-product-visual {
  aspect-ratio: 4 / 3;
  border-radius: var(--radius);
  margin-bottom: 1.25rem;
  display: grid;
  place-items: center;
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.95);
  background: linear-gradient(145deg, #14532d 0%, #0d2818 50%, #166534 100%);
  border: 1px solid rgba(255, 255, 255, 0.1);
  box-shadow: var(--shadow);
}

.demov2-product-title {
  margin: 0 0 0.35rem;
  font-size: clamp(1.2rem, 4vw, 1.45rem);
  font-weight: 700;
  letter-spacing: -0.03em;
  line-height: 1.25;
}

.demov2-product-price {
  margin: 0 0 1.1rem;
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--ec);
  letter-spacing: -0.02em;
}

.demov2-block {
  margin-bottom: 1.15rem;
}

.demov2-block h3 {
  margin: 0 0 0.45rem;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--accent);
}

.demov2-block p {
  margin: 0;
  font-size: 0.92rem;
  color: var(--muted);
  line-height: 1.65;
}

.demov2-pet-quote {
  padding: 0.9rem 1rem;
  border-radius: var(--radius-sm);
  background: var(--pet-accent-soft);
  border: 1px solid rgba(244, 114, 182, 0.22);
  font-size: 0.92rem;
  line-height: 1.6;
  color: var(--text);
}

.demov2-pet-quote footer {
  margin-top: 0.5rem;
  font-size: 0.72rem;
  color: var(--muted);
}

.demov2-benefits {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 0.55rem;
}

.demov2-benefits li {
  display: flex;
  gap: 0.6rem;
  align-items: flex-start;
  font-size: 0.9rem;
  color: var(--text);
  line-height: 1.5;
}

.demov2-benefits li::before {
  content: "✓";
  flex-shrink: 0;
  width: 1.25rem;
  height: 1.25rem;
  border-radius: 6px;
  display: grid;
  place-items: center;
  font-size: 0.72rem;
  font-weight: 800;
  background: rgba(52, 211, 153, 0.18);
  color: var(--ec);
}

/* 完了 */
.demov2-done {
  text-align: center;
  padding: 2rem 0 1rem;
}

.demov2-done-icon {
  width: 72px;
  height: 72px;
  margin: 0 auto 1.1rem;
  border-radius: 50%;
  display: grid;
  place-items: center;
  font-size: 2rem;
  background: rgba(52, 211, 153, 0.15);
  border: 1px solid rgba(52, 211, 153, 0.35);
}

.demov2-done h2 {
  margin: 0 0 0.5rem;
  font-size: 1.35rem;
  font-weight: 700;
  letter-spacing: -0.02em;
}

.demov2-done p {
  margin: 0;
  font-size: 0.9rem;
  color: var(--muted);
  line-height: 1.6;
}

.demov2-disclaimer {
  margin-top: 2rem;
  padding-top: 1.25rem;
  border-top: 1px solid rgba(255, 255, 255, 0.07);
  font-size: 0.72rem;
  color: var(--muted);
  line-height: 1.55;
}
