
:root {
  --primary: #0f2027;
  --secondary: #203a43;
  --accent: #2c5364;
  --highlight: #00f;
  --text: #e0e0e0;
  --bg-gradient: linear-gradient(135deg, var(--primary), var(--secondary), var(--accent));
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: 'Montserrat', sans-serif;
}

body {
  background: var(--bg-gradient);
  color: var(--text);
  line-height: 1.6;
  padding: 0;
  overflow-x: hidden;
}

.header {
  position: relative;
  height: 80vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  padding: 0 20px;
  overflow: hidden;
}

.header::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: url('https://images.gptkong.com/demo/sample3.png') center/cover no-repeat;
  opacity: 0.2;
  z-index: -1;
}

.header h1 {
  font-size: 3.5rem;
  margin-bottom: 2rem;
  text-shadow: 0 0 10px rgba(0, 255, 255, 0.5);
  animation: neonGlow 2s infinite alternate;
}

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

.navbar {
  position: fixed;
  top: 0;
  width: 100%;
  background: rgba(32, 58, 67, 0.9);
  display: flex;
  justify-content: center;
  padding: 15px 0;
  z-index: 1000;
  backdrop-filter: blur(10px);
}

.nav-container {
  width: 100%;
  max-width: 1200px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0 20px;
}

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

.nav-links a {
  color: var(--text);
  text-decoration: none;
  font-size: 1rem;
  position: relative;
  transition: all 0.3s ease;
}

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

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

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

.main-content {
  max-width: 1200px;
  margin: 0 auto;
  padding: 100px 20px;
}

.article-container {
  background: rgba(15, 32, 39, 0.7);
  border-radius: 15px;
  padding: 40px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
  backdrop-filter: blur(5px);
}

article h2 {
  font-size: 2.2rem;
  margin-bottom: 1.5rem;
  color: var(--highlight);
  position: relative;
  padding-bottom: 10px;
}

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

article h3 {
  font-size: 1.8rem;
  margin: 2rem 0 1rem;
  color: #7fdbff;
}

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

.code-container {
  position: relative;
  margin: 2rem 0;
}

pre {
  background: rgba(0, 0, 0, 0.5);
  border-left: 4px solid var(--highlight);
  border-radius: 5px;
  padding: 20px;
  overflow-x: auto;
  font-family: 'Courier New', monospace;
  font-size: 0.9rem;
  line-height: 1.5;
  color: #7fdbff;
}

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

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

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

.gallery-item:hover {
  transform: translateY(-10px);
}

.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

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

.footer {
  background: rgba(32, 58, 67, 0.9);
  color: var(--text);
  padding: 60px 20px;
  text-align: center;
}

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

.notice {
  position: fixed;
  bottom: 20px;
  right: 20px;
  background: rgba(0, 0, 0, 0.7);
  color: white;
  padding: 10px 20px;
  border-radius: 5px;
  z-index: 1000;
  animation: float 3s ease-in-out infinite;
}

@keyframes neonGlow {
  0% {
    text-shadow: 0 0 5px #00f, 0 0 10px #00f;
  }
  50% {
    text-shadow: 0 0 10px #00f, 0 0 20px #00f, 0 0 30px #00f;
  }
  100% {
    text-shadow: 0 0 5px #00f, 0 0 10px #00f;
  }
}

@keyframes float {
  0% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-10px);
  }
  100% {
    transform: translateY(0);
  }
}

@media (max-width: 768px) {
  .header h1 {
    font-size: 2.5rem;
  }
  
  .nav-links {
    gap: 15px;
  }
  
  .main-content {
    padding: 80px 15px;
  }
  
  .article-container {
    padding: 30px;
  }
  
  article h2 {
    font-size: 1.8rem;
  }
  
  article h3 {
    font-size: 1.5rem;
  }
}

@media (max-width: 480px) {
  .header {
    height: 60vh;
  }
  
  .header h1 {
    font-size: 2rem;
  }
  
  .nav-container {
    flex-direction: column;
    gap: 15px;
  }
  
  .nav-links {
    flex-wrap: wrap;
    justify-content: center;
  }
  
  .image-gallery {
    grid-template-columns: 1fr;
  }
}

