/* Стили для TermsController */

.terms-container.scroll-mode {
    position: relative;
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.terms-container.scroll-mode .scroll-wrapper {
    scrollbar-width: none; /* Firefox */
    -ms-overflow-style: none; /* IE 10+ */
}

.terms-container.scroll-mode .scroll-wrapper::-webkit-scrollbar {
    display: none; /* Chrome, Safari, Opera */
}

.terms-container .data-protection-info {
    padding: 20px;
    text-align: center;
    color: rgba(255, 255, 255, 0.8);
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.1), rgba(255, 255, 255, 0.05));
    border-radius: 8px;
    margin-bottom: 20px;
}

.terms-container .data-protection-info h3 {
    color: #fff;
    margin-bottom: 15px;
    font-size: 18px;
    font-weight: 600;
}

.terms-container .data-protection-info p {
    font-size: 14px;
    line-height: 1.5;
    margin-bottom: 15px;
}

.terms-container .data-protection-info .security-icon {
    display: inline-block;
    margin: 15px 0;
    opacity: 0.8;
}

.terms-container .data-protection-info .scroll-hint {
    font-size: 12px;
    color: rgba(255, 255, 255, 0.6);
    margin-top: 30px;
    font-style: italic;
}

/* Анимация появления элементов */
.terms-container .terms-item {
    opacity: 1;
    transform: translateY(10px);
    animation: fadeInUp 0.3s ease-forward;
    animation-fill-mode: forwards;
}

.terms-container .terms-item:first-child {
    animation-delay: 0.1s;
}

.terms-container .terms-item:last-child {
    animation-delay: 0.2s;
}

@keyframes fadeInUp {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Индикатор скролла для режима 3 */
.terms-container.scroll-mode::after {
    content: '';
    position: absolute;
    bottom: 10px;
    right: 15px;
    width: 4px;
    height: 20px;
    background: linear-gradient(to bottom, transparent, rgba(255, 255, 255, 0.3), transparent);
    border-radius: 2px;
    opacity: 0.6;
    animation: scrollIndicator 2s ease-in-out infinite;
}

@keyframes scrollIndicator {
    0%, 100% { transform: translateY(0); opacity: 0.6; }
    50% { transform: translateY(5px); opacity: 1; }
}

/* Эффект размытия для верхней части в режиме скролла */
.terms-container.scroll-mode::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 30px;
    background: linear-gradient(to bottom, rgba(0, 0, 0, 0.1), transparent);
    pointer-events: none;
    z-index: 1;
    border-radius: 8px 8px 0 0;
}
