
:root {
  --primary-dark: #121212;
  --secondary-dark: #1E1E1E;
  --accent-blue: #1E90FF;
  --accent-purple: #8A2BE2;
  --accent-green: #32CD32;
  --text-light: #E0E0E0;
  --text-muted: #AAAAAA;
  --transition-fast: 0.2s ease;
  --transition-medium: 0.4s ease;
}

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

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

.header-bar {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  background: linear-gradient(90deg, var(--secondary-dark), #252525);
  padding: 1rem 2rem;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
  z-index: 1000;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo {
  font-size: 1.5rem;
  font-weight: 700;
  background: linear-gradient(45deg, var(--accent-blue), var(--accent-purple));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
}

.nav-links {
  display: flex;
  gap: 2rem;
}

.nav-link {
  color: var(--text-light);
  text-decoration: none;
  font-weight: 500;
  position: relative;
  transition: var(--transition-fast);
  padding: 0.5rem 0;
}

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

.nav-link::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background: linear-gradient(90deg, var(--accent-blue), var(--accent-purple));
  transition: var(--transition-medium);
}

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

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

.hero-section {
  background: linear-gradient(135deg, rgba(30, 30, 30, 0.8), rgba(44, 44, 44, 0.9));
  border-radius: 16px;
  padding: 3rem;
  margin-bottom: 3rem;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
  position: relative;
  overflow: hidden;
}

.hero-section::before {
  content: '';
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: radial-gradient(circle, rgba(30, 144, 255, 0.1) 0%, transparent 70%);
  animation: rotate 20s linear infinite;
  z-index: -1;
}

@keyframes rotate {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}

.hero-title {
  font-size: 2.5rem;
  margin-bottom: 1.5rem;
  background: linear-gradient(45deg, var(--accent-blue), var(--accent-purple));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.hero-subtitle {
  font-size: 1.2rem;
  color: var(--text-muted);
  max-width: 800px;
  margin-bottom: 2rem;
}

.notice-banner {
  background: linear-gradient(90deg, rgba(30, 144, 255, 0.2), rgba(138, 43, 226, 0.2));
  border-left: 4px solid var(--accent-blue);
  padding: 1rem;
  margin-bottom: 2rem;
  border-radius: 0 8px 8px 0;
  display: flex;
  align-items: center;
  gap: 1rem;
}

.notice-icon {
  color: var(--accent-blue);
  font-size: 1.5rem;
}

.notice-text {
  font-size: 0.9rem;
}

article {
  background-color: var(--secondary-dark);
  border-radius: 12px;
  padding: 2.5rem;
  margin-bottom: 3rem;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
}

article h2 {
  font-size: 1.8rem;
  margin-bottom: 1.5rem;
  color: var(--accent-blue);
  position: relative;
  padding-bottom: 0.5rem;
}

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

article h3 {
  font-size: 1.4rem;
  margin: 2rem 0 1rem;
  color: var(--accent-green);
}

article p {
  margin-bottom: 1.5rem;
  font-size: 1.05rem;
  line-height: 1.7;
}

.code-container {
  background-color: #1C1C1C;
  border-radius: 8px;
  padding: 1.5rem;
  margin: 1.5rem 0;
  overflow: auto;
  box-shadow: inset 0 0 10px rgba(0, 0, 0, 0.5);
  position: relative;
}

.code-container::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 4px;
  height: 100%;
  background: linear-gradient(to bottom, var(--accent-blue), var(--accent-purple));
  border-radius: 8px 0 0 8px;
}

pre {
  margin: 0;
  font-family: 'Courier New', Courier, monospace;
  font-size: 0.95rem;
  line-height: 1.5;
  color: #E0E0E0;
}

code {
  font-family: inherit;
}

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

.image-card {
  background-color: #252525;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  transition: var(--transition-medium);
}

.image-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
}

.image-card img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 12px 12px 0 0;
}

.image-caption {
  padding: 1rem;
  font-size: 0.9rem;
  color: var(--text-muted);
}

.module-card {
  background: linear-gradient(145deg, #1C1C1C, #2C2C2C);
  border-radius: 12px;
  padding: 1.5rem;
  margin-bottom: 2rem;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  border: 1px solid #333;
}

.module-title {
  font-size: 1.2rem;
  margin-bottom: 1rem;
  color: var(--accent-green);
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.module-icon {
  color: inherit;
}

.module-content {
  font-size: 0.95rem;
  color: var(--text-muted);
}

.footer {
  background-color: var(--secondary-dark);
  padding: 2rem;
  text-align: center;
  margin-top: 3rem;
  border-top: 1px solid #333;
}

.footer-text {
  color: var(--text-muted);
  font-size: 0.9rem;
}

@media (max-width: 768px) {
  .header-bar {
    padding: 1rem;
  }
  
  .nav-links {
    gap: 1rem;
  }
  
  .hero-section {
    padding: 2rem;
  }
  
  .hero-title {
    font-size: 2rem;
  }
  
  article {
    padding: 1.5rem;
  }
  
  .image-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 480px) {
  .header-bar {
    flex-direction: column;
    gap: 1rem;
    padding: 1rem;
  }
  
  .nav-links {
    flex-wrap: wrap;
    justify-content: center;
  }
  
  .main-container {
    margin-top: 8rem;
    padding: 0 1rem;
  }
  
  .hero-section {
    padding: 1.5rem;
  }
  
  article {
    padding: 1.2rem;
  }
  
  article h2 {
    font-size: 1.5rem;
  }
  
  article h3 {
    font-size: 1.2rem;
  }
}

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

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

.particle {
  position: absolute;
  width: 10px;
  height: 10px;
  background-color: rgba(30, 144, 255, 0.7);
  border-radius: 50%;
  animation: move 5s linear infinite;
}

@keyframes move {
  from {
    transform: translateY(0) translateX(0);
  }
  to {
    transform: translateY(-100vh) translateX(100vw);
  }
}

.fade-in {
  opacity: 0;
  animation: fadeIn 1s forwards;
}

@keyframes fadeIn {
  to {
    opacity: 1;
  }
}

.button {
  display: inline-block;
  padding: 0.8rem 1.5rem;
  background: linear-gradient(45deg, var(--accent-blue), var(--accent-purple));
  color: white;
  border-radius: 8px;
  text-decoration: none;
  font-weight: 500;
  transition: var(--transition-fast);
  box-shadow: 0 4px 15px rgba(30, 144, 255, 0.3);
  border: none;
  cursor: pointer;
}

.button:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(30, 144, 255, 0.4);
}

.button:active {
  transform: translateY(0);
}

