/* Стили для сетки характеристик */
.specs-grid {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 2rem;
    margin: 2rem 0;
}

.hardware-specs {
    background: rgba(45, 27, 78, 0.8);
    backdrop-filter: blur(10px);
    border-radius: 15px;
    padding: 2rem;
    border: 1px solid rgba(196, 122, 255, 0.3);
    box-shadow: 0 6px 20px rgba(156, 89, 209, 0.3);
}

.specs-title {
    color: #e8b4e1;
    font-size: 1.5rem;
    font-weight: 400;
    margin: 0 0 1.5rem 0;
    text-align: center;
    text-shadow: 0 2px 6px rgba(228, 180, 225, 0.3);
    position: relative;
    padding-bottom: 10px;
}

.specs-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 100px;
    height: 2px;
    background: linear-gradient(90deg, #e8b4e1, #c47aff);
    border-radius: 2px;
}

.specs-grid-inner {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1rem;
}

.spec-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1rem;
    background: rgba(156, 89, 209, 0.1);
    border-radius: 10px;
    border: 1px solid rgba(196, 122, 255, 0.2);
    transition: all 0.3s ease;
}

.spec-item:hover {
    background: rgba(228, 180, 225, 0.2);
    transform: translateX(5px);
}

.spec-icon {
    font-size: 1.5rem;
    flex-shrink: 0;
    background: rgba(228, 180, 225, 0.2);
    width: 45px;
    height: 45px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid rgba(228, 180, 225, 0.3);
}

.spec-content {
    flex: 1;
}

.spec-content strong {
    color: #e8b4e1;
    font-weight: 500;
    display: block;
    margin-bottom: 0.3rem;
    font-size: 0.95rem;
}

.spec-content span {
    color: #f8f0ff;
    font-size: 0.9rem;
}

/* Стили для карточек информации об устройстве */
.device-info-cards {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.device-info-cards .info-card {
    background: rgba(45, 27, 78, 0.8);
    border-radius: 12px;
    padding: 1.5rem;
    border: 1px solid rgba(196, 122, 255, 0.2);
    display: flex;
    align-items: center;
    gap: 1rem;
    transition: all 0.3s ease;
    text-align: center;
}

.device-info-cards .info-card:hover {
    background: rgba(156, 89, 209, 0.3);
    transform: translateY(-3px);
}

/* Специальный стиль для статуса "Устарело" */
.status-deprecated {
    border-color: rgba(241, 148, 138, 0.5) !important;
    background: rgba(241, 148, 138, 0.1) !important;
}

.status-deprecated .info-content span {
    color: #f1948a !important;
    font-weight: 600;
}

.status-deprecated:hover {
    background: rgba(241, 148, 138, 0.2) !important;
    border-color: rgba(241, 148, 138, 0.7) !important;
}

/* Анимации */
@keyframes hardwareFadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.hardware-specs,
.device-info-cards .info-card {
    animation: hardwareFadeIn 0.6s ease-out;
}

.device-info-cards .info-card:nth-child(2) { animation-delay: 0.1s; }
.device-info-cards .info-card:nth-child(3) { animation-delay: 0.2s; }
.device-info-cards .info-card:nth-child(4) { animation-delay: 0.3s; }

/* Адаптивность */
@media (max-width: 968px) {
    .specs-grid {
        grid-template-columns: 1fr;
    }
    
    .specs-grid-inner {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .hardware-specs {
        padding: 1.5rem;
    }
    
    .spec-item {
        flex-direction: column;
        text-align: center;
        gap: 0.8rem;
        padding: 1.2rem;
    }
    
    .spec-icon {
        align-self: center;
    }
    
    .device-info-cards .info-card {
        flex-direction: column;
        text-align: center;
        gap: 0.8rem;
        padding: 1.2rem;
    }
    
    .specs-title {
        font-size: 1.3rem;
    }
}

/* Дополнительные декоративные элементы */
.hardware-specs::before {
    content: '⏰';
    position: absolute;
    top: -15px;
    right: 20px;
    font-size: 3rem;
    opacity: 0.1;
    transform: rotate(15deg);
}