
:root {
  --primary: #0f2027;
  --secondary: #203a43;
  --accent: #00c6ff;
  --highlight: #0072ff;
  --text: #ffffff;
  --card-bg: rgba(32, 58, 67, 0.8);
}

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

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

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

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

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

.header h1 {
  font-family: 'Orbitron', sans-serif;
  font-size: 2.8rem;
  margin-bottom: 20px;
  color: var(--accent);
  text-shadow: 0 0 10px rgba(0, 198, 255, 0.5);
}

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

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

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

.nav a {
  color: var(--text);
  text-decoration: none;
  padding: 10px 20px;
  border-radius: 30px;
  background: rgba(0, 198, 255, 0.2);
  transition: all 0.3s ease;
}

.nav a:hover {
  background: rgba(0, 198, 255, 0.4);
  transform: translateY(-3px);
}

article {
  background: rgba(15, 32, 39, 0.7);
  border-radius: 15px;
  padding: 40px;
  margin: 40px 0;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

article h2 {
  font-family: 'Orbitron', sans-serif;
  color: var(--accent);
  margin: 30px 0 20px;
  font-size: 1.8rem;
  position: relative;
  padding-bottom: 10px;
}

article h2::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100px;
  height: 3px;
  background: linear-gradient(90deg, var(--accent), transparent);
}

article h3 {
  font-family: 'Orbitron', sans-serif;
  color: var(--accent);
  margin: 25px 0 15px;
  font-size: 1.4rem;
}

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

.code-container {
  background: #0a1929;
  border-radius: 8px;
  padding: 20px;
  margin: 25px 0;
  overflow: hidden;
  position: relative;
}

.code-container::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 4px;
  height: 100%;
  background: linear-gradient(to bottom, var(--accent), var(--highlight));
}

pre {
  margin: 0;
  white-space: pre-wrap;
  font-family: 'Courier New', monospace;
  font-size: 0.95rem;
  line-height: 1.5;
}

code {
  color: #7fdbff;
}

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

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

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

.image-card img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 10px 10px 0 0;
}

.image-caption {
  padding: 15px;
  text-align: center;
}

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

.particle {
  position: fixed;
  width: 2px;
  height: 2px;
  background: rgba(255, 255, 255, 0.7);
  border-radius: 50%;
  animation: move 15s infinite linear;
  z-index: -1;
}

@keyframes move {
  0% { transform: translate(0, 0); }
  25% { transform: translate(100px, 100px); }
  50% { transform: translate(200px, 0); }
  75% { transform: translate(100px, -100px); }
  100% { transform: translate(0, 0); }
}

@media (max-width: 768px) {
  .header h1 {
    font-size: 2rem;
  }
  
  article {
    padding: 25px;
  }
  
  .image-grid {
    grid-template-columns: 1fr;
  }
}

/* Additional animations */
@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

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

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