
:root {
  --primary-color: #4b6cb7;
  --secondary-color: #8e44ad;
  --accent-color: #f1c40f;
  --bg-color: #f8f9fa;
  --text-color: #2c3e50;
  --light-color: #ecf0f1;
  --dark-color: #182848;
  --card-bg: #ffffff;
  --transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
}

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

body {
  font-family: 'Roboto', sans-serif;
  line-height: 1.6;
  color: var(--text-color);
  background: var(--bg-color);
  overflow-x: hidden;
}

.header {
  background: linear-gradient(135deg, var(--primary-color), var(--dark-color));
  color: white;
  padding: 2rem 0;
  position: relative;
  overflow: hidden;
}

.header::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, 
    rgba(75, 108, 183, 0.8), 
    rgba(24, 40, 72, 0.8), 
    rgba(142, 68, 173, 0.8));
  z-index: 1;
}

.header-content {
  position: relative;
  z-index: 2;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 2rem;
  text-align: center;
}

.navbar {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  background: rgba(24, 40, 72, 0.9);
  backdrop-filter: blur(10px);
  box-shadow: 0 2px 20px rgba(0, 0, 0, 0.1);
  z-index: 1000;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1rem 2rem;
}

.nav-logo {
  font-size: 1.5rem;
  font-weight: 700;
  color: white;
  text-decoration: none;
}

.nav-links {
  display: flex;
  gap: 1.5rem;
}

.nav-link {
  color: white;
  text-decoration: none;
  font-weight: 500;
  padding: 0.5rem 1rem;
  border-radius: 4px;
  transition: var(--transition);
}

.nav-link:hover {
  background: rgba(255, 255, 255, 0.1);
  transform: translateY(-2px);
}

.main {
  max-width: 1200px;
  margin: 6rem auto 3rem;
  padding: 0 2rem;
}

.hero {
  text-align: center;
  margin-bottom: 4rem;
  position: relative;
}

.hero-title {
  font-size: 3rem;
  margin-bottom: 1.5rem;
  background: linear-gradient(135deg, #4b6cb7, #8e44ad);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  animation: gradientShift 8s ease infinite;
  background-size: 200% 200%;
}

@keyframes gradientShift {
  0% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
  100% { background-position: 0% 50%; }
}

.hero-subtitle {
  font-size: 1.2rem;
  color: var(--text-color);
  max-width: 800px;
  margin: 0 auto 2rem;
}

.notice {
  background: rgba(241, 196, 15, 0.1);
  border-left: 4px solid var(--accent-color);
  padding: 1rem;
  margin: 2rem 0;
  border-radius: 0 4px 4px 0;
}

.notice-text {
  color: var(--text-color);
  font-weight: 500;
}

.article-container {
  background: white;
  border-radius: 12px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
  padding: 3rem;
  margin-bottom: 4rem;
}

.article h2 {
  font-size: 2rem;
  color: var(--primary-color);
  margin: 2rem 0 1.5rem;
  position: relative;
  padding-bottom: 0.5rem;
}

.article h2::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 60px;
  height: 3px;
  background: linear-gradient(90deg, var(--primary-color), var(--secondary-color));
}

.article h3 {
  font-size: 1.5rem;
  color: var(--secondary-color);
  margin: 1.5rem 0 1rem;
}

.article p {
  margin-bottom: 1.5rem;
  font-size: 1.1rem;
  line-height: 1.8;
}

.code-container {
  background: #282c34;
  border-radius: 8px;
  padding: 1.5rem;
  margin: 2rem 0;
  overflow: hidden;
  position: relative;
}

.code-container::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 30px;
  background: rgba(0, 0, 0, 0.2);
  border-radius: 8px 8px 0 0;
}

pre {
  margin: 0;
  overflow-x: auto;
}

code {
  font-family: 'Fira Code', monospace;
  font-size: 0.9rem;
  color: #abb2bf;
}

.image-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
  margin: 3rem 0;
}

.image-card {
  background: white;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
  transition: var(--transition);
}

.image-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.15);
}

.image-card img {
  width: 100%;
  height: 300px;
  object-fit: cover;
  display: block;
}

.footer {
  background: var(--dark-color);
  color: white;
  padding: 3rem 0;
  text-align: center;
}

.footer-content {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 2rem;
}

.footer-links {
  display: flex;
  justify-content: center;
  gap: 2rem;
  margin: 1.5rem 0;
}

.footer-link {
  color: white;
  text-decoration: none;
  transition: var(--transition);
}

.footer-link:hover {
  color: var(--accent-color);
}

@media (max-width: 768px) {
  .navbar {
    padding: 1rem;
  }
  
  .nav-links {
    gap: 0.75rem;
  }
  
  .hero-title {
    font-size: 2.2rem;
  }
  
  .article-container {
    padding: 2rem;
  }
  
  .image-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 480px) {
  .nav-links {
    display: none;
  }
  
  .hero-title {
    font-size: 1.8rem;
  }
  
  .article-container {
    padding: 1.5rem;
  }
}

