
:root {
  --primary-color: #A0522D;
  --secondary-color: #F5DEB3;
  --accent-green: #808000;
  --accent-blue: #1E90FF;
  --neutral-light: #f8f5f2;
  --neutral-dark: #333333;
}

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

body {
  font-family: 'Helvetica Neue', Arial, sans-serif;
  line-height: 1.6;
  color: var(--neutral-dark);
  background: linear-gradient(135deg, var(--neutral-light) 0%, var(--secondary-color) 100%);
  background-attachment: fixed;
  padding: 0;
  margin: 0;
  min-height: 100%;
}

.header {
  background: linear-gradient(90deg, var(--primary-color) 0%, #8B4513 100%);
  color: white;
  padding: 2rem 5%;
  text-align: center;
  position: relative;
  overflow: hidden;
  box-shadow: 0 4px 12px rgba(0,0,0,0.1);
}

.header::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--accent-green), var(--accent-blue));
}

.header h1 {
  font-family: 'Georgia', serif;
  font-size: 2.5rem;
  margin-bottom: 1rem;
  text-shadow: 2px 2px 4px rgba(0,0,0,0.2);
}

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

.nav-container {
  background: rgba(255,255,255,0.9);
  backdrop-filter: blur(10px);
  position: sticky;
  top: 0;
  z-index: 100;
  box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.nav {
  max-width: 1200px;
  margin: 0 auto;
  padding: 1rem 2rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

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

.nav a {
  color: var(--primary-color);
  text-decoration: none;
  font-weight: 500;
  font-size: 1rem;
  transition: all 0.3s ease;
  position: relative;
  padding: 0.5rem 0;
}

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

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

.nav a:hover {
  color: var(--accent-blue);
}

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

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

.article-container::before {
  content: '';
  position: absolute;
  top: 0;
  right: 0;
  width: 150px;
  height: 150px;
  background: radial-gradient(circle, var(--secondary-color) 0%, transparent 70%);
  opacity: 0.3;
}

.article-container::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100px;
  height: 100px;
  background: radial-gradient(circle, var(--accent-blue) 0%, transparent 70%);
  opacity: 0.2;
}

h2 {
  font-family: 'Georgia', serif;
  color: var(--primary-color);
  font-size: 1.8rem;
  margin: 2rem 0 1rem;
  position: relative;
  padding-bottom: 0.5rem;
}

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

h3 {
  font-family: 'Georgia', serif;
  color: var(--accent-green);
  font-size: 1.5rem;
  margin: 1.5rem 0 1rem;
}

p {
  margin-bottom: 1.5rem;
  font-size: 1.1rem;
  line-height: 1.7;
}

.img-container {
  display: flex;
  flex-wrap: wrap;
  gap: 1.5rem;
  margin: 2rem 0;
  justify-content: center;
}

.img-card {
  width: 300px;
  height: 300px;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 5px 15px rgba(0,0,0,0.1);
  transition: all 0.3s ease;
  position: relative;
}

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

.img-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

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

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

code {
  font-family: 'Courier New', monospace;
  background: rgba(160, 82, 45, 0.1);
  padding: 0.2rem 0.4rem;
  border-radius: 3px;
  font-size: 0.9rem;
}

.notice {
  background: rgba(30, 144, 255, 0.1);
  border-left: 4px solid var(--accent-blue);
  padding: 1rem;
  margin: 2rem 0;
  border-radius: 0 4px 4px 0;
}

.notice p {
  margin: 0;
  color: var(--neutral-dark);
}

.footer {
  background: linear-gradient(90deg, var(--primary-color) 0%, #8B4513 100%);
  color: white;
  padding: 2rem 5%;
  text-align: center;
  margin-top: 3rem;
}

.footer p {
  margin-bottom: 0;
  opacity: 0.8;
}

@media (max-width: 768px) {
  .header h1 {
    font-size: 2rem;
  }
  
  .nav {
    flex-direction: column;
    gap: 1rem;
    padding: 1rem;
  }
  
  .nav-links {
    flex-wrap: wrap;
    justify-content: center;
    gap: 1rem;
  }
  
  .article-container {
    padding: 2rem 1.5rem;
  }
  
  .img-card {
    width: 100%;
    max-width: 300px;
  }
}

@keyframes float {
  0%, 100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-10px);
  }
}

.floating {
  animation: float 3s ease-in-out infinite;
}

