
:root {
  --primary: #DEB887;
  --secondary: #8B4513;
  --accent: #FF8C00;
  --light: #F5F5DC;
  --dark: #333333;
  --text: #333333;
  --bg: #F8F4E9;
}

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

body {
  font-family: 'Times New Roman', Georgia, serif;
  line-height: 1.6;
  color: var(--text);
  background: var(--bg);
  padding: 0;
  margin: 0;
  overflow-x: hidden;
}

.header {
  background: linear-gradient(135deg, var(--primary), var(--secondary));
  color: white;
  padding: 2rem 0;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.header::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: url('https://images.gptkong.com/demo/sample5.png') center/cover no-repeat;
  opacity: 0.2;
  z-index: 0;
}

.header-content {
  position: relative;
  z-index: 1;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 2rem;
}

.note {
  background: rgba(255,255,255,0.2);
  padding: 0.5rem;
  border-radius: 4px;
  display: inline-block;
  margin-bottom: 1rem;
  font-size: 0.9rem;
}

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

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

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

h1, h2, h3, h4 {
  font-family: 'Helvetica Neue', Arial, sans-serif;
  margin-bottom: 1.5rem;
  position: relative;
  z-index: 1;
}

h1 {
  font-size: 2.5rem;
  color: white;
}

h2 {
  font-size: 2rem;
  color: var(--secondary);
  padding-bottom: 0.5rem;
  border-bottom: 2px solid var(--primary);
}

h3 {
  font-size: 1.5rem;
  color: var(--accent);
  margin-top: 2rem;
}

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

span {
  font-weight: bold;
  color: var(--accent);
}

pre {
  background: #f8f8f8;
  border-radius: 8px;
  padding: 1.5rem;
  margin: 2rem 0;
  overflow: auto;
  box-shadow: inset 0 0 10px rgba(0,0,0,0.1);
  position: relative;
  z-index: 1;
}

code {
  font-family: 'Courier New', monospace;
  font-size: 0.9rem;
  color: #333;
}

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

.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;
}

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

.card-img {
  height: 200px;
  background-size: cover;
  background-position: center;
}

.card-content {
  padding: 1.5rem;
}

.card-title {
  font-size: 1.2rem;
  margin-bottom: 0.5rem;
  color: var(--secondary);
}

.card-desc {
  font-size: 0.9rem;
  color: #666;
  margin-bottom: 1rem;
}

.tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.tag {
  background: var(--light);
  color: var(--secondary);
  padding: 0.3rem 0.6rem;
  border-radius: 20px;
  font-size: 0.7rem;
  font-weight: bold;
}

.nav {
  position: sticky;
  top: 0;
  background: white;
  box-shadow: 0 2px 10px rgba(0,0,0,0.1);
  z-index: 100;
  padding: 1rem 0;
}

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

.nav-logo {
  font-weight: bold;
  color: var(--secondary);
  font-size: 1.2rem;
}

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

.nav-link {
  color: var(--text);
  text-decoration: none;
  font-weight: 500;
  position: relative;
  padding: 0.5rem 0;
}

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

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

.footer {
  background: var(--secondary);
  color: white;
  padding: 3rem 0;
  text-align: center;
  margin-top: 3rem;
}

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

.decorative-img {
  border-radius: 8px;
  box-shadow: 0 5px 15px rgba(0,0,0,0.2);
  transition: transform 0.3s ease;
  margin: 2rem auto;
  display: block;
  max-width: 100%;
}

.decorative-img:hover {
  transform: scale(1.02);
}

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

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

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