body.gallery-functions {
  background:
    radial-gradient(circle at 10% 12%, rgba(110, 48, 113, 0.22), transparent 32%),
    radial-gradient(circle at 90% 16%, rgba(225, 177, 77, 0.16), transparent 30%),
    radial-gradient(circle at 50% 100%, rgba(91, 66, 146, 0.18), transparent 36%),
    linear-gradient(180deg, #faf8fd 0%, #f3f1f7 52%, #ece7f4 100%);
  color: #2c2037;
}

body.gallery-functions::before {
  content: '';
  position: fixed;
  inset: 0;
  pointer-events: none;
  background:
    linear-gradient(90deg, rgba(110, 48, 113, 0.06) 1px, transparent 1px),
    linear-gradient(rgba(110, 48, 113, 0.06) 1px, transparent 1px),
    radial-gradient(circle at 50% 24%, rgba(225, 177, 77, 0.14), transparent 18%);
  background-size: 32px 32px, 32px 32px, auto;
  opacity: 0.55;
}

body.gallery-functions header {
  background: linear-gradient(100deg, #241337 0%, #3f2358 60%, #5f3d80 100%);
}

body.gallery-functions .hero {
  background:
    linear-gradient(135deg, rgba(47, 24, 70, 0.96), rgba(99, 56, 132, 0.95)),
    radial-gradient(circle at top right, rgba(225, 177, 77, 0.16), transparent 32%);
}

body.gallery-functions .hero::before {
  background: radial-gradient(circle, rgba(225, 177, 77, 0.3) 0%, rgba(225, 177, 77, 0) 70%);
}

body.gallery-functions .hero h2 {
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

body.gallery-functions .controls,
body.gallery-functions .fixed-galleries {
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.96), rgba(248, 245, 252, 0.96)),
    radial-gradient(circle at top right, rgba(110, 48, 113, 0.12), transparent 28%);
  border-color: rgba(110, 48, 113, 0.18);
}

body.gallery-functions .fixed-gallery-link {
  border-color: rgba(110, 48, 113, 0.22);
  background:
    linear-gradient(130deg, rgba(110, 48, 113, 0.08), rgba(225, 177, 77, 0.12)),
    linear-gradient(180deg, rgba(255, 255, 255, 0.94), rgba(248, 245, 252, 0.99));
  border-radius: 14px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

body.gallery-functions .fixed-gallery-link:hover {
  box-shadow: 0 16px 30px rgba(47, 48, 49, 0.14);
  transform: translateY(-3px);
}

body.gallery-functions .gallery-item {
  border-color: rgba(110, 48, 113, 0.18);
  box-shadow:
    0 14px 30px rgba(47, 48, 49, 0.11),
    0 0 0 1px rgba(225, 177, 77, 0.04);
}

body.gallery-functions .gallery-item:hover {
  transform: translateY(-5px);
  box-shadow:
    0 18px 34px rgba(47, 48, 49, 0.16),
    0 0 0 1px rgba(225, 177, 77, 0.1);
}

body.gallery-functions .gallery-item::before {
  background: linear-gradient(90deg, rgba(110, 48, 113, 0.98), rgba(225, 177, 77, 0.98));
}

body.gallery-functions .gallery-meta {
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.97), rgba(246, 242, 249, 0.99)),
    radial-gradient(circle at top left, rgba(225, 177, 77, 0.08), transparent 45%);
}

body.gallery-functions .gallery-meta h3 {
  color: #4b2b66;
}

body.gallery-functions .gallery-universe,
body.gallery-functions .fixed-gallery-tag {
  background: linear-gradient(135deg, rgba(110, 48, 113, 0.1), rgba(225, 177, 77, 0.16));
}

body.gallery-functions .lightbox {
  background:
    radial-gradient(circle at center, rgba(110, 48, 113, 0.18), rgba(14, 12, 18, 0.94) 62%),
    rgba(14, 12, 18, 0.9);
}

body.gallery-functions .lightbox img {
  box-shadow:
    0 0 0 1px rgba(225, 177, 77, 0.18),
    0 18px 40px rgba(0, 0, 0, 0.34),
    0 0 42px rgba(110, 48, 113, 0.18);
}