/* Основная карточка с glassmorphism */
.gif-avatar-feature-card {
    position: relative;
    display: flex;
    align-items: flex-start;
    gap: 20px;
    padding: 24px;
    margin-bottom: 24px;
    background: rgba(15, 23, 42, 0.6);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(70, 183, 128, 0.2);
    border-radius: 20px;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    overflow: hidden;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3), 
                inset 0 1px 0 rgba(255, 255, 255, 0.1);
}

/* Анимированный фон */
.animated-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0.4;
    pointer-events: none;
    overflow: hidden;
}

.bg-orb {
    position: absolute;
    border-radius: 50%;
    filter: blur(40px);
    opacity: 0.6;
    animation: float 8s ease-in-out infinite;
}

.bg-orb-1 {
    width: 150px;
    height: 150px;
    background: radial-gradient(circle, #4fea9f 0%, transparent 70%);
    top: -50px;
    left: -50px;
    animation-delay: 0s;
}

.bg-orb-2 {
    width: 120px;
    height: 120px;
    background: radial-gradient(circle, #38b578 0%, transparent 70%);
    bottom: -40px;
    right: -40px;
    animation-delay: 2s;
}

.bg-orb-3 {
    width: 100px;
    height: 100px;
    background: radial-gradient(circle, #ebb88d 0%, transparent 70%);
    top: 50%;
    right: 20%;
    animation-delay: 4s;
}

@keyframes float {
    0%, 100% { transform: translate(0, 0) scale(1); }
    33% { transform: translate(20px, -20px) scale(1.1); }
    66% { transform: translate(-20px, 20px) scale(0.9); }
}

/* Верхняя светящаяся линия */
.gif-avatar-feature-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: linear-gradient(90deg, 
        transparent 0%, 
        #4fea9f 25%, 
        #38b578 50%, 
        #4fea9f 75%, 
        transparent 100%);
    opacity: 0;
    transition: opacity 0.4s ease;
    animation: shimmer 3s ease-in-out infinite;
}

@keyframes shimmer {
    0%, 100% { opacity: 0; }
    50% { opacity: 1; }
}

.gif-avatar-feature-card:hover::before {
    opacity: 1;
}

.gif-avatar-feature-card:hover {
    border-color: rgba(70, 183, 128, 0.4);
    box-shadow: 0 12px 48px rgba(79, 234, 159, 0.2),
                0 0 80px rgba(79, 234, 159, 0.1),
                inset 0 1px 0 rgba(255, 255, 255, 0.15);
    transform: translateY(-4px);
}

/* Иконка с продвинутыми эффектами */
.feature-icon-wrapper {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 64px;
    height: 64px;
    flex-shrink: 0;
    background: linear-gradient(135deg, #4fea9f 0%, #38b578 100%);
    border-radius: 16px;
    box-shadow: 0 8px 24px rgba(79, 234, 159, 0.4),
                inset 0 -4px 8px rgba(0, 0, 0, 0.2),
                inset 0 4px 8px rgba(255, 255, 255, 0.2);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Свечение иконки */
.icon-glow {
    position: absolute;
    inset: -4px;
    background: linear-gradient(135deg, #4fea9f, #38b578);
    border-radius: 18px;
    opacity: 0;
    filter: blur(12px);
    transition: opacity 0.4s ease;
    z-index: -1;
}

.gif-avatar-feature-card:hover .icon-glow {
    opacity: 0.6;
    animation: glow-pulse 2s ease-in-out infinite;
}

@keyframes glow-pulse {
    0%, 100% { opacity: 0.4; transform: scale(1); }
    50% { opacity: 0.8; transform: scale(1.05); }
}

.feature-icon-wrapper i {
    font-size: 32px;
    color: #ffffff;
    text-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
    transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    z-index: 1;
}

.gif-avatar-feature-card:hover .feature-icon-wrapper {
    transform: scale(1.1) rotate(5deg);
}

.gif-avatar-feature-card:hover .feature-icon-wrapper i {
    transform: scale(1.1);
}

/* Частицы вокруг иконки */
.icon-particles {
    position: absolute;
    inset: 0;
    pointer-events: none;
}

.particle {
    position: absolute;
    width: 4px;
    height: 4px;
    background: #4fea9f;
    border-radius: 50%;
    opacity: 0;
    box-shadow: 0 0 10px #4fea9f;
}

.gif-avatar-feature-card:hover .particle {
    animation: particle-float 2s ease-out infinite;
}

.particle:nth-child(1) {
    top: 10%;
    left: 10%;
    animation-delay: 0s;
}

.particle:nth-child(2) {
    top: 20%;
    right: 10%;
    animation-delay: 0.7s;
}

.particle:nth-child(3) {
    bottom: 10%;
    left: 50%;
    animation-delay: 1.4s;
}

@keyframes particle-float {
    0% { opacity: 0; transform: translateY(0) scale(0); }
    50% { opacity: 1; }
    100% { opacity: 0; transform: translateY(-30px) scale(1); }
}

/* Контент */
.feature-content {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 12px;
    z-index: 1;
}

/* Заголовок с градиентом */
.feature-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    flex-wrap: wrap;
}

.title-wrapper {
    display: flex;
    align-items: center;
    gap: 10px;
}

.feature-title {
    margin: 0;
    font-size: 20px;
    font-weight: 800;
    color: #ffffff;
    letter-spacing: -0.5px;
    display: flex;
    align-items: center;
    gap: 6px;
}

.title-gradient {
    background: linear-gradient(135deg, #4fea9f 0%, #38b578 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: gradient-shift 3s ease infinite;
    background-size: 200% 200%;
}

@keyframes gradient-shift {
    0%, 100% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
}

/* Premium тег */
.feature-tag {
    padding: 4px 10px;
    font-size: 9px;
    font-weight: 700;
    letter-spacing: 1px;
    background: linear-gradient(135deg, #fbbf24 0%, #f59e0b 100%);
    color: #1e293b;
    border-radius: 6px;
    box-shadow: 0 2px 8px rgba(251, 191, 36, 0.3);
    animation: tag-pulse 2s ease-in-out infinite;
}

@keyframes tag-pulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.05); }
}

/* Статус badges с анимацией */
.status-badge {
    position: relative;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 6px 14px;
    border-radius: 24px;
    font-size: 12px;
    font-weight: 700;
    white-space: nowrap;
    transition: all 0.3s ease;
}

.status-badge i {
    font-size: 16px;
}

.status-active {
    background: rgba(79, 234, 159, 0.15);
    color: #4fea9f;
    border: 1.5px solid rgba(79, 234, 159, 0.4);
    box-shadow: 0 0 20px rgba(79, 234, 159, 0.2);
}

/* Пульсирующая точка */
.badge-pulse {
    position: absolute;
    left: 8px;
    width: 6px;
    height: 6px;
    background: #4fea9f;
    border-radius: 50%;
    box-shadow: 0 0 8px #4fea9f;
    animation: pulse-dot 2s ease-in-out infinite;
}

@keyframes pulse-dot {
    0%, 100% { opacity: 1; transform: scale(1); }
    50% { opacity: 0.5; transform: scale(1.3); }
}

.status-inactive {
    background: rgba(235, 184, 141, 0.15);
    color: #ebb88d;
    border: 1.5px solid rgba(235, 184, 141, 0.4);
}

/* Описание */
.feature-description {
    margin: 0;
    font-size: 14px;
    color: rgba(255, 255, 255, 0.8);
    line-height: 1.6;
    display: flex;
    align-items: center;
}

/* Список функций */
.features-list {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 8px;
    margin-top: 4px;
}

.feature-item {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 6px 10px;
    background: rgba(79, 234, 159, 0.08);
    border: 1px solid rgba(79, 234, 159, 0.2);
    border-radius: 8px;
    font-size: 12px;
    color: rgba(255, 255, 255, 0.9);
    transition: all 0.3s ease;
}

.feature-item:hover {
    background: rgba(79, 234, 159, 0.15);
    border-color: rgba(79, 234, 159, 0.3);
    transform: translateX(4px);
}

.feature-item i {
    color: #4fea9f;
    font-size: 14px;
}

/* Кнопка покупки с продвинутыми эффектами */
.btn-purchase-feature {
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 14px 28px;
    margin-top: 4px;
    background: transparent;
    color: #ffffff;
    font-size: 15px;
    font-weight: 800;
    border: none;
    border-radius: 14px;
    cursor: pointer;
    overflow: hidden;
    width: fit-content;
    letter-spacing: 0.5px;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Фон кнопки */
.btn-bg {
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, #ebb88d 0%, #d99d73 100%);
    border-radius: 14px;
    transition: all 0.4s ease;
    z-index: 0;
}

.btn-purchase-feature:hover .btn-bg {
    background: linear-gradient(135deg, #d99d73 0%, #c7875f 100%);
    transform: scale(1.05);
}

/* Контент кнопки */
.btn-content {
    position: relative;
    display: flex;
    align-items: center;
    gap: 10px;
    z-index: 2;
}

.btn-content i {
    font-size: 20px;
    transition: transform 0.3s ease;
}

.btn-purchase-feature:hover .btn-content i {
    transform: scale(1.2) rotate(10deg);
}

/* Shine эффект */
.btn-shine {
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, 
        transparent 0%, 
        rgba(255, 255, 255, 0.3) 50%, 
        transparent 100%);
    transform: skewX(-20deg);
    z-index: 1;
}

.btn-purchase-feature:hover .btn-shine {
    animation: shine 0.8s ease;
}

@keyframes shine {
    to { left: 100%; }
}

.btn-purchase-feature:hover {
    box-shadow: 0 8px 32px rgba(235, 184, 141, 0.5),
                0 0 40px rgba(235, 184, 141, 0.3);
    transform: translateY(-2px);
}

.btn-purchase-feature:active {
    transform: translateY(0);
}

/* Декоративные уголки */
.decorative-corner {
    position: absolute;
    width: 40px;
    height: 40px;
    border: 2px solid rgba(79, 234, 159, 0.3);
    opacity: 0.5;
    transition: all 0.4s ease;
}

.corner-tl {
    top: 12px;
    left: 12px;
    border-right: none;
    border-bottom: none;
    border-radius: 8px 0 0 0;
}

.corner-br {
    bottom: 12px;
    right: 12px;
    border-left: none;
    border-top: none;
    border-radius: 0 0 8px 0;
}

.gif-avatar-feature-card:hover .decorative-corner {
    opacity: 1;
    border-color: rgba(79, 234, 159, 0.6);
}

.gif-avatar-feature-card:hover .corner-tl {
    top: 8px;
    left: 8px;
}

.gif-avatar-feature-card:hover .corner-br {
    bottom: 8px;
    right: 8px;
}

/* Адаптивность */
@media (max-width: 576px) {
    .gif-avatar-feature-card {
        padding: 20px;
        gap: 16px;
    }
    
    .feature-icon-wrapper {
        width: 52px;
        height: 52px;
    }
    
    .feature-icon-wrapper i {
        font-size: 26px;
    }
    
    .feature-title {
        font-size: 17px;
    }
    
    .feature-header {
        flex-direction: column;
        align-items: flex-start;
    }
    
    .btn-purchase-feature {
        padding: 12px 20px;
        font-size: 14px;
        width: 100%;
    }
    
    .features-list {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 380px) {
    .gif-avatar-feature-card {
        padding: 16px;
    }
    
    .feature-description {
        font-size: 13px;
    }
    
    .feature-tag {
        font-size: 8px;
    }
}