
    /* Стили для эффекта звёздочек */
    .ads-header h1 {
        width: fit-content;
        margin: 0 auto;
        color: #fff;
        font-size: 2.5rem;
        font-weight: 900;
        text-transform: uppercase;
        text-shadow: 
            0 0 10px rgba(255, 255, 255, 0.8),
            0 0 20px rgba(124, 58, 237, 0.6),
            0 0 30px rgba(124, 58, 237, 0.4);
        position: relative;
          padding: 10px 30px 0px 30px;
        border-radius: 20px;
        backdrop-filter: blur(5px);
        display: inline-block;
        animation: glow 4s ease-in-out infinite alternate;
    }

    .star {
        position: absolute;
        font-size: 24px;
        opacity: 0;
        pointer-events: none;
        z-index: 100;
        font-weight: bold;
        transition: all 0.3s ease;
    }
    
    .star.twinkle {
        animation: twinkle 1.2s ease-out forwards;
    }
    
    @keyframes twinkle {
        0% {
            opacity: 0;
            transform: scale(0.2) rotate(0deg);
        }
        30% {
            opacity: 1;
            transform: scale(1.2) rotate(180deg);
        }
        100% {
            opacity: 0;
            transform: scale(0.5) rotate(360deg);
        }
    }
    
    .particle {
        position: absolute;
        width: 4px;
        height: 4px;
        border-radius: 50%;
        pointer-events: none;
        opacity: 0;
    }
    
    .particle.sparkle {
        animation: sparkle 1s ease-out forwards;
    }
    
    @keyframes sparkle {
        0% {
            opacity: 0;
            transform: translate(0, 0) scale(0);
        }
        50% {
            opacity: 1;
            transform: translate(var(--tx), var(--ty)) scale(1);
        }
        100% {
            opacity: 0;
            transform: translate(calc(var(--tx) * 1.5), calc(var(--ty) * 1.5)) scale(0);
        }
    }
    
    .star-1 { font-size: 28px; }
    .star-2 { font-size: 22px; }
    .star-3 { font-size: 18px; }
	
	
	
	/* ===== УЛУЧШЕННЫЕ СТИЛИ ДЛЯ ЭФФЕКТА ЗВЁЗДОЧЕК ===== */
.ads-header {
    overflow: hidden !important;
    position: relative;
    z-index: 1;
}

#effects-container {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 9999;
     overflow: hidden !important;
}

.star {
    position: absolute;
    font-size: 24px;
    opacity: 0;
    pointer-events: none;
    z-index: 10000;
    font-weight: bold;
    transition: all 0.3s ease;
    filter: drop-shadow(0 0 8px currentColor);
    text-shadow: 
        0 0 10px currentColor,
        0 0 20px currentColor;
}

.star.twinkle {
    animation: twinkle 1.2s ease-out forwards;
    z-index: 10001;
}

.particle {
    position: absolute;
    width: 6px;
    height: 6px;
    border-radius: 50%;
    pointer-events: none;
    opacity: 0;
    z-index: 9999;
    filter: blur(1px);
    box-shadow: 
        0 0 8px currentColor,
        0 0 16px currentColor;
}

.particle.sparkle {
    animation: sparkle 1s ease-out forwards;
    z-index: 9998;
}

/* Увеличенные анимации для лучшей видимости */
@keyframes twinkle {
    0% {
        opacity: 0;
        transform: scale(0.3) rotate(0deg) translateY(0);
    }
    30% {
        opacity: 1;
        transform: scale(1.5) rotate(180deg) translateY(-5px);
    }
    70% {
        opacity: 0.8;
        transform: scale(1.2) rotate(300deg) translateY(-10px);
    }
    100% {
        opacity: 0;
        transform: scale(0.5) rotate(360deg) translateY(-15px);
    }
}

@keyframes sparkle {
    0% {
        opacity: 0;
        transform: translate(0, 0) scale(0);
    }
    40% {
        opacity: 1;
        transform: translate(var(--tx), var(--ty)) scale(1.5);
    }
    80% {
        opacity: 0.5;
        transform: translate(calc(var(--tx) * 1.3), calc(var(--ty) * 1.3)) scale(0.8);
    }
    100% {
        opacity: 0;
        transform: translate(calc(var(--tx) * 1.5), calc(var(--ty) * 1.5)) scale(0);
    }
}

/* Разные размеры звёзд */
.star-1 { 
    font-size: 32px; 
    filter: drop-shadow(0 0 12px currentColor);
}
.star-2 { 
    font-size: 24px; 
    filter: drop-shadow(0 0 10px currentColor);
}
.star-3 { 
    font-size: 18px; 
    filter: drop-shadow(0 0 8px currentColor);
}

.ads-header {
    position: relative;
    z-index: 1;
    isolation: isolate; /* Создаёт новый контекст наложения */
}

.ads-header::after {
    content: '';
    position: absolute;
    top: -50px;
    left: -50px;
    right: -50px;
    bottom: -50px;
    background: transparent;
    pointer-events: none;
    z-index: -1;
}