/* ============================================
   FREE LIKES PAGE
   ============================================ */

/* === SECTION === */
.free-likes-section {
    padding: 60px 0 40px;
}

.free-likes__container {
    max-width: 900px;
    margin: 0 auto;
    padding: 0 20px;
}

/* === TOP === */
.free-likes-top {
    text-align: center;
    margin-bottom: 40px;
}

.free-likes__title {
    font-family: 'Montserrat', sans-serif;
    font-size: 48px;
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 16px;
    background: linear-gradient(135deg, #ED4F5D 0%, #D82BCB 50%, #0EA4E4 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.free-likes__subtitle {
    font-family: 'Montserrat', sans-serif;
    font-size: 17px;
    font-weight: 300;
    line-height: 1.6;
    color: #645E66;
    max-width: 650px;
    margin: 0 auto;
}

/* === EMPTY STATE === */
.free-likes-empty {
    text-align: center;
    padding: 60px 20px;
    background: #ffffff;
    border-radius: 24px;
    box-shadow: 0 4px 24px rgba(0, 0, 0, 0.04);
}

.free-likes-empty__icon {
    color: #d0cee0;
    margin-bottom: 20px;
}

.free-likes-empty__title {
    font-family: 'Montserrat', sans-serif;
    font-size: 22px;
    font-weight: 600;
    color: #1a1a2e;
    margin-bottom: 8px;
}

.free-likes-empty__text {
    font-family: 'Montserrat', sans-serif;
    font-size: 15px;
    font-weight: 300;
    color: #645E66;
}

/* ============================================
   ACCORDION
   ============================================ */
.free-likes-accordion {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.free-likes-platform {
    background: #ffffff;
    border-radius: 24px;
    overflow: hidden;
    box-shadow: 0 4px 24px rgba(0, 0, 0, 0.05);
    transition: box-shadow 0.3s ease;
}

.free-likes-platform:hover {
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.08);
}

/* === Header кнопки === */
.free-likes-platform__header {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 20px 24px;
    background: transparent;
    border: none;
    cursor: pointer;
    font-family: 'Montserrat', sans-serif;
    transition: background 0.2s ease;
    text-align: left;
}

.free-likes-platform__header:hover {
    background: rgba(0, 0, 0, 0.02);
}

.free-likes-platform__left {
    display: flex;
    align-items: center;
    gap: 16px;
}

.free-likes-platform__icon-wrap {
    width: 48px;
    height: 48px;
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    transition: transform 0.3s ease;
}

.free-likes-platform--open .free-likes-platform__icon-wrap {
    transform: scale(1.05);
}

.free-likes-platform__icon-wrap img {
    width: 26px;
    height: 26px;
}

/* Цвета иконок */
.free-likes-platform__icon-wrap--instagram {
    background: linear-gradient(135deg, rgba(216, 43, 203, 0.15) 0%, rgba(237, 79, 93, 0.15) 100%);
}
.free-likes-platform__icon-wrap--tiktok {
    background: rgba(14, 228, 112, 0.15);
}
.free-likes-platform__icon-wrap--telegram {
    background: rgba(14, 164, 228, 0.15);
}
.free-likes-platform__icon-wrap--youtube {
    background: rgba(247, 56, 73, 0.15);
}

.free-likes-platform__info {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.free-likes-platform__name {
    font-size: 18px;
    font-weight: 700;
    color: #1a1a2e;
    line-height: 1.2;
}

.free-likes-platform__count {
    font-size: 13px;
    font-weight: 400;
    color: #645E66;
}

.free-likes-platform__right {
    display: flex;
    align-items: center;
}

.free-likes-platform__arrow {
    color: #b0aec4;
    transition: transform 0.35s cubic-bezier(0.4, 0, 0.2, 1), color 0.2s;
}

.free-likes-platform--open .free-likes-platform__arrow {
    transform: rotate(180deg);
    color: #D82BCB;
}

/* Цветные полоски при ховере */
.free-likes-platform__header--instagram:hover { background: rgba(216, 43, 203, 0.04); }
.free-likes-platform__header--tiktok:hover { background: rgba(14, 228, 112, 0.04); }
.free-likes-platform__header--telegram:hover { background: rgba(14, 164, 228, 0.04); }
.free-likes-platform__header--youtube:hover { background: rgba(247, 56, 73, 0.04); }

/* === Content (раскрывающийся блок) === */
.free-likes-platform__content {
    display: grid;
    grid-template-rows: 0fr;
    transition: grid-template-rows 0.35s cubic-bezier(0.4, 0, 0.2, 1);
    will-change: grid-template-rows;
}

.free-likes-platform--open .free-likes-platform__content {
    grid-template-rows: 1fr;
}

.free-likes-platform__content > .free-likes-services {
    overflow: hidden;
    min-height: 0;
}

.free-likes-platform__arrow {
    will-change: transform;
}

/* ============================================
   SERVICE CARD
   ============================================ */
.free-likes-service {
    background: #ffffff;
    border: 1.5px solid rgba(0, 0, 0, 0.06);
    border-radius: 20px;
    padding: 20px;
    display: flex;
    flex-direction: column;
    gap: 16px;
    transition: all 0.25s ease;
    position: relative;
}

.free-likes-service:hover {
    border-color: rgba(216, 43, 203, 0.2);
    box-shadow: 0 6px 24px rgba(216, 43, 203, 0.08);
    transform: translateY(-2px);
}

.free-likes-service--used {
    opacity: 0.7;
    background: #fafafa;
}

.free-likes-service--used:hover {
    transform: none;
    box-shadow: none;
    border-color: rgba(0, 0, 0, 0.06);
}

.free-likes-service__top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
}

.free-likes-service__name {
    display: flex;
    align-items: center;
    gap: 8px;
    font-family: 'Montserrat', sans-serif;
    font-size: 15px;
    font-weight: 600;
    color: #1a1a2e;
}

.free-likes-service__name svg {
    color: #D82BCB;
    flex-shrink: 0;
}

.free-likes-service__quantity {
    display: flex;
    align-items: center;
    gap: 6px;
    font-family: 'Montserrat', sans-serif;
    font-size: 13px;
    font-weight: 500;
    color: #0EA4E4;
    padding: 6px 12px;
    background: rgba(14, 164, 228, 0.08);
    border-radius: 100px;
    white-space: nowrap;
}

.free-likes-service__quantity svg {
    flex-shrink: 0;
}

.free-likes-service__quantity strong {
    font-weight: 700;
}

/* === Used badge === */
.free-likes-service__used {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 14px;
    background: rgba(180, 180, 180, 0.1);
    border-radius: 14px;
    color: #999;
    font-family: 'Montserrat', sans-serif;
    font-size: 13px;
    font-weight: 500;
}

/* === Form === */
.free-likes-service__form {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.free-likes-service__input-wrap {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 0 16px;
    background: #f7f7fb;
    border-radius: 14px;
    border: 1.5px solid transparent;
    transition: all 0.2s ease;
}

.free-likes-service__input-wrap:focus-within {
    border-color: rgba(216, 43, 203, 0.3);
    background: #ffffff;
    box-shadow: 0 0 0 4px rgba(216, 43, 203, 0.06);
}

.free-likes-service__input-wrap svg {
    color: #b0aec4;
    flex-shrink: 0;
    transition: color 0.2s;
}

.free-likes-service__input-wrap:focus-within svg {
    color: #D82BCB;
}

.free-likes-service__input {
    flex: 1;
    border: none;
    outline: none;
    background: transparent;
    font-family: 'Montserrat', sans-serif;
    font-size: 14px;
    font-weight: 400;
    color: #1a1a2e;
    padding: 14px 0;
    min-width: 0;
}

.free-likes-service__input::placeholder {
    color: #b0aec4;
    font-weight: 300;
}

/* === Submit button === */
.free-likes-service__btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 14px 20px;
    border-radius: 14px;
    border: none;
    font-family: 'Montserrat', sans-serif;
    font-size: 13px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.3px;
    color: #ffffff;
    cursor: pointer;
    transition: all 0.25s ease;
    white-space: nowrap;
}

.free-likes-service__btn:hover {
    transform: translateY(-1px);
    filter: brightness(1.05);
}

.free-likes-service__btn:active {
    transform: translateY(0);
}

/* Цвета кнопок по платформам */
.free-likes-service__btn--instagram {
    background: linear-gradient(135deg, #ED4F5D 0%, #D82BCB 100%);
    box-shadow: 0 4px 16px rgba(237, 79, 93, 0.3);
}
.free-likes-service__btn--instagram:hover {
    box-shadow: 0 6px 20px rgba(237, 79, 93, 0.4);
}

.free-likes-service__btn--tiktok {
    background: linear-gradient(135deg, #0eE470 0%, #0EA4E4 100%);
    box-shadow: 0 4px 16px rgba(14, 228, 112, 0.3);
}
.free-likes-service__btn--tiktok:hover {
    box-shadow: 0 6px 20px rgba(14, 228, 112, 0.4);
}

.free-likes-service__btn--telegram {
    background: linear-gradient(135deg, #0EA4E4 0%, #6C5CE7 100%);
    box-shadow: 0 4px 16px rgba(14, 164, 228, 0.3);
}
.free-likes-service__btn--telegram:hover {
    box-shadow: 0 6px 20px rgba(14, 164, 228, 0.4);
}

.free-likes-service__btn--youtube {
    background: linear-gradient(135deg, #F73849 0%, #ED4F5D 100%);
    box-shadow: 0 4px 16px rgba(247, 56, 73, 0.3);
}
.free-likes-service__btn--youtube:hover {
    box-shadow: 0 6px 20px rgba(247, 56, 73, 0.4);
}

/* ============================================
   MESSAGE
   ============================================ */
.free-likes-message {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 16px 24px;
    border-radius: 16px;
    margin-top: 24px;
    font-family: 'Montserrat', sans-serif;
    font-size: 14px;
    font-weight: 500;
    animation: messageAppear 0.4s ease;
}

@keyframes messageAppear {
    from { opacity: 0; transform: translateY(10px); }
    to { opacity: 1; transform: translateY(0); }
}

.free-likes-message--success {
    background: rgba(14, 228, 112, 0.1);
    color: #0a9a5a;
    border: 1px solid rgba(14, 228, 112, 0.2);
}

.free-likes-message--error {
    background: rgba(237, 79, 93, 0.1);
    color: #c0392b;
    border: 1px solid rgba(237, 79, 93, 0.2);
}

/* ============================================
   INSTRUCTION SECTION
   ============================================ */
.free-likes-instruction {
    padding: 40px 0 80px;
}

.free-likes-instruction__inner {
    display: flex;
    align-items: center;
    gap: 40px;
    background: #ffffff;
    border-radius: 28px;
    padding: 40px;
    box-shadow: 0 4px 24px rgba(0, 0, 0, 0.04);
}

.free-likes-instruction__image {
    flex-shrink: 0;
    width: 280px;
    border-radius: 20px;
    overflow: hidden;
    background: linear-gradient(135deg, rgba(155, 188, 254, 0.15) 0%, rgba(216, 43, 203, 0.08) 100%);
    padding: 20px;
}

.free-likes-instruction__image img {
    width: 100%;
    height: auto;
    border-radius: 12px;
    display: block;
}

.free-likes-instruction__content {
    flex: 1;
}

.free-likes-instruction__title {
    font-family: 'Montserrat', sans-serif;
    font-size: 32px;
    font-weight: 700;
    color: #1a1a2e;
    margin-bottom: 16px;
    line-height: 1.2;
}

.free-likes-instruction__subtitle {
    font-family: 'Montserrat', sans-serif;
    font-size: 18px;
    font-weight: 600;
    color: #D82BCB;
    margin-bottom: 12px;
    line-height: 1.4;
}

.free-likes-instruction__text {
    font-family: 'Montserrat', sans-serif;
    font-size: 15px;
    font-weight: 400;
    line-height: 1.7;
    color: #645E66;
}

.free-likes-instruction__text p {
    margin-bottom: 8px;
}

/* ============================================
   RESPONSIVE
   ============================================ */
@media (max-width: 991.98px) {
    .free-likes__title {
        font-size: 36px;
    }

    .free-likes-instruction__inner {
        flex-direction: column;
        padding: 30px;
        gap: 24px;
    }

    .free-likes-instruction__image {
        width: 100%;
        max-width: 320px;
    }

    .free-likes-instruction__title {
        font-size: 26px;
        text-align: center;
    }

    .free-likes-instruction__subtitle {
        text-align: center;
    }
}

@media (max-width: 767.98px) {
    .free-likes-section {
        padding: 40px 0 30px;
    }

    .free-likes__container {
        padding: 0 16px;
    }

    .free-likes__title {
        font-size: 28px;
    }

    .free-likes__subtitle {
        font-size: 15px;
    }

    .free-likes-top {
        margin-bottom: 28px;
    }

    .free-likes-platform__header {
        padding: 16px 18px;
    }

    .free-likes-platform__icon-wrap {
        width: 42px;
        height: 42px;
        border-radius: 12px;
    }

    .free-likes-platform__icon-wrap img {
        width: 22px;
        height: 22px;
    }

    .free-likes-platform__name {
        font-size: 16px;
    }

    .free-likes-platform__count {
        font-size: 12px;
    }

    .free-likes-services {
        padding: 0 16px 16px;
        grid-template-columns: 1fr;
        gap: 12px;
    }

    .free-likes-service {
        padding: 16px;
    }

    .free-likes-service__top {
        flex-direction: column;
        align-items: flex-start;
        gap: 10px;
    }

    .free-likes-instruction {
        padding: 20px 0 60px;
    }

    .free-likes-instruction__inner {
        padding: 24px 20px;
        border-radius: 20px;
    }

    .free-likes-instruction__title {
        font-size: 22px;
    }

    .free-likes-instruction__subtitle {
        font-size: 16px;
    }

    .free-likes-instruction__text {
        font-size: 14px;
    }
}

@media (max-width: 410px) {
    .free-likes__title {
        font-size: 24px;
    }

    .free-likes-platform__left {
        gap: 12px;
    }

    .free-likes-service__btn {
        font-size: 12px;
        padding: 12px 16px;
    }
} 