/* Основные стили */
.terms-container {
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
    padding: 1px 2px;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

.terms-card {
    background: white;
    border-radius: 15px;
    box-shadow: 0 15px 50px rgba(0, 0, 0, 0.2);
    width: 100%;
    max-width: 900px;
    overflow: hidden;
}

.terms-header {
    background: linear-gradient(to right, #6a11cb, #2575fc);
    padding: 2rem;
    text-align: center;
    color: white;
    position: relative;
}

.terms-logo {
    width: 80px;
    height: 80px;
    margin-bottom: 1rem;
    filter: drop-shadow(0 2px 5px rgba(0,0,0,0.2));
}

.terms-title {
    font-size: 2rem;
    margin: 0;
    font-weight: 700;
    text-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.terms-title span {
    font-weight: 300;
}

.terms-content {
    padding: 0;
}

.terms-scroll {
    max-height: 60vh;
    overflow-y: auto;
    padding: 2rem;
}

/* Секции соглашения */
.terms-section {
    margin-bottom: 2.5rem;
    border-bottom: 1px solid #f0f0f0;
    padding-bottom: 1.5rem;
}

.terms-section:last-child {
    border-bottom: none;
}

.terms-section h2 {
    color: #6a11cb;
    font-size: 1.3rem;
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
}

.terms-section h2 i {
    margin-right: 10px;
    font-size: 1.1em;
    color: #2575fc;
}

.terms-section p {
    color: #555;
    line-height: 1.7;
    margin-bottom: 1rem;
    text-align: justify;
}

.terms-section ul {
    margin-left: 1.8rem;
    margin-bottom: 1rem;
    color: #555;
}

.terms-section li {
    margin-bottom: 0.7rem;
    line-height: 1.6;
}

/* Подтверждение соглашения */
.terms-acceptance {
    background: linear-gradient(to right, rgba(106,17,203,0.1), rgba(37,117,252,0.1));
    padding: 1.5rem 2rem;
    text-align: center;
    font-size: 1rem;
    color: #6a11cb;
    border-top: 1px solid #eee;
    display: flex;
    justify-content: center;
    align-items: center;
}

.terms-acceptance p {
    margin: 0;
    display: flex;
    align-items: center;
    font-weight: 500;
}

.terms-acceptance i {
    margin-right: 10px;
    font-size: 1.3em;
    color: #2575fc;
}

/* Полоса прокрутки */
.terms-scroll::-webkit-scrollbar {
    width: 8px;
}

.terms-scroll::-webkit-scrollbar-track {
    background: #f1f1f1;
    border-radius: 4px;
}

.terms-scroll::-webkit-scrollbar-thumb {
    background: linear-gradient(#6a11cb, #2575fc);
    border-radius: 4px;
}

.terms-scroll::-webkit-scrollbar-thumb:hover {
    background: #6a11cb;
}

/* Адаптивность */
@media (max-width: 768px) {
    .terms-container {
        padding: 1rem;
    }
    
    .terms-header {
        padding: 1.5rem;
    }
    
    .terms-title {
        font-size: 1.5rem;
    }
    
    .terms-scroll {
        padding: 1.5rem;
        max-height: 50vh;
    }
    
    .terms-section {
        margin-bottom: 2rem;
    }
}
/* Базовые стили */
.terms-container {
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    transition: all 0.3s ease;
}

/* Общие стили для карточки */
.terms-card {
    background: white;
    border-radius: 15px;
    box-shadow: 0 15px 50px rgba(0, 0, 0, 0.1);
    width: 100%;
    max-width: 900px;
    overflow: hidden;
    margin: 2rem;
}

/* Темный вариант */
.terms-container.dark-bg {
    background: linear-gradient(135deg, #2c0b6b 0%, #0a2a6a 100%);
}

.terms-container.dark-bg .terms-card {
    background: rgba(15, 10, 30, 0.9);
    color: #e0e0e0;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

/* Чистый белый вариант */
.terms-container.no-bg {
    background: none;
    background-color: #f9f9f9;
    padding: 0;
}

.terms-container.no-bg .terms-card {
    border-radius: 0;
    box-shadow: none;
    border: none;
    max-width: 100%;
    margin: 0;
}

/* Остальные стили остаются как в предыдущем примере */