@font-face {
    font-family: 'Roboto';
    src: url('../fonts/Roboto-Regular.woff2') format('woff2'),
         url('../fonts/Roboto-Regular.woff') format('woff');
    font-weight: normal;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Roboto';
    src: url('../fonts/Roboto-Bold.woff2') format('woff2'),
         url('../fonts/Roboto-Bold.woff') format('woff');
    font-weight: bold;
    font-style: normal;
    font-display: swap;
}

body {
    padding-top: 70px;
    overflow-x: hidden;
    background-image: url('../img/main-bg.jpg');
    background-repeat: no-repeat;
    background-position: center center;
    background-attachment: fixed;
    background-size: cover;
    color: #f5f5f5;
    font-family: 'Roboto', 'Arial', sans-serif;
    line-height: 1.6;
}

/* Убираем градиентные затемнения у секций */
.section-bg::before {
    display: none; /* Убираем затемняющий слой */
}

/* Делаем секции полупрозрачными */
.section-with-divider {
    min-height: 100vh;
    padding: 25px 0;
    display: flex;
    align-items: center;
    background: rgba(10, 10, 10, 0.7); /* Полупрозрачный темный фон */
    backdrop-filter: blur(5px); /* Легкое размытие для красивого эффекта */
}

/* Обновляем стили контентных блоков для лучшей читаемости */
.content-block {
    background: linear-gradient(135deg, rgba(20, 20, 20, 0.95), rgba(40, 40, 40, 0.9));
    padding: 3rem;
    border-radius: 20px;
    border: 2px solid rgba(212, 175, 55, 0.4);
    box-shadow: 0 0 35px rgba(212, 175, 55, 0.25),
                inset 0 0 35px rgba(212, 175, 55, 0.15);
    backdrop-filter: blur(15px);
    transition: all 0.4s ease;
    overflow: hidden;
    word-wrap: break-word;
}

/* Адаптивность для мобильных */
@media (max-width: 768px) {
    .section-with-divider {
        background: rgba(10, 10, 10, 0.85); /* Чуть менее прозрачный на мобильных */
    }
    
    .content-block {
        padding: 2rem;
        margin: 1rem;
    }
}
/* Прозрачная шапка */
.navbar {
    background: linear-gradient(135deg, rgba(173, 173, 173, 0.4), rgba(30, 30, 30, 0.9)) !important;
    backdrop-filter: blur(15px);
    padding: 12px 0;
    transition: all 0.4s ease;
    z-index: 1000;
    border-bottom: 1px solid rgba(212, 175, 55, 0.3);
}

.navbar.scrolled {
    background: linear-gradient(135deg, rgba(20, 20, 20, 0.98), rgba(40, 40, 40, 0.95)) !important;
    padding: 8px 0;
    box-shadow: 0 4px 20px rgba(212, 175, 55, 0.2);
}

.navbar-nav .nav-link {
    color: #f5f5f5 !important;
    margin: 0 18px;
    transition: all 0.3s ease;
    font-weight: 500;
    text-shadow: 0 0 5px rgba(255, 255, 255, 0.1);
}

.navbar-nav .nav-link:hover {
    color: #D4AF37 !important;
    text-shadow: 0 0 15px rgba(212, 175, 55, 0.6);
    transform: translateY(-2px);
}

.navbar-toggler {
    border: 1px solid rgba(212, 175, 55, 0.5);
    background: rgba(212, 175, 55, 0.1);
}

.navbar-toggler:focus {
    box-shadow: 0 0 0 3px rgba(212, 175, 55, 0.3);
}

/* Золотисто-серебряные кнопки */
.btn-neon {
    background: linear-gradient(135deg, rgba(212, 175, 55, 0.2), rgba(192, 192, 192, 0.15));
    color: #D4AF37;
    border: 2px solid #D4AF37;
    border-radius: 35px;
    padding: 14px 32px;
    transition: all 0.4s ease;
    text-transform: uppercase;
    font-weight: bold;
    letter-spacing: 1.2px;
    backdrop-filter: blur(12px);
    position: relative;
    overflow: hidden;
    font-size: 1rem;
    transform: translateZ(0);
    will-change: transform;
    text-shadow: 0 0 10px rgba(212, 175, 55, 0.4);
}

.btn-neon::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(212, 175, 55, 0.3), transparent);
    transition: left 0.6s ease;
}

.btn-neon:hover::before {
    left: 100%;
}

.btn-neon:hover {
    background: linear-gradient(135deg, #D4AF37, #C0C0C0);
    color: #000;
    box-shadow: 0 0 30px #D4AF37, 0 0 60px rgba(212, 175, 55, 0.5);
    transform: translateY(-3px) scale(1.05);
    z-index: 1001;
    border-color: #FFD700;
}

.btn-neon-outline {
    background: linear-gradient(135deg, rgba(192, 192, 192, 0.15), rgba(212, 175, 55, 0.1));
    color: #C0C0C0;
    border: 2px solid #C0C0C0;
    border-radius: 35px;
    padding: 14px 32px;
    transition: all 0.4s ease;
    text-transform: uppercase;
    font-weight: bold;
    letter-spacing: 1.2px;
    backdrop-filter: blur(12px);
    position: relative;
    overflow: hidden;
    font-size: 1rem;
}

.btn-neon-outline::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(192, 192, 192, 0.3), transparent);
    transition: left 0.6s ease;
}

.btn-neon-outline:hover::before {
    left: 100%;
}

.btn-neon-outline:hover {
    background: linear-gradient(135deg, #C0C0C0, #D4AF37);
    color: #000;
    box-shadow: 0 0 30px #C0C0C0, 0 0 60px rgba(192, 192, 192, 0.5);
    transform: translateY(-3px) scale(1.05);
    border-color: #FFFFFF;
}

/* Увеличиваем ширину блока с вопросами */
.wider-questions {
    width: 100%;
    max-width: 900px; /* или любое другое значение */
    margin: 0 auto;
}

/* Или если нужно именно растянуть на доступное пространство */
.questions-grid-wide {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 15px;
    margin: 2.5rem 0;
}

.question-item-wide {
    display: flex;
    align-items: flex-start;
    padding: 18px 24px;
    background: linear-gradient(135deg, rgba(212, 175, 55, 0.12), rgba(192, 192, 192, 0.08));
    border: 1px solid rgba(212, 175, 55, 0.4);
    border-radius: 15px;
    transition: all 0.3s ease;
    backdrop-filter: blur(8px);
}
/* Секции */
.section-with-divider {
    min-height: 100vh;
    padding: 25px 0;
    display: flex;
    align-items: center;
}

/* Фоновые изображения */
.section-bg {
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    background-attachment: fixed;
    position: relative;
}

.section-bg::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(10, 10, 10, 0.2), rgba(30, 30, 30, 0.9));
    z-index: 0;
}

.section-bg > * {
    position: relative;
    z-index: 1;
}

/* Золотисто-серебряный разделитель */
.neon-divider {
    height: 20px;
    position: relative;
    overflow: hidden;
    background:  rgba(30, 30, 30, 0.79);
}

.neon-line {
    height: 4px;
    background: linear-gradient(90deg, transparent, #D4AF37, #C0C0C0, #D4AF37, transparent);
    width: 200%;
    animation: running-line 2.5s linear infinite;
    position: absolute;
    top: 8px;
    left: -100%;
}

@keyframes running-line {
    0% {
        left: -100%;
    }
    100% {
        left: 100%;
    }
}

.neon-line::before,
.neon-line::after {
    content: '';
    position: absolute;
    width: 25px;
    height: 25px;
    background: #D4AF37;
    border-radius: 50%;
    top: -10px;
    filter: blur(8px);
    animation: pulse 1.8s ease-in-out infinite;
}

.neon-line::before {
    left: 25%;
    animation-delay: 0.3s;
}

.neon-line::after {
    right: 25%;
    animation-delay: 0.7s;
}

@keyframes pulse {
    0%, 100% {
        transform: scale(1);
        opacity: 0.8;
        box-shadow: 0 0 20px #D4AF37;
    }
    50% {
        transform: scale(1.3);
        opacity: 1;
        box-shadow: 0 0 30px #FFD700;
    }
}

/* Блоки контента */
.content-block {
    background: linear-gradient(135deg, rgba(20, 20, 20, 0.9), rgba(40, 40, 40, 0.85));
    padding: 3rem;
    border-radius: 20px;
    border: 2px solid rgba(212, 175, 55, 0.4);
    box-shadow: 0 0 35px rgba(212, 175, 55, 0.25),
                inset 0 0 35px rgba(212, 175, 55, 0.15);
    backdrop-filter: blur(15px);
    transition: all 0.4s ease;
    overflow: hidden;
    word-wrap: break-word;
}

.content-block:hover {
    transform: translateY(-8px);
    box-shadow: 0 0 50px rgba(212, 175, 55, 0.4),
                inset 0 0 40px rgba(212, 175, 55, 0.2);
    border-color: rgba(212, 175, 55, 0.6);
}

.content-block-center {
    background: linear-gradient(135deg, rgba(20, 20, 20, 0.9), rgba(40, 40, 40, 0.85));
    padding: 3rem;
    border-radius: 20px;
    border: 2px solid rgba(212, 175, 55, 0.4);
    box-shadow: 0 0 35px rgba(212, 175, 55, 0.25),
                inset 0 0 35px rgba(212, 175, 55, 0.15);
    backdrop-filter: blur(15px);
    display: inline-block;
    max-width: 800px;
    transition: all 0.4s ease;
    overflow: hidden;
    word-wrap: break-word;
}

.content-block-center:hover {
    transform: translateY(-8px);
    box-shadow: 0 0 50px rgba(212, 175, 55, 0.4),
                inset 0 0 40px rgba(212, 175, 55, 0.2);
}

/* Стили для вопросов */
.questions-grid {
    display: flex;
    flex-direction: column;
    gap: 15px;
    margin: 2.5rem 0;
}

.question-item {
    display: flex;
    align-items: flex-start;
    padding: 18px 24px;
    background: linear-gradient(135deg, rgba(212, 175, 55, 0.12), rgba(192, 192, 192, 0.08));
    border: 1px solid rgba(212, 175, 55, 0.4);
    border-radius: 15px;
    transition: all 0.3s ease;
    backdrop-filter: blur(8px);
}

.question-item:hover {
    background: linear-gradient(135deg, rgba(212, 175, 55, 0.18), rgba(192, 192, 192, 0.12));
    border-color: rgba(212, 175, 55, 0.6);
    transform: translateX(8px);
    box-shadow: 0 8px 25px rgba(212, 175, 55, 0.25);
}

.question-icon {
    color: #D4AF37;
    font-weight: bold;
    font-size: 1.4rem;
    margin-right: 18px;
    min-width: 25px;
    text-shadow: 0 0 12px rgba(212, 175, 55, 0.6);
}

.question-text {
    color: #f5f5f5;
    font-size: 1.2rem;
    line-height: 1.6;
    margin: 0;
    flex: 1;
    text-align: left;
    text-shadow: 0 0 5px rgba(255, 255, 255, 0.1);
}

.conclusion-block {
    padding: 30px;
    background: linear-gradient(135deg, rgba(212, 175, 55, 0.18), rgba(192, 192, 192, 0.12));
    border: 2px solid rgba(212, 175, 55, 0.5);
    border-radius: 18px;
    backdrop-filter: blur(12px);
}

.conclusion-text {
    color: #C0C0C0;
    font-size: 1.4rem;
    font-weight: 600;
    text-shadow: 0 0 15px rgba(192, 192, 192, 0.5);
    margin: 0;
    line-height: 1.5;
}

/* Изображения */
.img-vertical {
    max-width: 100%;
    height: auto;
    margin: 0 auto;
    display: block;
    transition: all 0.5s ease;
    border-radius: 15px;
    box-shadow: 0 10px 35px rgba(0, 0, 0, 0.5);
}

.img-vertical:hover {
    transform: scale(1.05) rotate(1deg);
    box-shadow: 0 15px 45px rgba(212, 175, 55, 0.4);
}

.rounded-circle {
    border: 4px solid #D4AF37;
    box-shadow: 0 0 30px rgba(212, 175, 55, 0.4);
    max-width: 320px;
    transition: all 0.4s ease;
}

.rounded-circle:hover {
    transform: scale(1.08);
    box-shadow: 0 0 40px rgba(212, 175, 55, 0.6);
}

/* Заголовки */
h1, h2, h3, h4, h5, h6 {
    text-shadow: 0 0 15px rgba(212, 175, 55, 0.4);
    margin-bottom: 2rem;
    background: linear-gradient(45deg, #D4AF37, #C0C0C0, #D4AF37);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    background-size: 200% 200%;
    animation: gradient-shift 3s ease-in-out infinite;
}

@keyframes gradient-shift {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}

/* Размеры заголовков */
.content-block h1,
.content-block-center h1 {
    font-size: clamp(2.5rem, 6vw, 4rem);
    line-height: 1.1;
}

.content-block h2,
.content-block-center h2 {
    font-size: clamp(2rem, 5vw, 3.2rem);
    line-height: 1.2;
}

.content-block h3,
.content-block-center h3 {
    font-size: clamp(1.8rem, 4vw, 2.5rem);
    line-height: 1.3;
}

/* Текст */
.content-block p,
.content-block-center p {
    font-size: 1.2rem;
    line-height: 1.8;
    margin-bottom: 2rem;
    color: #f5f5f5;
}

.lead {
    font-size: 1.4rem;
    line-height: 1.7;
    text-shadow: 0 0 8px rgba(255, 255, 255, 0.2);
}

/* Support блоки */
.support-block {
    background: linear-gradient(135deg, rgba(212, 175, 55, 0.15), rgba(192, 192, 192, 0.1));
    padding: 2.5rem;
    border-radius: 18px;
    border: 2px solid rgba(212, 175, 55, 0.4);
    margin: 2.5rem 0;
}

.support-title {
    color: #D4AF37;
    font-weight: 700;
    margin-bottom: 1.2rem;
    font-size: 1.4rem;
}

.support-text {
    color: #f5f5f5;
    font-size: 1.2rem;
    line-height: 1.7;
}

/* Features сетка */
.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    margin: 3rem 0;
}

.feature-item {
    background: linear-gradient(135deg, rgba(212, 175, 55, 0.1), rgba(192, 192, 192, 0.07));
    padding: 2rem;
    border-radius: 15px;
    border: 2px solid rgba(212, 175, 55, 0.3);
    text-align: center;
    transition: all 0.4s ease;
}

.feature-item:hover {
    transform: translateY(-8px);
    background: linear-gradient(135deg, rgba(212, 175, 55, 0.15), rgba(192, 192, 192, 0.12));
    border-color: rgba(212, 175, 55, 0.5);
    box-shadow: 0 15px 35px rgba(212, 175, 55, 0.25);
}

.feature-item h5 {
    color: #D4AF37;
    margin-bottom: 1rem;
    font-size: 1.3rem;
}

.feature-item p {
    color: #f5f5f5;
    font-size: 1.1rem;
    margin-bottom: 0;
}

/* Why/How Works */
.why-works, .how-works {
    background: linear-gradient(135deg, rgba(212, 175, 55, 0.08), rgba(192, 192, 192, 0.06));
    padding: 2rem;
    border-left: 4px solid #D4AF37;
    margin: 2rem 0;
    border-radius: 0 12px 12px 0;
}

.why-works h5, .how-works h5 {
    color: #D4AF37;
    margin-bottom: 1rem;
    font-size: 1.3rem;
}

/* Broadcast info */
.broadcast-info, .thematic-broadcast, .bonus-info {
    margin: 2.5rem 0;
}

.broadcast-info p, .thematic-broadcast p, .bonus-info p {
    font-size: 1.2rem;
    line-height: 1.7;
}

/* Profiling */
.profiling-intro {
    margin: 3rem 0;
}

.profiling-intro p {
    font-size: 1.2rem;
    line-height: 1.7;
    margin-bottom: 1.5rem;
}

.benefits-list {
    display: flex;
    flex-direction: column;
    gap: 1.2rem;
    margin: 2rem 0;
}

.benefit-item {
    display: flex;
    align-items: flex-start;
    padding: 1.2rem;
    background: linear-gradient(135deg, rgba(212, 175, 55, 0.1), rgba(192, 192, 192, 0.07));
    border-radius: 10px;
    border: 1px solid rgba(212, 175, 55, 0.3);
}

.benefit-icon {
    font-size: 1.6rem;
    margin-right: 1.2rem;
    min-width: 45px;
    color: #D4AF37;
}

.benefit-item span:last-child {
    color: #f5f5f5;
    line-height: 1.6;
    font-size: 1.1rem;
}

.profiling-simple {
    background: linear-gradient(135deg, rgba(212, 175, 55, 0.12), rgba(192, 192, 192, 0.08));
    padding: 2rem;
    border-radius: 15px;
    margin: 2.5rem 0;
}

.profiling-simple h5 {
    color: #D4AF37;
    margin-bottom: 1rem;
    font-size: 1.3rem;
}

/* Results */
.results-content p {
    font-size: 1.2rem;
    line-height: 1.7;
    margin-bottom: 1.8rem;
}

.cta-final {
    margin-top: 3rem;
}

.cta-final .btn {
    font-size: 1.3rem;
    padding: 1.2rem 3rem;
}

/* Анимации */
.animate-fade-in {
    opacity: 0;
    animation: fadeIn 1.5s ease-in-out forwards;
}

.animate-fade-in-delayed {
    opacity: 0;
    animation: fadeIn 1.5s ease-in-out 0.7s forwards;
}

.animate-slide-left {
    opacity: 0;
    transform: translateX(-50px);
    animation: slideInLeft 1.2s ease-in-out forwards;
}

.animate-slide-right {
    opacity: 0;
    transform: translateX(50px);
    animation: slideInRight 1.2s ease-in-out forwards;
}

.animate-slide-up {
    opacity: 0;
    transform: translateY(50px);
    animation: slideInUp 1.2s ease-in-out forwards;
}

.animate-rotate-in {
    opacity: 0;
    transform: rotate(-15deg) scale(0.9);
    animation: rotateIn 1.5s ease-in-out forwards;
}

.animate-rotate-in-delayed {
    opacity: 0;
    transform: rotate(-15deg) scale(0.9);
    animation: rotateIn 1.5s ease-in-out 0.8s forwards;
}

.animate-scale-up {
    opacity: 0;
    transform: scale(0.8);
    animation: scaleUp 1.2s ease-in-out forwards;
}

.animate-typewriter-delayed {
    opacity: 0;
    animation: fadeIn 1s ease-in-out 1.5s forwards, typing 3s steps(60, end) 1.5s, blink-caret 0.75s step-end 1.5s infinite;
}

.animate-typewriter {
    opacity: 0;
    animation: fadeIn 1s ease-in-out 0.5s forwards, typing 3s steps(60, end) 0.5s, blink-caret 0.75s step-end 0.5s infinite;
}

/* Keyframes */
@keyframes fadeIn {
    from { 
        opacity: 0;
        transform: translateY(20px);
    }
    to { 
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes slideInLeft {
    from { 
        opacity: 0;
        transform: translateX(-50px);
    }
    to { 
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes slideInRight {
    from { 
        opacity: 0;
        transform: translateX(50px);
    }
    to { 
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes slideInUp {
    from { 
        opacity: 0;
        transform: translateY(50px);
    }
    to { 
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes rotateIn {
    from { 
        opacity: 0;
        transform: rotate(-15deg) scale(0.9);
    }
    to { 
        opacity: 1;
        transform: rotate(0) scale(1);
    }
}

@keyframes scaleUp {
    from { 
        opacity: 0;
        transform: scale(0.8);
    }
    to { 
        opacity: 1;
        transform: scale(1);
    }
}

@keyframes typing {
    from { width: 0 }
    to { width: 100% }
}

@keyframes blink-caret {
    from, to { border-color: transparent }
    50% { border-color: #D4AF37; }
}

/* Typewriter */
.typewriter {
    overflow: hidden;
    border-right: 2px solid #D4AF37;
    white-space: pre-wrap;
    margin: 0 auto;
    letter-spacing: 0.05em;
    word-break: break-word;
}

/* Футер */
footer {
    background: linear-gradient(135deg, rgba(10, 10, 10, 0.95), rgba(20, 20, 20, 0.9)) !important;
    backdrop-filter: blur(15px);
    border-top: 1px solid rgba(212, 175, 55, 0.3);
}

/* Кастомный скроллбар */
::-webkit-scrollbar {
    width: 10px;
}

::-webkit-scrollbar-track {
    background: #1a1a1a;
}

::-webkit-scrollbar-thumb {
    background: linear-gradient(45deg, #D4AF37, #C0C0C0);
    border-radius: 5px;
}

::-webkit-scrollbar-thumb:hover {
    background: linear-gradient(45deg, #FFD700, #FFFFFF);
}

/* Адаптивность */
@media (max-width: 991.98px) {
    .navbar-collapse {
        background: linear-gradient(135deg, rgba(20, 20, 20, 0.98), rgba(40, 40, 40, 0.95));
        padding: 1.5rem;
        border-radius: 15px;
        margin-top: 0.5rem;
        text-align: center;
        backdrop-filter: blur(20px);
        border: 1px solid rgba(212, 175, 55, 0.3);
    }
    
    .navbar-nav .nav-link {
        padding: 1rem;
        margin: 0.3rem 0;
        border-radius: 8px;
        font-size: 1.1rem;
    }
    
    .navbar-nav .nav-link:hover {
        background: rgba(212, 175, 55, 0.15);
    }
    
    .d-flex {
        margin-top: 1.5rem;
        padding-top: 1.5rem;
        border-top: 1px solid rgba(212, 175, 55, 0.2);
        justify-content: center;
    }
}

@media (max-width: 768px) {
    body {
        padding-top: 60px;
    }
    
    .content-block,
    .content-block-center {
        padding: 2rem;
        margin: 1rem;
    }
    
    .img-vertical {
        max-width: 90%;
    }
    
    .rounded-circle {
        max-width: 250px;
    }
    
    .questions-grid {
        gap: 12px;
    }
    
    .question-item {
        padding: 15px 20px;
    }
    
    .feature-item {
        padding: 1.5rem;
    }
    
    .btn-neon,
    .btn-neon-outline {
        padding: 12px 25px;
        font-size: 0.9rem;
    }
}

@media (max-width: 576px) {
    .content-block,
    .content-block-center {
        padding: 1.5rem;
    }
    
    .img-vertical {
        max-width: 100%;
    }
    
    .rounded-circle {
        max-width: 200px;
    }
    
    .container {
        padding-left: 15px;
        padding-right: 15px;
    }
    
    .questions-grid {
        gap: 10px;
    }
    
    .question-item {
        padding: 12px 15px;
    }
    
    .question-icon {
        font-size: 1.1rem;
        margin-right: 12px;
    }
    
    .question-text {
        font-size: 1rem;
    }
    
    .conclusion-text {
        font-size: 1.1rem;
    }
}

/* Улучшение производительности */
.animate-fade-in,
.animate-fade-in-delayed,
.animate-slide-left,
.animate-slide-right,
.animate-slide-up,
.animate-rotate-in,
.animate-rotate-in-delayed,
.animate-scale-up {
    will-change: transform, opacity;
}

/* Гарантируем что контент не выходит за границы */
.container,
.container-fluid {
    overflow: hidden;
}

.row {
    margin-left: 0;
    margin-right: 0;
}

.col-lg-6,
.col-md-6,
.col-lg-8,
.col-lg-4 {
    padding-left: 15px;
    padding-right: 15px;
}

/* Для мобильных отключаем fixed background */
@media (max-width: 768px) {
    .section-bg {
        background-attachment: scroll !important;
    }
}

/* Добавьте эти исправления в конец файла */

/* Исправление для выхода блоков за границы */
.content-block,
.content-block-center {
    overflow: hidden !important; /* Важно: предотвращаем выход содержимого */
    position: relative;
    transition: all 0.4s ease;
    margin: 20px 0; /* Добавляем отступы сверху и снизу */
}

/* Убираем transform: translateY на hover для контентных блоков */
.content-block:hover,
.content-block-center:hover {
    transform: none !important; /* Отключаем поднятие блоков */
    box-shadow: 0 0 50px rgba(212, 175, 55, 0.4),
                inset 0 0 40px rgba(212, 175, 55, 0.2);
    border-color: rgba(212, 175, 55, 0.6);
}

/* Улучшенные анимации для внутренних элементов */
.content-block-inner {
    transition: all 0.4s ease;
}

.content-block:hover .content-block-inner,
.content-block-center:hover .content-block-inner {
    transform: translateY(-5px); /* Анимируем только внутреннее содержимое */
}

/* Исправление для вопросов */
.questions-grid {
    overflow: visible !important;
}

.question-item {
    margin: 5px 0;
    overflow: hidden;
}

.question-item:hover {
    transform: translateX(5px) !important; /* Уменьшаем смещение */
    margin: 8px 0; /* Компенсируем увеличение */
}

/* Исправление для feature items */
.feature-item {
    overflow: hidden;
}

.feature-item:hover {
    transform: translateY(-5px) !important; /* Уменьшаем поднятие */
    margin: 10px 0; /* Компенсируем анимацию */
}

/* Исправление для изображений */
.img-container {
    overflow: hidden;
    border-radius: 15px;
    position: relative;
}

.img-vertical {
    transition: all 0.5s ease;
    width: 100%;
    height: auto;
}

.img-container:hover .img-vertical {
    transform: scale(1.05); /* Уменьшаем масштаб */
}

/* Исправление для rounded-circle */
.rounded-circle-container {
    overflow: hidden;
    display: inline-block;
    border-radius: 50%;
}

.rounded-circle-container:hover .rounded-circle {
    transform: scale(1.05); /* Уменьшаем масштаб */
}

/* Добавляем отступы для секций */
.section-with-divider {
    padding: 40px 0 !important; /* Увеличиваем отступы */
}

/* Гарантируем что контейнеры ограничивают содержимое */
.container,
.container-fluid {
    overflow: visible !important;
}

.row {
    margin: 0;
    overflow: visible;
}

.col-lg-6,
.col-md-6,
.col-lg-8,
.col-lg-4,
.col-12 {
    overflow: visible !important;
}

/* Исправление для навигации */
.navbar {
    overflow: visible !important;
}

.navbar-collapse {
    overflow: visible !important;
}

/* Улучшенные стили для предотвращения выхода за границы */
.section-bg {
    overflow: hidden !important;
}

.section-bg::before {
    z-index: 0;
}

/* Специальные стили для фиксированных элементов */
.fixed-element {
    position: relative;
    z-index: 1;
}

/* Улучшаем работу с overflow */
@media (max-width: 768px) {
    .content-block,
    .content-block-center {
        margin: 15px 0;
    }
    
    .content-block:hover,
    .content-block-center:hover {
        transform: none !important;
    }
    
    .question-item:hover {
        transform: translateX(3px) !important;
    }
    
    .feature-item:hover {
        transform: translateY(-3px) !important;
    }
}

/* Альтернативное решение - мягкие анимации */
.soft-hover {
    transition: all 0.3s ease;
}

.soft-hover:hover {
    transform: translateY(-2px) scale(1.01);
    box-shadow: 0 5px 20px rgba(212, 175, 55, 0.3);
}

/* Для кнопок оставляем прежние анимации */
.btn-neon:hover,
.btn-neon-outline:hover {
    transform: translateY(-3px) scale(1.05) !important; /* Кнопки могут выходить */
    z-index: 1001; /* Поднимаем над другими элементами */
}

/* Улучшаем видимость границ при анимации */
.content-block::before,
.content-block-center::before {
    content: '';
    position: absolute;
    top: -2px;
    left: -2px;
    right: -2px;
    bottom: -2px;
    border: 2px solid transparent;
    border-radius: 22px;
    z-index: -1;
    transition: all 0.4s ease;
}

.content-block:hover::before,
.content-block-center:hover::before {
    border-color: rgba(212, 175, 55, 0.5);
    top: -4px;
    left: -4px;
    right: -4px;
    bottom: -4px;
}

/* Исправление для conclusion block */
.conclusion-block {
    position: relative;
    overflow: hidden;
}

.conclusion-block::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    border: 2px solid transparent;
    border-radius: 20px;
    transition: all 0.3s ease;
}

.conclusion-block:hover::after {
    border-color: rgba(212, 175, 55, 0.4);
}

/* Убираем лишние трансформации для текста */
h1, h2, h3, h4, h5, h6,
p, .lead, .question-text, .support-text {
    transform: none !important; /* Текст не должен двигаться */
}

/* Фиксируем позиции для стабильности */
.stable-position {
    position: relative;
    transform: none !important;
}

/* Добавляем эти классы в HTML к нужным элементам */
.no-transform {
    transform: none !important;
}

.overflow-guard {
    overflow: hidden;
    position: relative;
}

/* Исправление для анимаций */
@keyframes safeSlideIn {
    from {
        opacity: 0;
        transform: translateY(15px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.animate-safe-fade-in {
    animation: safeSlideIn 1s ease-in-out forwards;
}

/* Стили для второй кнопки и юридических документов */

/* Контейнер для кнопок */
.gap-3 {
    gap: 1rem !important;
}

.gap-4 {
    gap: 1.5rem !important;
}

/* Стили для юридических ссылок */
.legal-links {
    display: flex;
    flex-wrap: wrap;
}

.legal-link {
    color: #C0C0C0 !important;
    text-decoration: none;
    font-size: 0.9rem;
    transition: all 0.3s ease;
    position: relative;
    padding: 0.5rem 0;
}

.legal-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 1px;
    background: #D4AF37;
    transition: width 0.3s ease;
}

.legal-link:hover {
    color: #D4AF37 !important;
    text-shadow: 0 0 8px rgba(212, 175, 55, 0.4);
}

.legal-link:hover::after {
    width: 100%;
}

/* Стили для модальных окон */
.modal-content {
    background: linear-gradient(135deg, #1a1a1a, #2d2d2d);
    border: 2px solid rgba(212, 175, 55, 0.3);
    border-radius: 15px;
    color: #f5f5f5;
}

.modal-header {
    border-bottom: 1px solid rgba(212, 175, 55, 0.2);
    background: rgba(20, 20, 20, 0.8);
    border-radius: 15px 15px 0 0;
}

.modal-title.text-gold {
    color: #D4AF37;
    text-shadow: 0 0 10px rgba(212, 175, 55, 0.3);
}

.btn-close {
    filter: invert(1) grayscale(100%) brightness(200%);
}

.modal-body {
    background: rgba(25, 25, 25, 0.9);
    border-radius: 0 0 15px 15px;
}

.modal-body h4 {
    color: #D4AF37;
    margin-bottom: 1.5rem;
}

.modal-body p {
    color: #f5f5f5;
    line-height: 1.6;
}

/* Социальные ссылки */
.social-link {
    color: #C0C0C0 !important;
    text-decoration: none;
    transition: all 0.3s ease;
    padding: 0.5rem 1rem;
    border: 1px solid rgba(192, 192, 192, 0.3);
    border-radius: 20px;
}

.social-link:hover {
    color: #D4AF37 !important;
    border-color: #D4AF37;
    background: rgba(212, 175, 55, 0.1);
    transform: translateY(-2px);
}

/* Текстовые цвета */
.text-gold {
    color: #D4AF37 !important;
}

.text-silver {
    color: #C0C0C0 !important;
}

/* Разделитель */
.border-silver {
    border-color: rgba(192, 192, 192, 0.2) !important;
}

/* Адаптивность для кнопок */
@media (max-width: 768px) {
    .d-flex.gap-3 {
        flex-direction: column;
        gap: 0.8rem !important;
    }
    
    .legal-links {
        flex-direction: column;
        gap: 1rem !important;
    }
    
    .btn-neon,
    .btn-neon-outline {
        width: 100%;
        justify-content: center;
    }
}

/* Анимация для модальных окон */
.modal.fade .modal-content {
    transform: translateY(-50px);
    opacity: 0;
    transition: all 0.3s ease;
}

.modal.show .modal-content {
    transform: translateY(0);
    opacity: 1;
}


/* Стили для футера */
footer {
    background: linear-gradient(135deg, #0a0a0a, #1a1a1a) !important;
    border-top: 1px solid rgba(212, 175, 55, 0.2);
}

footer h5 {
    font-size: 1.2rem;
    margin-bottom: 1.5rem;
}

footer p {
    margin-bottom: 0.5rem;
}

/* Эффект при наведении на кнопки в футере */
.btn-neon-outline:hover {
    background: linear-gradient(135deg, rgba(192, 192, 192, 0.2), rgba(212, 175, 55, 0.15)) !important;
}

/* Улучшенные отступы для мобильных */
@media (max-width: 576px) {
    footer .row > div {
        margin-bottom: 2rem;
    }
    
    footer .text-lg-end {
        text-align: left !important;
    }
}
/* Общие стили текста */
h1, h2, h3, h4, h5, h6 {
    line-height: 1.2;
}

/* Адаптация под мобильные */
@media (max-width: 768px) {
    h1 { font-size: 1.8rem; }
    h2 { font-size: 1.5rem; }
    h3 { font-size: 1.3rem; }
    p  { font-size: 0.95rem; line-height: 1.4; }
    .btn { font-size: 0.9rem; padding: 0.5rem 1rem; }
}

/* Очень маленькие экраны */
@media (max-width: 480px) {
    h1 { font-size: 1.5rem; }
    h2 { font-size: 1.3rem; }
    h3 { font-size: 1.1rem; }
    p  { font-size: 0.9rem; }
    .btn { font-size: 0.8rem; padding: 0.4rem 0.8rem; }
}

/* Стили для модального окна вступления */
#joinClubModal .modal-content {
    background: linear-gradient(135deg, rgba(20, 20, 20, 0.95), rgba(40, 40, 40, 0.9));
    border: 2px solid rgba(212, 175, 55, 0.4);
    border-radius: 20px;
    backdrop-filter: blur(15px);
}

#joinClubModal .modal-header {
    border-bottom: 1px solid rgba(212, 175, 55, 0.3);
    background: rgba(20, 20, 20, 0.8);
}

#joinClubModal .modal-body {
    background: rgba(25, 25, 25, 0.9);
}

#joinClubModal .btn-neon {
    margin: 0 auto;
    max-width: 300px;
}

/* Анимация появления модального окна */
#joinClubModal .modal-content {
    transform: translateY(-50px) scale(0.9);
    opacity: 0;
    transition: all 0.3s ease;
}

#joinClubModal.show .modal-content {
    transform: translateY(0) scale(1);
    opacity: 1;
}

/* Адаптивность для мобильных */
@media (max-width: 576px) {
    #joinClubModal .modal-dialog {
        margin: 1rem;
    }
    
    #joinClubModal .btn-neon {
        width: 100%;
        max-width: none;
    }
}

/* Стили для подсказки с инструкцией */
.info-tooltip {
    display: inline-block;
    cursor: pointer;
}

.info-icon {
    font-size: 1.2rem;
    opacity: 0.7;
    transition: all 0.3s ease;
}

.info-icon:hover {
    opacity: 1;
    transform: scale(1.1);
}

.tooltip-content {
    position: absolute;
    bottom: 100%;
    left: 50%;
    transform: translateX(-50%);
    background: linear-gradient(135deg, rgba(20, 20, 20, 0.95), rgba(40, 40, 40, 0.9));
    border: 2px solid rgba(212, 175, 55, 0.4);
    border-radius: 15px;
    padding: 1.5rem;
    width: 280px;
    backdrop-filter: blur(10px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    z-index: 1060;
}

.tooltip-content::after {
    content: '';
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translateX(-50%);
    border-width: 8px;
    border-style: solid;
    border-color: rgba(212, 175, 55, 0.4) transparent transparent transparent;
}

.tooltip-content ul {
    margin: 0;
    padding-left: 1.2rem;
}

.tooltip-content li {
    color: #f5f5f5;
    font-size: 0.9rem;
    line-height: 1.4;
    margin-bottom: 0.5rem;
}

.tooltip-content li:last-child {
    margin-bottom: 0;
}

.info-tooltip:hover .tooltip-content {
    opacity: 1;
    visibility: visible;
    transform: translateX(-50%) translateY(-10px);
}

/* Адаптивность для подсказки */
@media (max-width: 576px) {
    .info-tooltip {
        display: none; /* Скрываем на мобильных */
    }
    
    .d-flex.align-items-center.justify-content-center {
        flex-direction: column;
        text-align: center;
    }
    
    .tooltip-content {
        width: 250px;
        left: 20px;
        transform: none;
    }
    
    .tooltip-content::after {
        left: 30px;
    }
}

/* Альтернативный вариант для мобильных - кнопка вместо ховера */
.mobile-info-btn {
    display: none;
}

@media (max-width: 576px) {
    .mobile-info-btn {
        display: block;
        background: none;
        border: none;
        color: #D4AF37;
        font-size: 0.9rem;
        margin-top: 0.5rem;
        cursor: pointer;
    }
    
    .mobile-info-content {
        display: none;
        background: linear-gradient(135deg, rgba(20, 20, 20, 0.9), rgba(40, 40, 40, 0.85));
        border: 1px solid rgba(212, 175, 55, 0.3);
        border-radius: 10px;
        padding: 1rem;
        margin-top: 0.5rem;
    }
    
    .mobile-info-content ul {
        margin: 0;
        padding-left: 1.2rem;
        text-align: left;
    }
    
    .mobile-info-content li {
        color: #f5f5f5;
        font-size: 0.85rem;
        line-height: 1.3;
        margin-bottom: 0.4rem;
    }
}

/* Стили для формы вопроса */
#askQuestionModal .form-control {
    background: rgba(30, 30, 30, 0.8);
    border: 1px solid rgba(212, 175, 55, 0.3);
    color: #f5f5f5;
    border-radius: 8px;
}

#askQuestionModal .form-control:focus {
    background: rgba(40, 40, 40, 0.9);
    border-color: #D4AF37;
    box-shadow: 0 0 0 0.2rem rgba(212, 175, 55, 0.25);
    color: #f5f5f5;
}

#askQuestionModal .form-label {
    font-weight: 500;
}

#askQuestionModal .form-check-input {
    background-color: rgba(30, 30, 30, 0.8);
    border: 1px solid rgba(212, 175, 55, 0.3);
}

#askQuestionModal .form-check-input:checked {
    background-color: #D4AF37;
    border-color: #D4AF37;
}

#askQuestionModal .form-check-input:focus {
    border-color: #D4AF37;
    box-shadow: 0 0 0 0.2rem rgba(212, 175, 55, 0.25);
}

#askQuestionModal .invalid-feedback {
    color: #ff6b6b;
    font-size: 0.85rem;
}

#askQuestionModal .form-text {
    font-size: 0.85rem;
}

/* Адаптивность для мобильных */
@media (max-width: 768px) {
    #askQuestionModal .modal-dialog {
        margin: 0.5rem;
    }
    
    #askQuestionModal .row {
        margin-left: -0.5rem;
        margin-right: -0.5rem;
    }
    
    #askQuestionModal .col-md-4,
    #askQuestionModal .col-md-6 {
        padding-left: 0.5rem;
        padding-right: 0.5rem;
    }
}
.welcome-image {
    width: 500px; /* Большой круглый контейнер */
    height: 500px;
    border-radius: 50%;
    overflow: hidden;
    display: flex;
    justify-content: center;
    align-items: center;
    margin: 40px auto;
    position: relative;
    box-shadow: 0 20px 40px rgba(212, 175, 55, 0.3);
    border: 4px solid #D4AF37;
}

.welcome-photo {
    width: 120%; /* Увеличиваем изображение */
    height: 120%;
    object-fit: cover;
    transition: all 0.5s ease;
    min-width: 100%;
    min-height: 100%;
}

.welcome-photo:hover {
    transform: scale(1.1);
}

/* Увеличиваем еще больше для десктопов */
@media (min-width: 1200px) {
    .welcome-image {
        width: 600px;
        height: 600px;
    }
    
    .welcome-photo {
        width: 130%;
        height: 130%;
    }
}

/* Для планшетов */
@media (max-width: 992px) {
    .welcome-image {
        width: 400px;
        height: 400px;
        margin: 30px auto;
    }
}

/* Для мобильных устройств */
@media (max-width: 768px) {
    .welcome-image {
        width: 350px;
        height: 350px;
        margin: 25px auto;
    }
}

@media (max-width: 576px) {
    .welcome-image {
        width: 300px;
        height: 300px;
        margin: 20px auto;
        border-width: 3px;
    }
}

/* Анимация появления */
.animate-scale-up {
    opacity: 0;
    transform: scale(0.8);
    animation: scaleUp 1.5s ease-in-out forwards;
}

@keyframes scaleUp {
    from {
        opacity: 0;
        transform: scale(0.8);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}
.hero-title {
    font-size: clamp(2rem, 5vw, 4rem);
    font-weight: bold;
    line-height: 1.1;
    text-transform: uppercase;
    margin-bottom: 1.5rem;
}


/* Анимация для появления QR-кода */
#qrCodeBlock {
    display: none;
    opacity: 0;
    transform: scale(0.8) translateY(-20px);
    transition: all 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    transform-origin: center top;
}

/* Эффект пульсации для привлечения внимания */
@keyframes pulse-glow {
    0% {
        box-shadow: 0 0 0 rgba(212, 175, 55, 0.4);
    }
    50% {
        box-shadow: 0 0 20px rgba(212, 175, 55, 0.8);
    }
    100% {
        box-shadow: 0 0 0 rgba(212, 175, 55, 0.4);
    }
}

#qrCodeBlock img {
    transition: all 0.3s ease;
    animation: pulse-glow 2s ease-in-out 0.5s 3;
}

#qrCodeBlock img:hover {
    transform: scale(1.05);
    box-shadow: 0 0 25px rgba(212, 175, 55, 0.6);
}

/* Стили для отключенной кнопки */
.btn.disabled {
    background: linear-gradient(135deg, rgba(212, 175, 55, 0.1), rgba(192, 192, 192, 0.08)) !important;
    color: #666 !important;
    border-color: #666 !important;
    cursor: not-allowed !important;
    transition: all 0.3s ease;
}

/* Плавное изменение состояния кнопки */
.btn-neon {
    transition: all 0.3s ease !important;
}

/* Стили для чекбоксов */
.form-check-input {
    background-color: rgba(30, 30, 30, 0.8);
    border: 1px solid rgba(212, 175, 55, 0.3);
    transition: all 0.2s ease;
    cursor: pointer;
}

.form-check-input:checked {
    background-color: #D4AF37;
    border-color: #D4AF37;
    transform: scale(1.1);
}

.form-check-input:focus {
    border-color: #D4AF37;
    box-shadow: 0 0 0 0.2rem rgba(212, 175, 55, 0.25);
}

.form-check-input:hover {
    border-color: #D4AF37;
}

/* Ссылки в тексте согласия */
.agreement-checkboxes a {
    text-decoration: none;
    border-bottom: 1px dotted #D4AF37;
    transition: all 0.2s ease;
}

.agreement-checkboxes a:hover {
    text-decoration: none;
    border-bottom: 1px solid #D4AF37;
    color: #FFD700 !important;
}
/* Стили для кнопки в секции результатов */
.cta-final .btn {
    font-size: 1.3rem;
    padding: 1.2rem 3rem;
    transition: all 0.4s ease;
}

/* Уменьшаем размер на планшетах */
@media (max-width: 992px) {
    .cta-final .btn {
        font-size: 1.1rem;
        padding: 1rem 2.2rem;
    }
}

/* Уменьшаем размер на мобильных устройствах */
@media (max-width: 768px) {
    .cta-final .btn {
        font-size: 1rem;
        padding: 0.9rem 1.8rem;
    }
    
    .cta-final .d-flex.flex-column {
        gap: 0.8rem !important;
    }
}

/* Еще меньше для маленьких экранов */
@media (max-width: 576px) {
    .cta-final .btn {
        font-size: 0.9rem;
        padding: 0.8rem 1.5rem;
        font-weight: 600;
        letter-spacing: 0.5px;
    }
    
    .cta-final .d-flex.flex-column {
        gap: 0.6rem !important;
    }
}

/* Минимальный размер для очень маленьких экранов */
@media (max-width: 400px) {
    .cta-final .btn {
        font-size: 0.85rem;
        padding: 0.7rem 1.2rem;
        letter-spacing: 0.3px;
    }
    
    .cta-final .btn-lg {
        font-size: 0.85rem !important;
    }
    
    .cta-final .d-flex.flex-column {
        gap: 0.5rem !important;
    }
}

/* Экстремально маленькие экраны */
@media (max-width: 360px) {
    .cta-final .btn {
        font-size: 0.2rem;
        padding: 0.6rem 1rem;
        letter-spacing: normal;
    }
}

/* Супер компактный вариант для мобильных */
@media (max-width: 768px) {
    .cta-final .btn {
        font-size: 0.9rem;
        padding: 0.75rem 1.5rem;
        margin: 0.2rem 0;
    }
    
    .cta-final .btn-lg {
        font-size: 0.9rem !important;
    }
}

@media (max-width: 576px) {
    .cta-final .btn {
        font-size: 0.84rem;
        padding: 0.65rem 1.3rem;
    }
    
    .cta-final .btn-lg {
        font-size: 0.84rem !important;
    }
}

@media (max-width: 400px) {
    .cta-final .btn {
        font-size: 0.78rem;
        padding: 0.6rem 1.1rem;
    }
    
    .cta-final .btn-lg {
        font-size: 0.78rem !important;
        font-weight: 600;
    }
}