/* ===== Кнопка с градиентом ===== */
.gradient-btn {
    background: linear-gradient(90deg, #C0852E, #FFD48F);
    background-size: 200% 100%;
    padding: 10px 20px; /* увеличил для удобства */
    border: none;
    border-radius: 30px;
    color: white;
    font-size: 16px;
    font-weight: bold;
    cursor: pointer;
    transition: all 0.3s ease;
    animation: gradientFlow 3s ease infinite;
    box-shadow: 0 4px 15px rgba(206, 58, 18, 0.3);
}

.gradient-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(206, 58, 18, 0.4);
}

@keyframes gradientFlow {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}

/* ===== Кнопка с эффектом свечения ===== */
.glow-on-hover {
    width: 220px;
    height: 50px;
    border: none;
    outline: none;
    color: #fff;
    background: #111;
    cursor: pointer;
    position: relative;
    z-index: 0;
    border-radius: 10px;
}

.glow-on-hover:before {
    content: '';
    background: linear-gradient(45deg, #ff0000, #ff7300, #fffb00, #48ff00, #00ffd5, #002bff, #7a00ff, #ff00c8, #ff0000);
    position: absolute;
    top: -2px;
    left: -2px;
    width: calc(100% + 4px);
    height: calc(100% + 4px);
    background-size: 400%;
    z-index: -1;
    filter: blur(5px);
    animation: glowing 20s linear infinite;
    opacity: 0;
    transition: opacity .3s ease-in-out;
    border-radius: 10px;
}

.glow-on-hover:hover:before {
    opacity: 1;
}

.glow-on-hover:after {
    content: '';
    position: absolute;
    z-index: -1;
    width: 100%;
    height: 100%;
    background: #111;
    left: 0;
    top: 0;
    border-radius: 10px;
}

.glow-on-hover:active {
    color: #000;
}

.glow-on-hover:active:after {
    background: transparent;
}

@keyframes glowing {
    0% { background-position: 0 0; }
    50% { background-position: 400% 0; }
    100% { background-position: 0 0; }
}

/* ===== Блок с градиентной рамкой ===== */
.rectangle::before {
    content: '';
    position: absolute;
    top: -4px;
    left: -4px;
    right: -4px;
    bottom: -4px;
    background: linear-gradient(45deg, #BD822B, #01142F, #FFC76E);
    border-radius: 0px;
    z-index: -1;
    background-size: 400% 400%;
    animation: gradientShift 10s ease infinite;
}

@keyframes gradientShift {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}

/* ===== Градиентная рамка для карточек #st310n ===== */
#st310n .uc-t-card {
    background-color: rgba(255, 255, 255, 0.1);
    padding: 4px;
    background-clip: padding-box;
    position: relative;
    border-radius: 8px;
}

#st310n .uc-t-card::before {
    content: '';
    position: absolute;
    top: -4px;
    right: -4px;
    bottom: -4px;
    left: -4px;
    background: linear-gradient(-45deg, #ffd700, #daa520, #b8860b, #ffec8b, #ffd700);
    background-size: 400% 400%;
    z-index: -1;
    border-radius: inherit;
    animation: gradient-border 3s ease infinite;
}

@keyframes gradient-border {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}

/* ===== Стили ссылок с hover ===== */
.hover-text {
    color: #333;
    transition: color 0.3s ease;
    text-decoration: none;
}

.hover-text:hover {
    color: #ce3a12;
}

.texxxt {
    color: #9B9292;
    transition: color 0.3s ease;
    text-decoration: none;
}

.texxxt:hover {
    color: #ce3a12;
}

/* ===== Мобильные стили ===== */
@media screen and (max-width: 640px) {
    /* Общие отступы всех контейнеров */
    .t-rec, .t-container, .t-row, .t-block, #rec1502689251 {
        margin-bottom: 0 !important;
        padding-bottom: 0 !important;
    }

    .t-section {
        margin-bottom: 0 !important;
    }
}
/* Основной текст */
body {
  font-family: Arial, sans-serif;
  font-weight: normal;
  font-style: normal;
}

/* Заголовки */
h1, h2, h3, h4, h5, h6 {
  font-family: 'Spectral ExtraLight Italic', serif;
  font-weight: 200; /* ExtraLight */
  font-style: italic;
}
