/* Hero section with dual entry cards */
.home-view { padding: 32px 40px; max-width: 1200px; margin: 0 auto; }

.hero-section { margin-bottom: 36px; }

.hero-cards { display: flex; gap: 20px; margin-bottom: 24px; }

.hero-card {
  flex: 1; padding: 32px 28px; border-radius: var(--radius-xl); cursor: pointer;
  color: white; position: relative; overflow: hidden; transition: all var(--transition-normal);
  min-height: 160px; display: flex; flex-direction: column; justify-content: space-between;
}
.hero-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.hero-card.adaptation { background: var(--gradient-drama); }
.hero-card.original { background: var(--primary-gradient); }
.hero-card h3 { font-size: 22px; color: #fff; margin-bottom: 8px; }
.hero-card p { font-size: 14px; opacity: .85; }
.hero-card .hero-icon { font-size: 40px; margin-bottom: 12px; }

/* Quick input area */
.quick-input { background: var(--bg-card); border-radius: var(--radius-lg); padding: 20px; box-shadow: var(--shadow-sm); }
.quick-input textarea { width: 100%; border: 1px solid var(--border); border-radius: var(--radius-md); padding: 14px 16px; font-size: 14px; line-height: 1.6; resize: none; outline: none; color: var(--text-primary); background: var(--bg-input); }
.quick-input textarea:focus { border-color: var(--primary); }
.quick-input-actions { display: flex; justify-content: space-between; align-items: center; margin-top: 14px; }

/* Section headers */
.section-header { display: flex; align-items: center; justify-content: space-between; margin-bottom: 20px; }
.section-header h2 { font-size: 18px; }

/* Template gallery */
.template-section { margin-bottom: 36px; }
.template-filters { display: flex; gap: 8px; }
.template-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.template-card { background: var(--bg-card); border-radius: var(--radius-lg); overflow: hidden; cursor: pointer; transition: all var(--transition-normal); box-shadow: var(--shadow-sm); }
.template-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.template-cover { height: 100px; display: flex; align-items: center; justify-content: center; color: white; font-size: 36px; position: relative; }
.template-cover .template-format { position: absolute; top: 8px; right: 8px; font-size: 11px; background: rgba(255,255,255,.25); padding: 2px 8px; border-radius: var(--radius-pill); }
.template-cover .template-hot { position: absolute; top: 8px; left: 8px; font-size: 11px; background: #F53F3F; padding: 2px 8px; border-radius: var(--radius-pill); color: #fff; }
.template-info { padding: 14px 16px; }
.template-info h4 { font-size: 14px; margin-bottom: 6px; }
.template-info p { font-size: 12px; color: var(--text-secondary); line-height: 1.5; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.template-meta { display: flex; gap: 8px; margin-top: 10px; }
.template-meta .chip { padding: 2px 8px; font-size: 11px; }

/* Projects list */
.projects-section { margin-bottom: 36px; }
.project-list { display: flex; flex-direction: column; gap: 12px; }
.project-item { background: var(--bg-card); border-radius: var(--radius-lg); padding: 16px 20px; display: flex; align-items: center; justify-content: space-between; box-shadow: var(--shadow-sm); cursor: pointer; transition: all var(--transition-fast); }
.project-item:hover { box-shadow: var(--shadow-md); }
.project-info { display: flex; align-items: center; gap: 16px; }
.project-info h4 { font-size: 15px; margin-bottom: 4px; }
.project-meta { font-size: 12px; color: var(--text-secondary); display: flex; gap: 12px; align-items: center; }
.project-progress { display: flex; align-items: center; gap: 8px; }
.project-progress-bar { width: 80px; }
.project-actions { display: flex; gap: 8px; }

/* Stats */
.stats-row { display: flex; gap: 16px; margin-bottom: 36px; }
.stat-card { flex: 1; background: var(--bg-card); border-radius: var(--radius-lg); padding: 20px; text-align: center; box-shadow: var(--shadow-sm); }
.stat-value { font-size: 28px; font-weight: 700; color: var(--primary); margin-bottom: 4px; }
.stat-label { font-size: 13px; color: var(--text-secondary); }
