
:root {
  --primary: #121212;
  --secondary: #1e1e1e;
  --accent: #1e90ff;
  --accent-alt: #ff69b4;
  --text: #ffffff;
  --text-alt: #f5f5f5;
  --highlight: #1e90ff;
  --highlight-alt: #ff6600;
  --card-bg: #2a2a2a;
}

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

body {
  font-family: 'Roboto', sans-serif;
  line-height: 1.6;
  letter-spacing: 0.5px;
  background: var(--primary);
  color: var(--text);
  overflow-x: hidden;
}

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

.notice {
  background: linear-gradient(135deg, var(--accent), var(--accent-alt));
  padding: 15px;
  text-align: center;
  margin-bottom: 30px;
  border-radius: 8px;
  box-shadow: 0 4px 20px rgba(30, 144, 255, 0.3);
  font-weight: 700;
}

.header {
  background: var(--secondary);
  padding: 20px 0;
  position: sticky;
  top: 0;
  z-index: 100;
  box-shadow: 0 2px 15px rgba(0, 0, 0, 0.3);
}

.nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

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

.nav-link {
  color: var(--text);
  text-decoration: none;
  font-weight: 500;
  position: relative;
  transition: color 0.3s;
}

.nav-link:hover {
  color: var(--accent);
}

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

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

.hero {
  height: 500px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, var(--accent), var(--accent-alt));
  margin-bottom: 50px;
  position: relative;
  overflow: hidden;
  border-radius: 10px;
}

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

.hero-content {
  text-align: center;
  z-index: 1;
  padding: 0 20px;
}

.hero h1 {
  font-size: 3rem;
  margin-bottom: 20px;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.5);
}

.hero p {
  font-size: 1.2rem;
  max-width: 700px;
  margin: 0 auto 30px;
}

.main {
  display: grid;
  grid-template-columns: 1fr 300px;
  gap: 30px;
  margin-bottom: 50px;
}

article {
  background: var(--secondary);
  padding: 30px;
  border-radius: 10px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

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

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

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

article p {
  margin-bottom: 20px;
}

.sidebar {
  background: var(--secondary);
  padding: 20px;
  border-radius: 10px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
  align-self: start;
  position: sticky;
  top: 100px;
}

.sidebar-title {
  font-size: 1.3rem;
  margin-bottom: 20px;
  color: var(--accent);
  padding-bottom: 10px;
  border-bottom: 2px solid var(--accent);
}

.example-card {
  background: var(--card-bg);
  padding: 15px;
  border-radius: 8px;
  margin-bottom: 15px;
  transition: transform 0.3s, box-shadow 0.3s;
}

.example-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 5px 15px rgba(30, 144, 255, 0.3);
}

.example-card h4 {
  color: var(--accent);
  margin-bottom: 10px;
}

.example-card p {
  font-size: 0.9rem;
  color: var(--text-alt);
}

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

.gallery-item {
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 3px 10px rgba(0, 0, 0, 0.2);
  transition: transform 0.3s;
}

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

.gallery-item img {
  width: 100%;
  height: auto;
  display: block;
}

pre {
  background: #1e1e1e;
  padding: 15px;
  border-radius: 8px;
  overflow-x: auto;
  margin: 20px 0;
  border-left: 4px solid var(--accent);
}

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

.highlight {
  color: var(--highlight);
  font-weight: 700;
}

table {
  width: 100%;
  border-collapse: collapse;
  margin: 20px 0;
  background: var(--card-bg);
  border-radius: 8px;
  overflow: hidden;
}

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

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

tr:hover {
  background: #333;
}

.footer {
  background: var(--secondary);
  padding: 30px 0;
  text-align: center;
  margin-top: 50px;
}

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

@media (max-width: 768px) {
  .main {
    grid-template-columns: 1fr;
  }
  
  .sidebar {
    position: static;
  }
  
  .hero h1 {
    font-size: 2rem;
  }
  
  .hero p {
    font-size: 1rem;
  }
  
  article h2 {
    font-size: 1.5rem;
  }
  
  article h3 {
    font-size: 1.2rem;
  }
}

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

.floating {
  animation: float 3s ease-in-out infinite;
}

