
:root {
  --primary-green-light: #81C784;
  --primary-green-dark: #388E3C;
  --secondary-brown: #A1887F;
  --background-beige: #FFFDE7;
  --accent-orange: #FFB74D;
  --accent-blue: #2196F3;
  --text-dark: #333;
  --text-light: #f5f5f5;
  --shadow-sm: 0 2px 4px rgba(0,0,0,0.1);
  --shadow-md: 0 4px 6px rgba(0,0,0,0.1);
  --shadow-lg: 0 8px 16px rgba(0,0,0,0.2);
  --radius-sm: 4px;
  --radius-md: 8px;
  --radius-lg: 12px;
  --transition: all 0.3s ease;
}

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

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

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

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

.header {
  background: linear-gradient(45deg, var(--primary-green-light), var(--primary-green-dark));
  padding: 20px 0;
  box-shadow: var(--shadow-md);
  position: relative;
  z-index: 10;
}

.header::after {
  content: '';
  position: absolute;
  bottom: -10px;
  left: 0;
  width: 100%;
  height: 10px;
  background: linear-gradient(to right, 
    var(--primary-green-light) 0%,
    var(--accent-orange) 50%,
    var(--primary-green-dark) 100%);
  opacity: 0.7;
}

.nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo {
  font-family: 'Great Vibes', cursive;
  font-size: 2rem;
  color: white;
  text-shadow: 2px 2px 4px rgba(0,0,0,0.2);
}

.nav-links {
  display: flex;
  gap: 20px;
}

.nav-links a {
  color: white;
  text-decoration: none;
  font-weight: 500;
  padding: 8px 12px;
  border-radius: var(--radius-sm);
  transition: var(--transition);
}

.nav-links a:hover {
  background-color: rgba(255,255,255,0.2);
}

.banner {
  background: url('https://images.gptkong.com/demo/sample1.png') center/cover no-repeat;
  height: 400px;
  border-radius: var(--radius-md);
  margin: 30px 0;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: var(--shadow-lg);
}

.banner::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0,0,0,0.3);
  border-radius: var(--radius-md);
}

.banner-content {
  position: relative;
  z-index: 1;
  color: white;
  text-align: center;
  padding: 20px;
  max-width: 800px;
}

.banner h1 {
  font-family: 'Great Vibes', cursive;
  font-size: 3rem;
  margin-bottom: 20px;
  text-shadow: 2px 2px 4px rgba(0,0,0,0.5);
}

.banner p {
  font-size: 1.2rem;
  margin-bottom: 20px;
}

.notice {
  background-color: var(--accent-orange);
  color: white;
  padding: 15px;
  text-align: center;
  margin-bottom: 30px;
  border-radius: var(--radius-sm);
  box-shadow: var(--shadow-sm);
}

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

article h2 {
  font-family: 'Great Vibes', cursive;
  color: var(--primary-green-dark);
  font-size: 2rem;
  margin-bottom: 20px;
  position: relative;
  padding-bottom: 10px;
}

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

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

pre {
  background-color: #f5f5f5;
  padding: 20px;
  border-radius: var(--radius-sm);
  margin: 20px 0;
  overflow: auto;
}

code {
  font-family: monospace;
  color: var(--primary-green-dark);
}

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

.card {
  background-color: white;
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
}

.card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-lg);
}

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

.card-content {
  padding: 20px;
}

.card h3 {
  font-family: 'Great Vibes', cursive;
  color: var(--primary-green-dark);
  margin-bottom: 10px;
  font-size: 1.5rem;
}

.footer {
  background: linear-gradient(to right, var(--primary-green-dark), var(--secondary-brown));
  color: white;
  padding: 30px 0;
  text-align: center;
  margin-top: 50px;
}

.footer p {
  margin-bottom: 10px;
}

.footer-links {
  display: flex;
  justify-content: center;
  gap: 20px;
  margin-top: 20px;
}

.footer-links a {
  color: white;
  text-decoration: none;
  transition: var(--transition);
}

.footer-links a:hover {
  color: var(--accent-orange);
}

@media (max-width: 768px) {
  .nav {
    flex-direction: column;
    gap: 15px;
  }
  
  .nav-links {
    flex-wrap: wrap;
    justify-content: center;
  }
  
  .banner h1 {
    font-size: 2rem;
  }
  
  article {
    padding: 20px;
  }
}

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

.fade-in {
  animation: fadeIn 1s ease forwards;
}

.delay-1 { animation-delay: 0.2s; }
.delay-2 { animation-delay: 0.4s; }
.delay-3 { animation-delay: 0.6s; }

/* Interactive elements */
.button {
  display: inline-block;
  padding: 12px 24px;
  background: linear-gradient(to right, var(--primary-green-light), var(--primary-green-dark));
  color: white;
  border: none;
  border-radius: var(--radius-sm);
  font-weight: 500;
  cursor: pointer;
  transition: var(--transition);
  box-shadow: var(--shadow-sm);
  text-decoration: none;
}

.button:hover {
  background: linear-gradient(to right, var(--accent-orange), var(--accent-blue));
  box-shadow: var(--shadow-md);
  transform: translateY(-2px);
}

/* Image decorations */
.decorative-img {
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-md);
  transition: var(--transition);
  margin: 20px 0;
}

.decorative-img:hover {
  transform: scale(1.02);
  box-shadow: var(--shadow-lg);
}

/* Code block styling */
pre code {
  display: block;
  padding: 15px;
  background: #282c34;
  color: #abb2bf;
  border-radius: var(--radius-sm);
  overflow-x: auto;
  font-size: 0.9rem;
  line-height: 1.5;
}

/* Section styling */
.section {
  margin-bottom: 40px;
  padding: 30px;
  background-color: white;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-sm);
}

.section-title {
  font-family: 'Great Vibes', cursive;
  color: var(--primary-green-dark);
  font-size: 1.8rem;
  margin-bottom: 20px;
  text-align: center;
}

/* Grid layout for content */
.content-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 30px;
}

@media (min-width: 992px) {
  .content-grid {
    grid-template-columns: 1fr 1fr;
  }
}

/* Floating elements */
.float-right {
  float: right;
  margin-left: 30px;
  margin-bottom: 20px;
}

.float-left {
  float: left;
  margin-right: 30px;
  margin-bottom: 20px;
}

/* Clearfix */
.clearfix::after {
  content: "";
  display: table;
  clear: both;
}

