:root {
  --paper: #fffdfa;
  --ink: #1f2937;
  --muted: #6b7280;
  --line: #e8ddd1;
  --accent: #0f766e;
  --accent-soft: #d7f0ed;
  --highlight: #b45309;
  --card: #fffefb;
  --shadow: 0 16px 40px rgba(31, 41, 55, 0.08);
}

html,
body {
  background:
    radial-gradient(circle at 15% 15%, rgba(180, 83, 9, 0.07), transparent 40%),
    radial-gradient(circle at 82% 22%, rgba(15, 118, 110, 0.09), transparent 42%),
    linear-gradient(180deg, #fffdf9 0%, #fff8ef 100%);
  color: var(--ink);
  font-family: "Cairo Variable", sans-serif;
  min-height: 100%;
}

.bg-shape {
  position: fixed;
  border-radius: 999px;
  filter: blur(70px);
  opacity: 0.35;
  pointer-events: none;
  z-index: 0;
}

.bg-shape-1 {
  width: 18rem;
  height: 18rem;
  top: 6%;
  right: -4rem;
  background: #fde68a;
}

.bg-shape-2 {
  width: 22rem;
  height: 22rem;
  bottom: -8rem;
  left: -6rem;
  background: #99f6e4;
}

.hero-wrap,
.section,
.footer-note {
  position: relative;
  z-index: 1;
}

.hero-wrap {
  padding: 4.75rem 1.25rem 1.25rem;
}

.eyebrow {
  display: inline-block;
  font-family: "Manrope Variable", sans-serif;
  font-size: 0.78rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 0.35rem 0.85rem;
  color: var(--muted);
  background: rgba(255, 255, 255, 0.76);
  backdrop-filter: blur(4px);
}

.page-title {
  margin-top: 1rem;
  margin-bottom: 1.15rem;
  line-height: 1.26;
  color: #111827;
  font-weight: 800;
}

.page-subtitle {
  color: var(--muted);
  max-width: 58ch;
}

.intro-tags {
  margin-top: 1.1rem;
}

.intro-tags .tag {
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.78);
  color: #1f2937;
}

.columns {
  margin-top: 0.3rem;
}

.category-card {
  height: 100%;
  border: 1px solid var(--line);
  border-radius: 1rem;
  padding: 1.25rem 1.1rem 1.1rem;
  background: linear-gradient(160deg, rgba(255, 255, 255, 0.95), rgba(255, 250, 240, 0.98));
  box-shadow: var(--shadow);
  transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
}

.category-card:hover {
  transform: translateY(-5px);
  border-color: #d6bca6;
  box-shadow: 0 20px 38px rgba(17, 24, 39, 0.12);
}

.category-title {
  display: flex;
  align-items: center;
  gap: 0.45rem;
  font-size: 1.2rem;
  color: #0f172a;
  margin-bottom: 0.8rem;
  font-weight: 700;
}

.category-title i {
  color: var(--accent);
}

.category-card ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

.category-card li + li {
  border-top: 1px dashed #eddccc;
}

.category-card a {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 0.75rem;
  padding: 0.66rem 0;
  color: #1f2937;
  font-weight: 600;
}

.category-card a:hover {
  color: var(--accent);
}

.en {
  direction: ltr;
  text-align: left;
  font-family: "Manrope Variable", sans-serif;
  font-size: 0.82rem;
  letter-spacing: 0.02em;
  color: #6b7280;
}

.footer-note {
  padding: 1.25rem 1.25rem 3rem;
}

.footer-note p {
  color: #6b7280;
  font-size: 0.95rem;
  border-top: 1px solid #ecdccd;
  padding-top: 1rem;
}

.footer-note a {
  color: var(--accent);
  font-family: "Manrope Variable", sans-serif;
  font-weight: 700;
}

.footer-note a:hover {
  color: #0b5f58;
  text-decoration: underline;
}

.reveal {
  opacity: 0;
  transform: translateY(14px);
  animation: rise 0.65s ease forwards;
}

.columns > .column:nth-child(1) .reveal { animation-delay: 0.03s; }
.columns > .column:nth-child(2) .reveal { animation-delay: 0.07s; }
.columns > .column:nth-child(3) .reveal { animation-delay: 0.11s; }
.columns > .column:nth-child(4) .reveal { animation-delay: 0.15s; }
.columns > .column:nth-child(5) .reveal { animation-delay: 0.19s; }
.columns > .column:nth-child(6) .reveal { animation-delay: 0.23s; }
.columns > .column:nth-child(7) .reveal { animation-delay: 0.27s; }
.columns > .column:nth-child(8) .reveal { animation-delay: 0.31s; }
.columns > .column:nth-child(9) .reveal { animation-delay: 0.35s; }
.columns > .column:nth-child(10) .reveal { animation-delay: 0.39s; }
.columns > .column:nth-child(11) .reveal { animation-delay: 0.43s; }
.columns > .column:nth-child(12) .reveal { animation-delay: 0.47s; }
.columns > .column:nth-child(13) .reveal { animation-delay: 0.51s; }

@keyframes rise {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@media (max-width: 768px) {
  .hero-wrap {
    padding-top: 3.2rem;
  }

  .page-subtitle {
    font-size: 1rem;
  }

  .category-title {
    font-size: 1.08rem;
  }

  .category-card a {
    font-size: 0.96rem;
  }
}
