:root {
  --bg: #0b0b0d;
  --glass-bg: rgba(255, 255, 255, 0.05);
  --glass-border: rgba(255, 255, 255, 0.12);
  --text: #e4e4e4;
  --accent: #a060ff;

  --hero-title-color: #984fff;
  --hero-text-color:  #846dab;
  --hero-button-bg:   #51288a;
  --hero-button-text: #ffffff;
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

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;
}

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 ease, opacity 0.25s ease;
}
.accent-btn:hover {
  transform: translateY(-2px);
  opacity: 0.85;
}

.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;
  transition: box-shadow 0.4s ease;
}
.glass:hover {
  box-shadow: 0 0 10px rgba(160, 96, 255, 0.15);
}

.splash {
  position: fixed;
  inset: 0;
  background: var(--bg);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 2000;
  animation: splashFade 3s forwards;
}
.splash-title {
  font-size: 2.8rem;
  letter-spacing: 2px;
  opacity: 0;
  transform: scale(0.8);
  animation: titlePop 1.6s forwards 0.6s;
}
@keyframes titlePop {
  0% { opacity: 0; transform: scale(0.8); }
  60% { opacity: 1; transform: scale(1.05); }
  100% { opacity: 1; transform: scale(1); }
}
@keyframes splashFade {
  0%, 80% { opacity: 1; }
  100% { opacity: 0; pointer-events: none; visibility: hidden; }
}
.splash--hide { display: none; }

.nav-bar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1rem 2rem;
  position: sticky;
  top: 0;
  z-index: 1000;
  backdrop-filter: blur(20px) saturate(200%);
  animation: slideDown 0.6s ease-out 0.2s both;
}
@keyframes slideDown {
  from { transform: translateY(-20px); opacity: 0; }
  to   { transform: none; opacity: 1; }
}
.nav-bar nav a { margin-left: 1rem; font-weight: 500; }

/* Image under the title */
.horizontal-img-holder {
  position: absolute;
  top: 6rem; /* adjust to sit just beneath your nav-bar */
  left: 10%;
  transform: translateX(-50%);
  width: min(80%, 600px);
  aspect-ratio: 16 / 9;
  z-index: 1;
}
.horizontal-img-holder img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
}

.content {
  padding: 2rem;
  max-width: 1200px;
  margin: auto;
}
.section-title { font-size: 1.75rem; margin-bottom: 1rem; }

.search-bar {
  width: 100%;
  padding: 0.75rem 1rem;
  margin-bottom: 1.5rem;
  color: var(--text);
  border-radius: 8px;
  border: none;
}

.grid {
  display: grid;
  gap: 1.5rem;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
}

.card {
  padding: 1.5rem;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}
.card:hover {
  transform: translateY(-4px);
  box-shadow: 0 6px 14px rgba(0, 0, 0, 0.45);
}

.sidebar,
.png-holder { display: none; } /* not used on this page */

footer {
  text-align: center;
  padding: 2rem 1rem;
  margin-top: 4rem;
  font-size: 0.9rem;
}

.hidden { opacity: 0; transform: translateY(30px); }
.show {
  opacity: 1;
  transform: none;
  transition: all 0.6s ease-out 0.2s;
}

/* Extension card header & checkmark */
.card-header {
  display: flex;
  align-items: center;
  margin-bottom: 0.5rem;
}
.card-header h3 {
  flex: 1;
  margin: 0;
}
.check-container {
  width: 20px;
  height: 20px;
  cursor: pointer;
}
.check-container img {
  width: 100%;
  height: auto;
  display: block;
}

/* Hide checkmark on no-check cards */
.card.no-check .check-container img {
  display: none;
}

/* Responsive tweaks */
@media (max-width: 768px) {
  .nav-bar { flex-direction: column; align-items: flex-start; }
  .horizontal-img-holder { top: 6rem; width: 90%; }
}
@media (max-width: 480px) {
  .grid { grid-template-columns: 1fr; }
}
