
:root {
  --primary: #032B44;
  --secondary: #000000;
  --accent: #00ADEF;
  --highlight: #39FF14;
  --text-light: #f8f9fa;
  --text-dark: #212529;
  --transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
}

@import url('https://fonts.googleapis.com/css2?family=Oswald:wght@700&family=Roboto:wght@400;700&display=swap');

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

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

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

/* Header Styles */
.header {
  background: linear-gradient(90deg, var(--primary), var(--accent));
  padding: 2rem 0;
  text-align: center;
  position: relative;
  overflow: hidden;
  margin-bottom: 3rem;
}

.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 h1 {
  font-family: 'Oswald', sans-serif;
  font-size: 3rem;
  color: var(--highlight);
  text-shadow: 0 0 10px rgba(57, 255, 20, 0.5);
  position: relative;
  z-index: 1;
  margin-bottom: 1rem;
}

.header p {
  font-size: 1.2rem;
  max-width: 800px;
  margin: 0 auto;
  position: relative;
  z-index: 1;
}

.notice {
  background: rgba(0, 0, 0, 0.7);
  padding: 1rem;
  border-radius: 8px;
  margin-top: 2rem;
  display: inline-block;
  border: 1px solid var(--highlight);
  box-shadow: 0 0 15px rgba(57, 255, 20, 0.3);
}

/* Navigation */
.navbar {
  position: sticky;
  top: 0;
  background: rgba(3, 43, 68, 0.95);
  backdrop-filter: blur(10px);
  z-index: 1000;
  padding: 1rem 0;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
}

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

.nav-logo {
  font-family: 'Oswald', sans-serif;
  font-size: 1.5rem;
  color: var(--highlight);
  text-decoration: none;
}

.nav-menu {
  display: flex;
  list-style: none;
}

.nav-item {
  margin-left: 2rem;
}

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

.nav-link:hover {
  color: var(--highlight);
  background: rgba(0, 173, 239, 0.1);
}

/* Article Content */
.article-container {
  display: grid;
  grid-template-columns: 1fr 300px;
  gap: 2rem;
  margin: 3rem 0;
}

@media (max-width: 992px) {
  .article-container {
    grid-template-columns: 1fr;
  }
}

article {
  background: rgba(0, 0, 0, 0.5);
  padding: 2rem;
  border-radius: 12px;
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.3);
  backdrop-filter: blur(10px);
}

article h2 {
  font-family: 'Oswald', sans-serif;
  color: var(--accent);
  font-size: 2rem;
  margin-bottom: 1.5rem;
  position: relative;
  padding-bottom: 0.5rem;
}

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

article h3 {
  font-family: 'Oswald', sans-serif;
  color: var(--highlight);
  font-size: 1.5rem;
  margin: 2rem 0 1rem;
}

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

/* Code Blocks */
pre {
  background: rgba(0, 0, 0, 0.7);
  border-left: 4px solid var(--highlight);
  border-radius: 0 8px 8px 0;
  padding: 1.5rem;
  margin: 2rem 0;
  overflow: auto;
  font-family: 'Roboto Mono', monospace;
  font-size: 0.9rem;
  line-height: 1.5;
}

code {
  color: var(--highlight);
}

/* Sidebar */
.sidebar {
  position: sticky;
  top: 100px;
  height: fit-content;
}

.sidebar-card {
  background: rgba(0, 0, 0, 0.5);
  border-radius: 12px;
  padding: 1.5rem;
  margin-bottom: 2rem;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
  backdrop-filter: blur(10px);
  transition: var(--transition);
}

.sidebar-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 12px 25px rgba(0, 0, 0, 0.4);
}

.sidebar-card h3 {
  font-family: 'Oswald', sans-serif;
  color: var(--accent);
  margin-bottom: 1rem;
  font-size: 1.3rem;
}

.sidebar-card ul {
  list-style: none;
}

.sidebar-card li {
  margin-bottom: 0.8rem;
  position: relative;
  padding-left: 1.5rem;
}

.sidebar-card li::before {
  content: '→';
  position: absolute;
  left: 0;
  color: var(--highlight);
}

.sidebar-card a {
  color: var(--text-light);
  text-decoration: none;
  transition: var(--transition);
}

.sidebar-card a:hover {
  color: var(--highlight);
}

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

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

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

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

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

/* Footer */
.footer {
  background: linear-gradient(90deg, var(--primary), var(--secondary));
  padding: 3rem 0;
  margin-top: 5rem;
  text-align: center;
}

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

.footer-links {
  display: flex;
  justify-content: center;
  list-style: none;
  margin-bottom: 2rem;
}

.footer-links li {
  margin: 0 1rem;
}

.footer-links a {
  color: var(--text-light);
  text-decoration: none;
  transition: var(--transition);
}

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

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

@keyframes slideInUp {
  from {
    transform: translateY(50px);
    opacity: 0;
  }
  to {
    transform: translateY(0);
    opacity: 1;
  }
}

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

.animate-up {
  animation: slideInUp 0.8s ease forwards;
}

/* Responsive */
@media (max-width: 768px) {
  .header h1 {
    font-size: 2rem;
  }
  
  .nav-container {
    flex-direction: column;
  }
  
  .nav-menu {
    margin-top: 1rem;
  }
  
  .nav-item {
    margin-left: 1rem;
  }
  
  article h2 {
    font-size: 1.5rem;
  }
  
  article h3 {
    font-size: 1.2rem;
  }
  
  .image-gallery {
    grid-template-columns: 1fr;
  }
}

