
:root {
  --primary: #8FBC8F;
  --secondary: #A52A2A;
  --accent: #FFA500;
  --light: #F5F5DC;
  --dark: #333;
  --highlight: #9370DB;
}

@import url('https://fonts.googleapis.com/css2?family=Nunito:wght@400;700&family=Roboto:wght@300;400;500&display=swap');

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

body {
  font-family: 'Roboto', sans-serif;
  background: linear-gradient(135deg, var(--light), var(--primary));
  color: var(--dark);
  line-height: 1.6;
  padding: 0;
  margin: 0;
  min-height: 100%;
}

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

.header {
  text-align: center;
  padding: 60px 20px 40px;
  position: relative;
  overflow: hidden;
}

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

.header h1 {
  font-family: 'Nunito', sans-serif;
  font-size: 2.8rem;
  color: var(--secondary);
  margin-bottom: 20px;
  text-shadow: 2px 2px 4px rgba(0,0,0,0.1);
}

.header p {
  font-size: 1.2rem;
  max-width: 800px;
  margin: 0 auto 30px;
  color: var(--dark);
}

.notice {
  background: rgba(255,255,255,0.9);
  padding: 15px;
  border-radius: 8px;
  box-shadow: 0 4px 6px rgba(0,0,0,0.1);
  margin: 20px auto;
  max-width: 800px;
  text-align: center;
  font-weight: 500;
  color: var(--secondary);
  border-left: 4px solid var(--accent);
}

article {
  background: rgba(255,255,255,0.85);
  border-radius: 12px;
  padding: 40px;
  margin: 30px auto;
  box-shadow: 0 10px 30px rgba(0,0,0,0.08);
  max-width: 1000px;
}

article h2 {
  font-family: 'Nunito', sans-serif;
  color: var(--primary);
  font-size: 2rem;
  margin-bottom: 30px;
  padding-bottom: 10px;
  border-bottom: 2px solid rgba(143, 188, 143, 0.3);
}

article h3 {
  font-family: 'Nunito', sans-serif;
  color: var(--secondary);
  font-size: 1.5rem;
  margin: 30px 0 20px;
}

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

pre {
  background: #f8f8f8;
  border-radius: 8px;
  padding: 20px;
  margin: 20px 0;
  overflow-x: auto;
  box-shadow: inset 0 0 10px rgba(0,0,0,0.05);
  border-left: 4px solid var(--primary);
}

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

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

.card {
  background: white;
  border-radius: 12px;
  padding: 25px;
  box-shadow: 0 5px 15px rgba(0,0,0,0.1);
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}

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

.card-img {
  height: 180px;
  width: 100%;
  object-fit: cover;
  border-radius: 8px;
  margin-bottom: 20px;
  box-shadow: 0 4px 8px rgba(0,0,0,0.1);
  transition: all 0.3s ease;
}

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

.button {
  display: inline-block;
  background: linear-gradient(45deg, var(--primary), var(--highlight));
  color: white;
  padding: 12px 25px;
  border-radius: 30px;
  text-decoration: none;
  font-weight: 500;
  margin: 10px 0;
  border: none;
  cursor: pointer;
  transition: all 0.3s ease;
  box-shadow: 0 4px 8px rgba(0,0,0,0.1);
}

.button:hover {
  background: linear-gradient(45deg, var(--highlight), var(--primary));
  box-shadow: 0 6px 12px rgba(0,0,0,0.15);
  transform: translateY(-2px);
}

.table-container {
  overflow-x: auto;
  margin: 30px 0;
}

table {
  width: 100%;
  border-collapse: collapse;
  margin: 20px 0;
  box-shadow: 0 2px 10px rgba(0,0,0,0.05);
}

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

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

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

tr:hover {
  background-color: #f1f1f1;
}

.footer {
  text-align: center;
  padding: 30px;
  margin-top: 50px;
  background: rgba(255,255,255,0.8);
  border-top: 1px solid rgba(0,0,0,0.1);
}

.nav-tabs {
  display: flex;
  justify-content: center;
  margin: 40px 0;
  flex-wrap: wrap;
}

.nav-tabs a {
  margin: 0 15px;
  padding: 10px 20px;
  text-decoration: none;
  color: var(--dark);
  font-weight: 500;
  border-radius: 30px;
  transition: all 0.3s ease;
}

.nav-tabs a:hover {
  background: rgba(143, 188, 143, 0.2);
  color: var(--primary);
}

@media (max-width: 768px) {
  .header h1 {
    font-size: 2rem;
  }
  
  article {
    padding: 25px;
  }
  
  .card-grid {
    grid-template-columns: 1fr;
  }
  
  .nav-tabs {
    flex-direction: column;
    align-items: center;
  }
  
  .nav-tabs a {
    margin: 5px 0;
  }
}

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

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