
:root {
  --primary-color: #6a11cb;
  --secondary-color: #2575fc;
  --accent-color: #ff6f61;
  --highlight-color: #3eb489;
  --background-color: #f5f7fa;
  --text-color: #333;
  --light-color: #fff;
  --dark-color: #1a1a2e;
  --shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
  --transition: all 0.3s ease;
}

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

body {
  font-family: 'Roboto', sans-serif;
  line-height: 1.6;
  color: var(--text-color);
  background: linear-gradient(135deg, var(--background-color) 70%, var(--primary-color) 25%, var(--secondary-color) 5%);
  overflow-x: hidden;
}

header {
  position: fixed;
  top: 0;
  width: 100%;
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(10px);
  box-shadow: var(--shadow);
  z-index: 1000;
  padding: 1rem 2rem;
}

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

.logo {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--primary-color);
  text-decoration: none;
}

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

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

.nav-links a::after {
  content: '';
  position: absolute;
  width: 0;
  height: 2px;
  background: var(--accent-color);
  bottom: 0;
  left: 0;
  transition: var(--transition);
}

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

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

.banner {
  height: 60vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 0 2rem;
  margin-top: 5rem;
  background: linear-gradient(rgba(106, 17, 203, 0.1), rgba(37, 117, 252, 0.1)), url('https://images.gptkong.com/demo/sample1.png') center/cover no-repeat;
  border-radius: 0 0 2rem 2rem;
  position: relative;
  overflow: hidden;
}

.banner::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: radial-gradient(circle, transparent 20%, rgba(255, 255, 255, 0.1) 20%, rgba(255, 255, 255, 0.1) 80%, transparent 80%, transparent);
  background-size: 3em 3em;
  opacity: 0.1;
  animation: movePattern 30s linear infinite;
}

@keyframes movePattern {
  0% { background-position: 0 0; }
  100% { background-position: 3em 3em; }
}

.banner-content {
  max-width: 800px;
  position: relative;
  z-index: 1;
}

.banner h1 {
  font-size: 3rem;
  margin-bottom: 1rem;
  color: var(--light-color);
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
}

.banner p {
  font-size: 1.2rem;
  margin-bottom: 2rem;
  color: var(--light-color);
}

.notice {
  background: rgba(255, 255, 255, 0.2);
  padding: 1rem;
  border-radius: 0.5rem;
  margin: 2rem auto;
  max-width: 1200px;
  text-align: center;
  backdrop-filter: blur(5px);
  border: 1px solid rgba(255, 255, 255, 0.3);
}

.main-container {
  max-width: 1400px;
  margin: 3rem auto;
  padding: 0 2rem;
}

article {
  background: var(--light-color);
  border-radius: 1rem;
  padding: 3rem;
  box-shadow: var(--shadow);
  margin-bottom: 3rem;
}

article h2 {
  font-size: 2rem;
  margin-bottom: 1.5rem;
  color: var(--primary-color);
  position: relative;
  padding-bottom: 0.5rem;
}

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

article h3 {
  font-size: 1.5rem;
  margin: 2rem 0 1rem;
  color: var(--secondary-color);
}

article p {
  margin-bottom: 1.5rem;
  font-size: 1.1rem;
  line-height: 1.8;
}

table {
  width: 100%;
  margin: 2rem 0;
  border-collapse: collapse;
  box-shadow: var(--shadow);
  border-radius: 0.5rem;
  overflow: hidden;
}

table thead {
  background: linear-gradient(to right, var(--primary-color), var(--secondary-color));
  color: var(--light-color);
}

table th {
  padding: 1rem;
  text-align: left;
}

table td {
  padding: 1rem;
  background: var(--light-color);
  border-bottom: 1px solid rgba(0, 0, 0, 0.1);
}

pre {
  background: #282c34;
  color: #abb2bf;
  padding: 1.5rem;
  border-radius: 0.5rem;
  overflow-x: auto;
  font-family: 'Courier New', Courier, monospace;
  font-size: 0.9rem;
  line-height: 1.5;
  margin: 1rem 0;
}

code {
  font-family: 'Courier New', Courier, monospace;
  background: rgba(106, 17, 203, 0.1);
  padding: 0.2rem 0.4rem;
  border-radius: 0.2rem;
  color: var(--primary-color);
}

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

.image-card {
  position: relative;
  border-radius: 1rem;
  overflow: hidden;
  box-shadow: var(--shadow);
  transition: var(--transition);
}

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

.image-card img {
  width: 100%;
  height: 300px;
  object-fit: cover;
  transition: var(--transition);
}

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

.image-card::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.7), transparent);
  opacity: 0;
  transition: var(--transition);
}

.image-card:hover::after {
  opacity: 1;
}

footer {
  background: linear-gradient(to right, var(--primary-color), var(--secondary-color));
  color: var(--light-color);
  padding: 3rem 2rem;
  text-align: center;
}

.footer-content {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 2rem;
  text-align: left;
}

.footer-section h3 {
  margin-bottom: 1.5rem;
  position: relative;
  padding-bottom: 0.5rem;
}

.footer-section h3::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 50px;
  height: 2px;
  background: var(--accent-color);
}

.footer-section p {
  margin-bottom: 1rem;
  opacity: 0.8;
}

.footer-section a {
  color: var(--light-color);
  text-decoration: none;
  display: block;
  margin-bottom: 0.5rem;
  transition: var(--transition);
  opacity: 0.8;
}

.footer-section a:hover {
  opacity: 1;
  padding-left: 0.5rem;
}

.copyright {
  margin-top: 3rem;
  padding-top: 1.5rem;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  opacity: 0.7;
}

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

/* Animations */
@keyframes float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-20px); }
}

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

/* Theme toggle */
.theme-toggle {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background: var(--accent-color);
  color: var(--light-color);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  z-index: 1000;
  transition: var(--transition);
}

.theme-toggle:hover {
  transform: scale(1.1);
}

/* Dark theme */
body.dark-theme {
  --background-color: #121212;
  --text-color: #f0f0f0;
  --light-color: #f0f0f0;
  --shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
}

body.dark-theme article {
  background: #1e1e1e;
}

body.dark-theme table td {
  background: #2d2d2d;
  color: var(--light-color);
}

body.dark-theme code {
  background: rgba(106, 17, 203, 0.3);
}

