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

body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "Helvetica Neue", Arial, "Noto Sans", sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji";
  line-height: 1.6;
  color: #2c3e50;
  background-color: #f8f9fa;
}

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

header {
  background: #fff;
  box-shadow: 0 2px 8px rgba(0,0,0,0.1);
  position: sticky;
  top: 0;
  z-index: 1000;
}

.header-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 16px 0;
}

.logo {
  font-size: 24px;
  font-weight: 700;
  color: #1a73e8;
  text-decoration: none;
}

nav ul {
  display: flex;
  list-style: none;
  gap: 8px;
  flex-wrap: nowrap;
}

nav a {
  display: block;
  padding: 8px 16px;
  color: #555;
  text-decoration: none;
  border-radius: 4px;
  transition: all 0.3s;
  white-space: nowrap;
}

nav a:hover {
  background: #e8f0fe;
  color: #1a73e8;
}

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

h1 {
  font-size: 28px;
  margin-bottom: 24px;
  color: #1a1a1a;
  line-height: 1.3;
}

h2 {
  font-size: 22px;
  margin: 32px 0 16px;
  color: #1a1a1a;
}

section {
  background: #fff;
  border-radius: 8px;
  padding: 32px;
  margin-bottom: 32px;
  box-shadow: 0 1px 3px rgba(0,0,0,0.1);
}

.intro-text {
  font-size: 15px;
  line-height: 1.8;
  color: #555;
  margin-bottom: 20px;
}

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

.video-card {
  background: #fff;
  border: 1px solid #e0e0e0;
  border-radius: 8px;
  padding: 20px;
  transition: all 0.3s;
  cursor: pointer;
}

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

.video-title {
  font-size: 18px;
  font-weight: 600;
  margin-bottom: 12px;
  color: #1a73e8;
  text-decoration: none;
  display: block;
}

.video-title:hover {
  text-decoration: underline;
}

.video-meta {
  font-size: 13px;
  color: #777;
  margin-bottom: 8px;
}

.video-oneline {
  font-size: 14px;
  color: #555;
  line-height: 1.6;
  margin-top: 8px;
}

.detail-info {
  background: #f8f9fa;
  padding: 20px;
  border-radius: 8px;
  margin: 24px 0;
}

.info-row {
  display: flex;
  margin-bottom: 12px;
  font-size: 15px;
}

.info-label {
  font-weight: 600;
  min-width: 80px;
  color: #333;
}

.info-value {
  color: #555;
}

.detail-content {
  font-size: 15px;
  line-height: 1.8;
  color: #444;
  margin: 24px 0;
}

.tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 12px;
}

.tag {
  display: inline-block;
  padding: 4px 12px;
  background: #e8f0fe;
  color: #1a73e8;
  border-radius: 16px;
  font-size: 13px;
}

footer {
  background: #2c3e50;
  color: #ecf0f1;
  text-align: center;
  padding: 32px 0;
  margin-top: 60px;
}

.list-item {
  background: #fff;
  border: 1px solid #e0e0e0;
  border-radius: 8px;
  padding: 20px;
  margin-bottom: 16px;
  transition: all 0.3s;
}

.list-item:hover {
  box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

.list-item h3 {
  font-size: 18px;
  margin-bottom: 12px;
}

.list-item a {
  color: #1a73e8;
  text-decoration: none;
  font-weight: 600;
}

.list-item a:hover {
  text-decoration: underline;
}

@media (max-width: 768px) {
  .header-content {
    flex-direction: column;
    gap: 12px;
  }

  nav ul {
    width: 100%;
    justify-content: space-between;
    flex-wrap: nowrap;
    overflow-x: visible;
  }

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

  nav a {
    padding: 8px 4px;
    font-size: 13px;
    text-align: center;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
  }

  .video-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  section {
    padding: 20px;
  }

  h1 {
    font-size: 22px;
  }
}

.ui-style-6 body {
  background-color: #f7f8fa;
}