/* ===== PARTICLE BACKGROUND ===== */
#particles {
  position: fixed;
  top: 0; left: 0;
  width: 100%; height: 100%;
  pointer-events: none;
  z-index: 0;
}
.particle {
  position: absolute;
  top: -10px;
  background: rgba(255,255,255,0.3);
  border-radius: 0;
  border: 1px solid rgba(255,255,255,0.6);
  animation: fall linear infinite;
}
@keyframes fall {
  0%   { transform: translateY(-10px) translateX(0); }
  100% { transform: translateY(110vh) translateX(20px); }
}

/* ===========================
   Xzen Info Page Styles
   =========================== */

/* Color Variables */
:root {
  --bg: #0b0b0d;
  --glass-bg: rgba(255,255,255,0.05);
  --glass-border: rgba(255,255,255,0.12);
  --text: #e4e4e4;
  --accent: #a060ff;
}
/* Global Reset */
* { box-sizing: border-box; margin: 0; padding: 0; }

/* Base */
body {
  font-family: "Segoe UI", Tahoma, sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  overflow-x: hidden;
  min-height: 100vh;
  scroll-behavior: smooth;
}

/* Links & Buttons */
a { color: var(--accent); text-decoration: none; }
a:hover { text-decoration: underline; }
.accent { color: var(--accent); }
.accent-btn {
  background: var(--accent);
  border: none;
  color: #fff;
  padding: 0.75rem 1.5rem;
  border-radius: 8px;
  cursor: pointer;
  font-weight: 600;
  transition: transform 0.25s, opacity 0.25s;
}
.accent-btn:hover {
  transform: translateY(-2px);
  opacity: 0.85;
}

/* Glass Panels */
.glass {
  background: var(--glass-bg);
  backdrop-filter: blur(14px) saturate(180%);
  -webkit-backdrop-filter: blur(14px) saturate(180%);
  border: 1px solid var(--glass-border);
  border-radius: 12px;
  padding: 2rem;
  transition: box-shadow 0.4s;
}
.glass:hover {
  box-shadow: 0 0 10px rgba(160,96,255,0.15);
}

/* Nav Bar */
.nav-bar {
  position: sticky; top: 0; width: 100%;
  display: flex; align-items: center; justify-content: space-between;
  padding: 1rem 2rem; z-index: 1;
  backdrop-filter: blur(20px) saturate(200%);
}
.nav-bar .logo {
  font-size: 1.5rem; color: var(--accent);
}
.nav-bar nav ul {
  list-style: none; display: flex; gap: 1.5rem;
}
.nav-bar a {
  color: var(--text); transition: color 0.3s;
}
.nav-bar a:hover,
.nav-bar .active { color: var(--accent); }

/* Content Layout */
.content {
  max-width: 1000px;
  margin: 4rem auto;
  display: flex; flex-direction: column; gap: 2rem;
  z-index: 1;
}

/* About Section */
.about-section {
  display: flex; align-items: flex-start; gap: 2rem;
}
.about-text { flex: 1; }
.img-holder { overflow: hidden; border-radius: 6px; }
.img-right  { order: 1; }
.img-medium { width: 500px; height: 300px; }
.img-holder img {
  width: 100%; height: 100%; object-fit: contain;
}

/* Section Titles */
.section-title {
  font-size: 2rem; margin-bottom: 1rem; color: var(--accent);
  animation: slideUp 0.6s ease-out both;
}
@keyframes slideUp {
  from { opacity: 0; transform: translateY(20px); }
  to   { opacity: 1; transform: translateY(0); }
}

/* Features */
.features {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px,1fr));
  gap: 1.5rem;
}
.feature h3 { margin-bottom: 0.5rem; color: var(--accent); }

/* Workflow */
.workflow-list { list-style: disc inside; margin-bottom: 1rem; }
.workflow-list li { margin: 0.5rem 0; }
.workflow-table {
  width: 100%; border-collapse: collapse; margin-top: 1rem;
}
.workflow-table th,
.workflow-table td {
  border: 1px solid var(--glass-border);
  padding: 0.75rem; text-align: left;
}
.workflow-table th {
  background: rgba(255,255,255,0.1);
  color: var(--accent);
}

/* Details */
.details { display: flex; flex-direction: column; gap: 2rem; }
.detail h3 { margin-bottom: 0.75rem; color: var(--accent); }

/* Code Snippet & Copy Button */
.paths-snippet {
  background: rgba(255,255,255,0.1);
  padding: 1rem;
  border-radius: 6px;
  overflow-x: auto;
  font-family: Consolas, Monaco, monospace;
  font-size: 0.9rem;
}
.copy-code {
  display: inline-block;
  margin-top: 0.5rem;
  padding: 0.25rem 0.5rem;
  background: rgba(255,255,255,0.1);
  border-radius: 4px;
  cursor: pointer;
  white-space: nowrap;
  font-size: 0.9rem;
  transition: background 0.2s;
}
.copy-code:hover {
  background: rgba(255,255,255,0.2);
}

/* Quick Specs */
.info-table table {
  width: 100%; border-collapse: collapse; margin-top: 1rem;
}
.info-table th,
.info-table td {
  border: 1px solid var(--glass-border);
  padding: 0.6rem; text-align: left;
}
.info-table th {
  background: rgba(255,255,255,0.1);
  color: var(--accent);
}

/* Footer */
.footer {
  text-align: center;
  margin: 4rem auto 2rem;
  max-width: 800px;
  font-size: 0.9rem;
}

/* Image Holders (Left/Right) */
.png-holder-left {
  position: absolute; top: 110%; left: 95rem;
  transform: translateY(-50%); width: 300px; z-index: 920;
}
.png-holder-right {
  position: absolute; top: 280%;
  left: calc(-18rem + 320px);
  transform: translateY(-50%); width: 400px; z-index: 920;
}
.png-holder-left img,
.png-holder-right img {
  width: 100%; height: auto; display: block;
}

/* Reveal Animations */
.hidden { opacity: 0; transform: translateY(30px); }
.show  {
  opacity: 1; transform: none;
  transition: all 0.6s ease-out 0.2s;
}

/* Responsive */
@media (max-width: 768px) {
  .nav-bar { flex-direction: column; align-items: flex-start; }
  .horizontal-img-holder { top: 6rem; width: 90%; }
}
@media (max-width: 600px) {
  .features,
  .info-table table,
  .workflow-table,
  .workflow-list { font-size: 0.9rem; }
  .about-section,
  .explanation-wrapper { flex-direction: column; }
}
@media (max-width: 480px) {
  .grid { grid-template-columns: 1fr; }
}
