
:root {
  --primary: #121212;
  --secondary: #652DBB;
  --accent: #FFFFFF;
  --text: rgba(255,255,255,0.85);
}

body {
  font-family: 'Roboto', sans-serif;
  color: var(--text);
  background: var(--primary);
  line-height: 1.6;
  margin: 0;
  padding: 0;
  overflow-x: hidden;
}

.header {
  position: relative;
  height: 80vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  padding: 0 5%;
  background: linear-gradient(135deg, var(--primary) 0%, #1a1a2e 100%);
  overflow: hidden;
}

.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.15;
  z-index: -1;
}

.header h1 {
  font-family: 'Orbitron', sans-serif;
  font-size: clamp(2rem, 5vw, 3.5rem);
  margin: 0;
  background: linear-gradient(90deg, var(--accent), var(--secondary));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  text-shadow: 0 0 15px rgba(101,45,187,0.3);
}

.header p {
  max-width: 800px;
  font-size: 1.1rem;
  margin: 1.5rem 0;
}

.notice {
  position: fixed;
  bottom: 20px;
  left: 50%;
  transform: translateX(-50%);
  background: rgba(18,18,18,0.8);
  padding: 10px 20px;
  border-radius: 30px;
  border: 1px solid var(--secondary);
  box-shadow: 0 0 20px rgba(101,45,187,0.3);
  z-index: 1000;
  font-size: 0.9rem;
}

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

article {
  padding: 60px 0;
}

article h2 {
  font-family: 'Orbitron', sans-serif;
  font-size: 2rem;
  margin-top: 3rem;
  position: relative;
  padding-bottom: 15px;
  color: var(--accent);
}

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

article h3 {
  font-family: 'Orbitron', sans-serif;
  font-size: 1.5rem;
  margin-top: 2.5rem;
  color: var(--accent);
}

article p {
  font-size: 1.1rem;
  margin: 1.5rem 0;
  line-height: 1.8;
}

.code-container {
  position: relative;
  margin: 2rem 0;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(0,0,0,0.3);
}

pre {
  margin: 0;
  padding: 20px;
  background: #1e1e2e;
  overflow-x: auto;
}

code {
  font-family: 'Fira Code', monospace;
  color: #f8f8f2;
}

.code-container::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 30px;
  background: rgba(30,30,46,0.7);
  display: flex;
  align-items: center;
  padding-left: 15px;
}

.code-container::after {
  content: "•••";
  position: absolute;
  top: 5px;
  left: 15px;
  color: #555;
  font-size: 1.2rem;
  letter-spacing: 2px;
}

.gallery {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 20px;
  margin: 3rem 0;
}

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

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

.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s;
}

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

.nav-tabs {
  position: sticky;
  top: 0;
  background: rgba(18,18,18,0.95);
  backdrop-filter: blur(10px);
  z-index: 100;
  padding: 15px 0;
  border-bottom: 1px solid rgba(101,45,187,0.3);
}

.nav-tabs ul {
  display: flex;
  justify-content: center;
  list-style: none;
  margin: 0;
  padding: 0;
  gap: 30px;
}

.nav-tabs a {
  color: var(--text);
  text-decoration: none;
  font-family: 'Orbitron', sans-serif;
  font-size: 0.9rem;
  padding: 5px 10px;
  position: relative;
  transition: color 0.3s;
}

.nav-tabs a:hover {
  color: var(--secondary);
}

.nav-tabs a::after {
  content: "";
  position: absolute;
  bottom: -5px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--secondary);
  transition: width 0.3s;
}

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

@media (max-width: 768px) {
  .header {
    height: 60vh;
  }
  
  .nav-tabs ul {
    flex-wrap: wrap;
    gap: 15px;
  }
  
  article h2 {
    font-size: 1.8rem;
  }
  
  article h3 {
    font-size: 1.3rem;
  }
}

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

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

.highlight {
  background: linear-gradient(90deg, transparent 0%, rgba(101,45,187,0.2) 50%, transparent 100%);
  padding: 0 10px;
  border-radius: 3px;
}

