/* ========================================
   作文学习模块专用样式
   ======================================== */

.article-theme {
  background-color: #f9f7f2;
  min-height: 100vh;
}

.article-header {
  text-align: center;
  margin-bottom: 30px;
}

.article-header h1 {
  color: var(--primary-orange);
}

.progress-bar {
  width: 100%;
  background-color: #ddd;
  border-radius: 5px;
  margin: 20px 0;
}

.progress {
  width: 90%;
  height: 30px;
  background-color: var(--primary-orange);
  border-radius: 5px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-weight: bold;
}

.secrets, .tips {
  background-color: var(--bg-white);
  padding: 15px;
  border-radius: var(--radius-sm);
  box-shadow: var(--shadow-sm);
  margin: 20px 0;
}

.secrets h3, .tips h3 {
  color: var(--primary-orange);
}

.article-table {
  width: 100%;
  border-collapse: collapse;
  margin: 20px 0;
}

.article-table th, .article-table td {
  border: 1px solid #ddd;
  padding: 12px;
  text-align: left;
}

.article-table th {
  background-color: var(--primary-orange);
  color: white;
}

.article-table tr:nth-child(even) {
  background-color: #fff8f0;
}

.status {
  text-align: center;
}

.status.completed {
  color: #27ae60;
  font-weight: bold;
}

.status.current {
  color: var(--primary-orange);
  font-weight: bold;
}

.status.locked {
  color: #95a5a6;
}

.status.new {
  color: #e74c3c;
  font-weight: bold;
  background: linear-gradient(45deg, #ff6b6b, #ee5a6f);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  position: relative;
}

.status.new::after {
  content: "🆕";
  position: absolute;
  top: -5px;
  right: -20px;
  animation: pulse 2s infinite;
}

@keyframes pulse {
  0% { transform: scale(1); }
  50% { transform: scale(1.1); }
  100% { transform: scale(1); }
}

/* 课程模块样式 */
.course-modules {
  display: flex;
  flex-direction: column;
  gap: 30px;
  margin: 30px 0;
}

.course-module {
  background: var(--bg-white);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
  overflow: hidden;
  transition: all 0.3s ease;
}

.course-module:hover {
  transform: translateY(-5px);
  box-shadow: 0 15px 35px rgba(0,0,0,0.1);
}

.module-header {
  background: linear-gradient(135deg, var(--primary-blue) 0%, var(--primary-purple) 100%);
  color: white;
  padding: 20px 25px;
  border-bottom: 3px solid rgba(255,255,255,0.2);
}

.module-header h3 {
  margin: 0 0 8px 0;
  font-size: 1.4em;
  font-weight: bold;
}

.module-header p {
  margin: 0;
  opacity: 0.9;
  font-size: 1em;
}

.module-content {
  padding: 25px;
}

/* 课程卡片样式 */
.course-card {
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  color: white;
  border-radius: var(--radius-lg);
  padding: 25px;
  text-align: center;
  box-shadow: var(--shadow-lg);
  transition: all 0.3s ease;
}

.course-card:hover {
  transform: scale(1.02);
  box-shadow: 0 20px 40px rgba(102, 126, 234, 0.3);
}

.card-icon {
  font-size: 3em;
  margin-bottom: 15px;
  display: block;
}

.course-card h4 {
  font-size: 1.3em;
  margin-bottom: 10px;
  font-weight: bold;
}

.course-card p {
  margin-bottom: 20px;
  opacity: 0.9;
  line-height: 1.6;
}

.card-features {
  display: flex;
  justify-content: center;
  gap: 15px;
  margin-bottom: 20px;
  flex-wrap: wrap;
}

.feature {
  background: rgba(255,255,255,0.2);
  padding: 8px 15px;
  border-radius: 20px;
  font-size: 0.9em;
  font-weight: bold;
  backdrop-filter: blur(10px);
}

.card-button {
  display: inline-block;
  background: white;
  color: var(--primary-blue);
  padding: 12px 25px;
  border-radius: 25px;
  text-decoration: none;
  font-weight: bold;
  transition: all 0.3s ease;
  box-shadow: 0 4px 15px rgba(0,0,0,0.2);
}

.card-button:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(0,0,0,0.3);
}

/* 六阶梯介绍样式 - 借鉴10天特训营的橙色设计 */
.staircase-intro {
  display: flex;
  align-items: center;
  gap: 20px;
  background: linear-gradient(135deg, var(--primary-orange) 0%, #ff8c42 100%);
  border-radius: var(--radius-lg);
  padding: 25px;
  color: white;
  box-shadow: 0 8px 25px rgba(255, 152, 0, 0.3);
  transition: all 0.3s ease;
  border: 2px solid rgba(255,255,255,0.1);
}

.staircase-intro:hover {
  transform: translateY(-3px);
  box-shadow: 0 15px 35px rgba(255, 152, 0, 0.4);
  border-color: rgba(255,255,255,0.3);
}

.staircase-icon {
  font-size: 4em;
  opacity: 0.9;
  flex-shrink: 0;
}

.staircase-content {
  flex: 1;
}

.staircase-content h4 {
  font-size: 1.4em;
  margin-bottom: 8px;
  font-weight: bold;
}

.staircase-content p {
  margin-bottom: 20px;
  opacity: 0.9;
  line-height: 1.6;
}

.staircase-features {
  display: flex;
  gap: 20px;
  margin-bottom: 20px;
  flex-wrap: wrap;
}

.feature-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  background: rgba(255,255,255,0.15);
  padding: 12px 18px;
  border-radius: 12px;
  backdrop-filter: blur(10px);
  min-width: 80px;
}

.feature-number {
  font-size: 1.5em;
  font-weight: bold;
  display: block;
  line-height: 1;
}

.feature-text {
  font-size: 0.85em;
  opacity: 0.9;
  margin-top: 4px;
  text-align: center;
}

.staircase-button {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(255,255,255,0.95);
  color: var(--primary-orange);
  padding: 12px 24px;
  border-radius: 25px;
  text-decoration: none;
  font-weight: bold;
  transition: all 0.3s ease;
  box-shadow: 0 4px 15px rgba(255,255,255,0.3);
  border: 2px solid rgba(255,255,255,0.5);
}

.staircase-button:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(255,255,255,0.4);
  background: white;
  border-color: rgba(255,255,255,0.8);
}

.staircase-button .arrow {
  font-size: 1.2em;
  transition: transform 0.3s ease;
}

.staircase-button:hover .arrow {
  transform: translateX(3px);
}

/* 响应式设计 */
@media (max-width: 768px) {
  .staircase-intro {
    flex-direction: column;
    text-align: center;
    gap: 15px;
  }

  .staircase-icon {
    font-size: 3em;
  }

  .staircase-features {
    justify-content: center;
  }

  .feature-item {
    min-width: 70px;
  }
}

