
:root {
  --primary: #002366;
  --secondary: #ff6600;
  --accent: #00cc66;
  --bg-light: #f5f5dc;
  --bg-dark: #333333;
  --text-dark: #333333;
  --text-light: #ffffff;
  --transition: all 0.3s ease;
}

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

body {
  font-family: 'Roboto', sans-serif;
  line-height: 1.6;
  color: var(--text-dark);
  background: linear-gradient(135deg, var(--bg-light), #c0c0c0);
  min-height: 100%;
  overflow-x: hidden;
}

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

.header {
  position: relative;
  height: 80vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  background: linear-gradient(rgba(0, 35, 102, 0.7), rgba(0, 35, 102, 0.5)), 
              url('https://images.gptkong.com/demo/sample1.png') center/cover no-repeat;
  color: var(--text-light);
  margin-bottom: 60px;
  clip-path: polygon(0 0, 100% 0, 100% 85%, 0 100%);
}

.header-content {
  max-width: 800px;
  padding: 40px;
  background: rgba(0, 0, 0, 0.5);
  border-radius: 10px;
  backdrop-filter: blur(5px);
}

.header h1 {
  font-family: 'Georgia', serif;
  font-size: 3rem;
  margin-bottom: 20px;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.header p {
  font-size: 1.2rem;
  margin-bottom: 30px;
}

.note {
  position: fixed;
  top: 20px;
  right: 20px;
  background: var(--secondary);
  color: white;
  padding: 10px 15px;
  border-radius: 5px;
  z-index: 1000;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.main-content {
  display: grid;
  grid-template-columns: 250px 1fr;
  gap: 40px;
  margin-bottom: 60px;
}

.sidebar {
  position: sticky;
  top: 100px;
  height: fit-content;
  background: white;
  border-radius: 10px;
  padding: 20px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
}

.sidebar h3 {
  color: var(--primary);
  margin-bottom: 20px;
  padding-bottom: 10px;
  border-bottom: 2px solid var(--primary);
}

.sidebar ul {
  list-style: none;
}

.sidebar li {
  margin-bottom: 10px;
}

.sidebar a {
  color: var(--text-dark);
  text-decoration: none;
  transition: var(--transition);
  display: block;
  padding: 8px 0;
  border-bottom: 1px solid #eee;
}

.sidebar a:hover {
  color: var(--secondary);
  transform: translateX(5px);
}

.article-content {
  background: white;
  border-radius: 10px;
  padding: 40px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
}

.article-content h2 {
  color: var(--primary);
  font-family: 'Georgia', serif;
  font-size: 2rem;
  margin-bottom: 20px;
  padding-bottom: 10px;
  border-bottom: 2px solid var(--primary);
}

.article-content h3 {
  color: var(--primary);
  font-family: 'Georgia', serif;
  font-size: 1.5rem;
  margin: 30px 0 15px;
}

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

.article-content img {
  max-width: 100%;
  height: auto;
  border-radius: 8px;
  margin: 20px 0;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  transition: var(--transition);
}

.article-content img:hover {
  transform: scale(1.02);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

pre {
  background: #f8f8f8;
  border-radius: 8px;
  padding: 20px;
  margin: 20px 0;
  overflow: auto;
  font-family: 'Courier New', monospace;
  border-left: 4px solid var(--secondary);
}

code {
  font-family: 'Courier New', monospace;
  color: var(--primary);
}

table {
  width: 100%;
  border-collapse: collapse;
  margin: 20px 0;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

th, td {
  padding: 12px 15px;
  text-align: left;
  border-bottom: 1px solid #ddd;
}

th {
  background-color: var(--primary);
  color: white;
}

tr:nth-child(even) {
  background-color: #f2f2f2;
}

tr:hover {
  background-color: #f5f5f5;
}

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

.image-card {
  background: white;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  transition: var(--transition);
}

.image-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.2);
}

.image-card img {
  width: 100%;
  height: 200px;
  object-fit: cover;
}

.image-card p {
  padding: 15px;
  color: var(--text-dark);
}

.footer {
  background: var(--primary);
  color: white;
  padding: 40px 0;
  text-align: center;
  margin-top: 60px;
}

.footer p {
  margin-bottom: 10px;
}

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

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

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

@media (max-width: 768px) {
  .main-content {
    grid-template-columns: 1fr;
  }
  
  .sidebar {
    position: static;
    margin-bottom: 40px;
  }
  
  .header {
    height: 60vh;
    clip-path: polygon(0 0, 100% 0, 100% 90%, 0 100%);
  }
  
  .header h1 {
    font-size: 2rem;
  }
}

@media (max-width: 480px) {
  .header {
    height: 50vh;
  }
  
  .article-content {
    padding: 20px;
  }
  
  pre {
    padding: 15px;
    font-size: 0.9rem;
  }
}

