
/* Reset & Base */
* { margin: 0; padding: 0; box-sizing: border-box; }

body {
  font-family: "Microsoft YaHei", "PingFang SC", Arial, sans-serif;
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  color: #2c3e50;
  line-height: 1.8;
  min-height: 100vh;
}

body.ui-style-10 {
  /* UI风格特定样式 */
}

a { color: #3498db; text-decoration: none; transition: all 0.3s; }
a:hover { color: #2980b9; }

/* Navigation */
nav { background: rgba(44, 62, 80, 0.95); backdrop-filter: blur(10px); padding: 1rem; position: sticky; top: 0; z-index: 1000; box-shadow: 0 2px 10px rgba(0,0,0,0.1); }
nav ul { display: flex; flex-wrap: nowrap; justify-content: space-between; align-items: center; list-style: none; max-width: 1200px; margin: 0 auto; }
nav li { flex: 1 1 0; min-width: 0; text-align: center; }
nav a { color: #ecf0f1; padding: 0.6rem 1rem; display: block; border-radius: 4px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; font-size: 0.95rem; font-weight: 500; }
nav a:hover { background: rgba(52, 73, 94, 0.8); transform: translateY(-2px); }

@media (max-width: 768px) {
  nav { padding: 0.5rem; }
  nav a { font-size: 0.8rem; padding: 0.5rem 0.3rem; }
}

/* Main Content */
main { max-width: 1200px; margin: 0 auto; padding: 2rem 1rem; background: white; min-height: 70vh; box-shadow: 0 0 20px rgba(0,0,0,0.1); }

/* Hero */
.hero { text-align: center; padding: 3rem 1rem; background: linear-gradient(135deg, #667eea 0%, #764ba2 100%); color: white; border-radius: 8px; margin-bottom: 2rem; }
.hero h1 { font-size: 2rem; margin-bottom: 1rem; font-weight: 700; }
.hero .intro { font-size: 1.1rem; opacity: 0.95; max-width: 800px; margin: 0 auto; }

@media (max-width: 768px) {
  .hero h1 { font-size: 1.5rem; }
  .hero .intro { font-size: 1rem; }
}

/* Sections */
section { margin-bottom: 3rem; }
section h2 { font-size: 1.8rem; margin-bottom: 1.5rem; padding-bottom: 0.5rem; border-bottom: 3px solid #3498db; color: #2c3e50; }

.site-intro { background: #ecf0f1; padding: 2rem; border-radius: 8px; }
.site-intro p { font-size: 1.05rem; line-height: 2; }

/* Item Grid */
.item-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 1.5rem; }
.item-card { background: white; padding: 1.5rem; border-radius: 8px; box-shadow: 0 2px 8px rgba(0,0,0,0.1); transition: all 0.3s; }
.item-card:hover { transform: translateY(-5px); box-shadow: 0 4px 15px rgba(0,0,0,0.2); }
.item-card h3 { font-size: 1.2rem; margin-bottom: 0.5rem; color: #2c3e50; }
.item-card .meta { color: #7f8c8d; font-size: 0.9rem; margin-bottom: 0.5rem; }
.item-card .summary { color: #555; font-size: 0.95rem; line-height: 1.6; }

/* Nav Cards */
.nav-cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: 1.5rem; }
.nav-card { background: linear-gradient(135deg, #667eea 0%, #764ba2 100%); color: white; padding: 2rem; border-radius: 8px; text-align: center; transition: all 0.3s; display: block; }
.nav-card:hover { transform: scale(1.05); box-shadow: 0 10px 25px rgba(0,0,0,0.2); }
.nav-card h3 { font-size: 1.3rem; margin-bottom: 0.5rem; color: white; }
.nav-card p { opacity: 0.9; color: white; }

/* List Items */
.item-list { display: flex; flex-direction: column; gap: 1rem; }
.list-item { background: #f8f9fa; padding: 1rem 1.5rem; border-radius: 6px; display: flex; justify-content: space-between; align-items: center; }
.list-item a { font-size: 1.05rem; font-weight: 500; color: #2c3e50; }
.list-item .tag { background: #3498db; color: white; padding: 0.3rem 0.8rem; border-radius: 20px; font-size: 0.85rem; }

.more-link { text-align: center; margin-top: 2rem; }
.more-link a { font-size: 1.1rem; color: #3498db; font-weight: 500; }

/* List Page */
.page-header { text-align: center; padding: 2rem 1rem; margin-bottom: 2rem; }
.page-header h1 { font-size: 2.5rem; color: #2c3e50; margin-bottom: 1rem; }
.page-header p { font-size: 1.1rem; color: #7f8c8d; max-width: 800px; margin: 0 auto; }

.list-content { display: flex; flex-direction: column; gap: 1.5rem; }
.list-card { background: white; border-radius: 8px; padding: 1.5rem; box-shadow: 0 2px 8px rgba(0,0,0,0.1); display: flex; gap: 1.5rem; transition: all 0.3s; }
.list-card:hover { box-shadow: 0 4px 15px rgba(0,0,0,0.2); }
.list-card .rank { font-size: 2rem; font-weight: bold; color: #3498db; min-width: 50px; text-align: center; }
.list-card .info { flex: 1; }
.list-card h3 { font-size: 1.3rem; margin-bottom: 0.5rem; }
.list-card .meta { color: #7f8c8d; font-size: 0.9rem; margin-bottom: 0.5rem; }
.list-card .desc { color: #555; line-height: 1.6; }

/* Detail Page */
.detail-page { padding: 2rem; }
.detail-header { text-align: center; padding: 2rem 0; border-bottom: 2px solid #ecf0f1; margin-bottom: 2rem; }
.detail-header h1 { font-size: 2.5rem; color: #2c3e50; margin-bottom: 1rem; }
.detail-header .tagline { font-size: 1.2rem; color: #7f8c8d; font-style: italic; }

.detail-info dl { display: grid; grid-template-columns: 100px 1fr; gap: 0.8rem 1rem; background: #f8f9fa; padding: 1.5rem; border-radius: 8px; }
.detail-info dt { font-weight: bold; color: #2c3e50; }
.detail-info dd { color: #555; }

.detail-summary, .detail-review { margin: 2rem 0; }
.detail-summary p, .detail-review p { font-size: 1.05rem; line-height: 2; text-indent: 2em; text-align: justify; }

.related-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); gap: 1.5rem; }
.related-item { background: #f8f9fa; padding: 1.5rem; border-radius: 8px; }
.related-item h4 { font-size: 1.1rem; margin-bottom: 0.5rem; }
.related-item p { color: #666; font-size: 0.95rem; line-height: 1.6; }

/* Footer */
footer { background: rgba(44, 62, 80, 0.95); color: #ecf0f1; text-align: center; padding: 2rem; margin-top: 3rem; }
footer p { font-size: 0.95rem; }

@media (max-width: 768px) {
  main { padding: 1rem; }
  .detail-header h1 { font-size: 1.8rem; }
  .item-grid { grid-template-columns: 1fr; }
  .list-card { flex-direction: column; gap: 1rem; }
  .list-card .rank { font-size: 1.5rem; }
}
