
@import url('https://fonts.googleapis.com/css2?family=IRANSansWebFaNum:wght@400;700&display=swap');

  .unified-blood-counter {
    text-align: center;
    padding: 27px 7px 7px 7px;
    background: #0f0a0a;
    border: 2px solid #3a0000;
    border-radius: 12px;
    position: relative;
    overflow: hidden;
    max-width: 500px;
    margin: 40px auto;
    box-shadow: 0 10px 50px rgba(0,0,0,0.8);
  }

  .counter-label {
    font-family: 'IRANSansWebFaNum', sans-serif;
    font-size: 14px;
    color: #ff4444;
    margin-bottom: 12px;
  }

  .blood-number-wrapper {
    position: relative;
    display: inline-block;
  }

  .blood-number {
    font-family: 'IRANSansWebFaNum', sans-serif;
    font-size: 47px;
    font-weight: 700;
    line-height: 1;
    color: #8b0000;
    text-shadow: 3px 5px 0 #000;
    letter-spacing: -6px;
    position: relative;
    z-index: 2;
  }

  /* ?ا?? ?طرات - ف?ط از پا??? عدد */
  .drops-from-digits {
    position: absolute;
    bottom: -12px;        /* د???ا? ز?ر پا??? اعداد */
    left: 0;
    width: 100%;
    height: 190px;
    pointer-events: none;
    z-index: 1;
    overflow: hidden;
  }

  .drop {
    position: absolute;
    width: 0;
    height: 0;
    animation: dripFromDigit 8s infinite linear;
  }

  .drop::before {
    content: '';
    position: absolute;
    width: 0; 
    height: 0;
    border-left: 3px solid transparent;
    border-right: 3px solid transparent;
    border-bottom: 9px solid #dc2626;
    top: -9px;
    left: -3px;
  }

  .drop::after {
    content: '';
    position: absolute;
    width: 6px;
    height: 6px;
    background: #dc2626;
    border-radius: 50%;
    top: 0;
    left: -3px;
  }

  @keyframes dripFromDigit {
    0%   { transform: translateY(0px); opacity: 0.95; }
    40%  { transform: translateY(88px); }
    70%  { transform: translateY(145px); }
    100% { transform: translateY(185px); opacity: 0; }
  }

  /* پ?د? خ?? ر?? ز??? */
  .blood-puddle {
    position: absolute;
    bottom: 28px;
    left: 50%;
    transform: translateX(-50%);
    width: 195px;
    height: 30px;
    background: radial-gradient(#aa0000, #440000);
    border-radius: 50%;
    opacity: 0.45;
    z-index: 1;
    animation: puddlePulse 4s infinite alternate ease-in-out;
  }

  @keyframes puddlePulse {
    from { transform: translateX(-50%) scale(0.95); opacity: 0.4; }
    to   { transform: translateX(-50%) scale(1.1); opacity: 0.55; }
  }