/* 遊戲攻略站自定義樣式 */

/* 文章卡片優化 */
.post {
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.post:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

/* 分類標籤樣式 */
.meta__item--categories a {
  display: inline-block;
  padding: 4px 12px;
  margin-right: 8px;
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  color: white !important;
  border-radius: 20px;
  font-size: 0.85rem;
  text-decoration: none;
  transition: all 0.3s;
}

.meta__item--categories a:hover {
  transform: scale(1.05);
  box-shadow: 0 2px 8px rgba(102, 126, 234, 0.4);
}

/* 標籤樣式優化 */
.tags__link {
  background: linear-gradient(135deg, #f093fb 0%, #f5576c 100%);
  color: white !important;
  padding: 6px 14px;
  border-radius: 20px;
  margin: 4px;
  display: inline-block;
  transition: all 0.3s;
  text-decoration: none;
}

.tags__link:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(245, 87, 108, 0.3);
}

/* 閱讀更多按鈕 */
.more-link {
  display: inline-block;
  padding: 10px 24px;
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  color: white !important;
  border-radius: 25px;
  text-decoration: none;
  font-weight: 600;
  transition: all 0.3s;
  margin-top: 15px;
}

.more-link:hover {
  transform: translateX(5px);
  box-shadow: 0 4px 12px rgba(102, 126, 234, 0.4);
}

/* 文章描述樣式 */
.post__lead {
  color: #666;
  font-size: 1.05rem;
  line-height: 1.8;
  margin: 15px 0;
  padding: 15px;
  background: #f8f9fa;
  border-left: 4px solid #667eea;
  border-radius: 4px;
}

/* 側邊欄小工具標題 */
.widget__title {
  position: relative;
  padding-bottom: 10px;
  margin-bottom: 20px;
}

.widget__title::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 50px;
  height: 3px;
  background: linear-gradient(90deg, #667eea 0%, #764ba2 100%);
  border-radius: 2px;
}

/* 遊戲類別圖標 */
.category-icon {
  display: inline-block;
  width: 20px;
  height: 20px;
  margin-right: 5px;
  vertical-align: middle;
}

/* 新聞時間戳記樣式 */
.meta__item-datetime {
  color: #888;
  font-size: 0.9rem;
}

/* 內容區塊標題樣式 */
.content h2 {
  color: #333;
  border-bottom: 3px solid #667eea;
  padding-bottom: 10px;
  margin-top: 30px;
  margin-bottom: 20px;
}

.content h3 {
  color: #555;
  margin-top: 25px;
  margin-bottom: 15px;
}

/* 列表樣式優化 */
.content ul, .content ol {
  line-height: 1.8;
  margin: 15px 0;
  margin-left: 22px;
}

.content li {
  margin-bottom: 8px;
}

/* 引用框樣式 */
.content blockquote {
  border-left: 4px solid #667eea;
  background: #f8f9fa;
  padding: 15px 20px;
  margin: 20px 0;
  border-radius: 4px;
}

/* 表格樣式 */
.content table {
  width: 100%;
  border-collapse: collapse;
  margin: 20px 0;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.content table th {
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  color: white;
  padding: 12px;
  text-align: left;
}

.content table td {
  padding: 12px;
  border-bottom: 1px solid #eee;
}

.content table tr:hover {
  background: #f8f9fa;
}

/* 響應式調整 */
@media (max-width: 768px) {
  .post__lead {
    font-size: 1rem;
    padding: 10px;
  }
  
  .more-link {
    display: block;
    text-align: center;
  }
}

/* 特殊提示框 */
.tip-box {
  padding: 15px 20px;
  margin: 20px 0;
  border-radius: 8px;
  border-left: 4px solid;
}

.tip-box.info {
  background: #e3f2fd;
  border-color: #2196f3;
  color: #0d47a1;
}

.tip-box.warning {
  background: #fff3e0;
  border-color: #ff9800;
  color: #e65100;
}

.tip-box.success {
  background: #e8f5e9;
  border-color: #4caf50;
  color: #1b5e20;
}

