
:root {
  --primary: #4B0082;
  --secondary: #8B4513;
  --accent: #FFD700;
  --dark: #00008B;
  --light: #FFFFFF;
  --bg-gradient: linear-gradient(135deg, var(--secondary), var(--dark));
  --font-main: 'Roboto Slab', serif;
  --font-accent: 'Pacifico', cursive;
}

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

body {
  font-family: var(--font-main);
  background: var(--bg-gradient);
  color: var(--light);
  line-height: 1.6;
  overflow-x: hidden;
  padding-top: 80px;
}

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

.header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  background: rgba(0, 0, 0, 0.8);
  backdrop-filter: blur(10px);
  z-index: 1000;
  padding: 15px 0;
  box-shadow: 0 4px 30px rgba(0, 0, 0, 0.3);
}

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

.logo {
  font-family: var(--font-accent);
  font-size: 1.8rem;
  color: var(--accent);
  text-shadow: 0 0 10px rgba(255, 215, 0, 0.5);
}

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

.nav-links a {
  color: var(--light);
  text-decoration: none;
  font-weight: 500;
  position: relative;
  padding: 5px 0;
  transition: all 0.3s ease;
}

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

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

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

.hero {
  height: 500px;
  display: flex;
  align-items: center;
  position: relative;
  overflow: hidden;
  margin-bottom: 60px;
}

.hero::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.2;
  z-index: -1;
}

.hero-content {
  max-width: 600px;
}

.hero h1 {
  font-size: 3rem;
  margin-bottom: 20px;
  color: var(--accent);
  text-shadow: 0 0 15px rgba(255, 215, 0, 0.7);
}

.hero p {
  font-size: 1.2rem;
  margin-bottom: 30px;
}

.notice {
  background: rgba(255, 255, 255, 0.1);
  padding: 15px;
  border-radius: 8px;
  border-left: 4px solid var(--accent);
  margin: 40px 0;
  font-size: 0.9rem;
}

.notice strong {
  color: var(--accent);
}

article {
  background: rgba(0, 0, 0, 0.5);
  backdrop-filter: blur(10px);
  border-radius: 15px;
  padding: 40px;
  margin-bottom: 60px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

article h2 {
  font-size: 2.2rem;
  color: var(--accent);
  margin-bottom: 30px;
  position: relative;
  padding-bottom: 15px;
}

article h2::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100px;
  height: 3px;
  background: var(--accent);
}

article h3 {
  font-size: 1.8rem;
  color: var(--light);
  margin: 30px 0 20px;
  position: relative;
  padding-left: 15px;
}

article h3::before {
  content: '';
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 5px;
  height: 70%;
  background: var(--accent);
  border-radius: 5px;
}

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

article em {
  font-style: italic;
  color: var(--accent);
}

article pre {
  background: rgba(0, 0, 0, 0.3);
  border-radius: 8px;
  padding: 20px;
  margin: 20px 0;
  overflow: auto;
  border-left: 4px solid var(--accent);
}

article code {
  font-family: 'Courier New', monospace;
  color: var(--light);
}

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

.image-card {
  position: relative;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
  transition: transform 0.3s ease;
}

.image-card:hover {
  transform: translateY(-10px);
}

.image-card img {
  width: 100%;
  height: auto;
  display: block;
  transition: transform 0.5s ease;
}

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

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

.footer {
  background: rgba(0, 0, 0, 0.8);
  padding: 30px 0;
  text-align: center;
  margin-top: 60px;
}

.footer p {
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.7);
}

.star {
  position: absolute;
  width: 2px;
  height: 2px;
  background: var(--light);
  border-radius: 50%;
  animation: starMove 50s linear infinite;
}

@keyframes starMove {
  from { transform: translateY(0); }
  to { transform: translateY(-100px); }
}

@media (max-width: 768px) {
  .header-content {
    flex-direction: column;
    gap: 15px;
  }
  
  .nav-links {
    gap: 15px;
  }
  
  article {
    padding: 20px;
  }
  
  article h2 {
    font-size: 1.8rem;
  }
  
  article h3 {
    font-size: 1.5rem;
  }
}

@media (max-width: 480px) {
  .hero h1 {
    font-size: 2.2rem;
  }
  
  .image-grid {
    grid-template-columns: 1fr;
  }
}

