
:root {
  --primary-dark: #1E272E;
  --primary-light: #833AB4;
  --accent-orange: #FFC300;
  --accent-green: #4CD137;
  --metal-gray: #BDBDBD;
  --text-light: #F5F6FA;
  --text-dark: #2F3640;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: 'Montserrat', sans-serif;
}

body {
  background: linear-gradient(135deg, #f5f7fa 0%, #c3cfe2 100%);
  color: var(--text-dark);
  line-height: 1.6;
  padding-top: 80px;
}

.header-banner {
  background: linear-gradient(135deg, var(--primary-dark), var(--primary-light));
  color: var(--text-light);
  padding: 80px 20px;
  text-align: center;
  margin-bottom: 60px;
  position: relative;
  overflow: hidden;
}

.header-banner::before {
  content: "";
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: radial-gradient(circle, rgba(255,255,255,0.1) 0%, rgba(255,255,255,0) 70%);
  animation: pulse 15s infinite linear;
}

@keyframes pulse {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}

.navbar {
  position: fixed;
  top: 0;
  width: 100%;
  background-color: rgba(30, 39, 46, 0.95);
  padding: 15px 5%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  z-index: 1000;
  backdrop-filter: blur(10px);
  box-shadow: 0 4px 30px rgba(0, 0, 0, 0.1);
  transition: all 0.3s ease;
}

.nav-links {
  display: flex;
  gap: 30px;
}

.nav-links a {
  color: var(--text-light);
  text-decoration: none;
  font-weight: 500;
  position: relative;
  padding: 5px 0;
  transition: all 0.3s ease;
}

.nav-links a::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--accent-orange);
  transition: width 0.3s ease;
}

.nav-links a:hover::after {
  width: 100%;
}

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

.article-container {
  background: white;
  border-radius: 16px;
  box-shadow: 0 10px 30px rgba(0,0,0,0.1);
  padding: 40px;
  margin-bottom: 60px;
}

h1, h2, h3, h4 {
  color: var(--primary-dark);
  margin-bottom: 20px;
  font-weight: 700;
}

h2 {
  font-size: 28px;
  position: relative;
  padding-bottom: 10px;
}

h2::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 60px;
  height: 4px;
  background: linear-gradient(90deg, var(--primary-light), var(--accent-orange));
  border-radius: 2px;
}

h3 {
  font-size: 22px;
  margin-top: 40px;
}

p {
  margin-bottom: 20px;
  font-size: 16px;
  line-height: 1.8;
}

.code-block {
  background: #282c34;
  color: #abb2bf;
  padding: 20px;
  border-radius: 8px;
  margin: 20px 0;
  overflow-x: auto;
  font-family: 'Courier New', monospace;
  font-size: 14px;
  line-height: 1.5;
  box-shadow: inset 0 0 10px rgba(0,0,0,0.5);
}

.code-block code {
  display: block;
  white-space: pre;
}

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

.image-card {
  background: white;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 8px 16px rgba(0,0,0,0.1);
  transition: all 0.3s ease;
}

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

.image-card img {
  width: 100%;
  height: auto;
  display: block;
  transition: transform 0.5s ease;
}

.image-card:hover img {
  transform: scale(1.05);
}

.notice {
  background: linear-gradient(135deg, var(--accent-green), #2ecc71);
  color: white;
  padding: 15px 20px;
  border-radius: 8px;
  margin: 30px 0;
  text-align: center;
  box-shadow: 0 5px 15px rgba(46, 204, 113, 0.3);
  animation: pulseNotice 2s infinite;
}

@keyframes pulseNotice {
  0% { box-shadow: 0 0 0 0 rgba(46, 204, 113, 0.4); }
  70% { box-shadow: 0 0 0 10px rgba(46, 204, 113, 0); }
  100% { box-shadow: 0 0 0 0 rgba(46, 204, 113, 0); }
}

@media (max-width: 768px) {
  .navbar {
    padding: 15px 20px;
  }
  
  .nav-links {
    gap: 15px;
  }
  
  .article-container {
    padding: 30px 20px;
  }
  
  h2 {
    font-size: 24px;
  }
  
  h3 {
    font-size: 20px;
  }
}

@media (max-width: 480px) {
  .nav-links {
    display: none;
  }
  
  .header-banner {
    padding: 60px 15px;
  }
  
  .image-grid {
    grid-template-columns: 1fr;
  }
}

