body {
    font-family: 'Aldrich', serif;
    font-size: 20px;
    margin: 0;
    background: rgb(10,30,140);
    background: linear-gradient(15deg, rgba(10,30,140,1) 0%, rgba(215,178,221, .8) 45%, rgba(238,160,160,1) 100%);
}

.fWhite {
    color: #ffffff;
}

.fBlack {
    color: #000000;
}
.mb-20 {
    margin-bottom: 20px;
}
.mb-80 {
    margin-bottom: 80px;
}
.mt-50 {
    margin-top: 50px;
}
.d-block {
    display: block;
}
.fz-30 {
    font-size: 46px;
}
.px-40 {
    padding-left: 40px;
    padding-right: 40px;
}
.pl-10 {
    padding-left: 10px;
}
.pl-20 {
    padding-left: 20px;
}
.pl-30 {
    padding-left: 30px;
}
.pl-50 {
    padding-left: 50px;
}
.flex-center {
    justify-content: center!important;
}
.main {

}
.vh100 {
    height: 100vh;
}

.header {
    margin-bottom: 30px;
}
.header-logo {
    width: fit-content;
    padding: 20px 40px 0;
    margin: 0 auto;
    background-color: rgba(148, 124, 211, 29%);
    font-size: 47px;
}
.header-line {
    width: 100%;
    margin: 0 auto;
    height: 36px;
    display: flex;
    justify-content: center;
    background-color: #EEA0A0;
}
.line-container {

}
.line {
    height: 36px;
    width: 0;
    display: inline-block;
    margin: 0 5px;
    border-right: 1px solid #8C8DBB;
}
.header-logo_sub {
    letter-spacing: 3px;
    padding: 6px 66px;
}

.wrapper {
    width: 100%;
    max-width: 1144px;
    margin: 0 auto;
    padding-left: 40px;
    padding-right: 40px;
}

.file-ico-container {
    margin: 0 auto 30px;
    display: flex;
    justify-content: center;
}

.promo {

}
.promo-top {
    text-align: center;
    padding: 64px;
    margin-bottom: 60px;
    font-size: 64px;
    font-weight: bold;
    border: 4px solid;
    border-image-slice: 1;
    border-image-source: linear-gradient(45deg, rgba(10,30,140,1) 0%, rgba(238,160,160,1) 100%);
}
.promo-bot {
    display: flex;
    justify-content: space-between;
    align-items: start;
    flex-direction: row;
}
.promo-bot_left {
    font-size: 30px;
    font-weight: bold;
}
.promo-bot_right {

}



.actions {
    display: flex;
    justify-content: space-between;
    flex-direction: row;
    /* Курсор указателя показывает что элемент кликабельный */
    cursor: pointer;
    /* Отступы для клика */
    padding: 20px;
    /* Плавный переход для эффекта увеличения */
    transition: transform 0.3s ease;
}

/* Эффект увеличения ТОЛЬКО зоны SELECT при наведении */
.actions:hover {
    /* Увеличиваем только зону actions на 5% */
    transform: scale(1.05);
    /* Добавляем тень для визуального эффекта */
    filter: drop-shadow(0 8px 20px rgba(0, 0, 0, 0.15));
}

/* Эффект когда файл перетаскивается над зоной */
.actions.drag-over {
    /* Фоновый оттенок */
    background-color: rgba(238, 160, 160, 0.15);
    border-radius: 10px;
}
.actions-text {
    font-size: 30px;
    font-weight: bold;
}
.arrow-container {
    margin-right: 45px;
    margin-left: 30px;
    align-self: center;
}

.converter-catalog {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: space-between;
}

.converter-item {
    width: 25%;
    margin-bottom: 60px;
}
.item-bordered {
    position: relative;
    width: 100px;
    height: 100px;
    border-radius: 50%;
    -webkit-transform:rotate(90deg);
    transform: rotate(90deg); /* Добавляем базовый transform */
    cursor: pointer;
    /* Плавный переход для всех изменений */
    transition: all ease .4s;
}

/* Эффект при наведении */
.item-bordered:hover {
    -webkit-transform:rotate(111deg);
    transform: rotate(111deg);
}

/* Активное состояние (при клике) - остается повернутым */
.item-bordered.active {
    -webkit-transform:rotate(111deg);
    transform: rotate(111deg);
}

/* Изменение цвета текста при hover и active */
.item-bordered:hover .item-to, 
.item-bordered:hover .item-what,
.item-bordered.active .item-to,
.item-bordered.active .item-what {
    color: #000000!important;
    transition: all ease .4s;
}

/* Изменение отступа стрелки при hover и active */
.item-bordered:hover .arrow-to,
.item-bordered.active .arrow-to {
    margin: 0 0 0 0;
    transition: all ease .4s;
}

.item-inner {
    position: absolute;
    left: 50%;
    bottom: 25%;
    transform: translateY(-50%) translateX(-50%) rotate(-90deg);
    display: flex;
    /*justify-content: space-between;*/
    align-items: center;
    width: 180px;
}

.item-from, .item-to {
    display: block;
}
.item-what {
    display: block;
    text-align: center;
    color: #ffffff;
}
.features-title {
    text-align: center;
    font-size: 40px;
    font-weight: bold;
    margin-bottom: 40px;
}
.features {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: space-between;
    margin-bottom: 60px;
}
.feat {
    max-width: 340px;
    display: flex;
    flex-direction: column;
    align-items: center;
}
.feat-top {
    margin-bottom: 40px;
    font-size: 30px;
}
.feat-ico {
    margin-bottom: 40px;
}
.feat-bot {
    text-align: center;
    padding: 16px;
    font-size: 20px;
    border: 4px solid;
    border-image-slice: 1;
}
.feat-bot_br1 {
    border-image-source: linear-gradient(90deg, rgba(10,30,140,1) -25%, rgba(238,160,160,1) 100%);
}
.feat-bot_br2 {
    border-image-source: linear-gradient(180deg, rgba(10,30,140,1) -25%, rgba(238,160,160,1) 100%);
}
.feat-bot_br3 {
    border-image-source: linear-gradient(270deg, rgba(10,30,140,1) -25%, rgba(238,160,160,1) 100%);
}
.fWhite-policy {
    color: #ffffff;
    text-decoration: none;
    margin-left: 20px;
    font-size: 18px;
}

.fWhite-policy:hover {
    text-decoration: underline;
}

.fWhite-policy:visited {
    color: #ffffff;
}
.fWhite-copy {
    color: #ffffff;
    font-size: 24px;
    margin-top: 20px;
    margin-bottom: 10px;
    padding-top: 20p
}
.footer-line {
    height: auto;
    background-color: rgba(0, 0, 0, .6);
    text-align: center;
    padding-top: 10px;
    padding-bottom: 15px;
}
.politics-container {
    display: flex;
    justify-content: center;
    background-color: rgba(0, 0, 0, .6);
}
.copy {
    padding: 8px 0;
}
.stripes {
    width: 100%;
    display: flex;
    flex-direction: row;
    margin-bottom: 60px;
}
.stripes-thin {
    height: 11px;
}
.stripes-fat {
    height: 22px;
}
.stripes-reverse {
    flex-direction: row-reverse;
}
.strip {
    display: block;
    background-color: #D9D9D9;
    margin-right: 12px;
    height: 100%;
}
.strip:last-child {
    margin-right: 0;
}
.strip-1 {
    width: 44%;
}
.strip-2 {
    width: 32%;
}
.strip-3 {
    width: 18%;
}
.strip-4 {
     width: 6%;
 }

.ic {
    position: relative;
    display: inline-block;
    background-size: 100%;
    background-repeat: no-repeat;
    background-position: center;
}
/* Контейнер с информацией о файле */
.file-info {
    margin-top: 30px;
    margin-bottom: 30px;
    
}
.file-selected {
    font-size: 32px;
    font-weight: bold;
    color: #ffffff;
    text-align: center;
    margin-bottom: 20px;
    height: 125px;
}

/* Счетчик загруженных файлов */
.files-counter {
    text-align: center;
    color: #ffffff;
    font-size: 18px;
    font-weight: bold;
    margin-bottom: 15px;
    padding: 10px;
    background-color: rgba(238, 160, 160, 0.3);
    border-radius: 5px;
}

/* Контейнер для всех карточек файлов - размещаем горизонтально */
.files-container {
    display: flex;
    flex-direction: row; /* Горизонтальное расположение */
    flex-wrap: wrap; /* Перенос на новую строку если не помещается */
    gap: 15px; /* Отступ между карточками */
    justify-content: flex-start; /* Выравнивание по левому краю */
    margin-top: 15px;
    height: auto;
}

/* Карточка отдельного файла */
.file-selected {
    display: flex;
    flex-direction: column; 
    align-items: center;
    background-color: rgba(240, 230, 230, 0.5);
    padding: 15px;
    border-radius: 10px;
    box-shadow: 0 4px 10px rgba(255, 254, 254, 0.1);
    width: 150px; 
    font-family: 'Aldrich', serif; 
    position: relative; 
}

.file-error {
    display: none; /* По умолчанию скрыто */
    background-color: rgba(255, 87, 87, 0.9); /* Красный фон */
    color: white;
    padding: 15px 20px;
    border-radius: 8px;
    margin-bottom: 20px;
    text-align: center;
    font-size: 16px;
    font-weight: bold;
    box-shadow: 0 4px 12px rgba(255, 87, 87, 0.4);
    animation: shake 0.5s; /* Анимация тряски */
}

@keyframes shake {
    0%, 100% { transform: translateX(0); }
    10%, 30%, 50%, 70%, 90% { transform: translateX(-5px); }
    20%, 40%, 60%, 80% { transform: translateX(5px); }
}

.file-icon-img {
    width: 60px; 
    height: 60px;
    margin-bottom: 10px; 
    object-fit: contain; 
    flex-shrink: 0;
}

.file-details {
    flex-grow: 1; 
    min-width: 0; 
}

.file-name {
    font-size: 18px;
    color: #000;
    /* font-weight: bold; */
    margin-bottom: 5px;
    word-break: break-word; 
    overflow-wrap: break-word;
}

.file-size {
    font-size: 14px;
    color: #666;
}

.remove-file {
    position: absolute;
    top: 5px; 
    right: 5px;
    background-color: #EEA0A0;
    color: white;
    border: none;
    border-radius: 50%;
    width: 25px;
    height: 25px;
    font-size: 16px;
    cursor: pointer;
    transition: background-color 0.3s ease, transform 0.2s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    line-height: 1;
}

.remove-file:hover {
    background-color: #d88888;
    transform: scale(1.1);
}

.button-convert {
    display: block;
    margin: 40px auto;
    padding: 15px 60px;
    font-family: 'Aldrich', serif;
    font-size: 24px;
    font-weight: bold;
    color: #ffffff;
    background: linear-gradient(135deg, rgba(238, 160, 160, 0.9) 0%, rgba(215, 178, 221, 0.9) 100%);
    border: 2px solid rgba(255, 255, 255, 0.3);
    border-radius: 50px;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.2);
    text-transform: uppercase;
    letter-spacing: 2px;
}

.button-convert:hover {
    transform: translateY(-3px) scale(1.05);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
    background: linear-gradient(135deg, rgba(238, 160, 160, 1) 0%, rgba(215, 178, 221, 1) 100%);
    border-color: rgba(255, 255, 255, 0.5);
}

.button-convert:active {
    transform: translateY(-1px) scale(1.02);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.button-convert:disabled {
    opacity: 0.5;
    cursor: not-allowed;
    transform: none;
}

.heart {
    background-image: url('assets/svg/heart-ic.svg');
    width: 24px;
    height: 32px;
}
.file2 {
    background-image: url('assets/svg/2file-ic.svg');
    width: 75px;
    height: 65px;
}
.converterPromo {
    background-image: url('assets/svg/converterPromo-ic.svg');
    width: 580px;
    height: 390px;
}
.arrow {
    background-image: url('assets/svg/arrow-ic.svg');
    width: 78px;
    height: 80px;
}
.arrow-to {
    display: block;
    width: 32px;
    height: 60px;
    margin: 15px 0;
    transform: rotate(-90deg);
    -webkit-transform:rotate(-90deg);
}
.watermark {
    background-image: url('assets/svg/icon-ico.png');
    width: 340px;
    height: 370px;
}
.grow {
    background-image: url('assets/svg/grow-ic.svg');
    width: 80px;
    height: 80px;
}
.done {
    background-image: url('assets/svg/done-ic.svg');
    width: 80px;
    height: 80px;
}
.money {
    background-image: url('assets/svg/money-ic.svg');
    width: 80px;
    height: 80px;
}
.hr-peach {
    border-block-color: rgba(238,160,160,1);
}
.hr-deepBlue {
    border-block-color: rgba(10,30,140,1);
}
.ib-gray {
    border-left: 20px solid #D9D9D9;
    border-bottom: 20px solid #D9D9D9;
    border-right: 20px solid #D9D9D9;
    border-top: 20px solid transparent;
}
.ib-peach {
    border-left: 20px solid #DDB2B2;
    border-bottom: 20px solid #DDB2B2;
    border-right: 20px solid #DDB2B2;
    border-top: 20px solid transparent;
}
.ib-lemon {
    border-left: 20px solid #C4D78F;
    border-bottom: 20px solid #C4D78F;
    border-right: 20px solid #C4D78F;
    border-top: 20px solid transparent;
}
.ib-blue {
    border-left: 20px solid #99B8DD;
    border-bottom: 20px solid #99B8DD;
    border-right: 20px solid #99B8DD;
    border-top: 20px solid transparent;
}
.ib-1 {
    border-left: 20px solid #E78282;
    border-bottom: 20px solid #E78282;
    border-right: 20px solid #E78282;
    border-top: 20px solid transparent;
}
.ib-2 {
    border-left: 20px solid #5C916E;
    border-bottom: 20px solid #5C916E;
    border-right: 20px solid #5C916E;
    border-top: 20px solid transparent;
}
.ib-3 {
    border-left: 20px solid #945757;
    border-bottom: 20px solid #945757;
    border-right: 20px solid #945757;
    border-top: 20px solid transparent;
}
.ib-4 {
    border-left: 20px solid #E9C173;
    border-bottom: 20px solid #E9C173;
    border-right: 20px solid #E9C173;
    border-top: 20px solid transparent;
}
.ib-5 {
    border-left: 20px solid #E9C173;
    border-bottom: 20px solid #E9C173;
    border-right: 20px solid #E9C173;
    border-top: 20px solid transparent;
}
.ib-6 {
    border-left: 20px solid #A0D7A2;
    border-bottom: 20px solid #A0D7A2;
    border-right: 20px solid #A0D7A2;
    border-top: 20px solid transparent;
}
.ib-7 {
    border-left: 20px solid #935794;
    border-bottom: 20px solid #935794;
    border-right: 20px solid #935794;
    border-top: 20px solid transparent;
}
.ib-8 {
    border-left: 20px solid #5C6C84;
    border-bottom: 20px solid #5C6C84;
    border-right: 20px solid #5C6C84;
    border-top: 20px solid transparent;
}
.ib-9 {
    border-left: 20px solid #AEABAB;
    border-bottom: 20px solid #AEABAB;
    border-right: 20px solid #AEABAB;
    border-top: 20px solid transparent;
}
.ib-10 {
    border-left: 20px solid #5593A6;
    border-bottom: 20px solid #5593A6;
    border-right: 20px solid #5593A6;
    border-top: 20px solid transparent;
}
.ib-11 {
    border-left: 20px solid #D9D9D9;
    border-bottom: 20px solid #D9D9D9;
    border-right: 20px solid #D9D9D9;
    border-top: 20px solid transparent;
}
.ib-12 {
    border-left: 20px solid #E97373;
    border-bottom: 20px solid #E97373;
    border-right: 20px solid #E97373;
    border-top: 20px solid transparent;
}
/* ============ policy ================== */
.policy-container {
                max-width: 900px;
                margin: 0 auto;
                padding: 40px 20px;
                color: #ffffff;
            }
            .policy-title {
                font-size: 42px;
                margin-bottom: 30px;
                text-align: center;
            }
            .policy-section {
                margin-bottom: 30px;
            }
            .policy-section h2 {
                color: #000000;
                font-size: 24px;
                margin-bottom: 15px;
            }
            .policy-section p, .policy-section ul {
                line-height: 1.6;
                font-size: 18px;
            }
            .policy-section ul {
                padding-left: 25px;
            }
            .policy-section li {
                margin-bottom: 8px;
            }
            .back-link {
                display: inline-block;
                color: #ffffff;
                text-decoration: none;
                margin-bottom: 20px;
                font-size: 18px;
            }
            .back-link:hover {
                text-decoration: underline;
            }