
:root {
  --primary: linear-gradient(135deg, #4567b7, #8e44ad);
  --secondary: #FFD700;
  --accent: #FF6B6B;
  --text: #333;
  --light: #f8f9fa;
  --dark: #212529;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: 'Lato', 'Helvetica Neue', Arial, sans-serif;
}

body {
  background-color: var(--light);
  color: var(--text);
  line-height: 1.6;
  overflow-x: hidden;
}

.header {
  background: var(--primary);
  color: white;
  padding: 2rem;
  text-align: center;
  position: relative;
  overflow: hidden;
  min-height: 300px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}

.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.2;
  z-index: 0;
}

.header h1 {
  font-size: 3rem;
  margin-bottom: 1rem;
  position: relative;
  z-index: 1;
  text-shadow: 0 2px 10px rgba(0,0,0,0.3);
}

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

.note {
  background-color: rgba(255,255,255,0.1);
  padding: 1rem;
  border-radius: 8px;
  margin: 2rem auto;
  max-width: 800px;
  text-align: center;
  backdrop-filter: blur(5px);
}

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

.grid {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: 2rem;
}

article {
  grid-column: span 8;
}

.sidebar {
  grid-column: span 4;
  position: sticky;
  top: 2rem;
  align-self: start;
}

.card {
  background: white;
  border-radius: 12px;
  padding: 2rem;
  margin-bottom: 2rem;
  box-shadow: 0 10px 30px rgba(0,0,0,0.1);
  transition: all 0.3s ease;
}

.card:hover {
  transform: translateY(-5px);
  box-shadow: 0 15px 35px rgba(0,0,0,0.15);
}

h2, h3 {
  color: #4567b7;
  margin: 1.5rem 0 1rem;
}

h2 {
  font-size: 2rem;
  border-bottom: 2px solid var(--secondary);
  padding-bottom: 0.5rem;
}

h3 {
  font-size: 1.5rem;
}

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

pre {
  background: #2d2d2d;
  color: #f8f8f2;
  padding: 1.5rem;
  border-radius: 8px;
  overflow-x: auto;
  margin: 1.5rem 0;
  font-family: 'Courier New', monospace;
  font-size: 0.95rem;
  box-shadow: inset 0 0 10px rgba(0,0,0,0.5);
}

code {
  font-family: 'Courier New', monospace;
  background: rgba(0,0,0,0.05);
  padding: 0.2rem 0.4rem;
  border-radius: 4px;
  font-size: 0.9rem;
}

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

.gallery img {
  width: 100%;
  height: auto;
  border-radius: 8px;
  box-shadow: 0 5px 15px rgba(0,0,0,0.1);
  transition: all 0.3s ease;
}

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

.nav-links {
  background: white;
  border-radius: 12px;
  padding: 1.5rem;
  box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

.nav-links h3 {
  margin-top: 0;
}

.nav-links ul {
  list-style: none;
}

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

.nav-links li::before {
  content: "→";
  position: absolute;
  left: 0;
  color: var(--secondary);
}

.nav-links a {
  color: var(--text);
  text-decoration: none;
  transition: color 0.3s ease;
}

.nav-links a:hover {
  color: #4567b7;
}

.highlight {
  background: linear-gradient(90deg, rgba(255,215,0,0.1), rgba(255,215,0,0.3));
  padding: 1.5rem;
  border-radius: 8px;
  margin: 1.5rem 0;
  border-left: 4px solid var(--secondary);
}

@media (max-width: 1024px) {
  .grid {
    grid-template-columns: 1fr;
  }
  
  article, .sidebar {
    grid-column: span 1;
  }
  
  .sidebar {
    position: static;
  }
}

@media (max-width: 768px) {
  .header h1 {
    font-size: 2rem;
  }
  
  .header p {
    font-size: 1rem;
  }
  
  h2 {
    font-size: 1.5rem;
  }
  
  h3 {
    font-size: 1.25rem;
  }
  
  .gallery {
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
  }
}

.particle {
  position: absolute;
  width: 3px;
  height: 3px;
  background: rgba(255, 215, 0, 0.7);
  border-radius: 50%;
  animation: move 5s infinite;
}

@keyframes move {
  0% { transform: translateY(0) rotate(0deg); }
  100% { transform: translateY(-1000px) rotate(360deg); }
}

.button {
  display: inline-block;
  background: var(--secondary);
  color: var(--dark);
  padding: 0.8rem 1.5rem;
  border-radius: 50px;
  text-decoration: none;
  font-weight: bold;
  margin-top: 1rem;
  transition: all 0.3s ease;
  box-shadow: 0 4px 15px rgba(255, 215, 0, 0.3);
}

.button:hover {
  box-shadow: 0 0 20px rgba(255, 215, 0, 0.8);
  transform: translateY(-2px);
}

.tech-icon {
  font-size: 2rem;
  color: var(--secondary);
  margin-right: 1rem;
}

.tech-stack {
  display: flex;
  align-items: center;
  margin-bottom: 1rem;
}

.tech-stack span {
  font-weight: bold;
}

.footer {
  background: var(--dark);
  color: white;
  text-align: center;
  padding: 2rem;
  margin-top: 3rem;
}

.footer p {
  margin-bottom: 0;
}

