/* ===== GLOBAL STYLES (NO CHANGE) ===== */
Body {
  background: #0f0f1a;
  color: white;
  font-family: Arial, sans-serif;
  margin: 0;
}

.page-header {
  text-align: center;
  padding: 60px 20px;
}

.page-header h1 {
  font-size: 2.5rem;
  color: #a855f7;
}

.page-header p {
  opacity: 0.8;
}

/* ===== TOOLS GRID (SAME SIZE) ===== */
.tools-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 25px;
  padding: 40px;
}

.tool-card {
  background: #1a1a2e;
  width: 280px; /* FIXED SIZE AS REQUESTED */
  padding: 25px;
  border-radius: 15px;
  transition: 0.4s ease;
  box-shadow: 0 0 15px rgba(168, 85, 247, 0.2);
}

.tool-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 0 25px rgba(168, 85, 247, 0.6);
}

.tool-card a {
  display: inline-block;
  margin-top: 10px;
  color: #a855f7;
  text-decoration: none;
}

.tool-card a:hover {
  text-decoration: underline;
}

/* ===== SIDEBAR ===== */
.sidebar {
  font-family: 'Cinzel', serif;
  width: 220px;
  background: #0f0f1a;
  border-right: 1px solid rgba(255,255,255,0.1); /* Subtle fix for dark mode */
  height: 100vh;
  position: fixed;
  left: 0;
  top: 0;
  padding: 20px;
  transition: transform 0.3s ease;
  z-index: 999;
}

.logo {
  font-family: 'Cinzel', serif;
  position: relative;
  top: -20px;
  left: 13px;
  color: #FFFFFF;
  text-align: center;
  margin-bottom: 30px;
  font-weight: bold;
}

.sidebar nav a {
  display: block;
  padding: 12px;
  margin-bottom: 10px;
  text-decoration: none;
  color: #bbb; /* Fixed for dark theme readability */
  border-radius: 8px;
}

.sidebar nav a:hover {
  background: rgba(128, 0, 255, 0.1);
  color: #a855f7;
  padding-left: 10px;
  transition: 0.3s;
}

.active {
  background: linear-gradient(45deg, #7b2ff7, #9f44d3) !important;
  color: white !important;
  border-radius: 12px;
}

/* ===== CONTENT SPACING ===== */
.content-wrapper {
  margin-left: 220px; /* Match sidebar width */
  padding: 10px;
  transition: margin 0.3s ease;
}

/* ===== MOBILE MENU BUTTON ===== */
.menu-btn {
  display: none;
  position: fixed;
  top: 15px;
  left: 15px;
  width: 48px !important;
  height: 48px !important;
  background: #6a0dad;
  color: white;
  border: none;
  font-size: 22px;
  border-radius: 6px;
  z-index: 1000;
  align-items: center;
  justify-content: center;
}

/* ===== RESPONSIVE FIXES (THE MAIN WORK) ===== */
@media (max-width: 768px) {
  .sidebar {
    transform: translateX(-100%);
  }

  .sidebar.show {
    transform: translateX(0);
  }

  .content-wrapper {
    margin-left: 0;
    padding-top: 80px; /* Added more space for menu button */
  }

  .menu-btn {
    display: flex !important;
  }

  .tool-card {
    width: 90%; /* Responsive on mobile but same style */
    max-width: 320px;
  }
}

/* ===== EXTRA COMPONENTS ===== */
.video-container {
  position: relative;
  padding-bottom: 56.25%;
  height: 0;
  overflow: hidden;
  margin-top: 15px;
  border-radius: 10px;
}

.video-container iframe {
  position: absolute;
  top: 0; left: 0; width: 100%; height: 100%;
}

.changelog-btn {
  margin-top: 15px;
  padding: 8px 14px;
  background: #6a0dad;
  border: none;
  border-radius: 6px;
  cursor: pointer;
  color: white;
}

.changelog {
  margin-top: 20px;
  padding: 15px;
  background: #1a1a2e; /* Card color consistency */
  border-radius: 8px;
}

.b { position: relative;
  top: -10px; }












