
:root {
  --primary: #8B4513;
  --secondary: #FF8C00;
  --accent: #654321;
  --light: #F5F5DC;
  --dark: #333333;
  --text: #333333;
  --highlight: #D2691E;
}

body {
  font-family: 'Arial', sans-serif;
  line-height: 1.6;
  color: var(--text);
  background: linear-gradient(135deg, #FAF0E6 0%, #FFF8DC 100%);
  margin: 0;
  padding: 0;
  min-height: 100%;
}

.header {
  background: linear-gradient(145deg, var(--primary), var(--accent));
  color: white;
  padding: 2rem;
  text-align: center;
  position: relative;
  overflow: hidden;
  box-shadow: 0 4px 20px rgba(0,0,0,0.1);
}

.header::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: url('https://images.gptkong.com/demo/sample3.png') center/cover no-repeat;
  opacity: 0.1;
  z-index: 0;
}

.header h1 {
  font-family: 'Times New Roman', serif;
  font-size: 2.5rem;
  margin: 0;
  position: relative;
  z-index: 1;
  text-shadow: 2px 2px 4px rgba(0,0,0,0.3);
}

.header p {
  font-size: 1.2rem;
  max-width: 800px;
  margin: 1rem auto;
  position: relative;
  z-index: 1;
}

.note {
  background: rgba(255,255,255,0.9);
  color: var(--accent);
  padding: 1rem;
  text-align: center;
  font-weight: bold;
  border-bottom: 2px solid var(--secondary);
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 2rem;
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
}

article {
  background: white;
  border-radius: 10px;
  padding: 2rem;
  box-shadow: 0 5px 15px rgba(0,0,0,0.05);
  position: relative;
  overflow: hidden;
}

article::after {
  content: "";
  position: absolute;
  top: 0;
  right: 0;
  width: 150px;
  height: 150px;
  background: url('https://images.gptkong.com/demo/sample7.png') center/contain no-repeat;
  opacity: 0.1;
  z-index: 0;
}

article h2 {
  font-family: 'Times New Roman', serif;
  color: var(--primary);
  font-size: 1.8rem;
  margin-top: 0;
  position: relative;
  z-index: 1;
}

article h3 {
  font-family: 'Times New Roman', serif;
  color: var(--accent);
  font-size: 1.5rem;
  margin-top: 2rem;
  position: relative;
  z-index: 1;
}

article p {
  font-size: 1.1rem;
  margin-bottom: 1.5rem;
  position: relative;
  z-index: 1;
}

pre {
  background: #f8f8f8;
  border-left: 4px solid var(--secondary);
  border-radius: 5px;
  padding: 1rem;
  overflow-x: auto;
  margin: 1.5rem 0;
  font-family: 'Courier New', monospace;
  font-size: 0.9rem;
  position: relative;
  z-index: 1;
}

code {
  font-family: 'Courier New', monospace;
  background: rgba(255,140,0,0.1);
  padding: 0.2rem 0.4rem;
  border-radius: 3px;
  color: var(--highlight);
}

table {
  width: 100%;
  border-collapse: collapse;
  margin: 2rem 0;
  position: relative;
  z-index: 1;
}

table th, table td {
  padding: 12px 15px;
  text-align: left;
  border-bottom: 1px solid #ddd;
}

table th {
  background-color: var(--primary);
  color: white;
  font-weight: bold;
}

table tr:nth-child(even) {
  background-color: #f9f9f9;
}

table tr:hover {
  background-color: #f5f5f5;
}

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

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

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

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

.image-card .caption {
  padding: 1rem;
  background: white;
}

.footer {
  background: linear-gradient(145deg, var(--primary), var(--accent));
  color: white;
  text-align: center;
  padding: 2rem;
  margin-top: 3rem;
}

.footer p {
  margin: 0;
}

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

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

article {
  animation: fadeIn 0.6s ease-out forwards;
}

/* Button styles */
.btn {
  display: inline-block;
  background: linear-gradient(145deg, var(--secondary), var(--highlight));
  color: white;
  padding: 0.8rem 1.5rem;
  border-radius: 5px;
  text-decoration: none;
  font-weight: bold;
  transition: all 0.3s ease;
  border: none;
  cursor: pointer;
  box-shadow: 0 4px 6px rgba(0,0,0,0.1);
  margin: 0.5rem 0;
}

.btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 12px rgba(0,0,0,0.15);
}

.btn:active {
  transform: translateY(1px);
  box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

/* Navigation */
.nav-links {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 1rem;
  margin: 2rem 0;
}

.nav-links a {
  color: var(--primary);
  text-decoration: none;
  font-weight: bold;
  padding: 0.5rem 1rem;
  border-radius: 5px;
  transition: all 0.3s ease;
  background: rgba(139,69,19,0.1);
}

.nav-links a:hover {
  background: rgba(139,69,19,0.2);
  color: var(--accent);
}

