
:root {
  --primary-color: #0074D9;
  --secondary-color: #F5F5F5;
  --accent-orange: #FFA500;
  --accent-green: #32CD32;
  --dark-bg: #1E1E1E;
  --text-dark: #333333;
  --text-light: #FFFFFF;
  --shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
  --transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
}

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

body {
  font-family: 'Roboto', sans-serif;
  background-color: var(--secondary-color);
  color: var(--text-dark);
  line-height: 1.6;
  padding-top: 80px;
  overflow-x: hidden;
}

.navbar {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  background: linear-gradient(135deg, var(--primary-color), #0063B2);
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 15px 5%;
  box-shadow: var(--shadow);
  z-index: 1000;
  backdrop-filter: blur(10px);
}

.nav-logo {
  font-size: 1.8rem;
  font-weight: 700;
  color: white;
  text-decoration: none;
  letter-spacing: 1px;
}

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

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

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

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

.theme-toggle {
  background: transparent;
  border: none;
  color: white;
  font-size: 1.2rem;
  cursor: pointer;
  transition: var(--transition);
}

.theme-toggle:hover {
  color: var(--accent-orange);
}

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

.hero {
  height: 500px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.5)), url('https://images.gptkong.com/demo/sample1.png');
  background-size: cover;
  background-position: center;
  color: white;
  text-align: center;
  margin-bottom: 60px;
  border-radius: 0 0 20px 20px;
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(45deg, 
    rgba(0, 116, 217, 0.3) 0%, 
    rgba(0, 116, 217, 0.1) 50%, 
    rgba(50, 205, 50, 0.3) 100%);
  z-index: 1;
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 800px;
  padding: 0 20px;
}

.hero h1 {
  font-size: 3rem;
  margin-bottom: 20px;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
  animation: fadeInUp 1s ease;
}

.hero p {
  font-size: 1.2rem;
  margin-bottom: 30px;
  animation: fadeInUp 1s ease 0.2s forwards;
  opacity: 0;
}

.notice {
  background-color: var(--accent-orange);
  color: white;
  padding: 15px;
  text-align: center;
  font-weight: bold;
  margin-bottom: 40px;
  border-radius: 8px;
  box-shadow: var(--shadow);
}

article {
  background-color: white;
  padding: 40px;
  border-radius: 15px;
  box-shadow: var(--shadow);
  margin-bottom: 60px;
}

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

article h2::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 80px;
  height: 3px;
  background: linear-gradient(to right, var(--primary-color), var(--accent-green));
}

article h3 {
  color: var(--accent-orange);
  font-size: 1.5rem;
  margin: 30px 0 15px;
}

article p {
  margin-bottom: 20px;
  font-size: 1.1rem;
  line-height: 1.8;
}

pre {
  background-color: #f8f9fa;
  padding: 20px;
  border-radius: 8px;
  overflow-x: auto;
  margin: 25px 0;
  box-shadow: inset 0 0 10px rgba(0, 0, 0, 0.05);
  border-left: 4px solid var(--primary-color);
}

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

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

.image-card {
  border-radius: 10px;
  overflow: hidden;
  box-shadow: var(--shadow);
  transition: var(--transition);
}

.image-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
}

.image-card img {
  width: 100%;
  height: auto;
  display: block;
  transition: var(--transition);
}

.image-card:hover img {
  transform: scale(1.05);
}

table {
  width: 100%;
  border-collapse: collapse;
  margin: 30px 0;
  box-shadow: var(--shadow);
  border-radius: 8px;
  overflow: hidden;
}

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

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

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

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

.footer {
  background: linear-gradient(135deg, var(--primary-color), #0063B2);
  color: white;
  padding: 40px 0;
  text-align: center;
  margin-top: 60px;
}

.footer-content {
  max-width: 800px;
  margin: 0 auto;
}

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

.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(--accent-orange);
}

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

@media (max-width: 768px) {
  .navbar {
    padding: 15px 20px;
  }
  
  .nav-links {
    gap: 15px;
  }
  
  .hero h1 {
    font-size: 2.2rem;
  }
  
  article {
    padding: 30px 20px;
  }
  
  .image-grid {
    grid-template-columns: 1fr;
  }
}

[data-theme="dark"] {
  --secondary-color: var(--dark-bg);
  --text-dark: var(--text-light);
}

[data-theme="dark"] article {
  background-color: #2a2a2a;
}

[data-theme="dark"] pre {
  background-color: #1a1a1a;
  color: #e0e0e0;
}

[data-theme="dark"] tr:nth-child(even) {
  background-color: #333;
}

[data-theme="dark"] tr:hover {
  background-color: #444;
}

