@media screen and (max-width: 480px) {
  #rec711977471 {
    max-height: 300px; /* Более маленькая максимальная высота для мобильных устройств */
  }
}

@media screen and (min-width: 481px) and (max-width: 768px) {
  #rec711977471 {
    max-height: 400px; /* Промежуточная высота для планшетов */
  }
}

@media screen and (min-width: 769px) {
  #rec711977471 {
    max-height: 500px; /* Большая высота для десктопов */
  }
}

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

body {
    background: #ffffff; /* Цвет фона страницы */
    font-family: 'Raleway', sans-serif;
    font-weight: bold;
}

.neon-button {
    position: relative;
    display: inline-flex;
    justify-content: center;
    align-items: center;
    padding: 25px 30px;
    color: #A7FC00; /* Новый цвет текста */
    text-decoration: none;
    text-transform: uppercase;
    transition: 0.5s;
    letter-spacing: 4px;
    overflow: hidden;
    background: transparent; /* Прозрачный фон */
    border: none; /* Убираем границу */
}

.neon-button:hover {
    background: #A7FC00; /* Новый цвет фона при наведении */
    color: #050801;
    box-shadow: 0 0 5px #A7FC00,
                0 0 10px #A7FC00,
                0 0 15px #A7FC00,
                0 0 20px #A7FC00; /* Новый цвет свечения */
}

.neon-button span {
    position: absolute;
    display: block;
}

.neon-button span:nth-child(1) {
    top: 0;
    left: 0;
    width: 100%;
    height: 2px;
    background: linear-gradient(90deg, transparent, #A7FC00);
    animation: animate1 1s linear infinite;
}

@keyframes animate1 {
    0% {
        left: -100%;
    }
    50%, 100% {
        left: 100%;
    }
}

.neon-button span:nth-child(2) {
    top: -100%;
    right: 0;
    width: 2px;
    height: 100%;
    background: linear-gradient(180deg, transparent, #A7FC00);
    animation: animate2 1s linear infinite;
    animation-delay: 0.25s;
}

@keyframes animate2 {
    0% {
        top: -100%;
    }
    50%, 100% {
        top: 100%;
    }
}

.neon-button span:nth-child(3) {
    bottom: 0;
    right: 0;
    width: 100%;
    height: 2px;
    background: linear-gradient(270deg, transparent, #A7FC00);
    animation: animate3 1s linear infinite;
    animation-delay: 0.50s;
}

@keyframes animate3 {
    0% {
        right: -100%;
    }
    50%, 100% {
        right: 100%;
    }
}

.neon-button span:nth-child(4) {
    bottom: -100%;
    left: 0;
    width: 2px;
    height: 100%;
    background: linear-gradient(360deg, transparent, #A7FC00);
    animation: animate4 1s linear infinite;
    animation-delay: 0.75s;
}

@keyframes animate4 {
    0% {
        bottom: -100%;
    }
    50%, 100% {
        bottom: 100%;
    }
}

/* Медиазапросы для мобильных устройств */
@media (max-width: 768px) {
    .neon-button {
        background: #A7FC00; /* Постоянное свечение на мобильных устройствах */
        color: #050801;
        box-shadow: 0 0 5px #A7FC00,
                    0 0 10px #A7FC00,
                    0 0 15px #A7FC00,
                    0 0 20px #A7FC00; /* Новый цвет свечения */
        -webkit-box-reflect: below 1px linear-gradient(transparent, #0005); /* Эффект отражения только на мобильных устройствах */
    }
}

/* уже есть импорт шрифта – добавьте вторым: */
@import url('https://cdn.jsdelivr.net/npm/swiper@9/swiper-bundle.min.css');