/* 立体浮雕风格 - 日韩电影站 */

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "Microsoft YaHei", "PingFang SC", sans-serif;
  line-height: 1.6;
  color: #2c3e50;
  background: linear-gradient(135deg, #f5f7fa 0%, #e8eef3 100%);
  min-height: 100vh;
}

body.ui-style-10 {
  background: linear-gradient(135deg, #f0f4f8 0%, #d9e2ec 100%);
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

header {
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  color: white;
  padding: 1rem 0;
  box-shadow: 0 8px 16px rgba(102, 126, 234, 0.3),
              inset 0 -2px 4px rgba(255, 255, 255, 0.2),
              inset 0 2px 4px rgba(0, 0, 0, 0.2);
  position: sticky;
  top: 0;
  z-index: 1000;
}

.header-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1rem;
}

.logo {
  font-size: 1.8rem;
  font-weight: 700;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3),
               -1px -1px 2px rgba(255, 255, 255, 0.1);
  letter-spacing: 2px;
}

.logo a {
  color: white;
  text-decoration: none;
}

nav ul {
  display: flex;
  list-style: none;
  gap: 0;
  flex-wrap: nowrap;
  align-items: center;
}

nav li {
  flex: 1 1 0;
  min-width: 0;
  text-align: center;
}

nav a {
  color: white;
  text-decoration: none;
  padding: 0.5rem 1rem;
  display: block;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.1);
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2),
              inset 0 -1px 2px rgba(255, 255, 255, 0.2);
  transition: all 0.3s ease;
  font-weight: 500;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

nav a:hover {
  background: rgba(255, 255, 255, 0.25);
  transform: translateY(-2px);
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.3),
              inset 0 -2px 4px rgba(255, 255, 255, 0.3);
}

main {
  padding: 2rem 0;
  min-height: calc(100vh - 200px);
}

h1 {
  font-size: 2rem;
  margin-bottom: 1.5rem;
  color: #2d3748;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.1),
               -1px -1px 1px rgba(255, 255, 255, 0.8);
  font-weight: 700;
  line-height: 1.3;
}

h2 {
  font-size: 1.5rem;
  margin: 2rem 0 1rem;
  color: #4a5568;
  text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.1);
  font-weight: 600;
}

h3 {
  font-size: 1.2rem;
  margin: 1.5rem 0 0.75rem;
  color: #667eea;
  font-weight: 600;
}

p {
  margin-bottom: 1rem;
  line-height: 1.8;
}

section {
  background: white;
  border-radius: 16px;
  padding: 2rem;
  margin-bottom: 2rem;
  box-shadow: 0 8px 16px rgba(0, 0, 0, 0.1),
              inset 0 1px 0 rgba(255, 255, 255, 0.8),
              0 2px 4px rgba(0, 0, 0, 0.05);
}

.video-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 2rem;
  margin-top: 1.5rem;
}

.video-card {
  background: white;
  border-radius: 12px;
  padding: 1.5rem;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1),
              inset 0 -2px 4px rgba(0, 0, 0, 0.05),
              inset 0 2px 4px rgba(255, 255, 255, 0.8);
  transition: all 0.3s ease;
  border: 1px solid rgba(0, 0, 0, 0.05);
}

.video-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 24px rgba(102, 126, 234, 0.2),
              inset 0 -2px 4px rgba(0, 0, 0, 0.08),
              inset 0 2px 4px rgba(255, 255, 255, 0.9);
}

.video-card h3 {
  margin-top: 0;
  color: #2d3748;
}

.video-card h3 a {
  color: #667eea;
  text-decoration: none;
  transition: color 0.3s;
}

.video-card h3 a:hover {
  color: #764ba2;
  text-shadow: 1px 1px 2px rgba(102, 126, 234, 0.3);
}

.video-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin: 0.75rem 0;
}

.video-tag {
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  color: white;
  padding: 0.25rem 0.75rem;
  border-radius: 20px;
  font-size: 0.85rem;
  box-shadow: 0 2px 4px rgba(102, 126, 234, 0.3),
              inset 0 -1px 2px rgba(0, 0, 0, 0.2),
              inset 0 1px 2px rgba(255, 255, 255, 0.3);
}

.video-desc {
  color: #4a5568;
  font-size: 0.95rem;
  line-height: 1.6;
  margin-top: 0.75rem;
}

.video-list {
  list-style: none;
  margin-top: 1.5rem;
}

.video-list li {
  background: white;
  padding: 1.5rem;
  margin-bottom: 1.5rem;
  border-radius: 12px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.08),
              inset 0 -1px 2px rgba(0, 0, 0, 0.05),
              inset 0 1px 2px rgba(255, 255, 255, 0.8);
  transition: all 0.3s ease;
}

.video-list li:hover {
  box-shadow: 0 8px 16px rgba(102, 126, 234, 0.15),
              inset 0 -2px 4px rgba(0, 0, 0, 0.08),
              inset 0 2px 4px rgba(255, 255, 255, 0.9);
}

.rank-number {
  display: inline-block;
  width: 40px;
  height: 40px;
  line-height: 40px;
  text-align: center;
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  color: white;
  border-radius: 50%;
  font-weight: 700;
  margin-right: 1rem;
  box-shadow: 0 4px 8px rgba(102, 126, 234, 0.4),
              inset 0 -2px 4px rgba(0, 0, 0, 0.3),
              inset 0 2px 4px rgba(255, 255, 255, 0.3);
  vertical-align: middle;
}

.date-badge {
  display: inline-block;
  background: linear-gradient(135deg, #48bb78 0%, #38a169 100%);
  color: white;
  padding: 0.25rem 0.75rem;
  border-radius: 6px;
  font-size: 0.85rem;
  margin-right: 1rem;
  box-shadow: 0 2px 4px rgba(72, 187, 120, 0.4),
              inset 0 -1px 2px rgba(0, 0, 0, 0.2),
              inset 0 1px 2px rgba(255, 255, 255, 0.3);
}

.group-section {
  margin-bottom: 3rem;
}

.group-title {
  font-size: 1.4rem;
  color: #667eea;
  margin-bottom: 1rem;
  padding-bottom: 0.5rem;
  border-bottom: 3px solid #667eea;
  text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.1);
  box-shadow: 0 2px 0 rgba(102, 126, 234, 0.2);
}

.detail-info {
  background: linear-gradient(135deg, #f7fafc 0%, #edf2f7 100%);
  padding: 1.5rem;
  border-radius: 12px;
  margin: 1.5rem 0;
  box-shadow: inset 0 2px 4px rgba(0, 0, 0, 0.1),
              0 2px 4px rgba(255, 255, 255, 0.8);
}

.detail-info dl {
  display: grid;
  grid-template-columns: 100px 1fr;
  gap: 0.75rem;
  align-items: start;
}

.detail-info dt {
  font-weight: 600;
  color: #667eea;
  text-shadow: 1px 1px 1px rgba(255, 255, 255, 0.8);
}

.detail-info dd {
  color: #4a5568;
}

.review-box {
  background: linear-gradient(135deg, #fff5f5 0%, #fed7d7 100%);
  padding: 1.5rem;
  border-radius: 12px;
  border-left: 4px solid #f56565;
  margin: 1.5rem 0;
  box-shadow: 0 4px 8px rgba(245, 101, 101, 0.2),
              inset 0 -2px 4px rgba(0, 0, 0, 0.05);
  font-style: italic;
  color: #742a2a;
}

.btn {
  display: inline-block;
  padding: 0.75rem 2rem;
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  color: white;
  text-decoration: none;
  border-radius: 8px;
  box-shadow: 0 4px 8px rgba(102, 126, 234, 0.4),
              inset 0 -2px 4px rgba(0, 0, 0, 0.2),
              inset 0 2px 4px rgba(255, 255, 255, 0.2);
  transition: all 0.3s ease;
  font-weight: 600;
  border: none;
  cursor: pointer;
}

.btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 12px rgba(102, 126, 234, 0.5),
              inset 0 -3px 6px rgba(0, 0, 0, 0.3),
              inset 0 3px 6px rgba(255, 255, 255, 0.3);
}

footer {
  background: linear-gradient(135deg, #2d3748 0%, #1a202c 100%);
  color: white;
  padding: 2rem 0;
  margin-top: 3rem;
  box-shadow: 0 -8px 16px rgba(0, 0, 0, 0.2),
              inset 0 2px 4px rgba(255, 255, 255, 0.1);
}

.footer-content {
  text-align: center;
}

.footer-nav {
  display: flex;
  justify-content: center;
  gap: 2rem;
  list-style: none;
  margin-bottom: 1rem;
  flex-wrap: wrap;
}

.footer-nav a {
  color: #cbd5e0;
  text-decoration: none;
  transition: color 0.3s;
}

.footer-nav a:hover {
  color: white;
  text-shadow: 0 0 8px rgba(255, 255, 255, 0.8);
}

@media (max-width: 768px) {
  .header-content {
    flex-direction: column;
    align-items: stretch;
  }

  .logo {
    font-size: 1.5rem;
    text-align: center;
  }

  nav ul {
    flex-wrap: nowrap;
    justify-content: space-between;
    gap: 0;
  }

  nav li {
    flex: 1 1 0;
    min-width: 0;
  }

  nav a {
    padding: 0.5rem 0.3rem;
    font-size: 0.85rem;
    white-space: nowrap;
  }

  h1 {
    font-size: 1.5rem;
  }

  .video-grid {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }

  section {
    padding: 1.5rem;
  }

  .detail-info dl {
    grid-template-columns: 80px 1fr;
  }
}

@media (max-width: 480px) {
  nav a {
    font-size: 0.75rem;
    padding: 0.4rem 0.2rem;
  }

  .rank-number {
    width: 32px;
    height: 32px;
    line-height: 32px;
    font-size: 0.9rem;
  }
}
