
:root {
  --primary-green: #8DC63F;
  --primary-brown: #966D4B;
  --background-beige: #F5F5DC;
  --soft-gray: #EFEFEF;
  --accent-orange: #FFA500;
  --accent-blue: #1E3A8A;
  --shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

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

body {
  background: var(--background-beige);
  color: var(--primary-brown);
  font-family: 'Roboto', sans-serif;
  line-height: 1.6;
  padding: 0;
  overflow-x: hidden;
}

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

.header {
  background: linear-gradient(135deg, var(--primary-green), var(--accent-blue));
  color: white;
  padding: 60px 20px;
  text-align: center;
  margin-bottom: 40px;
  position: relative;
  overflow: hidden;
  border-radius: 0 0 20px 20px;
  box-shadow: var(--shadow);
}

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

.header h1 {
  font-size: 2.5rem;
  margin-bottom: 20px;
  position: relative;
  z-index: 1;
  text-shadow: 0 2px 4px rgba(0,0,0,0.3);
}

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

.note {
  background: white;
  padding: 15px;
  border-radius: 8px;
  margin: 20px auto;
  max-width: 800px;
  text-align: center;
  box-shadow: var(--shadow);
  font-weight: bold;
  color: var(--accent-blue);
}

article {
  background: white;
  padding: 40px;
  border-radius: 20px;
  margin-bottom: 40px;
  box-shadow: var(--shadow);
}

article h2 {
  color: var(--primary-green);
  margin-bottom: 20px;
  font-size: 1.8rem;
  position: relative;
  padding-bottom: 10px;
}

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

article h3 {
  color: var(--accent-blue);
  margin: 25px 0 15px;
  font-size: 1.5rem;
}

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

pre {
  background: #2E2E2E;
  color: #f8f8f2;
  padding: 20px;
  border-radius: 8px;
  overflow-x: auto;
  margin: 20px 0;
  box-shadow: var(--shadow);
  font-family: 'Courier New', monospace;
}

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

table {
  width: 100%;
  border-collapse: collapse;
  margin: 25px 0;
  box-shadow: var(--shadow);
  border-radius: 8px;
  overflow: hidden;
}

th, td {
  padding: 12px 15px;
  text-align: left;
  border-bottom: 1px solid var(--soft-gray);
}

th {
  background: var(--primary-green);
  color: white;
}

tr:nth-child(even) {
  background: var(--soft-gray);
}

tr:hover {
  background: rgba(141, 198, 63, 0.1);
}

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

.gallery-item {
  border-radius: 10px;
  overflow: hidden;
  box-shadow: var(--shadow);
  transition: transform 0.3s;
}

.gallery-item:hover {
  transform: translateY(-5px);
}

.gallery-item img {
  width: 100%;
  height: auto;
  display: block;
}

.footer {
  background: linear-gradient(135deg, var(--primary-brown), var(--accent-blue));
  color: white;
  padding: 30px;
  text-align: center;
  border-radius: 20px 20px 0 0;
  margin-top: 50px;
}

.navbar {
  position: sticky;
  top: 0;
  background: var(--primary-green);
  display: flex;
  justify-content: center;
  padding: 15px 0;
  box-shadow: var(--shadow);
  z-index: 1000;
}

.nav-item {
  color: white;
  text-decoration: none;
  margin: 0 20px;
  font-weight: bold;
  transition: color 0.3s;
  position: relative;
}

.nav-item:hover {
  color: var(--accent-orange);
}

.nav-item::after {
  content: "";
  position: absolute;
  bottom: -5px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--accent-orange);
  transition: width 0.3s;
}

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

@media (max-width: 768px) {
  .header h1 {
    font-size: 2rem;
  }
  
  .header p {
    font-size: 1rem;
  }
  
  article {
    padding: 20px;
  }
  
  .gallery {
    grid-template-columns: 1fr;
  }
  
  .navbar {
    flex-direction: column;
    align-items: center;
  }
  
  .nav-item {
    margin: 10px 0;
  }
}

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

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

.highlight {
  background: linear-gradient(90deg, rgba(255,255,255,0), rgba(255,165,0,0.2), rgba(255,255,255,0));
  padding: 2px 5px;
  border-radius: 3px;
}

