
:root {
  --primary: #1E90FF;
  --secondary: #8A2BE2;
  --accent: #FFD700;
  --light: #F0F0F0;
  --dark: #1A1A2E;
  --text: #333333;
  --white: #FFFFFF;
  --transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
}

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

body {
  font-family: 'Roboto', sans-serif;
  line-height: 1.6;
  color: var(--text);
  background: linear-gradient(135deg, var(--light) 0%, var(--white) 100%);
  overflow-x: hidden;
}

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

/* Header Styles */
.header {
  background: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%);
  color: var(--white);
  padding: 2rem 0;
  position: relative;
  overflow: hidden;
  box-shadow: 0 4px 30px rgba(0, 0, 0, 0.1);
}

.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;
  z-index: 0;
}

.header-content {
  position: relative;
  z-index: 1;
  text-align: center;
  padding: 4rem 0;
}

.header h1 {
  font-size: 3.5rem;
  margin-bottom: 1.5rem;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
}

.header p {
  font-size: 1.2rem;
  max-width: 800px;
  margin: 0 auto 2rem;
}

.notice {
  background-color: rgba(255, 255, 255, 0.2);
  padding: 1rem;
  border-radius: 8px;
  display: inline-block;
  margin-top: 2rem;
  backdrop-filter: blur(5px);
}

/* Navigation */
.nav {
  display: flex;
  justify-content: center;
  padding: 1rem 0;
  background-color: rgba(30, 144, 255, 0.9);
  position: sticky;
  top: 0;
  z-index: 1000;
  box-shadow: 0 2px 20px rgba(0, 0, 0, 0.1);
}

.nav-list {
  display: flex;
  list-style: none;
  gap: 2rem;
}

.nav-link {
  color: var(--white);
  text-decoration: none;
  font-weight: 500;
  padding: 0.5rem 1rem;
  border-radius: 4px;
  transition: var(--transition);
}

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

/* Article Styles */
.article {
  padding: 4rem 0;
}

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

.article h2::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100px;
  height: 4px;
  background: linear-gradient(90deg, var(--primary), var(--secondary));
  border-radius: 2px;
}

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

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

/* Code Blocks */
pre {
  background: var(--dark);
  color: var(--light);
  padding: 1.5rem;
  border-radius: 8px;
  overflow-x: auto;
  margin: 2rem 0;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
  position: relative;
}

pre::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 30px;
  background: rgba(255, 255, 255, 0.1);
  border-top-left-radius: 8px;
  border-top-right-radius: 8px;
}

code {
  font-family: 'Courier New', monospace;
  font-size: 0.9rem;
}

/* Image Gallery */
.gallery {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
  margin: 3rem 0;
}

.gallery-item {
  position: relative;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
  transition: var(--transition);
}

.gallery-item:hover {
  transform: translateY(-10px);
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.2);
}

.gallery-img {
  width: 100%;
  height: 300px;
  object-fit: cover;
  display: block;
}

/* Cards */
.card-container {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
  margin: 3rem 0;
}

.card {
  background: var(--white);
  border-radius: 12px;
  padding: 2rem;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
  transition: var(--transition);
}

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

.card h4 {
  color: var(--primary);
  margin-bottom: 1rem;
  font-size: 1.3rem;
}

.card p {
  color: var(--text);
  margin-bottom: 1.5rem;
}

/* Footer */
.footer {
  background: linear-gradient(135deg, var(--dark) 0%, #16213E 100%);
  color: var(--white);
  padding: 3rem 0;
  text-align: center;
}

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

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

.animate {
  animation: fadeIn 0.8s ease forwards;
}

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

/* Responsive */
@media (max-width: 768px) {
  .header h1 {
    font-size: 2.5rem;
  }
  
  .nav-list {
    flex-direction: column;
    gap: 0.5rem;
    align-items: center;
  }
  
  .gallery {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 480px) {
  .header h1 {
    font-size: 2rem;
  }
  
  .article h2 {
    font-size: 2rem;
  }
  
  .article h3 {
    font-size: 1.5rem;
  }
}

