/* demo.css — 발키리 브레이크 웹 데모 버전 전용 스타일 */

/* 타이틀 화면 데모 배지 */
.t-demo-badge {
  display: inline-block;
  margin-top: 6px;
  padding: 4px 12px;
  background: linear-gradient(135deg, rgba(235, 120, 30, 0.9), rgba(200, 50, 20, 0.9));
  color: #fff;
  font-family: 'Galmuri11', monospace, sans-serif;
  font-size: 13px;
  font-weight: bold;
  letter-spacing: 1px;
  border-radius: 4px;
  border: 1px solid rgba(255, 230, 180, 0.8);
  box-shadow: 0 0 12px rgba(255, 120, 30, 0.5), inset 0 1px 0 rgba(255, 255, 255, 0.3);
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.7);
  animation: demoPulse 2.5s infinite alternate ease-in-out;
}

@keyframes demoPulse {
  0% { transform: scale(0.98); box-shadow: 0 0 8px rgba(255, 120, 30, 0.4); }
  100% { transform: scale(1.02); box-shadow: 0 0 16px rgba(255, 140, 50, 0.7); }
}

/* 데모 완료 모달 오버레이 */
.demo-modal-overlay {
  position: fixed;
  inset: 0;
  z-index: 99999;
  display: none;
  align-items: center;
  justify-content: center;
  background: rgba(10, 12, 20, 0.85);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  padding: 16px;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.demo-modal-overlay.active {
  display: flex;
  opacity: 1;
}

/* 데모 완료 카드 */
.demo-modal-card {
  position: relative;
  width: 92%;
  max-width: 580px;
  max-height: 90vh;
  overflow-y: auto;
  background: linear-gradient(180deg, #1f2538 0%, #121522 100%);
  border: 2px solid #5d75a8;
  border-radius: 12px;
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.8), 0 0 24px rgba(90, 150, 255, 0.25);
  color: #e2e8f0;
  font-family: 'Galmuri11', -apple-system, BlinkMacSystemFont, sans-serif;
  padding: 24px;
  box-sizing: border-box;
}

.demo-modal-header {
  text-align: center;
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
  padding-bottom: 16px;
  margin-bottom: 18px;
}

.demo-badge {
  display: inline-block;
  background: #f59e0b;
  color: #1a1a1a;
  font-size: 11px;
  font-weight: 800;
  padding: 2px 8px;
  border-radius: 4px;
  letter-spacing: 1px;
  margin-bottom: 8px;
}

.demo-modal-header h2 {
  margin: 4px 0 6px;
  font-size: 20px;
  font-weight: bold;
  color: #f8fafc;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.5);
}

.demo-sub {
  font-size: 12px;
  color: #94a3b8;
}

.demo-modal-body {
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin-bottom: 22px;
}

.demo-hero-showcase {
  display: flex;
  align-items: center;
  gap: 16px;
  background: rgba(30, 41, 59, 0.6);
  border: 1px solid rgba(148, 163, 184, 0.2);
  border-radius: 8px;
  padding: 12px;
}

.demo-hero-art {
  width: 96px;
  height: 96px;
  object-fit: cover;
  border-radius: 8px;
  border: 1px solid #60a5fa;
  background: #0f172a;
  flex-shrink: 0;
}

.demo-story-summary {
  flex: 1;
}

.demo-story-summary h3 {
  margin: 0 0 6px;
  font-size: 15px;
  color: #93c5fd;
}

.demo-story-summary p {
  margin: 0 0 6px;
  font-size: 12px;
  line-height: 1.5;
  color: #cbd5e1;
}

.demo-story-summary p:last-child {
  margin-bottom: 0;
}

.demo-features-info {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.demo-feat-item {
  background: rgba(15, 23, 42, 0.5);
  border-left: 3px solid #38bdf8;
  padding: 8px 12px;
  border-radius: 0 6px 6px 0;
}

.demo-feat-item strong {
  display: block;
  font-size: 12px;
  color: #bae6fd;
  margin-bottom: 2px;
}

.demo-feat-item span {
  font-size: 11px;
  color: #94a3b8;
  line-height: 1.4;
}

.demo-modal-actions {
  display: flex;
  gap: 12px;
  justify-content: flex-end;
}

.demo-btn {
  padding: 10px 18px;
  border-radius: 6px;
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  border: none;
  transition: all 0.2s;
  font-family: inherit;
}

.demo-btn.primary {
  background: #2563eb;
  color: #ffffff;
  border: 1px solid #60a5fa;
}

.demo-btn.primary:hover {
  background: #1d4ed8;
  box-shadow: 0 0 10px rgba(59, 130, 246, 0.5);
}

.demo-btn.secondary {
  background: rgba(51, 65, 85, 0.8);
  color: #cbd5e1;
  border: 1px solid #64748b;
}

.demo-btn.secondary:hover {
  background: rgba(71, 85, 105, 1);
  color: #fff;
}

.demo-social:not([hidden]) {
  margin-top: 16px;
  padding-top: 12px;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  text-align: center;
}

.demo-social p {
  color: #cbd5e1;
  font-size: 12px;
  line-height: 1.5;
}

.demo-social-links {
  display: flex;
  justify-content: center;
  gap: 12px;
}

.demo-social-links a {
  display: inline-flex;
  align-items: center;
  text-decoration: none;
}

@media (max-width: 480px) {
  .demo-modal-actions { flex-wrap: wrap; }
  .demo-modal-actions .demo-btn { flex: 1 1 100%; }
}
