.wiki-container {
  display: flex;
  height: calc(100vh - 70px);
}

/* LOGO */
.logo img {
  height: 40px;
}

/* SIDEBAR */
.wiki-sidebar {
  width: 270px;
  background: rgba(15,15,35,0.95);
  backdrop-filter: blur(15px);
  padding: 20px;
  overflow-y: auto;
  border-right: 1px solid rgba(255,255,255,0.08);
  animation: slideIn 0.5s ease;
}

@keyframes slideIn {
  from { transform: translateX(-40px); opacity: 0; }
  to { transform: translateX(0); opacity: 1; }
}

.wiki-search {
  width: 100%;
  padding: 10px;
  border-radius: 10px;
  border: none;
  margin-bottom: 20px;
  background: rgba(255,255,255,0.08);
  color: white;
}

/* SECTION */
.wiki-section {
  margin-bottom: 25px;
}

.wiki-section h3 {
  font-size: 13px;
  opacity: 0.5;
  margin-bottom: 10px;
  cursor: pointer;
}

/* LINKS */
.wiki-section a {
  display: block;
  padding: 8px 10px;
  border-radius: 8px;
  margin-bottom: 5px;
  cursor: pointer;
  transition: 0.25s;
}

.wiki-section a:hover {
  background: rgba(56,189,248,0.15);
  color: #38bdf8;
  transform: translateX(5px);
}

.wiki-section a.active {
  background: #38bdf8;
  color: black;
}

/* CONTENT */
.wiki-content {
  flex: 1;
  padding: 40px;
  overflow-y: auto;
  animation: fadeIn 0.4s ease;
}

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

/* PAGES */
.wiki-page {
  display: none;
  animation: fadePage 0.3s ease;
}

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

.wiki-page.active {
  display: block;
}

/* MOBILE */
@media (max-width: 768px) {
  .wiki-sidebar {
    width: 200px;
  }

  .wiki-content {
    padding: 20px;
  }
}