
:root {
  --bg-dark: #121212;
  --bg-card: #1E1E1E;
  --primary: #03A9F4;
  --secondary: #B222FF;
  --accent: #32CD32;
  --text-light: #FFFFFF;
  --text-muted: rgba(255,255,255,0.7);
  --transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
}

body {
  background: radial-gradient(circle at 20% 30%, #1a1a2e, var(--bg-dark));
  color: var(--text-light);
  font-family: 'Montserrat', sans-serif;
  line-height: 1.6;
  margin: 0;
  padding: 0;
  overflow-x: hidden;
}

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

.header {
  text-align: center;
  padding: 40px 0;
  position: relative;
}

.header::after {
  content: "";
  display: block;
  width: 80%;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--primary), transparent);
  margin: 20px auto;
}

.notice {
  background: rgba(3, 169, 244, 0.1);
  border-left: 4px solid var(--primary);
  padding: 15px;
  margin: 30px 0;
  border-radius: 0 5px 5px 0;
  font-size: 16px;
}

article {
  background: rgba(30, 30, 30, 0.8);
  backdrop-filter: blur(10px);
  border-radius: 15px;
  padding: 40px;
  margin: 40px 0;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

h2 {
  font-size: 32px;
  margin: 30px 0 20px;
  background: linear-gradient(90deg, var(--primary), var(--secondary));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  position: relative;
  padding-bottom: 10px;
}

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

h3 {
  font-size: 24px;
  color: var(--primary);
  margin: 25px 0 15px;
  position: relative;
  padding-left: 15px;
}

h3::before {
  content: "";
  position: absolute;
  left: 0;
  top: 5px;
  height: 70%;
  width: 4px;
  background: var(--secondary);
}

p {
  font-size: 17px;
  margin: 15px 0;
  color: var(--text-muted);
}

pre {
  background: rgba(18, 18, 18, 0.8);
  border-left: 4px solid var(--accent);
  border-radius: 0 5px 5px 0;
  padding: 20px;
  overflow-x: auto;
  margin: 25px 0;
  position: relative;
}

code {
  font-family: 'Fira Code', monospace;
  color: var(--accent);
}

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

.image-card {
  border-radius: 10px;
  overflow: hidden;
  position: relative;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
  transition: var(--transition);
}

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

.image-card img {
  width: 100%;
  height: auto;
  display: block;
  transition: var(--transition);
}

.image-card:hover img {
  transform: scale(1.05);
}

.nav-tabs {
  display: flex;
  flex-wrap: wrap;
  margin: 30px 0;
  border-bottom: 1px solid rgba(255,255,255,0.1);
}

.nav-tab {
  padding: 12px 20px;
  cursor: pointer;
  position: relative;
  color: var(--text-muted);
  transition: var(--transition);
}

.nav-tab.active {
  color: var(--primary);
}

.nav-tab.active::after {
  content: "";
  position: absolute;
  bottom: -1px;
  left: 0;
  width: 100%;
  height: 3px;
  background: var(--primary);
}

.tab-content {
  display: none;
  animation: fadeIn 0.5s ease;
}

.tab-content.active {
  display: block;
}

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

.footer {
  text-align: center;
  padding: 40px 0;
  margin-top: 60px;
  border-top: 1px solid rgba(255,255,255,0.1);
}

@media (max-width: 768px) {
  article {
    padding: 25px;
  }
  
  h2 {
    font-size: 28px;
  }
  
  h3 {
    font-size: 22px;
  }
  
  .image-grid {
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
  }
}

@media (max-width: 480px) {
  article {
    padding: 20px;
  }
  
  h2 {
    font-size: 24px;
  }
  
  h3 {
    font-size: 20px;
  }
  
  .nav-tabs {
    flex-direction: column;
  }
  
  .nav-tab {
    border-bottom: 1px solid rgba(255,255,255,0.1);
  }
}

