
:root {
  --primary: #0a1f44;
  --secondary: #1a3a7a;
  --accent: #00c6ff;
  --highlight: #0072ff;
  --text: #ffffff;
  --card-bg: rgba(255, 255, 255, 0.1);
  --card-border: rgba(255, 255, 255, 0.2);
}

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

body {
  background: var(--primary);
  color: var(--text);
  font-family: 'Helvetica Neue', Arial, sans-serif;
  line-height: 1.6;
  overflow-x: hidden;
  position: relative;
}

body::before {
  content: '';
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: url('data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHdpZHRoPSIxMDAiIGhlaWdodD0iMTAwIj48cGF0aCBkPSJNMCwwIEwxMDAsMTAwIiBzdHJva2U9IiMwMGM2ZmYiIHN0cm9rZS13aWR0aD0iMiIvPjwvc3ZnPg==') repeat;
  opacity: 0.05;
  animation: moveLines 20s linear infinite;
  z-index: -1;
}

@keyframes moveLines {
  from { background-position: 0 0; }
  to { background-position: 100% 100%; }
}

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

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

.header::after {
  content: '';
  display: block;
  width: 100px;
  height: 4px;
  background: linear-gradient(90deg, var(--accent), var(--highlight));
  margin: 20px auto;
  border-radius: 2px;
}

.header h1 {
  font-size: 2.5rem;
  margin-bottom: 20px;
  background: linear-gradient(90deg, var(--accent), var(--highlight));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  text-shadow: 0 2px 10px rgba(0, 198, 255, 0.3);
}

.notice {
  background: rgba(0, 198, 255, 0.1);
  border: 1px solid rgba(0, 198, 255, 0.3);
  border-radius: 8px;
  padding: 15px;
  margin: 30px auto;
  max-width: 800px;
  text-align: center;
  backdrop-filter: blur(5px);
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.notice p {
  color: var(--accent);
  font-weight: 500;
}

.article {
  background: rgba(10, 31, 68, 0.7);
  border-radius: 15px;
  padding: 40px;
  margin: 40px 0;
  backdrop-filter: blur(10px);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

.article h2 {
  font-size: 1.8rem;
  margin-bottom: 25px;
  color: var(--accent);
  position: relative;
  padding-bottom: 10px;
}

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

.article h3 {
  font-size: 1.4rem;
  margin: 30px 0 15px;
  color: var(--highlight);
}

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

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

pre {
  margin: 0;
  font-family: 'Courier New', monospace;
  font-size: 0.9rem;
  line-height: 1.5;
  color: #e1e1e1;
}

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

.gallery-item {
  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;
  position: relative;
}

.gallery-item:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 25px rgba(0, 198, 255, 0.3);
}

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

.gallery-item:hover img {
  transform: scale(1.05);
}

.example-card {
  background: var(--card-bg);
  border: 1px solid var(--card-border);
  border-radius: 10px;
  padding: 25px;
  margin: 25px 0;
  backdrop-filter: blur(5px);
  transition: all 0.3s ease;
}

.example-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 25px rgba(0, 198, 255, 0.2);
}

.example-card h4 {
  color: var(--highlight);
  margin-bottom: 15px;
  font-size: 1.2rem;
}

.example-card p {
  margin-bottom: 15px;
}

.features {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 15px;
}

.feature-tag {
  background: rgba(0, 198, 255, 0.1);
  color: var(--accent);
  padding: 5px 10px;
  border-radius: 20px;
  font-size: 0.8rem;
}

.footer {
  text-align: center;
  padding: 40px 0;
  margin-top: 60px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

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

.nav-links a {
  color: var(--accent);
  text-decoration: none;
  transition: color 0.3s ease;
  position: relative;
}

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

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

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

@media (max-width: 768px) {
  .article {
    padding: 30px 20px;
  }
  
  .header h1 {
    font-size: 2rem;
  }
  
  .gallery {
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
  }
}

@media (max-width: 480px) {
  .article {
    padding: 25px 15px;
  }
  
  .header h1 {
    font-size: 1.8rem;
  }
  
  .nav-links {
    flex-direction: column;
    gap: 10px;
  }
}

/* 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; }

/* Scroll indicator */
.scroll-indicator {
  position: fixed;
  bottom: 30px;
  left: 50%;
  transform: translateX(-50%);
  width: 40px;
  height: 60px;
  border: 2px solid var(--accent);
  border-radius: 20px;
  opacity: 0.7;
  cursor: pointer;
  z-index: 100;
}

.scroll-indicator::before {
  content: '';
  position: absolute;
  top: 10px;
  left: 50%;
  width: 6px;
  height: 6px;
  background: var(--accent);
  border-radius: 50%;
  transform: translateX(-50%);
  animation: scrollDown 2s infinite;
}

@keyframes scrollDown {
  0% { top: 10px; opacity: 1; }
  100% { top: 30px; opacity: 0; }
}

