
:root {
  --primary-color: #1e3c72;
  --secondary-color: #6a11cb;
  --accent-color: #00ff99;
  --text-color: #e0e0e0;
  --bg-gradient: linear-gradient(135deg, #1e3c72, #2a5298, #6a11cb, #2575fc);
}

body {
  font-family: 'Open Sans', sans-serif;
  line-height: 1.8;
  color: var(--text-color);
  background: var(--bg-gradient);
  background-size: 400% 400%;
  animation: gradientAnimation 15s ease infinite;
  margin: 0;
  padding: 0;
  min-height: 100%;
}

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

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

.header {
  text-align: center;
  margin-bottom: 60px;
  position: relative;
}

.header h1 {
  font-size: 3.5rem;
  margin: 0;
  background: linear-gradient(to right, #fff, var(--accent-color));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  text-shadow: 0 0 20px rgba(0,255,153,0.3);
}

.header p {
  font-size: 1.2rem;
  max-width: 800px;
  margin: 20px auto;
  color: rgba(255,255,255,0.8);
}

.reference-note {
  position: fixed;
  bottom: 20px;
  right: 20px;
  background: rgba(0,0,0,0.5);
  padding: 10px 20px;
  border-radius: 30px;
  font-size: 0.9rem;
  z-index: 1000;
}

article {
  background: rgba(30, 30, 60, 0.7);
  backdrop-filter: blur(10px);
  border-radius: 20px;
  padding: 40px;
  box-shadow: 0 10px 30px rgba(0,0,0,0.3);
  margin-bottom: 60px;
}

article h2 {
  font-size: 2.5rem;
  color: var(--accent-color);
  margin-top: 0;
  border-bottom: 2px solid var(--secondary-color);
  padding-bottom: 15px;
}

article h3 {
  font-size: 1.8rem;
  color: #fff;
  margin: 40px 0 20px;
}

article p {
  font-size: 1.1rem;
  margin-bottom: 25px;
  color: rgba(255,255,255,0.9);
}

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

.image-card {
  background: rgba(255,255,255,0.1);
  border-radius: 15px;
  overflow: hidden;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

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

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

pre {
  background: rgba(0,0,0,0.3);
  border-left: 4px solid var(--accent-color);
  border-radius: 5px;
  padding: 20px;
  overflow-x: auto;
  margin: 30px 0;
  font-size: 0.95rem;
  line-height: 1.6;
}

code {
  font-family: 'Courier New', monospace;
  color: var(--accent-color);
}

.nav-tabs {
  display: flex;
  justify-content: center;
  margin-bottom: 40px;
  flex-wrap: wrap;
  gap: 10px;
}

.nav-tab {
  padding: 12px 25px;
  background: rgba(255,255,255,0.1);
  border-radius: 30px;
  color: white;
  text-decoration: none;
  transition: all 0.3s ease;
  font-weight: 600;
}

.nav-tab:hover {
  background: var(--accent-color);
  color: #000;
}

.particle-container {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: -1;
}

.particle {
  position: absolute;
  width: 2px;
  height: 2px;
  background: var(--accent-color);
  border-radius: 50%;
  animation: moveParticles 10s linear infinite;
}

@keyframes moveParticles {
  0% { transform: translate(0, 0) scale(1); opacity: 1; }
  100% { transform: translate(var(--random-x), var(--random-y)) scale(0); opacity: 0; }
}

@media (max-width: 768px) {
  .header h1 {
    font-size: 2.5rem;
  }
  
  article {
    padding: 25px;
  }
  
  article h2 {
    font-size: 2rem;
  }
  
  article h3 {
    font-size: 1.5rem;
  }
  
  .image-grid {
    grid-template-columns: 1fr;
  }
}

