
:root {
  --primary-dark: #0f2027;
  --primary-darker: #203a43;
  --primary-light: #2c5364;
  --accent-blue: #00c6ff;
  --accent-green: #00ff7f;
  --accent-purple: #8a2be2;
  --text-light: #ffffff;
  --text-dim: rgba(255,255,255,0.7);
  --card-bg: rgba(255, 255, 255, 0.1);
  --transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
}

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

.header-banner {
  position: relative;
  height: 400px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  margin-bottom: 60px;
}

.header-banner::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;
  filter: blur(8px) brightness(0.6);
  z-index: -1;
}

.header-content {
  text-align: center;
  max-width: 800px;
  padding: 40px;
  backdrop-filter: blur(10px);
  background: rgba(0, 0, 0, 0.4);
  border-radius: 20px;
  border: 1px solid rgba(255,255,255,0.1);
  box-shadow: 0 10px 30px rgba(0,0,0,0.3);
}

h1 {
  font-size: 3rem;
  margin: 0;
  background: linear-gradient(90deg, var(--accent-blue), var(--accent-green));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  text-shadow: 0 2px 10px rgba(0,0,0,0.2);
}

.subtitle {
  font-size: 1.2rem;
  color: var(--text-dim);
  margin: 20px 0;
}

.navbar {
  position: sticky;
  top: 0;
  backdrop-filter: blur(10px);
  background: rgba(0, 0, 0, 0.7);
  display: flex;
  justify-content: center;
  padding: 15px 0;
  z-index: 1000;
  border-bottom: 1px solid rgba(255,255,255,0.1);
}

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

.nav-links a {
  color: var(--text-dim);
  text-decoration: none;
  font-size: 1.1rem;
  font-weight: 500;
  transition: var(--transition);
  position: relative;
  padding: 5px 0;
}

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

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

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

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

.article-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(600px, 1fr));
  gap: 40px;
  margin-bottom: 80px;
}

.article-card {
  background: var(--card-bg);
  backdrop-filter: blur(5px);
  border-radius: 15px;
  padding: 30px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
  transition: var(--transition);
  border: 1px solid rgba(255,255,255,0.05);
}

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

h2 {
  font-size: 2rem;
  margin-top: 0;
  color: var(--accent-blue);
  position: relative;
  padding-bottom: 10px;
}

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

h3 {
  font-size: 1.5rem;
  color: var(--accent-green);
  margin: 25px 0 15px;
}

p {
  font-size: 1.1rem;
  color: var(--text-dim);
  margin-bottom: 20px;
}

.code-container {
  background: rgba(0, 0, 0, 0.3);
  border-radius: 10px;
  padding: 20px;
  margin: 25px 0;
  border-left: 4px solid var(--accent-blue);
  overflow: hidden;
}

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

code {
  font-family: inherit;
}

.image-gallery {
  display: grid;
  grid-template-columns: repeat(3, 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: var(--transition);
  aspect-ratio: 1;
}

.gallery-item:hover {
  transform: scale(1.05);
  box-shadow: 0 10px 25px rgba(0,0,0,0.3);
}

.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: var(--transition);
}

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

table {
  width: 100%;
  border-collapse: collapse;
  margin: 30px 0;
  background: rgba(0, 0, 0, 0.2);
  backdrop-filter: blur(5px);
  border-radius: 10px;
  overflow: hidden;
}

th, td {
  padding: 15px;
  text-align: left;
  border-bottom: 1px solid rgba(255,255,255,0.1);
}

th {
  background: rgba(0, 198, 255, 0.1);
  color: var(--accent-blue);
  font-weight: 500;
}

tr:hover {
  background: rgba(255,255,255,0.05);
}

.footer {
  text-align: center;
  padding: 40px 0;
  margin-top: 80px;
  border-top: 1px solid rgba(255,255,255,0.1);
  color: var(--text-dim);
  font-size: 0.9rem;
}

.notice {
  position: fixed;
  bottom: 20px;
  left: 20px;
  background: rgba(0, 0, 0, 0.7);
  padding: 10px 20px;
  border-radius: 30px;
  font-size: 0.9rem;
  backdrop-filter: blur(5px);
  z-index: 1000;
  border: 1px solid rgba(255,255,255,0.1);
}

.theme-toggle {
  position: fixed;
  bottom: 20px;
  right: 20px;
  background: var(--accent-blue);
  color: white;
  border: none;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  box-shadow: 0 5px 15px rgba(0,0,0,0.3);
  z-index: 1000;
  transition: var(--transition);
}

.theme-toggle:hover {
  transform: scale(1.1);
}

@media (max-width: 768px) {
  .article-grid {
    grid-template-columns: 1fr;
  }
  
  .image-gallery {
    grid-template-columns: repeat(2, 1fr);
  }
  
  h1 {
    font-size: 2rem;
  }
  
  .header-banner {
    height: 300px;
  }
}

@media (max-width: 480px) {
  .image-gallery {
    grid-template-columns: 1fr;
  }
  
  .nav-links {
    gap: 15px;
    font-size: 0.9rem;
  }
}

