
:root {
  --primary-dark: #181E3C;
  --primary-gray: #262A39;
  --accent-blue: #4D7FFF;
  --accent-purple: #9B51E0;
  --accent-green: #3BB78F;
  --text-light: #FFFFFF;
  --text-gray: #B8C2CC;
}

@import url('https://fonts.googleapis.com/css2?family=Roboto:wght@300;400;500;700&family=Monoton&display=swap');

body {
  background: linear-gradient(135deg, var(--primary-dark), var(--primary-gray));
  color: var(--text-light);
  font-family: 'Roboto', sans-serif;
  line-height: 1.6;
  margin: 0;
  padding: 0;
  min-height: 100%;
}

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

.header {
  position: relative;
  padding: 4rem 0;
  text-align: center;
  background: radial-gradient(circle at center, rgba(77, 127, 255, 0.1) 0%, rgba(0,0,0,0) 70%);
}

.header h1 {
  font-family: 'Monoton', cursive;
  font-size: 3.5rem;
  margin: 0;
  background: linear-gradient(90deg, var(--accent-blue), var(--accent-purple));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  letter-spacing: 2px;
}

.notice {
  background: rgba(255,255,255,0.1);
  padding: 1rem;
  border-radius: 8px;
  margin: 2rem auto;
  max-width: 800px;
  text-align: center;
  border: 1px solid var(--accent-blue);
  box-shadow: 0 0 20px rgba(77, 127, 255, 0.3);
}

.navbar {
  position: sticky;
  top: 0;
  background-color: rgba(38, 42, 57, 0.95);
  backdrop-filter: blur(10px);
  z-index: 100;
  padding: 1rem 0;
  box-shadow: 0 4px 30px rgba(0, 0, 0, 0.3);
}

.nav-links {
  display: flex;
  justify-content: center;
  gap: 2rem;
  list-style: none;
  padding: 0;
  margin: 0;
}

.nav-links a {
  color: var(--text-gray);
  text-decoration: none;
  font-weight: 500;
  padding: 0.5rem 1rem;
  border-radius: 4px;
  transition: all 0.3s ease;
  position: relative;
}

.nav-links a:hover {
  color: var(--text-light);
  background: rgba(77, 127, 255, 0.2);
}

.nav-links a::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 0;
  height: 2px;
  background: var(--accent-blue);
  transition: width 0.3s ease;
}

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

article {
  background: rgba(38, 42, 57, 0.7);
  border-radius: 16px;
  padding: 3rem;
  margin: 3rem 0;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
  border: 1px solid rgba(77, 127, 255, 0.2);
}

article h2 {
  font-family: 'Monoton', cursive;
  color: var(--accent-blue);
  font-size: 2.5rem;
  margin-top: 0;
  margin-bottom: 2rem;
  letter-spacing: 1px;
}

article h3 {
  color: var(--accent-purple);
  font-size: 1.8rem;
  margin: 2rem 0 1rem;
  position: relative;
  padding-left: 1.5rem;
}

article h3::before {
  content: '';
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  height: 60%;
  width: 4px;
  background: linear-gradient(to bottom, var(--accent-blue), var(--accent-purple));
  border-radius: 2px;
}

article p {
  margin-bottom: 1.5rem;
  font-size: 1.1rem;
  color: var(--text-gray);
}

pre {
  background: rgba(24, 30, 60, 0.7);
  border-radius: 8px;
  padding: 1.5rem;
  overflow-x: auto;
  margin: 2rem 0;
  border: 1px solid rgba(77, 127, 255, 0.2);
  box-shadow: inset 0 0 10px rgba(0,0,0,0.3);
}

code {
  font-family: 'Roboto Mono', monospace;
  color: var(--accent-green);
  font-size: 0.9rem;
}

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

.image-card {
  position: relative;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 10px 20px rgba(0,0,0,0.3);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.image-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 15px 30px rgba(77, 127, 255, 0.3);
}

.image-card img {
  width: 100%;
  height: 320px;
  object-fit: cover;
  display: block;
}

.footer {
  text-align: center;
  padding: 3rem 0;
  color: var(--text-gray);
  font-size: 0.9rem;
  border-top: 1px solid rgba(77, 127, 255, 0.1);
}

@media (max-width: 768px) {
  .header h1 {
    font-size: 2.5rem;
  }
  
  .nav-links {
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
  }
  
  article {
    padding: 2rem;
  }
  
  article h2 {
    font-size: 2rem;
  }
  
  article h3 {
    font-size: 1.5rem;
  }
  
  .image-grid {
    grid-template-columns: 1fr;
  }
}

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

.animate {
  animation: fadeIn 0.8s ease forwards;
}

.delay-1 { animation-delay: 0.2s; }
.delay-2 { animation-delay: 0.4s; }
.delay-3 { animation-delay: 0.6s; }
.delay-4 { animation-delay: 0.8s; }

