
  document.addEventListener('DOMContentLoaded', function () {
    if (document.getElementById('bf-garland')) return;

    const container = document.createElement('div');
    container.id = 'bf-garland';

    const line = document.createElement('div');
    line.id = 'bf-garland-line';
    container.appendChild(line);

    document.body.appendChild(container);

    const colors = ['#ff6b6b', '#ffd54f', '#4dd0e1', '#81c784', '#ba68c8'];
    const bulbsCount = 24;

    for (let i = 0; i < bulbsCount; i++) {
      const bulb = document.createElement('span');
      const left = (i / (bulbsCount - 1)) * 100;
      bulb.style.left = left + '%';
      bulb.style.backgroundColor = colors[i % colors.length];
      bulb.style.boxShadow = '0 0 10px ' + colors[i % colors.length];
      bulb.style.animationDelay = (Math.random() * 1.5).toFixed(2) + 's';
      line.appendChild(bulb);
    }
  });

