
:root {
  --primary: #1E2A3C;
  --secondary: #E5E5E5;
  --accent: #FF8C00;
  --highlight: #4CAF50;
  --text: #333;
  --light: #f8f9fa;
}

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

body {
  font-family: 'Montserrat', 'Arial', sans-serif;
  line-height: 1.8;
  color: var(--text);
  background: linear-gradient(135deg, var(--primary), var(--secondary));
  background-attachment: fixed;
  overflow-x: hidden;
}

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

.header {
  position: relative;
  padding: 40px 0;
  text-align: center;
  color: white;
  background: rgba(30, 42, 60, 0.8);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(255,255,255,0.1);
}

.header h1 {
  font-size: 2.8rem;
  margin-bottom: 20px;
  text-shadow: 0 2px 10px rgba(0,0,0,0.3);
}

.header p {
  font-size: 1.2rem;
  max-width: 800px;
  margin: 0 auto;
  opacity: 0.9;
}

.notice {
  background: var(--accent);
  color: white;
  padding: 15px;
  text-align: center;
  font-weight: bold;
  margin-bottom: 40px;
  box-shadow: 0 4px 15px rgba(255, 140, 0, 0.3);
}

.main-content {
  background: white;
  border-radius: 10px;
  box-shadow: 0 10px 30px rgba(0,0,0,0.1);
  padding: 40px;
  margin: 40px auto;
  position: relative;
  overflow: hidden;
}

.main-content::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 5px;
  background: linear-gradient(90deg, var(--accent), var(--highlight));
}

article {
  max-width: 900px;
  margin: 0 auto;
}

h2 {
  color: var(--primary);
  font-size: 2rem;
  margin: 40px 0 20px;
  padding-bottom: 10px;
  border-bottom: 2px solid var(--secondary);
  position: relative;
}

h2::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 100px;
  height: 2px;
  background: var(--accent);
}

h3 {
  color: var(--primary);
  font-size: 1.5rem;
  margin: 30px 0 15px;
}

p {
  margin-bottom: 20px;
  font-size: 1.1rem;
}

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

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

.img-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 25px rgba(0,0,0,0.15);
}

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

pre {
  background: #f5f7fa;
  padding: 20px;
  border-radius: 8px;
  overflow-x: auto;
  margin: 20px 0;
  border-left: 4px solid var(--accent);
  font-family: 'Courier New', monospace;
  font-size: 0.95rem;
  line-height: 1.5;
}

code {
  font-family: 'Courier New', monospace;
  background: rgba(255, 140, 0, 0.1);
  padding: 2px 5px;
  border-radius: 3px;
  color: #d63384;
}

.nav-links {
  position: sticky;
  top: 20px;
  margin-bottom: 40px;
  background: white;
  padding: 20px;
  border-radius: 8px;
  box-shadow: 0 5px 15px rgba(0,0,0,0.05);
}

.nav-links h3 {
  margin-top: 0;
  color: var(--accent);
}

.nav-links ul {
  list-style: none;
}

.nav-links li {
  margin-bottom: 10px;
}

.nav-links a {
  color: var(--primary);
  text-decoration: none;
  transition: color 0.3s ease;
  display: block;
  padding: 5px 0;
}

.nav-links a:hover {
  color: var(--accent);
  padding-left: 5px;
}

.footer {
  text-align: center;
  padding: 30px 0;
  background: var(--primary);
  color: white;
  margin-top: 60px;
}

@media (max-width: 768px) {
  .header h1 {
    font-size: 2rem;
  }
  
  .header p {
    font-size: 1rem;
  }
  
  .main-content {
    padding: 20px;
  }
  
  h2 {
    font-size: 1.6rem;
  }
  
  h3 {
    font-size: 1.3rem;
  }
  
  .img-grid {
    grid-template-columns: 1fr;
  }
}

@keyframes fadeIn {
  from { opacity: 0; transform: translateY(20px); }
  to { opacity: 1; transform: translateY(0); }
}

.animated {
  animation: fadeIn 0.8s ease forwards;
}

.delay-1 { animation-delay: 0.2s; }
.delay-2 { animation-delay: 0.4s; }
.delay-3 { animation-delay: 0.6s; }

