
:root {
  --primary: #0f2027;
  --secondary: #203a43;
  --accent: #2c5364;
  --highlight: #1e90ff;
  --highlight-alt: #8a2be2;
  --text: #ffffff;
  --card-bg: #2c3e50;
  --transition: all 0.3s ease;
}

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

body {
  background: linear-gradient(135deg, var(--primary), var(--secondary), var(--accent));
  color: var(--text);
  font-family: 'Roboto', sans-serif;
  line-height: 1.6;
  padding-top: 80px;
  min-height: 100%;
}

.header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  background: rgba(26, 26, 26, 0.9);
  backdrop-filter: blur(10px);
  z-index: 1000;
  padding: 1rem 2rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  box-shadow: 0 4px 30px rgba(0, 0, 0, 0.3);
}

.header h1 {
  font-size: 1.5rem;
  background: linear-gradient(45deg, var(--highlight), var(--highlight-alt));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.notice {
  background: rgba(255, 255, 255, 0.1);
  padding: 1rem;
  border-radius: 8px;
  margin: 2rem auto;
  max-width: 1200px;
  border-left: 4px solid var(--highlight);
  text-align: center;
}

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

.hero {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
  margin-bottom: 4rem;
  align-items: center;
}

.hero-content h2 {
  font-size: 2.5rem;
  margin-bottom: 1rem;
  background: linear-gradient(45deg, var(--highlight), var(--highlight-alt));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.hero-content p {
  margin-bottom: 2rem;
  font-size: 1.1rem;
}

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

.hero-image img {
  width: 100%;
  height: auto;
  border-radius: 12px;
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
  transition: var(--transition);
}

.hero-image img:hover {
  transform: translateY(-5px);
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.3);
}

article {
  background: rgba(26, 26, 26, 0.5);
  border-radius: 16px;
  padding: 3rem;
  margin-bottom: 4rem;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

article h2 {
  font-size: 2rem;
  margin-bottom: 2rem;
  color: var(--highlight);
  position: relative;
  padding-bottom: 1rem;
}

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

article h3 {
  font-size: 1.5rem;
  margin: 2rem 0 1rem;
  color: var(--highlight-alt);
}

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

pre {
  background: var(--card-bg);
  border-radius: 8px;
  padding: 1.5rem;
  margin: 2rem 0;
  overflow-x: auto;
  box-shadow: inset 0 0 10px rgba(0, 0, 0, 0.5);
  border-left: 4px solid var(--highlight);
}

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

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

.gallery img {
  width: 100%;
  height: auto;
  border-radius: 12px;
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
  transition: var(--transition);
}

.gallery img:hover {
  transform: scale(1.03);
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.3);
}

.nav-links {
  position: sticky;
  top: 100px;
  align-self: start;
  background: var(--card-bg);
  border-radius: 12px;
  padding: 1.5rem;
  margin-right: 2rem;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

.nav-links h3 {
  font-size: 1.2rem;
  margin-bottom: 1rem;
  color: var(--highlight);
}

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

.nav-links li {
  margin-bottom: 0.5rem;
}

.nav-links a {
  color: var(--text);
  text-decoration: none;
  transition: var(--transition);
  display: block;
  padding: 0.5rem 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.nav-links a:hover {
  color: var(--highlight);
  padding-left: 0.5rem;
}

.content-wrapper {
  display: grid;
  grid-template-columns: 250px 1fr;
  gap: 2rem;
}

.footer {
  text-align: center;
  padding: 2rem;
  margin-top: 4rem;
  background: rgba(26, 26, 26, 0.5);
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

@media (max-width: 1024px) {
  .content-wrapper {
    grid-template-columns: 1fr;
  }
  
  .nav-links {
    position: static;
    margin-right: 0;
    margin-bottom: 2rem;
  }
  
  .hero {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 768px) {
  .header {
    flex-direction: column;
    padding: 1rem;
  }
  
  .header h1 {
    margin-bottom: 1rem;
  }
  
  article {
    padding: 2rem 1.5rem;
  }
  
  .gallery {
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  }
}

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

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

